- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- kernel rebuild fails - unsatisfied symbols
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
Forums
Discussions
Discussions
Discussions
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
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
05-21-2001 11:14 PM
05-21-2001 11:14 PM
K class running 10.20
after making some parameter changes (usual nfiles nflocks etc) I tried to run mk_kernel and got the following problem
---------
Compiling conf.c...
Loading the kernel...
/usr/ccs/bin/ld: Unsatisfied symbols:
st_ats_enabled (data)
/usr/ccs/bin/ld: (Warning) Linker features were used that may not be supported in future releases. The +vallcompatwarnings option can be used to display more details, and the ld(1) man page contains additional information. This warning can be suppressed with the +vnocompatwarnings option.
*** Error exit code 1
Stop.
config: make did an exit(1)
----------
I then tried
--------------
#find ./ -type f -exec grep -l st_ats_enabled {} \;
./master.d/scsi-tune
./space.h.d/scsi-tune.h
./lib/libhp-ux.a
next step
---------
#what scsi-tune
cant open scsi-tune (26)
#what scsi-tune.h
cant open scsi-tune.h
#what libhp-ux.a
cant open libhp-ux.a (26)
the libraries etc are there and permissions are okay, space on /stand seems okay (two kernels in there already and less than half space used)
I have searched using the help fuction but can find nothing on st_ats_enabled and far too many unrelated with something like libhp-ux.a
any ideas where to go from here, I guess libhpux -a is corrupt but will intalling latest library patch fix it?
regards
Paul Gold
CAST systems
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 11:31 PM
05-21-2001 11:31 PM
Re: kernel rebuild fails - unsatisfied symbols
If you kernel fails to build youre in trouble.
First thing to do is try to get back to a working kernel. Did you save your system file before you made changes ? If so restore it, and check if mk_kernel works. If so, great. Something must have been wrong with your changes, recheck them. If not, then your in big trouble. Try creating a new system file from the currently running kernel; /usr/lbin/sysadm/system_prep -v -s system
Then try to build a new kernel from this system file. If it doesnt work something is majorly wrong with your system - something in the kernel build dir (/usr/conf) or in /stand. You may need to recover these from a backup. If you cant get back to the point where your kernel will build your dead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 11:55 PM
05-21-2001 11:55 PM
Re: kernel rebuild fails - unsatisfied symbols
# rm -r /stand/build
# mk_kernel
(# kmupdate # if you want to use this kernel)
If successful this should recreate the build directory and create a build/vmunix_test.
If still unsuccessful you should verify that st_ats_enabled is defined in libhpux.a:
# cd /usr/conf/lib
# nm -x libhpux.a |grep st_ats_enabled
This should give you:
st_ats_enabled |0x400019e8|extern|data |$SHORTDATA$
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2001 12:16 AM
05-22-2001 12:16 AM
Re: kernel rebuild fails - unsatisfied symbols
thanks
the kernel still did not build after clearing /stand/build
and it seems that st_ats_enabled is not defined in libhp-ux.a
# nm -x libhp-ux.a | grep st_ats_enabled
st_ats_enabled | |undef |data |
does this mean the libhp-ux.a is out of sync with the system, we had a reinstall about 6 weeks ago due to a melted disk, one of the operators restored data after system was rebuilt and mayhave overwritten a library
the system is up and running and reboots okay as I have not tried to move a different kernel in, but I do need to make these parameter changes for our applications to run
thanks
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2001 12:28 AM
05-22-2001 12:28 AM
Re: kernel rebuild fails - unsatisfied symbols
Yes, it certainly looks like your system is out of sync - ie. some of the files restored arent from the same date+time. You need to get to a point where you can build a kernel first, before you try to make your changes. Follow my advice in my first post to get it working - you may need to restore /usr/conf as well as /stand from a backup from the same date in order to get your kernel to build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2001 12:57 AM
05-22-2001 12:57 AM
SolutionThe symbol "st_ats_enabled" is introduced by the stape patch. I recommend to re-install this or the latest stape patch and all its dependencies. The most current patch is PHKL_23790 for HPUX 11.00 (do you run 11.00??).
The most current dependent patches are:
PHKL_18543 PM/VM/UFS/async/scsi/io/DMAPI/JFS/perf patch
PHKL_20016 2nd CPU not recognized in G70/H70/I70
PHCO_21845 cumulative SAM/ObAM patch
PHKL_22589 LOFS, select(), IDS/9000 and umount race fix
PHCO_23651 fsck_vxfs(1M) cumulative patch
PHKL_23790 SCSI Tape (stape) cumulative
PHKL_24027 VxFS 3.1 cumulative patch
PHKL_24116 probe,sysproc,PM,VM,PA-8700 cumulative patch
You should make sure that you (re-)install them all in one swinstall run (you need to swcopy them in one depot)!
Optionally and perhaps easier for you, is to find out the current stape patch that you are using and to reinstall only this one (you should have resolved all the dependencies before).
# swlist -l product PH\* | grep stape
# swinstall -x reinstall=true -x autoreboot=true -s
In any case, make sure that you read the special installation instruction of the patches and that all dependent patches are installed.
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2001 01:05 AM
05-22-2001 01:05 AM
Re: kernel rebuild fails - unsatisfied symbols
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2001 11:36 PM
05-23-2001 11:36 PM
Re: kernel rebuild fails - unsatisfied symbols
thanks for all your help
stape was the one causing the problem, as a temporary measure I removed stape from my new kernel build and it compiled with no errors (did have a warning but thats unrelated and I know how to fix that one)
the reason for removal is that I have no stape patches according to swlist, I will be installing the latest bundle at the earliest opportunity
appreciate your help
Paul Gold
CAST systems