- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: STREAMS DLKM Module
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
- Report Inappropriate Content
тАО04-01-2003 03:06 AM
тАО04-01-2003 03:06 AM
I wrote a DLKM Streams module in HP-UX 11.11. When I use the kminstall, config, & kmupdate tools, it generates the following error message. The same module works in another HP-UX 11.11. I think there must be some kernel param setting or patchs to fix this problem. Is there any one to give solution for this problem.
kminstall -a mymodule
# config -M mymodule
Generating module: mymodule...
/usr/ccs/bin/ld: /stand/build/mod_wk.d/mymodule/mod_conf.o: Mismatched ABI. 64-bit PA object file found in 32-bit link.
*** Error exit code 1
Stop.
config: make did an exit(1)
rgds,
Hari
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2003 03:15 AM
тАО04-01-2003 03:15 AM
Re: STREAMS DLKM Module
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2003 11:09 AM
тАО04-02-2003 11:09 AM
Re: STREAMS DLKM Module
your module must be compiled to the same "bitness" as the kernel into which it is to be loaded.
if the kernel is 64-bit you need to compile your module with +DD64
"bitness" of the running kernel can be retrieved via a getconf command and an apropriate paramter as described in the getconf manpage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-02-2003 07:13 PM
тАО04-02-2003 07:13 PM
Re: STREAMS DLKM Module
The getconfig KERNEL_BITS returns 64.
I tried the +DD64, but it vain. I don't know which Make file the config calls. I found a make file in /usr/bin/make, but it is a binary file.
The steps involed in the module installation is..
b4 these steps, the current directory should contain the mymodule.c file, mod.o the object file [compiled using the settings given, master file & a system file]. The problem is the comfig compiles the mymodule.c again, hence it ends in an error
kminstall -a mymodule
config -M mymodule
kmupdate -M mymodule
I tried the same steps in another Server, it works cool, but I'm unab;e to figure out the settings. can anyone suggest?
-Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2003 07:53 AM