Operating System - HP-UX
1833863 Members
2068 Online
110063 Solutions
New Discussion

mk_kernel failing for HP PARISC

 
yash786
New Member

mk_kernel failing for HP PARISC

Hi,

I am facing a problem while installing a package â CCASE-MVFSâ on a HP PARISC, which is used for clearcase installation.



I am using the following commands for installing this package:-

/usr/sbin/swinstall -s /usr/conf/mvfs/CCASE-MVFS -S /usr/conf/mvfs/hpux10_session



The execution of this command is displaying following messages at the shell:-



* Beginning Execution

ERROR: "hpb45:/": The kernel build script failed.

* The execution phase failed for "hpb45:/".

* Execution had errors.





NOTE: More information may be found in the agent logfile (location

is hpb45:/var/adm/sw/swagent.log).



Following are the contents of swagent.log file :-



Contents of swagent.log::

--------------------------------------

======= 07/10/03 21:45:28 MDT BEGIN install AGENT SESSION (pid=5271)



* Agent session started for user "root@hpb45". (pid=5271)



* Beginning Analysis Phase.

* Source: hpb45:/usr/conf/mvfs/CCASE-MVFS

* Target: hpb45:/

* Target logfile: hpb45:/var/adm/sw/swagent.log

* Reading source for product information.

NOTE: The filesystems in the filesystem table will not be checked

against those currently mounted because the

"mount_all_filesystems" option is set to "false".

* Reading source for file information.

* Executing preDSA command.

NOTE: The used disk space on filesystem "/" is estimated to remain

unchanged.

This will leave 2628451 Kbytes of available user disk space

after the installation.

NOTE: The used disk space on filesystem "/stand" is estimated to

increase by 4823 Kbytes.

This will leave 131554 Kbytes of available user disk space

after the installation.



* Summary of Analysis Phase:

* 1 of 1 filesets had no Errors or Warnings.

* The Analysis Phase succeeded.





* Beginning the Install Execution Phase.

* Filesets: 1

* Files: 1

* Kbytes: 324

NOTE: Saving the current system file at "/stand/system" to

"/stand/system.prev"

NOTE: The template file has been extracted from "/stand/vmunix"

It has been placed in "/stand/system" where it will be used

to build a new kernel.

* Installing fileset "CCASE-MVFS.ccase-mvfs,r=" (1 of 1).

NOTE: Building a new kernel based on template file "/stand/system"

config: cannot open file -- /stand/build/dlkm.vmunix_test/system

config failure.

ERROR: The command "/usr/sbin/mk_kernel", which is used to rebuild

the kernel, has failed. Because kernel-related filesets were

installed, this command must be executed by "swinstall",

without failures, before the load can continue. Check the

above output for details about the failure.

NOTE: The Install Phase has suspended. Check the above output for

reasons.



======= 07/10/03 21:45:36 MDT END install AGENT SESSION (Aborted)

(pid=5271)



Its clear from this logfile that execution of mk_kernel is failing. Its giving the following error messages if I manually execute mk_kernel:-

config: cannot open file -- /stand/build/dlkm.vmunix_test/system



Do you have a clue why do we get this error message while executing mk_kernel? Can you please give me some valuable inputs in this regards?



Also, my HP PARISC m/c is having the following configuration :-

# uname -a

HP-UX hpb45 B.11.00 U 9000/785 2011711922 unlimited-user license



Thanks in advance,

Yashpal



1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: mk_kernel failing for HP PARISC

Shalom Yasphal,

Key:/stand/build/dlkm.vmunix_test/system
config failure.

That file is missing, possibly with other key components.

You can't compile a new kernel without the needed components on it.

Compare the contnets of /stand on this system with a system that can install the mvfs kernel module and see whats missing. You may be able to get away with copying across missing files.

You may need to reinstall the OS from scratch.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com