mostly fixed .. still broken for CAM :(

Andrew Atrens atrens at nortel.com
Sun May 27 12:46:21 PDT 2007



Just noticed cdda2wav (newly rebuilt) is having similar troubles -


cd0 at ata0 bus 0 target 0 lun 0
cd0: <HL-DT-ST DVDRAM GMA-4082N CX08> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present

. ..

(cd0:ata0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
(cd0:ata0:0:0:0): ILLEGAL REQUEST csi:28,5,55,20 asc:64,0
(cd0:ata0:0:0:0): Illegal mode for this track
(cd0:ata0:0:0:0): cddone: got error 0x16 back
cd0: reading primary partition table: error accessing offset 000000000000 for 2048




Matthew Dillon wrote:
> :..
> :dscheck(#da/0x10002): illegal partition number (2) for WHOLE_DISK_SLICE access
> :
> :
> :fdisk fails to read disk partition table. disklabel is likewise confused.
> :
> :The stick in question has a standard partition table and one dos partition.
> :
> :It worked last week.
> :
> :Should be easily reproducible.
> :
> :Cheers,
> :
> :Andrew
> 
>     You need to do a full buildworld/installworld/upgrade.  Make sure you
>     have the latest MAKEDEV from /usr/src/etc/MAKEDEV, and remake all your
>     devices.  In fact, rm your disk devices before you remake them to be
>     sure you got them all.
> 
>     cp /usr/src/etc/MAKEDEV /dev/MAKEDEV
>     cd /dev
>     rm da*
>     ./MAKEDEV da0
> 
>     fdisk will operate on a raw disk.  disklabel only operates on a slice.
>     Any entities that did not have MBR's (were not fdisked) before, but
>     did have disklabels, can be accessed via slice 0 (e.g. da0s0a instead
>     of da0a). 
> 
> 					-Matt
> 					Matthew Dillon 
> 					<dillon at backplane.com>





More information about the Bugs mailing list