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

Re: ide-scsi and initrd

Herbert Xu was roused into action on 2002-11-23 16:11 and wrote:
David P James <dpjames@rogers.com> wrote:

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.

When ide-cd gets loaded, you should see the message

ide-cd: ignoring drive hdb

If you don't, then ide-scsi is not going to work.

# more /var/log/dmesg
SCSI subsystem driver Revision: 1.00
PCI: Found IRQ 10 for device 00:0d.0
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.4
        <Adaptec 2940 Ultra SCSI adapter>
        aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

  Vendor: SEAGATE   Model: ST39175LW         Rev: 0001
  Type:   Direct-Access                      ANSI SCSI revision: 02
(scsi0:A:0): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
scsi0:A:0:0: Tagged Queuing enabled.  Depth 8
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
aha152x: BIOS test: passed, detected 1 controller(s)
aha152x: resetting bus...
aha152x2: vital data: rev=1, io=0x340 (0x340/0x340), irq=9, scsiid=7, reconnect=enabled, parity=enabled, synchronous=enabled, delay=1000, extended translation=disabled
aha152x2: trying software interrupt, ok.
scsi2 : Adaptec 152x SCSI driver; $Revision: 2.4 $
hub.c: USB new device connect on bus1/2, assigned device number 2
input0: USB HID v1.00 Mouse [Logitech Logitech] on usb1:2.0
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
hda: FUJITSU MPC3043AT, ATA DISK drive
hdb: CR-48XATE, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide-cd: ignoring drive hdb
hda: 8448300 sectors (4326 MB), CHS=8940/15/63
 /dev/ide/host0/bus0/target0/lun0: [PTBL] [525/255/63] p1 p2 < p5 >

I do see it, but it's too late... it's coming after hdb is already identified. The CDRW should be identified immediately after scsi1 as a device on scsi1, should it not? That's how my SCSI HD is identified on scsi0 and my scanner when it is attached and on for scsi2.

David P. James
4th Year Economics Student
Queen's University
Kingston, Ontario

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

Reply to: