Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2002 21:35:46 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Kurt Seel <kseel@utcorp.com>
Cc:        freebsd-scsi <freebsd-scsi@FreeBSD.ORG>
Subject:   Re: pioneer DRM-600 problem
Message-ID:  <20020814213546.A59783@panzer.kdm.org>
In-Reply-To: <3D5B17A4.D2862CA6@utcorp.com>; from kseel@utcorp.com on Wed, Aug 14, 2002 at 10:53:24PM -0400
References:  <3D5B17A4.D2862CA6@utcorp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 14, 2002 at 22:53:24 -0400, Kurt Seel wrote:
>  I am using FBSD 4.5-stable.
>  I have a Pioneer DRM-600. I passes the self diagnostic,
> where to de-cable the unit, power off, flip switches 6 &
> 8, then power on. It goes through loading each disc, then
> ejects. Just like it should.
>  When the machine boots, scans the unis and finds 6 cd devs,
> dmesg output at the end of this message.
>  But when I type :
> chio status
>  I get this :
> chio: /dev/ch0: open: Device not configured
>  So I made sure the devices were make, e.g.
> cd /dev; ./MAKEDEV cd5; ./MAKEDEV ch0

That type of device is a LUN-based changer.  You don't get a separate
changer device to move CDs around.

To switch from one CD to another, with one of these devices, you typically
have to try to do I/O to one CD or another.

Is that the way it works with this changer?  Or is there some manual method
you have to go through to change things around?

>  And :
> mount -t cd9660 /dev/cd0c /conf/tmpmnt
>  Gives me :
> cd9660: /dev/cd0c: Device busy

Is there anything printed in the dmesg when you try that?  If not, boot
with -v and see if you get more verbose error messages.

>  I have tried it with evey permutation of option switches,
> e.g. parity on, parity off ... no dice.
>  Is there any hope for this unit? I'de really like to put
> 6 CD's of mp3'ed music on a (atapi) cdrom booted (if you 
> look at the dmesg you'll see root is cd9660:acd0c - could
> this be causing the problem?) network music server.

Sure, it should work.  My guess is that you probably just need to tweak the
timeouts some.  There are two sysctl variables:

kern.cam.cd.changer.min_busy_seconds
and
kern.cam.cd.changer.max_busy_seconds

The first one controls the minimum amount of time that will be spent doing
I/O to a given LUN.  The second one controls the maximum amount of time
that will be spent doing I/O to a given LUN, assuming there is outstanding
I/O for a different LUN.

See cd(4) for a little more description.  The first thing I would do would
be to increase both values and see if you can fix the problem that way.

There are other things we can try if that doesn't work.

> cd0 at ahc0 bus 0 target 0 lun 0
> cd0: <PIONEER CD-ROM DRM-600 0801> Removable CD-ROM SCSI-CCS device
> cd0: 3.300MB/s transfers
> cd0: cd present [321646 x 2048 byte records]
> fd0c: hard error reading fsbn 16 of 16-31 (No status)
> Root mount failed: 5
> Mounting root from cd9660:acd0c
> cd1 at ahc0 bus 0 target 0 lun 1
> cd1: <PIONEER CD-ROM DRM-600 0801> Removable CD-ROM SCSI-CCS device
> cd1: 3.300MB/s transfers
> cd1: cd present [91407 x 2048 byte records]
> cd2 at ahc0 bus 0 target 0 lun 2
> cd2: <PIONEER CD-ROM DRM-600 0801> Removable CD-ROM SCSI-CCS device
> cd2: 3.300MB/s transfers
> cd2: cd present [332253 x 2048 byte records]
> cd3 at ahc0 bus 0 target 0 lun 3
> cd3: <PIONEER CD-ROM DRM-600 0801> Removable CD-ROM SCSI-CCS device
> cd3: 3.300MB/s transfers
> cd3: cd present [214998 x 2048 byte records]
> cd4 at ahc0 bus 0 target 0 lun 4
> cd4: <PIONEER CD-ROM DRM-600 0801> Removable CD-ROM SCSI-CCS device
> cd4: 3.300MB/s transfers
> cd4: cd present [331220 x 2048 byte records]
> cd5 at ahc0 bus 0 target 0 lun 5
> cd5: <PIONEER CD-ROM DRM-600 0801> Removable CD-ROM SCSI-CCS device
> cd5: 3.300MB/s transfers
> cd5: cd present [326103 x 2048 byte records]
> (cd6:ahc0:0:0:6): READ CD RECORDED CAPACITY. CDB: 25 c0 0 0 0 0 0 0 0 0
> (cd6:ahc0:0:0:6): ILLEGAL REQUEST asc:25,0
> (cd6:ahc0:0:0:6): Logical unit not supported
> (cd6:ahc0:0:0:6): fatal error, failed to attach to device
> (cd6:ahc0:0:0:6): lost device
> (cd6:ahc0:0:0:6): removing device entry
> (cd7:ahc0:0:0:7): READ CD RECORDED CAPACITY. CDB: 25 e0 0 0 0 0 0 0 0 0
> (cd7:ahc0:0:0:7): ILLEGAL REQUEST asc:25,0
> (cd7:ahc0:0:0:7): Logical unit not supported
> (cd7:ahc0:0:0:7): fatal error, failed to attach to device
> (cd7:ahc0:0:0:7): lost device
> (cd7:ahc0:0:0:7): removing device entry

It looks like it's behaving bogusly there.  It shouldn't respond to an
inquiry on LUNs 6 and 7 if there isn't a CD slot at those LUNs.

Anyway, that should be mostly harmless.

Ken
-- 
Kenneth Merry
ken@kdm.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020814213546.A59783>