LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   I'm having CD Burner problems...not sure if it's hardware or software related. (https://www.linuxquestions.org/questions/linux-hardware-18/i%27m-having-cd-burner-problems-not-sure-if-it%27s-hardware-or-software-related-231529/)

TheMusicGuy 09-16-2004 06:17 PM

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!):mad:

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...? :D

spurious 09-16-2004 09:00 PM

Post the results of:

cdrecord -scanbus

and

cdrecord -scanbus dev=ATAPI

TheMusicGuy 09-17-2004 03:09 PM

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.

tricky_linux 09-18-2004 10:44 AM

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?

mritch 09-18-2004 02:30 PM

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.

tricky_linux 09-18-2004 04:52 PM

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

mritch 09-18-2004 05:12 PM

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.


All times are GMT -5. The time now is 04:53 AM.