Operating System - Linux
1819794 Members
3423 Online
109607 Solutions
New Discussion юеВ

qla2xxx driver not creating /sys/class/fc_host entries

 
Brem Belguebli
Regular Advisor

qla2xxx driver not creating /sys/class/fc_host entries

Hi,


When installing Qlogic driver provided by Proliant Support Pack 8, the /sys/class/fc_host tree is not created.

The behavior is the same on both RHEL4 and 5.
Although the cards work fine, I'm a little confused not finding the /sys/class/fc_host tree.
I couldn't find anything in sysfs docs allowing the control of sysfs trees, I guess it's up to each driver to create or not the sysfs subtrees

Am I wrong ?


5 REPLIES 5
Brem Belguebli
Regular Advisor

Re: qla2xxx driver not creating /sys/class/fc_host entries

Hi,

It is definitely the driver shipped with the Proliant Support Pack that doesn't create the fc_host subtree.

Can I assign myself points ?

S. Lawrence
New Member

Re: qla2xxx driver not creating /sys/class/fc_host entries

You can have points if you figured out a way to get the WWID's of your HBA cards without lookin in /sys/class/fc_host

I'm a bit stuck.

Steve.
S. Lawrence
New Member

Re: qla2xxx driver not creating /sys/class/fc_host entries

No worries..

It appears the PSP 8.10 adds a qlxfailover option, that the driver doesn't understand.
(but previous versions did)

If you remove the qlx options line(s) from your /etc/modprobe.conf altogether the /sys/class/fc_host tree gets created.

Odd that it works with the incorrect option still, and odder further that the incorrect option prevents the /sys/class/ entries...

Can't say as I'm at all impressed with the RH5 psp's...

Steve.
Brem Belguebli
Regular Advisor

Re: qla2xxx driver not creating /sys/class/fc_host entries

To get the port or Node WWID without /sys/class/fc_host subtree.

Easy,

cat /proc/scsi/qla2xxx/0 | grep 'adapter-'

I'll try without the qlxfailover option.

Thanks
Brem Belguebli
Regular Advisor

Re: qla2xxx driver not creating /sys/class/fc_host entries

Hi again,

The problem with the qlxfailover was that there is a typo putting qlfailover (or something similar) which is not recognized by the driver.

I've tested without the qlxfailover option but it doesn't change things /sys/class/fc_host is not created.

I've gone bad by removing all extra HP options qla2xxx in the modprobe, the result is the same.

By reinstalling the redhat driver (in fact the whole kernel kernel-smp-2.6.9-67.EL rpm) the fc_host subtree is created.