lkml.org 
[lkml]   [2004]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.6.9-rc1-bk11+ and 2.6.9-rc1-mm3,4 r8169: freeze during boot (FIX included)
Date
Am Dienstag, 14. September 2004 00:02 schrieb Francois Romieu:
> Hans-Frieder Vogt <hfvogt@arcor.de> :
> [...]
>
> > no oops (BUG_ON not triggered)! System boots up as normal, but just after
> > I
>
> ...
>
> > log in on the console the system freezes, i.e., keyboard does not react
> > any more and the system is not accessible via network.
>
> - do the keyboard leds or the magic sysrq answer (I assume you boot without
X) ?

(To be able to exclude any side effect of X, I have booted without X and I
have also removed all graphics driver related modules)

When the system freezes, the keyboard is completely dead, the LEDs do not
react any more and also the sysrq keys do not work.

> - does it make a difference if you boot with the network cable
> unpluged (i.e. fine until pluged then dead when first packet comes in) ?
>

YES!! With the network cable unplugged, the system does not freeze!
Every 10 seconds, I get now the message:
r8169: eth0: PHY reset until link up
but otherwise everything seems fine.

> > The time from the moment I log in to the time when the system freezes
> > varies, but is in the order of 5s.
>
> First packet probably. Can you verify this point ?
>

I think the test with the network cable unplugged supports this assumption.
With network cable unplugged, /proc/interrupts shows 0 interrupts for the
network card, so probably the first interrupt leads to the system freeze.

> > There is no difference whether NAPI is enabled or not.
>
> I will welcome lspci -vx + gcc version + objdump -S of the r8169 module.
>

lspci -vx and objdump -S output (gzipped) are attached, gcc version is 3.4.2
(Debian 3.4.2-2), but no visible difference with 3.4.1.

> --
> Ueimor

Thanks for your help, Francois.
I will put a few printks into the interrupt routine and hope to be able to
tell you more tomorrow,

Hans-Frieder

--
--
Hans-Frieder Vogt e-mail: hfvogt (at) arcor (dot) de
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
Subsystem: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge
Flags: bus master, 66MHz, medium devsel, latency 8
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [80] AGP version 3.0
Capabilities: [c0] #08 [0060]
Capabilities: [68] Power Management version 2
Capabilities: [58] #08 [8001]
00: 06 11 88 31 06 00 30 22 01 00 00 06 00 08 00 00
10: 08 00 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 88 31
30: 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800 South] (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: cde00000-cfefffff
Prefetchable memory behind bridge: bdd00000-cdcfffff
Capabilities: [80] Power Management version 2
00: 06 11 88 b1 07 01 30 02 00 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 00 f0 00 20 22
20: e0 cd e0 cf d0 bd c0 cd 00 00 00 00 00 00 00 00
30: 00 00 00 00 80 00 00 00 00 00 00 00 00 00 0e 00
0000:00:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Subsystem: Avermedia Technologies Inc: Unknown device 0761
Flags: bus master, medium devsel, latency 32, IRQ 19
Memory at cddfe000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
00: 9e 10 6e 03 06 00 90 02 11 00 00 04 00 20 80 00
10: 08 e0 df cd 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 61 14 61 07
30: 00 00 00 00 44 00 00 00 00 00 00 00 0c 01 10 28
0000:00:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
Subsystem: Avermedia Technologies Inc: Unknown device 0761
Flags: bus master, medium devsel, latency 32, IRQ 19
Memory at cddff000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
00: 9e 10 78 08 06 00 90 02 11 00 80 04 00 20 80 00
10: 08 f0 df cd 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 61 14 61 07
30: 00 00 00 00 44 00 00 00 00 00 00 00 0c 01 04 ff
0000:00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 702c
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
I/O ports at d400 [size=256]
Memory at cfffbf00 (32-bit, non-prefetchable) [size=256]
Expansion ROM at 40000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
00: ec 10 69 81 17 00 b0 02 10 00 00 02 10 40 00 00
10: 01 d4 00 00 00 bf ff cf 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 62 14 2c 70
30: 00 00 00 40 dc 00 00 00 00 00 00 00 0b 01 20 40
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
Subsystem: Micro-Star International Co., Ltd. MSI Neo K8T FIS2R mainboard
Flags: bus master, medium devsel, latency 32, IRQ 20
I/O ports at ec00 [size=8]
I/O ports at e800 [size=4]
I/O ports at e400 [size=8]
I/O ports at e000 [size=4]
I/O ports at dc00 [size=16]
I/O ports at d800 [size=256]
Capabilities: [c0] Power Management version 2
00: 06 11 49 31 07 00 90 02 80 00 04 01 00 20 80 00
10: 01 ec 00 00 01 e8 00 00 01 e4 00 00 01 e0 00 00
20: 01 dc 00 00 01 d8 00 00 00 00 00 00 62 14 20 70
30: 00 00 00 00 c0 00 00 00 00 00 00 00 0a 02 00 00
0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7020
Flags: bus master, medium devsel, latency 32, IRQ 20
I/O ports at fc00 [size=16]
Capabilities: [c0] Power Management version 2
00: 06 11 71 05 07 00 90 02 06 8a 01 01 00 20 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 fc 00 00 00 00 00 00 00 00 00 00 62 14 20 70
30: 00 00 00 00 c0 00 00 00 00 00 00 00 ff 01 00 00
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7020
Flags: bus master, medium devsel, latency 32, IRQ 21
I/O ports at c400 [size=32]
Capabilities: [80] Power Management version 2
00: 06 11 38 30 17 00 10 02 81 00 03 0c 08 20 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 c4 00 00 00 00 00 00 00 00 00 00 62 14 20 70
30: 00 00 00 00 80 00 00 00 00 00 00 00 05 01 00 00
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7020
Flags: bus master, medium devsel, latency 32, IRQ 21
I/O ports at c800 [size=32]
Capabilities: [80] Power Management version 2
00: 06 11 38 30 17 00 10 02 81 00 03 0c 08 20 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 c8 00 00 00 00 00 00 00 00 00 00 62 14 20 70
30: 00 00 00 00 80 00 00 00 00 00 00 00 05 01 00 00
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7020
Flags: bus master, medium devsel, latency 32, IRQ 21
I/O ports at cc00 [size=32]
Capabilities: [80] Power Management version 2
00: 06 11 38 30 17 00 10 02 81 00 03 0c 08 20 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 cc 00 00 00 00 00 00 00 00 00 00 62 14 20 70
30: 00 00 00 00 80 00 00 00 00 00 00 00 05 02 00 00
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7020
Flags: bus master, medium devsel, latency 32, IRQ 21
I/O ports at d000 [size=32]
Capabilities: [80] Power Management version 2
00: 06 11 38 30 17 00 10 02 81 00 03 0c 08 20 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 d0 00 00 00 00 00 00 00 00 00 00 62 14 20 70
30: 00 00 00 00 80 00 00 00 00 00 00 00 05 02 00 00
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) (prog-if 20 [EHCI])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 7020
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at cfffbd00 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
00: 06 11 04 31 17 00 10 02 86 20 03 0c 10 20 80 00
10: 00 bd ff cf 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 62 14 20 70
30: 00 00 00 00 80 00 00 00 00 00 00 00 05 03 00 00
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
Subsystem: VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2
00: 06 11 27 32 87 00 10 02 00 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 27 32
30: 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 0080
Flags: medium devsel, IRQ 22
I/O ports at c000 [size=256]
Capabilities: [c0] Power Management version 2
00: 06 11 59 30 01 00 10 02 60 00 01 04 00 00 00 00
10: 01 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 62 14 80 00
30: 00 00 00 00 c0 00 00 00 00 00 00 00 05 03 00 00
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel
Capabilities: [80] #08 [2101]
00: 22 10 00 11 00 00 10 00 00 00 00 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 80 00 00 00 00 00 00 00 00 00 00 00
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel
00: 22 10 01 11 00 00 00 00 00 00 00 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel
00: 22 10 02 11 00 00 00 00 00 00 00 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
Flags: fast devsel
00: 22 10 03 11 00 00 00 00 00 00 00 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000:01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1) (prog-if 00 [VGA])
Subsystem: Hercules: Unknown device 0020
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 16
Memory at ce000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (32-bit, prefetchable) [size=128M]
Expansion ROM at cfef0000 [disabled] [size=64K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0
00: de 10 10 01 07 00 b0 02 a1 00 00 03 00 f8 00 00
10: 00 00 00 ce 08 00 00 c0 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 81 16 20 00
30: 00 00 00 00 60 00 00 00 00 00 00 00 0b 01 05 01
[unhandled content-type:application/x-gzip]
\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2011 Jasper Spaans