标题: 机子启动不了,求救 [打印本页] 作者: morinson 时间: 2009-04-18 08:45 标题: 机子启动不了,求救 几天前用完机子,关机时直接断了电源。然后今天想用时开机,等了半天还是ping不通。然后通过串口连上,看到信息如下:
screen not found.
Can't open input device.
Keyboard not present. Using ttya for input and output.
Netra t 1120/1125 (2 X UltraSPARC-II 296MHz), No Keyboard
OpenBoot 3.23, 2048 MB memory installed, Serial #12832255.
Ethernet address 8:0:20:c3:cd:ff, Host ID: 80c3cdff.
Boot device: /pci@1f,4000/scsi@3/disk@0,0:a File and args:
停在这里,就不再向下走了,重试着关电重启一直还是这个样子
然后关机后,交换了两块内置硬盘的位置,再启如下:
screen not found.
Can't open input device.
Keyboard not present. Using ttya for input and output.
Netra t 1120/1125 (2 X UltraSPARC-II 296MHz), No Keyboard
OpenBoot 3.23, 2048 MB memory installed, Serial #12832255.
Ethernet address 8:0:20:c3:cd:ff, Host ID: 80c3cdff.
Boot device: /pci@1f,4000/scsi@3/disk@0,0:a File and args:
The file just loaded does not appear to be executable.
{0} ok
可以进到ok状态下了,然后我手工进行了以下命令
{0} ok banner
Netra t 1120/1125 (2 X UltraSPARC-II 296MHz), No Keyboard
OpenBoot 3.23, 2048 MB memory installed, Serial #12832255.
Ethernet address 8:0:20:c3:cd:ff, Host ID: 80c3cdff.
{0} ok boot
Boot device: /pci@1f,4000/scsi@3/disk@0,0:a File and args:
The file just loaded does not appear to be executable.
{0} ok printenv
Variable Name Value Default Value
scsi-initiator-id 7 7
keyboard-click? false false
keymap
ttyb-rts-dtr-off false false
ttyb-ignore-cd true true
ttya-rts-dtr-off false false
ttya-ignore-cd true true
ttyb-mode 9600,8,n,1,- 9600,8,n,1,-
ttya-mode 9600,8,n,1,- 9600,8,n,1,-
pcia-probe-list 1 1
pcib-probe-list 1,3,2,4,5 1,3,2,4,5
enclosure-type 540-3830
banner-name Netra t 1120/1125
energystar-enabled? false
mfg-mode off off
diag-level min min
#power-cycles 331
system-board-serial# 5015606030684
system-board-date 39780132
fcode-debug? false false
output-device screen screen
input-device keyboard keyboard
load-base 16384 16384
boot-command boot boot
auto-boot? true true
watchdog-reboot? false false
diag-file
diag-device disk0 disk1 net
boot-file
boot-device /pci@1f,4000/scsi@3/disk ... disk net
local-mac-address? false false
ansi-terminal? true true
screen-#columns 80 80
screen-#rows 34 34
silent-mode? false false
use-nvramrc? false false
nvramrc devalias vx-rootdiskb /p ...
security-mode none
security-password
security-#badlogins 0
oem-logo
oem-logo? false false
oem-banner
oem-banner? false false
hardware-revision
last-hardware-update
diag-switch? false false
{0} ok
{0} ok
{0} ok
{0} ok boot disk0
Boot device: /pci@1f,4000/scsi@3/disk@0,0 File and args:
The file just loaded does not appear to be executable.
{0} ok boot disk1
Boot device: /pci@1f,4000/scsi@3/disk@1,0 File and args:
SunOS Release 5.10 Version Generic_118833-33 64-bit
Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: practice1
The / file system (/dev/rdsk/c0t0d0s0) is being checked.
WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/rdsk/c0t0d0s0).
Apr 19 07:12:46 svc.startd[7]: svc:/system/filesystem/usr:default: Method "/lib/
svc/method/fs-usr" failed with exit status 95.
Apr 19 07:12:46 svc.startd[7]: system/filesystem/usr:default failed fatally: tra
nsitioned to maintenance (see 'svcs -xv' for details)
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run
Root password for system maintenance (control-d to bypass):
到了这里后无论输密码还是敲回车,都没有反应
无奈之下再次重启,结果ok状态都进不去了,一直是下面的样子(把硬盘换回来和不换都试了,如果一样):
screen not found.
Can't open input device.
Keyboard not present. Using ttya for input and output.
Netra t 1120/1125 (2 X UltraSPARC-II 296MHz), No Keyboard
OpenBoot 3.23, 2048 MB memory installed, Serial #12832255.
Ethernet address 8:0:20:c3:cd:ff, Host ID: 80c3cdff.
就不动了,请高手指点!!!作者: easybegin 时间: 2009-04-18 11:08
boot disk0 -s
fsck -y
reboot -- -r作者: morinson 时间: 2009-04-19 09:50
原帖由 easybegin 于 2009-4-18 11:08 发表
boot disk0 -s
fsck -y
reboot -- -r
问题是现在进不到ok符下,所以没有办法切换到单用户模式下修复
因为机子启动到
screen not found.
Can't open input device.
Keyboard not present. Using ttya for input and output.
Netra t 1120/1125 (2 X UltraSPARC-II 296MHz), No Keyboard
OpenBoot 3.23, 2048 MB memory installed, Serial #12832255.
Ethernet address 8:0:20:c3:cd:ff, Host ID: 80c3cdff.
就不动了,能不能说下有什么办法进到ok下!
PS:谢谢朋友指点作者: alex_linux 时间: 2009-04-19 10:07
stop a 可以吗
Hardware Power ON
Master CPU online
Master Version: 0000.0000.1700.1120
Slave Version: 0000.0000.1700.1120
CPU E$ (M) 0000.0000.0020.0000 (S) 0000.0000.0020.0000
Button Power ON
Master CPU online
Master Version: 0000.0000.1700.1120
Slave Version: 0000.0000.1700.1120
CPU E$ (M) 0000.0000.0020.0000 (S) 0000.0000.0020.0000
Probing keyboard Done
%o0 = 0000.0000.0000.2001
Executing Power On SelfTest
0>
0>@(#) Sun Ultra 60(UltraSPARC-II 2-way) UPA/PCI POST 2.0.2 10/19/1998 10:46 AM
Software Power ON
Master CPU online
Master Version: 0000.0000.1700.1120
Slave Version: 0000.0000.1700.1120
CPU E$ (M) 0000.0000.0020.0000 (S) 0000.0000.0020.0000
@(#) UPA/PCI 3.23 Version 1 created 1999/07/16 12:08
Clearing DTAGS Done
Probing Memory Done
MEM BASE = 0000.0000.a000.0000
MEM SIZE = 0000.0000.2000.0000
MMUs ON
Copy Done
PC = 0000.01ff.f000.2800
PC = 0000.0000.0000.2844
Decompressing into Memory Done
Size = 0000.0000.0006.eb80
ttya initialized
SC Control: EWP:0 IAP:0 FATAL:0 WAKEUP:0 BXIR:0 BPOR:0 SXIR:0 SPOR:1 POR:0
Probing Memory Bank #0 128 128 128 128 : 512 Megabytes
Probing Memory Bank #1 128 128 128 128 : 512 Megabytes
Probing Memory Bank #2 128 128 128 128 : 512 Megabytes
Probing Memory Bank #3 128 128 128 128 : 512 Megabytes
Probing Floppy: No drives detected
Probing EBUS SUNW,tsalarmProbing UPA Slot at 1e,0 Nothing there
Probing UPA Slot at 1d,0 Nothing there
Probing /pci@1f,4000 at Device 1 pci108e,1000network
Probing /pci@1f,4000 at Device 3 scsidiskscsidisk
Probing /pci@1f,4000 at Device 2 display
Probing /pci@1f,4000 at Device 4 Nothing there
Probing /pci@1f,4000 at Device 5 pci108e,1000SUNW,hme
Probing /pci@1f,2000 at Device 1 Nothing there
screen not found.
Can't open input device.
Keyboard not present. Using ttya for input and output.
SC Control: EWP:0 IAP:0 FATAL:0 WAKEUP:0 BXIR:0 BPOR:0 SXIR:0 SPOR:1 POR:0
Probing Memory Bank #0 128 128 128 128 : 512 Megabytes
Probing Memory Bank #1 128 128 128 128 : 512 Megabytes
Probing Memory Bank #2 128 128 128 128 : 512 Megabytes
Probing Memory Bank #3 128 128 128 128 : 512 Megabytes
Probing Floppy: No drives detected
Probing EBUS SUNW,tsalarmrobing UPA Slot at 1e,0 Nothing there
Probing UPA Slot at 1d,0 Nothing there
Probing /pci@1f,4000 at Device 1 pci108e,10003 scsing /pci@1f,4000 at Device 2 displayg /pci@1f,4000 at Device 4 Nothing there
Probing /pci@1f,4000 at Device 5 pci108e,1000UNW,hmeothing there
Netra t 1120/1125 (2 X UltraSPARC-II 296MHz), No Keyboard
OpenBoot 3.23, 2048 MB memory installed, Serial #12832255.
Ethernet address 8:0:20:c3:cd:ff, Host ID: 80c3cdff.