cdrecord —scanbus 

Newsgroups:  gmane.linux.debian.user
Date:        Thu, 28 Oct 2004 12:42:09 -0700

On Thu, 2004-10-28 at 13:33 -0500, John Fleming wrote:

> Debian Sarge - I can burn CDs using K3B from the GUI, but I can't do
> anything that uses cdrecord from the console, e.g. mondoarchive or direct
> cdrecord commands.  Here's the response from cdrecord --scanbus:
>
> # cdrecord --scanbus
> cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open
> SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'.

Post the output from:

cdrecord dev=ATA: -scanbus

Eric Gaumer

cdrecord —scanbus 

> > Check your CD/DVD drives using
> >
> > $>cdrecord -scanbus dev=ATAPI
>
> # cdrecord -scanbus dev=ATAPI
> scsidev: 'ATAPI'
> devname: 'ATAPI'
> scsibus: -2 target: -2 lun: -2
> Warning: Using ATA Packet interface.
> Warning: The related Linux kernel interface code seems to be unmaintained.
> Warning: There is absolutely NO DMA, operations thus are slow.
> Using libscg version 'schily-0.8'.
> scsibus0:
>         0,0,0     0) 'HL-DT-ST' 'RW/DVD GCC-4480B' 'C104' Removable CD-ROM
>         0,1,0     1) *
>         0,2,0     2) *
>         0,3,0     3) *
>         0,4,0     4) *
>         0,5,0     5) *
>         0,6,0     6) *
>         0,7,0     7) *
> #
>
> In KDE, the CDROM is device /dev/hde, NOT read-only, mount point
> /media/cdrom0.
> K3B works fine.

There you have it… use dev=ATAPI:0,0,0 in your cdrecord command.

Eric Gaumer

cdrecord —scanbus 

> > There you have it... use dev=ATAPI:0,0,0 in your cdrecord command.
>
> About this ATAPI interface. Anybody can give some comment on reliability
> and speed? I read the following warning then switched to ide-scsi because
> at least ide-scsi is actively maintained. I didn't want to hung onto a
> dead-end module...
>
> > Warning: The related Linux kernel interface code seems to be unmaintained.
> > Warning: There is absolutely NO DMA, operations thus are slow.

This is just Jorg trying to make everyone believe he knows more about kernels than Linus. The ATA interface is recommended over SCSI emulation by kernel developers. Search the kernel mailing list archives and you'll see pages of discussions about this. SCSI emulation is deprecated.

Eric Gaumer