[eepro100] suspend problem with eepro100, intel 82557

Alain E. alwt@udcast.com
Wed, 04 Apr 2001 15:48:20 +0200 (CEST)


Hello Donald,
On 04-Apr-2001 Donald Becker wrote:
> This is a suspend/resume issue.

Sure.

> The pci-scan module requires additional APM support to handle power
> events for non-CardBus devices.  This support used to called pci-apm.c,
> and is available from 
> ....

Thanks for the files.

What I've done:
gcc -I../kernel-2.2.18/include -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall
   -Wstrict-prototypes -O6 -c pci-scan.c
gcc -I../kernel-2.2.18/include -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall
   -Wstrict-prototypes -O6 -c pci-apm.c
gcc -DMODULE -I../kernel-2.2.18/include -Wall -Wstrict-prototypes -O6 -c
   eepro100.c

insmod pci-scan.o; insmod pci-apm.o; insmod pci-eepro100.o; ifconfig eth0 xx up

Ethernet adapter is OK.

Suspend/Resume

ifconfig eth0 down; insmod pci-eepro100.o; insmod pci-apm.o; insmod pci-scan.o
insmod pci-scan.o; insmod pci-apm.o; insmod pci-eepro100.o; ifconfig eth0 xx up

Ethernet Adapter doesn't work. /var/log/message says:

Apr  4 15:18:29 rigel kernel: pci-apm.c:v1.01 1/31/2000  Donald Becker 
     <becker@scyld.com>
Apr  4 15:18:29 rigel kernel:  http://www.scyld.com/linux/drivers.html
Apr  4 15:19:12 rigel ntpd[543]: Connection re-established to 193.48.223.130
Apr  4 15:19:12 rigel kernel: eepro100: cmd_wait for(0xffffffff) timedout
      with(0xffffffff)!
Apr  4 15:19:17 rigel last message repeated 3 times
Apr  4 15:19:27 rigel kernel: eepro100.c:v1.13 1/9/2001 Donald Becker
      <becker@scyld.com>
Apr  4 15:19:27 rigel kernel:   http://www.scyld.com/network/eepro100.html
Apr  4 15:19:27 rigel kernel:   The PCI BIOS has not enabled the device at
        8/32!  Updating PCI command 0005->0007.
Apr  4 15:19:27 rigel kernel: eth0: Invalid EEPROM checksum 0xff00,
      check settings before activating this device!
Apr  4 15:19:27 rigel kernel: eth0: OEM i82557/i82558 10/100 Ethernet at
      0xc807c000, FF:FF:FF:FF:FF:FF, IRQ 11.
Apr  4 15:19:27 rigel kernel:   Receiver lock-up bug exists -- enabling
      work-around.
Apr  4 15:19:27 rigel kernel:   Board assembly ffffff-255, Physical connectors
      present: RJ45 BNC AUI MII
Apr  4 15:19:27 rigel kernel:   Primary interface chip unknown-15 PHY #31.
Apr  4 15:19:27 rigel kernel:     Secondary interface chip i82555.
Apr  4 15:19:27 rigel kernel: Self test failed, status ffffffff:
Apr  4 15:19:27 rigel kernel:  Failure to initialize the i82557.
Apr  4 15:19:27 rigel kernel:  Verify that the card is a bus-master capable
      slot.

Any Idea ?


-- 
Alain