Re: Trobles with cdrtools and atapi drive on 5.2-RELEASE

From: Harald Hanche-Olsen (hanche_at_math.ntnu.no)
Date: 01/24/04


Date: 24 Jan 2004 15:15:46 +0100


+ bomberboy <news@bomberboy.invalid>:

| On Sat, 24 Jan 2004 13:04:23 +0100, Harald Hanche-Olsen wrote:
|
| > Is the cdrtools port broken in 5.2-RELEASE, or am I doing something
| > wrong? Can cdda2wav no longer access an IDE CD player over ATAPI?
|
| Are you sure that has ever been possible?

Absolutely. The command I quoted came out of a script I used to rip
CDs on my laptop. The script was last edited last August, and has
been used extensively since then.

| Afaik cdda2wav and cdrecord all require a scsi-device (or
| emulation).

Yas, and this is provided by the atapi* drivers in the kernel (plus, I
presume, corresponding functionality in the drive itself).

| > Here is the command I have used successfully under 5.1-RELEASE to rip
| > an audio CD, and what happens on 5.2-RELEASE:
| >
| > ; cdda2wav -D /dev/acd0 -B -L 0
| > cdda2wav: Invalid argument. Open by 'devname' not supported on this OS. Cannot open SCSI driver.
| > open(/dev/acd0) in file interface.c, line 532
|
| acd0 is an atapi-device, and if I'm correct, cdda2wav cannot handle those
| directly.

Well, whatever the explanation, it worked under 5.1-RELEASE.

| > This is on a generic kernel, hence with all the atapi stuff configured
| > into the kernel. And my CD-ROM drive looks like this:
|
| Try recompiling your kernel with atapicam enabled (requires some other
| scsi-things but they are all present in the generic kernel, like scbus)

Will do, though I suspect that it may automatically include atapicam
with the other atapi stuff, such as atapicd. For instance, I have a
memory stick installed on a USB port, and I can use camcontrol on it.
That would be relying on atapicam being present, no? Anyway, it's
just laziness that stopped me from building my own kernle up to now
anyway, so I'll get to it and report back.

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- Debating gives most of us much more psychological satisfaction
  than thinking does: but it deprives us of whatever chance there is
  of getting closer to the truth.  -- C.P. Snow


Relevant Pages

  • SUMMARY: 2.4.21 packet-mode UDF CDRW via USB from external ATAPI burner
    ... The Linux kernel version was 2.4.21. ... the ATAPI CDRW drive is detected as a scsi1 cdrom, ... the usb-storage module does a SCSI emulation. ... command translation for all ATAPI CDRW drives in general. ...
    (comp.os.linux.hardware)
  • Re: kernel 2.6.1 and cdrecord on ATAPI bus
    ... > Is CD burning supposed to work with kernel 2.6.1 using the ATAPI ... > interface, or are bugs still being worked out? ... > several versions of cdrecord equally well. ...
    (Linux-Kernel)
  • Re: recent 5.1-CURRENT kernel panics on acd0 probe/attach, IBM T30
    ... email I saw the message about atapicam from Kenneth to Martin. ... Removing atapicam from my kernel configuration fixed the problem ... The cry has been that when war is declared, ...
    (freebsd-current)
  • Re: my experiences w/ xcdroast on fc2
    ... the kernel compile inserted this automatically. ... > The Linux kernel crew prefer the ATAPI interface on ... > specific sources will probably point you to SCSI ...
    (Fedora)
  • Re: Using nvidia-driver with 6-x/CURRENT
    ... If you use burncd instead of cdrecord there is no need for atapicam in the ... For simple burning, burncd is enough. ... > nvidia driver and here are my first rough experiences: ... > from my kernel, because it stopped my system from booting. ...
    (freebsd-current)