From owner-freebsd-hackers Mon Feb 9 18:44:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA23413 for hackers-outgoing; Mon, 9 Feb 1998 18:44:51 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from tokyonet-entrance.astec.co.jp (tokyonet-entrance.astec.co.jp [202.239.16.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA23389 for ; Mon, 9 Feb 1998 18:44:38 -0800 (PST) (envelope-from junichi@astec.co.jp) Received: from amont.astec.co.jp (amont.astec.co.jp [172.20.10.1]) by tokyonet-entrance.astec.co.jp (8.8.8+2.7Wbeta7/3.6W-astecMX2.3) with ESMTP id LAA11065; Tue, 10 Feb 1998 11:44:28 +0900 (JST) Received: from stone.astec.co.jp (stone.astec.co.jp [172.20.10.23]) by amont.astec.co.jp (8.7.6/3.6Wbeta5-astecMX2.4) with ESMTP id LAA25088; Tue, 10 Feb 1998 11:45:23 +0900 (JST) Received: (from junichi@localhost) by stone.astec.co.jp (8.8.5/3.5W-solaris1-1.2) id LAA13370; Tue, 10 Feb 1998 11:44:22 +0900 (JST) Message-Id: <199802100244.LAA13370@stone.astec.co.jp> To: kmitch@cslab.vt.edu cc: hackers@FreeBSD.ORG Subject: Re: Zip/CD and Stable/Current In-reply-to: Your message of "Mon, 09 Feb 1998 08:58:04 EST." <199802091358.IAA14080@labrador.cslab.vt.edu> Date: Tue, 10 Feb 1998 11:44:22 +0900 From: Satoh Junichi Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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