Kent Jantz wrote:
I'm running Gentoo 1.4 with a 2.6.0 kernel and KDE 3.1.3.

I want to pass a scsihosts boot option but I'm having a problem finding out what 'hosts' my last 2 devices use, here is my cat /proc/scsi/scsi:
Code:


Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: PLEXTOR  Model: CD-R   PX-W1210A Rev: 1.02
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: MT1316B  Model: BDV212B          Rev: 0.43
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: Maxtor   Model: 1394 storage     Rev: 55d
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: zes prin Model: t_sense alloc_di Rev:  [
  Type:   Direct-Access                    ANSI SCSI revision: 02

The first 2 devices are my CDRW and DVD drive so they are fine, the third is my Maxtor External Firewire Drive, and the fourth is my USB Pen Drive(the Vendor, Model, and Rev vary with the time of day). I want to set the order of the Maxtor and USB Device. The problem is when I use scsihosts it is like this:

scsihosts=host1:host2:host3


The problem is I can't figure out what the 'hosts' are for the Maxtor and USB Device, I tried to get it from the 'cat /proc/scsi/scsi' command but I didn't have any luck. I found something on Google about trying 'cat /proc/scsi/sg/host_strs' but that doesn't exist on my system. So how do I find out what my 'hosts' are for the Maxtor and USB device so I can pass it on the the scsihosts command?


Scsi emulation and USB are compiled into my kernel, Firewire and Scsi Disk or compiled as modules.

Try 'cdrecord -scanbus'


--
Andrew Gaffney


-- [EMAIL PROTECTED] mailing list



Reply via email to