Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-09-2015, 05:06 PM
|
#1
|
Member
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37
Rep: 
|
wodim (cdrecord) cannot open SCSI drive?
Hi guys, I'm trying burn .iso images or just learn to use the program but it's not doing what the guides said it would. I cannot get past the hurdle!
When typing wodim --devices or -scanbus it only results in the following :-(
wodim: No such file or directory.
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.
sudo doesn't achieve anything, either :-/
I am not sure if this is a hardware issue or software.. Can't seem to find this exact problem anywhere else. Can anyone advice me?
Thanks for reading :-)
|
|
|
06-10-2015, 06:02 AM
|
#2
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
Does your kernel or kernel modules has support for burning. Check lsmod output for modules named 'sr_mod' and 'sg'. If it is built into kernel then check output of 'dmesg'. Also check permissions of '/dev/sr0'.
|
|
|
06-10-2015, 12:23 PM
|
#3
|
Member
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37
Original Poster
Rep: 
|
I am not very experienced in this, so, I don't know how to check what my kernel supports. I would have thought it would as Ubuntu should just work. However, I used "$lsmod" and sr_mod, nor sg are in the rather large list of modules. What command can I use to check the permissions of '/dev/sr0'?
Thanks for your reply :-)
|
|
|
06-11-2015, 04:34 AM
|
#4
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
Code:
lsmod | grep sr_mod
lsmod | grep sg
ls -l /dev/sr0
Can you access CD/DVD in the burner?
Also read the output of 'dmesg' command to find whether cdrom drivers get detected.
|
|
|
06-12-2015, 10:53 AM
|
#5
|
Member
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37
Original Poster
Rep: 
|
lsmod commands yield nothing while ls -l /dev/sr0 relieves "brw-rw----+ 1 root cdrom 11, 0 Jun 10 16:04 /dev/sr0"
dmesg just shows a lot of confusion:
[58671.849870] Buffer I/O error on device sr0, logical block 9
US" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=5465 comm="apparmor_parser"
[84164.056339] atkbd serio0: Unknown key pressed (translated set 2, code 0x71 on isa0060/serio0).
[84164.056361] atkbd serio0: Use 'setkeycodes 71 <keycode>' to make it known.
[232845.999588] systemd-hostnamed[16987]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
those are just a few samples, what dmesg triggers. There are lines of that...
So, I guess my cd-rom is root only?
|
|
|
06-12-2015, 11:14 AM
|
#6
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
So your /dev/sr0 has owner 'root' and group 'cdrom' and both read/write and other users are not allowed.
So you can try running wodim as 'root'. Or make your user part of 'cdrom' group and relogin and try wodim.
|
|
|
06-12-2015, 03:52 PM
|
#7
|
Member
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37
Original Poster
Rep: 
|
I did another search using grep (something I found while looking how to add groups) and it says I am part of the group (edwooger being my username)
edwooger@dragonfly:~$ grep edwooger /etc/group
cdrom:x:24:edwooger
Now, I am not really sure why I can't burn DVDs :-(
sorry for he fuss.
|
|
|
06-13-2015, 01:26 AM
|
#8
|
Senior Member
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524
|
Did you relogin/rebooted to take added group effect? What you got when run as 'root' user.
|
|
|
06-13-2015, 05:30 PM
|
#9
|
Member
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37
Original Poster
Rep: 
|
Same error happens when I login as root and really, I want to use wodim so I can learn to use the terminal to do my tasks. Ubuntu, I don't know what is going on but the build in GUI burner works. I can't understand why it won't let me use wodim :-(
I don't know if this can be solved?
|
|
|
06-13-2015, 07:50 PM
|
#10
|
Moderator
Registered: Aug 2002
Posts: 26,732
|
wodim's default device ID is /dev/cdrom which should be a link to the actual burner i.e /dev/sr0. If not, then you will get the posted error.
Post the output of the command:
ls -l /dev/cdrom
What happens when you try the command:
wodim dev=/dev/sr0 --scanbus
|
|
|
06-14-2015, 03:28 PM
|
#11
|
Member
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37
Original Poster
Rep: 
|
Eureka! it worked
wodim dev=/dev/sr0 --scanbus
scsibus1:
1,0,0 100) 'TSSTcorp' 'CDDVDW SN-208AB ' 'TO02' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
That's a spot of good news :-)
Does sr0 work on every dvd drive? Sorry for the obvious question. I just like to know what to type for future devices.
|
|
|
06-14-2015, 04:25 PM
|
#12
|
Moderator
Registered: Aug 2002
Posts: 26,732
|
The first DVD/CDROM drive will be /dev/sr0, the second /dev/sr1 etc.
Did you verify if you had a /dev/cdrom link?
|
|
|
06-27-2015, 05:32 PM
|
#13
|
Member
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37
Original Poster
Rep: 
|
lsblk shows my rom drive so I hope that's how I verify it.
Apologies for the late response, I just got back from abroad.
I thought since I have the device name I could test burning a cd but this is all I got:
edwooger@dragonfly:~$ wodim dev=/dev/rs0 -v -data Downloads/crux-3.1/iso/crux-3.1.iso
wodim: No write mode specified.
wodim: Assuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
scsidev: '/dev/rs0'
devname: '/dev/rs0'
scsibus: -2 target: -2 lun: -2
wodim: No such file or directory.
Cannot open SCSI driver!
|
|
|
06-27-2015, 06:10 PM
|
#14
|
Moderator
Registered: Aug 2002
Posts: 26,732
|
|
|
|
06-30-2015, 03:10 PM
|
#15
|
Member
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37
Original Poster
Rep: 
|
Opps, sorry :-x
It's working now :-) Thanks for the help.
|
|
|
All times are GMT -5. The time now is 02:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|