Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting your PC to Powerdown after shutdown -h Command
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Klin'Targ
n00b
n00b


Joined: 04 Mar 2003
Posts: 65
Location: Davis, CA

PostPosted: Wed May 21, 2003 1:21 am    Post subject: Reply with quote

Ok well I figured out that my problem is a bug in the 2.4 series kernels...I will switch to either the dev kernels or the mm-sources if i can get them to work and hopefully that will fix the 100% CPU usage.

Anyone else with this problem, keep an eye on this thread:
https://forums.gentoo.org/viewtopic.php?p=251184#251184
Back to top
View user's profile Send private message
ajaygautam
Apprentice
Apprentice


Joined: 23 Jan 2003
Posts: 205
Location: London Below

PostPosted: Wed May 21, 2003 11:40 am    Post subject: Reply with quote

Quote:
ajaygautam: I had your problem, and fixed it by copying the .config file to another folder (root's home will do) and doing a make mrproper, then copying the .config file back to /usr/src/linux.

This error seemed to be caused by some file referring to multiprocessor support not being deleted as it should have been.


Yes, I was able to fix this using mrproper.

Unfortunately, I have having way too many other problems with 2.4.20 and the latest dev-sources.

For starters, cdrecord -scanbus does not find my cd writer and DVD drive. appending "dev=ATAPI" finds them as IDE devices, but CD writing does not work.

I have checked and re-checked that all modules are built. Even compared settings from 2.4.19 (worked) with 2.4.20 (current)

Any suggestions ?

Thanks

Ajay
Back to top
View user's profile Send private message
h.u.n.t.e.r
n00b
n00b


Joined: 04 Jun 2003
Posts: 63
Location: Belgium

PostPosted: Tue Jun 24, 2003 7:21 am    Post subject: Reply with quote

ajaygautam; I have the same problem: disabling SMP support results in kernel compile error. Could you describe that "mrproper" trick a little more?

<edit>>>>>>> aah it's ok I found it "make mrproper" in /usr/src/linux to "reset" everything
Back to top
View user's profile Send private message
ajaygautam
Apprentice
Apprentice


Joined: 23 Jan 2003
Posts: 205
Location: London Below

PostPosted: Tue Jun 24, 2003 12:43 pm    Post subject: Reply with quote

h.u.n.t.e.r, Do keep in mind that mrproper will delete your .config, so save it to a safe place first.

Ajay
Back to top
View user's profile Send private message
thepeel
n00b
n00b


Joined: 07 Jun 2003
Posts: 12
Location: Columbia, SC

PostPosted: Tue Jun 24, 2003 6:46 pm    Post subject: Reply with quote

Wow, this took me forever to figure out. I remember on slackware I just had to uncomment the apmd service, which apparently is not required for gentoo. This is what I did to make apm work:

Code:

apm=power-off

append to the end of the kernel line in /boot/grub/grub.conf

I think recompiling the kernel without SMP support would work, but I had errors similiar to previous posts. This works with SMP enabled or at least it did for me.

I didn't figure this out on my own though, here's the link to my source:
https://forums.gentoo.org/viewtopic.php?t=10543

(I wonder what a map would look like of the links within the gentoo forum. So many links would never leave the forum.)
_________________
A nation that limits freedom in the name of security will have neither. - Thomas Jefferson
Back to top
View user's profile Send private message
ted
n00b
n00b


Joined: 13 Aug 2003
Posts: 20
Location: Norway

PostPosted: Sat Nov 29, 2003 1:31 am    Post subject: Reply with quote

Thanks alot, worked great!
_________________
[ted@localhost] cd party/
[ted@localhost] drink *.*
Back to top
View user's profile Send private message
bretts5964
n00b
n00b


Joined: 06 Feb 2003
Posts: 13
Location: Kirkland WA USA

PostPosted: Sat Feb 14, 2004 6:47 pm    Post subject: ASUS P3C-2000 works only with APM Reply with quote

My motherboard is an ASUS P3C-2000, so it's on the borderline of when ACPI began replacing APM as the standard. Mine actually has both, but ACPI didn't work for shutdown no matter what I tried. I even recompiled the DSDT without errors and did the static ACPI compile with Gentoo sources 2.4.22, but no dice.

What did work? I changed my kernel config to disable SMP, disable ACPI & enable APM without any sub-options. I needed to backup my /usr/src/linux/.config file, run "make mrproper", restore .config, run "make menuconfig" and select & deselect these options:
Code:
Linux Kernel v2.4.22-gentoo-r5 Configuration

General setup  --->
   [*] Power Management support
   <*>   Advanced Power Management BIOS support
   [ ]     Ignore USER SUSPEND
   [ ]     Enable PM at boot time
   [ ]     Make CPU Idle calls when idle
   [ ]     Enable console blanking using APM
   [ ]     RTC stores time in GMT
   [ ]     Allow interrupts during APM BIOS calls
   [ ]     Use real mode APM BIOS call to power off
   ACPI Support  --->
      [ ] ACPI Support

Processor type and features  --->
   (Pentium-III/Celeron(Coppermine)) Processor family
   [*] MTRR (Memory Type Range Register) support
   [ ] Symmetric multi-processing support
   [ ] Preemptible Kernel
   [*] Local APIC support on uniprocessors
   [*] IO-APIC support on uniprocessors


I didn't install apmd, (and uninstalled acpid), nor did I add any kernel parameter options in /boot/grub/grub.conf. So the Swede who stays up nights was right, (for my hardware at least)! Now from within KDE, I can use KDM's "Logout > Turn off computer" option and everything powers off. Sweet sleep...

Brett
Back to top
View user's profile Send private message
Blejd
n00b
n00b


Joined: 01 Apr 2003
Posts: 30
Location: Sweden

PostPosted: Thu Mar 04, 2004 2:29 pm    Post subject: Reply with quote

I can't seem to get the computer to shut down using APM.

I don't know what motherboard it uses, but it's a very old one (the processor is a pentium1 133mhz!! :o)

I've tried everything in this thread, but nothing seems to work...
maybe this computer doesn't support to be turned off like that?

kernel is a clean 2.6.3

any suggestions? :roll:

edit: oh yea, and I've made sure that the computer doesn't use one of those buttons that are poped in when the computers running, and when you press the button again it pops out and the computer turns off.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum