LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-24-2001, 03:28 PM   #1
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Rep: Reputation: 30
Slackware shutdown


Help !!!
Hope someone would tell me how to shut Slackware down. Really down . No buttons . just poweroff my machine . I tried:

su - c halt and i stood there for a long time and nothing happend (it stucked at the last step powerdown, but it was still ON). I also tried to shut it with the powerbutton but i couldn't . To get the computer turned off i have to reboot into windows and then swith it off.



|help|


PEACE
 
Old 11-24-2001, 05:10 PM   #2
sdkramer
LQ Newbie
 
Registered: Sep 2001
Posts: 5

Rep: Reputation: 0
I just use "shutdown now" sans quots
 
Old 11-24-2001, 07:07 PM   #3
infernal
Member
 
Registered: Oct 2001
Location: /dev/null
Distribution: Debian, Slackware
Posts: 44

Rep: Reputation: 15
poweroff
halt
shutdown -h now

???
 
Old 11-25-2001, 03:06 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
I do "su -c shutdown -h now"
 
Old 11-25-2001, 10:00 AM   #5
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Original Poster
Rep: Reputation: 30
It is not working. Assuming that these commands don't shut the machine down, does that mean that my computer is not ok? I posted on the newbies section and i got similar tips but they don't work at all.I even installed slackware again and nothing happened. I know i have to be root and: poweroff
halt
shutdown -h now
su -c shutdown -h now
shutdown now



but it's really not working. Now i just found that if i reboot (Ctrl+Alt+Del), when its going to start i press the power button and it shutsdown .I hope there is another way.


PEACE
 
Old 11-25-2001, 02:46 PM   #6
ssadams
Member
 
Registered: Dec 2000
Location: Toronto Canada
Distribution: slackware 7.1
Posts: 95

Rep: Reputation: 15
It depends on the kernel your using.If its the 2.2.19 series,then you have to compile APM into the kernel or the computer wont shut off 100%
I use the 2.4 series and it shuts mine off.
 
Old 11-25-2001, 03:27 PM   #7
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Original Poster
Rep: Reputation: 30
when i installed Slackware i disbled 3 kernel versions :
2.2.19 scsi ; 2.2.19 non scsi ; 2.4.5 scsi versions i left only the 2.4.5 non scsi version so i assume that i have the 2.4.5 kernel. I'm afraid of turn it off like i said because it might damage something (machine or sofware).
 
Old 11-25-2001, 04:36 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well, if you're happily booting on the standard 2.4.5 kernel, then what are you afraid of? nothing will go wrong if it's already booting frin on that kernel
 
Old 11-25-2001, 07:31 PM   #9
weblion
Member
 
Registered: Jun 2001
Location: Antarctica.
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
Lightbulb

If you installed Slackware using the kernel "Linux" or "bare.i" and you haven't recompiled the kernel, it is most likely still 2.2.19
 
Old 11-26-2001, 10:10 AM   #10
john_i_williams
LQ Newbie
 
Registered: Nov 2001
Location: Midwest
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
shutdown

I know this is a dumb q??? but are you logged in as root when your running shutdown -h now if not you need to be.
su
roots password
you should get a # prompt
now type in /sbin/shutdown -h now

sorry if this dosn't help
 
Old 11-26-2001, 11:59 PM   #11
SlCKB0Y
Member
 
Registered: Oct 2001
Location: Sydney
Distribution: Arch
Posts: 295

Rep: Reputation: 96
Ohh man..look its really quite simple

As someone before has stated, you will prob need to recompile your kernel with either APM support if you are using 2.2.x or APM *OR* ACPI if you are using kernel 2.4.x. which one you will need depends mainly on your motherboard/bios.
 
Old 11-27-2001, 07:31 AM   #12
jamaso
Member
 
Registered: Oct 2001
Location: brasil
Distribution: mdrk 8.0,redht7.1,debianpotato
Posts: 615

Original Poster
Rep: Reputation: 30
The only thing i know to compile the kernel is my motherboard's type
ASUS K7M slot A


I Have some questions i would like to ask you :


1. How can i know what bios and kernel i have ?
2. Is compiling the kernel the same procedure in all linux distros ?(the reason i'm asking this is because i bought a book "complete guide to linux" from Peter Norton and Arthur G. that show how to compile the kernel on a red hat linux )
3. Is it possible to have kernel 2.2.9 running if i disabled it during instalation ? what good is it to have different kernel versions then ?
4. Is there an easy way to know for sure that i really have to go through all that SICKBOY ? thanks


PEACE
 
Old 11-27-2001, 12:33 PM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
--- wondering if the australian will stop being insulting ---

1 - to get the kernel version, run 'uname -r'
2 - yes, you get the kernel source, and it's all dependent on that.
3 - handy to have a few kernel version available for various compatability things you might come across, e.g. i can't seem to get the loopback block to compile on my 2.4.14 kernel, so i keep the 2.4.8 kernel from an rpm so i can use loopback filesystems if i want.
4 - well i've really no idea what it is you're trying to do... but generally you have no need to recompile a kernel to do anything really, unless you know for a fact you need to
5 - sorry about certain people being rude and patronising.
 
Old 11-27-2001, 01:52 PM   #14
Cyth
Member
 
Registered: Mar 2001
Location: Sweden, Lund
Distribution: Slackware
Posts: 68

Rep: Reputation: 15
Alright. I'f I'm not mistaken that motherboard is using the VIA chipset. A couple of days ago I sent an email to ACPI's mailinglist regarding poweroff when using a VIA chipset. I really don't got an answer, only that alot of people ask why it's not working but no one knows how to fix it.

Alot of people are having problem powering off with VIA chipset, I really hopes there will be a solution.

/Cyth
 
Old 11-27-2001, 02:34 PM   #15
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
to get the system to actually switch off you need an APM kernel (i just found this out). You could use ACPI but apparently that is still experimental.

you will need to recompile the kernel to get this going (unless it is already a module. try
Code:
modprobe apm
)

just do the make menuconfig (to configure the kernel. any probs you have with this step check the forum. we've done this a thousand times so the answer should be there) and then go to the 'General Setup' section then at the bottom of that is an option saying 'Power Management Support'. put yes here and some sub menus should pop down. choose APM (or ACPI if you're feeling lucky). recompile it all then it should work

this is using the 2.4.x series of kernels. im assuming that the 2.2.x is pretty similar if not the same.

Hope That Helps

Alex
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 10.1 shutdown skitzo2005 Slackware 12 08-07-2005 11:51 AM
slackware: how to shutdown (seriously) nadroj Linux - Newbie 9 04-24-2005 04:02 PM
Slackware 10.0 and shutdown snutz411 Slackware 6 01-15-2005 07:37 PM
Slackware 10.0 random shutdown plamensl Linux - Security 9 11-03-2004 04:00 AM
how do I shutdown httpd after i started it? under slackware babyboss Slackware 3 10-02-2004 01:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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