1834395 Members
9872 Online
110066 Solutions
New Discussion

swap error on boot

 
SOLVED
Go to solution
John Henrikson
Regular Advisor

swap error on boot

Hello,
I've got a J210 system that when it boots gives me the following error message:
ERROR: dump device 64:0x2 cannot be used and will
be ignored:
Apr 5 11:48:43 rite vmunix: device is read-only
WARNING: no swap device configured, so dump cannot
be defaulted to primary swap.
Apr 5 11:48:43 rite vmunix: WARNING: No dump devices are configured. Dump is d
isabled.

The logical volume that is configured for primary swap is vg00/lvol2 and I'm unable to run a fsck on it, I get the message: cannot read from device..

any suggestions, please??
thanks~!
John H.

8 REPLIES 8
Helen French
Honored Contributor
Solution

Re: swap error on boot

Hi,

Did you apply any patches recently to the system ? Did you change any Kernel parameters recently ? Did you change swap area/properties recently ?

You have to boot either in single user mode ( hpux -is) OR in LVM maintenance mode ( hpux -lm) and reconfigure your swap area.

HTH,
Shiju
Life is a promise, fulfill it!
ramesh_6
Frequent Advisor

Re: swap error on boot

Hey buddy,
I had a similar problem first go and check the device file is available in /dev . In my case a crook has removed that device file and i have recreate the entire volume.

Regds
Ramesh
John Henrikson
Regular Advisor

Re: swap error on boot

YES.. we tried to apply a patch depot yesterday.. it crashed in the middle of the installation. I've tried using swconfig */ although I'm still having some errors we were able to reboot..
thanks..
Jeff Schussele
Honored Contributor

Re: swap error on boot

Hi John,

That swconfig syntax should be:

swconfig \*

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Helen French
Honored Contributor

Re: swap error on boot

John Henrikson
Regular Advisor

Re: swap error on boot

Jeff,
yes I made a mistake on the syntax I actually did do swconfig \*.
It almost finishes but finds an error in a patch.. I tried using swremove to get rid of the patch in question but it won't remove it I get the following error message:
* Ending Task Execution
WARNING: Incomplete definition for the product "Streams-TIO", beginning
at line 5564.The following attributes are not defined:
filesets the filesets contained in the product
WARNING: Invalid value defined for the keyword "tag", at line 69906.
Valid values for this keyword are: Tag strings containing a
subset of ASCII characters. A tag string requires one or more
characters from "A"-"Z", "a"-"z", "0"-"9", including the first
character.
No white space characters are allowed.
The directory path character "/" is not allowed.
The following SDU and shell metacharacters are not allowed:
. , : # ; & ( ) { } | < > " ` ' The maximum length of a tag string is 64 characters.
ERROR: Incomplete definition for the product "?", beginning at line
69905. The following attributes are not defined:
tag the identifier (short name) for the product
The attribute(s) must be defined before the parsing can
continue.
ERROR: Invalid definition for the product "?", beginning at line
69905. Details described above. The product has been marked as corrupt.
WARNING: Ignoring unknown keyword "elfdump:" at line 71882.
WARNING: Ignoring unknown keyword "elfdump:" at line 71883.
WARNING: Ignoring unknown keyword "elfdump:" at line 71884.
WARNING: Ignoring unknown keyword "compression_cksum" at line 71885.
WARNING: Ignoring unknown keyword "compressed_size" at line 71886.
WARNING: Ignoring unknown keyword "@????vendor" at line 71887.
WARNING: Ignoring duplicate definition for the keyword "tag" at line
71888.
WARNING: Ignoring duplicate definition for the keyword "title" at line
71889.
WARNING: Ignoring duplicate definition for the keyword "description" at
line 71890.
* Returning to Selection

i'm unsure how to proceed.. thanks !!!!!!!


John Henrikson
Regular Advisor

Re: swap error on boot

Shiju -
can you tell me what commands to use to reconfigure the swap after I boot into single user mode? Do I use swapon?

thanks.
John H.
Bill Hassell
Honored Contributor

Re: swap error on boot

It sounds like the primary swap has been changed to address 2 which may be the CDROM. In single user mode, use the lvlnboot command to change the primary swap area. swapon does not exist in single user mode (/sbin is the only source of commands in single user mode).


Bill Hassell, sysadmin