* Re: [Bugme-new] [Bug 14748] New: e1000e NIC not working after reboot
[not found] <bug-14748-10286@http.bugzilla.kernel.org/>
@ 2009-12-07 21:50 ` Andrew Morton
2009-12-07 22:01 ` Brandeburg, Jesse
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2009-12-07 21:50 UTC (permalink / raw)
To: Jeff Kirsher, Jesse Brandeburg, Bruce Allan, PJ Waskiewicz, Joh
Cc: bugzilla-daemon, bugme-daemon, netdev, e1000-devel, macieks
(switched to email. Please respond via emailed reply-to-all, not via the
bugzilla web interface).
On Sun, 6 Dec 2009 13:04:20 GMT
bugzilla-daemon@bugzilla.kernel.org wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=14748
>
> Summary: e1000e NIC not working after reboot
> Product: Drivers
> Version: 2.5
> Kernel Version: 2.6.32
> Platform: All
> OS/Version: Linux
> Tree: Mainline
> Status: NEW
> Severity: normal
> Priority: P1
> Component: Network
> AssignedTo: drivers_network@kernel-bugs.osdl.org
> ReportedBy: macieks@freesco.pl
> Regression: Yes
>
>
> When I power up my system the NIC is working properly.
> After every reboot the NIC is not working. I mean the eth0 is created, but
> neither dhcpcd gets IP nor static setup helps
> .
> ifconfig eth0 shows zero packets on Rx and Tx (no errors, overrunns, etc.)
>
> logs after modprobing e1000e (NIC working OK):
> Dec 6 12:29:28 mcxR kernel: e1000e: Intel(R) PRO/1000 Network Driver -
> 1.0.2-k2
> Dec 6 12:29:28 mcxR kernel: e1000e: Copyright (c) 1999-2008 Intel Corporation.
> Dec 6 12:29:28 mcxR kernel: e1000e 0000:00:19.0: PCI INT A -> GSI 20 (level,
> low) -> IRQ 20
> Dec 6 12:29:28 mcxR kernel: e1000e 0000:00:19.0: setting latency timer to 64
> Dec 6 12:29:28 mcxR kernel: e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
> Dec 6 12:29:28 mcxR kernel: 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1)
> 00:15:58:cc:0f:35
> Dec 6 12:29:28 mcxR kernel: 0000:00:19.0: eth0: Intel(R) PRO/1000 Network
> Connection
> Dec 6 12:29:28 mcxR kernel: 0000:00:19.0: eth0: MAC: 6, PHY: 6, PBA No:
> ffffff-0ff
> Dec 6 12:29:28 mcxR kernel: e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
> Dec 6 12:29:28 mcxR kernel: e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
> Dec 6 12:29:30 mcxR kernel: e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex,
> Flow Control: RX/TX
>
>
> logs after rebooting system and modprobing e1000e (NIC not working):
> Dec 6 11:57:46 mcxR kernel: e1000e: Intel(R) PRO/1000 Network Driver -
> 1.0.2-k2
> Dec 6 11:57:46 mcxR kernel: e1000e: Copyright (c) 1999-2008 Intel Corporation.
> Dec 6 11:57:46 mcxR kernel: e1000e 0000:00:19.0: PCI INT A -> GSI 20 (level,
> low) -> IRQ 20
> Dec 6 11:57:46 mcxR kernel: e1000e 0000:00:19.0: setting latency timer to 64
> Dec 6 11:57:46 mcxR kernel: e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
> Dec 6 11:57:46 mcxR kernel: 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1)
> 00:15:58:cc:0f:35
> Dec 6 11:57:46 mcxR kernel: 0000:00:19.0: eth0: Intel(R) PRO/1000 Network
> Connection
> Dec 6 11:57:46 mcxR kernel: 0000:00:19.0: eth0: MAC: 6, PHY: 6, PBA No:
> ffffff-0ff
> Dec 6 11:57:48 mcxR kernel: e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
> Dec 6 11:57:48 mcxR kernel: e1000e 0000:00:19.0: irq 30 for MSI/MSI-X
>
>
> Additional info:
> Software:
> - distro: Arch Linux
> - kernel version: 2.6.32
> - e1000e version: 1.0.2-k2
>
>
> Hardware:
> - notebook: Lenovo ThinkPad R61
> - network card: Intel Gigabit
>
> # lspci -v
> 00:19.0 Ethernet controller: Intel Corporation 82566MC Gigabit Network
> Connection (rev 03)
> Subsystem: Lenovo Device 20ba
> Flags: bus master, fast devsel, latency 0, IRQ 11
> Memory at fe200000 (32-bit, non-prefetchable) [size=128K]
> Memory at fe224000 (32-bit, non-prefetchable) [size=4K]
> I/O ports at 1800 [size=32]
> Capabilities: [c8] Power Management version 2
> Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
> Kernel modules: e1000e
>
> $ uname -a
> Linux mcxR 2.6.32-ARCH #7 SMP PREEMPT Fri Dec 4 15:39:16 CET 2009 x86_64
> Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz GenuineIntel GNU/Linux
>
Thanks. You don't mention which previous kernel version worked OK.
Was it 2.6.31?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bugme-new] [Bug 14748] New: e1000e NIC not working after reboot
2009-12-07 21:50 ` [Bugme-new] [Bug 14748] New: e1000e NIC not working after reboot Andrew Morton
@ 2009-12-07 22:01 ` Brandeburg, Jesse
2010-01-27 0:40 ` Jesse Brandeburg
0 siblings, 1 reply; 3+ messages in thread
From: Brandeburg, Jesse @ 2009-12-07 22:01 UTC (permalink / raw)
To: macieks@freesco.pl
Cc: Kirsher, Jeffrey T, Allan, Bruce W, Waskiewicz Jr, Peter P,
Ronciak, John, bugzilla-daemon@bugzilla.kernel.org,
bugme-daemon@bugzilla.kernel.org, netdev@vger.kernel.org,
e1000-devel@lists.sourceforge.net, Andrew Morton
On Mon, 7 Dec 2009, Andrew Morton wrote:
> > When I power up my system the NIC is working properly.
> > After every reboot the NIC is not working. I mean the eth0 is created, but
> > neither dhcpcd gets IP nor static setup helps
We have a userspace tool called ethregs downloadable from
http://downloads.sourceforge.net/project/e1000/Register%20Dump%20Tool/1.7.2/ethregs-1.7.2.tar.gz?use_mirror=iweb
if it is not too much trouble can you build this tool and run it before
(when the port is working) and after (when the link didn't come up)
you can attach them to the bug, and reply to this thread would be best.
also please include the output of lspci -vvv after the failure.
Thanks,
Jesse
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bugme-new] [Bug 14748] New: e1000e NIC not working after reboot
2009-12-07 22:01 ` Brandeburg, Jesse
@ 2010-01-27 0:40 ` Jesse Brandeburg
0 siblings, 0 replies; 3+ messages in thread
From: Jesse Brandeburg @ 2010-01-27 0:40 UTC (permalink / raw)
To: Brandeburg, Jesse, macieks@freesco.pl
Cc: Kirsher, Jeffrey T, Allan, Bruce W, Waskiewicz Jr, Peter P,
Ronciak, John, bugzilla-daemon@bugzilla.kernel.org,
bugme-daemon@bugzilla.kernel.org, netdev@vger.kernel.org,
e1000-devel@lists.sourceforge.net, Andrew Morton
On Mon, Dec 7, 2009 at 2:01 PM, Brandeburg, Jesse
<jesse.brandeburg@intel.com> wrote:
> On Mon, 7 Dec 2009, Andrew Morton wrote:
>> > When I power up my system the NIC is working properly.
>> > After every reboot the NIC is not working. I mean the eth0 is created, but
>> > neither dhcpcd gets IP nor static setup helps
>
> We have a userspace tool called ethregs downloadable from
> http://downloads.sourceforge.net/project/e1000/Register%20Dump%20Tool/1.7.2/ethregs-1.7.2.tar.gz?use_mirror=iweb
>
> if it is not too much trouble can you build this tool and run it before
> (when the port is working) and after (when the link didn't come up)
>
> you can attach them to the bug, and reply to this thread would be best.
I've looked at the ethregs dumps, the good news is it looks like the
hardware succeeds to self-init, but on the ethregs-fails.txt did you
load the driver? it appears you did not, or at least didn't do
# ip link set eth0 up
# ethregs > regs.txt
also looked at the lspci -vvv information and in both cases MSI was
enabled, but in the fails case the value in the data field for the MSI
vector is different, which seems a a little strange but I'm not sure
if it is responsible for failure
if the driver was loaded, and failed dhcp, what happens when you run
ethtool -t eth0 offline?
when the driver is loaded, and the dhcp fails, can you assign an
address manually (and bring the interface up) and have it work?
one more thing to note please, can you send cat /proc/interrupts from
10 seconds apart when the driver is loaded and the port is UP, but not
working. dhcpcd or dhclient both have a tendency to put the port DOWN
after they fail to get address, so thats why you may need to do # ip
link command above before gathering /proc/interrupts.
is your bios up to date?
Thanks, sorry for the delay, lets see if we can figure out what is up.
Jesse
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-01-27 0:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <bug-14748-10286@http.bugzilla.kernel.org/>
2009-12-07 21:50 ` [Bugme-new] [Bug 14748] New: e1000e NIC not working after reboot Andrew Morton
2009-12-07 22:01 ` Brandeburg, Jesse
2010-01-27 0:40 ` Jesse Brandeburg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).