- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: DLKM load module meet a strange problem.
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
тАО03-17-2009 07:43 PM
тАО03-17-2009 07:43 PM
DLKM load module meet a strange problem.
Last night I reinstall system, after that I use acc to compile a mod to load. But I meet error in loading, the message is:
bash-4.0# make load
cp vtdisk /usr/conf/mod/vtdisk
if [[ -n "vtdisk.prep" ]] ; then \
cp vtdisk.prep /usr/conf/mod/vtdisk.prep ; \
fi
/usr/sbin/kcmodule -s vtdisk=best
* The automatic 'backup' configuration has been updated.
No preload
ERROR: Unable to load module 'vtdisk': Object file error in loading
kernel module
postload
*** Error exit code 2
Stop.
WARNING: MOD: mod_obj_relone: Overrun of module DLT or long branch stub table for module /stand/current/mod/vtdisk.
NOTICE: MOD: mod_obj_load: Relocation in module /stand/current/mod/vtdisk failed.
WARNING: mod_deletestr: could not find string in the dump string table
MOD: mod_load_helper: error loading vtdisk
It's strange because I have a module that is compiled before the system reinstalled, and this module load well.
Can anyone help me with this problem?
Thanks.
Young
- Tags:
- DLKM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 09:54 PM
тАО03-17-2009 09:54 PM
Re: DLKM load module meet a strange problem.
Is it the system problem?
- Tags:
- DDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 10:31 PM
тАО03-17-2009 10:31 PM
Re: DLKM load module meet a strange problem.
HP-UX 11i Version 2 Foundation Operating Environment june 2008.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 11:04 PM
тАО03-17-2009 11:04 PM
Re: DLKM load module meet a strange problem.
>NOTICE: MOD: mod_obj_load: Relocation in module /stand/current/mod/vtdisk failed.
How big is the text area of vtdisk?
size /stand/current/mod/vtdisk
There may be a limit of 16 Mb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 11:53 PM
тАО03-17-2009 11:53 PM
Re: DLKM load module meet a strange problem.
My module is small, just 24576.
I have reinstall the ddk.depot, ansic and gcc, but still useless.
I don't known what means "overrun of module DLT or long branch stub table".
Thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 12:08 AM
тАО03-18-2009 12:08 AM
Re: DLKM load module meet a strange problem.
It means you have too many references to global/static variables or you have too many branches into the kernel.
Or you have used the wrong compile options.
Can you attach your vtdisk module (and vtdisk.prep?)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 12:27 AM
тАО03-18-2009 12:27 AM
Re: DLKM load module meet a strange problem.
Here is my prep script:
#!/sbin/sh
############################################################
#This is vtdisk module preparation script
###########################################################
PATH=/sbin:/usr/sbin:/usr/bin
modulename=$1; shift
operation=$1; shift
case $operation in
'preload')
#no op
echo "No preload"
exit 0
;;
'postload')
echo "postload"
status=$1; shift
if [[ $status = 'FAIL' || $status = 'ABORT' ]]; then
#Failed to load, nothing to do
exit 0
fi
if [[ $status != 'LOAD' ]]; then
#unknown command. Exit with no errors/warnings
exit 2
fi
if lsdev | grep vtdisk
then
major_char=`lsdev -h -d vtdisk | awk '{print $1}'`
major_block=`lsdev -h -d vtdisk | awk '{print $2}'`
mknod /dev/rdsk/vtdisk c $major_char 0x000000
mknod /dev/dsk/vtdisk b $major_block 0x000000
else
echo "vtdisk not loaded"
fi
exit 0
;;
'preunload')
echo "preunload"
exit 0
;;
'postunload')
echo "postunload"
status=$1; shift
if [[ $status = 'FAIL' || $status = 'ABORT' ]]; then
#Failed to unload, nothing to do
exit 0
fi
if [[ $status != 'UNLOAD' ]]; then
#unknown command. Exit with no errors/warnings
exit 2
fi
rm /dev/rdsk/vtdisk
rm /dev/dsk/vtdisk
exit 0
;;
esac
#unreachable
exit 1
This is almost the same with the ddk sample driver 's.
Young
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 03:35 AM
тАО03-18-2009 03:35 AM
Re: DLKM load module meet a strange problem.
I have added /usr/local/bin to $PATH, and it was the apple of discord!
After I resume the profile, it goes well again.
But I don't actually know why it casued this problem.
- Tags:
- foreign devil tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 04:55 PM
тАО03-18-2009 04:55 PM