LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   IDE-SCSI emulation problem (https://www.linuxquestions.org/questions/linux-newbie-8/ide-scsi-emulation-problem-51164/)

rdoucet 03-22-2003 10:19 AM

IDE-SCSI emulation problem
 
Hi! I have trouble setting up IDE-SCSI on my machine.
I have a CDRW SONY CRX 1411 and I tried everything I could find on the net to get cd-X-roast to work. My machine doesn't see my drive even if the ide-scsi module is loaded. it sees it still as /dev/hdc.
lilo.conf:
append=\"cdrom=ide-scsi\" tried hdc instead of cdrom and no difference.

fstab:
/mnt/cdrom /mnt/cdrom supermount dev=/dev/cdrom,fs=iso9660,ro,--,iocharset=iso8859-1 0 0
loaded module @ startup: /sbin/modprobe ide-scsi
Cat /proc/modules gives me
ide-scsi 8212 0
scsi_mod 90372 2 [sg ide-scsi]

any idea how I can get cdrecord or x-cd-roast to see my drive as scsi?

[richard@localhost hd]$ cdrecord -scanbus Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open \'/dev/pg*\'.
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\'.

Thanks!!!
Rich :Pengy:

MasterC 03-22-2003 01:33 PM

First off the syntax appears incorrect, try this:
append="hdc=ide-scsi"

Make sure it's hdc not cdrom, and make sure hdc is the correct device:
hda = Primary Master
hdb = Primary Slave
hdc = Secondary Master
hdd = Secondary Slave

:)

Cool

rdoucet 03-22-2003 02:03 PM

Hi!
I tried that and it didn't work

it's hdc


Rich

MasterC 03-23-2003 01:53 AM

Look through your dmesg, first try by browsing the whole thing:
dmesg | less
Then narrow it down a bit:
dmesg | grep sd
dmesg | grep scd
dmesg | SONY

See if you can find any mention of your device there. If not, maybe you are missing a module...

Can you post up your /etc/lilo.conf and maybe snippets from your dmesg on your device?

How is your device connected? Are you trying this as root?

Cool

carlywarly 03-23-2003 05:05 AM

Quote:

Originally posted by rdoucet
Hi!
I tried that and it didn't work

it's hdc


Rich

You did run the lilo command after the changes, didn't you? If not, the changes are not activated.

rdoucet 03-23-2003 08:55 AM

Hi here's my dmesg|less info(I cut lots):

Linux version 2.4.19-16mdk (quintela@bi.mandrakesoft.com) (gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)) #1 Fri Sep 20 18:15:05 CEST 2002

hda: FUJITSU MPE3136AH, ATA DISK drive
hdb: MAXTOR 6L040J2, ATA DISK drive
hdc: SONY CD-RW CRX1611, ATAPI CD/DVD-ROM drive

Here is the other d|mess
[root@localhost richard]# dmesg|grep sd
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[root@localhost richard]# dmesg|grep scd
[root@localhost richard]# dmesg|SONY
bash: SONY: command not found
[root@localhost richard]#

lilo.conf
boot=/dev/hda
map=/boot/map
vga=normal
default=linux
keytable=/boot/qc-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label=linux
root=/dev/hda1
initrd=/boot/initrd.img
append="quiet devfs=mount, hdc=ide-scsi"
vga=788
read-only
image=/boot/vmlinuz
label=linux-nonfb
root=/dev/hda1
initrd=/boot/initrd.img
append="quiet devfs=mount, hdc=ide-scsi"
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hda1
initrd=/boot/initrd.img
append="failsafe devfs=nomount"
read-only
other=/dev/fd0
label=floppy
unsafe

And yes I run this as root. My CD-ROM is connected with an IDE cable.

What a headache lol

Rich

markgdiesel 03-25-2003 01:23 PM

You need the load the SCSI modules before you can load the ide-scsi module. In my cas with Debian Woody i do the following;
modprobe loop
modprobe sg
modprobe ide-scsi

and of course place append=dev/hdd=ide-scsi in Lilo and rerun Lilo. See also the CD-writing How to, ikt explains this item in more detail

rdoucet 03-26-2003 08:30 AM

Fixed!!
 
Hi!
Thank you for all your help. I still couldn't get it to see my drive. Got fed up, re-formatted my partition, installed Mandrake 9.1 and it detected it right away in the installation.

Thank you with your support, you guys are great!!

Richard

:D :D :D


All times are GMT -5. The time now is 10:44 PM.