HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: DLKM developmet question
Operating System - HP-UX
1832086
Members
3206
Online
110037
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- Report Inappropriate Content
02-26-2006 12:44 PM
02-26-2006 12:44 PM
DLKM developmet question
Hi , All .
I am developing a DLKM for an Itanium box
running HP-UX 11.23.
If I login as root and build the module - I have a working binary that can be loaded/unloaded by kcmodule as expected.
But if I login as another user and build the module, I have a binary that could not be loaded by kcmodule, giving errors:
WARNING: MOD: mod_obj_relone: Overrun of module DLT or long branch stub table for module /stand/current/mod/mymodule.
NOTICE: MOD: mod_obj_load: Relocation in module /stand/current/mod/mymodule failed.
WARNING: mod_deletestr: could not find string in the dump string table
MOD: mod_load_helper: error loading mymodule
The object files (including modmeta) are binary equal for both builds.
But the results of modlink have 1 byte difference (well, if not look at timestamps).
Fixing the byte in "nonworking" binary gives us a "working" one.
So, quiestion - is there any enviroment dependency or whatever that makes modlink produce different binaries ?
How can I get the "correct" DLKM binary , not being logged in as root ?
Thanks for any suggestions.
I am developing a DLKM for an Itanium box
running HP-UX 11.23.
If I login as root and build the module - I have a working binary that can be loaded/unloaded by kcmodule as expected.
But if I login as another user and build the module, I have a binary that could not be loaded by kcmodule, giving errors:
WARNING: MOD: mod_obj_relone: Overrun of module DLT or long branch stub table for module /stand/current/mod/mymodule.
NOTICE: MOD: mod_obj_load: Relocation in module /stand/current/mod/mymodule failed.
WARNING: mod_deletestr: could not find string in the dump string table
MOD: mod_load_helper: error loading mymodule
The object files (including modmeta) are binary equal for both builds.
But the results of modlink have 1 byte difference (well, if not look at timestamps).
Fixing the byte in "nonworking" binary gives us a "working" one.
So, quiestion - is there any enviroment dependency or whatever that makes modlink produce different binaries ?
How can I get the "correct" DLKM binary , not being logged in as root ?
Thanks for any suggestions.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2006 05:17 PM
02-26-2006 05:17 PM
Re: DLKM developmet question
Wow, I have solved it .
looks like modlink uses current $PATH , executing ld and maybe some other executables... so the PATH was a bit incorrect in the user's account and another (probably older) versions of ld were in use.
Anyway, modlink could be more verbous ...
looks like modlink uses current $PATH , executing ld and maybe some other executables... so the PATH was a bit incorrect in the user's account and another (probably older) versions of ld were in use.
Anyway, modlink could be more verbous ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2006 04:53 PM
03-01-2006 04:53 PM
Re: DLKM developmet question
maybe this will be interesting for anyone ...
To be more precise it was GNU nm 2.15 that causes building of unloadable module.
Using HP nm (nm HP Itanium(R) B.12.23 REL 040623) has solved the problem .
To be more precise it was GNU nm 2.15 that causes building of unloadable module.
Using HP nm (nm HP Itanium(R) B.12.23 REL 040623) has solved the problem .
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP