Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Nov 2000 13:32:17 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Wilko Bulte <wkb@freebie.demon.nl>
Cc:        FreeBSD-alpha mailing list <freebsd-alpha@freebsd.org>, justin@freebsd.org
Subject:   Re: SCSI cdrom attach problems on 4-stable
Message-ID:  <20001104133216.A11678@panzer.kdm.org>
In-Reply-To: <20001104200119.A13502@freebie.demon.nl>; from wkb@freebie.demon.nl on Sat, Nov 04, 2000 at 08:01:19PM %2B0100
References:  <20001104200119.A13502@freebie.demon.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 04, 2000 at 20:01:19 +0100, Wilko Bulte wrote:
> Observed on my Miata, but also on a AS1000A at work:

[ ... ]

> (cd0:isp0:0:6:0): got CAM status 0x50
> (cd0:isp0:0:6:0): fatal error, failed to attach to device
> (cd0:isp0:0:6:0): lost device
> (cd0:isp0:0:6:0): removing device entry

Status 0x50 is:

        CAM_AUTOSENSE_FAIL = 0x10,/* Autosense: request sense cmd fail */
and
        CAM_DEV_QFRZN = 0x40,   /* The DEV queue is frozen w/this err */

The first one is the important thing.  For some reason the command is
failing but we aren't getting any sense information back.

> miata#camcontrol devlist
> <SEAGATE ST34371W 0702>            at scbus0 target 0 lun 0 (pass0,da0)
> <IBM DDRS-34560W S97B>             at scbus0 target 1 lun 0 (pass1,da1)
> <IBM DDRS-39130D DC1B>             at scbus0 target 2 lun 0 (pass2,da2)
> <DEC RRD46   (C) DEC 0557>         at scbus0 target 6 lun 0 (pass3)
> miata#
> 
> The AS1000A has a different cdrom drive (RRD46) but I also tested a
> RRD46 on it which caused the same 'lack of attach'. This is annoying at
> best. Sometimes a 'camcontrol rescan' will cause 'cd' to attach.

There are several things to try here.

First, try this:

camcontrol cmd pass3 -v -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"

That will issue a read capacity command to the drive.  The second thing to
try is booting with a CD in the drive, and without a CD in the drive, and
see if one or the other causes it to probe.

Ken
-- 
Kenneth Merry
ken@kdm.org


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




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