HP-UX

싱글 유저 모드 방법

 
박영조
임시 조언자

싱글 유저 모드 방법

장비 : rp2405

OS : HP-UX hp-ux B.11.11



싱글 유저로 부팅하기 위해서 아래와 같이 했지만 싱글로 들어가지 않는데 답변 좀 부탁 드리겠습니다.



***** EARLY BOOT VFP : SYSTEM ALERT *****

SYSTEM NAME: HPUX

DATE: 10/25/2005 TIME: 07:42:35

ALERT LEVEL: 6 = Boot possible, pending failure - action required



REASON FOR ALERT

SOURCE: 8 = I/O

SOURCE DETAIL: 9 = serial SOURCE ID: 0

PROBLEM DETAIL: 3 = functional failure



LEDs: RUN ATTENTION FAULT REMOTE POWER

FLASH FLASH OFF ON ON

LED State: Running non-OS code. Non-critical error detected.

Check Chassis and Console Logs for error messages.



0x00000063890014C0 00000000 00000000 - type 0 = Data Field Unused

0x58000863890014C0 00006909 19072A23 - type 11 = Timestamp 10/25/2005 07:42:35

A/a: ack read of this entry - Q/q: quit Virtual Front Panel Display

Anything else redisplay the log entry

-> Choice : a <== a 입력



Main Menu: Enter command or menu > bo

Interact with IPL (Y, N, or Cancel)?> y <== ISL 판넬로 들어감



ISL> autoboot off <== off로 설정

ISL> di <== 확인

Fastsize value is 0000000F



Autoboot is OFF (disabled)



Autosearch is ON (enabled)



Primary boot path is 0/0/2/1.15.0.0.0.0.0

Primary boot path is (hex) 0/0/2/1.F.0.0.0.0.0



Alternate boot path is 0/0/2/0.5.0.0.0.0.0

Alternate boot path is (hex) 0/0/2/0.5.0.0.0.0.0



System console path is 0/0/4/0.643.0.0.0.0.0

System console path is (hex) 0/0/4/0.283.0.0.0.0.0



ISL> hpux -is <== 싱글로 부팅



unknown/]who -r

. run-level 3 Oct 25 01:32 3 0 S



프롬프트는 unknown으로 나오며 런레벨은 3 으로 올라 옵니다.

제가 어느부분에서 잘못을 했는지요. ^^;
4 응답 4
고광태
중학생

싱글 유저 모드 방법

위의 인터럽트 걸린 alert 메세지는 잘못된 console path 에 의해서 나는것 같습니다. bch 모드에서 console path 를 다시 확인해보시기 바랍니다.



그리고 single 부팅하면 당연히 호스트 네임데몬의 읽어지지 않기때문에 unknown 으로 나옵니다.



그런데 who -r 했을때 run-level 이 3인게 이상하네요..



mountall 하시고 vi /etc/rc.log 를 확인해보세요~ 정말 3레벨까지 올라온것인지..
김병수
본과생

싱글 유저 모드 방법

저도 예전에 이런문제로 고민을 해서 정리해 두었습니다.



이것은 잘못된 console path의 때문에 발생되는 것입니다.



첨부파일을 열어 확인하시기 바랍니다.



그럼~~
박영조
임시 조언자

싱글 유저 모드 방법

말씀 해주신 것 처럼 콘솔 경로를 변경 할려고 하면은 아래와 같이 메세지가 나타 납니다.



Main Menu: Enter command or menu > pa



Primary boot path: intscsib.15

0/0/2/1.15

0/0/02/01.f (hex)



Alternate boot path: extscsib.5

0/0/2/0.5

0/0/02/0.5 (hex)



Console path: 0/0/4/0.643

0/0/04/0.283 (hex)



Keyboard path: 0/0/4/0.0

0/0/04/0.0 (hex)



Main Menu: Enter command or menu > pa co 0/0/4/1



ERROR: Unknown Path Type



Main Menu: Enter command or menu > pa co 0/0/4/1.643



ERROR: Unknown Path Type



firmware upgrade는 하지 않았습니다. ^^; 어떻게 하는건지 몰라서요.

재설치를 다시 해봐야 될것 같습니다. (__)(--) 감사 합니다.
고광태
중학생

싱글 유저 모드 방법

Current Version 43.50



1. (DAT 로- 아래 설명되어있음.)



2. 아래의패치파일로 firmware 를 올릴수있음.



PHSS_29936 - 11.0

PHSS_29937 - 11i



A400/A500/rp24xx



-----------------------------------------------------------

SYSTEM NAME:

DATE: 01/29/2002 TIME: 09:47:14

ALERT LEVEL: 6 = Boot possible, pending failure - action

SOURCE: 8 = I/O

SOURCE DETAIL: 9 = serial SOURCE ID: 0

PROBLEM DETAIL: 3 = functional failure

CALLER ACTIVITY: 1 = test STATUS: 0

CALLER SUBACTIVITY: 4C = implementation dependent

REPORTING ENTITY TYPE: 0 = system firmware REPORTING ID:00

0x00000063890014C0 00000000 00000000 type 0 = Data Field

0x58000863890014C0 00006600 1D092F0E type 11 = Timestamp

-----------------------------------------------------------



위 에러에 대해 패스를 바꿔봐도 안된다면



firmware 를 올려야합니다.(42.09 이상)



VERIFYING FIRMWARE REVISION WITH BOOT CONSOLE HANDLER (BCH)



1. Log on as root, and enter "shutdown -r". This command

will shutdown the Operating System and reboot the system.



2. If AUTOBOOT is on, you will receive the following message:



"Process is starting autoboot process

To discontinue, press any key within 10 seconds."



At this point, press ANY KEY within 10 seconds to

interrupt the booting process.



3. The Main Menu is displayed. A prompt will appear as

"MAIN MENU: Enter command or menu>".



Enter the command "in".



4. A prompt will appear as "Information Menu: Enter Command>"



Enter the command "fv"



The system will respond with the current firmware

revision. If the revision is not revision 43.50

your system will require a Firmware update. Follow the

instructions in the next section, CREATING THE FIRMWARE

UPDATE TAPE.





* * * * * * * * * * CREATING THE FIRMWARE UPDATE TAPE * * * * * * * *



1. Verify the checksum of the file "PF_CHAW4350.frm" using

the "cksum" command. Results of the command should be

equal to "4050135777 3369984 PF_CHAW4350.frm".



2. Use the "dd" command to copy the file "PF_CHAW4350.frm"

to tape, as follows:



dd if=PF_CHAW4350.frm of=/dev/rmt/0m bs=2k

^^^^^^^^^^^

(device path dependent)



NOTE: Blocksize (bs) must be 2k





* * * * * * * * * * * FIRMWARE UPDATE PROCEDURE * * * * * * * * * * *



NOTE: ENSURE YOUR SYSTEM IS FULLY BACKED UP BEFORE

PROCEEDING WITH THIS FIRMWARE UPDATE.



1. Log on as root, and enter "shutdown -r". This command

will shutdown the Operating System and reboot the system.



2. If AUTOBOOT is on, you will receive the following

message:



"Process is starting autoboot process

To discontinue, press any key within 10 seconds."



PRESS ANY KEY WITHIN 10 SECONDS TO INTERRUPT

THE BOOTING PROCESS.



3. Boot from the device that contains the firmware update tape

you just created.



4. Interact with IPL (Y or N)?>



Respond with "N".



A series of messages will be displayed. No user

intervention is required. Proceed to step 5.



5. A message will be displayed as follows:



"F/W file Note:"

"A-Class PDC firmware image, Version 42.50"



"Continue (/n)?"



Enter "y".



CAUTION: FROM THIS POINT FORWARD, THIS PROCESS CANNOT

BE INTERRUPTED UNTIL COMPLETION. INTERRUPTING

THIS PROCESS WILL CAUSE YOUR SYSTEM TO BE

INOPERATIVE.



6. The update should take approximately two minutes.

After the tape has been read by the update

program, a message will be displayed as follows:



"Firmware downloaded SUCESSFULLY!"

THIS UTILITY WILL NOW RESET THE SYSTEM....



7. The system will automatically reset, and the boot

process will begin. Boot your system with your

normal process.



If there is a problem with your system after the

update, please contact your service representative.



* * * * * * * * * * * * * * END OF UPDATE * * * * * * * * * * * * * *



firmware 는 itrc.hp.com 에서 다운로드 받으실수있습니다.