- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: can't rebuild kernel 11.11 v1
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
07-25-2005 02:23 AM
07-25-2005 02:23 AM
Thanks,
Jon
# mk_kernel -s /stand/build/system
Generating module: krm...
Compiling conf.c...
Loading the kernel...
Generating kernel symbol table...
# kmupdate /stand/build/vmunix_test
kmupdate: Specified file /stand/build/vmunix_test is not kernel file.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 02:35 AM
07-25-2005 02:35 AM
Re: can't rebuild kernel 11.11 v1
# config -u /stand/build/system
Generating module: krm...
nm: mod_wk.d/krm/mod.o: File format not recognized
nm: mod_wk.d/krm/_mod.o: File format not recognized
Compiling conf.c...
Loading the kernel...
Generating kernel symbol table...
nm: invalid option -- x
Usage: nm [option(s)] [file(s)]
List symbols in [file(s)] (a.out by default).
The options are:
-a, --debug-syms Display debugger-only symbols
-A, --print-file-name Print name of the input file before every symbol
-B Same as --format=bsd
-C, --demangle[=STYLE] Decode low-level symbol names into user-level names
The STYLE, if specified, can be `auto' (the default),
`gnu', `lucid', `arm', `hp', `edg', `gnu-v3', `java'
or `gnat'
--no-demangle Do not demangle low-level symbol names
-D, --dynamic Display dynamic symbols instead of normal symbols
--defined-only Display only defined symbols
-e (ignored)
-f, --format=FORMAT Use the output format FORMAT. FORMAT can be `bsd',
`sysv' or `posix'. The default is `bsd'
-g, --extern-only Display only external symbols
-l, --line-numbers Use debugging information to find a filename and
line number for each symbol
-n, --numeric-sort Sort symbols numerically by address
-o Same as -A
-p, --no-sort Do not sort the symbols
-P, --portability Same as --format=posix
-r, --reverse-sort Reverse the sense of the sort
-S, --print-size Print size of defined symbols
-s, --print-armap Include index for symbols from archive members
--size-sort Sort symbols by size
-t, --radix=RADIX Use RADIX for printing symbol values
--target=BFDNAME Specify the target object format as BFDNAME
-u, --undefined-only Display only undefined symbols
-X 32_64 (ignored)
-h, --help Display this information
-V, --version Display this program's version number
nm: supported targets: som srec symbolsrec tekhex binary ihex hpux-core
Usage: bstab input_data symbol_cnt strtbl_size kernel_file output_file
*** 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
07-25-2005 02:44 AM
07-25-2005 02:44 AM
Re: can't rebuild kernel 11.11 v1
Is there a file vmunix_test existing in /stand/build ? delete this file and try again.
Also, can you tell what modification have you made before rebuilding ?
thanks
deepak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 02:45 AM
07-25-2005 02:45 AM
Re: can't rebuild kernel 11.11 v1
I'd run the following checklist:
1) See about restoring the /stand filesystem to a known point where the kernel was working or..
2) Consider going to a vaid make_tape_recovery Ignite backup.
3) swverify \* and see if you have problems with kenel patches.
4) mv /stand/build/vmunix_test someplace else, because the file is no good.
5) Unless you are 11.23 make sure /stand has not been converted to vxfs
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
07-25-2005 02:51 AM
07-25-2005 02:51 AM
Re: can't rebuild kernel 11.11 v1
The system boots up just fine on the kernel that is in /stand (vmunix) so I can't see how the existing kernel is bad. All I'm trying to do is change dbc_min_pct and dbc_max_pct from defaults to something reasonable for a workstation.
Also /usr/lbin/sysadm/get_sysfile /stand/vmunix and /stand/build/vmunix_test return no errors and I can see everything (drivers and non-default parameters) just fine ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 02:58 AM
07-25-2005 02:58 AM
SolutionPlease post the results of this:
# what $(whence nm)
Maybe your PATH point to some non-standard binutils?
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 03:05 AM
07-25-2005 03:05 AM
Re: can't rebuild kernel 11.11 v1
$Revision: 92453-07 linker linker crt0.o B.11.37 031205 $
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 03:10 AM
07-25-2005 03:10 AM
Re: can't rebuild kernel 11.11 v1
Check your envrionment, e.g. .profile etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 03:11 AM
07-25-2005 03:11 AM
Re: can't rebuild kernel 11.11 v1
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 03:12 AM
07-25-2005 03:12 AM
Re: can't rebuild kernel 11.11 v1
Should be something like:
# what $(whence nm)
/usr/bin/nm:
$Revision: 92453-07 linker linker crt0.o B.11.37 040218 $
HP aC++ B3910B A.03.52 Classic Iostream Library
HP aC++ B3910B A.03.52 Language Support Library
nm.cat: $Revision: 1.0 $
92453-07 linker command s800.sgs nm PA64 B.11.43 REL 050124
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 03:19 AM
07-25-2005 03:19 AM