Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem: "shutdown -r now" makes no restart
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tutaepaki
Apprentice
Apprentice


Joined: 11 Nov 2003
Posts: 279
Location: New Zealand

PostPosted: Wed Mar 23, 2005 9:48 pm    Post subject: Reply with quote

From your dmesg, it looks like you've got both apm and acpi configured. Even though ACPI is supposed to override APM and disable it, i've seen lots of people suggest that they do still interfere with each other.

I suggest getting rid of one or other of them. If you don't need any fancy power functions, like power button support, apm will suffice.

tut.
Back to top
View user's profile Send private message
rutski89
Guru
Guru


Joined: 14 Mar 2005
Posts: 468
Location: United States N.Y.

PostPosted: Wed Mar 23, 2005 9:57 pm    Post subject: Reply with quote

Try
Code:
poweroff
Back to top
View user's profile Send private message
vkha
n00b
n00b


Joined: 18 Mar 2005
Posts: 33
Location: Germany

PostPosted: Sat Mar 26, 2005 11:49 am    Post subject: Reply with quote

OOZafle wrote:
if you su root first then do a shutdown -r now it should work. I can't do it as a user on my comp...


surely I did "shutdown -r now" as su.

It doesn't work though :?
Back to top
View user's profile Send private message
vkha
n00b
n00b


Joined: 18 Mar 2005
Posts: 33
Location: Germany

PostPosted: Sat Mar 26, 2005 11:54 am    Post subject: Reply with quote

rutski89 wrote:
Try
Code:
poweroff

works good.

But for colocation "reboot" is *much* more important then the "poweroff" though...
Back to top
View user's profile Send private message
bahadir
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2004
Posts: 81

PostPosted: Sat Mar 26, 2005 1:56 pm    Post subject: Reply with quote

beandog wrote:
Make sure you dont have any threads that are hanging. Just yesterday I passed "shutdown -r now" about 5 times to my server, and it wouldn't restart because apache was doing something funky, and I couldnt manually kill them. I eventually had to do a hard reboot.


Would this mean that, if you have an unkillable process (perhaps because it is in UNINTERRUPTABLE state), you cant reboot?
Back to top
View user's profile Send private message
vkha
n00b
n00b


Joined: 18 Mar 2005
Posts: 33
Location: Germany

PostPosted: Sat Mar 26, 2005 11:39 pm    Post subject: Reply with quote

problem is urgent
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Sun Jun 26, 2005 5:15 am    Post subject: Reply with quote

Any progress with this problem? I just encountered this problem as well. One thing that I noticed in your dmesg that is the same as mine when it doesn't shutdown:

Code:
Jun 25 10:36:47 comp Failed to disable AUX port, but continuing anyway... Is this a SiS?


My kernel config is the same on 3 other boxes. I'm not running w/acpi or apm support built in the kernel (Power Management). Here are my main specs:

Code:
Linux comp 2.6.11-hardened-r14 #1 Tue Jun 21 14:54:12 MDT 2005 i686 AMD Sempron(tm)   3000+ AuthenticAMD GNU/Linux


The sequence of events that occurred when power up failed.

1. Rebooted the box.. it came up (but had the above AUX port message)
2. I noticed that I had networking, but ntp was not working.
3. Trying to fix ntp, i noticed that nameserver resolution was borked. (checking /etc/resolv.conf showed all was good, and I could ping the servers), but pinging by name would fail.
4. I tried to restart the interface, which then spit out problems with syslog-ng, etc.. basically couldn't restart the services.
5. I rebooted.. but then couldn't get back to the box
6. Powercycle fixed the problem

This is a co-lo box.. so I'm pretty concerned this is going to happen again, and would like to avoid it if possible.

Anybody have any ideas??

Thanks everyone!
hanji
Back to top
View user's profile Send private message
vkha
n00b
n00b


Joined: 18 Mar 2005
Posts: 33
Location: Germany

PostPosted: Sun Jun 26, 2005 9:15 pm    Post subject: Reply with quote

all i got to this issue:

no PS-mouse -- no reboot!

if you have time you could report this to the Big Guys
Back to top
View user's profile Send private message
starky
n00b
n00b


Joined: 16 May 2005
Posts: 50
Location: Australia

PostPosted: Mon Jun 27, 2005 4:46 am    Post subject: Reply with quote

go here.

Quote:
http://lists.ssc.com/pipermail/linux-list/2004-October/022194.html

_________________
continue the past into the future.
Back to top
View user's profile Send private message
vkha
n00b
n00b


Joined: 18 Mar 2005
Posts: 33
Location: Germany

PostPosted: Mon Jun 27, 2005 10:14 am    Post subject: Reply with quote

starky wrote:
go here.

Quote:
http://lists.ssc.com/pipermail/linux-list/2004-October/022194.html


sry, but current topic is rather about
Quote:

shutdown -r now

or maybe I have misunderstood smth in the link above.
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Tue Jun 28, 2005 12:09 am    Post subject: Reply with quote

Completely different hw (Toshiba Tecra M2 laptop) but same problem. I've solved it removing the ipw2200 wireless LAN module before rebooting. So I've put

Code:
ifconfig eth1 down
rmmod -s ipw2200


in /etc/conf.d/local.stop and now I can reboot from command line (shutdown -r and reboot) and from KDE.

Even if it's not exactly the same you could try to selectively remove modules before rebooting (it's a little tedious, tenth of reboots, but worked for me). Hope this helps.
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Wed Jun 29, 2005 2:03 pm    Post subject: Reply with quote

hmmm

I don't have module support for my kernel. I definitely see the recurring behaviour when restart fails..

1. restart the box. It comes up fine on the first restart
2. in dmesg these lines will appear after successful 1st reboot:
Code:
Failed to disable AUX port, but continuing anyway... Is this a SiS?
If AUX port is really absent please use the 'i8042.noaux' option.

3. reboot again.. it'll hang on shutdown at this time

This is starting to be a critical issue!

Thanks much!
hanji
Back to top
View user's profile Send private message
hanj
Veteran
Veteran


Joined: 19 Aug 2003
Posts: 1500

PostPosted: Wed Jun 29, 2005 2:17 pm    Post subject: Reply with quote

I'm trying to disable this in the kernel.. hoping it'll fix the problem.. anyone know where this is set in the config??

Code:
CONFIG_SERIO_I8042=y


This is my kernel:
Code:
2.6.11-hardened-r15


Thanks!
hanji
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum