Re: [expert] Shutdown/reboot for users

2003-07-26 Thread Luis Duran
Maybe i am a lot confuse, or my bad english lost me in your request, but
try with Ctrl+Alt+F1 or F2 or F3 to start a pure text shell session,
login as root and execute the drakconf utility, maybe you can find
something usefull inside (i understand you can not even see your kde
desktop), probably the problem begun when you shutdown your PC and your
box is not an ATX Case or motherboard, i did face this problem a time
ago with mdk 9.1 but i fix this with the operation i told you above.
Pale, good luck and may the force be with you.

El sáb, 26 de 07 de 2003 a las 10:12, Praedor Atrebates escribió:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I don't understand this...
> 
> I recently had to replace a hdd due to failure and reinstalled 9.1.  After 
> initial bootup and login to KDE, when I was finished and clicked the logout 
> button, I got the nice dragon combo box with 3 options in it:  logout, 
> reboot, shutdown.  After this one time, this box no longer comes up and all I 
> can do is logout.  Worse, after logout, I cannot select the reboot button in 
> KDM unless I am root.  
> 
> I want to be able to shutdown/reboot the system myself, both from within a 
> session and from KDM.  How do I get this ability back?  I am the only user on 
> this box.
> 
> praedor
> - -- 
> Key fingerprint = D6F9 8682 2257 2871 10C6  DB92 6F50 8BBA B100 EB15
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQE/IoxUb1CLurEA6xURAu+kAKDCP9gk3aZ/QA17J5/MpT0lMXa+YQCdHcIi
> DPudnOrhqJiVHluzIWjwSUU=
> =KbVG
> -END PGP SIGNATURE-
> 
> 
> __
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Shutdown/reboot for users

2003-07-26 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Praedor Atrebates wanted us to know:

>initial bootup and login to KDE, when I was finished and clicked the logout 
>button, I got the nice dragon combo box with 3 options in it:  logout, 
>reboot, shutdown.  After this one time, this box no longer comes up and all I 
>can do is logout.  Worse, after logout, I cannot select the reboot button in 
>KDM unless I am root.  

Disable the autologin feature.
- -- 
Blue skies...   ToddPublic key: http://www.mrball.net/todd.asc
>SELECT * FROM users WHERE clue > 0
0 rows returned--Steve "BOFH" B.
Linux kernel 2.4.19-24mdk   4 users,  load average: 0.03, 0.26, 0.23
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/IxjhIBT1264ScBURAit9AKCixNyZRBKnK4aaesK+lKeWRdnX+wCaAgKY
r9IpKQyiPSPwYkIHr1vVMXM=
=Wzb8
-END PGP SIGNATURE-

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Shutdown/reboot for users

2003-07-26 Thread Rolf Pedersen
Praedor Atrebates wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I don't understand this...

I recently had to replace a hdd due to failure and reinstalled 9.1.  After 
initial bootup and login to KDE, when I was finished and clicked the logout 
button, I got the nice dragon combo box with 3 options in it:  logout, 
reboot, shutdown.  After this one time, this box no longer comes up and all I 
can do is logout.  Worse, after logout, I cannot select the reboot button in 
KDM unless I am root.  

I want to be able to shutdown/reboot the system myself, both from within a 
session and from KDM.  How do I get this ability back?  I am the only user on 
this box.

praedor
- -- 
I don't know that it is universal but it is not uncommon and I have to 
do what Alan Shoemaker posted as a solution to this FAQ every time I 
install:

"try this (i think it's what you want):

open the 'mandrake control center" and in 'boot' choose to
disable autologin
then

open the 'kde control panel' and in 'system', 'login manager',
open the 'convenience' tab and in 'administrator mode',
enable the 'automatic login' feature. :)
--
Alan"
http://www.mail-archive.com/[EMAIL PROTECTED]/msg61227.html

Rolf


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] Shutdown/reboot for users

2003-07-26 Thread Praedor Atrebates
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I don't understand this...

I recently had to replace a hdd due to failure and reinstalled 9.1.  After 
initial bootup and login to KDE, when I was finished and clicked the logout 
button, I got the nice dragon combo box with 3 options in it:  logout, 
reboot, shutdown.  After this one time, this box no longer comes up and all I 
can do is logout.  Worse, after logout, I cannot select the reboot button in 
KDM unless I am root.  

I want to be able to shutdown/reboot the system myself, both from within a 
session and from KDM.  How do I get this ability back?  I am the only user on 
this box.

praedor
- -- 
Key fingerprint = D6F9 8682 2257 2871 10C6  DB92 6F50 8BBA B100 EB15
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/IoxUb1CLurEA6xURAu+kAKDCP9gk3aZ/QA17J5/MpT0lMXa+YQCdHcIi
DPudnOrhqJiVHluzIWjwSUU=
=KbVG
-END PGP SIGNATURE-

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] shutdown problems and kernel problems???? maybe

2001-01-29 Thread Salane King

I have two problems First I need to know why I my box won't shut down 
properly. I have upgraded something wrong trying to upgrade my kernel to 
2.4.0-11mdk  I upgraded initscripts and modutils to cooker Yes i am running a 
working 7.2 with glibc-2.2 installed but something i upgraded wont let 
umount2 finish with /usr. Any help will be appreciated.

Next problem after making and installing kernel-2.4.0-11mdk it goes thru the 
install just fine until the login step of init 3 and then locks up, no 
keyboard no mouse nothing!!! the only thing to do is hard shutdown. The stock 
2.4.0 kernel works fine at least with bootup. My /usr and /home are on a 
reiserfs, with / on ext2. I know that there is not much to go on but can i 
get some help. 



-- 
Salane King 
ICQ# 306324




RE: [expert] Shutdown

2000-09-06 Thread Zaleski, Matthew (M.E.)

Would it be appropriate to make that one of the init run level 0/6 scripts.
Give the script a low number to ensure that it runs before the mail process
is killed.  My understanding is the the warning message argument in the
shutdown command is only for those users currently logged into the system.
It doesn't actually send you an email (which would be pretty useless under
normal circumstances).

Just a thought,

Matthew Zaleski

> -Original Message-
> From: Foris Gabor [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 06, 2000 5:51 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [expert] Shutdown
> 
> 
> Hello,
> 
> It is up to the root or the person who shuts down the system 
> to send out 
> warnings and he/she can do it in the arguments of the 
> shutdown command.
> 
> Gabor
> 
> 
> On Wed, 6 Sep 2000, Joseph S. Gardner wrote:
> 
> > Richard Humphrey wrote:
> > 
> > >
> > >
> > > Is there a way to have the system email me if the server 
> is about to
> > > be shut down or rebooted? I am running LM 7.1.
> > >
> > > RLH
> > 
> > Or for that matter how to flash a user on another machine 
> that the Admin
> > is going to shut down a server or the users machine??
> > 
> > 
> > --
> > Joseph S Gardner
> > 
> > Senior Designer / Technical Support
> > Kirby Co., Cleveland, OH
> > [EMAIL PROTECTED]
> > 
> > The box said,
> > "Requires Windows 3.x or better",
> > so I got Linux.
> > 
> > Registered Linux user #1696600
> > 
> > 
> > 
> > 
> 
> 




Re: [expert] Shutdown

2000-09-06 Thread Foris Gabor

Hello,

It is up to the root or the person who shuts down the system to send out 
warnings and he/she can do it in the arguments of the shutdown command.

Gabor


On Wed, 6 Sep 2000, Joseph S. Gardner wrote:

> Richard Humphrey wrote:
> 
> >
> >
> > Is there a way to have the system email me if the server is about to
> > be shut down or rebooted? I am running LM 7.1.
> >
> > RLH
> 
> Or for that matter how to flash a user on another machine that the Admin
> is going to shut down a server or the users machine??
> 
> 
> --
> Joseph S Gardner
> 
> Senior Designer / Technical Support
> Kirby Co., Cleveland, OH
> [EMAIL PROTECTED]
> 
> The box said,
> "Requires Windows 3.x or better",
> so I got Linux.
> 
> Registered Linux user #1696600
> 
> 
> 
> 




Re: [expert] Shutdown

2000-09-06 Thread Joseph S. Gardner

Richard Humphrey wrote:

>
>
> Is there a way to have the system email me if the server is about to
> be shut down or rebooted? I am running LM 7.1.
>
> RLH

Or for that matter how to flash a user on another machine that the Admin
is going to shut down a server or the users machine??


--
Joseph S Gardner

Senior Designer / Technical Support
Kirby Co., Cleveland, OH
[EMAIL PROTECTED]

The box said,
"Requires Windows 3.x or better",
so I got Linux.

Registered Linux user #1696600






[expert] Shutdown

2000-09-06 Thread Richard Humphrey
Title: Shutdown





Is there a way to have the system email me if the server is about to be shut down or rebooted? I am running LM 7.1. 


RLH





Re: [expert] shutdown..

2000-03-26 Thread Ted Wager

On Sun, 26 Mar 2000, Civileme wrote:
`> >  OS From :- www.eridani.co.uk
> It made a backup of the original S01halt script and the new one
> was not saved for some reason.  make sure the new script (without
> the -p) is saved and delete the backup script (name ending in ~)  
> And I goofed  Edit rc.halt which S01halt is a symlink to...
> 
> You may need to do a 
> 
> # whereis rc.halt
> 
>  to find it
> 
> Civileme
> 
> -- 
> Remember that if it is done on networks, it may occur on
> your host which is a network unto itself.
-- 
Hi again...
For some reason the `back up script was being read. the edited script was there
ok I did an mv on the ~ script and everything is perfect now..I do not seem to
have a rc.halt..There is /sbin/halt though
Thanks for your help..


   Regards Ted
  
Ted Wager...Mandrake Linux 7
  g3tpi.ampr.org  44.131.147.8


 OS From :- www.eridani.co.uk



Re: [expert] shutdown..

2000-03-26 Thread Civileme

Ted Wager wrote:
> 
> On Sat, 25 Mar 2000, Civileme wrote:
> > "Brian T. Schellenberger" wrote:
> > >
> > > This must depend on your hardware; it worked just fine for me in RedHat
> > > 6.1 as well as in Mandrake 7.0.
> > >
> > > (With a Dell Inspiron 7500.)
> > >
> > > On Tue, 21 Mar 2000, you wrote:
> > > | On Tue, 21 Mar 2000, you wrote:
> > > | > Linux can shutdown your machine automatically AND safely only if you
> > > | > currently are running single processor mode. If you are shutting down
> > > | > from smp, the power manager has been disabled and is unavailable to do
> > > | > the shutdown. In the future maybe, but now from smp mode YOU get to push
> > > | > the button.
> > > | >
> > > | APM (at least in RedHat/Mandrake 5.x and 6.x) is buggy and will cause the
> > > | symptoms exhibited by the person who posted the original question. I can't
> > > | speak for Mandrake 7.x, though.
> > > |   John
> > > --
> > > "Brian, the man from babbleon-on"   [EMAIL PROTECTED]
> > > Brian T. Schellenberger http://www.babbleon.org
> > > Support http://www.eff.org. Boycott amazon.com.
> > > Support http://www.programming-freedom.org. Support decss defendents.
> >
> > Look in initscripts
> >
> > /etc/rc.d/rc0.d/S01halt
> >
> > On the very LAST line
> >
> > eval $command -i -d -p
> >
> > remove the -p
> >
> > Now it won't try to power down and you won't see the errors.
> > Just switch off the power yourself.
> >
> > Civileme
> >
> >
> > --
> > Remember that if it is done on networks, it may occur on
> > your host which is a network unto itself.
> --
> 
> Hi..
> Thanks for the info...I edited out the -p and on shutdown it tells m
> Starting halt~ /etc/rc.d/rc0.d/S01halt~ call me as "rc.halt " or "rc.reboot"
> please
>   [FAILED]
> 
> It does seem to shutdown ok though as I get no error messages on reboot.
> 
>Regards Ted
> 
> Ted Wager...Mandrake Linux 7
>   g3tpi.ampr.org  44.131.147.8
> 
>  OS From :- www.eridani.co.uk
It made a backup of the original S01halt script and the new one
was not saved for some reason.  make sure the new script (without
the -p) is saved and delete the backup script (name ending in ~)  
And I goofed  Edit rc.halt which S01halt is a symlink to...

You may need to do a 

# whereis rc.halt

 to find it

Civileme

-- 
Remember that if it is done on networks, it may occur on
your host which is a network unto itself.



Re: [expert] shutdown..

2000-03-25 Thread John Aldrich

On Fri, 24 Mar 2000, you wrote:
> This must depend on your hardware; it worked just fine for me in RedHat
> 6.1 as well as in Mandrake 7.0.
> 
I think someone said it's partly BIOS dependant as well.
John



Re: [expert] shutdown..

2000-03-25 Thread Ted Wager

On Sat, 25 Mar 2000, Civileme wrote:
> "Brian T. Schellenberger" wrote:
> > 
> > This must depend on your hardware; it worked just fine for me in RedHat
> > 6.1 as well as in Mandrake 7.0.
> > 
> > (With a Dell Inspiron 7500.)
> > 
> > On Tue, 21 Mar 2000, you wrote:
> > | On Tue, 21 Mar 2000, you wrote:
> > | > Linux can shutdown your machine automatically AND safely only if you
> > | > currently are running single processor mode. If you are shutting down
> > | > from smp, the power manager has been disabled and is unavailable to do
> > | > the shutdown. In the future maybe, but now from smp mode YOU get to push
> > | > the button.
> > | >
> > | APM (at least in RedHat/Mandrake 5.x and 6.x) is buggy and will cause the
> > | symptoms exhibited by the person who posted the original question. I can't
> > | speak for Mandrake 7.x, though.
> > |   John
> > --
> > "Brian, the man from babbleon-on"   [EMAIL PROTECTED]
> > Brian T. Schellenberger http://www.babbleon.org
> > Support http://www.eff.org. Boycott amazon.com.
> > Support http://www.programming-freedom.org. Support decss defendents.
> 
> Look in initscripts
> 
> /etc/rc.d/rc0.d/S01halt
> 
> On the very LAST line
> 
> eval $command -i -d -p
> 
> remove the -p
> 
> Now it won't try to power down and you won't see the errors. 
> Just switch off the power yourself.
> 
> Civileme
> 
> 
> -- 
> Remember that if it is done on networks, it may occur on
> your host which is a network unto itself.
-- 

Hi..
Thanks for the info...I edited out the -p and on shutdown it tells m
Starting halt~ /etc/rc.d/rc0.d/S01halt~ call me as "rc.halt " or "rc.reboot"
please
  [FAILED]

It does seem to shutdown ok though as I get no error messages on reboot. 




   Regards Ted
  
Ted Wager...Mandrake Linux 7
  g3tpi.ampr.org  44.131.147.8


 OS From :- www.eridani.co.uk



Re: [expert] shutdown..

2000-03-24 Thread Civileme

"Brian T. Schellenberger" wrote:
> 
> This must depend on your hardware; it worked just fine for me in RedHat
> 6.1 as well as in Mandrake 7.0.
> 
> (With a Dell Inspiron 7500.)
> 
> On Tue, 21 Mar 2000, you wrote:
> | On Tue, 21 Mar 2000, you wrote:
> | > Linux can shutdown your machine automatically AND safely only if you
> | > currently are running single processor mode. If you are shutting down
> | > from smp, the power manager has been disabled and is unavailable to do
> | > the shutdown. In the future maybe, but now from smp mode YOU get to push
> | > the button.
> | >
> | APM (at least in RedHat/Mandrake 5.x and 6.x) is buggy and will cause the
> | symptoms exhibited by the person who posted the original question. I can't
> | speak for Mandrake 7.x, though.
> |   John
> --
> "Brian, the man from babbleon-on"   [EMAIL PROTECTED]
> Brian T. Schellenberger http://www.babbleon.org
> Support http://www.eff.org. Boycott amazon.com.
> Support http://www.programming-freedom.org. Support decss defendents.

Look in initscripts

/etc/rc.d/rc0.d/S01halt

On the very LAST line

eval $command -i -d -p

remove the -p

Now it won't try to power down and you won't see the errors. 
Just switch off the power yourself.

Civileme


-- 
Remember that if it is done on networks, it may occur on
your host which is a network unto itself.



Re: [expert] shutdown..

2000-03-24 Thread Brian T. Schellenberger


This must depend on your hardware; it worked just fine for me in RedHat
6.1 as well as in Mandrake 7.0.

(With a Dell Inspiron 7500.)

On Tue, 21 Mar 2000, you wrote:
| On Tue, 21 Mar 2000, you wrote:
| > Linux can shutdown your machine automatically AND safely only if you
| > currently are running single processor mode. If you are shutting down
| > from smp, the power manager has been disabled and is unavailable to do
| > the shutdown. In the future maybe, but now from smp mode YOU get to push
| > the button.
| > 
| APM (at least in RedHat/Mandrake 5.x and 6.x) is buggy and will cause the
| symptoms exhibited by the person who posted the original question. I can't
| speak for Mandrake 7.x, though.
|   John
-- 
"Brian, the man from babbleon-on"   [EMAIL PROTECTED]
Brian T. Schellenberger http://www.babbleon.org
Support http://www.eff.org. Boycott amazon.com.
Support http://www.programming-freedom.org. Support decss defendents.



Re: [expert] shutdown..

2000-03-23 Thread John Aldrich

On Tue, 21 Mar 2000, you wrote:
> Linux can shutdown your machine automatically AND safely only if you
> currently are running single processor mode. If you are shutting down
> from smp, the power manager has been disabled and is unavailable to do
> the shutdown. In the future maybe, but now from smp mode YOU get to push
> the button.
> 
APM (at least in RedHat/Mandrake 5.x and 6.x) is buggy and will cause the
symptoms exhibited by the person who posted the original question. I can't
speak for Mandrake 7.x, though.
John




Re: [expert] shutdown..

2000-03-22 Thread Ted Wager

On Tue, 21 Mar 2000, John Aldrich wrote:
> On Tue, 21 Mar 2000, you wrote:
> > Hi..
> > When I do a shutdown -h now the system shutsdown the various file
> > systems and then says system is halted..After this mine says..stopping all md
> > devices, the screen then is filled with columns of scrolling numbers like
> > d3>][]Could anyone tell me how to avoid this..
> > It does not seem to affect the shutdown as I do not get a warning message on
> > reboot..I tried a sync sync before shutdown but it made no difference..
> > 
> Your system is trying to auto-power down. You need to tell
> it not to attempt to power down. Sorry, I forgot what you
> need to edit or what changes need to be made, but basically
> it's the APM trying to shut down your machine. It's just
> better to manually power it down by pushing the power
> button than to let Linux power it down
>   John
Thanks to all for the info..
This shutdown is basically what I do..The scrolling stops after abt 3 minutes
and then I power down...
I have run SuSe, Slackware, Debian on this partion in the past and not one of
these has exhibited this tendency...

   Regards Ted
  
Ted Wager...Mandrake Linux 7
  g3tpi.ampr.org  44.131.147.8


 OS From :- www.eridani.co.uk



Re: [expert] shutdown..

2000-03-22 Thread Rene Scott

On Mar 21 Lane Lester wrote:

> It interests me that, when people ask about shutting down, advice is
> often given about shutdown with added parameters. Is there any down side
> to using "reboot"?

-ksh: reboot: not found [No such file or directory]
I.e. not all system have a reboot/halt command. Thats all.

Rene

> 
> I'm in X most of the time, and I think it takes 5 clicks to reboot the
> computer. I put "reboot" in my icewm menu, and that at least got me down
> to 2 clicks.
> 

-- 
UNIX was never designed to keep people from doing stupid things, because
that policy would also keep them from doing clever things.   (Doug Gwyn)




Re: [expert] shutdown..

2000-03-22 Thread Guillermo Belli

It's not just a kernel or linux problem, but it's also caused by the BIOS,
specially with VIA chipsets like the MVP3. If you get a BIOS update, you
probably will fix this, or recompile the kernel to disable auto power down.

Tom Berkley, escribió:
> Linux can shutdown your machine automatically AND safely only if you
> currently are running single processor mode. If you are shutting down
> from smp, the power manager has been disabled and is unavailable to do
> the shutdown. In the future maybe, but now from smp mode YOU get to push
> the button.
> 
> Tom
> 
> John Aldrich wrote:
> > 
> > On Tue, 21 Mar 2000, you wrote:
> > > Hi..
> > > When I do a shutdown -h now the system shutsdown the various file
> > > systems and then says system is halted..After this mine says..stopping all md
> > > devices, the screen then is filled with columns of scrolling numbers like
> > > d3>][]Could anyone tell me how to avoid this..
> > > It does not seem to affect the shutdown as I do not get a warning message on
> > > reboot..I tried a sync sync before shutdown but it made no difference..
> > >
> > Your system is trying to auto-power down. You need to tell
> > it not to attempt to power down. Sorry, I forgot what you
> > need to edit or what changes need to be made, but basically
> > it's the APM trying to shut down your machine. It's just
> > better to manually power it down by pushing the power
> > button than to let Linux power it down
> > John
-- 
Guillermo Belli - LinuxUser #131340
ICQ #38321312
http://sites.netscape.net/memo81 (en construccion)



Re: [expert] shutdown..

2000-03-21 Thread Mike & Tracy Holt

I had this same problem using an Epox MVP3G2 super7 motherboard (VIA
chipset), it ended being a bios update from Epox to fix the shutdown
problem.

Michael Holt
[EMAIL PROTECTED]

- Original Message -
From: "Ted Wager" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 21, 2000 9:32 AM
Subject: [expert] shutdown..


> Hi..
> When I do a shutdown -h now the system shutsdown the various file
> systems and then says system is halted..After this mine says..stopping all
md
> devices, the screen then is filled with columns of scrolling numbers like
> d3>][]Could anyone tell me how to avoid this..
> It does not seem to affect the shutdown as I do not get a warning message
on
> reboot..I tried a sync sync before shutdown but it made no
difference..
>
>Regards Ted
>
> Ted Wager...Mandrake Linux 7
>   g3tpi.ampr.org  44.131.147.8
>
>
>  OS From :- www.eridani.co.uk
>




Re: [expert] shutdown..

2000-03-21 Thread Wolfgang Bornath

On Tue, Mar 21, 2000 at 14:44 -0500, John Aldrich wrote:
> On Tue, 21 Mar 2000, you wrote:
> > When I do a shutdown -h now the system shutsdown the various file
> > systems and then says system is halted..After this mine says..stopping all md
> > devices, the screen then is filled with columns of scrolling numbers like
> > d3>][]Could anyone tell me how to avoid this..
> > It does not seem to affect the shutdown as I do not get a warning message on
> > reboot..I tried a sync sync before shutdown but it made no difference..
> > 
> Your system is trying to auto-power down. You need to tell
> it not to attempt to power down. Sorry, I forgot what you
> need to edit or what changes need to be made, but basically

Here's the details:

Giving the command to shutdown is switching into runlevel 6. In
runlevel 6 all started demons are stopped (KXXnameofdemon).
Then /etc/rc.d/init.d/killall gets started (S00killall) which
kills all running processes.
Finally /etc/rc.d/init.d/halt gets started (S01reboot=link to
halt).

In /etc/rc.d/init.d/halt there are the cases "halt" and
"reboot".

The last line in /etc/rc.d/init.d/halt says:
eval $command -i -d -p

Now do a 'man halt' and you may read this:

OPTIONS
  -d Don't write the wtmp record. The -n flag implies -d.

  -i Shut down all network interfaces just before halt
 or reboot.

  -p When halting the system, do a poweroff. This  is the
 default when halt is called as poweroff.


In short:
Edit /etc/rc.d/init.d/halt and remove the '-p' in the last line.

This is in there because MandrakeSoft assumes everybody to have
ATX-boards.

wobo 
-- 
GPG-Fingerprint: FE5A 0891 7027 8D1B 4E3F  73C1 AD9B D732 A698 82EE
For Public Key mailto [EMAIL PROTECTED] with Subject: GPG-Request
---
ISDN4LINUX-FAQ -- Deutsch: http://www.wolf-b.de/i4l/i4lfaq-de.html



Re: [expert] shutdown..

2000-03-21 Thread Tom Berkley

Linux can shutdown your machine automatically AND safely only if you
currently are running single processor mode. If you are shutting down
from smp, the power manager has been disabled and is unavailable to do
the shutdown. In the future maybe, but now from smp mode YOU get to push
the button.

Tom

John Aldrich wrote:
> 
> On Tue, 21 Mar 2000, you wrote:
> > Hi..
> > When I do a shutdown -h now the system shutsdown the various file
> > systems and then says system is halted..After this mine says..stopping all md
> > devices, the screen then is filled with columns of scrolling numbers like
> > d3>][]Could anyone tell me how to avoid this..
> > It does not seem to affect the shutdown as I do not get a warning message on
> > reboot..I tried a sync sync before shutdown but it made no difference..
> >
> Your system is trying to auto-power down. You need to tell
> it not to attempt to power down. Sorry, I forgot what you
> need to edit or what changes need to be made, but basically
> it's the APM trying to shut down your machine. It's just
> better to manually power it down by pushing the power
> button than to let Linux power it down
> John



Re: [expert] shutdown..

2000-03-21 Thread Lane Lester

It interests me that, when people ask about shutting down, advice is
often given about shutdown with added parameters. Is there any down side
to using "reboot"?

I'm in X most of the time, and I think it takes 5 clicks to reboot the
computer. I put "reboot" in my icewm menu, and that at least got me down
to 2 clicks.
-- 
Lane

Lane Lester / Madison County, Georgia USA
Using Linux to get where I want to go...




Re: [expert] shutdown..

2000-03-21 Thread Marcos Dione

On Tue, 21 Mar 2000, John Aldrich wrote:

> Your system is trying to auto-power down. You need to tell
> it not to attempt to power down. Sorry, I forgot what you
> need to edit or what changes need to be made, but basically
> it's the APM trying to shut down your machine. It's just
> better to manually power it down by pushing the power
> button than to let Linux power it down
>   John

the kernel, it's the kernel trying to p/d the machine. er... you
need to reconfigure the kernel and say "no" to "general setup->advanced
power management BIOS support->power off on shutdown", recompila and
install the new generated kernel, and if he is right, this should get rid
of it.

GOOD luck.

-- 
"No tiren sus colillas en el urinario, las humedece
y las hace dificil de encender"
 --Tom Sharpe, "Wilt on high"




Re: [expert] shutdown..

2000-03-21 Thread John Aldrich

On Tue, 21 Mar 2000, you wrote:
> Hi..
> When I do a shutdown -h now the system shutsdown the various file
> systems and then says system is halted..After this mine says..stopping all md
> devices, the screen then is filled with columns of scrolling numbers like
> d3>][]Could anyone tell me how to avoid this..
> It does not seem to affect the shutdown as I do not get a warning message on
> reboot..I tried a sync sync before shutdown but it made no difference..
> 
Your system is trying to auto-power down. You need to tell
it not to attempt to power down. Sorry, I forgot what you
need to edit or what changes need to be made, but basically
it's the APM trying to shut down your machine. It's just
better to manually power it down by pushing the power
button than to let Linux power it down
John



[expert] shutdown..

2000-03-21 Thread Ted Wager

Hi..
When I do a shutdown -h now the system shutsdown the various file
systems and then says system is halted..After this mine says..stopping all md
devices, the screen then is filled with columns of scrolling numbers like
d3>][]Could anyone tell me how to avoid this..
It does not seem to affect the shutdown as I do not get a warning message on
reboot..I tried a sync sync before shutdown but it made no difference..

   Regards Ted
  
Ted Wager...Mandrake Linux 7
  g3tpi.ampr.org  44.131.147.8


 OS From :- www.eridani.co.uk



Re: [expert] shutdown -r now not working

2000-03-02 Thread Alexander Volovics


On 02-Mar-00 Axalon Bloodstone wrote:

> On Wed, 1 Mar 2000, Alexander Volovics wrote:

>> Everything seems to be working OK except `shutdown -r now'.
>> This happens from both runlevel 3 or runlevel 5.
>> The machine seems to do a perfect shutdown but does not startup
>> again: the screen remains backlit and the disk whirs but that is it.

 > I would love to tell you I have a solution for this but it just isn't the
> case :( I do have a test for you to try though. 
> 
> On the install cd under Mandrake/RPMS, you will find an rpm
> kernel-linus-2.2.14-1mdk.i586.rpm. Install this on the system and add an
> option to lilo.conf to boot it.

Axalon,

Thanks for your reply.
 
I have tried your test with kernel-linus-2.2.14-1mdk.i586.
This makes NO difference: `shutdown -r now' still fails.

I shall try to describe more precisely what the laptop does.

The shutdown proceeds to a blank backlit screen and then stops and freezes.
The backlight does NOT blackout completely for a (couple of) second(s)
and then start up again and show the POST as it should.
There is a short whirring sound from the ?disk?

And the machine indicates a boot routine error through `flash codes'
If I see them correctly the flash codes are 3-1-1.
The Dell Inspiron 3700 manual gives as "cause" for 3-1-1:
`Slave DMA register failure'. 

To check a possible hardware problem I would have to install Win98 again
to run the Dell diagnostic software.

(In the few days that Win98 was on the laptop I played with it a bit
 and noticed nothing that could indicate hardware problems.
 Reboot for example functioned perfectly!)

There are no problems with `shutdown -h now' under Mandrake 7.0.
The machine shuts down and power management switches power of correctly. 

Alexander.



Re: [expert] shutdown -r now not working

2000-03-01 Thread Axalon Bloodstone

On Wed, 1 Mar 2000, Alexander Volovics wrote:

> Hello,
> 
> I have succesfully installed Mandrake 7.0 on a Dell Inspiron 3700 laptop.
> (with Gnome as desktop).
> (Mobile Pentium III, UltraDMA/ATA-33, Ati Rage Mobility-P, Ess Maestro-2E)
> 
> Everything seems to be working OK except `shutdown -r now'.
> This happens from both runlevel 3 or runlevel 5.
> The machine seems to do a perfect shutdown but does not startup
> again: the screen remains backlit and the disk whirs but that is it.
> 
> Shutdown with reboot worked under Win98 before I removed it!
> 
> In `/var/log/messages', after `shutdown -r now' you can indeed see:
> `syslog: klogd shutdown succeeded'
> `exiting on signal 15'
> but no:
> `syslog 1.3-3: restart.' after this to start up again.
> 
> I have checked things like `/etc/rc.d/init.d/halt', etc. and as
> far as I can see everything appears to be correct.
> 
> Has anybody experienced anything like this? (on a laptop?)
> Could it be a Mandrake problem or perhaps a BIOS/laptop problem?
> (Nothing in the BIOS setup suggests possible problems)
> 
> Alexander

I would love to tell you I have a solution for this but it just isn't the
case :( I do have a test for you to try though. 

On the install cd under Mandrake/RPMS, you will find an rpm
kernel-linus-2.2.14-1mdk.i586.rpm. Install this on the system and add an
option to lilo.conf to boot it.

## My current entry
image=/boot/vmlinuz-2.2.14-15mdksmp
label=air
   root=/dev/hdb13
append="hdc=ide-scsi ide2=0xd000 ide3=0xdc00 mem=256M"
read-only

## My current entry, showing only things to modify
image=/boot/vmlinuz-2.2.14-15mdksmp
label=air

## After modifcation
image=/boot/vmlinuz-2.2.14-1mdklinus
label=linus

just copy & paste the current section, from the top of lilo.conf to the
bottom, modify the two lines, and update the boot sector by running lilo.
Reboot the machine, hit tab at the lilo prompt and you'll see the new
entry. Type linus, let it boot and see what 'shutdown -r 0' does, if it
acts just as before it's probably not our kernel patches or anything like
that. 

And just for the record what _exactly_ does the laptop do, whirs, beeps,
lights, please document them all.

-- 
MandrakeSoft  http://www.mandrakesoft.com/
--Axalon



Re: [expert] shutdown -r now not working

2000-03-01 Thread Alexander Volovics


On 01-Mar-00 Eric wrote:

> I had this problem on my Emachine 366 when I accidentally chose the
> Kernel with SMP support, although everything else worked fine?

No. I have the correct kernel.

Alexander



RE: [expert] `shutdown -r now' fails to work

2000-03-01 Thread Alexander Volovics


On 01-Mar-00 Bart³omiej Muryn wrote:

> Yes - me...
> I have DELL Latitude CPiA and I had the same problem in Mandrake 6.1
> This was solved when I reconfigured and recompiled kernel.
> In Mandrake 7.0 all is OK.

This might be an option to try but before going this far I would like
first to know:

1) what is happening
2) why it is happening

I have never had to recompile the standard kernel before after an
install to get anything working!

Alexander


> I have succesfully installed Mandrake 7.0 on a Dell Inspiron 3700 laptop.
> (with Gnome as desktop).
> (Mobile Pentium III, UltraDMA/ATA-33, Ati Rage Mobility-P, Ess Maestro-2E)
> 
> Everything seems to be working OK except `shutdown -r now'.
> This happens from both runlevel 3 or runlevel 5.
> The machine seems to do a perfect shutdown but does not startup
> again: the screen remains backlit and the disk whirs but that is it.
> 
> Shutdown with reboot worked under Win98 before I removed it!
> 
> In `/var/log/messages', after `shutdown -r now' you can indeed see:
> `syslog: klogd shutdown succeeded'
> `exiting on signal 15'
> but no:
> `syslog 1.3-3: restart.' after this to start up again.
> 
> I have checked things like `/etc/rc.d/init.d/halt', etc. and as
> far as I can see everything appears to be correct.
> 
> Has anybody experienced anything like this? (on a laptop?)
> Could it be a Mandrake problem or perhaps a BIOS/laptop problem?
> (Nothing in the BIOS setup suggests possible problems)
> 
> Alexander



Re: [expert] shutdown -r now not working

2000-03-01 Thread John Aldrich

On Wed, 01 Mar 2000, you wrote:
> I had this problem on my Emachine 366 when I accidentally chose the
> Kernel with SMP support, although everything else worked fine?
>
Switch to a non-SMP kernel?
John



Re: [expert] shutdown -r now not working

2000-03-01 Thread Eric

I had this problem on my Emachine 366 when I accidentally chose the
Kernel with SMP support, although everything else worked fine?



RE: [expert] `shutdown -r now' fails to work

2000-03-01 Thread Bart³omiej Muryn

Yes - me...
I have DELL Latitude CPiA and I had the same problem in Mandrake 6.1
This was solved when I reconfigured and recompiled kernel.
In Mandrake 7.0 all is OK.

Bartek Muryn

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alexander Volovics
Sent: Wednesday, March 01, 2000 1:30 PM
To: [EMAIL PROTECTED]
Subject: [expert] `shutdown -r now' fails to work


Hello,

I have succesfully installed Mandrake 7.0 on a Dell Inspiron 3700 laptop.
(with Gnome as desktop).
(Mobile Pentium III, UltraDMA/ATA-33, Ati Rage Mobility-P, Ess Maestro-2E)

Everything seems to be working OK except `shutdown -r now'.
This happens from both runlevel 3 or runlevel 5.
The machine seems to do a perfect shutdown but does not startup
again: the screen remains backlit and the disk whirs but that is it.

Shutdown with reboot worked under Win98 before I removed it!

In `/var/log/messages', after `shutdown -r now' you can indeed see:
`syslog: klogd shutdown succeeded'
`exiting on signal 15'
but no:
`syslog 1.3-3: restart.' after this to start up again.

I have checked things like `/etc/rc.d/init.d/halt', etc. and as
far as I can see everything appears to be correct.

Has anybody experienced anything like this? (on a laptop?)
Could it be a Mandrake problem or perhaps a BIOS/laptop problem?
(Nothing in the BIOS setup suggests possible problems)

Alexander



[expert] `shutdown -r now' fails to work

2000-03-01 Thread Alexander Volovics

Hello,

I have succesfully installed Mandrake 7.0 on a Dell Inspiron 3700 laptop.
(with Gnome as desktop).
(Mobile Pentium III, UltraDMA/ATA-33, Ati Rage Mobility-P, Ess Maestro-2E)

Everything seems to be working OK except `shutdown -r now'.
This happens from both runlevel 3 or runlevel 5.
The machine seems to do a perfect shutdown but does not startup
again: the screen remains backlit and the disk whirs but that is it.

Shutdown with reboot worked under Win98 before I removed it!

In `/var/log/messages', after `shutdown -r now' you can indeed see:
`syslog: klogd shutdown succeeded'
`exiting on signal 15'
but no:
`syslog 1.3-3: restart.' after this to start up again.

I have checked things like `/etc/rc.d/init.d/halt', etc. and as
far as I can see everything appears to be correct.

Has anybody experienced anything like this? (on a laptop?)
Could it be a Mandrake problem or perhaps a BIOS/laptop problem?
(Nothing in the BIOS setup suggests possible problems)

Alexander



[expert] shutdown -r now not working

2000-03-01 Thread Alexander Volovics

Hello,

I have succesfully installed Mandrake 7.0 on a Dell Inspiron 3700 laptop.
(with Gnome as desktop).
(Mobile Pentium III, UltraDMA/ATA-33, Ati Rage Mobility-P, Ess Maestro-2E)

Everything seems to be working OK except `shutdown -r now'.
This happens from both runlevel 3 or runlevel 5.
The machine seems to do a perfect shutdown but does not startup
again: the screen remains backlit and the disk whirs but that is it.

Shutdown with reboot worked under Win98 before I removed it!

In `/var/log/messages', after `shutdown -r now' you can indeed see:
`syslog: klogd shutdown succeeded'
`exiting on signal 15'
but no:
`syslog 1.3-3: restart.' after this to start up again.

I have checked things like `/etc/rc.d/init.d/halt', etc. and as
far as I can see everything appears to be correct.

Has anybody experienced anything like this? (on a laptop?)
Could it be a Mandrake problem or perhaps a BIOS/laptop problem?
(Nothing in the BIOS setup suggests possible problems)

Alexander



[expert] shutdown problems

1999-07-07 Thread Kirk

Need help. For some reason during shtdown the kernel is unable to
unmount /dev/hda5.

unmount / device or resource busy  [failure]

Im using the shutdown from the xwindows login screen.  Running MK6.0.
I have done 3 different installs on different machines and they all have
this problem.
Is there a fix for this? Any info will help.

Thanks,
Kirk