LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-16-2004, 06:17 PM   #1
TheMusicGuy
Member
 
Registered: Mar 2004
Distribution: Ubuntu 8.04
Posts: 127

Rep: Reputation: 15
Question I'm having CD Burner problems...not sure if it's hardware or software related.


I'm trying to burn a Knoppix iso, and my first attempt with K3b just wasted a cd. (GRR...I hate throwing money away!)

So I tried to do it with cdrecord -v speed=2 dev=0,0,0 -data Knoppix-blahblahblah.iso and that said some /dev/sg* didn't exist.

What really confuses me is that I tried the exact same command last to to burn a Slackware ISO and it worked flawlessly.

Help...?
 
Old 09-16-2004, 09:00 PM   #2
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
Post the results of:

cdrecord -scanbus

and

cdrecord -scanbus dev=ATAPI
 
Old 09-17-2004, 03:09 PM   #3
TheMusicGuy
Member
 
Registered: Mar 2004
Distribution: Ubuntu 8.04
Posts: 127

Original Poster
Rep: Reputation: 15
I figured out what was wrong...it should've been obvious. :P
I had SuSE running in failsafe, eg, minimal drivers. (DUH)

Anyway, -scanbus is turning out different results now that it's running in regular mode.
 
Old 09-18-2004, 10:44 AM   #4
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
can you do cdrecord -v speed=2 dev=0,0,0 -data Knoppix-blahblahblah.iso as a regular user or just root.
because i only can burn cds when i am logged in as root.
if you resolved this problem already, can u tell me how you've done it?
 
Old 09-18-2004, 02:30 PM   #5
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
tricky...
just be sure you have write permissions to the writer-device in /dev.
2.4 uses the sg (generic scsi) thingy. they are numbered sga,sgb, or sometimes sg1,sg2 and start at the first scsi-device (disks also!).
re-group it to cdrom and give the user into cdrom.

sl mritch.
 
Old 09-18-2004, 04:52 PM   #6
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
i don't really understand what you meant by "re-group it to cdrom"
here is spec.
cd at /dev/sda1
dvd at /dev/sda2
how should i regroup these?
it shows that 0,0,0 was my cd and 0,0,1 was my dvd in cdrecord
i know how to use chmod, but just don't get the re-group thing.
will appreciate for the explaination
 
Old 09-18-2004, 05:12 PM   #7
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
what i wanna say:
the reason why the 2.4 series of kernels use the scsi-emulation for ripping data off the cd and writing data to it is that only the scsi-layer has the necessary "commands" to tell the drive what to do. so writing to and ripping from the drive goes thru the generic devices /dev/sg*. if you want a user to be able to write cd's you'll have that devices be writeable. with a group "cdrom" added to the system and device made write/readable to that group the users in group "cdrom" will be able to read/write from that device.
so if only one (the cd-writer) of your disks (hds+cdroms) use the scsi-ide-emulation this drive likely will be /dev/sg0. caution: if you also have a (real) scsi-harddisk in you sys /dev/sg0 will be the disk and /dev/sg1 will be the writer. so if that's the case writing to sg0 will sure overwrite your harddisk;-)

sl mritch.
 
  


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
Two hardware-related questions DaBlade Linux - Hardware 4 10-27-2005 01:33 PM
Is the problem exactly hardware or software related? vmuralikrishnan Linux - Software 1 03-24-2005 03:39 AM
Some hardware-related temperature questions zhangmaike General 9 02-27-2005 11:12 PM
Questions about some old hardware (not really Linux related) voyciz Linux - Hardware 1 01-28-2005 04:15 PM
Some more thoughs: Hardware related. neocookie General 1 05-05-2004 07:54 AM


All times are GMT -5. The time now is 08:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration