cdrecord: Cannot open '/dev/sg0' 

http://freshmeat.net/projects/cdrdao/

> I fail to use cdrdao, please help.
> here is my command:
> cdrdao copy --device 1,1,0 --driver generic-mmc --source-device 1,0,0 --source-driver generic-mmc --on-the-fly --simulate --speed 8 -v 3 --eject
>
> and i saw this:
> ERROR: Cannot open SCSI device '1,1,0': Cannot open '/dev/sg0'
> ERROR: Please use option '--device bus,id,lun', e.g. --device 0,6,0
> ERROR: Cannot setup device 1,1,0.
>
> how to solve this problem?
> I have a cdrom at /dev/scd0(/dev/hdc)
> and a cd-writer at /dev/scd1(/dev/hdd)
> with ide-scsi emulator.
> This work well on x-cd-roast.
> The parameters 1,0,0 and 1,1,0 and given
> by cdrecord -scanbus.
>
> Is that "Cannot open '/dev/sg0'" the problem?
> Should I try to make a link to /dev/sg0
> (/dev/scd0 -> /dev/sg0)?

Here is the fix to this problem.

As root, at /dev, run "MAKEDEV sg"

This will recreate the sg devices.

Worked for me under Debian 3.0

Robert Sheehy

cdrecord: Cannot open '/dev/sg0' 

try it with root first. If it works, then it is the node attribute problem.

tong

documented on: 2005.01.30