- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- build new kernel
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
Forums
Discussions
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
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
12-04-2001 01:02 PM
12-04-2001 01:02 PM
cd /stand/build
/usr/lbin/sysadm/system_prep -s /system
/usr/sbin/mk_kernel -s ./system
I got a message that it did not complete because /stand/build was full. So I checked why, and saw many object files (files that ended in .o). I decided to remove them because this came from the current failed build. But I accidentally removed the whole /stand/build directory (Not the /stand itself, but /build).
Now, I want to go back and rebuild a new kernel after clearing up some space. But there is no /build under the /stand directory.
How do I remedy this error? Do I restore from a backup? Pls advice. Basically, I deleted the /build directory under /stand and did not realize that I should have just deleted the files under /build. What should be done to restore back to current state before the /build was lost?
I know...me stupid. Thanks for your help.
Jim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 01:08 PM
12-04-2001 01:08 PM
Re: build new kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 01:08 PM
12-04-2001 01:08 PM
Re: build new kernel
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 01:16 PM
12-04-2001 01:16 PM
SolutionIt looks like you are running out of disk space in /stand. It is not possible to extend the /stand file system without re-installing.
start with making a make_recovery tape just in case!
Copy stand.prev, to an other file system,
and try rebuilding, and rebooting,
Hope this will help,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 01:17 PM
12-04-2001 01:17 PM
Re: build new kernel
First give yourself a dope slap. Next restore /stand/build from backup. I would also make sure that your have a vmunix and vmunix.prev. Without knowing for sure where you were in the process I would keep both copies. I would then try to reboot before attempting a new kernel build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2001 01:17 PM
12-04-2001 01:17 PM
Re: build new kernel
I don't think removing build
directory is fatal. Just recreate it:
mkdir /stand/build
chmod 755 /stand/build
bdf /stand
-> make sure there is enough space. If not, move out
OLD kernel file i.e
/stand/vmunix.prev (move it out temporarily, do NOT delete it).
then, use SAM to do the kernel build.
What is the size of /stand??
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2001 06:42 AM
12-06-2001 06:42 AM
Re: build new kernel
My /stand is 87.7 meg. What is the normal size for /stand?
The fact that /stand got full and has happened twice, got me wondering if I should increase the space. Or just keep the /stand regularly cleaned out (without goofing off and deleting important files). How do you regularly keep /stand down to a minimum?
Thanks bunches! -Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2001 07:32 AM
12-06-2001 07:32 AM
Re: build new kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2001 07:43 AM
12-06-2001 07:43 AM
Re: build new kernel
1) Get out your last backup tape.
2) mkdir /stand/build
3) chmod 755 on the directory.
4) copy the data back to the directory.
5) Once your data is back, then do a make_recovery -A -C -v.
6) Now reboot your machine and boot off of the ignite tape, this will enter you into the ignite-ux server screen.
7) next rebuild your /stand directory to at least 120MB in size. This number is arguable amongst admins but most 11.00 platform systems have this as the base install number from the factory.
8) Once you have rebuilt and rebooted, then go ahead and try to apply your kernel changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2001 09:14 AM
12-06-2001 09:14 AM
Re: build new kernel
Check the size of your unix kernel file. Minimum 4 to 5 times of that size will be safe, assuming you have only one backup kernel in /stand.
On my system kernel is around 22MB and stand is 100MB.
Thanks.
Prashant.