I'm having problems with reading data DVDs that have been burned with either cdrecord or growisosfs from ISO images created with mkisofs.
I have a script that creates a softlink to each file that I want in the ISO file.
- cd to temporary directory
- create softlinks via a loop using command "ln source_file_name link_name"
Then the following command is used to create the ISO image
mkisofs -l -T -J -R -A "apache logs $start through $end" -V "apache $start - $end" -o /tmp/apache_$start-$end.iso .
To burn the DVD I have used the following commands
- growisofs -Z /dev/hdd=apache.iso
- cdrecord dev=ATA:1,1,0 driveropts=burnfree -sao -v apache.iso
No errors are encountered during the burn session.
However, if I attempt to mount the DVD
[root@xxx log]# mount /dev/hdd /mnt/tmp
/dev/hdd: Invalid argument
mount: block device /dev/hdd is write-protected, mounting read-only
/dev/hdd: Invalid argument
mount: you must specify the filesystem type
Specifying "-t iso9660", "-t auto", "-t vfat" does not help.
In /var/log/messages, the following is seen when attempting to mount the DVD:
Sep 7 13:30:35 foobar kernel: FAT: bogus number of reserved sectors
Sep 7 13:30:35 foobar kernel: VFS: Can't find a valid FAT filesystem on dev hdd.
In /var/log/messages the following entries are made when the system is booted
[root@xxx log]# grep hdd messages.2
Aug 30 12:01:20 xxx kernel: ide1: BM-DMA at 0x6c68-0x6c6f, BIOS settings: hdc:pio, hdd:DMA
Aug 30 12:01:20 xxx kernel: hdd: SONY DVD RW AW-Q170A, ATAPI CD/DVD-ROM drive
Aug 30 12:01:20 xxx kernel: hdd: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(66)
Aug 30 12:01:35 xxx fstab-sync[4175]: added mount point /media/cdrecorder for /dev/hdd
I am able to mount the DVD successfully under windows.
Burning the DVD using Nautilis gives me the same results.
What am I missing?
Thanks!
problems burning data DVDs under Centos 4.6
Re: problems burning data DVDs under Centos 4.6
Some more information:
If I connect a DVDwriter via USB, the disk is read and mounted.
/var/log/messages
Sep 7 14:44:47 xxx kernel: usb 1-3: new high speed USB device using address 2
Sep 7 14:44:47 xxx kernel: Initializing USB Mass Storage driver...
Sep 7 14:44:47 xxx kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Sep 7 14:44:47 xxx kernel: Vendor: TSSTcorp Model: CDDVDW SH-S202N Rev: SB01
Sep 7 14:44:47 xxx kernel: Type: CD-ROM ANSI SCSI revision: 02
Sep 7 14:44:47 xxx kernel: usbcore: registered new driver usb-storage
Sep 7 14:44:47 xxx kernel: USB Mass Storage support registered.
Sep 7 14:44:47 xxx scsi.agent[5276]: cdrom at /devices/pci0000:00/0000:00:1e.0/0000:04:02.3/usb1/1-3/1-3:1.0/host1/target1:0:0/1:0:0:0
Sep 7 14:44:48 xxx kernel: sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Sep 7 14:44:48 xxx fstab-sync[5343]: added mount point /media/cdrecorder1 for /dev/scd0
Sep 7 14:45:08 xxx kernel: cdrom: sr0: mrw address space DMA selected
/etc/mtab
/dev/scd0 /media/cdrecorder1 iso9660 ro,nosuid,nodev,user=xxx 0 0
/etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=20
splashimage=(hd0,0)/grub/splash.xpm.gz
#
title CentOS (2.6.9-67.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-67.ELsmp ro root=LABEL=/
initrd /initrd-2.6.9-67.ELsmp.img
If I connect a DVDwriter via USB, the disk is read and mounted.
/var/log/messages
Sep 7 14:44:47 xxx kernel: usb 1-3: new high speed USB device using address 2
Sep 7 14:44:47 xxx kernel: Initializing USB Mass Storage driver...
Sep 7 14:44:47 xxx kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Sep 7 14:44:47 xxx kernel: Vendor: TSSTcorp Model: CDDVDW SH-S202N Rev: SB01
Sep 7 14:44:47 xxx kernel: Type: CD-ROM ANSI SCSI revision: 02
Sep 7 14:44:47 xxx kernel: usbcore: registered new driver usb-storage
Sep 7 14:44:47 xxx kernel: USB Mass Storage support registered.
Sep 7 14:44:47 xxx scsi.agent[5276]: cdrom at /devices/pci0000:00/0000:00:1e.0/0000:04:02.3/usb1/1-3/1-3:1.0/host1/target1:0:0/1:0:0:0
Sep 7 14:44:48 xxx kernel: sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Sep 7 14:44:48 xxx fstab-sync[5343]: added mount point /media/cdrecorder1 for /dev/scd0
Sep 7 14:45:08 xxx kernel: cdrom: sr0: mrw address space DMA selected
/etc/mtab
/dev/scd0 /media/cdrecorder1 iso9660 ro,nosuid,nodev,user=xxx 0 0
/etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=20
splashimage=(hd0,0)/grub/splash.xpm.gz
#
title CentOS (2.6.9-67.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-67.ELsmp ro root=LABEL=/
initrd /initrd-2.6.9-67.ELsmp.img
Re: problems burning data DVDs under Centos 4.6
[root@xxx log]# hdparm -i /dev/hdd
/dev/hdd:
Model=SONY DVD RW AW-Q170A, FwRev=1.70, SerialNo=
Config={ Fixed Removeable DTR10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 *udma4
AdvancedPM=no
* signifies the current active mode
[root@xxx log]# cat /proc/ide/hdd/driver
ide-cdrom version 4.61
/dev/hdd:
Model=SONY DVD RW AW-Q170A, FwRev=1.70, SerialNo=
Config={ Fixed Removeable DTR10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=0kB, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 *udma4
AdvancedPM=no
* signifies the current active mode
[root@xxx log]# cat /proc/ide/hdd/driver
ide-cdrom version 4.61
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
problems burning data DVDs under Centos 4.6
After burning the DVD, be sure to manually eject and reload the disk to reset the DVD writer.
There should be entries in /media.
mount /media/cdrecorder
There should be entries in /media.
mount /media/cdrecorder
Re: problems burning data DVDs under Centos 4.6
Hey Gerald,
Thanks for the feedback.
I did the manual ejection, and as noted, I have tried several different burn programs to boot.
In addition, I also took the ISO image and burned it on my Windows XP system using Nero with the same results when trying to mount the DVD on /dev/hdd.
I've done some further reading and at one point it was recommended to modify the boot command to include "hdd=ide-scsi". Is this still the recommended practice for Centos 4.
Regards,
Gary
Thanks for the feedback.
I did the manual ejection, and as noted, I have tried several different burn programs to boot.
In addition, I also took the ISO image and burned it on my Windows XP system using Nero with the same results when trying to mount the DVD on /dev/hdd.
I've done some further reading and at one point it was recommended to modify the boot command to include "hdd=ide-scsi". Is this still the recommended practice for Centos 4.
Regards,
Gary
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: problems burning data DVDs under Centos 4.6
Except for the model number, my hdparm looks the same, and my drive works.
Try replacing the drive.
Try replacing the drive.