lkml.org 
[lkml]   [2002]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: which device nodes used by ips.o module?
On Wed, Jul 03, 2002 at 04:02:06PM +0200, Zwane Mwaikambo wrote:
> On Wed, 3 Jul 2002, Yaroslav Popovitch wrote:
>
> >
> > I could not find information about device nodes which are used by ips.o
> > module(IBM ServeRAID 4Mx).
> > I don't have hardware, as result I cannot check in experiment.
> > Would you help me ...
>
> By device nodes do you mean /dev/foo? In which case its just
> /dev/sd[abc...]
>

Check dmesg

dmesg should output something like:

Vendor: WDIGTL Model: ENTERPRISE Rev: 1.91
Type: Direct-Access ANSI SCSI
revision: 02
Vendor: SEAGATE Model: ST32155W Rev: 0528
Type: Direct-Access ANSI SCSI
revision: 02
Vendor: COMPAQPC Model: ST34371N Rev: 0472
Type: Direct-Access ANSI SCSI
revision: 02
Vendor: TEAC Model: CD-ROM CD-516S Rev: 1.0D
Type: CD-ROM ANSI SCSI
revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
Detected scsi disk sdc at scsi1, channel 0, id 0, lun 0
SCSI device sda: 8515173 512-byte hdwr sectors (4360 MB)
Partition check:
sda: sda1 sda2 sda3
SCSI device sdb: 4197405 512-byte hdwr sectors (2149 MB)
sdb: sdb1
SCSI device sdc: 8386000 512-byte hdwr sectors (4294 MB)
sdc: unknown partition table

If you forget channel, HBA, or ID your device is on look in
/proc/scsi/scsi which should contain something like:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: WDIGTL Model: ENTERPRISE Rev: 1.91
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: SEAGATE Model: ST32155W Rev: 0528
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: COMPAQPC Model: ST34371N Rev: 0472
Type: Direct-Access ANSI SCSI
revision: 02
Host: scsi1 Channel: 00 Id: 05 Lun: 00
Vendor: TEAC Model: CD-ROM CD-516S Rev: 1.0D
Type: CD-ROM ANSI SCSI
revision: 02


All you have to do is match the HBA, channel, id, lun
tuple with the dmesg entry "Detected scsi disk..."



--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw@pegasys.ws

Remember Cernan and Schmitt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:27    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog