LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   IDE CD-RW drive magically turned SCSI (https://www.linuxquestions.org/questions/mandriva-30/ide-cd-rw-drive-magically-turned-scsi-143229/)

vincebs 02-07-2004 12:38 AM

IDE CD-RW drive magically turned SCSI
 
Hi everyone,

I have a SONY 12x/8x/32x CD-RW drive that worked perfectly in RedHat and my first installation of Mandrake Linux.

However, after DiskDrake trashed my hard disk I had to re-install Mandrake and Windows. After re-installing, I found out that my CD-RW drive, which had previously been correctly identified as an IDE drive, became a SCSI CD-RW drive.

I've heard that sometimes Linux needs to emulate SCSI in order to write CD's, but I had no problem before using RedHat in plopping files into Nautilus and clicking "Write CD".

Here's what Hardware Browser tells me about my "SCSI" IDE drive:

Code:

Bus: ‎SCSI

Ubicación en el bus: ‎0:0:0

Capacidad de la unidad: ‎grabadora

Canal: ‎00

Dispositivo devfs nuevo: ‎/dev/scsi/host0/bus0/target0/lun0/cd

Archivo de dispositivo antiguo: ‎/dev/scd0

Formato del disquete: ‎SONY CD-RW  CRX160E

Clase de soporte: ‎cdrom

What do I do to convince Mandrake it's really an IDE drive? I want to be able to uncheck SCSI support in my kernel 2.6.2 configuration without losing access to my CD-RW drive!

Thanks,
Vince

b0uncer 02-07-2004 06:27 AM

Well, if you don't have scsi-emulation enabled, I guess it looks up your drive as an IDE-drive :) at least when I wanted to get my IDE look like SCSI, all I did was enable scsi-emulation. I guess it works the other way also? Try it. Mandrake should find your drive at bootup nevertheless, and if you don't have ide-scsi / scsi-emulation in your kernel, then it just won't see it as "scsi" drive....I think.

But why would you want to get scsi out? In my opinion, it doesn't hurt you...and writing through IDE-drive (not scsi-emulation) is, as far as I know, more "dangerous" to do..I mean, there is a greater possibility to get errors and other problems, and it might even be slower on some devices..? I use scsi-emulation, and I'm happy.

Btw, if you use IDE-rw and start up XCDRoast, it tells you you're trying to use a IDE-rw, which isn't wise :) Well, if your drive works out fine as IDE, then use it if you wish...it's just that I can't see anything "bad" in using scsi emulation and/or support...

If it's module (scsi thingies), then just remove loading them. If scsi-stuff is compiled in kernel, just remove them & compile it again...I don't think you need to do anything else.

snacky 02-07-2004 06:29 AM

atapi writing IS faster in 2.6 kernels and with the 2.0 or higher version of cdrecord. ide-scsi emulation is used mainly because the cdrecord guys have been doing things wrongly up until now. Or at least, this is my understanding of what Linus says.

vincebs 02-08-2004 02:40 AM

Quote:

Originally posted by b0uncer

If it's module (scsi thingies), then just remove loading them. If scsi-stuff is compiled in kernel, just remove them & compile it again...I don't think you need to do anything else.

Yeah, but I'm having trouble with compiling things as modules for kernel 2.6 so I'm trying to have as few modules as possible. At the same time, I'm trying to make my kernel smaller and therefore faster. Right now Mandrake boots up twice as slow as my Windows ME.

vincebs 02-26-2004 09:09 PM

And by the way, I just tried removing "hdd=ide-scsi" from my kernel arguments but now CD-recording doesn't work at all.

Any way for me to use my IDE CD-RW drive as an IDE CD-RW drive without having to recompile kernels?

b0uncer 02-27-2004 04:21 AM

hmm.. I'm using Xcdroast (gui) app to burn my cds, and it does find my cd-drives no matter if they're told to be ide-scsi or not. actually, my two cd-drives show up as four in Xcdroast's setup; my normal ide-atapi, cd-rw as ide, cd-rw as ide-scsi and cd-rw as ide again (don't know why the last one is there :) hehe)

"Right now Mandrake boots up twice as slow as my Windows ME." <-- well, what I've experienced, windows boots quickly but crushes too, perhaps even quicker ;) hehe.. well, my Arch is nowadays booting quite quickly.


All times are GMT -5. The time now is 08:57 AM.