[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Burning CD's on TiBook IV



Hi digger

On Thu, 2004-02-12 at 22:44, digger vermont wrote:
> Hi Wolfgang
> 
> On Thu, 2004-02-12 at 15:53, Wolfgang Pfeiffer wrote:
> > Hi All
> > 
> > I need some valid docs for burning CD's on a 
> > Powerbook G4.
> > 
> > I'm on unstable, 2.4.22-ben2., Gnome-2.4
> > 
> 
> I'm using unstable also with a powerbook G4.
> 
> > nautilus-cd-burner doesn't work, and the docs I found so far on CD
> > Burning don't seem to be reliable enough (outdated?) to change my
> > settings with them.
> > 
> 
> I believe that nautilus-cd-burner worked for me in the past.  But then
> we are using unstable ;)
> 
> I've also had good results with xcdroast.  I believe the doc's that came
> with it were enough to help me get started.  With the 2.4 kernel you'll
> probably want to use ide-scsi(?) module.  I'm using a 2.6 kernel and its
> no longer needed.

Thanks. And yes, it helps ..

Problem is, if I set up my CD stuff for 2.4, it won't work (or least
these 2.4 settings are deprecated) for 2.6. Or that's at least what I
found in the article below (which is, BTW,  part of the cdrtools-doc
package).

Actually the document (the "README.ATAPI.setup.gz") seems to be a good
starting point -- but I think I'll have to make a decision for 2.4 or
2.6 ... :) More on it in the following docs, second part, below "Kernel
2.6.*", first few lines there:

_________________________________________________________

Howto setup an ATAPI CD-RW/DVD+-RW recorder on Debian
=====================================================

Kernel 2.4.*
============
Where we start:
   Linux: Kernel 2.4.20-bf2.4 (Debian package kernel-image-2.4.20-bf2.4)
   Distribution: Debian Woody 3.0r2, i386
   Devices: one CDRW-Writer, one CDROM-drive, both ATAPI

1. Become root, try "grep hd.: /var/log/kern.log" to find out where your
   ATAPI-devices are connected to (hd?-names).
2. Edit your boot configuration file, eg. /etc/lilo.conf if you use
   lilo or the batch-file if you boot via loadlin.
3. Find a line where you can append additional kernel parameters, eg.
   "append=" in lilo.conf or the loadlin-line in the batch file.
4. Append sth. like this: "hdb=ide-scsi hdc=ide-scsi max_scsi_luns=1"
   The hdX-parameters defines devices that should be mapped to SCSI
   latter. You may do it with non-writers too, since the emulation layer
   is almost complete. Or omit some so the devices will use their
   native drivers (eg. ide-cd).
5. Save the file, reinstall the bootloader (ie. running "/sbin/lilo")
6. Call "modconf" in a console or xterm, enter the section 
   "kernel/drivers/scsi", load "sg" and "ide-scsi"
7. Reboot Debian, watch while booting, you should see a line like this
   "Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0".
   Your old ATAPI devices virtually don't exist any longer, you cannot refer to
   /dev/hd* as CDROM drives. Use the SCSI equivalents instead, /dev/sr*.
8. Become root, setup devices:
      cd /dev
      MAKEDEV sg scd
      ln -s scd0 cdrom # NOTE: or cdrw, first check which drive is here
      ln -s scd1 cdrw  # NOTE: see above, maybe cdrom
   Check the new SCSI settings:
      cdrecord -scanbus
   Setup cdrecord's environment - edit /etc/default/cdrecord:
      CDR_DEVICE=cdrw
      cdrw=1,0,0        4       8m
      cdrom=1,2,0       0       0m
   Input the right values, the fields are described in the manpage
   of cdrecord. Alternatively, you may use this values as
   cdrecord-parameter or take a frontend with an own configuration
   scheme, then you don't need to modify /etc/default/cdrecord.
   The columns must be separated by tabs.
9. It's done! Insert a CD and try "cdrecord -v -toc". To create your first CD-ROM, try:
   
   mkisofs -v -r -J /directory/to/be/written | cdrecord -v -dummy -

   (read cdrecord(1), "man 1 cdrecord", for details)

10. If you wish to allow non-root users to write CDs, you must give them 
    permissions to do so. Run "dpkg-reconfigure cdrecord" to set suid-root 
    permissions on the executable, then add your users to the cdrom group 
    ("adduser user cdrom") and let the user completely logout and re-login.

Kernel 2.6.*
============
Usually you would not want to use ide-scsi with Kernel 2.6 for
CD-writing, the new kernel provides a (from a user's point of view)
superior access method that finally supports DMA access when writing
Audio-CDs or using -raw.

If you are converting from ide-scsi first undo the steps 2-7 described above.

1. Become root, try "grep -i dvd .: /var/log/kern.log" to find out where your
   ATAPI-devices are connected to (hd?-names), this should show something like:
   Jan 10 23:40:07 downhill kernel: hdg: FOO-BAR WRI-0815W, ATAPI CD/DVD-ROM drive
   Memorize the device (hdg in the example).

2. Become root, setup cdrecord's environment - edit /etc/default/cdrecord:
      CDR_DEVICE=cdrw
      cdrw=/dev/hdg     4       8m
   Input the right values, the fields are described in the manpage
   of cdrecord. Alternatively, you may use this values as
   cdrecord-parameter or take a frontend with an own configuration
   scheme, then you don't need to modify /etc/default/cdrecord.
   The columns must be separated by tabs.

3. That's it, 'cdrecord -prcap' should find your writer.

4. If you wish to allow non-root users to write CDs, you must give them 
   permissions to do so. Run "dpkg-reconfigure cdrecord" to set suid-root 
   permissions on the executable, then add your users to the cdrom group 
   ("adduser user cdrom") and let the user completely logout and re-login.

________________________________________________________

Best Regards
And Thanks again

Wolfgang


> 
> Hope this gives you something to go on
> 
> digger
-- 
Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer



Reply to: