*BSD News Article 74659


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!news.sprintlink.net!news-stk-200.sprintlink.net!server1.nw.ixe.net!server1.adam.ixe.net!wirehub!sun4nl!phcoms4.seri.philips.nl!news
From: Rob van Vliet <rvv@iaehv.nl>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: atapi cdrom problems
Date: Thu, 25 Jul 1996 15:13:40 -0700
Organization: Philips Electronics N.V.
Lines: 42
Message-ID: <31F7F194.87C@iaehv.nl>
Reply-To: rvv@iaehv.nl
NNTP-Posting-Host: host-197-56.ehv.cp.philips.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b5 (Win16; I)

I have a 6x speed atapi cd-rom, of which i don't have much
documentation. It identifies itself as "Stingray". It is jumpered as
master on the second IDE controller, with no other drives on the
controller. The first ide controller (wdc0) has two IDE drives attached
to it.

I recompiled the kernel refelecting the above configuration, however, at
startup the kernel does, while probing for the second IDE controller
(wdc1), not recognize it, and says "wdc1: not found at etc...".

I tried everything, but it wouldn't work. So I installed 2.1.5-RELEASE,
which is supposed to be better at recognizing ATAPI cd-roms. No good.

I ended up hacking wd.c in the kernel source, making it not probe for
the wdc1 controller, but just assume that it is there. This works... for
a while. At least the cdrom gets recognized as wcd0..

Now I can mount wcd0: when I mount it, you can hear the cd starting to
turn, and I can read from it. However, after some time, say one minute,
the CD stops turning, and from that moment on  I cannot read any longer
from the CD. Operations like ls return "ls: input/output error" or
something similar. Sometimes I can umount the CD and then mount it
again, however on other occasions the system replies "wdc1: controller
not ready/busy" (again: or something similar), and eventually crashes.
Yes,
the system reboots.

It all seems to have something to do with the physical turning of the CD
inside the drive. Mount starts this, but other fileoperations don't.

If you have any solutions to this I will consider you a read ATAPI
genius, which I hope you are :)

Please email me or post here if you have any ideas (or think you have,
but 
want more info).

Rob
-- 
-------------------------------------------------------------
Rob van Vliet              E-Mail:               rvv@IAEhv.nl
-------------------------------------------------------------