View Full Version : What type CDRW? Shurely shome mishtake!
madape
11th February 2004, 08:32 AM
Good to see this forum growing :)
Fedora (and other distros, I've noticed) incorrectly identify my AOpen CDRW as a scsi device. Its plugged into an ide slot, and uses an ide cable. Could I have inadvertantly bought a scsi cdrw? My motherboard uses UATA 133, could it have incorrectly identified this?
I don't mind it identifying it wrong as long as it works correctly, but my experiments with CD writing using a gnome application (cdtoast ? I forget the name) seem to have little success.
Anyone else get this type of device error?
Many thanks
mhelios
11th February 2004, 09:07 AM
IDE-based CD writers need to use SCSI-emulation in order to work. Therefore, if you add an IDE/ATAPI CD-RW device it will be autoconfigured as an SCSI device using the ide-scsi module that is loaded on boot.
The 2.6 series kernels have direct support for IDE/ATAPI burners and as such no longer need scsci emulation drivers.
To check that your system is seeing the CDRW device on the SCSI bus properly, run cdrecord --scanbus
It should out put something like:
scsibus0:
0,0,0 0) 'SONY ' 'CD-RW CRX160E ' '1.0e' 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) *
Ug
11th February 2004, 09:19 AM
Originally posted by madape
Good to see this forum growing :)
We're trying.
madape
11th February 2004, 09:56 AM
Thank you mhelios :) You're the only forum I've met to have taken a newbie into consideration.
All the other forums I posted in never gave a response. I guess they never took such a simple mistake very seriously.
Many thanks guys :)
mhelios
11th February 2004, 10:07 AM
Originally posted by madape
Thank you mhelios :) You're the only forum I've met to have taken a newbie into consideration.
All the other forums I posted in never gave a response. I guess they never took such a simple mistake very seriously.
Many thanks guys :)
I've participated in many forums around the 'net and I always despise seeing people mock or not support newcomers to our great OS linux. They tell you to "RTFM" or some other really friendly and helpful reply.
I think that's immature and a waste of space. Everyone was new to the game once right? Every question no matter how simple should be answered seriously; or at least that's what I aim to do.
Welcome to the forums madape, don't hesitate to ask any questions here. :)
madape
11th February 2004, 10:52 AM
I think that's immature and a waste of space. Everyone was new to the game once right? Every question no matter how simple should be answered seriously; or at least that's what I aim to do.
*Every component in madape's pc gives mhelios a standing ovation*
And one day I'll be able to return the same to people
Ug
11th February 2004, 01:12 PM
Exactly, its just a shame that some people don't realise there is a cycle to these things.
anandrajan
18th February 2004, 09:19 PM
I use ide-scsi on redhat 9 for my IDE Plextor CD-RW. Does anyone know if ide-scsi is needed when we switch to 2.6? I vaguely remember linus saying something to the effect that ide-scsi was brain dead and would cease to exist in 2.6. I could be wrong.
anand
mhelios
19th February 2004, 10:53 AM
Originally posted by anandrajan
I use ide-scsi on redhat 9 for my IDE Plextor CD-RW. Does anyone know if ide-scsi is needed when we switch to 2.6? I vaguely remember linus saying something to the effect that ide-scsi was brain dead and would cease to exist in 2.6. I could be wrong.
anand
kernel 2.6.x directly supports ATAPI/IDE drives and thus the ide-scsi module is no longer needed.
ekp
26th May 2004, 08:13 PM
I am having a similar problem with my CDRW. FC 2 does not recognize it. It works fine as a reader /dev/cdrom but when scanning for devices with above programs I come up with nothing. See below:
[root@localhost ed]# cdrecord --scanbus
Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
cdrecord: No such file or directory. Cannot open '/dev/hd*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
Any help would be appreciated. SCSI emulation seemed easier in FC 1
boyzonder
27th May 2004, 07:39 PM
To enable SCSI emulation you'll have to recompile your kernel. I'm using kernel 2.6.6 now and have the following config for my DVD and CD-RW (both IDE devices)
"Include IDE/ATAPI CDROM support" as a module. You can find this in "ATA/ATAPI/MFM/RLL support".
(CONFIG_BLK_DEV_IDECD=m)
"SCSI CDROM support" as a module. You can find this in "SCSI device support".
(CONFIG_BLK_DEV_SR=m)
Most importantly, "SCSI generic support" as a module.
(CONFIG_CHR_DEV_SG=m)
To turn the emulation on, I have added "hdc=ide-scsi hdd=ide-scsi" to my kernel parameters in /boot/grub/grub.conf, so it now looks like this:
title Fedora Core (2.6.6)
root (hd0,2)
kernel /boot/vmlinuz-2.6.6 ro root=LABEL=/ hdc=ide-scsi hdd=ide-scsi apm=off rhgb quiet
initrd /boot/initrd-2.6.6.img
title Fedora Core (2.6.5-1.358)
root (hd0,2)
kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.5-1.358.img
As you can see, I have the kernel that came with Fedora still present, and use it without SCSI emulation. On my new 2.6.6 kernel I have enabled it. The reason for this was that xcdroast showed 4 devices instead of the 2 that I have when SCSI emulation was disabled, and now it show the right 2.
If you enable this, be sure to change all lines and links that point to /dev/hdc and /dev/hdd (or whatever the IDE devices are in your case) to /dev/scd0 and /dev/scd1. This goes for /etc/fstab and links like /dev/dvd or /dev/cdrom especially.
To read a bit more on the process of compiling a new kernel, check here
http://www.fedoraforum.org/forum/showthread.php?s=&threadid=2219
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.