mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* latest -git: kernel hangs when pulling the plug on 8139too
@ 2008-08-11 16:49 Vegard Nossum
  2008-08-11 19:27 ` Alexey Dobriyan
  0 siblings, 1 reply; 7+ messages in thread
From: Vegard Nossum @ 2008-08-11 16:49 UTC (permalink / raw)
  To: netdev; +Cc: LKML

Hi,

I am experiencing a system hang as soon as pull the cable out of eth0.
Kernel version is unmodified latest -git
(v2.6.27-rc2/796aadeb1b2db9b5d463946766c5bbfd7717158c) and my network
driver is 8139too (for both eth0 and eth1).

I am running netconsole on eth0 (the interface which I disconnect).

A bit of serial console (ttyS0) output:

Linux version 2.6.27-rc2-00325-g796aade (vegardno@ben.ifi.uio.no) (gcc
version 4.1.2 20071124 (Red Hat 4.1.2-42)) #2 SMP PREEMPT Mon Aug 11
18:29:29 CEST 2008
...
Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb
console=tty0 console=ttyS0,115200 ignore_loglevel debug initcall_debug
nmi_watchdog=1 panic=30 sysrq_always_enabled
netconsole=@192.168.0.172/,@192.168.0.11/ 3
...
calling  rtl8139_init_module+0x0/0x20
8139too Fast Ethernet driver 0.9.28
8139too 0000:02:01.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
eth0: RealTek RTL8139 at 0xf881ac00, 00:10:a7:09:48:52, IRQ 18
eth0:  Identified 8139 chip type 'RTL-8139C'
8139too 0000:02:05.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
eth1: RealTek RTL8139 at 0xf881c000, 00:16:ec:ee:ad:b9, IRQ 21
eth1:  Identified 8139 chip type 'RTL-8100B/8139D'
initcall rtl8139_init_module+0x0/0x20 returned 0 after 37 msecs
...
eth0: link down
[hangs here; num lock + scroll lock flashing]
[reboots automatically, probably due to NMI watchdog?]

There is no detailed crash output on either tty0 or ttyS0. Keyboard
sysrq does not work.

Is it expected that pulling the plug on an interface running
netconsole should hang the machine? Is there anything I can do to help
narrow down the problem? I'd like to avoid a bisect (esp. since I
don't know the latest good version), but it is a possible solution.

Thanks,


Vegard

-- 
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
	-- E. W. Dijkstra, EWD1036

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-08-19  8:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-11 16:49 latest -git: kernel hangs when pulling the plug on 8139too Vegard Nossum
2008-08-11 19:27 ` Alexey Dobriyan
2008-08-12 17:20   ` Vegard Nossum
2008-08-12 19:02     ` Vegard Nossum
2008-08-12 20:46       ` Vegard Nossum
2008-08-12 20:54         ` Vegard Nossum
2008-08-19  8:03           ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome