From: "Jeffrey W. Baker" <jwbaker@acm.org>
To: Dan Beimborn <danb@execpc.com>
cc: boykin@pobox.com, dsfox@COGSCI.ucsd.edu, alanr@rmi.net,
        asimcoe@simcom-technologies.com, durey@EmperorLinux.com,
        frog@halcyon.com, gdunlap@scripps.edu, gh@panix.com, ittigson@mail.com,
        jacobs@jtek.com, jasonk@usa.net, jlwaite@home.com, jwbaker@acm.org,
        kevin@mandrakesoft.com, mark@markmiller.net, matthewj@matthewj.com,
        rockin1@usa.net, ryan@ryguy.com, ryan@www.mtwp.k12.pa.us,
        scott@vertel.com, shutton@pobox.com, tas@astro.caltech.edu,
        troy@allegronetworks.com, tryanc@interdim.com, zabusky@bigpond.com,
        zowie@euterpe.boulder.swri.edu
Subject: Fix for EEPro lockup on Vaio Z505HS (was Re: sound news)
Date: Tue, 2 May 2000 11:24:09 -0700 (PDT)

On Mon, 1 May 2000, Dan Beimborn wrote:

> > As for my problems, it seems like just the ethernet lock up, and the no
> > win modem, are my only issues now.  Some people say that the ethernet does
> > not lock on them on unload/suspend/load.  I wonder if they are using a
> > z505hs or he?  I have tried it all, 2.3 kernels, 2.2 kernels, the becker
> > drivers, etc. . .  Nothing seems to stop that lock up.  I would *LOVE* to
> > see a detailed description of how to get the net card not to lock up
> > (including machine and all relevant and irrelevant data).
> 
> Yes please, I'm on a z505hs too and still see that as a holy grail of
> sorts. I've done ok with a pcmcia ethernet card, but I want the 
> internal!

I have NO problems with my internal ethernet port when I do this simple
procedure.  I am using RedHat 6.1, and kernel 2.2.14 with no patches.  The
eepro driver is compiled in to the kernel, not a module.

I edited /etc/apmd_proxy (which comes with the apmd distribution) to
shutdown the interface during a suspend and start the interface during a
resume.  Here is the patch:

+++ apmd_proxy	Tue May  2 11:20:58 2000
@@ -205,6 +205,7 @@
 	#      Path may vary.  Be sure to enable "soundon" below.
 	#	/usr/local/bin/soundoff
 
+	/sbin/ifdown eth0
 	;;
 
   # ------------------------------- RESUME ---------------------------
@@ -237,6 +238,7 @@
 	# EXAMPLE: reload OSS sound drivers.  Path may vary.
 	#	/usr/local/bin/soundon
 
+	/sbin/ifup eth0
 	;;
 
   # ------------------------------- START ----------------------------

My z505hs claims to have BIOS version 4.0, revision 6.0.  The eepro card
is assembly 100001-001 and its ROM checksum is 0x04f4518b.  If the above
procedure doesn't work for someone, I'd like to know what firmware
revisions you have.

Cheers,
Jeffrey
