*BSD News Article 82041


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!psgrain!iafrica.com!uct.uni.net.za!ru.uni.net.za!wits.uni.net.za!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!visint.demon.co.uk
From: Steve Roome <steve@itdl.telecall.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: PROBLEMS with ATAPI CD with xmcd and on bootup
Date: Wed, 30 Oct 1996 15:20:28 +0000
Organization: Vision Interactive
Lines: 45
Message-ID: <3277723C.41C67EA6@itdl.telecall.co.uk>
NNTP-Posting-Host: visint.demon.co.uk
X-NNTP-Posting-Host: visint.demon.co.uk
X-Mailer: Mozilla 3.01b1 (X11; I; FreeBSD 2.1.5-RELEASE i386)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I'm having strange problems with my ATAPI CD-ROM:
[The drive's an IDE / ATAPI Creative Labs Hex Speed CD620E]

If I'm lucky I get the following on startup :

wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa
wdc0: unit 0 (wd0): <QUANTUM TRB850A>, 32-bit, multi-block-8
wd0: 810MB (1660176 sectors), 1647 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <CD620E/1.01>, removable, iordy
wcd0: 880Kb/sec, 240Kb cache, audio play, 255 volume levels, ejectable
tray
wcd0: 120mm audio disc loaded, unlocked

However, about two out of every three boots I get :

wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM TRB850A>
wd0: 810MB (1660176 sectors), 1647 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170

I'm under the impression that probably what is happening is that my
CD player doesn't always talk to the BIOS, and when this happens 
then the BIOS doesn't report that I have the second controller
at all. Well, that's a stab in the dark, but can anyone actually
shed some more light on whats going on?

Other than that, on those times that the cd player is detected
I end up with problems trying to run xmcd... xmcd loads fine and
then I get this :

CD audio: ioctl error on /dev/rwcd0c: cmd=CDIOREADTOCENTRYS errno=22

Now, I don't know wether this means I have a problem with ioctl or
wether my CD player just doesnt support something, I can't find what
this errno is supposed to mean (unless it's just from the staandard
errno.h). What's strange is that /usr/sbin/cdplay and 
/usr/local/bin/cdplayer both work fine (and give me the tocentry).

If anyone knows what's going on here, PLEASE tell me!


Many Thanks.

        Steve.