Subject: Fixed esp driver bug at workaround.[Re: Kernel asm compile
To: None <port-mac68k@netbsd.org, briggs@wasabisystems.com>
From: None <ie9t-sbgk@asahi-net.or.jp>
List: port-mac68k
Date: 02/02/2001 23:23:23
----Next_Part(Fri_Feb__2_23:23:20_2001_518)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

From: Takeshi Shibagaki <sibagaki@lsi.melco.co.jp>
Subject: Re: Kernel asm compile errors
Date: Mon, 29 Jan 2001 13:18:09 +0900
Message-ID: <20010129131809A.sibagaki@lsi.melco.co.jp>

> Allen> OK.  If the sources from 20010121 were used, it should have been 1.28.
> Allen> If you still see problems with 1.28, please let me know.

sibagaki> Yes, I am going to research and report to you. so go with me.

I fixed a bug of esp driver, and attach a workaround patch in this mail.

Please review, Allen.

From: Stephane Thiell <mbuna@undernet.org>
Subject: Re: Kernel asm compile errors
Date: Mon, 29 Jan 2001 07:06:46 +0100
Message-ID: <a05001909b69ab2a44395@[193.252.49.33]>

mbuna> I have a similar "problem". Running NetBSD 1.5 well (a kernel I 
mbuna> made), but when installing any 1.5Q kernel (20010126), the boot works 
mbuna> only until the first reading on the disks. fsck says READ FAILED at 
mbuna> block 16K, ls do not return any error, but shows nothing, only mount, 
mbuna> df and reboot seems to work :)
.....(snip).....
mbuna> Anyway, I'm running a 1.5 without problem, but, I have a Quadra 
mbuna> 660AV, and very interested of these esp improvments, then I'll 
mbuna> continue others tests.
mbuna> Maybe there is an upgraded patch for the esp (for 1.5 sources)? :-)
mbuna> Hope that could help,

And, I put a kernel which ATA drive is supported and an esp driver bug is fixed,
see following location,

http://www.asahi-net.or.jp/~ie9t-sbgk/netbsd_GENERIC+wdc+espfixed-1.5R.gz

Takeshi Shibagaki
ie9t-sbgk@asahi-net.or.jp


----Next_Part(Fri_Feb__2_23:23:20_2001_518)--
Content-Type: Multipart/Mixed;
	boundary="--BOUNDARY1(Fri_Feb__2_23:23:20_2001_41)--"
Content-Transfer-Encoding: 7bit

----BOUNDARY1(Fri_Feb__2_23:23:20_2001_41)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: esp_fix.diff
Content-Disposition: attachment; filename="esp_fix.diff"

--- esp.c.orig	Thu Jan 18 12:43:18 2001
+++ esp.c	Fri Feb  2 22:11:04 2001
@@ -297,7 +297,7 @@
 	sc->sc_minsync = 1000 / sc->sc_freq;
 
 	/* We need this to fit into the TCR... */
-	sc->sc_maxxfer = 64 * 1024;
+	sc->sc_maxxfer = 8 * 1024;
 
 	if (!quick) {
 		sc->sc_minsync = 0;	/* No synchronous xfers w/o DMA */

----BOUNDARY1(Fri_Feb__2_23:23:20_2001_41)----

----Next_Part(Fri_Feb__2_23:23:20_2001_518)----