Chinaunix首页 | 论坛 | 博客

YZQ

  • 博客访问: 196183
  • 博文数量: 17
  • 博客积分: 1606
  • 博客等级: 上尉
  • 技术积分: 338
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-13 12:58
文章分类

全部博文(17)

文章存档

2017年(1)

2015年(6)

2012年(4)

2011年(1)

2010年(1)

2009年(4)

分类: 系统运维

2012-12-04 09:29:36

 
RX8640 因为客户重启不当,在业务还没有停完的情况下敲了reboot命令,导致系统无法启动。

EFI 启动过程如下:
EFI Boot Manager ver 2.00 [14.62]  Loading device drivers

EFI Boot Manager ver 2.00 [14.62]  Please select a boot option
OS might use only the primary console set via boot manager or conconfig command
    Hot Key: l
                                                                       
Selected boot option: HP-UX Primary Boot: 0/0/0/3/0.0x6.0x0

Loading.: HP-UX Primary Boot: 0/0/0/3/0.0x6.0x0

Executing Image: "\EFI\HPUX\HPUXStarting: HP-UX Primary Boot: 0/0/0/3/0.0x6.0x0


(C) Copyright 1999-2009 Hewlett-Packard Development Company, L.P.
All rights reserved

HP-UX Boot Loader for IPF  --  Revision 2.039

Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix -lq
Seconds left till autoboot -  10
37mHPUX> [Z;1;1;120;120;1;0x
Unrecognized command.

HPUX> hpux -lm
> System Memory = 196346 MB
loading section 0
....................................................................... (complete)
loading section 1
............. (complete)
loading symbol table
loading System Directory (boot.sys) to MFS
.....
loading MFSFILES directory (bootfs) to MFS
Could not open d

Launching /stand/vmunix
SIZE: Text:35992K + Data:6365K + BSS:26770K = Total:69128K

Console is on Serial Device - via PCDP
Booting kernel...


Stored message buffer up to system crash:

MFS is defined: base= 0xe00000010205e000  size= 1420 KB
krs_find_files: The config.krs file was not found.
krs_find_files: The config.krs.lkg file was not found.
Loaded ACPI revision 2.0 tables.
MMIO on this platform supports Write Coaleig.krs file was not found.
krs_find_files: The config.krs.lkg file was not found.

kc_init: Error getting number of static modu static modules list


Using /stand/ext_ioconfig

Memory Class Setup
-------------------------------------------------------------------------
Class     Physmem              Lockmem   -------------------------------------------------------------
System :  186759 MB            186759 MB            186759 MB          
Kernel :  186759 MB    759 MB          
User   :  180905 MB            160377 MB            161006 MB          
-------------------------------------------------------------------equested.
Enabling spinlock ALAT switching
Installing Socket Protocol families AF_INET and AF_nel EVM initialized
64000/0x0 mass_storage
64000/0x0/0x0 usb_ms_scsi
0 cell
0/0 sba
0/0/0 lba
0/0/1 lba
0/0/1/1 pci_slot
0/0/2 lba
0/0/2/1 pci_slot
0/0/4 gh2p
0/0/4/0/0 PCItoPCI
0/0/4/0/0/0 pci_slot
0/0/6 gh2p
pci_slot
0/0/8 lba
0/0/8/1 pci_slot
0/0/10 lba
0/0/10/1 pci_slot
0/0/12 gh2p
0/0/12/0/0 PC/0/14 gh2p
0/0/14/0/0 PCItoPCI
0/0/14/0/0/0 pci_slot
0/120 processor
0/121 processor
0/122 processor
0/123 processor
0/120/250 pdh
0/250/0 acpi_node
0/250/1 ipmi
0/250/2 asio0
1 cell
1/0 sba
1/0/0 lba
1/0/1 lba
1/0/1/1 pci_slot
1/0/2 lba
1/4/0/0 PCItoPCI
1/0/4/0/0/0 pci_slot
1/0/6 gh2p
1/0/6/0/0 PCI/8 lba
1/0/8/1 pci_slot
1/0/10gh2p
1/0/12/0/0 PCItoPCI
1/0/12/0/0/0 pci_slot
1/0/14 gh2p
1 pci_slot
1/120 processor
1/121 processor
1/122 processor
1/123 processor
1/124 processor
1/125 processor
1/126 processor
1/127 processor
1/250 pdh
1/rocessor
2/121 processor
2/122 processor
2/123 processor
2/1/126 processor
2/127 processor
2/250 pdh
2/250/0 acpi_node
3 cell
3/120 processor
3/121 processor
3/122 processor
3/123 processor
3/124 processor
3/125 processor
3/126 processor
3/127 processor
3/250 pdh
3/250/0 acpi_node
255/1 mass_storage
255/1/0 usb_ms_scsi
gio: Error configuring root device using EFI hw paths

    System Console is on the Built-In Serial Interface
AF_INET socket/streams output daemon running, pid 89
afinet_prelink: module installed
Starting the STREAMS daemons-phase 1
LVM: Warning: Booting on LVM disk without BDRA
LVM: Run vgcfgrestore to restore LVM configuration to your boot disk
    Swap device table:  (start & size given in 512-byte blocks)
   n root device; ignored - can't open device
WARNING: No swap device configured, so dump cannot be defaulted to primary swap.
WARNING: No dump devices are configured.  Dump is disabled.
mountformation:
0:(hfs) 6
10:(dnlc_neg_fs) 251

Message buffer contents after system crash:

panic: VFS_MOUNTROOT: READ_ONLY: all VFS_MOUNTROOTs failed: NEED IP                  Function Name
  0xe000000002043520
  0xe051e0
End of Stack Trace

linkstamp:          Sat Apr 17 18:20:24 SST 2010
_release_version:   @(#) $Revision: vmunix:    B.11.31_LR FLAVOR=perf
Calling function e0000000017effa0 for Shutdown State 1 type 0x2
        i 0 pfn 0x1 pages 0x3ffe9
        i 1 pfn 0x100000 pages 0x2ef0000
        i 2 pfn 0x4040000 pages 0xbf99e
        i 3 pfn 0x40ffa80 pages 0x166

*** A system crash has occurred. (See the above messages for details.)
*** The system is now preparink, for use
*** in debugging the crash.

ERROR:  No dump space is configured.  Physical memory will not be dumped.
ERROR:  Configured dump space is insufficient to hold dump metadata.
        Physical memory will not be dumped.




问题分析及解决。
--------------------------
1.  试图进入单用户,和维护模式,都失败了。按理说no_dump space 应该不至于启动不了系统,安腾进入单用户模式和HP9000应该是不一样的。HP9000用hpux -is  /lm  安腾boot -is /lm 
2. 判断启动不了的原因是文件损坏,由红体字就可以知道,可以利用备用内核启动,启动备用内核的命令  boot /stand/backup   如果用hpux /stand/backup/vmunix 的话任然是按原来的内核启动。。。。。



HPUX> boot /stand/backup
Boot path is now: /stand/backup/vmunix
> System Memory = 196346 MB
loading section 0
....................................................................... (complete)
loading section 1
............. (complete)
loading symbol table
loading System Directory (boot.sys) to MFS
.....
loading MFSFILES directory (/stand/backup/bootfs) to MFS
............................
Launching /stand/backup/vmunix
SIZE: Text:35992K + Data:6365K + BSS:26770K = Total:69128K

Console is on Serial Device - via PCDP
Booting kernel...

Loaded ACPI revision 2.0 tables.
Using /stand/ext_ioconfig

Memory Class Setup
-------------------------------------------------------------------------
Class     Physmem              Lockmem              Swapmem
-------------------------------------------------------------------------
System :  186759 MB            186759 MB            186759 MB          
Kernel :  186759 MB            186759 MB            186759 MB          
User   :  180859 MB            160335 MB            160964 MB          
-------------------------------------------------------------------------

ktracer is off until requested.
Enabling spinlock ALAT switching
Installing Socket Protocol families AF_INET and AF_INET6
Kernel EVM initialized
sec_init(): kernel RPC authentication/security initialization.
secgss_init():  kernel RPCSEC_GSS security initialization.
rpc_init(): kernel RPC initialization.
rpcmod_install(): kernel RPC STREAMS module "rpcmod" installation. ...(driver_install)
NOTICE: nfs_client_pv3_install(): nfs3 File system was registered at index 10.
NOTICE: nfs_client_pv4_install(): nfs4 File system was registered at index 11.
NOTICE: cachefsc_install: cachefs File system was registered at index 13.
fclp0: Claiming Fibre Channel HBA port at hardware path 0/0/6/0/0/0/0
fclp1: Claiming Fibre Channel HBA port at hardware path 0/0/14/0/0/0/0
fclp3: Claiming Fibre Channel HBA port at hardware path 1/0/6/0/0/0/0
Boot device's HP-UX HW path is: 0.0.0.3.0.6.0
igelan0: INITIALIZING HP PCI-X 1000Base-T Built-in at hardware path 0/0/0/1/0
iether2: INITIALIZING HP AD337-60001 PCIe 1000Base-T Dual-port Adapter at hardware path 0/0/12/0/0/0/0
iether3: INITIALIZING HP AD337-60001 PCIe 1000Base-T Dual-port Adapter at hardware path 0/0/12/0/0/0/1

    System Console is on the Built-In Serial Interface
iether4: INITIALIZING HP AD331-60001 PCI/PCI-X 1000Base-T Adapter at hardware path 1/0/8/1/0
iether5: INITIALIZING HP AD337-60001 PCIe 1000Base-T Dual-port Adapter at hardware path 1/0/12/0/0/0/0
iether6: INITIALIZING HP AD337-60001 PCIe 1000Base-T Dual-port Adapter at hardware path 1/0/12/0/0/0/1
iether1: INITIALIZING HP AD331-60001 PCI/PCI-X 1000Base-T Adapter at hardware path 0/0/8/1/0
AF_INET socket/streams output daemon running, pid 105
afinet_prelink: module installed
Starting the STREAMS daemons-phase 1
LVM: Root VG activated
    Swap device table:  (start & size given in 512-byte blocks)
        entry 0 - major is 64, minor is 0x2; start = 0, size = 268435456
Checking root file system.
log replay in progress
replay complete - marking super-block as CLEAN
Root check done.
Create STCP device files
Starting the STREAMS daemons-phase 2
     $Revision: vmunix:    B.11.31_LR FLAVOR=perf
Memory Information:
    physical page size = 4096 bytes, logical page size = 4096 bytes
    Physical: 201059252 Kbytes, lockable: 151335100 Kbytes, available: 172359816 Kbytes

/sbin/ioinitrc:
/dev/vg00/lvol1: UNREF FILE I=10
OWNER=root MODE=120755
/dev/vg00/lvol1: SIZE=7 MTIME=Sep  7 13:14 2012  (CLEARED)
/dev/vg00/lvol1: UNREF FILE I=11
OWNER=root MODE=120755
/dev/vg00/lvol1: SIZE=14 MTIME=Sep  7 13:12 2012  (CLEARED)
/dev/vg00/lvol1: UNREF FILE I=18
OWNER=root MODE=120755
/dev/vg00/lvol1: SIZE=15 MTIME=Sep  7 13:12 2012  (CLEARED)
/dev/vg00/lvol1: UNREF FILE  I=6402
OWNER=root MODE=100644
/dev/vg00/lvol1: SIZE=153104 MTIME=Sep  7 13:15 2012  (RECONNECTED)
/dev/vg00/lvol1: LINK COUNT FILE I=6403
OWNER=root MODE=100644
/dev/vg00/lvol1: SIZE=153104 MTIME=Dec  3 11:13 2012  COUNT 2 SHOULD BE 1 (ADJUSTED)
/dev/vg00/lvol1: FREE INODE COUNT WRONG IN SUPERBLK (FIXED)
/dev/vg00/lvol1: 160 DUP BLKS IN BIT MAPS
/dev/vg00/lvol1: BAD CYLINDER GROUPS (FIXED)
/dev/vg00/lvol1: 237 files, 0 icont, 166981 used, 1884572 free (1036 frags, 235442 blocks)
/sbin/krs_sysinit:
       * The automatic 'backup' configuration has been loaded and is now
         in use.
       * The module 'rng' has been loaded.
en loaded.

insf: Installing special files for ipmi instance 0 address 0/250/1

/sbin/bcheckrc:
Checking for LVM volume groups and Activating (if any exist)
Checking hfs file systems
/sbin/fsclean: /dev/vg00/lvol1 (mounted) ok
HFS file systems are OK, not running fsck
Checking vxfs file systems
UX:vxfs fsck: INFO: V-3-20913: /dev/vg00/lvol3:sanity check: root file system OK (mounted read/write)
UX:vxfs fsck: WARNING: V-3-20916: /dev/vg00/lvol4:sanity check: /dev/vg00/lvol4 needs che3-20916: /dev/vg00/lvol5:sanity check: /dev/vg00/lvol5 needs checking
UX:vxfs fsck: WARNING: V-3-20916: /dev/vg00/lvol6:sanity check: /dev/vg00/lvol6 needs checking
UX:vxfs fsck: WARNING: V-3-20916: /dev/vg00/lvol7:sanity check: /dev/vg00/lvol7 needs checking
UX:vxfs fsck: WARNING: V-3-20916: /dev/vg00/lvol8:sanity check: /dev/vg00/lvol8 needs checking
UX:vxfs fsck: WARNING: V-3-20916: /dev/vg00/lv_ora:sanity check: /dev/vg00/lv_ora needs checking
UX:vxfs fsck: WARNING: V-3-20916: /dev/vg00/lvcv:sanity check: /dev/vg00/lvcv needs checking
/dev/vg00/lvol4:log replay in progress
/dev/vg00/lvol4:replay complete - marking super-block as CLEAN
/dev/vg00/lvol5:log replay in progress
/dev/vg00/lvol5:replay complete - marking super-block as CLEAN
/dev/vg00/lvol6:log replay in progress
/dev/vg00/lvol6:replay complete - marking super-block as CLEAN
ogress
/dev/vg00/lvol7:replay complete - marking super-block as CLEAN
/dev/vg00/lvol8:log replay in progress
/dev/vg00/lvol8:replay complete - marking super-block as CLEAN
/dev/vg00/lv_ora:log replay in progress
/dev/vg00/lv_ora:replay complete - marking super-block as CLEAN
/dev/vg00/lvcv:log replay in progress
/dev/vg00/lvcv:replay complete - marking super-block as CLEAN

Cleaning /etc/ptmp...
(c)Copyright 1983-2006 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-199 Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2006 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.

Confidential computer software. Valid license from HP required for
possession, use or copying.  Consistent with FAR 12.211 and 12.212,
Commercial Computer Software, Computer Software Documentation, and
Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.

is disabled (see /etc/auto_parms.log)

    
     HP-UX Start-up in progres__

     Configure system crash dumps ................................ OK
     Removing old vxvm files ..................................... OK
     Mount file systems .......................................... OK
     Remounting Root File System ................................. OK
     Setting hostname ............................................ OK
     Start containment subsystem configuration ................... OK
     Set privilege group ......................................... OK
     Display date ................................................ N/A
     Save system crash dump if needed ............................ FAIL *
     Start evp ................................................... OK
     Enable auxiliary swap space ................................. OK
     Start syncer daemon ......................................... OK
     Initializing livedump ....................................... N/A
     Start Utmp Daemon : mana 
阅读(11353) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~