View previous topic :: View next topic |
Author |
Message |
dh003i2 Tux's lil' helper
Joined: 10 Mar 2003 Posts: 101 Location: Rochester, NY
|
Posted: Thu Sep 09, 2004 2:40 pm Post subject: Shutdown problem |
|
|
I just got done with Stage 1 of my Gentoo install. However, since I started, the LiveCD has been having problems shutting down the computer. I type
Code: | shutdown -time "now" |
(or whatever it is, can't remember if that's the exact syntax, but you get the idea), and then I just get the framebuffer thing that says "Rebooting Gentoo" and the progress bar never finishes, so I end up having to do a hard shut down (power off button) and then reiserfsck and e2fsck my partitions when I turn it back on before i mount them. I'm on a Centrino Gateway 450 laptop, with a Pentium-M 1.5GHz, 40GB 5400rpm hard drive, 512MB DDR RAM.
What is up with this? _________________ Become one with the command-line. |
|
Back to top |
|
|
Raoul_Duke l33t
Joined: 15 Dec 2002 Posts: 694 Location: Caerdydd, Wales
|
Posted: Thu Sep 09, 2004 2:49 pm Post subject: |
|
|
You should be able to press f2 to see the shutdown messages. Have a look and post what message it sticks on _________________ www.iamthepenguin.com |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Thu Sep 09, 2004 4:57 pm Post subject: |
|
|
Also, Power Management may be improperly configured in the kernel. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Sipos Tux's lil' helper
Joined: 10 Sep 2004 Posts: 121 Location: London
|
Posted: Fri Sep 10, 2004 1:57 pm Post subject: |
|
|
I am having the same problem. The last message I get is Code: | stopping usb hotplugging.. [ok] |
then nothing. It may be that apm is just not configured correctly so it just doesn't power down. I am not sure if it related or even if it is a problem but starting usb hotplugging takes along time when booting (it does this on slackware too so I may just be being impatient). If it helps I am using the 2004.2 universal live CD and I have an Athlon XP 2200+, 512MB RAM, Asus A7V333 motherboard I have a 60GB UDMA133 Maxtor HDD, a 120GB UDMA100 Western Digital HDD, a Toshiba DVD-ROM drive and a Lite-On CD-RW Drive connected to the motherboard's IDE controler and a 120GB UDMA133 Maxtor HDD and a 200GB UDMA133 Maxtor HDD conected to a Silicon Image 680 PCI IDE controler. I also have a Intel Ether Express Pro 100 PCI network card, a WinFast GeForce 4 Ti4600 graphics card and Creative Audigy Platinum sound card. The USB divices currently connected are a logitech MX700 mouse and a HP deskject5150 printer (I think that is everything I can think of). |
|
Back to top |
|
|
n3mo l33t
Joined: 28 Mar 2004 Posts: 657 Location: In a Cruel World
|
Posted: Fri Sep 10, 2004 2:03 pm Post subject: |
|
|
Control if you had enabled ACPI in your kernel configuration. |
|
Back to top |
|
|
dh003i2 Tux's lil' helper
Joined: 10 Mar 2003 Posts: 101 Location: Rochester, NY
|
Posted: Fri Sep 10, 2004 2:10 pm Post subject: |
|
|
ARG, now when I type
Code: | shutdown -time "now" |
The damn thing says it is missing some init script or something. Didn't write down the precise file, because had to go to work. I have just finished stage 2 of the install process (and have yet to move on from there). I keep on fsck'ing before I mount the drives on reboot, but still don't like it. Also, whenever I close the lid on the laptop, and then open it again, the computer is frozen. _________________ Become one with the command-line. |
|
Back to top |
|
|
bonbons Apprentice
Joined: 04 Sep 2004 Posts: 250
|
Posted: Sun Sep 12, 2004 6:35 pm Post subject: |
|
|
Sipos wrote: | I am having the same problem. The last message I get is Code: | stopping usb hotplugging.. [ok] |
then nothing. It may be that apm is just not configured correctly so it just doesn't power down. I am not sure if it related or even if it is a problem but starting usb hotplugging takes along time when booting (it does this on slackware too so I may just be being impatient). |
On my box I appear to have a similar problem too...
When shutting down (shutdown -h now) the rc shutdown process runs, but does not continue after Code: | stopping lo... [ok] |
Every time I have to press enter to see bash's prompt again and there (to avoid fscking) umount or mount -o remount,ro any filesystems, and after that hold power-button to power of. Halt only stops hard drives.
I activated ACPI in kernel, and that works quite well with my SuSE system or even the Gentoo Live CD (2004.2)!
Looks like rc scrips is waiting for something...
I installed my system from stage 2, and have the problem since beginning |
|
Back to top |
|
|
Jakub Guru
Joined: 04 Oct 2003 Posts: 377 Location: Warsaw, Poland
|
Posted: Sun Sep 12, 2004 7:36 pm Post subject: |
|
|
Sipos wrote: | I am having the same problem. The last message I get is Code: | stopping usb hotplugging.. [ok] |
then nothing.
|
Well, I have the same problem when rebooting the LiveCD (the 2000.1 I think). But it doesn't hang, I can press Enter and I'm back at the prompt. I then type 'reboot' and it, well, reboots. I think it must be either some problem with the kernel acpi/apm used on the LiveCD or with its hotplug. After having installed my own kernel (2.4.25 and 2.6.8 ), it doesn't stop any more. |
|
Back to top |
|
|
bonbons Apprentice
Joined: 04 Sep 2004 Posts: 250
|
Posted: Sun Sep 12, 2004 9:32 pm Post subject: |
|
|
Some more information, I am running with udev "only", and the /sbin/rc script blocks on command "/sbin/pam_console_apply" in /etc/init.d/halt.sh.
On my second box where I run with devfs shutdown works correctly.
Looks like there are still some udev-related troubles in Gentoo bootscripts!
Have found the following in BugZilla:
Bug 42139 (using udev + NIS prevents clean shutdown) and Bug 50315 (pam_console_apply should not be used on udev systems) |
|
Back to top |
|
|
Poppenpopper Tux's lil' helper
Joined: 29 Sep 2003 Posts: 78 Location: Böblingen
|
Posted: Fri Apr 08, 2005 3:34 pm Post subject: |
|
|
Have the same problem here. When trying to reboot or shutdown after
Quote: | stopping lo... [ok] |
nothing happens. When i press return and enter a "reboot" second time the system reboots. But it seems that the root Partition is now not cleanly unmounted.
ACPI is activated on this Dual Xeon system. I tried to disable Power-Management in Kernel, but that this didnt work.
My other gentoo systems dont have this problem...
Are there any solutions available?
Best regards
Lars |
|
Back to top |
|
|
Surtsey n00b
Joined: 22 Aug 2004 Posts: 21
|
Posted: Fri Apr 08, 2005 6:30 pm Post subject: |
|
|
shutdown brings the system down in a secure way. All logged-in users
are notified that the system is going down, and login(1) is blocked.
It is possible to shut the system down immediately or after a specified
delay. All processes are first notified that the system is going down
by the signal SIGTERM. This gives programs like vi(1) the time to save
the file being edited, mail and news processing programs a chance to
exit cleanly, etc. shutdown does its job by signalling the init
process, asking it to change the runlevel. Runlevel 0 is used to halt
the system, runlevel 6 is used to reboot the system, and runlevel 1 is
used to put to system into a state where administrative tasks can be
performed; this is the default if neither the -h or -r flag is given to
shutdown. To see which actions are taken on halt or reboot see the
appropriate entries for these runlevels in the file /etc/inittab.
|
|
Back to top |
|
|
Poppenpopper Tux's lil' helper
Joined: 29 Sep 2003 Posts: 78 Location: Böblingen
|
Posted: Fri Apr 08, 2005 6:56 pm Post subject: |
|
|
öhhm.... well i don't think this is the answer to the questions/problems mentioned above...
greetings
Lars |
|
Back to top |
|
|
Surtsey n00b
Joined: 22 Aug 2004 Posts: 21
|
Posted: Fri Apr 08, 2005 9:17 pm Post subject: |
|
|
Have you tried using the -h switch? |
|
Back to top |
|
|
Poppenpopper Tux's lil' helper
Joined: 29 Sep 2003 Posts: 78 Location: Böblingen
|
Posted: Fri Apr 08, 2005 9:44 pm Post subject: |
|
|
sure, but it didn't work! |
|
Back to top |
|
|
|