- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: kernel rebuild - config fails with -71
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
01-09-2003 04:39 AM
01-09-2003 04:39 AM
I needed to test something with maxdsiz down at 32MB instead of the default 64MB. I used sam to change this, kernel rebuild and reboot went fine.
Now I want to put it back, but kernel rebuild fails like this:
-----
Cannot build a kernel using /usr/sbin/config. The standard output of
the command is shown below:
Stop.
config: make did an exit(1)
The command exitted with exitcode -71.
-----
Now, my guess is that whatever gets called to do the rebuild is failing because it now cannot get enough static memory to do the job. Ulp! Sounds problematic.
Does anyone agree / disagree with the reasoning?
How would one fix this? :-)
thanks in advance __Andy__
BTW. guess what? I'd like help soon! :-) Don't we always!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 04:44 AM
01-09-2003 04:44 AM
Re: kernel rebuild - config fails with -71
You can try build kernel in command line mode.
It's perhaps a missing SAM patch..
Regards,
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 04:44 AM
01-09-2003 04:44 AM
Re: kernel rebuild - config fails with -71
Can't you just boot the previous kernel which should work? It's always a good idea too leave a 'known working kernel' in /stand ...
Regards,
Jochen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 04:48 AM
01-09-2003 04:48 AM
Re: kernel rebuild - config fails with -71
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 04:51 AM
01-09-2003 04:51 AM
Re: kernel rebuild - config fails with -71
-rwxr-xr-x 1 root sys 17561480 Jan 9 09:26 vmunix
-rwxr-xr-x 1 root sys 17561480 Oct 18 14:26 vmunix.prev
which I assume means I do indeed have an old kernel.
OK then, how do use this one.
(sorry to appear so clueless, but I'm, well, clueless, in this particular area of expertise at least - learning all the time! - perhaps I shouldn't have attempted to rebuild the kernel without understanding more of what I'm doing, but too late for regrets!)
thanks all
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 04:55 AM
01-09-2003 04:55 AM
Re: kernel rebuild - config fails with -71
Regards,
Jerome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:00 AM
01-09-2003 05:00 AM
Re: kernel rebuild - config fails with -71
check if there exist a link between /usr/ccs/bin/make and /usr/bin/make. If not please create it:
# ln -s /usr/ccs/bin/make /usr/bin/make
Hopefully that fixes your problem ;-)
Regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:01 AM
01-09-2003 05:01 AM
Re: kernel rebuild - config fails with -71
Once you interrupt the boot process (press any key when you see the message that tells you you have 10 seconds to do so), you'll be at what's called the ISL prompt. Enter the following:
ISL> hpux /stand/vmunix.prev
That ought to get you going.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:03 AM
01-09-2003 05:03 AM
Re: kernel rebuild - config fails with -71
Now that I think about it, you could probably just mv /stand/vmunix.prev /stand/vmunix and then reboot.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:42 AM
01-09-2003 05:42 AM
Re: kernel rebuild - config fails with -71
Otherwise, try - within SAM - using a standard template kernel, and see if that builds.
If not, then go back to the command line and try to build the current kernel.
mk_kernel
Then
kmupdate.
if that works,
try editing the system file to place the parameters you originally had (from your backup system file) and repeat the process -
Don't forget the two kernel commands in HP 11 are
mk_kernel and kmupdate - then reboot.
good luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:44 AM
01-09-2003 05:44 AM
Re: kernel rebuild - config fails with -71
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:50 AM
01-09-2003 05:50 AM
SolutionTo be on the safe side use copy. The /stand/vmunix is suspect but you may want to copy it (if you have enough room) to /stand/vmunix.bad or something. Then just "cp /stand/vmunix.prev /stand/vmunix" and re-boot. If you have problems during the boot you can always go back to /stand/vmunix.bad.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:51 AM
01-09-2003 05:51 AM
Re: kernel rebuild - config fails with -71
If you're going to suggest a command mode kernel rebuild, please provide a complete procedure.
/usr/lbin/sysadm/system_prep -s system
mk_kernel -s system
kmupdate
reboot
shutdown -ry now
If you have troubles, and I think you do, you'll get a good error message to send to support. This is a good reason to have a software contract btw, the guys/(ladies, I've yet to get one on a kernel problem) who handle this are really sharp, will stay up all night with you if need be.
I'd wonder if perhaps you double installed the LITS(Line in the sand) patch PHKL_18543. If so, you're gonna lose a lot of sleep. I have successfully recovered WITHOUT reloading the operating system from that issue.
I also once let a hardware patch bundle corrupt my system file, which generated similar but not duplicate results. As you see, I didn't know about this forum then and learned things the hard way.
Follow the instructions above to back up the old kernel. If /stand is short on space, I think you can get away with storing the kernel on a vxfs filesystem, but you can't boot off that.
I will assume that the kmtune kernel changes are already done otherwise why would he be getting the error.
To recover from a bad kernel;
go to the console, interupt the boot
hpux /stand/vmunix.prev or whatever you named the kernel on backukp.
Please forgive me for typo's or omissions. I tried to be complete.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:57 AM
01-09-2003 05:57 AM
Re: kernel rebuild - config fails with -71
to be an the safe side I would make a backup of the 'working' vmunix.prev before trying to make a kernel again (just copy *.prev to *.good).
Personally I would just boot from the alternate kernel as Pete has described (ISL> ....).
If you want to find lots of useful information about kernel generation and have access to the knowledge trees check the Software Recovery Handbook - Chapter 9:
http://europe.itrc.hp.com/service/iv/node.do?node=prod%2FWW_Start%2FN1%7C16
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 05:58 AM
01-09-2003 05:58 AM
Re: kernel rebuild - config fails with -71
Remember, my current kernel isn't bad, neither is my previous one.
No-one has yet agreed with my guess that it's a lack of static memory that is preventing the rebuild working.
Anyway, I'll swap the kernel files and reboot.
I'll let you know whether it worked, or if I instead had to run out the door quickly.
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 06:24 AM
01-09-2003 06:24 AM
Re: kernel rebuild - config fails with -71
Again, thanks all for the very quick feedback.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2003 06:24 AM
01-09-2003 06:24 AM