Docs/Hardware/Cdroms
From Mandriva Community Wiki
Contents |
[edit] Adding SCSI emultation to CD-R drive
Note: that this is only valid for 2.4 kernels; 2.6 uses the ATAPI method
See Derek Jennings' howto for K3b http://www.jennings.homelinux.net/k3b.html
[edit] In case you get I/O error and "scsi: aborting command due to timeouts" using cdrecord
I've ran into problems with cdrecord and my IDE cd-writer after a clean install of 9.2. (my very first install of linux) The Mandrake installation took care of append'ing "hdc=ide-scsi" and so on so cdrecord found the device and could get as a many info/parameters from it as needed. But every time I tried burning I got write error and messages in /var/log/messages that read "scsi: aborting command due to timeouts [...etc...]", and then that the bus was being reset.
I could solve the problem by not mounting the cdrom via supermount. It also works to "manually" unmount "/mnt/cdrom" before burning. This either means to edit /etc/fstab or using draksomething (can't remeber which --it's the one to edit mounting points).
Just in case : the cd-writer is a Lite-On 16102B that has been working fine under Win 2000 (and still does), the kernel is 2.4.22-10mdk, and sys logs don't show any other latent problems. It's a Athlon 2000+ system, m/b Asus A7V8X-X, 512Mb RAM, hda=Seagate Barracuda 40Gb.
I figure that my cdwriter must be particularly sensitive to some kernel/cdrecord trick though, since I've not found any reports of such a problem till now.
[edit] cdrecord Problems and Tips
[edit] Mandriva Linux 9.1
If you have a NEC CDR-3000A cdrom drive or get the following error with the command:
cdrecord -scanbus Cdrecord 2.0 (i586-mandrake-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling Linux sg driver version: 3.1.24 Using libscg version 'schily-0.7' scsibus0: 0,0,0 0) 'YAMAHA ' 'CRW-F1E ' '1.0b' Removable CD-ROM cdrecord: Warning: controller returns wrong size for CD capabilities page. 0,1,0 1) 'NEC ' 'CD-ROM DRIVE:28D' '3.03' Removable CD-ROM
This error message refers to the drive following it. You will probably have difficulties doing a direct CD to CD copy as well. You can try to upgrade the firmware of the drive. This works with some didn't work this NEC. If after you upgrade the firmware and you still get this message, you have two options.
- Rewrite or wait for a fix parts of the cdrecord package and possibly parts of the kernel.
- Install a CDROM drive that works.
I opted for number 2. I didn't have this problem with the hardware in MDK 9.0 and it hasn't been tested with MDK 9.2. This is caused by buggy/non-standard firmware for the CDROM drive.

