Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2003 11:57:39 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        Thomas Quinot <thomas@cuivre.fr.eu.org>
Cc:        current@freebsd.org
Subject:   Re: scsi_cd or atapicam crash in current.
Message-ID:  <Pine.GSO.4.10.10309161153440.22474-100000@pcnet5.pcnet.com>
In-Reply-To: <20030916150218.GB62176@melusine.cuivre.fr.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Sep 2003, Thomas Quinot wrote:

> Le 2003-09-16, Daniel Eischen =E9crivait :
>=20
> > I get this even without atapicam in the kernel.  Is trying
> > CAMDEBUG and CAM_DEBUG_CDB going to show anything interesting?
>=20
> No, indeed, probably not. Can you try the following patch:

OK, on a different system that has similar false CD detection
and with the patch and with CAMDEBUG and `camcontrol debug -c all`:

# camcontrol cmd cd0 -v -c "25 0 0 0 0 0 0 0 0 0" -i 8 "i4 i4"
-791621424 -791621424=20

# tail /var/log/messages
(xpt0:xpt0:0:-1:-1): debugging flags now 8
(pass0:ata1:0:0:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0=20
atapi_action: hcb@0xc519a100: 25 0 0 0 0 0 0 0 0 0=20
atapi_cb: hcb@0xc519a100 status =3D 00: (sk =3D 00)
    acd0: cmd 25

Note that on this system, cd0 is not detected as present when built
without atapicam.  With atapicam yields false detection:

acd0: CDRW <HL-DT-STCD-RW/DVD-ROM GCC-4240N> at ata1-master UDMA33
cd0 at ata1 bus 0 target 0 lun 0
cd0: <HL-DT-ST RW/DVD GCC-4240N D110> Removable CD-ROM SCSI-0 device=20
cd0: 33.000MB/s transfers
cd0: cd present [3737169375 x 3737169374 byte records]

--=20
Dan Eischen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10309161153440.22474-100000>