[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SMP on Debian server with Hyperthreading




Sincerely,

----- Original Message ----- 
From: "Guus Houtzager" <guus@houtzager.net>
To: <debian-isp@lists.debian.org>
Sent: Saturday, 06 September, 2003 6:07 PM
Subject: Re: SMP on Debian server with Hyperthreading


> Hi,
>
> On Sat, 2003-09-06 at 09:31, Jason Lim wrote:
> > Hi Guus,
> >
> > Yes, BIOS setting is enabled. The ONLY thing that I haven't done is
edit
> > lilo to include the acpismp=force setting. Did you set that to make it
> > work? Does it work without it (ie. SMP enabled WITHOUT modifying
lilo)?
>
> Haven't modified lilo for this to work.
> I looked again at your dmesg output and compared it to mine. With me
> it's ACPI doing the detection of the cpu's. Did you enable ACPI?


Ah... did NOT have ACPI enabled. Did not know it had to be, for SMP to
work!

I enabled it, compiled the kernel, and /proc/cpuinfo sees 2 CPUs, but top
doesn't.

After spending ages trying to figure it out, I found the version of top
that comes with Debian 3.0 does NOT have SMP support.

So I downloaded the backported version from:
http://people.debian.org/~nobse/debian/woody/backported/procps/

and after top launches, press 1 (or set the appropriate cmd line
parameter) and it works great.

I did ACPI a little different than you though... I have:
> # CONFIG_ACPI_HT_ONLY is not set

set as y/1 (and therefore everything else set as n/0), as I don't need all
the "acpi_power" and other stuff, just want SMP to work.

So it's working now. Thanks for your help!




> Part of my dmesg:
> Linux version 2.4.22 (root@bowmore) (gcc version 3.3.2 20030831 (Debian
> prerelease)) #1 SMP Tue Sep 2 11:37:18 CEST 2003
> BIOS-provided physical RAM map:
>  BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
>  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
>  BIOS-e820: 0000000000100000 - 000000002fff0000 (usable)
>  BIOS-e820: 000000002fff0000 - 000000002fff3000 (ACPI NVS)
>  BIOS-e820: 000000002fff3000 - 0000000030000000 (ACPI data)
>  BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
> 767MB LOWMEM available.
> ACPI: have wakeup address 0xc0002000
> found SMP MP-table at 000f51c0
> hm, page 000f5000 reserved twice.
> hm, page 000f6000 reserved twice.
> hm, page 000f0000 reserved twice.
> hm, page 000f1000 reserved twice.
> On node 0 totalpages: 196592
> zone(0): 4096 pages.
> zone(1): 192496 pages.
> zone(2): 0 pages.
> ACPI: RSDP (v000 IntelR                                    ) @
> 0x000f6c50
> ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @
> 0x2fff3000
> ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @
> 0x2fff3040
> ACPI: MADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x00000000) @
> 0x2fff6700
> ACPI: DSDT (v001 INTELR AWRDACPI 0x00001000 MSFT 0x0100000d) @
> 0x00000000
> ACPI: Local APIC address 0xfee00000
> ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> Processor #0 Pentium 4(tm) XEON(tm) APIC version 16
> ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
> Processor #1 Pentium 4(tm) XEON(tm) APIC version 16
> ACPI: LAPIC_NMI (acpi_id[0x00] polarity[0x1] trigger[0x1] lint[0x1])
> ACPI: LAPIC_NMI (acpi_id[0x00] polarity[0x1] trigger[0x1] lint[0x1])
> ACPI: IOAPIC (id[0x02] address[0xfec00000] global_irq_base[0x0])
> IOAPIC[0]: Assigned apic_id 2
> IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, IRQ 0-23
> ACPI: INT_SRC_OVR (bus[0] irq[0x0] global_irq[0x2] polarity[0x0]
> trigger[0x0])
> ACPI: INT_SRC_OVR (bus[0] irq[0x9] global_irq[0x9] polarity[0x1]
> trigger[0x3])
> Using ACPI (MADT) for SMP configuration information
> Kernel command line: auto BOOT_IMAGE=Linux ro root=303 hdc=scsi
>
> and so on...
>
> ACPI part of my config:
>
> #
> # ACPI Support
> #
> CONFIG_ACPI=y
> # CONFIG_ACPI_HT_ONLY is not set
> CONFIG_ACPI_BOOT=y
> CONFIG_ACPI_BUS=y
> CONFIG_ACPI_INTERPRETER=y
> CONFIG_ACPI_EC=y
> CONFIG_ACPI_POWER=y
> CONFIG_ACPI_PCI=y
> CONFIG_ACPI_SLEEP=y
> CONFIG_ACPI_SYSTEM=y
> # CONFIG_ACPI_AC is not set
> # CONFIG_ACPI_BATTERY is not set
> CONFIG_ACPI_BUTTON=y
> CONFIG_ACPI_FAN=y
> CONFIG_ACPI_PROCESSOR=y
> # CONFIG_ACPI_THERMAL is not set
> # CONFIG_ACPI_ASUS is not set
> # CONFIG_ACPI_TOSHIBA is not set
> # CONFIG_ACPI_DEBUG is not set
> # CONFIG_ACPI_RELAXED_AML is not set
>
>
> > Thanks.
>
> I hope this helps.
>
> -- 
> Guus Houtzager                           Email: guus@houtzager.net
> PGP fingerprint = 5E E6 96 35 F0 64 34 14  CC 03 2B 36 71 FB 4B 5D
>           "A)bort, R)etry, I)nfluence with large hammer."
>
>
>
>
> -- 
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>



Reply to: