Re: sleep mode persistence

Frank Lenaerts <[email protected]> Mon, 30 Sep 2002 22:12:49 +0200
Newsgroups gmane.linux.drivers.eepro100.devel
Message-ID <[email protected]>
on Mon, Sep 30, 2002 at 01:53:16PM -0400, Donald Becker wrote about Re: [eepro100] sleep mode persistence:
> On Sun, 29 Sep 2002, Frank Lenaerts wrote:
> > Later on however, I also unplugged the power cord. The next time I
> > booted, the network adapter did not seem to work anymore. The output
> > of eepro100-diag -ee -f showed an incorrect EEPROM checksum. 
> ...
> > EEPROM contents, size 256x16:
> >     00: ffff ffff ffff ffff ffff ffff ffff ffff
> 
> This is indicating that the chip isn't responding.
> 
> > escher:~# eepro100-diag -ee -f
> > eepro100-diag.c:v2.05 6/13/2001 Donald Becker ([email protected])
> 
> You have an older version of the diag program.
> More recent versions include a check that the NIC is responding, so
> the user doesn't have to interpret all "0xffff" outputs.
> 
> The current version is 2.11 8/27/2002 

Ok, on my Debian Sid system, I have version 2.09 7/15/2002.

> > This problem also seems to generate some other error messages as can
> > be noted in the dmesg output.
> > 
> > --- begin ---
> > eepro100: wait_for_cmd_done timeout!
> 
> The chip isn't repsonding.

Would it be responding with the newer driver? Actually, the chip is
responding after such a reboot, so I wonder what|if something has
changed the driver initialisation or so (between v1.09 and v1.24 of
eepro100.c).

> What driver version are you using?
>   (I'm guessing that it's not my release, but rather a modified
>version.)

I am running Debian Woody and used the kernel-source-2.4.18 package to
build a custom kernel. Although I thought the driver in this source
package would be up to date, it seems that the eepro100.c file at your
site is already v.1.24 7/25/2002 ... . Apparently, the eepro100.c in
kernel 2.4.18 is somewhat behind.

# dmesg
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <[email protected]> and others
PCI: Found IRQ 10 for device 01:0b.0
PCI: Sharing IRQ 10 with 00:1d.7
eth1: Intel Corp. 82557 [Ethernet Pro 100], 00:02:B3:4C:1F:0E, IRQ 10.
  Board assembly 751767-004, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
    Secondary interface chip i82555.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x3258698e).

-- 
[email protected]

Those who do not understand Unix are condemned to reinvent it, poorly."
-- Henry Spencer
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9mLBAuSr0q5/7NwcRAqZZAJ9cqwj2uRmoZsQPTorq6f/oZgMG5wCeMxcS
gyM2WnFokHx8voJWkQDFmws=
=muA2
-----END PGP SIGNATURE-----