Marvell Yukon 88E8040T controller can not be recognised

Bug #239852 reported by miros
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
Unassigned
Hardy
Fix Released
Medium
Unassigned

Bug Description

lspci command shows:

07:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device 4355 (rev 12)

In fact to make it work you should add line
{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4355) },
to table sky2_id_table in driver/net/sky2.c of linux kernel

But of corse i want this bug to be fixed in distrib

Tags: bitesize
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

Related ubuntuforums thread: http://ubuntuforums.org/showthread.php?t=781022

No bug has been created upstream. Can you do this (on bugzilla.kernel.org) and post the bug number here?

Revision history for this message
miros (miros2) wrote :

This bug on the bugzilla.kernel.org: Bug 10910

http://bugzilla.kernel.org/show_bug.cgi?id=10910

Revision history for this message
Marcin Sochacki (wanted) wrote :

People on ubuntuforums suggest to recompile the kernel, but I found a much simpler workaround, which should be enough until we get it from the official source.

The solution is to simply patch the binary kernel driver sky2.ko to recognize the problematic PCI ID. You can get the list of known PCI IDs with "modinfo sky2".

Here's how to patch the driver:
# rmmod sky2
# cd /lib/modules/2.6.24-16-generic/kernel/drivers/net
# cp -p sky2.ko{,.orig}
# perl -pe 's/\0\0\x6c\x43/\0\0\x55\x43/g' sky2.ko.orig > sky2.ko

In my case, I sacrificed the PCI ID of 436c and replaced it with 4355 (which is the 88E8040T). You can compare the original and the new file with hexdump -- they should only differ in one place, in my case it's at the offset 0x7170.

Now run "modprobe sky2" and check with dmesg if your network card has been recognized.

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in linux:
status: Unknown → Fix Released
Revision history for this message
clickwir (clickwir) wrote :

The above posted solution by WANTED works. I had to make a slight modification. On this one, running Kubuntu 8.04.1.

I had to, of course run those commands with sudo in front. But for the last one, instead of '> sky2.ko' I used '> /home/user/sky2.ko' and then 'sudo cp /home/user/sky2.ko /lib/modules/2.6.24-16-generic/kernel/drivers/net' and it worked.

It wouldn't let me directly modify the sky2.ko in that dir. I had to send it to my home dir, then sudo copy it back. Then modprobe worked fine and the system is updating now.

Thanks WANTED!

PS. I won't have this laptop after a day or two from now. It's shipping out.

Revision history for this message
Stefan Bader (smb) wrote :

Fix was commited as c6455c7cbc56f726458029d28baaa6a0c3131a99

Changed in linux:
status: Triaged → Fix Committed
Revision history for this message
Stefan Bader (smb) wrote :

The previous commit was for Hardy SRU, SRU Justification:

Impact: One PCI ID for the 88E8040T was missing and the card would not work.

Fix: Add 0x4355 to the table of the sky2 driver.

Testcase: Without the fix the card mentioned above will not get detected.

The upstream/intrepid commit ID is a3b4fcedee5cf1d1342b85f1318c0fe1ff1727a9.

Revision history for this message
autono@gmail.com (autono) wrote :

wanted: your fix worked brilliantly for me. thank you!

the most recent kernel update overwrote your fix, so i'll be doing it again.

it would be nice if this would make it into hardy at some point. i'm not sure how this whole process works but am trying to educate myself so hopefully will be able to contribute one day.

-patrick-

Revision history for this message
Uzzi (andreaussi-yahoo) wrote :

In my Ubuntu 8.10 Kernel 2.6.27-7-generic, it's not working.

Changed in linux:
assignee: nobody → stefan-bader-canonical
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

ogasawara@emiko:~/ubuntu-intrepid$ git log a3b4fcedee5cf1d1342b85f1318c0fe1ff1727a9
commit a3b4fcedee5cf1d1342b85f1318c0fe1ff1727a9
Author: Stephen Hemminger <email address hidden>
Date: Sat Jun 14 10:32:15 2008 -0700

    sky2: 88E8040T pci device id

This patch was already applied and released for Intrepid so I'm setting the Intrepid linux task to Fix Released.

@Uzzi, please attach the output of 'sudo lspci -vvnn'. We need to verify the vendor and device id for your controller. Thanks.

Changed in linux:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Stefan Bader (smb) wrote :

That commit for Hardy was actually in Ubuntu-2.6.24-20.39. Setting fix released.

Changed in linux (Ubuntu Hardy):
assignee: Stefan Bader (stefan-bader-canonical) → nobody
status: Fix Committed → Fix Released
Changed in linux:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.