Operating System - HP-UX
1755229 Members
4666 Online
108831 Solutions
New Discussion юеВ

Error building kernel HP-UX 11

 
Stewart McSporran_1
Occasional Contributor

Error building kernel HP-UX 11

Getting warning on mk_kernel: "Cannot open message catalog: usr/lib/nls/msg/C/cpp.cat"

After that, errors referencing several .h files.

Has anyone else had this problem?
9 REPLIES 9
alberto vasquez
Trusted Contributor

Re: Error building kernel HP-UX 11

Run the dmesg command and see if you have been receiving errors regarding running out of inodes (inode table full)
alberto vasquez
Trusted Contributor

Re: Error building kernel HP-UX 11

If yes (inode error) then try ot shut down some processes and then try the kernel regen. PS - You may also want to increase the ninode kernel parameter to avoid this in the future.
Stewart McSporran_1
Occasional Contributor

Re: Error building kernel HP-UX 11

No error generated from dmesg:

Mar 6 13:51
gate64: sysvec_vaddr = 0xc0002000 for 1 pages

NOTICE: nfs3_link(): File system was registered at index 3.

NOTICE: autofs_link(): File system was registered at index 6.

8 ccio

8/0 c720

8/0.7 tgt

8/0.7.0 sctl

8/4 c720

8/4.7 tgt

8/4.7.0 sctl

8/8 c720

8/8.7 tgt

8/8.7.0 sctl

8/12 c720

8/12.7 tgt

8/12.7.0 sctl

10 ccio

10/0 c720

10/0.3 tgt

10/0.3.0 sdisk

10/0.4 tgt

10/0.4.0 sdisk

10/0.5 tgt

10/0.5.0 sdisk

10/0.6 tgt

10/0.6.0 sdisk

10/0.7 tgt

10/0.7.0 sctl

10/4 bc

10/4/0 mux2

10/4/8 scsi1

10/4/9 lpr2

10/8 c720

10/8.7 tgt

10/8.7.0 sctl

10/12 bus_adapter

10/12/5 c720

10/12/5.0 tgt

10/12/5.0.0 stape

10/12/5.2 tgt

10/12/5.2.0 sdisk

10/12/5.7 tgt

10/12/5.7.0 sctl

10/12/6 lan2

10/12/0 CentIf

ps2_readbyte_timeout: no byte after 500 uSec

ps2_readbyte_timeout: no byte after 500 uSec

10/12/7 ps2

10/16 bc

32 processor

34 processor

36 processor

38 processor

49 memory

Logical volume 64, 0x4 configured as ROOT

Logical volume 64, 0x2 configured as SWAP

Logical volume 64, 0x2 configured as DUMP

Swap device table: (start & size given in 512-byte blocks)

entry 0 - major is 64, minor is 0x2; start = 0, size = 2097152

Dump device table: (start & size given in 1-Kbyte blocks)

entry 0 - major is 31, minor is 0x44000; start = 129888, size = 1048576

Starting the STREAMS daemons-phase 1

Create STCP device files

Starting the STREAMS daemons-phase 2

B2352B/9245XB HP-UX (B.11.00) #1: Wed Nov 5 22:38:19 PST 1997



Memory Information:

physical page size = 4096 bytes, logical page size = 4096 bytes

Physical: 3145712 Kbytes, lockable: 2420488 Kbytes, available: 2780180 Kbytes



James A. Donovan
Honored Contributor

Re: Error building kernel HP-UX 11

Do you have more than one C compiler installed on this machine? If so, then make sure that

# whence cc (returns...)
/usr/bin/cc
Remember, wherever you go, there you are...
Stewart McSporran_1
Occasional Contributor

Re: Error building kernel HP-UX 11

Changed alias for cc. Reran mk_kernel. Same error.

Rebooted. Reran mk_kernel. Same error.

Thanks for your suggestion. I'm sure it fixed a problem I didn't know I had.
James A. Donovan
Honored Contributor

Re: Error building kernel HP-UX 11

Try modifying your PATH environment variable so that it contains a minimum search path; e.g. PATH=/usr/bin:/usr/sbin.

Also, what does "what" say about your /usr/bin/cc. Mine says

# what /usr/bin/cc
/usr/bin/cc:
HP92453-01 A.11.00.00 HP C (Bundled) Compiler
CUPROS_IC23B //1
/ux/core/libs/libc/archive_pa1/libc.a_ID
Oct 21 1997 13:07:38

Remember, wherever you go, there you are...
Patrick Wallek
Honored Contributor

Re: Error building kernel HP-UX 11

Some links from the ITRC TKB:

http://us-support.external.hp.com/cki/bin/doc.pl/sid=97140bd407f2792faa/screen=ckiDisplayDocument?docId=200000014317144

This link deals with permissions and ownership of the files. Have you checked the permission and ownership of the file?
http://us-support.external.hp.com/cki/bin/doc.pl/sid=97140bd407f2792faa/screen=ckiDisplayDocument?docId=200000024625312

Here is an ll of the file on my 11.0 system:
-r--r--r-- 1 bin bin 10035 Nov 7 1997 /usr/lib/nls/msg/C/cpp.cat
Stewart McSporran_1
Occasional Contributor

Re: Error building kernel HP-UX 11

# what /usr/bin/cc
/usr/bin/cc:
LINT A.11.00.13 CXREF A.11.00.13
HP92453-01 A.11.00.13 HP C Compiler
CUPROS_IC23B //1
/ux/core/libs/libc/archive_pa1/libc.a_ID
Oct 21 1997 13:07:38

--------

# ll /usr/lib/nls/msg/C/cpp.cat
-r--r--r-- 1 bin bin 10035 Nov 7 1997 /usr/lib/nls/msg/C/cpp.cat

--------

# $PATH
/sbin/sh: /usr/bin:/usr/sbin: not found.


After resetting the path, mk_kernel still errors.
Printaporn_1
Esteemed Contributor

Re: Error building kernel HP-UX 11

Hi,

Did you have error "out of inode" in syslog ?

Thanks
enjoy any little thing in my life