Date: Thu, 9 Feb 1995 09:36:46 -0800 (PST) From: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> To: bde@zeta.org.au (Bruce Evans) Cc: FreeBSD-hackers@FreeBSD.org, vak@cronyx.msk.su, wilko@yedi.iaf.nl Subject: Re: Using seagate driver with Future Domain 950: :-( Message-ID: <199502091736.JAA22018@gndrsh.aac.dev.com> In-Reply-To: <199502090443.PAA04234@godzilla.zeta.org.au> from "Bruce Evans" at Feb 9, 95 03:43:53 pm
next in thread | previous in thread | raw e-mail | index | archive | help
>
> >I switched the 1375 disk for a Digital RRD40 cdrom. No message
> >loop this time, but the drive was incorrectly identified as holding
> >a cdrom size 400000 x 2048 blocks. An attempt to mount a CD resulted
> >in a panic: sea0:2:0 timed out, sending message invalid phase STATIN
>
> 40* x 2048 seems to be a standard magic number that results if media
> detection is not working. It also happens for the Ultrastor driver
> if the media is not present.
Here is the source of that magic number, from sys/scsi/cd.c:
if (blksize < 512)
blksize = 2048; /* some drives lie ! */
if (size < 100)
size = 400000; /* ditto */
This occurs after the command to get the size, and is only done if
that command returned success. Seems that some drives and/or controllers
are returning bad data :-(
> Bruce
--
Rod Grimes rgrimes@gndrsh.aac.dev.com
Accurate Automation Company Custom computers for FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502091736.JAA22018>
