Date: Sat, 25 Mar 2006 09:55:09 -0800 From: Oliver Iberien <oliver-forward@charter.net> To: k3b-user@lists.sourceforge.net Cc: freebsd-scsi@freebsd.org Subject: k3b misidentifies SCSI drive - mode sense failure - but cdrecord identifies correctly Message-ID: <200603250955.10060.oliver-forward@charter.net>
next in thread | raw e-mail | index | archive | help
I posted this before to k3b-user, but I am adding a bit more information. I= f=20 anyone knows of other SCSI lists I could post this to, that would be great. k3b on FreeBSD 6.0 incorrectly identifies my SCSI CD-R/W as read-only. It=20 reports "mode sense" failure, which, Plextor tells me, can be a sign of a=20 problem with the drive or the media. I've appended this part of the output = at=20 the bottom. However, cdrecord is able correctly to query the drive. Here is that output: Cdrecord-Clone 2.01 (i386-unknown-freebsd6.0) Copyright (C) 1995-2004 J=F6r= g=20 Schilling TOC Type: 0 =3D CD-DA scsidev: '0,0' scsibus: 0 target: 0 lun: 0 Using libscg version 'schily-0.8'. SCSI buffer size: 64512 atapi: 0 Device type : Removable CD-ROM Version : 2 Response Format: 2 Capabilities : SYNC Vendor_info : 'PLEXTOR ' Identifikation : 'CD-R PX-W4012S' Revision : '1.01' Device seems to be: Generic mmc CD-RW. Current: 0x0009 Profile: 0x0008 Profile: 0x0009 (current) Profile: 0x000A Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE VARIREC FORCESPEED SINGLESESSION= =20 HIDECDR Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R Drive buf size : 2394336 =3D 2338 KB Drive DMA Speed: 13933 kB/s 79x CD 10x DVD =46IFO size : 4194304 =3D 4096 KB This looks as if the information is there for the asking, but I am no SCSI= =20 expert. It went on to burn without a hitch. k3b worked with this drive when I used SuSE 9.1, and when I experimentally = put=20 in the old drive that had SuSE on it with its old version of k3b, it=20 identified the drive without problems. Any clues leading towards getting k3= b=20 working would be much appreciated it.=20 Thanks, Oliver k3b output (extract): k3b: (K3bDevice::openDevice) open device /dev/pass0 succeeded. k3b: (K3bDevice::openDevice) open device /dev/pass0 succeeded. k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b: command: MODE SENSE (5a) k3b: errorcode: 70 k3b: sense key: ILLEGAL REQUEST (5) k3b: asc: 24 k3b: ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::Device) /dev/cd0: modeSense 0x05 failed! k3b: (K3bDevice::Device) /dev/cd0: Cannot check write modes. k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b: command: MODE SENSE (5a) k3b: errorcode: 70 k3b: sense key: ILLEGAL REQUEST (5) k3b: asc: 24 k3b: ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::Device) /dev/cd0: read mode page 2A failed! k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b: command: MODE SENSE (5a) k3b: errorcode: 70 k3b: sense key: ILLEGAL REQUEST (5) k3b: asc: 24 k3b: ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::ScsiCommand) transport command 5a, length: 9 k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896 k3b: (K3bDevice::ScsiCommand) failed: k3b: command: MODE SENSE (5a) k3b: errorcode: 70 k3b: sense key: ILLEGAL REQUEST (5) k3b: asc: 24 k3b: ascq: 0 k3b: (K3bDevice::Device) /dev/cd0: MODE SENSE length det failed. k3b: (K3bDevice::Device) /dev/cd0: modeSense 0x05 failed! k3b: (K3bDevice::Device) /dev/cd0: Cannot check write modes. devfs.conf extract: # Permissions for CD-ROM and DVD devices own acd0 root:wheel own cd0 root:wheel own pass0 root:wheel perm pass0 0666 perm acd 0666 perm cd0 0666 perm /cdrom 0666 perm /cdrom1 0666 own /cdrom 0666 own /cdrom1 0666 perm xpt0 0666
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603250955.10060.oliver-forward>