Bug 1005 - em8300 driver seems to be broken
Summary: em8300 driver seems to be broken
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Anssi Hannula
QA Contact:
URL:
Whiteboard: MGA2TOO
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-04-27 16:33 CEST by Johan Pirlouit
Modified: 2016-04-26 12:40 CEST (History)
4 users (show)

See Also:
Source RPM: em8300-0.18.0-4.mga2
CVE:
Status comment:


Attachments
em8300 driver install details (12.95 KB, text/x-log)
2011-04-27 16:33 CEST, Johan Pirlouit
Details
em8300 make log (892 bytes, text/x-log)
2011-04-27 16:35 CEST, Johan Pirlouit
Details
em8300 driver uninstall details (2.59 KB, text/x-log)
2011-04-27 16:35 CEST, Johan Pirlouit
Details
Contains dmesg, boot.log, em8300.bin, hardware config and em8300 debug install (31.01 KB, application/zip)
2012-06-14 02:34 CEST, Johan Pirlouit
Details

Description Johan Pirlouit 2011-04-27 16:33:55 CEST
Created attachment 298 [details]
em8300 driver install details

Hi everyone,

Though it worked with Alpha 1 (I only talk about the driver, not DVD playback; there would probably be some other problems ^^!), it doesn't work anymore with Beta 1 (i586). Even with last updates (I haven't downloaded Beta 2 yet but I will if really needed...).

When installing, "make" reports an error (see attachements). So no module can be created.

When uninstalling packages, report talks about a missing kmod(em8300)...

Install command is "urpmi --debug em8300 dkms-em8300 em8300-debug em8300-devel"
Kernel version is 2.6.38.4-desktop-1.mga (i586).

Attachements (in french):
- em8300-install.log > install details
- make.log (see below in next post)
- em8300-uninstall.log > uninstall details (see below in next post)

Regards,
Johan
Comment 1 Johan Pirlouit 2011-04-27 16:35:03 CEST
Created attachment 299 [details]
em8300 make log
Comment 2 Johan Pirlouit 2011-04-27 16:35:46 CEST
Created attachment 300 [details]
em8300 driver uninstall details
Johan Pirlouit 2011-04-27 16:41:48 CEST

Source RPM: (none) => em8300-0.18.0-3.mga1

Comment 3 John Balcaen 2011-04-27 16:44:36 CEST
It's related to 2.6.38 kernel changes regarding V4L.
Maybe you can give a try to https://github.com/austriancoder/v4l2-em8300 ?

CC: (none) => balcaen.john

Comment 4 Johan Pirlouit 2011-05-27 14:59:26 CEST
Hi John, thanx for your reply and sorry to be back so late in this tread... But I'm not a developper and I don't know how to deal with source code. And the old PC I try to keep alive with Mageia (a good old K6-II 300; in the list of recent and easy-to-use distros, only Mageia can run on it!) is owned by an only-end-user.

Today I did an update of my Mageia and I retry to install em8300 as I did before but with same results.

So I hope that someone can rebuild the em8300 driver....... And I'm sorry to be unable to do so..

Johan
Thierry Vignaud 2011-08-09 12:14:39 CEST

CC: (none) => thierry.vignaud
Component: RPM Packages => New RPM package request

Comment 5 Manuel Hiebel 2011-10-02 16:05:43 CEST
What is the status of this bug ? still present ? (and sorry for the biiig delay :) )

Keywords: (none) => NEEDINFO
Component: New RPM package request => RPM Packages

Comment 6 Chris Denice 2011-11-22 14:00:46 CET
Hi there,
yes it is, I am having a look at it. em8300 indeed uses v4l1 which is no longer present in current kernels.

A solution is indeed to import the new v4l2 module mentioned above, but it does not support all the old stuff apparently.

Another way would be to still use the old v4l1 api, we still have it under libv4l1-devel. I am exploring this.

Cheers,
Chris.

CC: (none) => dirteat

Thierry Vignaud 2011-11-22 14:16:31 CET

CC: thierry.vignaud => (none)

Oliver Burger 2011-11-22 23:25:55 CET

CC: (none) => oliver.bgr

Comment 7 Oliver Burger 2011-11-22 23:52:33 CET
Thomas, what do you think about this?

CC: (none) => tmb

Marja Van Waes 2012-01-18 07:53:18 CET

Keywords: NEEDINFO => (none)
CC: (none) => marja11

Comment 8 Marja Van Waes 2012-02-25 21:00:57 CET
(In reply to comment #6)
> Hi there,
> yes it is, I am having a look at it. em8300 indeed uses v4l1 which is no longer
> present in current kernels.
> 
> A solution is indeed to import the new v4l2 module mentioned above, but it does
> not support all the old stuff apparently.
> 
> Another way would be to still use the old v4l1 api, we still have it under
> libv4l1-devel. I am exploring this.
> 
> Cheers,
> Chris.


@ Chris
Did your exploring result in anything useful?


(In reply to comment #7)
> Thomas, what do you think about this?


@ tmb

Did you see Oliver's question?
Comment 9 Chris Denice 2012-02-25 23:09:00 CET
Hi,
yes, unfortunately, I think it is dead.

I fixed wmwebcam to use libv4l1, but, tmb should confirm, as far as I understand now, a kernel module (by definition) cannot be linked to any lib outside the kernel. So, using libv4l1 to make em8300 working is a dead-end.

The only option looks indeed an import of the new package

https://github.com/austriancoder/v4l2-em8300

and we should drop em8300?

Chris.
Comment 10 Marja Van Waes 2012-02-26 16:08:44 CET
(In reply to comment #9)
> Hi,
> yes, unfortunately, I think it is dead.
> 
> I fixed wmwebcam to use libv4l1, but, tmb should confirm, as far as I
> understand now, a kernel module (by definition) cannot be linked to any lib
> outside the kernel. So, using libv4l1 to make em8300 working is a dead-end.
> 
> The only option looks indeed an import of the new package
> 
> https://github.com/austriancoder/v4l2-em8300
> 
> and we should drop em8300?
> 
> Chris.

assigning to em8300 maintainer

Assignee: bugsquad => anssi.hannula

Comment 11 Marja Van Waes 2012-05-26 13:06:31 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 12 Johan Pirlouit 2012-05-31 23:34:33 CEST
Hi,

Within the next few days, I will try to install my old Hollywood+ PCI board with the em8300 driver + kernel module that are currently available in the Mageia 2 repositories (em8300 v0.18.0 rev. 4.mga2).

I will answer back soon if the driver works on my PC or if it is still broken.

Regards,
Johan
Comment 13 Marja Van Waes 2012-06-11 15:28:34 CEST
(In reply to comment #12)
> Hi,
> 
> Within the next few days, I will try to install my old Hollywood+ PCI board
> with the em8300 driver + kernel module that are currently available in the
> Mageia 2 repositories (em8300 v0.18.0 rev. 4.mga2).
> 
> I will answer back soon if the driver works on my PC or if it is still broken.
> 
> Regards,
> Johan

Hi Johan,

Maybe you installed and forgot to give the feedback here?

Cheers,
Marja
John Balcaen 2012-06-12 07:45:21 CEST

CC: balcaen.john => (none)

Comment 14 Johan Pirlouit 2012-06-14 02:34:36 CEST
Created attachment 2453 [details]
Contains dmesg, boot.log, em8300.bin, hardware config and em8300 debug install
Comment 15 Johan Pirlouit 2012-06-14 02:35:58 CEST
Hi everyone,

(I'm still sorry 1. to be late to answer, and 2. for my bad english....)

I installed the em8300 driver with the kernel module and with the binary firmware (em8300.bin) and ... nothing works!

I tried many folders for the binary firmware, such as /lib/firmware/, /lib/firmware/em8300/, /etc/firmware/, /etc/firmware/em8300/ and still nothing.

I didn't found where else to place the firmware...

Modprobe em8300 returns no module found.

When booting up in text mode (by pressing ESC at the graphical boot up screen), I've got a message about installing em8300 module, but it fails!

In the Mageia Control Center -> Hardware -> Detected hardware, my Hollywood+ is detected but there is no driver loaded: the message is "Module: unknown".

As attachment #2453 [details], I added an archive <Mageia_2_em8300_retry_2012-06-14.zip> that contains:
- the last boot.log
- the last dmesg
- Hardware_Config.log that contains hardware informations about my config
- em8300_Debug_Install.txt: the last debug install try of the em8300 + dkms-em8300 packages (after em8300xx previous uninstall)
- The binary em8300.bin firmware that I currently use


In the boot.log, an "install" message starts at line 78 and ends later at lines 89-90. Here it is:
"
em8300 (0.18.0-4.mga2): Installing module.
..........................(bad exit status: 10)
  Build failed.  Installation skipped.
"


So, I don't know what to do else, I don't know where to find any debug information and I don't know where I can find any install documentation...

My Mageia 2 is up to date, I only use two channels: Core Release and Nonfree Release.

Regards,
Johan
Comment 16 Marja Van Waes 2012-06-14 18:31:12 CEST
Thx for all the feedback, Johan.

@ Anssi

If you agree this bug was assigned correctly, please set it to ASSIGNED or put OK on the whiteboard.

Thx

Keywords: NEEDINFO => (none)
Source RPM: em8300-0.18.0-3.mga1 => em8300-0.18.0-4.mga2
Whiteboard: (none) => MGA2TOO

Comment 17 Anssi Hannula 2012-06-14 18:38:39 CEST
It is assigned correctly, unfortunately it will be some time before I'll have time to look at this properly.

Status: NEW => ASSIGNED

Comment 18 Chris Denice 2014-01-13 07:49:00 CET
Hi guys,
I think we should drop this package as I won't see it working in a reasonable future no?

cheers.
Comment 19 Marja Van Waes 2016-04-26 12:02:04 CEST
This bug report hasn't seen any action since before Mga4 release. Is it still valid in current cauldron (or, for traditional installer: with the 6dev1 snapshot, or for live isos with Mga5)?

Keywords: (none) => NEEDINFO

Comment 20 Chris Denice 2016-04-26 12:38:29 CEST
Hi,
as mentionned above, this bug cannot be fixed without a serious rewritting of this driver. I am closing at WONTFIX.
Comment 21 Chris Denice 2016-04-26 12:40:11 CEST
The only way to use it is to use a former kernel, in the 2.6.* branch, which also makes sense as the Hollywood card is almost 20 years old now!

Status: ASSIGNED => RESOLVED
Resolution: (none) => WONTFIX


Note You need to log in before you can comment on or make changes to this bug.