Andrew Gaffney wrote:
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'

Ok, here is the results:

scsibus4:
        4,0,0   400) '3SYSTEM ' 'USB FLASH DISK  ' '1.00' Removable Disk
        4,1,0   401) *
        4,2,0   402) *
        4,3,0   403) *
        4,4,0   404) *
        4,5,0   405) *
        4,6,0   406) *
        4,7,0   407) *

That's just for the USB Device, do I use 3SYSTEM? I don't even know if I can do this because scsihosts might not even be in the 2.6.0 kernel, check another reply I did in this thread for details.

Thanks,
Kent



--
[EMAIL PROTECTED] mailing list



Reply via email to