*BSD News Article 93059


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsfeeds.sol.net!hammer.uoregon.edu!news.uoregon.edu!xmission!not-for-mail
From: David Holland <dholland@xmission.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re:  IDE / ATAPI CD in 2.2-RELEASE
Date: Sun, 06 Apr 1997 21:57:09 -0600
Organization: XMission Internet (801 539 0900)
Lines: 54
Message-ID: <33487095.167EB0E7@xmission.com>
References: <5hn1o1$b4b@srv4-poa.nutecnet.com.br> <5ho851$koc@idiom.com> <Pine.BSF.3.95.970402102436.21303B-100000@ravi.lums.edu.pk> <5i5pvq$5ct@idiom.com>
NNTP-Posting-Host: slc212.modem.xmission.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (X11; U; FreeBSD 2.2.1-RELEASE i386)
To: Michael Craft <jsi@idiom.com>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38674

Michael Craft wrote:
> > You need to recompile the kernel to get the IDE CD working. Remove the
> > comment of the ATAPI CD in the file /src/i386/conf/GENERIC. Then recompile
> > the kernel. THE CD should work-:-)
> 
> Done but no dice.  I've solved the problem with XCOPY onto a msdos
> partition, so I could move on and forget about it.
> 

I also had some problems getting my IDE CD to work, but I did get it to
go:

Step 1: 
	Re-Compile Kernel with the appropriate lines...

	# I run my CD ROM as the primary drive on my 2nd IDE controller that
        # came with the cdrom drive.
	# P.S. the ATAPI interface uses the lkm extension to the kernel.
        # I havent been able to get the ATAPI_STATIC option to behave
any
	# differently from the ATAPI option, probably missing something...
	controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
	options         ATAPI   #Enable ATAPI support for IDE bus
	device          wcd0    at wdc1 drive 0

Step 2: 
	Make sure I have the correct devices in /dev
		
	mknod wcd0a 19 0
	mknod wcd0c 19 2

	mknod rwcd0a 69 0
	mknod rwcd0c 69 2

Step 3:
	# This is were I got stuck initially:
	modload /lkm/atapi_mod.o
	modload /lkm/wcd_mod.o

Presto - working cdrom.

	`cdcontrol -f rwcd0c '  and I am rocking to
				Mortal Kombat...

	`mount_cd9660 /dev/wcd0a /cdrom'  
	and I can browse my Delphi 2.0 CD.


Hope this is of some help,

David Holland.

----------------------------------------------------
FreeBSD rules.