1753761 Members
4803 Online
108799 Solutions
New Discussion юеВ

kernel could not build

 
Johnny12
Advisor

kernel could not build

Dear All,

I have a new rp3440 server with hpux 11iv1 OS.

Every time I try to load a static driver into the kernel or try to modify a kernel parameter like shmmax, shmem, shmesg I get the follwoing 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

Your help in this concern is highly appreciated.

Thank you
9 REPLIES 9
Hasan  Atasoy
Honored Contributor

Re: kernel could not build

hi john ;

check your system by check_patches
( /usr/contrib/bin/check_patches ) . if there is a problem or not on the system.

Hasan
whiteknight
Honored Contributor

Re: kernel could not build


John,

You are using sam to regen the kernel ?

Please update your sam patch

PHCO_36563 11.23 cumulative SAM patch
PHCO_35520 11.11 cumulative SAM patch


WK
Problem never ends, you must know how to fix it
rajdev
Valued Contributor

Re: kernel could not build

Hi John,

I am not sure why you are running config command directly .

you can try as given below :


1. cd to /stand/build directory

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system

2. use vi editor to edit this system file or kmtune command to set the required parameter

# kmtune ├в s maxdsiz=0x08000000 -S system

3. Build the kernel with

# mk_kernel -s system

4. Tell the system to use the newly built kernel upon next system shutdown/startup.
# kmupdate


5. Then save the current system file and move the new one into place with:
#mv /stand/system /stand/system.prev
#mv /stand/build/system /stand/system

6. Reboot server with shutdown command

# Shutdown -ry 0


Regards,
RD
Johnny12
Advisor

Re: kernel could not build

Hi,

Please note that I am using sam to load the driver into the kernel
Hasan  Atasoy
Honored Contributor

Re: kernel could not build

hi john ;
some patches in your system are missing.
please run check_patches and see logfile for missing patches.


Hasan.
Tim Nelson
Honored Contributor

Re: kernel could not build

Try to manually gen the kernel.

vi /stand/system to include the driver you need.

mk_kernel

if no errors

then

kmupdate

If it works manually and not via SAM then two comments.
1) Don't use SAM ( this would be item 9,458,023 that is wrong with SAM :)
2) Update the SAM patches as stated previously.


Johnny12
Advisor

Re: kernel could not build

Hi all,

I have the PHCO_34207 patch installed, which I found to be superseded by the PHCO_35520.

Doesn't the PHCO_34207 patch do the job in this concern?
Johnny12
Advisor

Re: kernel could not build

Dear all,

the problem was that the graphic card driver was not installed properly.

when I removed it I was able to regen kernel.

However now I need to reload the gvid driver into kernel. the problem is that i was able to load gvid driver but the gvid_info is still selectable and could not be loaded.
Any ideas in this concern how to load a selectable graphic card driver?
Johnny12
Advisor

Re: kernel could not build

plz refer to the below link to see the answer:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1175141

thank u all for your help