LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 06-09-2015, 06:06 PM   #1
itscience
Member
 
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37

Rep: Reputation: Disabled
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 :-)
 
Old 06-10-2015, 07:02 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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'.
 
Old 06-10-2015, 01:23 PM   #3
itscience
Member
 
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37

Original Poster
Rep: Reputation: Disabled
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 :-)
 
Old 06-11-2015, 05:34 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
 
Old 06-12-2015, 11:53 AM   #5
itscience
Member
 
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37

Original Poster
Rep: Reputation: Disabled
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?
 
Old 06-12-2015, 12:14 PM   #6
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
 
Old 06-12-2015, 04:52 PM   #7
itscience
Member
 
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-13-2015, 02:26 AM   #8
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Did you relogin/rebooted to take added group effect? What you got when run as 'root' user.
 
Old 06-13-2015, 06:30 PM   #9
itscience
Member
 
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37

Original Poster
Rep: Reputation: Disabled
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?
 
Old 06-13-2015, 08:50 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,086

Rep: Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441
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
 
Old 06-14-2015, 04:28 PM   #11
itscience
Member
 
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-14-2015, 05:25 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,086

Rep: Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441
The first DVD/CDROM drive will be /dev/sr0, the second /dev/sr1 etc.

Did you verify if you had a /dev/cdrom link?
 
Old 06-27-2015, 06:32 PM   #13
itscience
Member
 
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37

Original Poster
Rep: Reputation: Disabled
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!
 
Old 06-27-2015, 07:10 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 22,086

Rep: Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441Reputation: 4441
Quote:
dev=/dev/rs0
Oops... /dev/sr0
 
Old 06-30-2015, 04:10 PM   #15
itscience
Member
 
Registered: May 2015
Location: Lancashire UK
Distribution: arch
Posts: 37

Original Poster
Rep: Reputation: Disabled
Opps, sorry :-x
It's working now :-) Thanks for the help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrkit (cdrecord (wodim)) bug after writing some MB failed Zacatecnik Linux - Software 4 12-06-2009 07:27 AM
DVD Authoring/Burning with wodim/cdrecord Jinouchi Linux - Software 3 10-15-2009 12:05 AM
Audio CD Buriing with cdrecord / wodim Jinouchi Linux - Newbie 2 03-14-2009 08:31 AM
cdrecord: No such device. Cannot open '/dev/pg0'. Cannot open SCSI driver. hnshashi Linux - Newbie 3 08-14-2008 02:54 AM
[SOLVED] cdrecord: No such file or directory. Cannot open '/dev/pg0'. Cannot open SCSI driver. procfs Linux - Software 5 01-18-2008 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration