Subject: Re: ?: sd1(...): dma-ready: code = 2
To: Michael Hohmuth <hohmuth@inf.tu-dresden.de>
From: Leo Weppelman <leo@wau.mis.ah.nl>
List: port-atari
Date: 11/05/1995 12:15:13
> 
> I've just installed the Nov 1 1.1-BETA of NetBSD/Atari.  Everything
> worked fine but...
> 
> Every time the hard disk containing my NetBSD system is accessed
> (e.g. when browsing directories or flushing write buffers), the kernel
> writes the following annoying message:
> 
>     sd1(ncrscsi0:1:0): dma-ready: code = 2
> 
> Can anyone tell me what that means and how I can get rid of it?
It probably means that I have put the kernel I use myself on the bootflop
and not the 'plain' kernel. I have parity checking disabled on target 0 & 4
only. the plain kernel disables parity checking on all devices. There seems
to be a hardware problem on the TT that makes that parity doesn't work as
it should. You can probably solve it by 'binpatching' the kernel to
turn off parity checking.
Grab the binpatch program from ftp.netbsd.org it's in the directory:
	pub/NetBSD/arch/atari/utils.NetBSD
Now type:
	binpatch -b -s _ncr5380_no_parchk -o 8192 -r 0xff <the netbsd image>

The netbsd-image should be the image used on boot. The current value
of ncr5380_no_parchk will probably by 9.
> 
> My system is a TT w/4+4MB RAM, the disk in question is a Quantum
> LPS240.
> 
> (I'm new with NetBSD/Atari, so please forgive me if this has already
> been discussed before...  I've been unable to locate a searchable
> archive of this mailing list.)
There is an archive on ftp.netbsd.org, but not searchable. I doubt however
that this is in the archive.

Leo.