mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: jw schultz <jw@pegasys.ws>
To: linux-kernel@vger.kernel.org
Subject: Re: which device nodes used by  ips.o module?
Date: Wed, 3 Jul 2002 18:44:11 -0700	[thread overview]
Message-ID: <20020703184411.E392@pegasys.ws> (raw)
In-Reply-To: <Pine.LNX.4.44.0207031601120.20478-100000@netfinity.realnet.co.sz>; from zwane@linuxpower.ca on Wed, Jul 03, 2002 at 04:02:06PM +0200

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

      reply	other threads:[~2002-07-04  1:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-03 14:00 Yaroslav Popovitch
2002-07-03 14:02 ` Zwane Mwaikambo
2002-07-04  1:44   ` jw schultz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020703184411.E392@pegasys.ws \
    --to=jw@pegasys.ws \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®