LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Shutdown/reboot not working in 2.6.10 ? (https://www.linuxquestions.org/questions/linux-software-2/shutdown-reboot-not-working-in-2-6-10-a-289043/)

tisam 02-11-2005 03:15 PM

Shutdown/reboot not working in 2.6.10 ?
 
Hi ! Today i managed to get my kernel 2.6.10 working ! Well, not all is working but one problem frustrates me.

When I'm making shutdown (as a normal user or as root) I receive this message :
System is going to halt now !
Which is of course what I expect. But then nothing happens - no stopping of demons, nothing. I can jump between terminals, I can go to KDE and still nothing happens...

The same with reboot - the system writes :
System is going to reboot now !
And then nothing... I don't think it's the matter of apm or something because the system is expected to begin the shutdown, right ?

Anyway, I have this compiled into my kernel :
ACPI : ACPI,ACPI_SLEEP,ACPI_AC,ACPI_BUTTON,ACPI_VIDEO,ACPI_FAN,ACPI_PROCESSOR
APM : APM,APM_ALLOW_INTS,APM_REAL_MODE_POWER_OFF.

Any tips ? If I don't find a solution than I'll have to use my old 2.4.27 because everytime I switch off Linux manually I'm doing a terrible thing to my Linux partition :(

webtoe 02-11-2005 04:34 PM

What command are you using to halt the machine? Are you using kde's shutdown command? Does it work if you shutdown from the command line?

Sounds more like a problem with KDE if this is the case but might need investigating.

Alex

tisam 02-12-2005 12:37 AM

Well, I've tried everything. shutdown/reboot from KDE. shutdown/reboot or ctrl+alt+del from the console (also user & root). But nothing works... Maybe something is blocking the computer from shutdown ? Any ideas ?

syg00 02-12-2005 02:28 AM

Try using poweroff from root (outside of X) rather than shutdown.
I saw a similar situation from console if I used shutdown.

Would expect KDE to handle it though - Gnome does for me.

webtoe 02-12-2005 03:58 AM

hmm, lets try doing it from the command line. Leave kde and go just to a command line (actually you might be able to do it from a console window in KDE but I'm not sure).

Become the root user with
Code:

su
and enter your password

The type the following command
Code:

shutdown -h now
that tells the machine to shutdown now.

Tell us if that works or not. If it doesn't then there is quite a serious problem.

Alex

tisam 02-12-2005 08:06 AM

Well,
shutdown -h now doesn't work. Neither do reboot & poweroff.

But I tried : init 0 and it works til it reaches Deactivating swap...
Here it hangs.

In kernels 2.6* there is discover for detecting hardware, right ? On my machine during booting
Detecting hardware... hangs. Well, I think it does hang because I'm waiting for 15 minutes and nothing happens. Maybe someone had to wait quite a long time for the first discover detection ?Maybe that's the cause of my problems? i'm making ctrl+c and the system is booting ok , but just before loading the deamons i have another problem :

Loading the saved-state of the serial devices.
modprobe : FATAL : Error running install command for serial.
/dev/ttyS0 : no such device or address.

Does it have any contribution to my inability to shut down or reboot my Linux on 2.6.10 kernel ?

I really have no more ideas...

webtoe 02-12-2005 05:26 PM

No it shouldn't hang for 15 mins on detecting your hard ware. Neither shoudl the serial device stop your machine from shutting down. A very strange problem which I don't know how to solve I'm afraid.

It could be something wrong with the kernel that you compiled, that's the only thing I can think of. It could also just be a bug in the kernel. Open source software is rather amazing but bugs do occur.

If possible, get the latest sources and recompile your kernel (you can use the same config to use in another kernel). That might help your problem.

Apart from that you'll have to hope for someone more knowledgable than I. Sorry

Alex


All times are GMT -5. The time now is 05:26 AM.