*BSD News Article 77219


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!warwick!qmw!news
From: scott@dcs.qmw.ac.uk (Scott Mitchell)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Need help installing HITACHI CDR-7730 ATAPI IDE CDROM.
Date: 30 Aug 1996 14:46:34 GMT
Organization: Queen Mary & Westfield College, London, UK
Lines: 108
Message-ID: <SCOTT.96Aug30154634@crux.dcs.qmw.ac.uk>
References: <321DB514.672C@bnr.ca>
NNTP-Posting-Host: crux.dcs.qmw.ac.uk
In-reply-to: Andrew Atrens's message of Fri, 23 Aug 1996 09:41:40 -0400
CC: atrens@bnr.ca

In article <321DB514.672C@bnr.ca> Andrew Atrens <atrens@bnr.ca> writes:

> Hi All,
> 
> I'm having some grief trying to install my new IDE CDROM.

[...]

> * Can't use cdcontrol ( or any other tool ) to open/close drive or
> * play music tracks. Here's some output...
> 
> (/sys/i386/conf)# cdcontrol -f /dev/wcd0c
> Compact Disc Control utility, version 2.0
> Type `?' for command list
> 
> cdcontrol> debug on
> cdcontrol> status
> No current status info available
> No media catalog info available
> No volume level info available
> cdcontrol> close
> cdcontrol: Input/output error
> cdcontrol> info
> getting toc header: Input/output error
> cdcontrol: Input/output error
> cdcontrol> eject
> cdcontrol: Input/output error
> cdcontrol> close
> cdcontrol: Input/output error
> cdcontrol> reset
> cdcontrol: Input/output error
> cdcontrol> stop
> cdcontrol: Input/output error
> cdcontrol> play
> cdcontrol: Input/output error
> cdcontrol> quit
> 
> * When I try to mount a filesystem ( yes I know its a music CD )
> * here's the error I get..
> 
> (/sys/i386/conf)# mount -t cd9660 /dev/wcd0a /mnt
> cd9660: /dev/wcd0a: Input/output error
> 
> * I would have expected a filesystem-level error not a basic i/o
> * error!

[...]

> * Drive is MASTER on my second IDE controller, and is jumpered
> * and cabled appropriately.
> 
> * Kernel config is as follows:
> 
> options         ATAPI
> options         ATAPI_STATIC    #Don't do it as an LKM
> controller              isa0
> controller              wdc0    at isa? port "IO_WD1" bio irq 14 flags
> 0x80ff80ff vector wdintr
> controller              wdc1    at isa? port "IO_WD2" bio irq 15 flags
> 0x80ff80ff vector wdintr
> controller              fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
> vector fdintr
> controller              pci0
> disk                    wd0     at wdc0 drive 0
> disk                    fd0     at fdc0 drive 0
> device                  wcd0
> ...
> 
> 
> * With a music CD in the drive, the device is recognized during
> * boot-up as follows:
> 
> ...
> wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa
> wdc0: unit 0 (wd0): <ST51080A>, 32-bit, multi-block-32
> wd0: 1033MB (2116800 sectors), 2100 cyls, 16 heads, 63 S/T, 512 B/S
> wdc1 at 0x170-0x177 irq 15 flags 0x80ff80ff on isa
> wdc1: unit 0 (atapi): <HITACHI CDR-7730/0008a>, removable, iordy
> wcd0: 689Kb/sec, 128Kb cache, audio play, 128 volume levels, ejectable
> tray
> wcd0: medium type unknown, unlocked

Does it work with a non-music CD-ROM?  I would assume so based on the
output above.  I've heard very few reports of any audio-CD tools
working with ATAPI drives.  I can get mine to play using 'cdcontrol'
but that is all.

My preferred approach is to play music CDs on a real CD player, given
that the DACs in your average 70-quid CD-ROM drive are probably not
all that wonderful.  Especially played through a Soundblaster and a
pair of overgrown headphones....

If you are feeling enthusiastic you could contact the maintainers of
the ATAPI code and work with them to improve the driver.  Or buy a
SCSI drive and watch all your problems disappear... :) :)

Seriously though, if you can read your filesystem CDs you should be
pleased, and I'm sure the music support will happen eventually.

Cheers,

	Scott

-- 
===========================================================================
 Scott Mitchell, CompSci Dept, Queen Mary & Westfield College, London, UK
       mailto:scott@dcs.qmw.ac.uk   http://www.dcs.qmw.ac.uk/~scott
            finger scott@ruby.dcs.qmw.ac.uk for PGP public key