Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- compiling hp_qla2x00 on 2.6.24
General
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-04-2008 11:55 PM
09-04-2008 11:55 PM
compiling hp_qla2x00 on 2.6.24
Hi,
I am trying to compile hp_qla2x00 using 2.6.24 on a non-redhat/suse distribution.
Although the driver comes from the end of the 2007, it references some old structs and calls deprecated long time ago.
1. It is using pci_module_init, which has been replaced pci_register_driver. I modified the relevant lines.
2. It is using SET_MODULE_OWNER which has been silently deprecated also. I put the folowing line in linux/netdevice.h :
#define SET_MODULE_OWNER(dev) do { } while (0)
3. This one is the one I stuck. It tries to use kmem_cache_t . This has also been replaced with a struct in linux/slab.h by the end of 2006. I do not feel comfortable with adding ancient typedef definitions from old kernels because I am not sure if it can break.
What can you suggest to me, besides using RHEL5 ?
Does HP has an updated early access version (beta is ok) of this driver ?
thanks a lot
Kind Regards
Berk Ulsoy
I am trying to compile hp_qla2x00 using 2.6.24 on a non-redhat/suse distribution.
Although the driver comes from the end of the 2007, it references some old structs and calls deprecated long time ago.
1. It is using pci_module_init, which has been replaced pci_register_driver. I modified the relevant lines.
2. It is using SET_MODULE_OWNER which has been silently deprecated also. I put the folowing line in linux/netdevice.h :
#define SET_MODULE_OWNER(dev) do { } while (0)
3. This one is the one I stuck. It tries to use kmem_cache_t . This has also been replaced with a struct in linux/slab.h by the end of 2006. I do not feel comfortable with adding ancient typedef definitions from old kernels because I am not sure if it can break.
What can you suggest to me, besides using RHEL5 ?
Does HP has an updated early access version (beta is ok) of this driver ?
thanks a lot
Kind Regards
Berk Ulsoy
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-05-2008 05:33 AM
09-05-2008 05:33 AM
Re: compiling hp_qla2x00 on 2.6.24
Shalom Berk,
Suse is supported, by PSP which includes code for these drivers. I would recommend a more up to date version of PSP to get your code.
If you are trying to compile for an unsupported version of Suse, I don't think this will succeed.
SEP
Suse is supported, by PSP which includes code for these drivers. I would recommend a more up to date version of PSP to get your code.
If you are trying to compile for an unsupported version of Suse, I don't think this will succeed.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-13-2008 02:08 PM
09-13-2008 02:08 PM
Re: compiling hp_qla2x00 on 2.6.24
Hi,
If you are just looking at using the QLogic drivers built-in failover you can just download the newest version from upstream here: http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/SearchByProduct.aspx?ProductCategory=39&Product=936&Os=65&ProductName=QLA2460&OSname=Linux%20Red%20Hat%20(64-bit)
Just make sure you enable failover at compile time (if you need it).
Bgrds,
Finnzi
If you are just looking at using the QLogic drivers built-in failover you can just download the newest version from upstream here: http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/SearchByProduct.aspx?ProductCategory=39&Product=936&Os=65&ProductName=QLA2460&OSname=Linux%20Red%20Hat%20(64-bit)
Just make sure you enable failover at compile time (if you need it).
Bgrds,
Finnzi
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP