- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Kernel changes using SAM
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-2005 10:32 PM
01-09-2005 10:32 PM
I get the following error
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.
Any ideas/comments on what is going wrong?
Ian Warner
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2005 10:48 PM
01-09-2005 10:48 PM
Re: Kernel changes using SAM
Try the latest sam patch.
http://www4.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHCO_31312
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2005 11:08 PM
01-09-2005 11:08 PM
Re: Kernel changes using SAM
Can you post here the result of:
#bdf
And do you have PHCO_28123 installed?
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2005 11:13 PM
01-09-2005 11:13 PM
Re: Kernel changes using SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 12:44 AM
01-10-2005 12:44 AM
Re: Kernel changes using SAM
PHCO_30275 -> 1.0 ugm cumulative patch
PHCO_31312 -> 1.0 cumulative SAM patch
The result of the ddf is
bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 141288 63176 69% /
/dev/vg00/lvol1 295024 93584 171936 35% /stand
/dev/vg00/lvol8 2097152 1007248 1089904 48% /var
/dev/vg00/lvol7 3145728 1291200 1840104 41% /usr
/dev/vg00/lvol4 3145728 238632 2884432 8% /tmp
/dev/vg00/lvol6 5242880 3463728 1765280 66% /opt
/dev/vg00/lvol5 512000 293184 217488 57% /home
/dev/vg00/emacs 7168000 3171109 3747149 46% /emacs
/dev/vg00/backup 7168000 5048 6717443 0% /backup
The sam log is as follows
* Building a kernel from the description in
/stand/build/system.SAM.
* Executing the following command:
cd /stand/build; /usr/sbin/config -c conf.SAM.c -l \
config.SAM.mk /stand/build/system.SAM
* Command completed with exit status 1.
ERROR Mon Dec 22 13:16:34 2003 Failed at creating a new kernel.
ERROR 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.
* Executing the following command:
/usr/sam/bin/samlog_viewer -Z5300
* Command completed with exit status 2139044472.
* Checking to see if kernel regen is required
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 12:58 AM
01-10-2005 12:58 AM
Re: Kernel changes using SAM
Try doing the kernel command line.
#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
I think you will still get the error, but now you will know where to look.
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
01-10-2005 01:01 AM
01-10-2005 01:01 AM
Re: Kernel changes using SAM
cd /stand/build
/usr/sbin/config -c conf.SAM.c -l \ config.SAM.mk /stand/build/system.SAM
It may be that SAM is losing some interesting output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 01:14 AM
01-10-2005 01:14 AM
Re: Kernel changes using SAM
Generating module: krm...
Loading the kernel...
ld: Unsatisfied symbol "st_san_safe" in file /usr/conf/lib/libio.a[mt_prop.o]
ld: Unsatisfied symbol "bcvmap_size_factor" in file /usr/conf/lib/libfs-pdk.a[uf
s_mchdep.o]
2 errors.
*** Error exit code 1
Stop.
config: make did an exit(1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 01:20 AM
01-10-2005 01:20 AM
Re: Kernel changes using SAM
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=716493758+1105366766568+28353475&threadId=496090
It looks similar to your problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 01:38 AM
01-10-2005 01:38 AM
Re: Kernel changes using SAM
Check also this thread about this specifics 11i parameters:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=720920
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 01:55 AM
01-10-2005 01:55 AM
Re: Kernel changes using SAM
if /usr/conf/master.d/stape (an ascii) file contains st_ats_safe instead of st_san_safe. You can grep it to check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2005 02:32 AM
01-10-2005 02:32 AM
Re: Kernel changes using SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 09:04 PM
01-11-2005 09:04 PM
Re: Kernel changes using SAM
The bad patches mentioned are not on the system (as far as I can tell), so.... any ideas?
Ian Warner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 09:07 PM
01-11-2005 09:07 PM
Re: Kernel changes using SAM
st_san_safe ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 09:11 PM
01-11-2005 09:11 PM
Re: Kernel changes using SAM
Check this doc.
Document description: SAM internal error when entering 'Configurable Parameters'
Document id: USAMKBRC00011138
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000068993286
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 09:11 PM
01-11-2005 09:11 PM
Re: Kernel changes using SAM
Please post here the output of the bdf command...
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 09:14 PM
01-11-2005 09:14 PM
Re: Kernel changes using SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 09:23 PM
01-11-2005 09:23 PM
Re: Kernel changes using SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 09:34 PM
01-11-2005 09:34 PM
Re: Kernel changes using SAM
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol1 295024 121384 144136 46% /stand
If i cd /stand/build, then
/usr/sbin/config -c conf.SAM.c -l \ config.SAM.mk /stand/build/system.SAM
i still get
Generating module: krm...
Loading the kernel...
ld: Unsatisfied symbol "st_san_safe" in file /usr/conf/lib/libio.a[mt_prop.o]
ld: Unsatisfied symbol "bcvmap_size_factor" in file /usr/conf/lib/libfs-pdk.a[uf
s_mchdep.o]
2 errors.
*** Error exit code 1
So nothing seems to have changed!!!!
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 09:57 PM
01-11-2005 09:57 PM
Re: Kernel changes using SAM
What value have your st_san_safe parameter? Set it to 0 and try to process the kernel again...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 10:01 PM
01-11-2005 10:01 PM
Re: Kernel changes using SAM
sh /stand/build=> cat /usr/conf/master.d/stape | grep st_
*range st_ats_enabled>=0
*range st_ats_enabled<=1
*range st_large_recs>=0
*range st_large_recs<=1
*range st_fail_overruns>=0
*range st_fail_overruns<=1
*range st_san_safe>=0
*range st_san_safe<=1
st_ats_enabled ST_ATS_ENABLED 0
st_large_recs ST_LARGE_RECS 0
st_fail_overruns ST_FAIL_OVERRUNS 0
st_san_safe ST_SAN_SAFE 0
Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 10:11 PM
01-11-2005 10:11 PM
Re: Kernel changes using SAM
/usr/sbin/config -c conf.SAM.c -l \ config.SAM.mk /stand/build/system.SAM
Then, if there is still an error, do
/usr/sbin/config -c conf.SAM.c -l \ config.SAM.mk /stand/build/system.SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 10:18 PM
01-11-2005 10:18 PM
Re: Kernel changes using SAM
tried to build it in SAM, then used the command line to confirm the error(s).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 10:45 PM
01-11-2005 10:45 PM
Re: Kernel changes using SAM
Post the output of:
kmtune -lq st_san_safe
kmtune -lq bcvmap_size_factor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2005 10:46 PM
01-11-2005 10:46 PM
Re: Kernel changes using SAM
e.g.
##@(#) config.sys $Date: 2003/06/13 06:23:05 $Revision: r11.11/7 PATCH_11.11 (PH
KL_29243)
What does yours say?