LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-11-2005, 03:15 PM   #1
tisam
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian unstable,2.6.10
Posts: 15

Rep: Reputation: 0
Question 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
 
Old 02-11-2005, 04:34 PM   #2
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
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
 
Old 02-12-2005, 12:37 AM   #3
tisam
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian unstable,2.6.10
Posts: 15

Original Poster
Rep: Reputation: 0
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 ?
 
Old 02-12-2005, 02:28 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 02-12-2005, 03:58 AM   #5
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
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
 
Old 02-12-2005, 08:06 AM   #6
tisam
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian unstable,2.6.10
Posts: 15

Original Poster
Rep: Reputation: 0
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...
 
Old 02-12-2005, 05:26 PM   #7
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
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
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shutdown but no reboot alma SUSE / openSUSE 2 11-17-2005 11:11 PM
shutdown -h causes reboot obrienj Red Hat 1 09-11-2005 09:52 PM
Reboot Shutdown netlink Mandriva 2 06-13-2004 12:13 AM
Immediate shutdown/reboot Creep Linux - Hardware 4 03-07-2004 04:56 AM
Shutdown nor reboot shusseina Linux - Software 7 05-05-2003 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:28 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