*BSD News Article 77145


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news-res.gsl.net!news.gsl.net!news.mathworks.com!enews.sgi.com!news.sgi.com!news.msfc.nasa.gov!newsfeed.internetmci.com!csn!nntp-xfer-1.csn.net!news.acsu.buffalo.edu!acsu.buffalo.edu!pleung
From: pleung@cs.buffalo.edu (Patrick Leung)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ATAPI problems in 2.1.5
Date: 29 Aug 1996 14:25:37 GMT
Organization: University at Buffalo
Lines: 50
Message-ID: <504991$63m@prometheus.acsu.buffalo.edu>
References: <5036bl$3m5p@te6000.otc.lsu.edu>
NNTP-Posting-Host: yeager.cs.buffalo.edu
NNTP-Posting-User: pleung
X-Newsreader: TIN [version 1.2 PL2]

philip elcan (elcan@phwave.phys.lsu.edu) wrote:
: I'm having problems with my ATAPI cdrom.  I'm running 2.1.5.

: It's a NEC configure as 'single' on my secondary IDE controller.
: (My hard drives are all SCSI.)

I got my Atapi CD drive to work with FreeBSD 2.1 without any problems;
I simply had to recompile the kernel.
I actually had a small problem in the beginning, but once I remade the
device file /dev/wcd0, everything went well.

: Here's the probe output:

:   wdc1 at 0x170-0x177 irq 15 on isa
:   wdc1: unit 0 (atapi): <NEC                 CD-ROM DRIVE:272/4.15>, removable,
:   iordy
:   wcd0: 689Kb/sec, 256Kb cache, audio play, 256 volume levels, ejectable tray
:   wcd0: medium type unknown, unlocked

: Okay, so I mount the 2.1.5 install CD:

:   # mount_cd9660 /dev/wcd0c /cdrom


I think I used /dev/wcd0, and not /dev/wcd0c
This is from memory, so I can be wrong.
Anyhow, give /dev/wcd0 a try.  Make the device file if it doesn't exist
already.

: Then I can move around in the CD (change directories, that is) without any
: problems.  However, whenever I go to access a large file I get this:

:   # pkg_add emacs-19.31.tgz
:   # Aug 28 22:29:47 philip /kernel: atapi1.0: unknown phase
:   Aug 28 22:29:47 philip /kernel: atapi1.0: unknown phase
:   Aug 28 22:29:47 philip /kernel: wcd0: i/o error, status=0, error=1<ili>
:   Aug 28 22:29:47 philip /kernel: wcd0: i/o error, status=0, error=1<ili>

hmmm....
My only problem with the ATAPI driver is that my 8x cd drive runs more like
a 2x cd drive, but all works well.

I don't know why you're getting that error.
Can you copy or read small files/ any files from the cdrom?

I'm not certain about the quality of the ATAPI driver from FreeBSD 2.1.5,
but the one I have for FreeBSD 2.1 is an "alpha" and works just fine with
my CD drive.

Patrick