Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2002 15:49:58 +0800
From:      "j l" <jsli2002@msn.com>
To:        freebsd-smp@freebsd.org
Subject:   Single processor hyperthreading problem
Message-ID:  <F169nPSSutiXuGPETXd00000871@hotmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

We have a Intel E7500-based mainboard and two P4 processors on it.
When it runs with one processor and hyperthreading off, or two
processors and hypperthreading on, everything is fine. However
when I turn off either multiprocessor or hyperthreading options
in BIOS setting, the SMP kernel will not be able to boot.

System config:
    FreeBSD 4.6.2-R
    GENERIC kernel config with SMP and APIC options

The behavior:
With one processor and hyperthreading turned on, the kernel
hung at the very start with the following message:
    
    panic: pmap_bootstrap: no local apic!
    mp_lock = 00000008; cpuid = 0; lapic.id = 00000000
    uptime: 0s

With two processors and hyperthreading turned off, the kernel
began probing devices, and hung at this spot:

    APIC_IO: Testing 8254 interrupt delivery

It looks like the mainboard or BIOS has some implementation
problem, any suggestions?


And this is the mptable when booting with both multiprocessor and
hyperthreading turned on:

===============================================================================


MPTable, version 2.0.15

-------------------------------------------------------------------------------


MP Floating Pointer Structure:

  location:                     EBDA
  physical address:             0x0009cc30
  signature:                    '_MP_'
  length:                       16 bytes
  version:                      1.1
  checksum:                     0x0c
  mode:                         Virtual Wire

-------------------------------------------------------------------------------


MP Config Table Header:

  physical address:             0x0009eea0
  signature:                    'PCMP'
  base table length:            476
  version:                      1.1
  checksum:                     0xd4
  OEM ID:                       'OEM ID  '
  Product ID:                   'PRODUCT ID  '
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  48
  local APIC address:           0xfee00000
  extended table length:        0
  extended table checksum:      0

-------------------------------------------------------------------------------


MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step    
Flags
                 0       0x14    BSP, usable     15      2       4       
0x3febfbff
                 1       0x14    AP, usable      15      2       4       
0x3febfbff
                 6       0x14    AP, usable      15      2       4       
0x3febfbff
                 7       0x14    AP, usable      15      2       4       
0x3febfbff
--
Bus:            Bus ID  Type
                 0       PCI
                 1       PCI
                 2       PCI
                 3       PCI
                 4       PCI
                 5       PCI
                 6       PCI
                 7       PCI
                 8       ISA
--
I/O APICs:      APIC ID Version State           Address
                14       0x20    usable          0xfec00000
                13       0x20    usable          0xfec80000
                12       0x20    usable          0xfec80400
                11       0x20    usable          0xfec82000
                10       0x20    usable          0xfec82400
--
I/O Ints:       Type    Polarity    Trigger     Bus ID   IRQ    APIC ID 
PIN#
                ExtINT  active-hi        edge        8     0         14    
0
                INT     active-hi        edge        8     1         14    
1
                INT     active-hi        edge        8     0         14    
2
                INT     active-hi        edge        8     3         14    
3
                INT     active-hi        edge        8     4         14    
4
                INT     active-hi        edge        8     5         14    
5
                INT     active-hi        edge        8     6         14    
6
                INT     active-lo       level        8     7         14    
7
                INT     active-hi        edge        8     8         14    
8
                INT     active-lo       level        8     9         14    
9
                INT     active-lo       level        8    10         14   
10
                INT     active-hi        edge        8    11         14   
11
                INT     active-hi        edge        8    12         14   
12
                INT     active-hi        edge        8    13         14   
13
                INT     active-hi        edge        8    14         14   
14
                INT     active-hi        edge        8    15         14   
15
                INT     active-lo       level        0  29:A         14   
16
                INT     active-lo       level        0  29:B         14   
19
                INT     active-lo       level        0  29:C         14   
18
                INT     active-lo       level        0  31:A         14   
16
                INT     active-lo       level        0  31:B         14   
17
                INT     active-lo       level        2  31:A         13   
23
                INT     active-lo       level        3   1:A         12    
0
                INT     active-lo       level        3   1:B         12    
1
                INT     active-lo       level        5   1:A         11    
0
                INT     active-lo       level        5  31:A         11   
23
                INT     active-lo       level        6  31:A         10   
23
                INT     active-lo       level        7   0:A         14   
16
--
Local Ints:     Type    Polarity    Trigger     Bus ID   IRQ    APIC ID 
PIN#
                ExtINT  active-hi        edge        8     0        255    
0
                NMI     active-hi        edge        0   0:A        255    
1

===============================================================================



jsli.


_________________________________________________________________
MSN 相簿提供您最簡單的方式分享並列印您的相片,請移至:
http://photos.msn.com.hk/support/worldwide.aspx


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F169nPSSutiXuGPETXd00000871>