You are not logged in.

#1 2008-01-21 04:11:01

X04D
Member
Registered: 2008-01-20
Posts: 22

Can't burn CD image

Not sure what's happening here but my dvd rw apparently no longer works, at least, not in Arch.

sudo mount /dev/scd0

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       missing codepage or other error
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

cat /etc/fstab (relevant line)

/dev/scd0 /mnt/dvd   udf,iso9660   user,noauto   0      0

cat /etc/mtab

/dev/sda2 / ext3 rw 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev ramfs rw 0 0
none /proc/bus/usb usbfs rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/sda1 /home ext3 rw 0 0

dmesg|tail

end_request: I/O error, dev sr0, sector 64
end_request: I/O error, dev sr0, sector 1248
end_request: I/O error, dev sr0, sector 1024
UDF-fs: No partition found (1)
end_request: I/O error, dev sr0, sector 64
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
end_request: I/O error, dev sr0, sector 64
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16
end_request: I/O error, dev sr0, sector 64
isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, block=16

Commenting out the line doesn't help, it just gives me an error about /dev/scd0 not being in /etc/fstab or /etc/mtab.  Rebooting doesn't help.

Any ideas?

Offline

#2 2008-01-21 06:06:10

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: Can't burn CD image

Change /dev/scd0 to /dev/sr0 in /etc/fstab and/or on the command line.

Offline

#3 2008-01-21 13:23:51

X04D
Member
Registered: 2008-01-20
Posts: 22

Re: Can't burn CD image

sudo mount /dev/sr0

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
       missing codepage or other error
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Offline

#4 2008-01-21 15:03:54

X04D
Member
Registered: 2008-01-20
Posts: 22

Re: Can't burn CD image

Anyone?

Offline

#5 2008-01-21 16:19:37

X04D
Member
Registered: 2008-01-20
Posts: 22

Re: Can't burn CD image

I don't get it.  I just put in a data DVD and copied a bunch of files off it.  But I can't write an image to a DVD?

Offline

#6 2008-01-21 16:25:01

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Can't burn CD image

Were you trying to mount a blank DVD to write to it?  You can only mount devices with file systems on them.  If you want to burn a DVD, just insert a blank one, fire up your favorite burning software, and away you go.

Offline

#7 2008-01-21 16:31:05

X04D
Member
Registered: 2008-01-20
Posts: 22

Re: Can't burn CD image

peart wrote:

Were you trying to mount a blank DVD to write to it?  You can only mount devices with file systems on them.  If you want to burn a DVD, just insert a blank one, fire up your favorite burning software, and away you go.

Ah.

Hm...

$ growisofs -dvd-compat -Z /dev/sr0=/home/loke/debian-40r2-i386-netinst.iso -speed=16
:-( "/dev/sr0=/home/loke/debian-40r2-i386-netinst.iso": unexpected errno:No such file or directory

$ growisofs -dvd-compat -Z /dev/scd0=/home/loke/debian-40r2-i386-netinst.iso -speed=16
:-( "/dev/scd0=/home/loke/debian-40r2-i386-netinst.iso": unexpected errno:No such file or directory

$ ls /home/loke|grep debian
debian-40r2-i386-netinst.iso

Offline

#8 2008-01-21 16:51:30

X04D
Member
Registered: 2008-01-20
Posts: 22

Re: Can't burn CD image

After a reboot...

growisofs -dvd-compat -Z /dev/sr0=/home/loke/debian-40r2-i386-netinst.iso
:-( unable to open64("/dev/sr0",O_RDONLY): Permission denied

Here we go again.

Arch is awesome, so glad I tried it! roll

Offline

#9 2008-01-21 17:04:38

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Can't burn CD image

I don't know if it's related, but I see you didn't mount your dvdrw as writable.

The wiki about fstab is rather well documented, so give the options 'user' and 'rw' a try. Here at work I mount my dvdrw also as a 'auto'-fs instead of 'udf,iso9660'.

Zl.

Offline

#10 2008-01-21 17:15:21

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: Can't burn CD image

I just thought of 2 other possibilities:
1) Your user might need to be in the optical group.
2) If all else fails, there's always the Wiki: http://wiki.archlinux.org/index.php/DVD_writing

Offline

#11 2008-01-21 17:39:57

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Can't burn CD image

It works for me... which means that most likely something is misconfigured on your system.

$ growisofs -dvd-compat -Z /dev/scd0=/home/filip/crux-2.4.iso
Executing 'builtin_dd if=/home/filip/crux-2.4.iso of=/dev/scd0 obs=32k seek=0'
/dev/scd0: "Current Write Speed" is 2.0x1352KBps.
    3080192/258381824 ( 1.2%) @0.7x, remaining 5:31 RBU 100.0% UBU   2.0%
(...)
  254672896/258381824 (98.6%) @1.9x, remaining 0:01 RBU  44.5% UBU  53.1%
builtin_dd: 126176*2KB out @ average 1.8x1352KBps
/dev/scd0: flushing cache
/dev/scd0: updating RMA
/dev/scd0: closing disc

I use hal to do the mounting so my fstab looks like this:

(...)
#/dev/cdrom /mnt/cdrom    iso9660       ro,user,noauto,unhide   0    0
#/dev/dvd /mnt/dvd       udf           ro,user,noauto,unhide   0    0
/dev/sda1 /boot        ext2         defaults         0    1
/dev/sda2 swap        swap         defaults         0     0
/dev/sda3 /         reiserfs     noatime,notail        0    1
/dev/sda4 /home     reiserfs     noatime,notail        0    1

Here are my user's groups:

$ groups
tty lp wheel log network video audio optical floppy storage camera power users filip tex

Here are my daemons from /etc/rc.d:

DAEMONS=(syslog-ng preload autowifi acpid laptop-mode alsa crond fam hal mpd sshd)

/etc/mtab with blank dvd-r in the drive:

/dev/sda3 / reiserfs rw,noatime,notail,commit=0 0 0
(...)
/dev/sda1 /boot ext2 rw 0 0
/dev/sda4 /home reiserfs rw,noatime,notail,commit=0 0 0

/etc/mtab with a written dvd mounted by hal:

/dev/sda3 / reiserfs rw,noatime,notail,commit=0 0 0
(...)
/dev/sda1 /boot ext2 rw 0 0
/dev/sda4 /home reiserfs rw,noatime,notail,commit=0 0 0
/dev/sr0 /media/CRUX-2.4-20071219 iso9660 ro,nosuid,nodev,uid=1000 0 0

Last edited by fwojciec (2008-01-21 17:42:27)

Offline

Board footer

Powered by FluxBB