Difference: CdWriter (8 vs. 9)

Revision 904 May 2004 - TobyCabot

Line: 1 to 1
 HP 9350i 10x4x32 IDE, slave on ide0
Changed:
<
<
Read CD-writing HOWTO at LDP ( http://en.tldp.org/HOWTO/CD-Writing-HOWTO.html ).
>
>
As of Linux 2.6 you don't seem to need to use SCSI emulation anymore as long as you tell cdrecord what to do using dev=ATAPI on the command line.
 
Changed:
<
<
In a nutshell you need to configure the ide-scsi module so that the cdrecord tool thinks it's writing to a scsi burner. Note that the device shows up as /dev/scd0, not /dev/hdd.

Using modules you need to load ide-scsi before ide-cd so that it grabs the cdrom, or else tell ide-cd not to use one of the cdrom drives.

If you want to let people other than root use the CD drive you'll need to chmod both /dev/scd0 and /dev/sg0.

>
>
Also make sure that the ide_generic module is loaded.
 

Changed:
<
<
poohpa:~# cdrecord -scanbus Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling Using libscg version 'schily-0.1'
>
>
tobyc@dickless:~$ cdrecord -scanbus dev=ATAPI Cdrecord-Clone 2.01a27 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <cdrtools@packages.debian.org>. The original author should not be bothered with problems of this version.

scsidev: 'ATAPI' devname: 'ATAPI' scsibus: -2 target: -2 lun: -2 Warning: Using ATA Packet interface. Warning: The related libscg interface code is in pre alpha. Warning: There may be fatal problems. Using libscg version 'schily-0.8'.

 scsibus0: 0,0,0 0) 'HP ' 'CD-Writer+ 9300 ' '1.0b' Removable CD-ROM 0,1,0 1) *
Line: 22 to 29
  0,5,0 5) * 0,6,0 6) * 0,7,0 7) *
Changed:
<
<
poohpa:~#
>
>
tobyc@dickless:~$
 
Deleted:
<
<
http://www.torque.net/scsi/SCSI-2.4-HOWTO/ - the The Linux 2.4 SCSI subsystem HOWTO is helpful in figuring out which modules need to be loaded and in what order.
 
You use mkisofs to make the iso 9660 filesystem image and then cdrecord to write it to the disk (both packages can be dselected). For example, this will build a filesystem image called /mnt/test/cd_image with /home/cvs as /cvs, /home/www as /www, and /home/postgres as /postgres:
Line: 44 to 49
 Then you can burn a CD with the image (note that the blank=fast flag tells cdrecord to erase the media first - this only works with cd/rw media, also note that the "0,0,0" matches what cdrecord -scanbus output above):


Changed:
<
<
# cdrecord -v speed=4 dev=0,0,0 blank=fast -data /mnt/test/cd_image
>
>
# cdrecord -v speed=4 dev=ATAPI:0,0,0 blank=fast -data /mnt/test/cd_image
 

Alternatively you can pipe the output of mkisofs into cdrecord. This doesn't chew up a lot of temporary disk storage, but you don't get to look at the results before you burn them. This is probably OK if you're using cd/rw media or if you're running the same script over and over (e.g. backups):

# cd /home

Changed:
<
<
# mkisofs -r cvs/=cvs www/=www postgres/=postgres | cdrecord -v speed=4 dev=0,0,0 blank=fast -data -
>
>
# mkisofs -r cvs/=cvs www/=www postgres/=postgres | cdrecord -v speed=4 dev=ATAPI:0,0,0 blank=fast -data -
 

The HOWTO talks about having to do a pro-forma mkisofs run to find out how big the image will be but it appears that the HP 9350i doesn't require this.

Line: 64 to 69
  On the other hand, burning is pretty easy if you've got the wav files handy:

Changed:
<
<
cdrecord -v -pad speed=1 dev=0,0,0 -dao -audio -swab *.wav
>
>
cdrecord -v -pad speed=1 dev=ATAPI:0,0,0 -dao -audio -swab *.wav
 

View topic | History: r14 < r13 < r12 < r11 | More topic actions...
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding The Caboteria? Send feedback