Date: Tue, 10 Feb 1998 11:44:22 +0900 From: Satoh Junichi <junichi@astec.co.jp> To: kmitch@cslab.vt.edu Cc: hackers@FreeBSD.ORG Subject: Re: Zip/CD and Stable/Current Message-ID: <199802100244.LAA13370@stone.astec.co.jp> In-Reply-To: Your message of "Mon, 09 Feb 1998 08:58:04 EST." <199802091358.IAA14080@labrador.cslab.vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> The PC itself is a Gateway model 3110 which is a Pentium II 233 machine > with both a zip and a CDrom drive on the secondary IDE channel. If I > disable the secondary IDE channel, then it will boot. 2.2.5 boots fine, but > tries to put the zip drive on the CD driver and the end result is both > the zip and the cdrom drive are inaccessible. > > It appears that something has changed in the IDE stuff that could be > responsible for this lockup. Has anyone else seen this?? The ZIP drive reports AT_TYPE_DIRECT. On FreeBSD 2.2.5R, wcdattach() is called when a AT_TYPE_DIRECT device is found. If wcdattach() proves the ZIP drive, it may freeze. To avoid it, there are two solutions. 1. Use wfd driver in RELENG_2_2 branch that supports ATAPI LS-120 and ZIP drives. 2. Append 'break' to atapi.c like this. (if you don't use the ZIP drive and your CD-ROM drive reports AT_TYPE_CDROM.) == atapi.c ========================================================== switch (ap->devtype) { default: /* unknown ATAPI device */ printf ("wdc%d: unit %d: unknown ATAPI type=%d\n", ctlr, unit, ap->devtype); break; case AT_TYPE_DIRECT: /* direct-access */ break; <---- !!! NOTICE !!! case AT_TYPE_CDROM: /* CD-ROM device */ #if NWCD > 0 /* ATAPI CD-ROM */ if (wcdattach (ata, unit, ap, ata->debug) < 0) ====================================================================== --- Junichi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802100244.LAA13370>