LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-28-2005, 07:37 PM   #1
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Rep: Reputation: 15
Slack 10.2, 2.6.13 kernel, SMP question


ok, running slack 10.2, kernel 2.6.13, all IDE system. Dual P3 800 and 1 GB of ram. I have SMP enabled in the kernel, but when I look at the system monitor it only shows 1, and also in the device list.

I would like to know if there is a trick to having the system utilize the extra CPU, and if theres a special tweak or something to make use of all this memory I have sitting here.


Thanks, Paul
 
Old 11-28-2005, 07:50 PM   #2
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,440
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Re: Slack 10.2, 2.6.13 kernel, SMP question

Quote:
Originally posted by Twister512
ok, running slack 10.2, kernel 2.6.13, all IDE system. Dual P3 800 and 1 GB of ram. I have SMP enabled in the kernel, but when I look at the system monitor it only shows 1, and also in the device list.
In the kernel config you need to enable ACPI power management in order for SMP to work.

For memory, you need to enable HIGHMEM (also in your kernel config), although I've heard that the performance hit isn't worth it on machines with 1 Gb. Of course, you could always use Con Kolivas' patch which enables memory access up to 1 Gb without HIGHMEM support...
 
Old 11-28-2005, 08:55 PM   #3
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
ok, checked the kernel, smp is enabled, and acpi is enabled. still not seeing second CPU
 
Old 11-28-2005, 09:09 PM   #4
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Did you check /proc/cpuinfo? At a console:

Code:
user@box: cat /proc/cpuinfo
 
Old 11-28-2005, 09:12 PM   #5
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 3
cpu MHz : 799.830
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 1606.03
 
Old 11-28-2005, 09:26 PM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,440
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Quote:
Originally posted by Twister512
ok, checked the kernel, smp is enabled, and acpi is enabled. still not seeing second CPU
Weird. BIOS settings perhaps?

Or maybe someone nicked the other CPU?
 
Old 11-28-2005, 09:28 PM   #7
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
well I boot back into windows (gasp) and its there and operating just fine. I am kinda clueless right at the moment.
 
Old 11-28-2005, 09:28 PM   #8
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
I meant to ask if you would post your kernel config too (momentary brain fart).

Cheers
 
Old 11-28-2005, 09:33 PM   #9
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
I am still sorta new at the whole kernel configs and stuff, how do I go about posting it?
 
Old 11-28-2005, 09:37 PM   #10
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
It's a text file, most likely located at /usr/src/linux/.config (unless you saved it somewhere else).

Do an ls -l /usr/src/linux and see if it's there / check the date.

Cheers,

Owen
 
Old 11-28-2005, 09:46 PM   #11
mjgould
LQ Newbie
 
Registered: Sep 2005
Location: Findlay Ohio
Distribution: CentOS, Ubuntu
Posts: 24

Rep: Reputation: 15
When you say that SMP is enabled in the kernel, do you mean that you just enabled it and left the setup menus, or did you enable SMP in the kernel and then recompile the kernel, dependencies, etc? This might seem like a dumb question but I have seen several other people make this error.
 
Old 11-28-2005, 09:47 PM   #12
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_HPET_TIMER is not set
CONFIG_SMP=y
CONFIG_NR_CPUS=8
# CONFIG_SCHED_SMT is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_X86_MCE_P4THERMAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set





#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION=""

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=m
# CONFIG_ACPI_HOTKEY is not set
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
CONFIG_ACPI_IBM=m
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_X86_PM_TIMER is not set
# CONFIG_ACPI_CONTAINER is not set

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
 
Old 11-28-2005, 09:49 PM   #13
Twister512
Member
 
Registered: Nov 2005
Location: Mansfield, PA
Distribution: Slackware
Posts: 97

Original Poster
Rep: Reputation: 15
yes, I went through the entire kernel, changed it to my liking and system, exited, saved, ran "make" went to dinner, and returned and restarted the machine

 
Old 11-28-2005, 09:56 PM   #14
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,440
Blog Entries: 7

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Quote:
Originally posted by Twister512
yes, I went through the entire kernel, changed it to my liking and system, exited, saved, ran "make" went to dinner, and returned and restarted the machine
That's only about half the process....

You have to install it as well. Here's the whole process:

Code:
# cd /usr/src/linux-2.6.14.2
# make mrproper
# make menuconfig
# make
# make modules_install
# cp ./System.map /boot/System.map-2.6.14.2
# cp ./.config /boot/config-2.6.14.2
# cp ./arch/i386/boot/bzImage /boot/vmlinuz-2.6.14.2
# make clean
# cat << EOF >> /etc/lilo.conf
> image=/boot/vmlinuz-2.6.14.2
>  root=/dev/hda6
>  label="linux-2.6.14.2"
>  read-only
> EOF
# /sbin/lilo
# reboot
Subsitituting your kernel version and root partition, of course...
 
Old 11-28-2005, 09:56 PM   #15
mjgould
LQ Newbie
 
Registered: Sep 2005
Location: Findlay Ohio
Distribution: CentOS, Ubuntu
Posts: 24

Rep: Reputation: 15
Have you edited LILO to boot the new kernel that you compiled or is it still running the old kernel on boot? The above reply sum up what should be done.

Last edited by mjgould; 11-28-2005 at 09:58 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 10.1 kernel(2.4.29) rebuild with SMP and SCSI support amphiBian Slackware 8 02-28-2005 10:25 PM
newbie smp kernel question djgerbavore Programming 3 11-18-2004 07:43 AM
Slack 9.1 SMP 2.6.1-kernel tungsten Slackware 4 01-12-2004 01:13 PM
Quick SMP kernel question Coldfirex Slackware 3 10-19-2003 11:05 AM
SMP, Kernel and NIC module question...weirdness tarballed Linux - General 1 07-02-2003 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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