Reply to topic

k3b dont see my DVD

avolodin
Registered Member
Posts
2
Karma
0

k3b dont see my DVD

Wed Jan 23, 2013 12:16 pm
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.
User avatar bcooksley
Administrator
Posts
18586
Karma
83
OS

Re: k3b dont see my DVD

Fri Feb 08, 2013 1:16 am
The error message(s) given by UDisks in this case are definitely indicating the cause of K3b's problem.
Code: Select all
Cannot find device with major:minor 11:0: No such device

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.


System Settings and Device Actions KCM maintainer
Image
avolodin
Registered Member
Posts
2
Karma
0

Re: k3b dont see my DVD

Mon Feb 11, 2013 7:07 am
"/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
User avatar bcooksley
Administrator
Posts
18586
Karma
83
OS

Re: k3b dont see my DVD

Mon Feb 11, 2013 7:10 am
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).


System Settings and Device Actions KCM maintainer
Image

 
Reply to topic

Bookmarks



Who is online

Registered users: alake, Baidu [Spider], Bing [Bot], Exabot [Bot], garthecho, Google [Bot], google01103, Hans, hmethorst, industrie13, jensreuterberg, koriun, l3u, La Ninje, Majestic-12 [Bot], mmistretta, nerdopolis, PaddyMac, pedrorodriguez, SecretCode, Sentynel, VictorL, Yahoo [Bot]