Hi! I'm trying to rip some music CD with cdda2wav, but that fails. I have "LG GSA-4165B" (PATA drive) connected on 8086:24db (Intel ICH5 IDE controller) using ata_piix. cdda2wav first fails with ENOMEM (16 times) and then with EDOM till the end of the track in response to the "ReadCD MMC 12" (code 0xbe) SG_IO command (see attached output and strace). Ripping on plain SCSI CD drive works OK. Tested on 2.6.16-rc4 and alans 2.6.16-rc4-ide2. I also applied your fix mailed to LKML on Tue, 21 Feb 2006 00:17:14 -0500. Cheers, Vita