1753568 Members
6171 Online
108796 Solutions
New Discussion юеВ

Building new kernal fail

 
SOLVED
Go to solution

Building new kernal fail

Hi,
The following error message is created, when a new kernal is build after increasing the nfile from the kernal parameter

Cannot build a kernel using /usr/sbin/mk_kernel. The standard output ^
| of the command is shown below:
- | /usr/ccs/bin/ld: Unsatisfied symbols: -
C | fss_cap_state (data) d
- | minfree (data) -
| maxqueuetime (data)
| kern_vm_scan_rate (data)
/ | large_ncargs_enabled (data)
| | desfree (data)
| | lotsfree (data)
| | kern_vm_pct (data)
| | /usr/ccs/bin/ld: (Warning) Long Branch Stub inserted for "BL
| | $call_trap,0" in /usr/conf/lib/libhp-ux.a(asm_rv.o). Stub kills r1 |
| | (possibly incorrect). |
| | |
| | Stop. |
| | config: make did an exit(1)
| |
| | The command exitted with exitcode -71.


Could you advise me on the above issue.

Thanks
Senthil
3 REPLIES 3
Tim D Fulford
Honored Contributor

Re: Building new kernal fail

Hi

Personally I've never had a problem with mk_kernel, so the above is surprising.

1 - Use SAM, This should work
2 - If SAM does not work you may have some duff software installed. If this command returns anything you may have a problem
# swlist -l fileset -a state | grep -v "^#|^\$|config"

3 - This may be teaching you to suck eggs but here goes!!!

# cd /stand
# cp vmunix vmunix.sav
# /usr/lbin/sysadm/system_prep -k /stand/vmunix.sav -s /stand/system.sav
# cp /stand/system.sav /stand/system
# vi /stand/system
edit it and include
nfile
# cd /stand/build
# mk_kernel
# kmupdate
# shutdown -r -y now

If you did the above you should be OK!

Tim
-
eran maor
Honored Contributor
Solution

Re: Building new kernal fail

Hi

this error acour most of the time after installing patches .

you can try to restore /usr/conf to resolve the mk_kernel errors.
Sometimes the easiest way to resolve the mk_kernel Unsatisfied symbol
errors is to install several kernel related patches listed below

1. fsck_vxfs(1M) cumulative patch
2. SIG_IGN/SIGCLD,LVM,JFS,PCI/SCSI cumulative patch
3. Physical dump devices configuration patch
4. Fix for mount/access of disc sections
5. LOFS cumulative patch
6. LVM commands cumulative patch
7. Correct process hangs on ufs inodes
8. VxFS (JFS) mount,fsck cumulative changes
9. cumulative ARPA Transport patch

cant give you the number of the patches because i dont know what is the o.s or if you are working with 700 or 800 (server)
love computers
eran maor
Honored Contributor

Re: Building new kernal fail

Hi

one more think .
this problem didnt acour because you increase the nfile in the kernel .

the problem acour before that but when you try to build a new kernel you got this error .

i saw one case with the same error that you got , but over there the did a cold install .

love computers