*BSD News Article 56209


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!yarrina.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!EU.net!peer-news.britain.eu.net!yama.mcc.ac.uk!zippy.dct.ac.uk!str-ccsun!not-for-mail
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: atapi info, please post.
Message-ID: <49k9km$gk@vulture.dmem.strath.ac.uk>
From: nbc@vulture.dmem.strath.ac.uk (Neil Brendan Clark)
Date: 30 Nov 1995 12:55:50 -0000
References: <496t9n$bhm@news.csus.edu>
Organization: University of Strathclyde
NNTP-Posting-Host: vulture.dmem.strath.ac.uk
Lines: 55

2king <2king@no.such.domain> wrote:
>If you manage to get the atapi cdrom to work on the 2.1 system,
>please post the experience cause I'm having hard time to get
>mine to work.

I too had great hurdles to leap, but it is (nearly) there now.

>Sometimes, I got error saying "device not configure", and sometimes
>it says "input/ouput error" I did use the mount -t cd9660 command tho.
>And I assume we are mounting wcd0c as the cdrom right ?

Yes.

>wdc0 at 0x1f0-0x1f7 irq 14 on isa
>wdc0: unit 0 (wd0): <Conner Peripherals 1275MB - CFA1275A>
>wd0: 1220MB (2498832 sectors), 2479 cyls, 16 heads, 63 S/T, 512 B/S
>wdc1 at 0x170-0x177 irq 15 on isa
>wdc1: unit 0 (atapi): <CD-ROM CDU76E/1.0c>, removable, accel, dma, iordy

OK. I have a few lines after this bit w.r.t the cd-rom. Here is my dmesg;

#-----------------
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST31220A>
wd0: 1033MB (2115792 sectors), 2099 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <TOSHIBA CD-ROM XM-5302TA/1095>, removable, intr, iordy
wcd0: 689Kb/sec, 256Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: 120mm data disc loaded, unlocked
#-----------------

Perhaps you have configured the kernel source worngly? Do you have the kernel
source? If not, get it, and edit the relevant part of the configuration file
to look like this, given, of course, any differences in your system.

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

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

options         ATAPI   #Enable ATAPI support for IDE bus
device          wcd0    #IDE CD-ROM
#-----------------

I appears that you have to comment out the hard disk that the cd-rom is 
replacing, if you know what I mean. At least, that's what got it working on
my box.

Good Luck,

Neil