The Open Source Swiss Army Knife

/unix/commandline/
/unix/commandline/ + sub-categories
http://www.sirfsup.com/
web directory content
    
      

Not logged in
Chat Register Login
return to:  http:/www.sirfsup.com      /unix   /commandline 
Permalink: cdrecord.htm
Title: add
article options : please login   |  print view

cd recording

  1. links
  2. telling kernel your ide is scsi
    1. kernel setup
    2. boot options
    3. burning
  3. 2.6 kernel
    1. 2.6 kernel modifications
  4. audio

links

kernel setup

The initial error was from xcdroast responds: "Failed to scan the SCSI-bus. Either no permission to access the generic scsi devices or no SCSI support enabled in the kernel. For ATAPI devices you have to install the SCSI-emulation first. See the CD-Writing-HOWTO how to do that."

kernel compilation:

  • Y - SCSI emulation support (CONFIG_BLK_DEV_IDESCSI)
  • Y - SCSI generic support (CONFIG_CHR_DEV_SG)
  • Y - SCSI CD-ROM support (CONFIG_BLK_DEV_SR)
  • SCSI support, SCSI CDROM support, Enable vendor-specific extensions, and SCSI generic support are all checked
  • compiled new kernel and installed it in /boot

boot options

lilo.conf

  • added to the new kernel's section append="hdc=ide-scsi" where /dev/hdc was the cdrom drive. I left the root device and HDDs as ide devices.
Under /dev/, the scd* entries refer to a scsi cdrom
sr does too
the major number is 11
256 SCSI cdroms are allowd

from that point on, cannot refer to it as /dev/hdc because now it's a scsi drive. For example, to mount you need to type sudo mount -t iso9660 /dev/scd0 /mnt/cdrom/ (don't need sudo if 'user' is in next to last column of /etc/fstab).

Problem once is that I made symlink from /dev/scd0 to /dev/hdc and that that won't work when the grub.conf is properly setup with the option

the cdrom was configured on reboot

title Red Hat Linux (2.4.18-14)
        root (hd0,4)
        kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ hdg=ide-scsi hdc=ide-scsi hdd=ide-scsi
        initrd /boot/initrd-2.4.18-14.img
so that the hdc is really ide-scsi. I need to replace that device file by making a new one.

burning

different programs, ways to burn:

  1. entered xcdroast and saw my drive appear as scsi
  2. did copying on the command line
  3. burn an iso image as describe here.
  4. cdrecord dev=0,0 cdimage.raw
    this will lead to permissions like root root r x r x r x
  5. delete the iso cdimage from filesystem after verifying.

audio

went out and bought AUDIO cds which a nerd like myself, didn't have, i only had the data ones!

cdrecord -v speed=4 dev=0,1,0 -pad -audio -dummy *.wav

--> produced tracks with no sound, wrote "successfully".

2.6 kernel modifications

According to this link fedora and 2.6 can burn without loading the ide device as scsi


Leave a Reply
Your Name:     anonymous
Your Email:
Website:  
Comments:

The author will be notified of your reply.
return to top