- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- WARNING: MOD: mod_obj_relone: Illegal relocation t...
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
тАО01-14-2004 05:22 AM
тАО01-14-2004 05:22 AM
WARNING: MOD: mod_obj_relone: Illegal relocation type R_IA_64_LTOFF_TPREL22 154 (0x9a)
I am getting the following message immediately prior to "MOD: mod_obj_load: Relocation in module XXXX" error message on IA-64-based 11.22. The same DLKM compiles and loads and works fine on PA-RISC. I suspect that the problem is in accesss to the u-area. For instance, to make the reference naspp module fail, one can add something that gets the current directory. Thanks for any pointers.
- Tags:
- DLKM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2004 03:27 AM
тАО01-15-2004 03:27 AM
Re: WARNING: MOD: mod_obj_relone: Illegal relocation type R_IA_64_LTOFF_TPREL22 154 (0x9a)
http://www.docs.hp.com./hpux/onlinedocs/dlkm-62001/dlkm-62001.html
In particular, the +kernel option will cause cc to use a R_IA_64_TPREL22 relocation instead of a R_IA_64_LTOFF_TPREL22 relocation. (The "LTOFF" part refers to a symbol lookup table that normal programs use to find symbols that may be located in shared libraries.)
- Tags:
- +kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2004 04:10 AM
тАО01-15-2004 04:10 AM
Re: WARNING: MOD: mod_obj_relone: Illegal relocation type R_IA_64_LTOFF_TPREL22 154 (0x9a)
printf("I am being loaded by pid %d\n",
u.u_procp_->p_pid) ; (of course you will need to include
it lists +XixdU option in CC_OPTS_ia64 while the compiler reports that it is only supported on PA-RISC.
Here is a full transcript (I have header in my own location - it does not change a thing):
/opt/ansic/bin/cc -c -o mod.o -Wp,-H300000 +kernel +O2 +Olit=all +DD64 -Ae +Oshortdata=0 -r -DLWSYSCALL -DPGPROF -DACLS -DAUDIT -DIDDS -D__ROSE__ -DHPONCPLUS -DVARIABLE_UAREA -DSTCP -DIVT_INTERCEPT -D_UNSUPPORTED -D_HPUX_SOURCE -D_XPG4_EXTENDED -D_KERNEL -D__STDC_EXT__ -D_CLEAN_BE -D_SYSCALL_64 -D__NO_PA_HDRS -DKERNEL_DEBUGGER -U__IA64__ -U__hp9000s800 -U__hp9000s700 -U__hppa -I. -I/mystuff/HPUX1122-64/h -I/mystuff/HPUX1122-64 naspp.c
kminstall -u naspp
config -M naspp -u
Generating module: naspp...
(Bundled) cc: warning 922: "+Oshortdata=0" is unsupported in the bundled compiler, ignored.
Requesting loadable module update...
The following modules are activated successfully:
naspp
/tmp/naspp> kmadmin -L naspp
kmadmin: naspp: Object file error in loading kernel module
/tmp/naspp> dmesg -
Jan 15 12:18
WARNING: MOD: mod_obj_relone: Illegal relocation type R_IA_64_LTOFF_TPREL22 154
(0x9a) in module /stand/dlkm.4006C159079B/mod.d/naspp/0.1.0/naspp.
NOTICE: MOD: mod_obj_load: Relocation in module /stand/dlkm.4006C159079B/mod.d/naspp/0.1.0/naspp failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2004 07:51 AM
тАО01-15-2004 07:51 AM
Re: WARNING: MOD: mod_obj_relone: Illegal relocation type R_IA_64_LTOFF_TPREL22 154 (0x9a)
(The cc_bundled on 11.23 actually does use R_IA_64_TPREL22 in +kernel mode. I don't know what other problems it may have with building a DLKM.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2004 08:53 AM
тАО01-15-2004 08:53 AM
Re: WARNING: MOD: mod_obj_relone: Illegal relocation type R_IA_64_LTOFF_TPREL22 154 (0x9a)
). The "cc_bundled..." message comes from /usr/conf/gen/config.lm which is hard-coded to use ccs binaries. I actually tried building everything with /opt/ansic/bin/cc and it did not help. I heard that ANSI C 5.50 may resolve the issue...
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2004 08:31 PM
тАО10-21-2004 08:31 PM
Re: WARNING: MOD: mod_obj_relone: Illegal relocation type R_IA_64_LTOFF_TPREL22 154 (0x9a)
I have a machine with 11.22 on it with the ANSI compiler version A.05.36 (May 20 2002) and I can't get my DLKM modules to load for the same reason as yours, I keep getting the same error message. I even removed cc_bundled and symlinked it to /opt/ansic/bin/cc.
This means that I can't ship my modules to any customer who has 11.22 with that compiler. Is there any solution?
thanks
Michael Umansky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2004 12:10 AM
тАО10-22-2004 12:10 AM
Re: WARNING: MOD: mod_obj_relone: Illegal relocation type R_IA_64_LTOFF_TPREL22 154 (0x9a)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2004 01:27 AM
тАО10-22-2004 01:27 AM
Re: WARNING: MOD: mod_obj_relone: Illegal relocation type R_IA_64_LTOFF_TPREL22 154 (0x9a)
Regards, Dmitry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2004 04:47 AM
тАО10-22-2004 04:47 AM
Re: WARNING: MOD: mod_obj_relone: Illegal relocation type R_IA_64_LTOFF_TPREL22 154 (0x9a)
Spasibo
misha