Bug 5137 - r8169 - network dies.
Summary: r8169 - network dies.
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Francois Romieu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-27 06:52 UTC by Fredrik
Modified: 2007-07-11 14:18 UTC (History)
7 users (show)

See Also:
Kernel Version: 2.6.12.5
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
current kernel-config (18.27 KB, text/plain)
2005-08-27 12:35 UTC, Fredrik
Details
debug helper (1.90 KB, patch)
2005-08-30 15:40 UTC, Francois Romieu
Details | Diff
Test more error bits (1.34 KB, patch)
2005-09-03 12:07 UTC, Francois Romieu
Details | Diff
debug helper (updated) (1.94 KB, patch)
2005-09-05 15:35 UTC, Francois Romieu
Details | Diff
lspci -vvx on my (Bernhard Walle) machine (18.11 KB, text/plain)
2007-01-02 04:34 UTC, Bernhard Walle
Details
debug - see if something is playing wicked interruption games (293 bytes, patch)
2007-01-02 12:32 UTC, Francois Romieu
Details | Diff
r8169 updates foir kernel 2.6.19 (12.60 KB, patch)
2007-01-02 14:03 UTC, Francois Romieu
Details | Diff
1 (see text) (18.46 KB, text/plain)
2007-01-05 03:50 UTC, Bernhard Walle
Details
2 (see text) (18.65 KB, text/plain)
2007-01-05 03:51 UTC, Bernhard Walle
Details
3 (see text) (18.99 KB, text/plain)
2007-01-05 03:52 UTC, Bernhard Walle
Details
Kernel configuration for 2.6.20-rc3 (65.41 KB, text/plain)
2007-01-06 16:04 UTC, Bernhard Walle
Details
Late evening MSI support. (3.72 KB, patch)
2007-01-08 15:03 UTC, Francois Romieu
Details | Diff
More MSI support (4.70 KB, patch)
2007-01-09 14:53 UTC, Francois Romieu
Details | Diff
Full dmesg output after booting with the MSI-enabled driver (18.60 KB, text/plain)
2007-01-11 15:00 UTC, Bernhard Walle
Details
Make MSI working (446 bytes, patch)
2007-01-16 15:11 UTC, Bernhard Walle
Details | Diff
Fix oops when unloading the driver (525 bytes, patch)
2007-01-16 16:20 UTC, Bernhard Walle
Details | Diff
Dmesg with CONFIG_ACPI_DEBUG and MSI version of the driver (20.65 KB, text/plain)
2007-01-20 10:06 UTC, Bernhard Walle
Details
Dmesg with CONFIG_ACPI_DEBUG and non-MSI version of the driver (19.08 KB, text/plain)
2007-01-20 10:06 UTC, Bernhard Walle
Details
r8169 experimental patch for the 8168 (24.17 KB, patch)
2007-02-19 15:10 UTC, Francois Romieu
Details | Diff
Patch against 2.6.20-git16 (22.93 KB, patch)
2007-02-20 16:20 UTC, Bernhard Walle
Details | Diff
experimental r8169 patch for the 8168 (43.80 KB, text/plain)
2007-02-22 14:50 UTC, Francois Romieu
Details
experimental r8169 patch for the 8168 #2 (2.6.21-rc1) (47.86 KB, text/plain)
2007-02-23 15:09 UTC, Francois Romieu
Details
Fix the last patch (1.15 KB, patch)
2007-02-23 18:13 UTC, Bernhard Walle
Details | Diff
experimental r8169 patch for the 8168 #3 (2.6.21-rc2) (49.31 KB, text/plain)
2007-02-28 14:25 UTC, Francois Romieu
Details
experimental r8169 patch for the 8168 #4 (2.6.21-rc3) (51.13 KB, text/plain)
2007-03-07 14:57 UTC, Francois Romieu
Details

Description Fredrik 2005-08-27 06:52:06 UTC
Most recent kernel where this bug did not occur: unknown
Distribution:crux
Hardware Environment: amd-duron, via kt333, D-Link DGE-528T (r8169)
Software Environment: file-server running samba 3.20
Problem Description: i found a pretty much identical description of this problem
on the kernel mailinglist, for another card, e1000, found here:
http://www.ussg.iu.edu/hypermail/linux/kernel/0401.2/1925.html

i just got the card (D-Link DGE-528T) yesterday but the solution in the thread
does not seem to work for me. 

Steps to reproduce: shuffle a shitload of data to and from the fileserver and
watch the network fail.
Comment 1 Fredrik 2005-08-27 07:00:05 UTC
from dmesg: 
Aug 27 12:35:14 gateway kernel: NETDEV WATCHDOG: eth1: transmit timed out

ifconfig:
TX packets:20845623 errors:0 dropped:92 overruns:0 carrier:0

46 dropped packets everytime the network dies/freezes up, and a timeout message
in dmesg. No dropped RX packets as of yet.
Comment 2 Francois Romieu 2005-08-27 10:48:10 UTC
Does the network recover after a while (i.e. ping and friends ok) ?

If it does not, can you attach:
- compiler version (3.4.3 I assume ?);
- .config file for your kernel;
- lspci -vx;
- lsmod;
- cat /procinterrupts after failure;
- dmesg after boot + failure;
- complete ifconfig + ethtool output.

Which kind of load is it ? Single client home DVD transfer or such ?

It would help if you could reproduce the issue in a limited amount of time
with some simple test ('ping -q -l xxx -s yyy blah' and/or 'rsync' while
'dd'from/to disk) ?

--
Ueimor
Comment 3 Fredrik 2005-08-27 12:33:53 UTC
No, it doesnt recover. However, when it just freezes up, and prints
"kernel: NETDEV WATCHDOG: eth1: transmit timed out", it recovers. no messages
when it dies.

compiler is 3.4.4, no patches.

lspci:
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
	Subsystem: ABIT Computer Corp.: Unknown device 7405
	Flags: bus master, 66Mhz, medium devsel, latency 0
	Memory at e1000000 (32-bit, prefetchable) [size=4M]
	Capabilities: [a0] AGP version 2.0
	Capabilities: [c0] Power Management version 2
00: 06 11 99 30 06 00 30 22 00 00 00 06 00 00 00 00
10: 08 00 00 e1 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 7b 14 05 74
30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00

00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
(prog-if 00 [Normal decode])
	Flags: bus master, 66Mhz, medium devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Capabilities: [80] Power Management version 2
00: 06 11 99 b0 07 01 30 22 00 00 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 00 f0 00 00 00
20: f0 ff 00 00 f0 ff 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 04 00

00:08.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 0c)
	Subsystem: Intel Corp. EtherExpress PRO/100 S Desktop Adapter
	Flags: bus master, medium devsel, latency 32, IRQ 12
	Memory at e1420000 (32-bit, non-prefetchable) [size=4K]
	I/O ports at d000 [size=64]
	Memory at e1400000 (32-bit, non-prefetchable) [size=128K]
	Expansion ROM at <unassigned> [disabled] [size=64K]
	Capabilities: [dc] Power Management version 2
00: 86 80 29 12 07 00 90 02 0c 00 00 02 08 20 00 00
10: 00 00 42 e1 01 d0 00 00 00 00 40 e1 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 40 00
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0c 01 08 38

00:09.0 Ethernet controller: D-Link System Inc: Unknown device 4300 (rev 10)
	Subsystem: D-Link System Inc: Unknown device 4300
	Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10
	I/O ports at d400 [size=256]
	Memory at e1421000 (32-bit, non-prefetchable) [size=256]
	Expansion ROM at <unassigned> [disabled] [size=128K]
	Capabilities: [dc] Power Management version 2
00: 86 11 00 43 17 00 b0 02 10 00 00 02 10 20 00 00
10: 01 d4 00 00 00 10 42 e1 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 11 00 43
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0a 01 20 40

00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
	Subsystem: VIA Technologies, Inc. VT8233A ISA Bridge
	Flags: bus master, stepping, medium devsel, latency 0
	Capabilities: [c0] Power Management version 2
00: 06 11 47 31 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 47 31
30: 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00

00:11.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C/VT8235 PIPC Bus Master IDE (rev 06) (prog-if
8a [Master SecP PriP])
	Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235
PIPC Bus Master IDE
	Flags: bus master, medium devsel, latency 32
	I/O ports at d800 [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 d8 00 00 00 00 00 00 00 00 00 00 06 11 71 05
30: 00 00 00 00 c0 00 00 00 00 00 00 00 ff 01 00 00

00:11.2 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev
23) (prog-if 00 [UHCI])
	Subsystem: ABIT Computer Corp.: Unknown device 7405
	Flags: bus master, medium devsel, latency 32, IRQ 12
	I/O ports at dc00 [size=32]
	Capabilities: [80] Power Management version 2
00: 06 11 38 30 07 00 10 02 23 00 03 0c 08 20 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 dc 00 00 00 00 00 00 00 00 00 00 7b 14 05 74
30: 00 00 00 00 80 00 00 00 00 00 00 00 0c 04 00 00

00:11.3 USB Controller: VIA Technologies, Inc. VT6202 [USB 2.0 controller] (rev
23) (prog-if 00 [UHCI])
	Subsystem: ABIT Computer Corp.: Unknown device 7405
	Flags: bus master, medium devsel, latency 32, IRQ 12
	I/O ports at e000 [size=32]
	Capabilities: [80] Power Management version 2
00: 06 11 38 30 07 00 10 02 23 00 03 0c 08 20 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 e0 00 00 00 00 00 00 00 00 00 00 7b 14 05 74
30: 00 00 00 00 80 00 00 00 00 00 00 00 0c 04 00 00

lsmod:

Module                  Size  Used by
ipt_REJECT              4032  1 
ipt_state               1472  6 
ip_nat_ftp              2752  0 
ip_conntrack_irc       70608  0 
ip_conntrack_ftp       71568  1 ip_nat_ftp
ipt_MASQUERADE          2560  1 
ipt_limit               1856  2 
ipt_ULOG                6276  3 
iptable_nat            20052  3 ip_nat_ftp,ipt_MASQUERADE
ip_conntrack           37720  6
ipt_state,ip_nat_ftp,ip_conntrack_irc,ip_conntrack_ftp,ipt_MASQUERADE,iptable_nat
iptable_mangle          2112  0 
iptable_filter          2176  1 
r8169                  21128  0 

ifconfig:

eth1      Link encap:Ethernet  HWaddr 00:13:46:28:62:8B  
          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:33709047 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31351094 errors:0 dropped:138 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3122977255 (2978.3 Mb)  TX bytes:3882215028 (3702.3 Mb)
          Interrupt:10 Base address:0x2000 

/proc/interrupts

           CPU0       
  0:    1446085          XT-PIC  timer
  1:        341          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
 10:    8314733          XT-PIC  eth1
 12:      38762          XT-PIC  eth0
 14:      29706          XT-PIC  ide0
 15:     149384          XT-PIC  ide1
NMI:          0 
ERR:          0

dmesg after fail:

Linux version 2.6.12.5-noacpi (root@gateway) (gcc version 3.4.4 (CRUX)) #10 Sat
Aug 27 20:55:02 CEST 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
 BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
 BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 131056
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126960 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.2 present.
Allocating PCI resources starting at 20000000 (gap: 20000000:dec00000)
Built 1 zonelists
Kernel command line: BOOT_IMAGE=2.6.12.5-noacpi ro root=302
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 1205.370 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 516560k/524224k available (1533k kernel code, 7112k reserved, 393k data,
136k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 2375.68 BogoMIPS (lpj=1187840)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000
00000000 00000000
CPU: After vendor identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000
00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
CPU: After all inits, caps: 0383f3ff c1c3fbff 00000000 00000020 00000000
00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Duron(tm) processor stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb4b0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
PCI: Using IRQ router default [1106/3099] at 0000:00:00.0
Machine check exception polling timer started.
Initializing Cryptographic API
Real Time Clock Driver v1.12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
e100: Intel(R) PRO/100 Network Driver, 3.4.8-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
e100: eth0: e100_probe: addr 0xeb420000, irq 12, MAC addr 00:02:B3:DC:70:89
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
PCI: Via IRQ fixup for 0000:00:11.1, from 255 to 0
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci0000:00:11.1
    ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: ST340016A, ATA DISK drive
hdb: WDC WD2000JB-00GVA0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: ST3160021A, ATA DISK drive
hdd: LITE-ON DVDRW SOHW-812S, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes not supported
 hda: hda1 hda2 hda3 < hda5 hda6 > hda4
hdb: max request size: 1024KiB
hdb: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63, UDMA(100)
hdb: cache flushes supported
 hdb: hdb1
hdc: max request size: 1024KiB
hdc: 312581808 sectors (160041 MB) w/2048KiB Cache, CHS=19457/255/63, UDMA(100)
hdc: cache flushes supported
 hdc: hdc1
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP established hash table entries: 32768 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
ip_tables: (C) 2000-2002 Netfilter core team
NET: Registered protocol family 1
NET: Registered protocol family 17
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 136k freed
input: AT Translated Set 2 keyboard on isa0060/serio0
Adding 979924k swap on /dev/hda6.  Priority:-1 extents:1
EXT3 FS on hda2, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ReiserFS: hdb1: found reiserfs format "3.6" with standard journal
ReiserFS: hdb1: using ordered data mode
ReiserFS: hdb1: journal params: device hdb1, size 8192, journal first block 18,
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdb1: checking transaction log (hdb1)
ReiserFS: hdb1: Using r5 hash to sort names
ReiserFS: hdc1: found reiserfs format "3.6" with standard journal
ReiserFS: hdc1: using ordered data mode
ReiserFS: hdc1: journal params: device hdc1, size 8192, journal first block 18,
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdc1: checking transaction log (hdc1)
ReiserFS: hdc1: Using r5 hash to sort names
r8169 Gigabit Ethernet driver 2.2LK loaded
eth1: Identified chip type is 'RTL8169s/8110s'.
eth1: RTL8169 at 0xe09e8000, 00:13:46:28:62:8b, IRQ 10
e100: eth0: e100_watchdog: link up, 10Mbps, full-duplex
r8169: eth1: link up
ip_conntrack version 2.1 (4095 buckets, 32760 max) - 212 bytes per conntrack
process `named' is using obsolete setsockopt SO_BSDCOMPAT
NETDEV WATCHDOG: eth1: transmit timed out
NETDEV WATCHDOG: eth1: transmit timed out

ethtool:

RealTek RTL-8169s registers:
------------------------------
0x00: MAC Address                      00:13:46:28:62:8b
0x08: Multicast Address Filter     0x80000000 0x00000000
0x10: Dump Tally Counter Command   0x00420000 0x00047404
0x20: Tx Normal Priority Ring Addr 0x1dd6a000 0x00000000
0x28: Tx High Priority Ring Addr   0x00000800 0x00000000
0x30: Flash memory read/write                 0x00000000
0x34: Early Rx Byte Count                              0
0x36: Early Rx Status                               0x08
      ERxGood 
0x37: Command                                       0x0c
      Rx on, Tx on
0x3C: Interrupt Mask                              0x807f
      SERR RxFIFO LinkChg RxNoBuf TxErr TxOK RxErr RxOK 
0x3E: Interrupt Status                            0x0000
      
0x40: Tx Configuration                        0x07000600
0x44: Rx Configuration                        0x0000e60e
0x48: Timer count                             0xf04b84ff
0x4C: Missed packet counter                     0x000000
0x50: EEPROM Command                                0x00
0x51: Config 0                                      0x05
0x52: Config 1                                      0xcd
0x53: Config 2                                      0x10
0x54: Config 3                                      0xa1
0x55: Config 4                                      0x80
0x56: Config 5                                      0x03
0x58: Timer interrupt                         0x00000000
0x5C: Multiple Interrupt Select                   0x0000
0x60: PHY access                              0x80001000
0x64: TBI control and status                  0x00000000
0x68: TBI Autonegotiation advertisement (ANAR)    0x0000
0x6A: TBI Link partner ability (LPAR)             0x0000
0x6C: PHY status                                    0x13
0x84: PM wakeup frame 0            0x00058000 0x00000000
0x8C: PM wakeup frame 1            0x00220008 0x00020000
0x94: PM wakeup frame 2 (low)      0x28280008 0x10100008
0x9C: PM wakeup frame 2 (high)     0x40028048 0x8002a011
0xA4: PM wakeup frame 3 (low)      0x4000004d 0x00000000
0xAC: PM wakeup frame 3 (high)     0x00000000 0x20001000
0xB4: PM wakeup frame 4 (low)      0x00004100 0x08000400
0xBC: PM wakeup frame 4 (high)     0x02009088 0x00008000
0xC4: Wakeup frame 0 CRC                          0x0900
0xC6: Wakeup frame 1 CRC                          0x0004
0xC8: Wakeup frame 2 CRC                          0x0000
0xCA: Wakeup frame 3 CRC                          0x0000
0xCC: Wakeup frame 4 CRC                          0x0840
0xDA: RX packet maximum size                      0x3fff
0xE0: C+ Command                                  0x602b
      RX checksumming
      PCI Multiple RW
0xE2: Interrupt Mitigation                        0x0000
      TxTimer:       0
      TxPackets:     0
      RxTimer:       0
      RxPackets:     0
0xE4: Rx Ring Addr                 0x1dea3000 0x00000000
0xEC: Early Tx threshold                            0x3f
driver: r8169
version: 2.2LK
firmware-version: 
bus-info: 0000:00:09.0
Offload parameters for eth1:
rx-checksumming: on
tx-checksumming: off
scatter-gather: off
tcp segmentation offload: off
Comment 4 Fredrik 2005-08-27 12:35:45 UTC
Created attachment 5785 [details]
current kernel-config
Comment 5 Fredrik 2005-08-27 15:40:34 UTC
It seems i have to both upload and download to/from the box for the net to die.
Just downloading only causes it to stall briefly. best method to replicate it on
my box seems to be to download via ftp and upload via samba.
Comment 6 Francois Romieu 2005-08-27 15:53:56 UTC
If I read you correctly, you notice an unrecoverable loss of connectivity which
comes along a watchdog message or a complete lock of the system, right ?

Can you build a NAPI enabled version of the r8169 module and see if the magic
sysrq accepts to provide some information ?

--
Ueimor
Comment 7 Fredrik 2005-08-28 03:56:10 UTC
No. When i get the watchdog message, the network manages to recover. When it
just dies, there are no messages or logs. When it dies, the only way to bring it
back up is to reboot or do a "ifconfig eth1 down; ifconfig eth1 up"

ill try to play with sysrq asap.
Comment 8 Fredrik 2005-08-29 09:57:00 UTC
I think i need some help on how to proper use sysrq. i have output from sysrq
+p, t & m but i doubt its useful
Comment 9 Francois Romieu 2005-08-30 15:40:17 UTC
Created attachment 5822 [details]
debug helper
Comment 10 Francois Romieu 2005-08-30 15:45:30 UTC
Can you apply the attached patch to any recent 2.6.13-alike kernel and issue an
'ethtool -i ethX' when the network traffic is stopped ?

It should print the state of the Rx/Tx descriptor ring in the kernel log.

--
Ueimor
Comment 11 Fredrik 2005-08-31 06:07:11 UTC
here we go:

Aug 31 15:03:46 gateway kernel: TX 000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway last message repeated 3 times
Aug 31 15:03:46 gateway kernel: TX 008 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway last message repeated 3 times
Aug 31 15:03:46 gateway kernel: TX 016 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway last message repeated 3 times
Aug 31 15:03:46 gateway kernel: TX 024 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway last message repeated 3 times
Aug 31 15:03:46 gateway kernel: TX 032 00000000 00000000 00000000 00000000
00000000 00000000*00000000 00000000
Aug 31 15:03:46 gateway last message repeated 3 times
Aug 31 15:03:46 gateway kernel: TX 040 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway last message repeated 3 times
Aug 31 15:03:46 gateway kernel: TX 048 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway last message repeated 3 times
Aug 31 15:03:46 gateway kernel: TX 056 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway last message repeated 3 times
Aug 31 15:03:46 gateway kernel: 
Aug 31 15:03:46 gateway kernel: RX 000 348285ee 348285ee 348285ee 348285ee
348285ee 348285ee 348285ee 348285ee
Aug 31 15:03:46 gateway kernel: RX 000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 000 12a3d012 18074012 1ab46812 0a5bd012
05ecb012 0ab53812 09fb0812 02371812
Aug 31 15:03:46 gateway kernel: RX 000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 008 348285ee 348285ee 348285ee 348285ee
348285ee 348285ee 348285ee 348285ee
Aug 31 15:03:46 gateway kernel: RX 008 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 008 15723012 1802c812 188fb812 1cc04012
05735012 0b861012 1080a012 12518012
Aug 31 15:03:46 gateway kernel: RX 008 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 016 348285ee 348285ee 348285ee 34828040
34828040 348285ee 34828040 348285ee
Aug 31 15:03:46 gateway kernel: RX 016 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 016 1c782812 14470812 10d83812 10b96812
0d058012 17c5e012 1839e012 0be18812
Aug 31 15:03:46 gateway kernel: RX 016 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 024 34828040 348285ee 34828040 34828040
348285ee 348285ee 34828040 34828040
Aug 31 15:03:46 gateway kernel: RX 024 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 024 1602e812 104b8812 11a97012 0eddf812
198fc012 0a35d812 0d703012 15c96812
Aug 31 15:03:46 gateway kernel: RX 024 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 032 34828040 34828040 34828040 348285ee
348285ee 34828067 34828040 34828067
Aug 31 15:03:46 gateway kernel: RX 032 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 032 0875e812 1ab58012 0af34012 0e9dd812
12519812 09637812 01f86812 19830812
Aug 31 15:03:46 gateway kernel: RX 032 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 040 34828067 34828040 34828067 34828040
34828040 34828067 348285ee 348285ee
Aug 31 15:03:46 gateway kernel: RX 040 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 040 10b96012 00a8d012 00c49012 01fbe812
15984812 13312812 1071a812 17cd5012
Aug 31 15:03:46 gateway kernel: RX 040 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 048 34828040 34828040 34828040 34828067
348285ee 34828040 348280a0 32844060
Aug 31 15:03:46 gateway kernel: RX 048 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 048 0d422012 18c3c012 14827012 07793012
1077b012 115d1012 14bb3812 12459012
Aug 31 15:03:46 gateway kernel: RX 048 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 056 32844060 34828040 32844060 34828040
3481c040 3481c040 3481c040 3481c040
Aug 31 15:03:46 gateway kernel: RX 056 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 056 0921c012 0370a012 15895812 02241812
0a35d012 112fb812 02037012 00a8d812
Aug 31 15:03:46 gateway kernel: RX 056 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 064 3481c040 3481c040 3481c040 3481c040
3481c040 3481c040 3481c040 3481c040
Aug 31 15:03:46 gateway kernel: RX 064 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 064 06f1c012 004d9012 115d1812 16e4f812
0be19012 0949c012 12520812 0a8bc812
Aug 31 15:03:46 gateway kernel: RX 064 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 072 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 072 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 072 17bc6812 0d9d0012 198c6812 0ce6d012
16cc4812 15985812 0c663012 02fb2012
Aug 31 15:03:46 gateway kernel: RX 072 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 080 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 080 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 080 0be18012 0ce6d812 19124012 0588d812
0d880812 0a2b0812 1cc04812 17c5e812
Aug 31 15:03:46 gateway kernel: RX 080 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 088 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 088 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 088 030c0812 12971812 13cbd012 15984012
05b35012 1802c012 02036012 1f393812
Aug 31 15:03:46 gateway kernel: RX 088 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 096 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 096 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 096 14009812 15a54012 12151812 01da6812
05d35812 13f57012 0c663812 15c96012
Aug 31 15:03:46 gateway kernel: RX 096 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 104 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 104 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 104 1b504812 0bf0f012 0fc5a012 14cfe012
02240812 0e7c9012 11a97812 1839f012
Aug 31 15:03:46 gateway kernel: RX 104 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 112 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 112 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 112 01f95812 0b305812 06902812 16b89012
11bd5812 0d1f3012 148c4012 088fb012
Aug 31 15:03:46 gateway kernel: RX 112 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 120 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 120 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 120 0153d812 0949d812 1d8a4812 12ee3812
0d058812 18c3c812 0d880012 06902012
Aug 31 15:03:46 gateway kernel: RX 120 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 128 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 128 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 128 0effa812 0c294812 00c49812 09a65012
02fb2812 1077b812 1bb66012 0e9dd012
Aug 31 15:03:46 gateway kernel: RX 128 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 136 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 136 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 136 1c782012 15a54812 16755812 12971012
188fb012 1dab0012 14a76012 0949c812
Aug 31 15:03:46 gateway kernel: RX 136 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 144 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 144 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 144 02037812 15fac812 01f2b812 0921c812
14496812 19830012 0930c812 01f86012
Aug 31 15:03:46 gateway kernel: RX 144 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 152 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 152 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 152 002f8012 0235f812 02240012 0153d012
0310c812 08e9e012 12459812 0e1a1012
Aug 31 15:03:46 gateway kernel: RX 152 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 160 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 160 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 160 0d180012 18074812 05fc7012 0ab53012
0d713012 0e827012 088fb812 1c5ba812
Aug 31 15:03:46 gateway kernel: RX 160 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 168 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 168 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 168 0693b812 1388d812 1388c812 1cd43012
157b8812 1388c012 0949d012 0235f012
Aug 31 15:03:46 gateway kernel: RX 168 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 176 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 176 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 176 1e177012 15985012 1c0c2812 172f3012
198c6012 00aeb812 0e51c812 15895012
Aug 31 15:03:46 gateway kernel: RX 176 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 184 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 184 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 184 05d35012 0d308812 07793812 04f72812
0875e012 104b8012 1839f812 1f380812
Aug 31 15:03:46 gateway kernel: RX 184 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 192 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 192 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 192 02b98812 179fd812 07595812 02b98012
145f4812 1e177812 0d308012 10140012
Aug 31 15:03:46 gateway kernel: RX 192 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 200 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 200 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 200 0588d012 12520012 16e4f012 1602e012
1ab58812 06c63012 02036812 17f37812
Aug 31 15:03:46 gateway kernel: RX 200 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 208 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Aug 31 15:03:46 gateway kernel: RX 208 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 208 0e7c9812 0a5bd812 09fb0012 0fb36812
0f8e9812 172f3812 1b504012 00f38012
Aug 31 15:03:46 gateway kernel: RX 208 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 216 80000600 80000600*80000600 348285ee
348283b6 348285ee 348285ee 348285ee
Aug 31 15:03:46 gateway kernel: RX 216 00000000 00000000*00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 216 19124812 0912d812*09a65812 1c0c2012
01ca6812 1b4bb012 10d83012 15fac012
Aug 31 15:03:46 gateway kernel: RX 216 00000000 00000000*00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 224 348285ee 348285ee 348283b6 34828040
34828040 34828040 34828040 348285ee
Aug 31 15:03:46 gateway kernel: RX 224 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 224 0b97d812 0a2b0012 0fabc012 0b6c2812
12739812 1f3a7812 0ed43812 1802d012
Aug 31 15:03:46 gateway kernel: RX 224 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 232 348285ee 348285ee 348285ee 348285ee
348285ee 348285ee 348285ee 348285ee
Aug 31 15:03:46 gateway kernel: RX 232 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 232 0f8a5012 050ac012 145f4012 0588c812
0408d812 05b05812 12151012 1cbd3012
Aug 31 15:03:46 gateway kernel: RX 232 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 240 348285ee 348285ee 348285ee 348285ee
348285ee 348285ee 348285ee 348285ee
Aug 31 15:03:46 gateway kernel: RX 240 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 240 05e03812 157b8012 1297c812 10140812
0dcac012 125a7012 0fb36012 12518812
Aug 31 15:03:46 gateway kernel: RX 240 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 248 348285ee 348285ee 348285ee 348285ee
348285ee 348285ee 348285ee 748285ee
Aug 31 15:03:46 gateway kernel: RX 248 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: RX 248 1e3c3012 004d9812 1567a012 12aa5012
104b9812 0fabc812 12739012 1d773012
Aug 31 15:03:46 gateway kernel: RX 248 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Aug 31 15:03:46 gateway kernel: 
Comment 12 Francois Romieu 2005-08-31 15:44:32 UTC
The driver reports a huge fifo overflow. That's new. It's probably due to
a poor PCI use but it should be handled by the driver anyway. Can you confirm
that it makes no difference if NAPI is enabled or not ?

--
Ueimor
Comment 13 Fredrik 2005-08-31 22:35:01 UTC
Yeah. No diffrence. The problem first appeared w/o NAPI.
Comment 14 Francois Romieu 2005-09-03 12:07:52 UTC
Created attachment 5880 [details]
Test more error bits
Comment 15 Francois Romieu 2005-09-03 12:14:50 UTC
Can you apply the new patch on top of the previous one ?

If it does not work better, please resend the relevant 'ethtool -i ethX' and
'cat /proc/net/dev' to check the packets count.

--
Ueimor

Comment 16 Fredrik 2005-09-05 01:37:30 UTC
It does not work at all. Is this really a driver issue? Im starting to think my
motherboard is all fvcked up.
Comment 17 Francois Romieu 2005-09-05 04:07:54 UTC
> It does not work at all.

Do you mean that the network adapter is not able to transmit packets
from the start ?

> Is this really a driver issue? Im starting to think my
> motherboard is all fvcked up.

I can't exclude that your motherboard contains a moderately efficient PCI
system but even so, the driver should be able to survive the FIFO errors.

--
Ueimor
Comment 18 Francois Romieu 2005-09-05 15:35:56 UTC
Created attachment 5911 [details]
debug helper (updated)
Comment 19 Francois Romieu 2005-09-05 15:42:26 UTC
While I am still interested in the answer to my previous question, I'd welcome
if you could revert any patch and simply apply the updated debug helper.

It will not fix the issue but it is possible that I have made a wrong assumption
and I'd rather know it soon. Once the deive is unresponsive, just send:
- a complete dmesg/kernel log after an 'ethtool -i ethX';
- the output of 'cat /proc/net/dev'.

--
Ueimor
Comment 20 Fredrik 2005-09-06 12:54:32 UTC
debug helper only:

Sep  6 21:44:42 gateway kernel: TX 000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway last message repeated 3 times
Sep  6 21:44:42 gateway kernel: TX 008 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway last message repeated 3 times
Sep  6 21:44:42 gateway kernel: TX 016 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway last message repeated 3 times
Sep  6 21:44:42 gateway kernel: TX 024 00000000 00000000 00000000 00000000
00000000 00000000*00000000 00000000
Sep  6 21:44:42 gateway last message repeated 3 times
Sep  6 21:44:42 gateway kernel: TX 032 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway last message repeated 3 times
Sep  6 21:44:42 gateway kernel: TX 040 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway last message repeated 3 times
Sep  6 21:44:42 gateway kernel: TX 048 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway last message repeated 3 times
Sep  6 21:44:42 gateway kernel: TX 056 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway last message repeated 3 times
Sep  6 21:44:42 gateway kernel: 
Sep  6 21:44:42 gateway kernel: RX 000 34828040 34828040 34828040 34828040
348285ee 3482806e 34828040 34828040
Sep  6 21:44:42 gateway kernel: RX 000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 000 19504012 16044012 16044812 0637d012
1ed0f012 0621f812 0af0f012 0d84e012
Sep  6 21:44:42 gateway kernel: RX 000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 008 34828040 348285ee 3482806e 34828040
34828040 34828040 34828040 34828040
Sep  6 21:44:42 gateway kernel: RX 008 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 008 10001812 11028012 0af0f812 13800012
07554012 08a3a012 0a889812 0a889012
Sep  6 21:44:42 gateway kernel: RX 008 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 016 3481c040 3481c040 3481c040 3481c040
3481c040 3481c040 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 016 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 016 1f501812 0abf4012 159cf012 00f13812
1e76b812 13800812 0a52f812 08585812
Sep  6 21:44:42 gateway kernel: RX 016 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 024 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 024 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 024 0f039012 0a52f012 0083f812 0c1d7812
074e4812 1ed4b812 1ec29012 0d84e812
Sep  6 21:44:42 gateway kernel: RX 024 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 032 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 032 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 032 0625f812 1562c012 00473812 11eee012
11892812 12f92812 0ea62012 03c9b812
Sep  6 21:44:42 gateway kernel: RX 032 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 040 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 040 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 040 1701c012 1ef4d012 00450012 06185012
169de812 0491d012 06185812 1e74b012
Sep  6 21:44:42 gateway kernel: RX 040 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 048 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 048 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 048 0c1e5012 0ea62812 04088012 1817e012
0f94c012 1dcf3012 0c084012 00a39812
Sep  6 21:44:42 gateway kernel: RX 048 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 056 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 056 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 056 04fbb012 18de3812 1701c812 0452c812
11bb9812 0af0e012 12a85012 0ff3c812
Sep  6 21:44:42 gateway kernel: RX 056 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 064 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 064 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 064 00b60012 0083f012 003ce012 0bd07012
14138812 033e4012 0f0ac012 09970812
Sep  6 21:44:42 gateway kernel: RX 064 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 072 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 072 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 072 08c0c812 0aa61812 16100012 005ea812
1a0af012 1894b812 03778812 169de012
Sep  6 21:44:42 gateway kernel: RX 072 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 080 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 080 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 080 045b4012 1dd5e812 17f11812 088be012
00bbc012 1f501012 00a39012 0f0f6812
Sep  6 21:44:42 gateway kernel: RX 080 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 088 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 088 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 088 05d26012 0431d812 10633812 0431d012
0c2a7012 0edb5012 1f951012 1f951812
Sep  6 21:44:42 gateway kernel: RX 088 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 096 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 096 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 096 08d25812 17362012 0e65a012 11a22812
00f96012 074e4012 02878812 18cfa812
Sep  6 21:44:42 gateway kernel: RX 096 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 104 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 104 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 104 0ca7b012 13425812 15716812 04328812
081f5812 117c0812 05d43812 05d42012
Sep  6 21:44:42 gateway kernel: RX 104 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 112 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 112 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 112 150f8012 166ae012 0623d812 0625f012
05d42812 176b1812 16fb0812 17b11012
Sep  6 21:44:42 gateway kernel: RX 112 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 120 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 120 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 120 0b8e4812 1e76b012 1445d812 098f8812
0d43d012 00ee6012 11931012 003c9012
Sep  6 21:44:42 gateway kernel: RX 120 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 128 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 128 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 128 0491d812 072e7012 13ed1012 0378a012
1040c812 0af0e812 1bf2b812 1040c012
Sep  6 21:44:42 gateway kernel: RX 128 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 136 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 136 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 136 14324812 125bd812 14280812 1817a012
0bd07812 17b10812 068d1812 09970012
Sep  6 21:44:42 gateway kernel: RX 136 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 144 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 144 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 144 184ec012 09575012 05ff7812 045aa812
02f8e012 14658012 0aafe012 15be4812
Sep  6 21:44:42 gateway kernel: RX 144 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 152 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 152 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 152 10001012 005ea012 0b9d0012 1ec8f012
0ed83012 079d0812 00473012 0a20d012
Sep  6 21:44:42 gateway kernel: RX 152 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 160 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 160 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 160 093cd812 00f16012 1f172012 063ff812
0d2ec812 0a4b3812 0bd95012 168c8812
Sep  6 21:44:42 gateway kernel: RX 160 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 168 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 168 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 168 0044f812 0a20d812 19f9c812 093cd012
16a56012 06c70812 09733812 1445d012
Sep  6 21:44:42 gateway kernel: RX 168 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 176 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 176 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 176 1527e812 059cc812 0637d812 1436f812
1a4b7812 0347e812 048f7012 0bd2b012
Sep  6 21:44:42 gateway kernel: RX 176 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 184 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  6 21:44:42 gateway kernel: RX 184 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 184 176b1012 17b10012 101ca812 0c1e5812
0b9d0812 18d8b812 0f0ac812 1c67c812
Sep  6 21:44:42 gateway kernel: RX 184 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 192 80000600 80000600 80000600 80000600
80000600 80000600 80000600*80000600
Sep  6 21:44:42 gateway kernel: RX 192 00000000 00000000 00000000 00000000
00000000 00000000 00000000*00000000
Sep  6 21:44:42 gateway kernel: RX 192 04c6d012 15be4012 1dde9012 1a6da812
1ed0e012 0354a812 0641a812*09e4c812
Sep  6 21:44:42 gateway kernel: RX 192 00000000 00000000 00000000 00000000
00000000 00000000 00000000*00000000
Sep  6 21:44:42 gateway kernel: RX 200 348285ee 348285ee 348285ee 348285ee
348285ee 348285ee 348285ee 348285ee
Sep  6 21:44:42 gateway kernel: RX 200 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 200 1894b012 15375812 15375012 17b11812
150f8812 17f11012 079d0012 114a2812
Sep  6 21:44:42 gateway kernel: RX 200 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 208 348285ee 348285ee 34828040 348285ee
348285ee 348285ee 348285ee 348285ee
Sep  6 21:44:42 gateway kernel: RX 208 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 208 0f547012 0e65a812 1ed0e812 06608812
08553812 0c5c0812 0f8b8012 16603012
Sep  6 21:44:42 gateway kernel: RX 208 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 216 348285ee 348285ee 348285ee 348285ee
348285ee 348285ee 34828040 34828040
Sep  6 21:44:42 gateway kernel: RX 216 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 216 0d15f812 10add812 00f16812 14324012
1817a812 13425012 12e6b012 05d43012
Sep  6 21:44:42 gateway kernel: RX 216 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 224 34828040 34828040 34828040 34828040
34828040 34828040 34828040 34828040
Sep  6 21:44:42 gateway kernel: RX 224 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 224 0d475812 125e0012 05ff7012 1d480012
11931812 0640a812 12854812 07e32012
Sep  6 21:44:42 gateway kernel: RX 224 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 232 3482806e 34828040 34828040 348285ee
3482806e 34828040 34828040 34828040
Sep  6 21:44:42 gateway kernel: RX 232 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 232 02289812 10cd1812 0f784812 04572812
1518c012 0baaa012 09575812 06c70012
Sep  6 21:44:42 gateway kernel: RX 232 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 240 348285ee 3482806e 348440c1 348440c6
348440db 348440c8 348440c5 348440dd
Sep  6 21:44:42 gateway kernel: RX 240 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 240 0559b812 09b80012 1703e812 101ca012
05810012 04158812 16603812 026ba012
Sep  6 21:44:42 gateway kernel: RX 240 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 248 348440c5 348440dd 34828040 34828040
34828040 34828040 348285ee 7482806e
Sep  6 21:44:42 gateway kernel: RX 248 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: RX 248 11eee812 16a2d812 08484812 0c084812
05d26812 083cc012 06b1d012 19504812
Sep  6 21:44:42 gateway kernel: RX 248 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  6 21:44:42 gateway kernel: 
Comment 21 Francois Romieu 2005-09-06 13:00:00 UTC
Please try the _updated_ helper. The patch you used does not provide the
rx_dirty nor the rx_cur values and I really need those to figure where the
driver ends.

__
Ueimor
Comment 22 Fredrik 2005-09-07 04:56:09 UTC
Sorry about that, here we go:

Sep  7 13:54:20 gateway kernel: TX dirty = 03058672 cur = 03058672
Sep  7 13:54:20 gateway kernel: TX 000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway last message repeated 3 times
Sep  7 13:54:20 gateway kernel: TX 008 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway last message repeated 3 times
Sep  7 13:54:20 gateway kernel: TX 016 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway last message repeated 3 times
Sep  7 13:54:20 gateway kernel: TX 024 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway last message repeated 3 times
Sep  7 13:54:20 gateway kernel: TX 032 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway last message repeated 3 times
Sep  7 13:54:20 gateway kernel: TX 040 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000]
Sep  7 13:54:20 gateway last message repeated 3 times
Sep  7 13:54:20 gateway kernel: TX 048*00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway last message repeated 3 times
Sep  7 13:54:20 gateway kernel: TX 056 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway last message repeated 3 times
Sep  7 13:54:20 gateway kernel: RX dirty = 02756847 cur = 02756847
Sep  7 13:54:20 gateway kernel: RX 000 34828040 34828040 34828040 34828040
34828040 34828040 34828040 34828040
Sep  7 13:54:20 gateway kernel: RX 000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 000 1891b012 14ff1012 19dba012 095cd812
0be20012 0cbcc812 1d234812 1835c012
Sep  7 13:54:20 gateway kernel: RX 000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 008 34828040 34828040 34828040 34828040
34828040 34828040 34828040 34828040
Sep  7 13:54:20 gateway kernel: RX 008 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 008 07d0b812 0fc95012 04b93812 047d7812
1ad36012 075a1012 1af67012 08d94812
Sep  7 13:54:20 gateway kernel: RX 008 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 016 34828040 34828040 34828040 34828040
34828040 34828040 34828040 34828040
Sep  7 13:54:20 gateway kernel: RX 016 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 016 04c7d012 10289012 163c2012 07c56812
0c7a5812 1e358812 19b95812 10a6b012
Sep  7 13:54:20 gateway kernel: RX 016 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 024 34828040 34828040 34828040 34828040
3482806e 3482806e 3482806e 3482806e
Sep  7 13:54:20 gateway kernel: RX 024 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 024 19f2b012 112ed012 1a0da812 16f25812
12e69812 08c23012 14c06812 02a04012
Sep  7 13:54:20 gateway kernel: RX 024 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 032 3482810a 3482823a 3482804e 3482831e
34828040 3482831e 348280a0 34828040
Sep  7 13:54:20 gateway kernel: RX 032 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 032 11d87012 1032e812 10120812 10120012
02032012 16cbb012 0c7a4812 0c7a4012
Sep  7 13:54:20 gateway kernel: RX 032 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 040 348280a0 34828040 348280a0 3482831e
34828040 348280a0 348280a0 34828040
Sep  7 13:54:20 gateway kernel: RX 040 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 040 14e12812 14e12012 07d7d812 06b91812
16083012 17264812 1a4db812 14c05812
Sep  7 13:54:20 gateway kernel: RX 040 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 048 3482831e 348280a0 34828040 34828040
3481c040 34828040 3481c040 3481c040
Sep  7 13:54:20 gateway kernel: RX 048 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 048 0c3ae012 08c23812 0ddcf812 16a1d012
14a52012 1a3f0012 07ef9812 11d87812
Sep  7 13:54:20 gateway kernel: RX 048 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 056 32844060 34828040 32844060 34828040
32844060 3481c040 3481c040 34828040
Sep  7 13:54:20 gateway kernel: RX 056 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 056 16082812 17166812 01825012 1074c012
0d7d5812 04cd3812 13cf5812 0e011812
Sep  7 13:54:20 gateway kernel: RX 056 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 064 3481c040 3481c040 3481c040 34828040
3481c040 3481c040 34828040 3481c040
Sep  7 13:54:20 gateway kernel: RX 064 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 064 1891a012 1a0d9812 1a4db012 02a07012
103a7012 080be812 0a8a1812 09b06012
Sep  7 13:54:20 gateway kernel: RX 064 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 072 3481c040 3481c040 3481c040 3481c040
3481c040 3481c040 3481c040 3481c040
Sep  7 13:54:20 gateway kernel: RX 072 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 072 16d46812 047d7012 0377f012 0cbcc012
1e35d012 1d7d3812 112ec812 0fc95812
Sep  7 13:54:20 gateway kernel: RX 072 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 080 3481c040 3481c040 3481c040 3481c040
34828040 3481c040 3481c040 3481c040
Sep  7 13:54:20 gateway kernel: RX 080 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 080 07d7d012 142c6012 142c6812 1af66012
004a5812 14a9d012 10f88012 15468812
Sep  7 13:54:20 gateway kernel: RX 080 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 088 3481c040 3481c040 3481c040 3481c040
3481c040 3481c040 3481c040 3481c040
Sep  7 13:54:20 gateway kernel: RX 088 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 088 192ee812 16194012 1a0d8012 07c56012
0c3ae812 00ec8012 1f43e812 1f43e012
Sep  7 13:54:20 gateway kernel: RX 088 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 096 3481c040 3481c040 3481c040 3481c040
3481c040 3481c040 3481c040 3481c040
Sep  7 13:54:20 gateway kernel: RX 096 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 096 07a0a812 07a0a012 1d7c3812 1d7c3012
0964f812 0964f012 13004812 13004012
Sep  7 13:54:20 gateway kernel: RX 096 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 104 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 104 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 104 10880812 10880012 02a05812 02a05012
18579812 18579012 0d019812 16f25012
Sep  7 13:54:20 gateway kernel: RX 104 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 112 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 112 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 112 0a111012 0c5a5012 0a110012 0a110812
0af23012 0af23812 0ecdb812 04500812
Sep  7 13:54:20 gateway kernel: RX 112 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 120 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 120 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 120 096fe012 02a07812 08d94012 0964c012
1a0db012 079b6012 0dd71812 09915812
Sep  7 13:54:20 gateway kernel: RX 120 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 128 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 128 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 128 1a0d8812 1a0da012 15468012 0a53b012
034c6012 17264012 16196812 0d019012
Sep  7 13:54:20 gateway kernel: RX 128 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 136 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 136 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 136 14704812 1aca2812 0e317812 11134812
0fd1a012 1388b812 14c06012 0be23012
Sep  7 13:54:20 gateway kernel: RX 136 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 144 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 144 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 144 00835012 0fb95812 103a5012 177b4012
0a1be012 0eebf812 0a91a012 10882012
Sep  7 13:54:20 gateway kernel: RX 144 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 152 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 152 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 152 1af67812 0c3af812 112ed812 0c5a5812
07d0b012 0875c012 12df7812 103a7812
Sep  7 13:54:20 gateway kernel: RX 152 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 160 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 160 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 160 19bd8012 07fc8812 1ee8a012 0e284012
1e330812 14c05012 03365812 1e1d8812
Sep  7 13:54:20 gateway kernel: RX 160 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 168 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 168 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 168 0d57e812 09a01012 06979012 1f59d012
09f37812 0434e812 0434e012 09f37012
Sep  7 13:54:20 gateway kernel: RX 168 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 176 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 176 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 176 04791812 04791012 0ba8c012 0ba8c812
01824812 07116012 07ef9012 096fe812
Sep  7 13:54:20 gateway kernel: RX 176 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 184 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 184 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 184 085e0812 14ff2012 0be23812 0baab012
01be3012 05dd8812 19735012 0a13f012
Sep  7 13:54:20 gateway kernel: RX 184 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 192 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 192 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 192 0bdc8812 0b041812 04b93012 14d99812
1549e812 071f8012 1f3e0012 070cb012
Sep  7 13:54:20 gateway kernel: RX 192 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 200 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 200 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 200 11565012 07d7c812 0aa3a012 0a517012
07fc8012 10a6b812 103a5812 1a2fc812
Sep  7 13:54:20 gateway kernel: RX 200 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 208 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 208 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 208 133d5012 0c3af012 1d14f012 0377f812
0cdd4812 14a7b012 134d2812 134d2012
Sep  7 13:54:20 gateway kernel: RX 208 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 216 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 216 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 216 039c0012 039c0812 066cb012 0d502812
046de012 0b993012 14a2f812 1ccb4812
Sep  7 13:54:20 gateway kernel: RX 216 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 224 80000600 80000600 80000600 80000600
80000600 80000600 80000600 80000600
Sep  7 13:54:20 gateway kernel: RX 224 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 224 1a11b812 17fc8812 06821812 06821012
13455812 13455012 091eb812 091eb012
Sep  7 13:54:20 gateway kernel: RX 224 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 232 80000600 80000600 80000600 80000600
80000600 80000600 80000600*80000600
Sep  7 13:54:20 gateway kernel: RX 232 00000000 00000000 00000000 00000000
00000000 00000000 00000000*00000000
Sep  7 13:54:20 gateway kernel: RX 232 01c2c812 01c2c012 0d34f812 0d34f012
0b992812 0b992012 02650812*1835c812
Sep  7 13:54:20 gateway kernel: RX 232 00000000 00000000 00000000 00000000
00000000 00000000 00000000*00000000
Sep  7 13:54:20 gateway kernel: RX 240 3486c5ee 3486c5ee 3486c5ee 3486c5ee
3486c5ee 3486c5ee 3486c5ee 3486c5ee
Sep  7 13:54:20 gateway kernel: RX 240 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 240 192ec812 07a0b812 11fac012 1a11b012
1391c012 04e89012 14a7b812 09b06812
Sep  7 13:54:20 gateway kernel: RX 240 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 248 3486c5ee 3486c5ee 3486c5ee 3486c5ee
3486c5ee 3486c5ee 3486c34d 74828040
Sep  7 13:54:20 gateway kernel: RX 248 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:20 gateway kernel: RX 248 1549e012 0aa3a812 0fb95012 05a15012
1391c812 02032812 1a0db812 18eb2812
Sep  7 13:54:20 gateway kernel: RX 248 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
Sep  7 13:54:38 gateway kernel: r8169: eth1: link up
Comment 23 Fredrik 2005-09-07 05:00:00 UTC
after eth1-restart:

Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes   
packets errs drop fifo colls carrier compressed
  eth0:1578563408 2044615    0    0    0     0          0         0 3097909738
2740574    0    0    0     0       0          0
    lo: 1527688   10822    0    0    0     0          0         0  1527688  
10822    0    0    0     0       0          0
  eth1:120130011 22135662    0    0    0     0          0         0 1027250535
33341676    0   92    0     0       0          0
Comment 24 Fredrik 2005-09-08 13:04:49 UTC
funny story: got a new motherboard and now everything works.

still a valid bug?
Comment 25 Francois Romieu 2005-09-08 17:25:19 UTC
It is hard to tell. I was wrong: the driver does not report a fifo/buffer
overflow. The same values appear on my (working) setup and the driver is simply
wrong. It seems that the driver is out of sync with the descriptor ring. So far
I have not found a scenario for it in the source of the driver.

--
Ueimor
Comment 26 Francois Romieu 2006-11-21 14:41:35 UTC
Anyone in the room to confirm if the bug or something close to it still appears
in recent 2.6.19-rc ?

-- 
Ueimor
Comment 27 Fredrik 2006-11-21 15:48:06 UTC
I still have the motherboard (Abit KX7-333). I'll try to replicate it with a
recent kernel.
Comment 28 Francois Romieu 2006-11-21 16:19:38 UTC
bugme-daemon@bugzilla.kernel.org <bugme-daemon@bugzilla.kernel.org> :
[...]
> I still have the motherboard (Abit KX7-333). I'll try to replicate it with a
> recent kernel.

If it does not perform better, please apply it the patch available at

http://bugzilla.kernel.org/show_bug.cgi?id=7517

Comment 29 Fredrik 2006-12-11 06:30:30 UTC
I still get lots of TX timeouts and dropped packages, but i have not managed to
get it to totally die. 
Comment 30 Bernhard Walle 2006-12-22 16:09:11 UTC
I have quite a similar problem, but I don't know if it's related to this bug.
Sometimes, the network completely dies. Reloading the r8169 driver doesn't help,
I need to reboot. The strange thing is that the r8169 driver doesn't get
interrupts any more and reloading the driver leads to an error

    ACPI: PCI interrupt for device 0000:01:00.0 disabled

It's a Asrock ConRoe945G-DVI mainboard. All other devices run fine. I have the
latest BIOS version. I also tried all different IRQ options (even irqpoll has
the problem!). Also with 2.6.20-rc1.

Because I think irqpoll calls all interrupt handlers on each time interrupt, it
may be a driver problem because then the interrupt handler returns that it is
not responsible for that interrupt. Or am I wrong?
Comment 31 Francois Romieu 2006-12-23 03:53:42 UTC
bugme-daemon@bugzilla.kernel.org <bugme-daemon@bugzilla.kernel.org> :
[...]
> It's a Asrock ConRoe945G-DVI mainboard. All other devices run fine. I have the
> latest BIOS version. I also tried all different IRQ options (even irqpoll has
> the problem!). Also with 2.6.20-rc1.

Can you attach the output from a 'lspci -vvx', a 'lsmod' and the complete
dmesg from boot ?

Comment 32 Jose Blanca 2006-12-23 05:09:10 UTC
Same problem here with the same motherboard.
lspci -vvx
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub 
(rev 02)
	Subsystem: ASRock Incorporation Unknown device 2770
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ >SERR- <PERR-
	Latency: 0
	Capabilities: [e0] Vendor Specific Information
00: 86 80 70 27 06 00 90 20 02 00 00 06 00 00 00 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 49 18 70 27
30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00

00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated 
Graphics Controller (rev 02) (prog-if 00 [VGA])
	Subsystem: ASRock Incorporation Unknown device 2772
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fea00000 (32-bit, non-prefetchable) [size=512K]
	Region 1: I/O ports at dc00 [size=8]
	Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Region 3: Memory at fe9c0000 (32-bit, non-prefetchable) [size=256K]
	Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 
Enable-
		Address: 00000000  Data: 0000
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 86 80 72 27 07 00 90 00 02 00 00 03 00 00 80 00
10: 00 00 a0 fe 01 dc 00 00 08 00 00 d0 00 00 9c fe
20: 00 00 00 00 00 00 00 00 00 00 00 00 49 18 72 27
30: 00 00 00 00 90 00 00 00 00 00 00 00 0b 01 00 00

00:02.1 Display controller: Intel Corporation 82945G/GZ Integrated Graphics 
Controller (rev 02)
	Subsystem: ASRock Incorporation Unknown device 2772
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0
	Region 0: Memory at fea80000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 86 80 76 27 07 00 90 00 02 00 80 03 00 00 80 00
10: 00 00 a8 fe 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 49 18 72 27
30: 00 00 00 00 d0 00 00 00 00 00 00 00 00 00 00 00

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition 
Audio Controller (rev 01)
	Subsystem: ASRock Incorporation Unknown device 0888
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at fe9b8000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 
Enable-
		Address: 0000000000000000  Data: 0000
	Capabilities: [70] Express Unknown type IRQ 0
		Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
		Device: Latency L0s <64ns, L1 <1us
		Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
		Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
		Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
		Link: Supported Speed unknown, Width x0, ASPM unknown, Port 0
		Link: Latency L0s <64ns, L1 <1us
		Link: ASPM Disabled CommClk- ExtSynch-
		Link: Speed unknown, Width x0
00: 86 80 d8 27 06 00 10 00 01 00 03 04 08 00 00 00
10: 04 80 9b fe 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 49 18 88 08
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00

00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 
(rev 01) (prog-if 00 [Normal decode])
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size 08
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	Prefetchable memory behind bridge: 00000000fdf00000-00000000fdf00000
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
	Capabilities: [40] Express Root Port (Slot+) IRQ 0
		Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
		Device: Latency L0s unlimited, L1 unlimited
		Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
		Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
		Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
		Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 1
		Link: Latency L0s <1us, L1 <4us
		Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
		Link: Speed 2.5Gb/s, Width x1
		Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug+ Surpise+
		Slot: Number 0, PowerLimit 0.000000
		Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq-
		Slot: AttnInd Unknown, PwrInd Unknown, Power-
		Root: Correctable- Non-Fatal- Fatal- PME-
	Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 
Enable-
		Address: 00000000  Data: 0000
	Capabilities: [90] #0d [0000]
	Capabilities: [a0] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 86 80 d0 27 06 01 10 00 01 00 04 06 08 00 81 00
10: 00 00 00 00 00 00 00 00 00 02 02 00 f0 00 00 20
20: f0 ff 00 00 f1 fd f1 fd 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0b 01 02 00

00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 
(rev 01) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size 08
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: feb00000-febfffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
	Capabilities: [40] Express Root Port (Slot+) IRQ 0
		Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
		Device: Latency L0s unlimited, L1 unlimited
		Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
		Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
		Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
		Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 2
		Link: Latency L0s <256ns, L1 <4us
		Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
		Link: Speed 2.5Gb/s, Width x1
		Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug+ Surpise+
		Slot: Number 0, PowerLimit 0.000000
		Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq-
		Slot: AttnInd Unknown, PwrInd Unknown, Power-
		Root: Correctable- Non-Fatal- Fatal- PME-
	Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 
Enable-
		Address: 00000000  Data: 0000
	Capabilities: [90] #0d [0000]
	Capabilities: [a0] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 86 80 d2 27 07 01 10 00 01 00 04 06 08 00 81 00
10: 00 00 00 00 00 00 00 00 00 01 01 00 e0 e0 00 20
20: b0 fe b0 fe f1 ff 01 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 0a 02 02 00

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 
01) (prog-if 00 [UHCI])
	Subsystem: ASRock Incorporation Unknown device 27c8
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 20
	Region 4: I/O ports at d400 [size=32]
00: 86 80 c8 27 05 00 80 02 01 00 03 0c 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 d4 00 00 00 00 00 00 00 00 00 00 49 18 c8 27
30: 00 00 00 00 00 00 00 00 00 00 00 00 0f 01 00 00

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 
01) (prog-if 00 [UHCI])
	Subsystem: ASRock Incorporation Unknown device 27c9
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin B routed to IRQ 19
	Region 4: I/O ports at d480 [size=32]
00: 86 80 c9 27 05 00 80 02 01 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 d4 00 00 00 00 00 00 00 00 00 00 49 18 c9 27
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 
01) (prog-if 00 [UHCI])
	Subsystem: ASRock Incorporation Unknown device 27ca
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin C routed to IRQ 18
	Region 4: I/O ports at d800 [size=32]
00: 86 80 ca 27 05 00 80 02 01 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 d8 00 00 00 00 00 00 00 00 00 00 49 18 ca 27
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 03 00 00

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 
01) (prog-if 00 [UHCI])
	Subsystem: ASRock Incorporation Unknown device 27cb
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin D routed to IRQ 16
	Region 4: I/O ports at d880 [size=32]
00: 86 80 cb 27 05 00 80 02 01 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 d8 00 00 00 00 00 00 00 00 00 00 49 18 cb 27
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI 
Controller (rev 01) (prog-if 20 [EHCI])
	Subsystem: ASRock Incorporation Unknown device 27cc
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 20
	Region 0: Memory at fe9b7c00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA 
PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [58] Debug port
00: 86 80 cc 27 06 00 90 02 01 20 03 0c 00 00 00 00
10: 00 7c 9b fe 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 49 18 cc 27
30: 00 00 00 00 50 00 00 00 00 00 00 00 0f 01 00 00

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 
[Subtractive decode])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR+ FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 0
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
	Capabilities: [50] #0d [0000]
00: 86 80 4e 24 05 01 10 00 e1 01 04 06 00 00 01 00
10: 00 00 00 00 00 00 00 00 00 03 03 20 f0 00 80 22
20: f0 ff 00 00 f1 ff 01 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 00 02 00

00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface 
Bridge (rev 01)
	Subsystem: ASRock Incorporation Unknown device 27b8
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Capabilities: [e0] Vendor Specific Information
00: 86 80 b8 27 07 00 10 02 01 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 49 18 b8 27
30: 00 00 00 00 e0 00 00 00 00 00 00 00 00 00 00 00

00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller 
(rev 01) (prog-if 8a [Master SecP PriP])
	Subsystem: ASRock Incorporation Unknown device 27df
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 18
	Region 0: I/O ports at <unassigned>
	Region 1: I/O ports at <unassigned>
	Region 2: I/O ports at <ignored>
	Region 3: I/O ports at <ignored>
	Region 4: I/O ports at ffa0 [size=16]
00: 86 80 df 27 05 00 88 02 01 8a 01 01 00 00 00 00
10: 01 00 00 00 01 00 00 00 f1 08 00 00 f9 08 00 00
20: a1 ff 00 00 00 00 00 00 00 00 00 00 49 18 df 27
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00

00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA 
Storage Controller IDE (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
	Subsystem: ASRock Incorporation Unknown device 27c0
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin B routed to IRQ 19
	Region 0: I/O ports at d080 [size=8]
	Region 1: I/O ports at d000 [size=4]
	Region 2: I/O ports at cc00 [size=8]
	Region 3: I/O ports at c880 [size=4]
	Region 4: I/O ports at c800 [size=16]
	Capabilities: [70] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 86 80 c0 27 05 00 b0 02 01 8f 01 01 00 00 00 00
10: 81 d0 00 00 01 d0 00 00 01 cc 00 00 81 c8 00 00
20: 01 c8 00 00 00 00 00 00 00 00 00 00 49 18 c0 27
30: 00 00 00 00 70 00 00 00 00 00 00 00 05 02 00 00

00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
	Subsystem: ASRock Incorporation Unknown device 27da
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin B routed to IRQ 19
	Region 4: I/O ports at 0400 [size=32]
00: 86 80 da 27 01 00 80 02 01 00 05 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 04 00 00 00 00 00 00 00 00 00 00 49 18 da 27
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI 
Express Gigabit Ethernet controller (rev 01)
	Subsystem: ASRock Incorporation Unknown device 8168
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Interrupt: pin A routed to IRQ 17
	Region 0: I/O ports at e800 [disabled] [size=256]
	Region 2: Memory at febff000 (64-bit, non-prefetchable) [disabled] 
[size=4K]
	[virtual] Expansion ROM at febc0000 [disabled] [size=128K]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
PME(D0-,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [48] Vital Product Data
	Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 
Enable-
		Address: 0000000000000000  Data: 0000
	Capabilities: [60] Express Endpoint IRQ 0
		Device: Supported: MaxPayload 1024 bytes, PhantFunc 0, ExtTag+
		Device: Latency L0s <1us, L1 unlimited
		Device: AtnBtn+ AtnInd+ PwrInd+
		Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
		Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
		Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
		Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s, Port 0
		Link: Latency L0s unlimited, L1 unlimited
		Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
		Link: Speed 2.5Gb/s, Width x1
	Capabilities: [84] Vendor Specific Information
00: ec 10 68 81 00 00 10 00 01 00 00 02 00 00 00 00
10: 01 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 49 18 68 81
30: 00 00 00 00 40 00 00 00 00 00 00 00 00 01 00 00

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
dmesg:
Linux version 2.6.18-gentoo-r4 (root@maki) (gcc version 4.1.1 (Gentoo 
4.1.1-r1)) #4 SMP Sat Dec 23 19:31:43 CET 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003f7b0000 (usable)
 BIOS-e820: 000000003f7b0000 - 000000003f7c0000 (ACPI data)
 BIOS-e820: 000000003f7c0000 - 000000003f7f0000 (ACPI NVS)
 BIOS-e820: 000000003f7f0000 - 000000003f800000 (reserved)
 BIOS-e820: 00000000fed00000 - 00000000fed00400 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ff380000 - 0000000100000000 (reserved)
119MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000ff780
On node 0 totalpages: 260016
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 30640 pages, LIFO batch:7
DMI present.
ACPI: RSDP (v000 ACPIAM                                ) @ 0x000f8c50
ACPI: RSDT (v001 A M I  OEMRSDT  0x09000612 MSFT 0x00000097) @ 0x3f7b0000
ACPI: FADT (v002 A M I  OEMFACP  0x09000612 MSFT 0x00000097) @ 0x3f7b0200
ACPI: MADT (v001 A M I  OEMAPIC  0x09000612 MSFT 0x00000097) @ 0x3f7b0390
ACPI: MCFG (v001 A M I  OEMMCFG  0x09000612 MSFT 0x00000097) @ 0x3f7b0400
ACPI: OEMB (v001 A M I  AMI_OEM  0x09000612 MSFT 0x00000097) @ 0x3f7c0040
ACPI: DSDT (v001  C94GD C94GD112 0x00000112 INTL 0x02002026) @ 0x00000000
ACPI: PM-Timer IO Port: 0x808
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 6:15 APIC version 20
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled)
ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled)
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 40000000 (gap: 3f800000:bf500000)
Detected 1861.554 MHz processor.
Built 1 zonelists.  Total pages: 260016
Kernel command line: root=/dev/sda2
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1027312k/1040064k available (1932k kernel code, 12136k reserved, 745k 
data, 176k init, 122560k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3725.26 BogoMIPS 
(lpj=18626336)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000 0000e3bd 
00000000 00000001
CPU: After vendor identify, caps: bfebfbff 20000000 00000000 00000000 0000e3bd 
00000000 00000001
monitor/mwait feature present.
using mwait in idle threads.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
CPU: After all inits, caps: bfebfbff 20000000 00000000 00000940 0000e3bd 
00000000 00000001
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Checking 'hlt' instruction... OK.
Freeing SMP alternatives: 16k freed
ACPI: Core revision 20060707
CPU0: Intel(R) Core(TM)2 CPU          6300  @ 1.86GHz stepping 06
Booting processor 1/1 eip 2000
Initializing CPU#1
Calibrating delay using timer specific routine.. 3723.14 BogoMIPS 
(lpj=18615741)
CPU: After generic identify, caps: bfebfbff 20000000 00000000 00000000 0000e3bd 
00000000 00000001
CPU: After vendor identify, caps: bfebfbff 20000000 00000000 00000000 0000e3bd 
00000000 00000001
monitor/mwait feature present.
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 2048K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
CPU: After all inits, caps: bfebfbff 20000000 00000000 00000940 0000e3bd 
00000000 00000001
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel(R) Core(TM)2 CPU          6300  @ 1.86GHz stepping 06
Total of 2 processors activated (7448.41 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
migration_cost=57
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: BIOS Bug: MCFG area at e0000000 is not E820-reserved
PCI: Not using MMCONFIG.
PCI: PCI BIOS revision 3.00 entry at 0xf0031, last bus=3
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:02.0
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P5._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 11 12 14 *15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 19 devices
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: 00:10: ioport range 0x290-0x29f has been reserved
PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
PCI: Bridge: 0000:00:1c.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: fdf00000-fdffffff
PCI: Bridge: 0000:00:1c.1
  IO window: e000-efff
  MEM window: feb00000-febfffff
  PREFETCH window: disabled.
PCI: Bridge: 0000:00:1e.0
  IO window: disabled.
  MEM window: disabled.
  PREFETCH window: disabled.
ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1c.0 to 64
ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1c.1 to 64
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
highmem bounce pool size: 64 pages
io scheduler noop registered
io scheduler cfq registered (default)
PCI: Setting latency timer of device 0000:00:1c.0 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.0:pcie00]
Allocate Port Service[0000:00:1c.0:pcie02]
PCI: Setting latency timer of device 0000:00:1c.1 to 64
assign_interrupt_mode Found MSI capability
Allocate Port Service[0000:00:1c.1:pcie00]
Allocate Port Service[0000:00:1c.1:pcie02]
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 945G Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xd0000000
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
[drm] Initialized i915 1.5.0 20060119 on minor 0
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU1._PDC] 
(Node c18f389c), AE_BAD_HEADER
ACPI Error (psparse-0537): Method parse/execution failed [\_PR_.CPU2._PDC] 
(Node c18f37fc), AE_BAD_HEADER
ACPI: Getting cpuindex for acpiid 0x3
ACPI: Getting cpuindex for acpiid 0x4
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:0f: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
usbcore: registered new driver ub
r8169 Gigabit Ethernet driver 2.2LK loaded
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:01:00.0 to 64
eth0: RTL8168b/8111b at 0xf8822000, 00:13:8f:e4:56:87, IRQ 17
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH7: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
ICH7: chipset revision 1
ICH7: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
Probing IDE interface ide0...
input: AT Translated Set 2 keyboard as /class/input/input0
input: ImPS/2 Logitech Wheel Mouse as /class/input/input1
hda: PIONEER DVD-RW DVR-111D, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(66)
Uniform CD-ROM driver Revision: 3.20
libata version 2.00 loaded.
ata_piix 0000:00:1f.2: version 2.00
ata_piix 0000:00:1f.2: MAP [ P0 P2 P1 P3 ]
ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xD080 ctl 0xD002 bmdma 0xC800 irq 19
ata2: SATA max UDMA/133 cmd 0xCC00 ctl 0xC882 bmdma 0xC808 irq 19
scsi0 : ata_piix
ata1.00: ATA-7, max UDMA/133, 156301488 sectors: LBA48 NCQ (depth 0/32)
ata1.00: ata1: dev 0 multi count 16
ata1.00: configured for UDMA/133
scsi1 : ata_piix
ata2.00: ATA-7, max UDMA/133, 781422768 sectors: LBA48 NCQ (depth 0/32)
ata2.00: ata2: dev 0 multi count 16
ata2.00: configured for UDMA/133
  Vendor: ATA       Model: ST380211AS        Rev: 3.AA
  Type:   Direct-Access                      ANSI SCSI revision: 05
  Vendor: ATA       Model: ST3400620AS       Rev: 3.AA
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 >
sd 0:0:0:0: Attached scsi disk sda
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
SCSI device sdb: 781422768 512-byte hdwr sectors (400088 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: drive cache: write back
 sdb: sdb1
sd 1:0:0:0: Attached scsi disk sdb
ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 20, io mem 0xfe9b7c00
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 20, io base 0x0000d400
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d480
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000d800
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 16, io base 0x0000d880
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver libusual
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 19 (level, low) -> IRQ 19
ip_conntrack version 2.4 (8125 buckets, 65000 max) - 172 bytes per conntrack
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
p4-clockmod: Unknown p4-clockmod-capable CPU. Please send an e-mail to 
<linux@brodo.de>
p4-clockmod: Unknown p4-clockmod-capable CPU. Please send an e-mail to 
<linux@brodo.de>
Starting balanced_irq
Using IPI Shortcut mode
Time: tsc clocksource has been installed.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 176k freed
EXT3 FS on sda2, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 979956k swap on /dev/sda3.  Priority:-1 extents:1 across:979956k
r8169: eth0: link up
r8169: eth0: link up
NETDEV WATCHDOG: eth0: transmit timed out

Comment 33 Jose Blanca 2006-12-23 05:12:05 UTC
Recompiling the kernel without ACPI supports seems to workaround the problem.
Comment 34 Jose Blanca 2006-12-23 07:47:12 UTC
Recompiling without ACPI does NOT resolved the problem.
Comment 35 Bernhard Walle 2007-01-02 04:25:16 UTC
Still with 2.6.20-rc2. I also tried 2.6.19.1 with another configuration, with
the same result. The error message is the same as described by Jose Blanca.

The vendor driver works much better, I had only one hang and this could be
resolved with "rcnetwork reload", so I'm not sure if that was the same problem
at all.

Today, reloading the driver solved the issue for 1 minute, then again the
network died and reloading didn't help.

My "lspci" is attached. For the error log, see Jose Blanca. If there's anything
I could do (debug option, testing patches), please say. I'm not familiar with
this network device, so I doubt that I can fix the issue.
Comment 36 Bernhard Walle 2007-01-02 04:34:29 UTC
Created attachment 9992 [details]
lspci -vvx on my (Bernhard Walle) machine
Comment 37 Francois Romieu 2007-01-02 12:32:55 UTC
Created attachment 9994 [details]
debug - see if something is playing wicked interruption games

Bernhard :
[...]
> Today, reloading the driver solved the issue for 1 minute, then again the
> network died and reloading didn't help.

I will welcome a dmesg after the first reload though before the network dies
again.

There is a small change in 2.6.20-rc3, please give it a try. If it does not
work better (it should not make things worse, really), apply the patch and see
if things behave differently (not necessarily _better_).

-- 
Ueimor
Comment 38 Francois Romieu 2007-01-02 14:01:27 UTC
Jose:
[...]
> Linux version 2.6.18-gentoo-r4 (root@maki) (gcc version 4.1.1 (Gentoo
4.1.1-r1)) #4 SMP Sat Dec 23 19:31:43 CET 2006
> BIOS-provided physical RAM map:

/me returns from dev.gentoo.org...

Apparently this kernel matches gentoo-sources-2.6.18-r4 (07 Dec 2006) from
Daniel Drake. You will find below a patch against 2.6.19. It should apply with
Daniel's 2.6.19.3.

-- 
Ueimor
Comment 39 Francois Romieu 2007-01-02 14:03:23 UTC
Created attachment 9995 [details]
r8169 updates foir kernel 2.6.19
Comment 40 Bernhard Walle 2007-01-03 10:33:48 UTC
Francois:
> I will welcome a dmesg after the first reload though before the 
> network dies again.

Yes, sorry, I just forgot it to save. Next time. :)

> There is a small change in 2.6.20-rc3, please give it a try. If it does not
> work better (it should not make things worse, really), apply the patch and see
> if things behave differently (not necessarily _better_).

Ok, I'm testing. But I'd like to test a few days since I don't want to report
that it's fixed until it really works.

However, for now, 2.6.20-rc3 works.
Comment 41 Bernhard Walle 2007-01-05 03:47:58 UTC
I now had the same problem. :(

I created three attachments:
  1) The dmesg output after the network hang
  2) Then I did 'rcnetwork reload' and because that didn't solve the issue,
     'rmmod r8169'. After this, the 2nd dmesg output.
  3) Now, 'modprobe r8169' again, and the 3rd dmesg output.

HTH.

I now upgrade the BIOS from 1.40 to 1.50 and see if it hangs again. I'll not
apply the patch, because I think doing two changes at the same time on the
system is a bad idea.
Comment 42 Bernhard Walle 2007-01-05 03:50:21 UTC
Created attachment 10007 [details]
1 (see text)
Comment 43 Bernhard Walle 2007-01-05 03:51:18 UTC
Created attachment 10008 [details]
2 (see text)
Comment 44 Bernhard Walle 2007-01-05 03:52:28 UTC
Created attachment 10009 [details]
3 (see text)
Comment 45 Bernhard Walle 2007-01-05 04:45:11 UTC
This time it was quite fast, i.e. also after the BIOS upgrade the problem exists. 

Quite intereting, the same moment when the network died I got about 20 space key
presses in the editor I worked in, although I didn't press space 20 times.
Comment 46 Bernhard Walle 2007-01-05 06:43:30 UTC
Ok, again the network hang. But now, it recovered automatically after a while
which I didn't have before. 

So I think the interrupt disabling by the kernel is not the cause but the
consequence of the problem. Now when you always return the interrupt as
'handled', the kernel doesn't disable interrupts (in fact, eth0 still receives
interrupts when the network is down which I observed by /proc/interrupt and the
number!) and the driver is able to recover.

Anyway, the new BIOS seems to make the situation worse. The ChangeLog said they
did some SpeedStep tuning ("Modify EIST code.").
Comment 47 Bernhard Walle 2007-01-05 06:44:34 UTC
Forgot to mention:

r8169: eth0: link up
r8169: eth0: link up
NET: Registered protocol family 17
IA-32 Microcode Update Driver: v1.14a <tigran@aivazian.fsnet.co.uk>
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
NET: Registered protocol family 15
[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
[drm] Initialized i915 1.6.0 20060119 on minor 0
eth0: no IPv6 routers present
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out


So the log is quite the same as before. (I didn't 'rcnetwork restart' and I
didn't remove the module, just wait for a while, about 30-60 sec).
Comment 48 Bernhard Walle 2007-01-05 07:26:46 UTC
After this, the network hung again and didn't recover. Reloading the driver lead
to the 'interrupt disabled' problem again.

Sorry that I write so much information today, but I want to give all details,
maybe it help you. I have no clue about this network driver.

eth0: no IPv6 routers present
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
NETDEV WATCHDOG: eth0: transmit timed out
ACPI: PCI interrupt for device 0000:01:00.0 disabled
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:01:00.0 to 64
eth0: RTL8168b/8111b at 0xffffc2000001c000, 00:13:8f:d6:cd:18, IRQ 17
r8169: eth0: link down
r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169: eth0: link up
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
r8169: eth0: link up
eth0: no IPv6 routers present
nfs: server villabacho not responding, still trying
nfs: server villabacho not responding, still trying
r8169: eth0: link up
ACPI: PCI interrupt for device 0000:01:00.0 disabled
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:01:00.0 to 64
eth0: RTL8168b/8111b at 0xffffc2000001c000, 00:13:8f:d6:cd:18, IRQ 17
r8169: eth0: link down
r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
r8169: eth0: link up
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present
Comment 49 Francois Romieu 2007-01-05 14:13:11 UTC
Bernhard, which PCI/PCIE options are enabled in your .config ?

Comment 50 Bernhard Walle 2007-01-06 16:04:40 UTC
Created attachment 10015 [details]
Kernel configuration for 2.6.20-rc3

Attached my .config. 

(BTW: I don't receive email notifications properly, so I have to poll for new
issues on this bug. Is this a problem with my configuration or doesn't this
simply work with kernel bugzilla?)
Comment 51 Francois Romieu 2007-01-08 15:03:16 UTC
Created attachment 10036 [details]
Late evening MSI support.

Bernhard, this is highly experimental.

-- 
Ueimor
Comment 52 Francois Romieu 2007-01-09 14:53:05 UTC
Created attachment 10042 [details]
More MSI support

Any volunteer to test the patch on a cursed Asrock motherboard ?

-- 
Ueimor
Comment 53 Bernhard Walle 2007-01-09 15:10:48 UTC
Of course, I'll test it. But I didn't have any time today. But at the latest,
I'll test in the weekend. :)

BTW: Since I disabled SpeedStep in the BIOS, I didn't have any problems with
2.6.20-rc3 (and now rc4). So maybe others can try to disable SpeedStep and
report the result here.

Comment 54 Bernhard Walle 2007-01-11 14:58:35 UTC
So, I tested the patch, and it doesn't work. But still, some observations:

 o As the dmesg output shows, rtl8169_test_intr() gets definitively
   executed. I added a printk() to double-check this.
 
 o I also verified that registering and unregistering not only work once, 
   so I called

        rc = request_irq(pdev->irq, rtl8169_test_intr, 0, pci_name(pdev), tp);
        if (rc < 0)
            goto err_disable_msi_0;

        RTL_W16(IntrMask, SWInt);
        RTL_W8(TxPoll, FSWInt);
        /* Commit */
        RTL_R8(IntrMask);

        for (i = 0; i < 100; i++) {
            smp_rmb();
            if (tp->msi)
                break;
            msleep(10);
        }

        RTL_W16(IntrStatus, SWInt);
        RTL_W16(IntrMask, 0);
        RTL_R8(IntrMask);

        free_irq(pdev->irq, tp);

  again after rtl8169_try_msi() has finished. The printk() mentioned
  above told me that the ISR gets executed again.

So, for me it looks like you don't enable IRQs in the card (IntrMask, TxPoll,
etc.) when you register the main ISR. But, you know the card and your driver
better, and I didn't have time to dig into this very deep. But I hope the
observations still help a bit.
Comment 55 Bernhard Walle 2007-01-11 15:00:23 UTC
Created attachment 10060 [details]
Full dmesg output after booting with the MSI-enabled driver

Here's the dmesg output. 

Forgot to mention that 'cat /proc/interrupts' says zero interrupts at the same
time that dmesg was created.
Comment 56 Francois Romieu 2007-01-11 15:24:54 UTC
bugme-daemon@bugzilla.kernel.org <bugme-daemon@bugzilla.kernel.org> :
[...]
> So, for me it looks like you don't enable IRQs in the card (IntrMask, TxPoll,
> etc.) when you register the main ISR. But, you know the card and your driver
> better, and I didn't have time to dig into this very deep. But I hope the
> observations still help a bit.

It is not clear from the description whether rtl8169_try_msi() was sucessful
or the driver falled back to the classical irq handler.

Anyway I should probably reset the chipset in the irq test path tough.

(note that in both situations the IRQ mask is set in rtl8169_hw_start()
when the device is opened)

Comment 57 Bernhard Walle 2007-01-11 15:58:42 UTC
rtl8169_test_intr() gets extecuted, so it was successfull and doesn't fall back
to the classic IRQ handling. If it would, you would see a "no MSI. Back to INTx"
in the log.
Comment 58 Bernhard Walle 2007-01-16 15:11:39 UTC
Created attachment 10098 [details]
Make MSI working

That was easy to fix, maybe I was blind last week ...
Comment 59 Bernhard Walle 2007-01-16 16:20:38 UTC
Created attachment 10099 [details]
Fix oops when unloading the driver

So, after this fix, MSI seems to work.

@others: Happy testing, maybe this resolves the 'hang issue' :)
@Francois: Please review my 2 patches and if they are ok, maybe creating a
combined patch makes sense.
Comment 60 Bernhard Walle 2007-01-17 02:15:52 UTC
Testing time was short, I had again a network hang. So it's nice that the driver
now supports MSI, but that doesn't solve the issue.
Comment 61 Francois Romieu 2007-01-17 15:28:41 UTC
bernhard.walle@gmx.de  2007-01-17 02:15:
> Testing time was short, I had again a network hang. So it's nice that the driver
> now supports MSI, but that doesn't solve the issue.

Okay...

1 - Which driver (none ?) handle those:

03:01.0 Serial controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01) (prog-if 02 [16550])
       Subsystem: LSI Logic / Symbios Logic 2S (16C550 UART)
       Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
       Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
       Interrupt: pin A routed to IRQ 22
       Region 0: I/O ports at e800 [size=8]
       Region 1: I/O ports at e480 [size=8]
       Region 2: I/O ports at e400 [size=8]
       Region 3: I/O ports at e080 [size=8]
       Region 4: I/O ports at e000 [size=8]
       Region 5: I/O ports at dc00 [size=16]

03:02.0 Parallel controller: Timedia Technology Co Ltd Unknown device 7268 (rev 01) (prog-if 02 [ECP])
       Subsystem: Timedia Technology Co Ltd Unknown device 0103
       Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
       Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
       Interrupt: pin A routed to IRQ 23
       Region 0: I/O ports at ec00 [size=8]
       Region 1: I/O ports at e880 [size=8]

2 - Can you send the /proc/interrupts when the r8169 driver is loaded, before it breaks ?

3 - Can you enable CONFIG_ACPI_DEBUG and send an updated dmesg with the normal and the MSI
    version of the driver ?

4 - From the description, I don't understand if the 'interrupt disabled' message pops up at
    random or only during rmmod (or both). Sorry if I am dense, but could you reformulate ?
    
Comment 62 Bernhard Walle 2007-01-20 10:02:12 UTC
1. a) Serial interface card that has a standard UART, same as one the
      mainboard. So it's handled by the built-in Linux driver for serial
      interfaces.

   b) Same here for the parallel port, so the driver is parport_pc, lp and
      ppdev.
   
   Because I also heared from another person that has the same mainboard and
   he has similar problems, I don't think that theses devices are the cause.

2.  
                     CPU0       CPU1       
          0:      23005          0   IO-APIC-edge      timer
          1:        320          0   IO-APIC-edge      i8042
          6:          5          0   IO-APIC-edge      floppy
          8:          0          0   IO-APIC-edge      rtc
          9:          0          0   IO-APIC-fasteoi   acpi
         12:        129          0   IO-APIC-edge      i8042
         16:        675          0   IO-APIC-fasteoi   uhci_hcd:usb5, HDA Intel
         18:          0          0   IO-APIC-fasteoi   uhci_hcd:usb3
         19:      12850          0   IO-APIC-fasteoi   libata, uhci_hcd:usb2
         23:       2034          0   IO-APIC-fasteoi   uhci_hcd:usb1, ehci_hcd:usb4
        4349:        157          0   PCI-MSI-edge      eth0
        NMI:         65         37 
        LOC:      22970      22941 
        ERR:          0

3. See the attachments. I want to note that the MSI version is much more
   affected from the problem than the non-MSI version. So with the MSI
   version, it's quite reproducable.

   That's why the MSI version of the 'dmesg' output with CONFIG_ACPI_DEBUG
   has "NETDEV WATCHDOG: eth0: transmit timed out" and the non-MSI not.

4. Only after rmmod.
Comment 63 Bernhard Walle 2007-01-20 10:06:04 UTC
Created attachment 10129 [details]
Dmesg with CONFIG_ACPI_DEBUG and MSI version of the driver
Comment 64 Bernhard Walle 2007-01-20 10:06:42 UTC
Created attachment 10130 [details]
Dmesg with CONFIG_ACPI_DEBUG and non-MSI version of the driver
Comment 65 Francois Romieu 2007-02-09 14:38:24 UTC
Bernhard,

  is there anything like a PCI latency option in your bios which would be
different from 64 ?

-- 
Ueimor
Comment 66 Bernhard Walle 2007-02-10 05:21:40 UTC
Yes, there is, it was 32, I set it now to 64, but nothing changed.

I now changed to another network device, simply to get out if it's a general
problem with the computer or only with the r8169 driver/chip.
Comment 67 Francois Romieu 2007-02-19 15:10:43 UTC
Created attachment 10465 [details]
r8169 experimental patch for the 8168

This patch contains some bits dedicated to the 8168. I must proof-read it to
verify that I got the relevant code right but I'd welcome someone to give it
a try as is.

-- 
Ueimor
Comment 68 Bernhard Walle 2007-02-20 16:19:02 UTC
Francois,

not all of your rtnl_unlock() additions were right. Your commit
eb2a021c4710b98081daa797d5a729ac23c240cd seems to be correct and the two extra
rtnl_unlock() calls that were in this patch but not in the commit resulted in:

RTNL: assertion failed at net/ipv4/igmp.c (1261)

Call Trace:
 [<ffffffff803d2561>] ip_mc_dec_group+0x3c/0xac
 [<ffffffff803d3b27>] ip_mc_drop_socket+0x4d/0x8b
 [<ffffffff803d03bf>] inet_release+0x1a/0x55
 [<ffffffff8024cfd7>] sock_release+0x19/0x71
 [<ffffffff8024d18e>] sock_close+0x2c/0x30
 [<ffffffff80210801>] __fput+0xb1/0x180
 [<ffffffff80221a72>] filp_close+0x5d/0x65
 [<ffffffff8021b85c>] sys_close+0x8c/0xc9
 [<ffffffff8025511e>] system_call+0x7e/0x83

RTNL: assertion failed at net/ipv4/igmp.c (1202)

Call Trace:
 [<ffffffff803d295a>] ip_mc_inc_group+0x40/0x1df
 [<ffffffff803d2e47>] ip_mc_join_group+0xca/0xe8
 [<ffffffff803bc584>] do_ip_setsockopt+0x6c4/0x9be
 [<ffffffff8021800a>] vsnprintf+0x557/0x59b
 [<ffffffff803cf647>] inet_gifconf+0x6c/0xa3
 [<ffffffff80241536>] sprintf+0x51/0x59
 [<ffffffff80396327>] lock_sock_nested+0xa7/0xb2
 [<ffffffff80396327>] lock_sock_nested+0xa7/0xb2
 [<ffffffff8025bb9f>] _spin_lock_bh+0x9/0x19
 [<ffffffff8022d840>] release_sock+0x13/0xaa
 [<ffffffff80397830>] sock_setsockopt+0x4ce/0x4e0
 [<ffffffff803bceaa>] ip_setsockopt+0x22/0x7a
 [<ffffffff80394bcd>] sys_setsockopt+0x91/0xb6
 [<ffffffff8025511e>] system_call+0x7e/0x83

RTNL: assertion failed at net/ipv4/devinet.c (568)

Call Trace:
 [<ffffffff803cf291>] inet_rtm_newaddr+0x41/0x1c6
 [<ffffffff803a32be>] rtnl_dump_ifinfo+0x6a/0x9c
 [<ffffffff803a3541>] rtnetlink_rcv_msg+0x1b7/0x1dd
 [<ffffffff803a338a>] rtnetlink_rcv_msg+0x0/0x1dd
 [<ffffffff803b19b3>] netlink_run_queue+0x6e/0xf5
 [<ffffffff802416ea>] skb_dequeue+0x48/0x50
 [<ffffffff803a3338>] rtnetlink_rcv+0x30/0x4c
 [<ffffffff803b1d9f>] netlink_data_ready+0x12/0x50
 [<ffffffff803b0f6e>] netlink_sendskb+0x26/0x3f
 [<ffffffff803b1d7a>] netlink_sendmsg+0x29f/0x2b2
 [<ffffffff8024cfa1>] sock_sendmsg+0xea/0x107
 [<ffffffff8028fc29>] autoremove_wake_function+0x0/0x2e
 [<ffffffff8028fc29>] autoremove_wake_function+0x0/0x2e
 [<ffffffff802b0bac>] zone_statistics+0x3f/0x60
 [<ffffffff80209fd0>] get_page_from_freelist+0x361/0x4d0
 [<ffffffff80207603>] find_get_page+0x21/0x47
 [<ffffffff80211575>] filemap_nopage+0x180/0x30c
 [<ffffffff80395077>] sys_sendmsg+0x217/0x28a
 [<ffffffff8021ff50>] __up_read+0x13/0x8a
 [<ffffffff8025dc33>] do_page_fault+0x45e/0x7ad
 [<ffffffff80226c49>] do_brk+0x1b9/0x269
 [<ffffffff8025511e>] system_call+0x7e/0x83

RTNL: assertion failed at net/ipv4/devinet.c (345)

Call Trace:
 [<ffffffff803cebee>] __inet_insert_ifa+0x44/0x12c
 [<ffffffff803cf407>] inet_rtm_newaddr+0x1b7/0x1c6
 [<ffffffff803a3541>] rtnetlink_rcv_msg+0x1b7/0x1dd
 [<ffffffff803a338a>] rtnetlink_rcv_msg+0x0/0x1dd
 [<ffffffff803b19b3>] netlink_run_queue+0x6e/0xf5
 [<ffffffff802416ea>] skb_dequeue+0x48/0x50
 [<ffffffff803a3338>] rtnetlink_rcv+0x30/0x4c
 [<ffffffff803b1d9f>] netlink_data_ready+0x12/0x50
 [<ffffffff803b0f6e>] netlink_sendskb+0x26/0x3f
 [<ffffffff803b1d7a>] netlink_sendmsg+0x29f/0x2b2
 [<ffffffff8024cfa1>] sock_sendmsg+0xea/0x107
 [<ffffffff8028fc29>] autoremove_wake_function+0x0/0x2e
 [<ffffffff8028fc29>] autoremove_wake_function+0x0/0x2e
 [<ffffffff802b0bac>] zone_statistics+0x3f/0x60
 [<ffffffff80209fd0>] get_page_from_freelist+0x361/0x4d0
 [<ffffffff80207603>] find_get_page+0x21/0x47
 [<ffffffff80211575>] filemap_nopage+0x180/0x30c
 [<ffffffff80395077>] sys_sendmsg+0x217/0x28a
 [<ffffffff8021ff50>] __up_read+0x13/0x8a
 [<ffffffff8025dc33>] do_page_fault+0x45e/0x7ad
 [<ffffffff80226c49>] do_brk+0x1b9/0x269
 [<ffffffff8025511e>] system_call+0x7e/0x83

r8169: eth0: link up
RTNL: assertion failed at net/core/fib_rules.c (448)

Call Trace:
 [<ffffffff803a875a>] fib_rules_event+0x3d/0xff
 [<ffffffff8025dfa2>] notifier_call_chain+0x20/0x32
 [<ffffffff8039d65f>] dev_open+0x68/0x6e
 [<ffffffff8039bea4>] dev_change_flags+0x5a/0x11a
 [<ffffffff803cf9f6>] devinet_ioctl+0x235/0x59f
 [<ffffffff8039495a>] sock_ioctl+0x1c8/0x1e5
 [<ffffffff8023c4b1>] do_ioctl+0x21/0x6b
 [<ffffffff8022ccf6>] vfs_ioctl+0x24e/0x267
 [<ffffffff80245bf3>] sys_ioctl+0x59/0x78
 [<ffffffff8025511e>] system_call+0x7e/0x83

RTNL: assertion failed at net/ipv4/devinet.c (1054)

Call Trace:
 [<ffffffff803cf015>] inetdev_event+0x48/0x283
 [<ffffffff80262233>] dump_stack+0x12/0x17
 [<ffffffff8025dfa2>] notifier_call_chain+0x20/0x32
 [<ffffffff8039d65f>] dev_open+0x68/0x6e
 [<ffffffff8039bea4>] dev_change_flags+0x5a/0x11a
 [<ffffffff803cf9f6>] devinet_ioctl+0x235/0x59f
 [<ffffffff8039495a>] sock_ioctl+0x1c8/0x1e5
 [<ffffffff8023c4b1>] do_ioctl+0x21/0x6b
 [<ffffffff8022ccf6>] vfs_ioctl+0x24e/0x267
 [<ffffffff80245bf3>] sys_ioctl+0x59/0x78
 [<ffffffff8025511e>] system_call+0x7e/0x83

RTNL: assertion failed at net/ipv4/igmp.c (1333)

Call Trace:
 [<ffffffff803d2b2a>] ip_mc_up+0x31/0x57
 [<ffffffff803cf104>] inetdev_event+0x137/0x283
 [<ffffffff80262233>] dump_stack+0x12/0x17
 [<ffffffff8025dfa2>] notifier_call_chain+0x20/0x32
 [<ffffffff8039d65f>] dev_open+0x68/0x6e
 [<ffffffff8039bea4>] dev_change_flags+0x5a/0x11a
 [<ffffffff803cf9f6>] devinet_ioctl+0x235/0x59f
 [<ffffffff8039495a>] sock_ioctl+0x1c8/0x1e5
 [<ffffffff8023c4b1>] do_ioctl+0x21/0x6b
 [<ffffffff8022ccf6>] vfs_ioctl+0x24e/0x267
 [<ffffffff80245bf3>] sys_ioctl+0x59/0x78
 [<ffffffff8025511e>] system_call+0x7e/0x83

RTNL: assertion failed at net/ipv4/igmp.c (1202)

Call Trace:
 [<ffffffff803d295a>] ip_mc_inc_group+0x40/0x1df
 [<ffffffff803d2b37>] ip_mc_up+0x3e/0x57
 [<ffffffff803cf104>] inetdev_event+0x137/0x283
 [<ffffffff80262233>] dump_stack+0x12/0x17
 [<ffffffff8025dfa2>] notifier_call_chain+0x20/0x32
 [<ffffffff8039d65f>] dev_open+0x68/0x6e
 [<ffffffff8039bea4>] dev_change_flags+0x5a/0x11a
 [<ffffffff803cf9f6>] devinet_ioctl+0x235/0x59f
 [<ffffffff8039495a>] sock_ioctl+0x1c8/0x1e5
 [<ffffffff8023c4b1>] do_ioctl+0x21/0x6b
 [<ffffffff8022ccf6>] vfs_ioctl+0x24e/0x267
 [<ffffffff80245bf3>] sys_ioctl+0x59/0x78
 [<ffffffff8025511e>] system_call+0x7e/0x83

RTNL: assertion failed at net/ipv6/addrconf.c (2137)

Call Trace:
 [<ffffffff883ad98f>] :ipv6:addrconf_notify+0x54c/0x724
 [<ffffffff8025bb9f>] _spin_lock_bh+0x9/0x19
 [<ffffffff802398b6>] rt_run_flush+0x7f/0xb7
 [<ffffffff803d2ac2>] ip_mc_inc_group+0x1a8/0x1df
 [<ffffffff80239c69>] lock_timer_base+0x1b/0x3c
 [<ffffffff8021a4a3>] __mod_timer+0xa7/0xb5
 [<ffffffff803b5f67>] rt_cache_flush+0xd1/0xe1
 [<ffffffff8025dfa2>] notifier_call_chain+0x20/0x32
 [<ffffffff8039d65f>] dev_open+0x68/0x6e
 [<ffffffff8039bea4>] dev_change_flags+0x5a/0x11a
 [<ffffffff803cf9f6>] devinet_ioctl+0x235/0x59f
 [<ffffffff8039495a>] sock_ioctl+0x1c8/0x1e5
 [<ffffffff8023c4b1>] do_ioctl+0x21/0x6b
 [<ffffffff8022ccf6>] vfs_ioctl+0x24e/0x267
 [<ffffffff80245bf3>] sys_ioctl+0x59/0x78
 [<ffffffff8025511e>] system_call+0x7e/0x83

RTNL: assertion failed at net/ipv6/addrconf.c (1609)

Call Trace:
 [<ffffffff883ad03f>] :ipv6:addrconf_add_dev+0x36/0x5d
 [<ffffffff883ad9bc>] :ipv6:addrconf_notify+0x579/0x724
 [<ffffffff8025bb9f>] _spin_lock_bh+0x9/0x19
 [<ffffffff802398b6>] rt_run_flush+0x7f/0xb7
 [<ffffffff803d2ac2>] ip_mc_inc_group+0x1a8/0x1df
 [<ffffffff80239c69>] lock_timer_base+0x1b/0x3c
 [<ffffffff8021a4a3>] __mod_timer+0xa7/0xb5
 [<ffffffff803b5f67>] rt_cache_flush+0xd1/0xe1
 [<ffffffff8025dfa2>] notifier_call_chain+0x20/0x32
 [<ffffffff8039d65f>] dev_open+0x68/0x6e
 [<ffffffff8039bea4>] dev_change_flags+0x5a/0x11a
 [<ffffffff803cf9f6>] devinet_ioctl+0x235/0x59f
 [<ffffffff8039495a>] sock_ioctl+0x1c8/0x1e5
 [<ffffffff8023c4b1>] do_ioctl+0x21/0x6b
 [<ffffffff8022ccf6>] vfs_ioctl+0x24e/0x267
 [<ffffffff80245bf3>] sys_ioctl+0x59/0x78
 [<ffffffff8025511e>] system_call+0x7e/0x83

RTNL: assertion failed at net/ipv6/addrconf.c (440)

Call Trace:
 [<ffffffff883acfd1>] :ipv6:ipv6_find_idev+0x36/0x6e
 [<ffffffff883ad047>] :ipv6:addrconf_add_dev+0x3e/0x5d
 [<ffffffff883ad9bc>] :ipv6:addrconf_notify+0x579/0x724
 [<ffffffff8025bb9f>] _spin_lock_bh+0x9/0x19
 [<ffffffff802398b6>] rt_run_flush+0x7f/0xb7
 [<ffffffff803d2ac2>] ip_mc_inc_group+0x1a8/0x1df
 [<ffffffff80239c69>] lock_timer_base+0x1b/0x3c
 [<ffffffff8021a4a3>] __mod_timer+0xa7/0xb5
 [<ffffffff803b5f67>] rt_cache_flush+0xd1/0xe1
 [<ffffffff8025dfa2>] notifier_call_chain+0x20/0x32
 [<ffffffff8039d65f>] dev_open+0x68/0x6e
 [<ffffffff8039bea4>] dev_change_flags+0x5a/0x11a
 [<ffffffff803cf9f6>] devinet_ioctl+0x235/0x59f
 [<ffffffff8039495a>] sock_ioctl+0x1c8/0x1e5
 [<ffffffff8023c4b1>] do_ioctl+0x21/0x6b
 [<ffffffff8022ccf6>] vfs_ioctl+0x24e/0x267
 [<ffffffff80245bf3>] sys_ioctl+0x59/0x78
 [<ffffffff8025511e>] system_call+0x7e/0x83

...

With the patch that I attached against 	2.6.20-git16, it works. However, I
don't know how reliable it is now. Let's see. :)

PS: With the other network card I had absolutely no problems. So my network
hang must be related to this network chip or driver (I hope it's the driver,
because unsoldering the chip is quite difficult ;)).
Comment 69 Bernhard Walle 2007-02-20 16:20:06 UTC
Created attachment 10478 [details]
Patch against 2.6.20-git16
Comment 70 Francois Romieu 2007-02-22 14:50:43 UTC
Created attachment 10499 [details]
experimental r8169 patch for the 8168

Things apparently got mixed.

This patch is against plain 2.6.21-rc1.
It will not collide with any pending patch.

-- 
Ueimor
Comment 71 Francois Romieu 2007-02-22 14:58:21 UTC
bugme-daemon@bugzilla.kernel.org <bugme-daemon@bugzilla.kernel.org> :
[...]
> not all of your rtnl_unlock() additions were right. Your commit
> eb2a021c4710b98081daa797d5a729ac23c240cd seems to be correct and the two extra
> rtnl_unlock() calls that were in this patch but not in the commit resulted in:

I understand that it does not work but I do not understand anything else.

The attachment #10465 [details] is not supposed to work on top of
eb2a021c4710b98081daa797d5a729ac23c240cd as it would duplicate the RTNL
locking.

[...]
> With the patch that I attached against 2.6.20-git16, it works. However, I
> don't know how reliable it is now. Let's see. :)

@@ -1735,6 +1785,8 @@ rtl8169_remove_one(struct pci_dev *pdev)
 
        flush_scheduled_work();
 
+       flush_scheduled_work();
+
        unregister_netdev(dev);
        rtl8169_release_board(pdev, dev, tp->mmio_addr);
        pci_set_drvdata(pdev, NULL);

If this one is needed, I got something really badly wrong. Could you send
a simple diff of your changes ?

Comment 72 Bernhard Walle 2007-02-22 16:56:05 UTC
> > With the patch that I attached against 2.6.20-git16, it works. However, I
> > don't know how reliable it is now. Let's see. :)
> 
> @@ -1735,6 +1785,8 @@ rtl8169_remove_one(struct pci_dev *pdev)
>  
>         flush_scheduled_work();
>  
> +       flush_scheduled_work();
> +
>         unregister_netdev(dev);
>         rtl8169_release_board(pdev, dev, tp->mmio_addr);
>         pci_set_drvdata(pdev, NULL);
> 
> If this one is needed, I got something really badly wrong. Could you send
> a simple diff of your changes ?

I probably should read the "hunk" messages of patch.

Your patch against 2.6.21-rc1 works fine for now. Thanks!


Comment 73 Francois Romieu 2007-02-23 15:09:48 UTC
Created attachment 10512 [details]
experimental r8169 patch for the 8168 #2 (2.6.21-rc1)

Uh oh...

Both the 8168 and the 8101 used rtl_hw_start_8101 and nobody used
rtl_hw_start_8168 (breakage in the cfg_info table).
The updated patch fixes that. The elementary patches are available at:
http://www.fr.zoreil.com/linux/kernel/2.6.x/2.6.21-rc1/

Anybody wants to bet that the fixed version will worsen things ?

-- 
Ueimor
Comment 74 Bernhard Walle 2007-02-23 18:13:06 UTC
Created attachment 10515 [details]
Fix the last patch

> Anybody wants to bet that the fixed version will worsen things ?

Me :)

See the attached patch. Please consider updating your latest patch.
Comment 75 Francois Romieu 2007-02-28 14:25:37 UTC
Created attachment 10560 [details]
experimental r8169 patch for the 8168 #3 (2.6.21-rc2)

Bernhard Walle <bernhard.walle@gmx.de> :
[...]
> See the attached patch. Please consider updating your latest patch.

Thanks. Done.

-- 
Ueimor
Comment 76 Francois Romieu 2007-03-07 14:57:25 UTC
Created attachment 10646 [details]
experimental r8169 patch for the 8168 #4 (2.6.21-rc3)

Serie available at http://www.fr.zoreil.com/linux/kernel/2.6.x/2.6.21-rc3

A fix for the BMCR reset is included. It may not fix everything but it
should help.

-- 
Ueimor
Comment 77 Bernhard Walle 2007-03-08 08:04:20 UTC
Works.

However, I hand my "network hangs" problem for the last version you posted.
But I don't think that's a real network driver problem now because 
I discovered a very strange 'lspci' output:

01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI
Express Gigabit Ethernet controller (rev 01)
	Subsystem: ASRock Incorporation Unknown device 8168
	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping-
SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
	Interrupt: pin A routed to IRQ 17
	Region 0: I/O ports at c800 [disabled] [size=256]
	Region 2: Memory at feaff000 (64-bit, non-prefetchable) [disabled] [size=4K]
	[virtual] Expansion ROM at feac0000 [disabled] [size=128K]
	Capabilities: [40] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [48] Vital Product Data
	Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable-
		Address: 0000000000000000  Data: 0000
	Capabilities: [60] Express Endpoint IRQ 0
		Device: Supported: MaxPayload 1024 bytes, PhantFunc 0, ExtTag+
		Device: Latency L0s <1us, L1 unlimited
		Device: AtnBtn+ AtnInd+ PwrInd+
		Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
		Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
		Device: MaxPayload 128 bytes, MaxReadReq 4096 bytes
		Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s, Port 0
		Link: Latency L0s unlimited, L1 unlimited
		Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch-
		Link: Speed 2.5Gb/s, Width x1
	Capabilities: [84] Vendor Specific Information
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [12c] Virtual Channel
	Capabilities: [148] Device Serial Number 68-81-ec-10-00-00-00-1a
	Capabilities: [154] Power Budgeting

Comment 78 Francois Romieu 2007-04-02 14:36:54 UTC
New serie for 2.6.21-rc5 available at :
http://www.fr.zoreil.com/linux/kernel/2.6.x/2.6.21-rc5

Please complain if you still experiences something weird with it.

-- 
Ueimor
Comment 79 Bernhard Walle 2007-04-05 12:31:58 UTC
It didn't changed. Since a few days, I also had SATA problems with that system,
with the same disk in another computer no problems, and even with older kernels.
That all brought me to the opinion that some hardware fault is involved here, so
I sent in the mainboard to the dealer. So you will not get any further comments
on that chip from me, sorry. But I think you can treat the issue as fixed.
Comment 80 Francois Romieu 2007-07-11 14:18:47 UTC
The long awaited patches have been merged and will appear in 2.6.23-rc1.

If people still experience somme issues related to the r8169 driver (say,
the "no network after Windows if WoL is not enabled"), please feed the
reports in different threads.

Thank you.

-- 
Ueimor

Note You need to log in before you can comment on or make changes to this bug.