Subject: Re: kern/24701: NEC CD-ROM doesn't work under NetBSD-1.6.1 siop
To: None <vax@linkdead.gangsta.local>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 03/12/2004 23:31:57
On Sun, Mar 07, 2004 at 10:26:49PM -0500, vax@carolina.rr.com wrote:
> At boot time, siop0 complains (I have an SC-200 SCSI card):
> 
> Mar  7 21:54:36 hostname /netbsd: sd5: sync (100.0ns offset 8), 8-bit (10.000MB/
> s) transfers
> Mar  7 21:54:36 hostname /netbsd: cd0 at scsibus1 target 6 lun 0: <NEC, CD-ROM D
> RIVE:502, 2.0y> SCSI2 5/cdrom removable

Hum ... it switches to command phase when the controller doesn't expect it.
Can you rebuild a kernel with
#undef SIOP_DEBUG_INTR
changed to
#define SIOP_DEBUG_INTR
in sys/dev/ic/siop.c, and send me the boot messages ?

Also, do you have a way to try this drive with another kind of controller, and
see if it negotiate sync parameters properly ?
I suspect it switched to command phase while the controller was sending the
SDTR message.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--