Loading...
 
Skip to main content

CD-RW

After upgrading to FC1 and FC2 CD writing no longer worked. Following were the actions to troubleshoot and correct.

This was very important in finally solving the problem.

/boot/grub/grub.conf
Changed hdd=ide-scsi to hdd=ide-cd

Before
title Fedora Core (2.6.10-1.770_FC2)
root (hd0,0)
kernel /vmlinuz-2.6.10-1.770_FC2 ro root=LABEL=/ vga=0x318 hdd=ide-scsi
initrd /initrd-2.6.10-1.770_FC2.img

After
title Fedora Core (2.6.10-1.770_FC2) No SCSI
root (hd0,0)
kernel /vmlinuz-2.6.10-1.770_FC2 ro root=LABEL=/ vga=0x318 hdd=ide-cd
initrd /initrd-2.6.10-1.770_FC2.img

/etc/modules.conf
One source recommended adding
alias scsi_hostadapter /dev/hdd

This was tried, but no joy

/etc/fstab
Before
/dev/cdrom /mnt/cdrom iso9660 noauto,kudzu,owner,ro 0 0

After
I removed the "kudzu" parameter from /dev/cdrom. The 2nd line "cdrom1" was automagically added by I believe kudzu. At the same time "new hardware detection" during boot no longer continued to report new hardware being added when it hadn't been. Previously it had complained about USB Root. This could have killed 2 birds with 1 stone (purely by accident).

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

In addition, the following output is interesting in that cdrom and cdrom1 / cdwriter point to 2 different places. Loading a read-only CD uses cdrom1.

root@08:48:26 root l /dev/cd*
lrwxrwxrwx 1 root root 9 Oct 4 2003 /dev/cdrom -> /dev/scd0
lrwxrwxrwx 1 root root 8 Mar 30 08:02 /dev/cdrom1 -> /dev/hdd
brw-rw---- 1 root disk 15, 0 Feb 23 2004 /dev/cdu31a
brw-rw---- 1 root disk 24, 0 Feb 23 2004 /dev/cdu535
lrwxrwxrwx 1 root root 8 Mar 30 08:02 /dev/cdwriter -> /dev/hdd


Testing

cdrecord -scanbus

The output of a successful follows...
root@08:09:56 root cdrecord -scanbus
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#) scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) *
1,1,0 101) 'LITE-ON ' 'LTR-40125S ' 'ZS0K' Removable CD-ROM
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *




Blank a CD-RW
cdrecord dev=ATA:1,1,0 blank=fast

The output of a successful follows...
root@08:10:35 root cdrecord dev=ATA:1,1,0 blank=fast
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA:1,1,0'
devname: 'ATA'
scsibus: 1 target: 1 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#) scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'LITE-ON '
Identifikation : 'LTR-40125S '
Revision : 'ZS0K'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Speed set to 704 KB/s
Starting to write CD/DVD at speed 4.0 in real BLANK mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.


Test the write command
cdrecord -dummy -v -eject speed=12 dev=ATA:1,1,0 /tmp/etc.iso

Write the CD-R/CD-RW
cdrecord -v -eject speed=12 dev=ATA:1,1,0 /tmp/etc.iso

The output of a successful follows...
root@08:20:53 root cdrecord -v -eject speed=12 dev=ATA:1,1,0 /tmp/etc.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults.
cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version.
TOC Type: 1 = CD-ROM
scsidev: 'ATA:1,1,0'
devname: 'ATA'
scsibus: 1 target: 1 lun: 0
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.83-RH '@(#)scsi-linux-sg.c 1.83 04/05/20 Copyright 1997 J. Schilling').
SCSI buffer size: 64512
atapi: -1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'LITE-ON '
Identifikation : 'LTR-40125S '
Revision : 'ZS0K'
Device seems to be: Generic mmc CD-RW.
Current: 0x000A
Profile: 0x000A (current)
Profile: 0x0009
Profile: 0x0008
Profile: 0x0002 (current)
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1422080 = 1388 KB
FIFO size : 4194304 = 4096 KB
Track 01: data 202 MB
Total size: 232 MB (23:04.98) = 103874 sectors
Lout start: 233 MB (23:06/74) = 103874 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 5
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11745 (97:25/30)
ATIP start of lead out: 359849 (79:59/74)
1T speed low: 0 (reserved val 0) 1T speed high: 4
2T speed low: 8 2T speed high: 0 (reserved val 10)
power mult factor: 4 6
recommended erase/write power: 5
A1 values: 02 4C D0
A2 values: 4A D8 5A
Disk type: Phase change
Manuf. index: 40
Manufacturer: INFODISC Technology Co., Ltd.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 255975
Forcespeed is OFF.
Speed set to 704 KB/s
Starting to write CD/DVD at speed 4.0 in real TAO mode for single session.
Last chance to quit, starting real write 0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
trackno=0
BURN-Free is OFF.
Performing OPC...
Starting new track at sector: 0
Track 01: 202 of 202 MB written (fifo 100%) buf 100% 4.1x.
Track 01: Total bytes read/written: 212729856/212729856 (103872 sectors).
Writing time: 358.672s
Average write speed 3.9x.
Min drive buffer fill was 99%
Fixating...
Fixating time: 78.166s
cdrecord: fifo had 3351 puts and 3351 gets.
cdrecord: fifo was 0 times empty and 3272 times full, min fill was 89%.


Created by john. Last Modification: Wednesday 30 of March, 2005 06:56:35 MST by john.