LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-21-2008, 02:40 AM   #1
sudar
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Rep: Reputation: 0
Reboot issue


Hi every one,
I'm able to reboot my target board with the processor [mpc5200] using the command [reboot -f] from the bash prompt.
But i can't able to reboot by the command [reboot].
What should i need to do if i want to use the command [reboot]

Following things are done in rootfs:
The inittab is a file it is following path.
rootfs/etc/inittab

The content in the file is given below. I had placed initdefault as runlevel-5
id:5:initdefault:
si:5:sysinit:/etc/rc.d/rc.sysinit
sh:5:respawn:/bin/bash
s1::ctrlaltdel:/sbin/shutdown -r now
s2:owerfail:/sbin/shutdown -h +2

I'd placed rc5.d & rc6.d in the following path rootfs/etc/rc.d/ .
Eventhough when i tried to reboot the system from kernel using the command "reboot".

I'm receving the statement as follows,
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
INIT: no more processes left in this runlevel

After this the system get hanged.

When i tried to reboot the system with the command "reboot -f". The target board reboots properly.

what are all the things i need to check.

Please give me a clear solution

Thanks in Advance
 
Old 02-21-2008, 01:55 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Try 'shutdown -r now'. That is, shut down with reboot, and do it now.
 
Old 02-22-2008, 12:28 AM   #3
sudar
LQ Newbie
 
Registered: Feb 2008
Posts: 2

Original Poster
Rep: Reputation: 0
reboot issue

Thanks for the previous reply.

I'd tested the target board with the command "shuntdown -r now".
It shows the following statements,
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
INIT: no more processes left in this runlevel

I think it hanged over here after killing all other process.

For the command "reboot -f" its working fine.

But i need the target board should reboot for the command "reboot"

Please give a solution,

Thanks in Advance,
Sudarsanam
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reboot issue pksnairg Linux - Software 2 08-23-2007 04:06 AM
Reboot issue prakash.dumbre Solaris / OpenSolaris 2 04-21-2007 06:22 AM
nfs automount issue after reboot chickie Linux - Enterprise 2 01-10-2006 03:37 PM
Issue with shutdown/reboot: SuSE 9.3 darkmatter333 SUSE / openSUSE 1 04-28-2005 02:10 AM
Baffling reboot/shutdown issue... tisource Linux - General 12 03-31-2003 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration