Bug 9094
Summary: | dmfe driver stopped working correctly in kernel 2.6.22 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Alessandro Polverini (alex) |
Component: | Network | Assignee: | Grant Grundler (grundler) |
Status: | CLOSED OBSOLETE | ||
Severity: | high | CC: | alan, ben, jon |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.22 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Alessandro Polverini
2007-09-28 00:23:08 UTC
I looked at the diff of drivers/net/tulip (2.6.21.7 vs 2.6.22.9) and dmfe.c has had substantial changes to support wake-on-lan and suspend/resume. I can't explain why 2.6.21 works and 2.6.22 doesn't offhand. In fact, I can't explain why/how either version works. However, like nearly every other variant of the tulip driver, this one doesn't follow the 802.3 MII spec with respect to how the Phy/MII is reset. See bug 2776 and try this patch please: http://iou.parisc-linux.org/~grundler/diff/diff-2.6.23-rc3-dmfe_phy-01 If that helps, I can close both bugs. :) I'm in no position to test a custom built kernel, sorry. More over I do not have the hardware any more: I made swap the net cards with realtek ones and I solved my problems that way. I reported the problem so it could be documented and solved for others. Alessandro, no problem! I could have built a kernel for you...but I don't have the HW either. And it was a good idea to just use a different card. These problems aren't always that easy to fix. I'd like to leave this bug open until someone can test the dmfe patch. I _might_ close it as a duplicate of bug 2776 but will decide that later. thanks again! grant On parisc, I get the same behavior on parisc using tulip driver (ARP works but can not send TCP packets) when the kernel is built with gcc 4.3 but not when it's built with gcc 4.1 or 4.2. Something changed in the higher networking stack layers that are tickling this bug. Kyle tracked down the parisc/tulip issue to a compiler bug getting tickled by something in the net/ipv4 core code. Bug was fixed and that went away. I just checked and it looks like diff-2.6.23-rc3-dmfe_phy-01 never got submitted. I'll work on that and then close this bug once it's upstream. I might need to submit this as a new bug? - I'm trying to use the dmfe module on a Sun Fire V100 (SPARC architecture), running Gentoo Linux. the dmfe module doesn't pick up the Hardware/MAC address and even if I specify the address with "ifconfig eth0 hw ether <mac>" it still doesn't come up. I did try applying the above patch to a 2.6.26 kernel, and get the same problem. I've just tried a fresh 2.6.28 kernel as I could see that some changes had been listed for dmfe in the Changelog, but I still have the same problem. I've tried rolling back to a 2.6.16 kernel, but I can't get that to successfully boot. The hardware is listed as "Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)" (In reply to comment #5) > Kyle tracked down the parisc/tulip issue to a compiler bug getting tickled by > something in the net/ipv4 core code. Bug was fixed and that went away. > > I just checked and it looks like diff-2.6.23-rc3-dmfe_phy-01 never got > submitted. I'll work on that and then close this bug once it's upstream. The Debian kernel package was built using gcc-4.1, according to the build log at <https://buildd.debian.org/fetch.cgi?&pkg=linux-2.6&ver=2.6.22-4&arch=i386&stamp=1188532633&file=log>, so this is a separate bug. |