Subject: Re: bug in RX50 device driver?
To: Kirk Russell <kirk@ba23.org>
From: Johnny Billquist <bqt@Update.UU.SE>
List: port-vax
Date: 01/03/2005 20:05:38
On Mon, 3 Jan 2005, Kirk Russell wrote:

> Hello,
>
> I am trying to debug why the RX50 driver worked with 1.6 but stopped
> working with 1.6.X:
> 	http://mail-index.netbsd.org/netbsd-bugs/2004/07/02/0000.html
>
> The problem appears to be with the file src/sys/dev/mscp/mscp_disk.c.
> With 1.6.X, the kernel will crash with version 1.30.10.1, but appears
> to work okay with version 1.30.

How do you know that file is the culprit? Didn't any other file change 
between 1.6 and 1.6.X?

> Here are the diffs:
> 	http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/mscp/mscp_disk.c.diff?r1=1.30&r2=1.30.10.1&f=h
>
> So, using version 1.30 is my work-a-round.  Does anybody know what the fix
> is?  It appears that these extra calls to disk_busy() and disk_unbusy()
> are causing problems.  TIA.

disk_busy() and disk_unbusy() would be very weird if they caused any 
problems...

Hmm, when the system crash, what does a backtrace say?

 	Johnny

Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@update.uu.se           ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol