[eepro100-bug] problem after suspend-resume on Thinkpad a22p

Case Jones philipj@interchange.ubc.ca
Tue Jan 15 23:26:00 2002


Hello,

Sometimes, after suspending-resuming my laptop, it seems as though the 
eepro100 doesn't wake up properly... so far, all I know that works is a 
reboot, but does anyone have any ideas for fixing this?

This problem has existed for me for quite a while now... at least since 
2.4.12 and possibly earlier (after 2.4.15 or so I started using the 
pre-emptible kernel patch, and know that the problem exists on 2.4.17 
preemptible)

Here are log messages showing one instance where the driver detects the card 
properly (and it works) and another instance after a suspend-resume, where 
the driver detects problems with the card:
-------------------------------------------------------------

Jan 15 12:17:30 localhost apmd[575]: Normal Resume after 01:33:17 (95% 
unknown) AC power
Jan 15 12:17:31 localhost apmd[575]: Normal Resume after 01:33:18 (95% 
unknown) AC power
Jan 15 12:35:25 localhost apmd[575]: Charge: -0.279330 (0:18) 0:00 (100% 
unknown)
Jan 15 12:56:27 localhost kernel: eepro100.c:v1.09j-t 9/29/99 Donald Becker 
http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
Jan 15 12:56:27 localhost kernel: eepro100.c: $Revision: 1.36 $ 2000/11/17 
Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
Jan 15 12:56:27 localhost kernel: PCI: Found IRQ 11 for device 00:03.0
Jan 15 12:56:27 localhost kernel: PCI: Sharing IRQ 11 with 00:03.1
Jan 15 12:56:27 localhost kernel: eth0: OEM i82557/i82558 10/100 Ethernet, 
00:03:47:6D:8B:3D, IRQ 11.
Jan 15 12:56:27 localhost kernel:   Board assembly a30469-007, Physical 
connectors present: RJ45
Jan 15 12:56:27 localhost kernel:   Primary interface chip i82555 PHY #1.
Jan 15 12:56:27 localhost kernel:     Secondary interface chip i82555.
Jan 15 12:56:27 localhost kernel:   General self-test: passed.
Jan 15 12:56:27 localhost kernel:   Serial sub-system self-test: passed.
Jan 15 12:56:27 localhost kernel:   Internal registers self-test: passed.
Jan 15 12:56:27 localhost kernel:   ROM checksum self-test: passed 
(0x3258698e).
Jan 15 12:56:27 localhost modprobe: modprobe: Can't locate module 
sound-service-0-6
Jan 15 12:56:27 localhost apmd[575]: System Suspend
Jan 15 19:34:58 localhost kernel: PCI: Found IRQ 11 for device 00:05.0
Jan 15 19:34:58 localhost kernel: PCI: Sharing IRQ 11 with 00:02.0
Jan 15 19:34:58 localhost kernel: PCI: Sharing IRQ 11 with 01:00.0
Jan 15 19:34:58 localhost kernel: Crystal 4280/46xx + AC97 Audio, version 
1.28.32, 22:52:22 Jan  2 2002
Jan 15 19:34:58 localhost kernel: cs46xx: Card found at 0xf0122000 and 
0xf0000000, IRQ 11
Jan 15 19:34:58 localhost kernel: cs46xx: Thinkpad 600X/A20/T20 (1014:0153) 
at 0xf0122000/0xf0000000, IRQ 11
Jan 15 19:34:58 localhost kernel: ac97_codec: AC97 Audio codec, id: 
0x4352:0x5914 (Cirrus Logic CS4297A rev B)
Jan 15 19:35:00 localhost apmd[575]: Normal Resume after 06:38:33 (91% 
unknown) AC power
Jan 15 19:35:01 localhost apmd[575]: Normal Resume after 06:38:34 (91% 
unknown) AC power
Jan 15 19:35:45 localhost su(pam_unix)[2236]: session opened for user root by 
case(uid=500)
Jan 15 19:35:48 localhost kernel: eepro100: wait_for_cmd_done timeout!
Jan 15 19:36:32 localhost last message repeated 26 times
Jan 15 19:36:54 localhost kernel: eepro100.c:v1.09j-t 9/29/99 Donald Becker 
http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
Jan 15 19:36:54 localhost kernel: eepro100.c: $Revision: 1.36 $ 2000/11/17 
Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
Jan 15 19:36:54 localhost kernel: PCI: Enabling device 00:03.0 (0000 -> 0003)
Jan 15 19:36:54 localhost kernel: PCI: Found IRQ 11 for device 00:03.0
Jan 15 19:36:54 localhost kernel: PCI: Sharing IRQ 11 with 00:03.1
Jan 15 19:36:54 localhost kernel: PCI: Setting latency timer of device 
00:03.0 to 64
Jan 15 19:36:54 localhost kernel: eth0: Invalid EEPROM checksum 0xff00, check 
settings before activating this device!
Jan 15 19:36:54 localhost kernel: eth0: OEM i82557/i82558 10/100 Ethernet, 
FF:FF:FF:FF:FF:FF, IRQ 11.
Jan 15 19:36:54 localhost kernel:   Board assembly ffffff-255, Physical 
connectors present: RJ45 BNC AUI MII
Jan 15 19:36:54 localhost kernel:   Primary interface chip unknown-15 PHY #31.
Jan 15 19:36:54 localhost kernel:     Secondary interface chip i82555.
Jan 15 19:36:54 localhost kernel: Self test failed, status ffffffff:
Jan 15 19:36:54 localhost kernel:  Failure to initialize the i82557.
Jan 15 19:36:55 localhost kernel:  Verify that the card is a bus-master 
capable slot.
Jan 15 19:36:55 localhost kernel: eepro100: wait_for_cmd_done timeout!
Jan 15 19:37:57 localhost last message repeated 24 times
Jan 15 19:38:05 localhost last message repeated 8 times
Jan 15 19:38:09 localhost kernel: NETDEV WATCHDOG: eth0: transmit timed out
Jan 15 19:38:09 localhost kernel: eth0: Transmit timed out: status ffff  ffff 
at 0/28 command 0001a000.
Jan 15 19:38:09 localhost kernel: eepro100: wait_for_cmd_done timeout!
Jan 15 19:38:56 localhost last message repeated 17 times