Date: Sat, 25 Mar 2006 13:38:42 -0800 From: Oliver Iberien <oliver-forward@charter.net> To: freebsd-questions@freebsd.org Cc: k3b-user@lists.sourceforge.net Subject: Re: k3b incorrectly identifies scsi r/w drive as read-only -- Mode sense fails Message-ID: <200603251338.43327.oliver-forward@charter.net> In-Reply-To: <20060325194637.6569F16A4C6@hub.freebsd.org> References: <20060325194637.6569F16A4C6@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 25 March 2006 11:46, Andrea Venturoli wrote: > Duane Whitty wrote: > > Please forgive me for stepping in, but I'm having the same problem, > asked sometime ago and did not get any answer. > > My Yamaha burner is still detected as a read-only device. > > =A0 bye & Thanks > =A0=A0=A0=A0=A0=A0=A0=A0av. There is a thread here: http://lists.freebsd.org/mailman/htdig/freebsd-ports/2005-March/021958.html of someone with a scsi cd-r/w that was giving the same errors. The thread g= oes=20 on to post some kind of fix to a flac decoder: http://lists.freebsd.org/mailman/htdig/freebsd-ports/2005-March/021969.html =2E..but I don't understand how this is related or how it is to be implemen= ted. I have found a number of postings of similar problems with k3b and scsi dri= ves=20 dating from after mid-2004, which is when it started happening to me, but=20 none gives a fix. http://linux.derkeiler.com/Mailing-Lists/SuSE/2005-03/1489.html http://72.14.203.104/search?q=3Dcache:wOJpu0m4BcwJ:k3b.plainblack.com/feedb= ack%3Ffunc%3Dview%26wid%3D29%26forumId%3D1000%26forumOp%3DviewThread%26foru= mPostId%3D100898+k3b+%22mode+sense%22&hl=3Den&gl=3Dus&ct=3Dclnk&cd=3D1&ie= =3DUTF-8 http://www.linuxhardware.de/deutsch/dcoulh/news_38206.html http://linuxfromscratch.org/pipermail/blfs-support/2004-June/050551.html http://72.14.203.104/search?q=3Dcache:Dh1vQLiRy40J:bbs.cse.yzu.edu.tw/show.= php%3Ftype%3Dpost%26board%3Dbsd-ports%26pageno%3D15+k3b+%22mode+sense%22&hl= =3Den&gl=3Dus&ct=3Dclnk&cd=3D6&ie=3DUTF-8 http://lurker.oltrelinux.com/message/20040211.213612.0308c619.en.html Oliver > 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= =F6rg > 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 =A0 =A0: Removable CD-ROM > Version =A0 =A0 =A0 =A0: 2 > Response Format: 2 > Capabilities =A0 : SYNC > Vendor_info =A0 =A0: 'PLEXTOR ' > Identifikation : 'CD-R =A0 PX-W4012S' > Revision =A0 =A0 =A0 : '1.01' > Device seems to be: Generic mmc CD-RW. > Current: 0x0009 > Profile: 0x0008 > Profile: 0x0009 (current) > Profile: 0x000A > Using generic SCSI-3/mmc =A0 CD-R/CD-RW driver (mmc_cdr). > Driver flags =A0 : MMC-3 SWABAUDIO BURNFREE VARIREC FORCESPEED SINGLESESS= ION > HIDECDR > Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R9= 6R > Drive buf size : 2394336 =3D 2338 KB > Drive DMA Speed: 13933 kB/s 79x CD 10x DVD > FIFO size =A0 =A0 =A0: 4194304 =3D 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: =A0 =A0 =A0 =A0 =A0 =A0 =A0command: =A0MODE SENSE (5a) > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0errorcode: 70 > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0sense key: ILLEGAL REQUEST (5) > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0asc: =A0 =A024 > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0ascq: =A0 =A00 > 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: =A0 =A0 =A0 =A0 =A0 =A0 =A0command: =A0MODE SENSE (5a) > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0errorcode: 70 > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0sense key: ILLEGAL REQUEST (5) > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0asc: =A0 =A024 > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0ascq: =A0 =A00 > 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: =A0 =A0 =A0 =A0 =A0 =A0 =A0command: =A0MODE SENSE (5a) > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0errorcode: 70 > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0sense key: ILLEGAL REQUEST (5) > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0asc: =A0 =A024 > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0ascq: =A0 =A00 > 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: =A0 =A0 =A0 =A0 =A0 =A0 =A0command: =A0MODE SENSE (5a) > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0errorcode: 70 > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0sense key: ILLEGAL REQUEST (5) > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0asc: =A0 =A024 > k3b: =A0 =A0 =A0 =A0 =A0 =A0 =A0ascq: =A0 =A00 > 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 =A0 =A0 acd0 =A0 =A0root:wheel > own =A0 =A0 cd0 =A0 =A0 root:wheel > own =A0 =A0 pass0 =A0 root:wheel > perm =A0 =A0pass0 =A0 0666 > perm =A0 =A0acd =A0 =A0 0666 > perm =A0 =A0cd0 =A0 =A0 0666 > perm =A0 =A0/cdrom =A00666 > perm =A0 =A0/cdrom1 0666 > own =A0 =A0 /cdrom =A00666 > own =A0 =A0 /cdrom1 0666 > perm =A0 =A0xpt0 =A0 =A00666
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603251338.43327.oliver-forward>