[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ide-scsi and initrd



Shyamal Prasad was roused into action on 2002-11-23 00:10 and wrote:
    "David" == David P James <David> writes:

    David> problems. Despite having "hdb=ide-scsi" in my grub config
    David> file ide-cd is still getting loaded first. So I have to
    David> manually run 'rmmod ide-scsi' and then 'insmod ide-scsi',
    David> which for some reason actually works. Just plain silly.

What kernel are you running? I presume you are not running a IDE boot
device, so perhaps you want to tell ide-cd to ignore hdd instead? Now
I'm curious why my set up works (no SCSI devices, lots of IDE of which
only one requires SCSI emulation).


I'm running kernel 2.4.18-686

hda: IDE HD with Windows98
hdb: IDE CDRW
sda: SCSI HD attached to AHA2940UW card (set as BIOS boot device) with Debian 3.0

I had absolutely no problems getting the device to work; it just won't set up properly at boot. I don't know if it has anything to do with having two other SCSI hosts on the system or not...

SCSI0 - AHA2940UW
SCSI1 - ide-scsi
SCSI2 - AHA1502A (for a scanner)

the 2940uw module (which has another name) is loaded first
then ide-cd module is apparently loaded
then ide-scsi
and finally aha152x is loaded

So the problem seems to be ide-cd independent of the other SCSI hosts.

Here's my /etc/modutils/ide-scsi (practically identical to Bob Hauck's):

options ide-cd ignore=hdb
alias scd0 sr_mod
alias scsi_hostadapter ide-scsi
pre-install sg     modprobe ide-scsi
pre-install sr_mod modprobe ide-scsi
pre-install ide-scsi modprobe ide-cd

The thing I don't understand is the ordering in the last line, yet every example I've ever seen online is like this. I'm tempted to flip it one day just to see what happens.

--
David P. James
4th Year Economics Student
Queen's University
Kingston, Ontario
http://members.rogers.com/dpjames/

The bureaucratic mentality is the only constant in the universe.
-Dr. Leonard McCoy, Star Trek IV



Reply to: