- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP_UX 11.00 mk_kernel -s /stand/system doesn'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
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
10-28-2004 07:25 AM
10-28-2004 07:25 AM
HP_UX 11.00 mk_kernel -s /stand/system doesn't work?
mk_kernel -s /stand/system
It did use the /stand/kernel, but did copy a basic version of system over the the /stand/kernel?
The SAM , build kernel work but it take so long to change all the parameter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2004 07:31 AM
10-28-2004 07:31 AM
Re: HP_UX 11.00 mk_kernel -s /stand/system doesn't work?
#cd /stand
#cp vmunix vmunix.old
#cp system system.old
#cd build
#this is the changed line.
#/usr/lbin/sysadm/system_prep -s system
Edit system file and make changes here as per ur require ment. Imeand addition/Deletion of devices. Then
#mk_kernel -s system
For more information see the man page of mk_kernel
Now one new kernel will be created in /stand/build directory. Copy this to original location
#cd /stand/build
#cp vmunix_test /stand/vmunix
#cp system /stand
From this thread:http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=105739
If sam built it, you should be able to do it manually.
SEP
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
10-28-2004 08:39 AM
10-28-2004 08:39 AM
Re: HP_UX 11.00 mk_kernel -s /stand/system doesn't work?
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# kmtune -s
# mk_kernel -s system
# kmupdate
# mv /stand/system /stand/system.prev
# cp /stand/build/system /stand/
# /usr/sbin/shutdown -ry 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 04:39 AM
12-03-2004 04:39 AM
Re: HP_UX 11.00 mk_kernel -s /stand/system doesn't work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 05:25 AM
12-03-2004 05:25 AM
Re: HP_UX 11.00 mk_kernel -s /stand/system doesn't work?
A month is a long time to give feedback and open a previous thread.
Here is a procedure to manully build the kernel,
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000070309309
the itrc doc id is KBRC00010515.
Also we do not use sysdef, but use kmtune to check on the kernel parameter for 11.x
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 06:15 AM
12-03-2004 06:15 AM
Re: HP_UX 11.00 mk_kernel -s /stand/system doesn't work?
The mk_kernel isn't do as it suppose to. It move my current "system" file to system.prev
Then brings in a basic "system" file from nowhere (?!) then build the kernel??
It happens to two of my new server (after updade patches). I have tried many time, step by step as your have mention, the result is the same.... Please look in my previous attached file. thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 06:53 AM
12-03-2004 06:53 AM
Re: HP_UX 11.00 mk_kernel -s /stand/system doesn't work?
Note the date and size of the mk_kernel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2004 02:48 PM
12-03-2004 02:48 PM
Re: HP_UX 11.00 mk_kernel -s /stand/system doesn't work?
If your old kernel (vmunix.prev) is in tact, then boot it from it to restore your old configuration.
#cd /stand
#cp vmunix vmunix.new
#cp vmunix.prev vmunix
#shutdown -r y now
Once it comes back up, check to see if the kernel parameters are restored using 'kmtune' command. I follow the following procedure. It's basically the same as above except I work in stand directory and I play safe by taking copies of the current system and vmunix (only if I have enough space) files.
#cd /stand
#cp system system.110404
#cp vmunix vmunix.110404
#/usr/lbin/sysadm/system_prep -s /stand/system
#mk_kernel -o /stand/vmunix
#cp system build
#kmupdate
#cd /
#shutdown -r y now
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 01:26 AM
12-07-2004 01:26 AM
Re: HP_UX 11.00 mk_kernel -s /stand/system doesn't work?
You should not be using the output from sysdef as this is an obsoleted command and the results are no longer trustworthy. kmtune is the replacement.
Run kmtune before the kernel rebuild and compare it to kmtune after the kernel rebuild.
Which parameters did you change?