From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030231AbVHPQlT (ORCPT ); Tue, 16 Aug 2005 12:41:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030232AbVHPQlT (ORCPT ); Tue, 16 Aug 2005 12:41:19 -0400 Received: from zproxy.gmail.com ([64.233.162.205]:36467 "EHLO zproxy.gmail.com") by vger.kernel.org with ESMTP id S1030231AbVHPQlS convert rfc822-to-8bit (ORCPT ); Tue, 16 Aug 2005 12:41:18 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FVfI8M4t8prDiW0NmN12V6bIH5y+CrTTM0RaNVJBaiSLrEAhAceZofIi+YFbPAU5+4WiCL6SkfYdZFx3VCL7mNdQmY51UIFm2nvnrbHGnQjc0wJyrHeo9JejColCVR+zYAkxxsnGc7AJAFb1WoC2nkKHZlE1lCwIKF6eoHKlvzw= Message-ID: <3aa654a40508160941709c40d5@mail.gmail.com> Date: Tue, 16 Aug 2005 09:41:17 -0700 From: Avuton Olrich To: lkml Subject: ACPI Standby and nvidia ethernet driver causes network errors and drops Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hello LKML, With 2.6.12 and 2.6.12-rc5-mm1: After I: # echo standby > /sys/power/state I get lots of errors and drops, and a generally slow network: eth0 Link encap:Ethernet HWaddr 00:E0:4C:B3:50:B5 inet addr:10.0.0.6 Bcast:10.0.255.255 Mask:255.255.0.0 UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:8058017 errors:0 dropped:0 overruns:0 frame:0 TX packets:11077254 errors:78834 dropped:52 overruns:0 carrier:78834 collisions:0 txqueuelen:1000 RX bytes:2122764655 (2024.4 Mb) TX bytes:3672595583 (3502.4 Mb) Interrupt:16 Base address:0x2000 I have not been able to duplicate this without going into standby, thus this bug may have existed before 2.6.12, as I just started using ACPI standby. This is with the nvidia network driver compiled in, which probably opens the possibility that I can work around it by making it a module and rmmod/insmod'ing it respectively. tulip ~ # cat /proc/version Linux version 2.6.13-rc5-mm1 (root@tulip) (gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)) #8 PREEMPT Tue Aug 16 08:13:08 PDT 2005 tulip ~ # cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 8 model name : AMD Athlon(tm) XP 2700+ stepping : 1 cpu MHz : 2189.284 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 4382.76 No modules loaded. tulip ~ # cat /proc/ioports 0000-001f : dma1 0020-0021 : pic1 0040-0043 : timer0 0050-0053 : timer1 0060-006f : keyboard 0070-0077 : rtc 0080-008f : dma page reg 00a0-00a1 : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0376-0376 : ide1 03c0-03df : vga+ 03f6-03f6 : ide0 0cf8-0cff : PCI conf1 4000-407f : motherboard 4000-4003 : PM1a_EVT_BLK 4004-4005 : PM1a_CNT_BLK 4008-400b : PM_TMR 4020-4027 : GPE0_BLK 4080-40ff : motherboard 4200-427f : motherboard 4280-42ff : motherboard 4400-447f : motherboard 4480-44ff : motherboard 44a0-44af : GPE1_BLK 5000-503f : motherboard 5000-5007 : nForce2 SMBus 5100-513f : motherboard 5100-5107 : nForce2 SMBus e000-e01f : 0000:00:01.1 e400-e407 : 0000:00:04.0 e400-e407 : forcedeth e800-e8ff : 0000:00:06.0 ec00-ec7f : 0000:00:06.0 f000-f00f : 0000:00:09.0 f000-f007 : ide0 f008-f00f : ide1 tulip ~ # cat /proc/iomem 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000cafff : Video ROM 000cc000-000cd7ff : Adapter ROM 000f0000-000fffff : System ROM 00100000-1dfeffff : System RAM 00100000-0036402d : Kernel code 0036402e-0040d4e7 : Kernel data 1dff0000-1dff2fff : ACPI Non-volatile Storage 1dff3000-1dffffff : ACPI Tables e0000000-e3ffffff : 0000:00:00.0 e4000000-ebffffff : PCI Bus #02 e4000000-e7ffffff : 0000:02:00.0 e8000000-e807ffff : 0000:02:00.0 e8080000-e809ffff : 0000:02:00.0 ec000000-edffffff : PCI Bus #02 ec000000-ecffffff : 0000:02:00.0 ee000000-ee07ffff : 0000:00:05.0 ee080000-ee080fff : 0000:00:04.0 ee080000-ee080fff : forcedeth ee081000-ee081fff : 0000:00:02.0 ee081000-ee081fff : ohci_hcd ee082000-ee082fff : 0000:00:06.0 ee083000-ee083fff : 0000:00:02.1 ee083000-ee083fff : ohci_hcd ee084000-ee0840ff : 0000:00:02.2 ee084000-ee0840ff : ehci_hcd fec00000-fec00fff : reserved fee00000-fee00fff : reserved ffff0000-ffffffff : reserved lspci -vvv: 0000:00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1) Subsystem: Biostar Microtech Int'l Corp: Unknown device 2301 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- Link [APCH] -> GSI 22 (level, high) -> IRQ 16 PCI: Setting latency timer of device 0000:00:04.0 to 64 input: AT Translated Set 2 keyboard on isa0060/serio0 eth0: forcedeth.c: subsystem: 01565:2301 bound to 0000:00:04.0 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx NFORCE2: IDE controller at PCI slot 0000:00:09.0 NFORCE2: chipset revision 162 NFORCE2: not 100% native mode: will probe irqs later NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround. NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround. NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA Probing IDE interface ide0... hda: Maxtor 6Y060P0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 Probing IDE interface ide1... hdd: MATSHITADVD-RAM SW-9571, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hda: max request size: 1024KiB hda: 120103200 sectors (61492 MB) w/7936KiB Cache, CHS=16383/255/63, UDMA(133) hda: cache flushes supported hda: hda1 hda2 hda3 hda4 hdd: ATAPI 32X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(66) Uniform CD-ROM driver Revision: 3.20 usbmon: debugs is not available ACPI: PCI Interrupt Link [APCL] enabled at IRQ 21 ACPI: PCI Interrupt 0000:00:02.2[C] -> Link [APCL] -> GSI 21 (level, high) -> IRQ 17 PCI: Setting latency timer of device 0000:00:02.2 to 64 ehci_hcd 0000:00:02.2: EHCI Host Controller ehci_hcd 0000:00:02.2: debug port 1 ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:02.2: irq 17, io mem 0xee084000 PCI: cache line size of 64 is not supported by device 0000:00:02.2 ehci_hcd 0000:00:02.2: park 0 ehci_hcd 0000:00:02.2: USB 2.0 initialized, EHCI 1.00, driver 10 Dec 2004 hub 1-0:1.0: USB hub found hub 1-0:1.0: 6 ports detected ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI) ACPI: PCI Interrupt Link [APCF] enabled at IRQ 20 ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [APCF] -> GSI 20 (level, high) -> IRQ 18 PCI: Setting latency timer of device 0000:00:02.0 to 64 ohci_hcd 0000:00:02.0: OHCI Host Controller ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2 ohci_hcd 0000:00:02.0: irq 18, io mem 0xee081000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 3 ports detected ACPI: PCI Interrupt Link [APCG] enabled at IRQ 22 ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [APCG] -> GSI 22 (level, high) -> IRQ 16 PCI: Setting latency timer of device 0000:00:02.1 to 64 ohci_hcd 0000:00:02.1: OHCI Host Controller ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3 ohci_hcd 0000:00:02.1: irq 16, io mem 0xee083000 hub 3-0:1.0: USB hub found hub 3-0:1.0: 3 ports detected USB Universal Host Controller Interface driver v2.3 Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. usb 3-1: new low speed USB device using ohci_hcd and address 2 input: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Mouse(r) 1.0A] on usb-0000:00:02.1-1 usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver i2c_adapter i2c-0: nForce2 SMBus adapter at 0x5000 i2c_adapter i2c-1: nForce2 SMBus adapter at 0x5100 NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 16384 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 16384) TCP reno registered TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 15 Using IPI Shortcut mode ACPI wakeup devices: SLPB HUB0 HUB1 USB0 USB1 USB2 F139 MMAC MMCI ACPI: (supports S0 S1 S3 S4 S5) VFS: Mounted root (reiser4 filesystem) readonly. Freeing unused kernel memory: 148k freed Adding 1951888k swap on /dev/hda2. Priority:-1 extents:1 across:1951888k Stopping tasks: ==============================================| Suspending device i2c-1 Suspending device i2c-0 Suspending device 3-1:1.0 Suspending device 3-1 Suspending device 3-0:1.0 Suspending device usb3 Suspending device 2-0:1.0 Suspending device usb2 Suspending device 1-0:1.0 Suspending device usb1 Suspending device 1.1 Suspending device ide1 Suspending device 0.0 Suspending device ide0 Suspending device serio1 Suspending device serio0 Suspending device i8042 Suspending device 0000:02:00.0 Suspending device 0000:00:1e.0 Suspending device 0000:00:09.0 Suspending device 0000:00:08.0 Suspending device 0000:00:06.0 Suspending device 0000:00:05.0 Suspending device 0000:00:04.0 Suspending device 0000:00:02.2 ACPI: PCI interrupt for device 0000:00:02.2 disabled Suspending device 0000:00:02.1 ACPI: PCI interrupt for device 0000:00:02.1 disabled Suspending device 0000:00:02.0 ACPI: PCI interrupt for device 0000:00:02.0 disabled Suspending device 0000:00:01.1 Suspending device 0000:00:01.0 Suspending device 0000:00:00.5 Suspending device 0000:00:00.4 Suspending device 0000:00:00.3 Suspending device 0000:00:00.2 Suspending device 0000:00:00.1 Suspending device 0000:00:00.0 Suspending device pci0000:00 Suspending device platform Back to C! APIC error on CPU0: 00(08) PCI: Enabling device 0000:00:02.0 (0000 -> 0002) ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [APCF] -> GSI 20 (level, high) -> IRQ 18 PCI: Setting latency timer of device 0000:00:02.0 to 64 ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [APCF] -> GSI 20 (level, high) -> IRQ 18 PCI: Enabling device 0000:00:02.1 (0000 -> 0002) ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [APCG] -> GSI 22 (level, high) -> IRQ 16 PCI: Setting latency timer of device 0000:00:02.1 to 64 ACPI: PCI Interrupt 0000:00:02.1[B] -> Link [APCG] -> GSI 22 (level, high) -> IRQ 16 PCI: Enabling device 0000:00:02.2 (0000 -> 0002) ACPI: PCI Interrupt 0000:00:02.2[C] -> Link [APCL] -> GSI 21 (level, high) -> IRQ 17 PCI: Setting latency timer of device 0000:00:02.2 to 64 PCI: cache line size of 64 is not supported by device 0000:00:02.2 ehci_hcd 0000:00:02.2: park 0 ehci_hcd 0000:00:02.2: USB 2.0 restarted, EHCI 1.00, driver 10 Dec 2004 ACPI: PCI Interrupt 0000:00:02.2[C] -> Link [APCL] -> GSI 21 (level, high) -> IRQ 17 ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [APCH] -> GSI 22 (level, high) -> IRQ 16 PCI: Setting latency timer of device 0000:00:04.0 to 64 PCI: Setting latency timer of device 0000:00:08.0 to 64 usb 3-1: USB disconnect, address 2 Restarting tasks... done usb 3-1: new low speed USB device using ohci_hcd and address 3 input: USB HID v1.11 Mouse [Microsoft Microsoft Wireless Optical Mouse(r) 1.0A] on usb-0000:00:02.1-1 Thanks, avuton -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.