Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 01:28:22 -0400
From:      "Ben Kaduk" <minimarmot@gmail.com>
To:        "Thomas Quinot" <thomas@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: delayed panic loading atapicam (after failed burncd)
Message-ID:  <47d0403c0810202228s18b21c35ybd073ccfb6548a87@mail.gmail.com>
In-Reply-To: <20081020165449.GB10340@melamine.cuivre.fr.eu.org>
References:  <47d0403c0810111730p41bb17feva35729f31d0d2f44@mail.gmail.com> <20081020165449.GB10340@melamine.cuivre.fr.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 20, 2008 at 12:54 PM, Thomas Quinot <thomas@freebsd.org> wrote:
> * Ben Kaduk, 2008-10-12 :
>
>> With a disc in the drive (that I think is blank due to a failed burncd attempt),
>> loading atapicam does not immediately recognize my drive; it seems to
>> be taking a while to probe it, as I get several messages of the form
>> acd0: FAILURE - SETFEATURES SET TRANSFER MODE
>> status=51<READY,DSC,ERROR>
>> error=b4<ICRC,MEDIA_CHANGED,NID_NOT_FOUND,ABORTED>
>> acd0: FAILURE - REQUEST_SENSE timed out
>
> What's the behaviour when there is no disc in the drive when you load
> ATAPI/CAM?
>
> Thomas.
>
>

Hi Thomas,

I've since installed the October snapshot (sorry to change another
variable ...).  Also note that there is something weird about this
drive, that it seems to only get probed on a completely cold boot.

(all are hand transcribed)
cold boot:

# kldload atapicam
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
cd0 at ata1 bus 0 target 0 lun 0
cd0: <HL-DT-ST RW/DVD MU10N 1.05> Removable CD-ROM SCSI-0 device
cd0: 3.3000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present


warm boot (no acd0 found):

# kldload atapicam
[nothing]


With media present:

cold boot:

# kldload atapicam
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
cd0: at ata1 bus 0 target 0 lun 0
cd0: <HL-DT-ST RW/DVD MU10N 1.05> Removable CD-ROM SCSI-0 device
cd0: 3.300MB/s transfers
cd0: cd present [3778x2048 byte records]
acd0: FAILURE - READ_BIG ILLIGAL REQUEST asc=0x64 ascq=0x00
(cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 e c1 0 0 1 0
(cd0:ata1:0:0:0): CAM Status: SCSI Status Error
(cd0:ata1:0:0:0): SCSI Status: Check Condition
(cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0
(cd0:ata1:0:0:0): Illegal mode for this track
(cd0:ata1:0:0:0): Unretryable error
(cd0:ata1:0:0:0): cddone got error 0x6 back
[no panic]

warm boot:

# kldload atapicam
[nothing happens]



I don't have the media that was causing the panic here at home; I'll
try to test that tomorrow and see if the panic
is gone with the new snapshot.

Any thoughts about the drive's disappearing on warm boot
would be welcome, too ...

Thanks,

Ben Kaduk



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