k3b misidentifies SCSI drive - mode sense failure - but cdrecord
identifies correctly
Oliver Iberien
oliver-forward at charter.net
Sat Mar 25 17:55:14 UTC 2006
I posted this before to k3b-user, but I am adding a bit more information. If
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
reports "mode sense" failure, which, Plextor tells me, can be a sign of a
problem with the drive or the media. I've appended this part of the output at
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örg
Schilling
TOC Type: 0 = 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
HIDECDR
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 2394336 = 2338 KB
Drive DMA Speed: 13933 kB/s 79x CD 10x DVD
FIFO size : 4194304 = 4096 KB
This looks as if the information is there for the asking, but I am no SCSI
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
in the old drive that had SuSE on it with its old version of k3b, it
identified the drive without problems. Any clues leading towards getting k3b
working would be much appreciated it.
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
More information about the freebsd-scsi
mailing list