2002-07-03 13:57:36

by Yaroslav Popovitch

[permalink] [raw]
Subject: which device nodes used by ips.o module?


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 ...

Cheers,YP

--
Mr. Yaroslav Popovitch - tel. +372 6419975
SOT Finnish Software Engineering Ltd. - fax +372 6419876
Kreutzwaldi 7-4, 10124 TALLINN - http://www.sot.com/
ESTONIA - http://sotlinux.net/


2002-07-03 14:31:18

by Zwane Mwaikambo

[permalink] [raw]
Subject: Re: which device nodes used by ips.o module?

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...]

Cheers,
Zwane

--
http://function.linuxpower.ca


2002-07-04 01:41:54

by jw schultz

[permalink] [raw]
Subject: Re: 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: [email protected]

Remember Cernan and Schmitt