Operating System - HP-UX
1838778 Members
3525 Online
110130 Solutions
New Discussion

Re: Error when increasing kernel resources

 
Brando Sumayao
Advisor

Error when increasing kernel resources

I am trying to increase my kernel resources (as I am installing Oracle 8.1.7). I am running on HP-UX 11.11 These are the kernel parameters I tried to modify based on Oracle's recommendation:

shmmax=1073741824 or 0X40000000 (was 0X4000000)
shmmni=200 (was 100)
shmseg=120 (original setting- higher than default of 10)
semmns=1000 (was 128)
semmni=100 (was 64)

The problem is, once I tried to rebuild the kernel (using SAM), it gave me the ff error message:

Cannot build a kernel using /usr/sbin/config. The standard output of the command is shown below:

/usr/ccs/bin/ld: Write failed in ./vmunix_test
Stop.
Config: make did an exit (1)
The command exited with the exit code -71
-------------------

I then did a bdf to see if one of my lvols were full and sure enough, /stand was 100% full (current size is only 32mb, but this was the requirement Oracle had so I followed it - should have known better).

I guess I have a two-part question here:

1) Am I right to assume that I need to increase the size of the /stand directory, and by doing so, it will solve the problem?

2) If this is so, how do I increase the size of /stand (as it sits on vg00)? I have a spare disk that has 4 gb I am not currently using.

Thanks in advance for any expert advice I can get!

Brando

11 REPLIES 11
Craig Rants
Honored Contributor

Re: Error when increasing kernel resources

Brando,
I don't know how much work you have done on that box, but your best bet may be to reinstall or do an ignite install where you increase the size of stand (I have never increased stand from ignite however).

Just my thoughts.
Good Luck
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
harry d brown jr
Honored Contributor

Re: Error when increasing kernel resources

Go into /stand

list the directory. Move, and be VERY CAREFUL, any thing like vmunix.prev to another directory! Use the "mv" command and not the "rm" command in case you "move" the wrong thing. DO NOT MOVE THE vmunix FILE - this is your KERNEL.

then try the rebuild.

live free or die
harry


ps: if you want, list the directory and post it as an attachment. use "ls -lR /stand" so that we can see every directory within /stand.

Live Free or Die
harry d brown jr
Honored Contributor

Re: Error when increasing kernel resources

I forgot to add that you can not increase the size of /stand without rebuilding (new install) of your OS.

live free or die
harry
Live Free or Die
Patrick Wallek
Honored Contributor

Re: Error when increasing kernel resources

Oh boy. 32MB does sound a bit small for /stand.

I have an 11.11 (11i) workstation and my kernel, /stand/vmunix, is right at 16MB. So with yours, if you have a vmunix and a vmunix.prev, you've used up all of your space.

To increase /stand, the easiest way I can think of is to make a make_tape_recovery tape. This requires Ignite/UX. If you don't have Ignite, you can get it at: http://software.hp.com/products/IUX

The command I use to make the tape is:

/opt/ignite/bin/make_tape_recovery -a /dev/rmt/0mn -I -v -x inc_entire=vg00

Then boot from the tape you created. When it boots, it will come up to a menu which will allow you to play with your LV sizes for VG00. You can increase stand, and any others you want, from here.

I have made /stand on my 11i machine 256MB. That is probably overkill, but at least I know I should never run out of space there.
G. Vrijhoeven
Honored Contributor

Re: Error when increasing kernel resources

Hi,

1. just test it by moving an old kernel to an other file system, just be shure to make a make_recovery tape first.

2. This might work:
backup /stand
umount /stand and just increase it (lvextend)
create new hfs file system restore backup.

this will work:
boot from resque cd, mount /root /usr /stand and one you have space in, backup /stand, umount it and increase it, or go for an ignite installation.

Gideon
Sanjay_6
Honored Contributor

Re: Error when increasing kernel resources

Hi Brando,

You cannot increase the size of stand without reinstalling the OS. To do that, you take a ignite backup and then reinstall the OS, reconfigure your filesystem to new sizes.

For the time-being, you can remove or copy some of the other kernels you might have over there to create some space and then rebuld the kernel.

Hope this helps.

Regds
John Bolene
Honored Contributor

Re: Error when increasing kernel resources

32MB is a very small stand

I use 48 on most of my machines as most of my kernels take around 10MB each. With your kernel size, I would make it 96MB.

Using ignite is the best way to increase this file system. Use make_tape_recovery to backup vg00 and boot from that tape to restore the image. Be sure and use the interactive restore and make /stand larger.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Brando Sumayao
Advisor

Re: Error when increasing kernel resources

Is ignite included in the Core CDs (1 and 2) for 11.11 or is this a seperate purchase?

Thanks.

Brando
Roger Baptiste
Honored Contributor

Re: Error when increasing kernel resources


Ignite is included in the application CD which
comes along with O/S CDkit.

If you cannot locate it in the CD, you
can download it free from this link:

http://www.software.hp.com/products/IUX/index.html

-raj
Take it easy.
Patrick Wallek
Honored Contributor

Re: Error when increasing kernel resources

Ignite/UX is a FREE product!

Go to http://software.hp.com/products/IUX to download.
G. Vrijhoeven
Honored Contributor

Re: Error when increasing kernel resources

Hi Brando,

Just to make up for my bad advice......

http://www.software.hp.com/products/IUX/download.html

gideon