Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307273 - kernel-2.6.33 not detecting NICs
Summary: kernel-2.6.33 not detecting NICs
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-2.6.32
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-01 05:59 UTC by Mark A Rada
Modified: 2010-04-02 04:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
My kernel config file (config,43.55 KB, text/plain)
2010-03-01 06:34 UTC, Mark A Rada
Details
lspci output (lspci.out,1.73 KB, text/plain)
2010-03-01 06:34 UTC, Mark A Rada
Details
Output from running `lspci -n` (lspci-n.out,588 bytes, text/plain)
2010-03-02 03:23 UTC, Mark A Rada
Details
Boot log from openrc (rc.log,8.14 KB, text/plain)
2010-03-03 14:43 UTC, Mark A Rada
Details
dmesg output right after boot (dmesg.out,26.98 KB, text/plain)
2010-03-05 03:50 UTC, Mark A Rada
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark A Rada 2010-03-01 05:59:46 UTC
I upgraded from 2.6.32, using make oldconfig, but upon rebooting 2/3 of my NICs are not detected and the one that was detected is not working. I've tried fiddling a bit with my kernel config but have had no luck.

Reproducible: Always

Steps to Reproduce:
1. Copy a working kernel .config from 2.6.32 to a 2.6.33 directory
2. `make oldconfig`
3. `make && make modules_install`, cp the image to /boot, update grub and kexec
4. reboot

Actual Results:  
NICs not detected or not working

Expected Results:  
NICs detected and working
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2010-03-01 06:00:37 UTC
Please attach your config file and the lspci output
Comment 2 Mark A Rada 2010-03-01 06:34:22 UTC
Created attachment 221579 [details]
My kernel config file

This is my .33 config file, after running make oldconfig and doing some other small tweaking.
Comment 3 Mark A Rada 2010-03-01 06:34:57 UTC
Created attachment 221581 [details]
lspci output

The lspci output you asked for.
Comment 4 Mike Pagano gentoo-dev 2010-03-01 23:51:32 UTC
If you don't mind can I see the out of lspci -n
Comment 5 Mark A Rada 2010-03-02 03:23:04 UTC
Created attachment 221729 [details]
Output from running `lspci -n`

The requested output from running `lspci -n`
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2010-03-02 13:47:27 UTC
Which NICs fail to appear when running ifconfig -a? Could this be related to openrc ?
Comment 7 Mark A Rada 2010-03-02 14:09:13 UTC
(In reply to comment #6)
> Which NICs fail to appear when running ifconfig -a? Could this be related to
> openrc ?
> 

I expect to see the Intel e100 and the Realtek 8168 cards, the D-Link is not being used right now, but I guess it should be detected as well.

It detects only the Intel NIC, but still fails to setup networking.
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2010-03-03 13:43:32 UTC
It is really weird that none of the cards are working. It is highly unlikely all the 3 drivers to be broken on recent kernels. 

Which openrc version are you using? Could you please attach a full log from the boot phase?
Comment 9 Mark A Rada 2010-03-03 14:43:41 UTC
Created attachment 221937 [details]
Boot log from openrc

I'm using openrc 0.60-r1, the latest in portage.
Comment 10 Mike Pagano gentoo-dev 2010-03-05 01:37:02 UTC
dmesg after boot, please
Comment 11 Mark A Rada 2010-03-05 03:50:07 UTC
Created attachment 222135 [details]
dmesg output right after boot

The requested dmesg output.
Comment 12 Markos Chandras (RETIRED) gentoo-dev 2010-03-11 19:40:45 UTC
Well it doesnt look like an IRQ conflict. r8169 driver clearly fails to operate ( error -22 ). e100 seems to work properly. 
I am almost out of ideas :/
Comment 13 Mark A Rada 2010-03-11 20:51:31 UTC
(In reply to comment #12)
> Well it doesnt look like an IRQ conflict. r8169 driver clearly fails to operate
> ( error -22 ). e100 seems to work properly. 
> I am almost out of ideas :/
> 

Well, I'm going to play around with it a bit more, trying to use just the e100. I'll report back what happens later on.

Does the error -22 mean that the driver is borked for this version of the kernel?
Comment 14 George Kadianakis (RETIRED) gentoo-dev 2010-03-11 21:45:45 UTC
(In reply to comment #12)
> Well it doesnt look like an IRQ conflict. r8169 driver clearly fails to operate
> ( error -22 ). e100 seems to work properly. 
> I am almost out of ideas :/
> 

If the issue with the rtl driver didn't appear from the 2.6.32->2.6.33  transition I would have said that it's connected to these two bugs:
http://bugs.gentoo.org/show_bug.cgi?id=298741
http://bugs.gentoo.org/show_bug.cgi?id=237089
Comment 15 Mark A Rada 2010-03-12 02:31:21 UTC
I disabled the rtl card and now the e100 is working fine, so I can at least use my .33 kernel, but in a limited way.
Comment 16 Markos Chandras (RETIRED) gentoo-dev 2010-03-13 07:38:08 UTC
(In reply to comment #15)
> I disabled the rtl card and now the e100 is working fine, so I can at least use
> my .33 kernel, but in a limited way.
> 

Could this be an IRQ conflict issue? which is the last working kernel?
Comment 17 Mark A Rada 2010-03-13 07:40:59 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > I disabled the rtl card and now the e100 is working fine, so I can at least use
> > my .33 kernel, but in a limited way.
> > 
> 
> Could this be an IRQ conflict issue? which is the last working kernel?
> 

.32-r7 worked fine
Comment 18 George L. Emigh 2010-03-18 23:40:46 UTC
I had a similar problem, after upgrading to a 2.6.33 kernel, the r8169 nic would not come up, dmesg showed:

r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready

tried to go back to 2.6.32, same thing.

After much googling:
The ultimate fix (permanent or not) was to remove power from the machine (thus resetting the card, something to do with Wake on Lan) AND rm /etc/udev/rules.d/70-persistent-net.rules

And now eth0 comes up on 2.6.33

Hope this information is useful.
Comment 19 Mark A Rada 2010-03-19 02:23:13 UTC
(In reply to comment #18)
> I had a similar problem, after upgrading to a 2.6.33 kernel, the r8169 nic
> would not come up, dmesg showed:
> 
> r8169: eth0: link down
> ADDRCONF(NETDEV_UP): eth0: link is not ready
> 
> tried to go back to 2.6.32, same thing.

I was able to switch to my .32 kernel and have things working again


> After much googling:
> The ultimate fix (permanent or not) was to remove power from the machine (thus
> resetting the card, something to do with Wake on Lan) AND rm
> /etc/udev/rules.d/70-persistent-net.rules

Gave this a shot anyways...it didn't work :(
Comment 20 Mark A Rada 2010-03-29 03:26:44 UTC
I went and did a bisection on the kernel sources and was told that http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ac1aa47b131416a6ff37eb1005a0a1d2541aad6c is the offending patch.

I tried blindly removing the patch in a rebase, but it doesn't come out cleanly. Can I get some help here, please?
Comment 21 Mark A Rada 2010-04-02 04:35:12 UTC
The obvious thing to try was to turn turn on quirk checking...IT WORKED!

So it seems that the patch just deems my hardware as quirky, but everything is good now.