From: Douglas Gilbert <dougg@torque.net>
To: mmzz@stat.unipd.it, linux-scsi@vger.kernel.org
Subject: Re: lp8000 and 2.6.18-rc6
Date: Sun, 10 Sep 2006 21:06:55 -0400 [thread overview]
Message-ID: <4504B6AF.3080909@torque.net> (raw)
In-Reply-To: <20060910210444.GC22873@stat.unipd.it>
Alberto Cammozzo wrote:
> On Sun, Sep 10, 2006 at 07:56:31AM -0600, Matthew Wilcox wrote:
>> On Sat, Sep 09, 2006 at 11:08:56PM +0200, Alberto Cammozzo wrote:
>>> It's the first time I use this setup... Am I missing something?
>>>
>>> lsmod:
>>> Module Size Used by
>>> lpfc 145600 0
>>> scsi_transport_fc 25568 1 lpfc
>>> iscsi_tcp 19808 1
>>> libiscsi 17504 1 iscsi_tcp
>>> scsi_transport_iscsi 23244 3 iscsi_tcp,libiscsi
>>> skge 31312 0
>>> [...]
>> does the [...] include sd_mod (or sd? i forget what it's called)
>
>
> Thank you Matthew,
>
> I suppose you mean sd, scsi disk support. Yes, it is _statically_
> included in kernel.
> Another hint: if I "modprobe sg" (scsi generic), a bunch of new sg disks
> show up in dmesg, including those from lpfc.
> I noticed they are recognised as an undefined "scsi" device and not as
> "sd" (disks) or "st" (tapes) as other devices present in the same system,
> (see channel 7 in attached log).
>
> st 0:0:5:0: Attached scsi generic sg0 type 1
> ch 0:0:5:1: Attached scsi generic sg1 type 8
> sd 1:0:0:0: Attached scsi generic sg2 type 0
> scsi 1:0:15:0: Attached scsi generic sg3 type 3
> scsi 1:1:9:0: Attached scsi generic sg4 type 3
> scsi 1:2:8:0: Attached scsi generic sg5 type 3
Alberto,
Peripheral device type 3 is "processor" type. It is
often used for SAF-TE targets. These are enclosure
services processors, here is a tool to look at them:
http://oss.metaparadigm.com/safte-monitor
> scsi 7:0:1:0: Attached scsi generic sg6 type 0
> scsi 7:0:3:0: Attached scsi generic sg7 type 0
> sd 8:0:0:0: Attached scsi generic sg8 type 0
> scsi 7:0:0:0: Attached scsi generic sg9 type 0
> scsi 7:0:2:0: Attached scsi generic sg10 type 0
Type 0 is for disks, strange that sd didn't pick up
those devices on host 7. Could you fetch the sg3_utils
package, build it and try 'sg_inq /dev/sg6'. The output
may be interesting.
Doug Gilbert
> Anyway here's the full lsmod:
> Module Size Used by
> sr_mod 12292 0
> sg 25340 0
> iscsi_tcp 19808 1
> libiscsi 17504 1 iscsi_tcp
> scsi_transport_iscsi 23244 3 iscsi_tcp,libiscsi
> lpfc 145600 0
> scsi_transport_fc 25568 1 lpfc
> skge 31312 0
> via_velocity 28640 0
> crc_ccitt 1888 1 via_velocity
> b44 21484 0
> 8139cp 17856 0
> 3c59x 36776 0
> sctp 136516 2 [unsafe]
> configfs 20784 0
> hwmon 2372 0
>
> Kernel scsi conf:
> # zgrep SCSI /proc/config.gz | grep -v ^#
> CONFIG_SCSI=y
> CONFIG_SCSI_PROC_FS=y
> CONFIG_SCSI_MULTI_LUN=y
> CONFIG_SCSI_SPI_ATTRS=y
> CONFIG_SCSI_FC_ATTRS=m
> CONFIG_SCSI_ISCSI_ATTRS=m
> CONFIG_ISCSI_TCP=m
> CONFIG_SCSI_AIC79XX=y
> CONFIG_SCSI_IPS=y
> CONFIG_SCSI_LPFC=m
>
> Alberto
>
> PS: sorry for multiple posts, I had a "spam" reject notice from vger server...
>
next prev parent reply other threads:[~2006-09-11 1:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-09 21:08 lp8000 and 2.6.18-rc6 Alberto Cammozzo
2006-09-10 13:56 ` Matthew Wilcox
2006-09-10 21:04 ` Alberto Cammozzo
2006-09-11 1:06 ` Douglas Gilbert [this message]
2006-09-11 2:17 ` James Bottomley
2006-09-11 9:51 ` Alberto Cammozzo
2006-09-11 12:21 ` James Smart
2006-09-11 16:29 ` Alberto Cammozzo
2006-09-11 6:40 ` Alberto Cammozzo
2006-09-11 17:00 ` James Bottomley
2006-09-12 6:45 ` Alberto Cammozzo
2006-09-13 14:11 ` James Bottomley
2006-09-13 14:44 ` Douglas Gilbert
2006-09-13 15:20 ` James Bottomley
2006-09-13 15:33 ` Patrick Mansfield
2006-09-13 15:37 ` Alberto Cammozzo
-- strict thread matches above, loose matches on Subject: below --
2006-09-09 21:03 Alberto Cammozzo
2006-09-09 21:01 Alberto Cammozzo
2006-09-10 14:03 ` James Smart
2006-09-10 20:43 ` Alberto Cammozzo
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=4504B6AF.3080909@torque.net \
--to=dougg@torque.net \
--cc=linux-scsi@vger.kernel.org \
--cc=mmzz@stat.unipd.it \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.