cvs commit: src/sys/dev/ata atapi-cam.c

Andre Albsmeier Andre.Albsmeier at siemens.com
Tue Apr 3 09:24:23 UTC 2007


On Thu, 29-Mar-2007 at 20:08:32 +0000, Thomas Quinot wrote:
> thomas      2007-03-29 20:08:32 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:        (Branch: RELENG_6)
>     sys/dev/ata          atapi-cam.c 
>   Log:
>   MFC rev. 1.48:
>   (reinit_bus): When the ATAPI bus is reset, do not schedule an automated
>    CAM rescan if the ATAPI device entries have not changed.
>   
>   The ATAPI bus may be reset for a variety of reasons, including any time an
>   ATAPI request times out. It is not necessary to rescan at the CAM level
>   in such a case, unless a device has appeared or disappeared, or has
>   otherwise changed.
>   ---
>   MFC revs. 1.49 and 1.50:
>   (atapi_action): Improve error reporting by removing ATA_R_QUIET flag
>    from ATAPI requests. If CAM debugging is enabled, also mark ATAPI
>    requests with ATA_R_DEBUG flag.
>   
>   (atapi_cb): Report ATAPI timeouts to the CAM layer.
>    Fix incorrect debugging traces in the presence of ATAPI errors.
>   
>   PR:     kern/103602
>   
>   Revision  Changes    Path
>   1.42.2.3  +58 -34    src/sys/dev/ata/atapi-cam.c

Can this be responsible for a newly seen 

acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01

in dmesg? The relevant part of dmesg is:

acd0: CDRW <UJDA750FDVD/CDRW/1.21> at ata1-master UDMA33
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
cd0 at ata1 bus 0 target 0 lun 0
cd0: <MATSHITA UJDA750FDVD/CDRW 1.21> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed

atapicam is compiled into the kernel. I have never seen this
"acd0: FAILURE..." line before...

	-Andre


More information about the cvs-src mailing list