Registered Member
|
Hi!
I have Slackware64-14.0 and k3b wont see my drive Nor by user, Nor by root. Its funny that /dev/sr0 presents bash-4.2# dmesg | grep sr0 sr0: scsi3-mmc drive: 40x/48x writer cd/rw xa/form2 cdda tray sr 0:0:0:0: Attached scsi CD-ROM sr0 and even I can burn disks by cdrecord with user permissions. Looks like this is udisks/hal/dbus/whatever trouble as it says: bash-4.2# udisks --show-info /dev/sr0 Cannot find device with major:minor 11:0: No such device I spent a day to lurk about any easy solve of trouble and found nothing So, I have radical offer for K3B developers: PLEASE, make a version wich allows user force set wondered device by hands. Something like --device option wich already present, but not working. Im sure, this option would help to solve most of troubles with k3b for many people. |
Administrator
|
The error message(s) given by UDisks in this case are definitely indicating the cause of K3b's problem.
Based on the error message itself, I would suggest checking your UDev configuration, or if you do not use it, consulting your distribution for information on how to determine the major/minor numbers for your DVD Burner. You could also try searching under /sys/class/scsi_device/ for your actual DVD burner. On my system, it is /sys/class/scsi_device/1:0:0:0/, and the information on the major/minor numbers is found at /sys/class/scsi_device/1:0:0:0/device/block/sr0/dev.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
"/sys/class/scsi_device/1:0:0:0/device/block/sr0/dev"
Its funny, but my system (3.2.36 kernel) doesnt containt "block" subdirectory. Moreover, "sr 0:0:0:0: Attached scsi CD-ROM sr0" is _RIGHT_ message. So, it is: root@volodin-pc:/sys/class/scsi_device/0:0:0:0/device# ls bsg device_blocked evt_media_change iodone_cnt iorequest_cnt model queue_depth queue_type rev scsi_level subsystem timeout uevent vendor delete driver iocounterbits ioerr_cnt modalias power queue_ramp_up_period rescan scsi_device state sw_activity type unload_heads root@volodin-pc:/sys/class/scsi_device/0:0:0:0/device# cat ./model DVD RW AD-5260S root@volodin-pc:/sys/class/scsi_device/0:0:0:0/device# cat ./uevent DEVTYPE=scsi_device DRIVER=sr MODALIAS=scsi:t-0x05 root@volodin-pc:/sys/class/scsi_device/0:0:0:0/device# cat ./bsg/0\:0\:0\:0/dev 253:0 root@volodin-pc:/sys/class/scsi_device/0:0:0:0/device# cat ./bsg/0\:0\:0\:0/uevent MAJOR=253 MINOR=0 DEVNAME=bsg/0:0:0:0 |
Administrator
|
Rather unusual then...
Which device does cdrecord interact with? I would be suspecting a kernel or UDev bug here (as the correct device major seems to be 253 instead of 11 in your case).
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell