*BSD News Article 71565


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!sgigate.sgi.com!sdd.hp.com!usc!howland.reston.ans.net!newsfeed.internetmci.com!news.ac.net!news.cais.net!news.mathworks.com!news.PBI.net!ns2.mainstreet.net!sloth.swcp.com!news.swcp.com!russo
From: russo@camel.swcp.com (Thomas Russo)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ATAPI CD problems
Date: 20 Jun 1996 14:02:15 GMT
Organization: Southwest Cyberport
Lines: 42
Message-ID: <RUSSO.96Jun20080215@camel.swcp.com>
References: <31C83F60.41C67EA6@microware.com> <31c85f89.1411820@news.winternet.com>
NNTP-Posting-Host: camel.swcp.com
In-reply-to: srose@winternet.com's message of Wed, 19 Jun 1996 20:16:14 GMT


On Wed, 19 Jun 1996 20:16:14 GMT,
srose@winternet.com (Steve Rose) said:
Steve> NNTP-Posting-Host: 206.145.129.4
Steve> X-Newsreader: Forte Agent .99e/32.227

Steve> Richard Flinn <richardf@microware.com> wrote:

>Is it possible to use my ATAPI cdrom configures as the master on the
>second controller? I installed a minimal system from a DOS partition and
>then re-compiled a kernel with wcd0 support, but it doesnt detect on
>startup (although wdc1 is detected).
>Thanks in advance.
>-- 

Steve> This is an excerpt from my kernel config, which is working fine for 2
Steve> ATAPI CD's on the primary and secondary controllers. (I have SCSI hard
Steve> disks)


Steve> controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
Steve> #disk		wd0	at wdc0 drive 0
Steve> #disk		wd1	at wdc0 drive 1

Steve> controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
Steve> #disk		wd2	at wdc1 drive 0
Steve> #disk		wd3	at wdc1 drive 1

Steve> # enabled support for ATAPI CD-ROM's on controller 0 and 1
Steve> options		 ATAPI   #Enable ATAPI support for IDE bus
Steve> device		wcd0    #IDE CD-ROM
Steve> device 		wcd1	#IDE CD-ROM

And, I think, the critical thing is that you have to comment out the disks for
the second controller.  I had the same problem, where I had built my kernel
with *both* wd2/wd3 and wcd0/wcd1.  The probe for wcd0 failed every time until
I rebuilt with wd2/wd3 commented out as Steve has done.

--
Tom Russo                                   WWW: http://www.swcp.com/~russo/
Never put off until tomorrow what you can do today, because if you do it today
and like it, you can do it again tomorrow.