From owner-freebsd-questions Sun Sep 29 00:41:12 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA05639 for questions-outgoing; Sun, 29 Sep 1996 00:41:12 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA05580 for ; Sun, 29 Sep 1996 00:41:07 -0700 (PDT) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id JAA17114; Sun, 29 Sep 1996 09:40:14 +0200 (IST) Date: Sun, 29 Sep 1996 09:40:13 +0200 (IST) From: Nadav Eiron To: John Utz cc: questions@freebsd.org Subject: Re: ATAPI CDROM kernel mods for 2.1.5? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 28 Sep 1996, John Utz wrote: > Hello; > > I know that the ATAPI stuff is not yet fully blessed, but .... > > I am just bringing up a new motherboard, a "FUGU" AMD586/133. It > has pci/ide built in and i am trying to get my new diamond(sony) 8x cdrom > to come up as the only device on the second controller, wdc1. > > I added options ATAPI and options "CD9660" to my kernel as well > as the entry: > > controller wcd1 at isa? port "IO_WD2" bio irq15 vector wdintr > device wcd2 at wcd1 drive 0 Thos lines are either a typoe or ansolutly incorrect. wdcx is the name of the controller, while the device is wcd0, like so: controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr device wcd0 The other thing - the CD is alwats wcd0, no matter what controller it is on. However, at least for me (and from the traffic on this list - for many other as well), ATAPI CD-ROMs work *only* as the slaves on the primary controller. Try moving it there. > > This gets me a successful probe of wcd1 but no report back from > the cdrom. I would expect that i would get a message back from the kernel > probe similar to that of the ide hard drives on wdc0. The probe on my machine (disks as masters on both controllers, and CD as the slave on the primary controller) looks like so: wdc0 at 0x1f0-0x1f7 irq 14 flags 0x800080ff on isa wdc0: unit 0 (wd0): , 32-bit, multi-block-16 wd0: 1549MB (3173184 sectors), 3148 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): , removable, dma, iordis wcd0: 0Kb/sec, 240Kb cache, audio play, 255 volume levels, ejectable tray wcd0: no disc inside, unlocked wdc1 at 0x170-0x177 irq 15 flags 0x80ff on isa wdc1: unit 0 (wd2): , 32-bit, multi-block-16 wd2: 814MB (1667232 sectors), 1654 cyls, 16 heads, 63 S/T, 512 B/S > > any pointers would be greatly appreciated! > > tnx! > ******************************************************************************* > John Utz spaz@u.washington.edu > idiocy is the impulse function in the convolution of life > > Nadav