LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-22-2003, 10:19 AM   #1
rdoucet
Member
 
Registered: Mar 2003
Location: Québec, Canada
Posts: 33

Rep: Reputation: 15
Exclamation 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
 
Old 03-22-2003, 01:33 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 03-22-2003, 02:03 PM   #3
rdoucet
Member
 
Registered: Mar 2003
Location: Québec, Canada
Posts: 33

Original Poster
Rep: Reputation: 15
Hi!
I tried that and it didn't work

it's hdc


Rich
 
Old 03-23-2003, 01:53 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 03-23-2003, 05:05 AM   #5
carlywarly
Member
 
Registered: Feb 2003
Location: Sunny Southport, again.
Distribution: PCLinuxOS 0.93 and 0.92, Vector sometimes
Posts: 825

Rep: Reputation: 30
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.
 
Old 03-23-2003, 08:55 AM   #6
rdoucet
Member
 
Registered: Mar 2003
Location: Québec, Canada
Posts: 33

Original Poster
Rep: Reputation: 15
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
 
Old 03-25-2003, 01:23 PM   #7
markgdiesel
LQ Newbie
 
Registered: Mar 2003
Location: Zeewolde, Holland
Distribution: Debian Woody, Gentoo
Posts: 24

Rep: Reputation: 15
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
 
Old 03-26-2003, 08:30 AM   #8
rdoucet
Member
 
Registered: Mar 2003
Location: Québec, Canada
Posts: 33

Original Poster
Rep: Reputation: 15
Talking 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

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ide-scsi emulation RestInPieces Linux - Newbie 3 10-31-2004 04:45 PM
ide-scsi emulation problem/ cdrw not accesible RestInPieces Linux - General 2 08-12-2004 12:18 PM
SCSI-Emulation, IDE second drive (slave) urgent problem. m4rccd Linux - Hardware 15 02-20-2004 12:41 AM
No ide SCSI emulation on 2.6? moger Linux - General 1 01-17-2004 09:42 PM
ide-scsi emulation vabaliukas Linux - Hardware 2 07-07-2003 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration