On Friday 24 March 2006 12:29, you wrote:
> On 3/24/06, Oliver Iberien <[EMAIL PROTECTED]> wrote:
> > On Friday 24 March 2006 12:12, you wrote:
> > > On 3/24/06, Oliver Iberien <[EMAIL PROTECTED]> wrote:
> > > > I've got my Plextor PX-W4012S SCSI R/W drive recognized by k3b by
> > adding
> > > > ALL             ALL = NOPASSWD: /sbin/camcontrol devlist
> > > > to sudoers and starting k3b with sudo. Unfortunately, k3b has the
> > > > idea that
> > > > this is read-only. 
[snip]
> > >
[snip]
> > > but /etc/devfs.conf (i think) has places where you can set the
> > > permission to devices.  I believe I did 0666 (read/write to all) for
> > > acd0, cdrom0,...
> >
> > pass0,
[snip]
> >
> > I had done that. I can access the drive, but it is still not being
> > correctly
> > recognized as a writer.
[snip]
>
> What happens when you run k3b as root (just to test)
>
> Also, what are the permissions on
> (assuming the writer is the first cd device)
> /dev/cd0
> /dev/acd0
> /dev/pass0

From /etc/devfs.conf:
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

k3b run as root fails though not being about to connect to X. Starting up k3b 
with sudo gives a bouquet of k3b errors, one of which is MODE SENSE FAILS:

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.

Would anyone have an idea how to fix this? 

Oliver




Whole k3b startup follows:

$ sudo k3b
Password:
ERROR: Communication problem with k3b, it probably crashed.
$ k3b: (K3bExternalBinManager) Cdrecord 2.1 features: gracetime, overburn, 
cdtext, clone, tao, cuefile, xamix, plain-atapi, hacked-atapi
k3b: (K3bExternalBinManager) 2 1 -1  seems to be cdrecord version >= 1.11a02, 
using burnfree instead of burnproof
k3b: (K3bExternalBinManager) seems to be cdrecord version >= 1.11a31, support 
for Just Link via burnfree driveroption
k3b: (BSDDeviceScan) number of matches 8
k3b: (BSDDeviceScan) add device /dev/cd0:0:0:0
k3b: (K3bDevice::Device) /dev/cd0: init()
k3b: (K3bDevice::openDevice) open device /dev/pass0 succeeded.
k3b: (K3bDevice::openDevice) open device /dev/pass0 succeeded.
k3b: (K3bDevice::ScsiCommand) transport command 12, length: 6
k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9
k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896
k3b: (K3bDevice::ScsiCommand) failed:
k3b:                            command:    GET CONFIGURATION (46)
k3b:                            errorcode:  70
k3b:                            sense key:  ILLEGAL REQUEST (5)
k3b:                            asc:        24
k3b:                            ascq:       0
k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9
k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896
k3b: (K3bDevice::ScsiCommand) failed:
k3b:                            command:    GET CONFIGURATION (46)
k3b:                            errorcode:  70
k3b:                            sense key:  ILLEGAL REQUEST (5)
k3b:                            asc:        24
k3b:                            ascq:       0
k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9
k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896
k3b: (K3bDevice::ScsiCommand) failed:
k3b:                            command:    GET CONFIGURATION (46)
k3b:                            errorcode:  70
k3b:                            sense key:  ILLEGAL REQUEST (5)
k3b:                            asc:        24
k3b:                            ascq:       0
k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9
k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896
k3b: (K3bDevice::ScsiCommand) failed:
k3b:                            command:    GET CONFIGURATION (46)
k3b:                            errorcode:  70
k3b:                            sense key:  ILLEGAL REQUEST (5)
k3b:                            asc:        24
k3b:                            ascq:       0
k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9
k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896
k3b: (K3bDevice::ScsiCommand) failed:
k3b:                            command:    GET CONFIGURATION (46)
k3b:                            errorcode:  70
k3b:                            sense key:  ILLEGAL REQUEST (5)
k3b:                            asc:        24
k3b:                            ascq:       0
k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9
k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896
k3b: (K3bDevice::ScsiCommand) failed:
k3b:                            command:    GET CONFIGURATION (46)
k3b:                            errorcode:  70
k3b:                            sense key:  ILLEGAL REQUEST (5)
k3b:                            asc:        24
k3b:                            ascq:       0
k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9
k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896
k3b: (K3bDevice::ScsiCommand) failed:
k3b:                            command:    GET CONFIGURATION (46)
k3b:                            errorcode:  70
k3b:                            sense key:  ILLEGAL REQUEST (5)
k3b:                            asc:        24
k3b:                            ascq:       0
k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9
k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896
k3b: (K3bDevice::ScsiCommand) failed:
k3b:                            command:    GET CONFIGURATION (46)
k3b:                            errorcode:  70
k3b:                            sense key:  ILLEGAL REQUEST (5)
k3b:                            asc:        24
k3b:                            ascq:       0
k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9
k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896
k3b: (K3bDevice::ScsiCommand) failed:
k3b:                            command:    GET CONFIGURATION (46)
k3b:                            errorcode:  70
k3b:                            sense key:  ILLEGAL REQUEST (5)
k3b:                            asc:        24
k3b:                            ascq:       0
k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9
k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896
k3b: (K3bDevice::ScsiCommand) failed:
k3b:                            command:    GET CONFIGURATION (46)
k3b:                            errorcode:  70
k3b:                            sense key:  ILLEGAL REQUEST (5)
k3b:                            asc:        24
k3b:                            ascq:       0
k3b: (K3bDevice::ScsiCommand) transport command 46, length: 9
k3b: (K3bDevice::ScsiCommand) transport failed (4): 336896
k3b: (K3bDevice::ScsiCommand) failed:
k3b:                            command:    GET CONFIGURATION (46)
k3b:                            errorcode:  70
k3b:                            sense key:  ILLEGAL REQUEST (5)
k3b:                            asc:        24
k3b:                            ascq:       0
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::DeviceManager) scanning fstab: /dev/ad2s1b
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/ad2s3a
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/ad2s3e
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/ad2s3f
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/ad2s3d
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/cd0
k3b: (K3bDevice::DeviceManager) found device for /dev/cd0: /dev/cd0
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/acd0
k3b: No Devices found!
k3b: (K3bDevice::DeviceManager) found config entry for devicetype: PLEXTOR 
CD-R   PX-W4012S
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/ad2s1b
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/ad2s3a
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/ad2s3e
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/ad2s3f
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/ad2s3d
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/cd0
k3b: (K3bDevice::DeviceManager) found device for /dev/cd0: /dev/cd0
k3b: (K3bDevice::DeviceManager) scanning fstab: /dev/acd0
k3b: (K3bExternalBinManager) Cdrecord 2.1 features: gracetime, overburn, 
cdtext, clone, tao, cuefile, xamix, plain-atapi, hacked-atapi
k3b: (K3bExternalBinManager) 2 1 -1  seems to be cdrecord version >= 1.11a02, 
using burnfree instead of burnproof
k3b: (K3bExternalBinManager) seems to be cdrecord version >= 1.11a31, support 
for Just Link via burnfree driveroption
k3b: Devices:
k3b: ------------------------------
k3b: Blockdevice:    /dev/cd0
k3b: Generic device:
k3b: Vendor:         PLEXTOR
k3b: Description:    CD-R   PX-W4012S
k3b: Version:        1.01
k3b: MountDevice:    /dev/cd0
k3b: Mountpoint:     /cdrom
k3b: Write speed:    0
k3b: Profiles:       Error
k3b: Devicetype:     CD-ROM
k3b: Writing modes:  None
k3b: Reader aliases: /dev/cd0
k3b: ------------------------------
Error: "/var/tmp/kdecache-oliver" is owned by uid 1002 instead of uid 0.
Link points to "/var/tmp/kdecache-root"
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
k3b: (K3bFileTreeView::addCdDeviceBranches)
k3b: (K3bFileTreeView::addCdDeviceBranches) done
Error: "/tmp/kde-oliver" is owned by uid 1002 instead of uid 0.
Link points to "/tmp/kde-root"
k3b: (K3b::cutToWidth) not able to cut text to 20!
Error: "/tmp/ksocket-oliver" is owned by uid 1002 instead of uid 0.
Link points to "/tmp/ksocket-root"
k3b: (K3bCore) System problems:
k3b:           - none -
kio_file: WARNING: KLocale: trying to look up "" in catalog. Fix the program

$

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to