Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-06-2007, 11:29 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
Question acpi questions

I am running Slack 12.0 - generic smp kernel - with acpi on a laptop with one cpu, cpu0. (Pentium M)...

In /proc/acpi/processor I show CPU1 with a processor id of 0.
In /sys/devices/system/cpu/ shows cpu0.

Acpi docs show "ACPI might enumerate the CPUs differently - this is the ID the ACPI system uses to identify the CPU"

My question is, why does acpi not show the processor as CPU0 in /proc?

Might this have something to do with the acpi muddle? Say, a third-party program which expects /proc/acpi/processor/CPU0? Or is /sys the primary source for acpi status? Is /proc/acpi deprecated?

Finally, if all I want to do is recompile my distribution kernel ( with one tiny little change (CONFIG_HOTPLUG_CPU) must I go through the 'make modules' 'make modules_install' steps or can I just copy bzImage over my existing kernel? And run lilo, per habit.

Thanks, this is my first posting here here...

Last edited by mdmaddux; 08-07-2007 at 04:00 AM. Reason: Found new information, asked one more question, spelled deprecated rite...
Old 08-07-2007, 05:01 PM   #2
LQ Newbie
Registered: Dec 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Smile Done my homework, read the docs

OK. Got it. Both problems are trivial.

I think /proc is what's happening, and is deprecated while /sys is a lotta stuff, mostly pnp hardware states, registers and variables. No conflict. Both exist only in memory and are not disk files.

As for recompilation, I just took the .config from current working kernel, modified it (enabled HOTPLUG_CPU but added no modules, did 'make bzImage' (instead of make (default 'all')), renamed and copied to /boot, inserted, ran lilo and rebooted.

And now I can echo mem >/sys/power/state and get the suspend to ram function.

Which goes to show that just formulating the question in a post is often the road to answering the question.

Thanks for the forum.

Last edited by mdmaddux; 08-09-2007 at 06:15 PM.


acpi, compilekernel, smp

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
possible HW list OC; by MoBo, CPU, Mem, BIOS CPU x Addition HCL (stock BIOS settings) digital8doug Linux - General 17 12-15-2006 07:01 PM
get cpu0 and cpu1 to work like one ? Soulstealer Linux - Hardware 2 04-28-2005 08:55 AM
kernel:CPU0:machine check exception:0000000000000004 madhabendra Red Hat 0 06-10-2004 11:49 PM
Switching off a CPU of a multiple CPU machine kravisudhakar Linux - General 1 12-26-2003 10:13 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration