<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=iso-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you, Edouard. <br>
<br>
I think you assume 2.4 kernel,&nbsp; but I'm using 2.6.5 ...<br>
<br>
I followed &nbsp; /usr/share/doc/cdrecord/README.ATAPI.setup&nbsp; for 2.6*<br>
<br>
<blockquote type="cite">Kernel 2.6.*<br>
============<br>
Usually you would not want to use ide-scsi with Kernel 2.6 for<br>
CD-writing, the new kernel provides a (from a user's point of view)<br>
superior access method that finally supports DMA access when writing<br>
Audio-CDs or using -raw.<br>
  <br>
If you are converting from ide-scsi first undo the steps 2-7 described
above.<br>
  <br>
1. Become root, try "grep -i dvd .: /var/log/kern.log" to find out
where your<br>
&nbsp;&nbsp; ATAPI-devices are connected to (hd?-names), this should show
something like:<br>
&nbsp;&nbsp; Jan 10 23:40:07 downhill kernel: hdg: FOO-BAR WRI-0815W, ATAPI
CD/DVD-ROM drive<br>
&nbsp;&nbsp; Memorize the device (hdg in the example).<br>
  <br>
2. Become root, setup cdrecord's environment - edit
/etc/default/cdrecord:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CDR_DEVICE=cdrw<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cdrw=/dev/hdg&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8m<br>
&nbsp;&nbsp; Input the right values, the fields are described in the manpage<br>
&nbsp;&nbsp; of cdrecord. Alternatively, you may use this values as<br>
&nbsp;&nbsp; cdrecord-parameter or take a frontend with an own configuration<br>
&nbsp;&nbsp; scheme, then you don't need to modify /etc/default/cdrecord.<br>
&nbsp;&nbsp; The columns must be separated by tabs.<br>
  <br>
3. That's it, 'cdrecord -prcap' should find your writer.<br>
  <br>
4. If you wish to allow non-root users to write CDs, you must give them<br>
&nbsp;&nbsp; permissions to do so. Run "dpkg-reconfigure cdrecord" to set
suid-root<br>
&nbsp;&nbsp; permissions on the executable, then add your users to the cdrom group<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
83</blockquote>
but get <br>
<br>
<blockquote type="cite">Tux:~# cdrecord -prcap<br>
&lt;snip&gt;<br>
scsidev: '1,5,0'<br>
scsibus: 1 target: 5 lun: 0<br>
cdrecord: No such file or directory. Cannot open '/dev/sg*'. Cannot
open SCSI driver.<br>
</blockquote>
and similarly for -scanbus, although xcdroast works. <br>
<br>
I am using the values in the example above for /etc/default/cdrecord.<br>
<br>
'man cdrecord' seems to go on forever.<br>
<br>
What am I missing here ?<br>
<br>
Adam Bogacki,<br>
<a class="moz-txt-link-abbreviated" href="mailto:afb@paradise.net.nz">afb@paradise.net.nz</a><br>
<br>
<br>
E.Chalaron wrote:
<blockquote cite="mid20040617183517.KQZX21194.mta1-rme.xtra.co.nz@there"
 type="cite">
  <pre wrap="">Did you try to emulate a ide-scsi ?

I just resolve this problem with it by pointing /dev/scd0 to 
/dev/scsi/whatever_target_lunetc....

First modify /etc/lilo.conf (MDK, maybe different for Debian ?)

image=/boot/vmlinuz
         label=linux
         root=/dev/hda5
         initrd=/boot/initrd.img 
        append="quiet devfs=mount hdb=ide-scsi hdd=ide-scsi"
         vga=788
         read-only
 image=/boot/vmlinuz
         label=linux-nonfb
         root=/dev/hda5
         initrd=/boot/initrd.img 
        append="devfs=mount hdb=ide-scsi hdd=ide-scsi"
         read-only

Now in  /etc/modules.conf add the 2 follwoing lines :

options ide-cd
pre-install sg modprobe ide-scsi

reboot or reload your modules
and try  :
cdrecord -scanbus
You'll get the SCSI numbers to link with /dev/scd0

Make sure that /etc/fstab is conform to this new config

/mnt/cdrom /mnt/cdrom supermount \ 
dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-15 0 0

Not being a guru, it may not work but I did install few of them like this and 
never failed.

However trying to read a DVD with mplayer or xine is still a pain !
Edouard



  </pre>
  <blockquote type="cite">
    <pre wrap="">Thanks Harry,

I have no 'dvd' entry in /dev so I used 'mkdir dvd' but keep getting the
message that
'mount point /dev/dvd does not exist'. Previously (following someone
from deb-user) I did

rm -rf /dev/dvd
ln -s /dev/hdc /mnt/dvd

with no luck.

Similarly, I get

    </pre>
    <blockquote type="cite">
      <pre wrap="">Tux:~# mount /cdrw
mount: mount point /cdrw does not exist
      </pre>
    </blockquote>
    <pre wrap="">How does one create mount-points ?

Is there an automounting option for DVD's in gnome ?

[... and completely off-topic - how does one get a gmial account ?]

Adam Bogacki,
<a class="moz-txt-link-abbreviated" href="mailto:afb@paradise.net.nz">afb@paradise.net.nz</a>

    </pre>
    <blockquote type="cite">
      <pre wrap="">Hi,

What I would try to do is, check if there is anything in /dev/dvd
directory, and if not delete it. Then create a symlink to /dev/hdc.
This should fix the DVD side of it. Also, DVD movies don't need to be
mounted to played, like Audio CDs.

If the CD-RW is in your fstab (like it is), mount using "mount /cdrw".
I don't know why you can't mount both at the same time, but as I
mentioned above, you don't need to.

Cheers,
Harry.
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
</blockquote>
<br>
</body>
</html>