Re: lp8000 and 2.6.18-rc6

Alberto Cammozzo
2006-09-11T09:51:28Z

On Sun, Sep 10, 2006 at 09:17:30PM -0500, James Bottomley wrote:
> On Sun, 2006-09-10 at 21:06 -0400, Douglas Gilbert wrote:
> > 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.
>
> That would be characteristic of a zoned array returning PQ not connected
> (or not present) as James Smart suggested ...
>
> sg_inq would confirm this theory.

Thank you James,

Eventually we managed to solve the problem:

Debian sarge has an old rescan-scsi-bus.sh version based on /proc
instead of /sys.

newer lpfc module in 2.6.18 kernels doesn't fill /proc/scsi/HOSTADAPTER,
so older rescan-scsi-bus don't even try to map new devices.

Summarizing: to make partitions visible with lpfc drivers
for Emulex LP8000 HBA under 2.6.18 kernels, use newer rescan-scsi-bus
http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh

Thank you everyone for support and the nice work.

Alberto

--
Alberto Cammozzo
System/Network Manager
Universita` di Padova -IT