Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2007 10:57:44 +0200
From:      Andre Albsmeier <Andre.Albsmeier@siemens.com>
To:        Thomas Quinot <thomas@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/ata atapi-cam.c
Message-ID:  <20070403085744.GA99807@curry.mchp.siemens.de>
In-Reply-To: <200703292008.l2TK8WRa020408@repoman.freebsd.org>
References:  <200703292008.l2TK8WRa020408@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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