[eepro100] sleep mode persistence

Frank Lenaerts Frank Lenaerts <lenaerts.frank@pandora.be>
Mon Sep 30 16:24:00 2002


--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

on Mon, Sep 30, 2002 at 01:53:16PM -0400, Donald Becker wrote about Re: [ee=
pro100] 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.=20
> ...
> > EEPROM contents, size 256x16:
> >     00: ffff ffff ffff ffff ffff ffff ffff ffff
>=20
> This is indicating that the chip isn't responding.
>=20
> > escher:~# eepro100-diag -ee -f
> > eepro100-diag.c:v2.05 6/13/2001 Donald Becker (becker@scyld.com)
>=20
> 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.
>=20
> The current version is 2.11 8/27/2002=20

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.
> >=20
> > --- begin ---
> > eepro100: wait_for_cmd_done timeout!
>=20
> 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/eepr=
o100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <s=
aw@saw.sw.com.sg> 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).

--=20
lenaerts.frank@pandora.be

Those who do not understand Unix are condemned to reinvent it, poorly."
-- Henry Spencer


--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

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

--k+w/mQv8wyuph6w0--