HTT/SMP does not start 2nd processor

2005-05-10 Thread Goran Gajic
Hi,
I have problem with 5.4-RELEASE on Dell Power Edge 1600sc (previously 
5.2.1 was running on it for 1.5 year - no problems). At first 
I thought it might be problem with BIOS, but I have upgraded it
to A12 (latest one on DELL's site). There is problem, whenever
I enable APIC I get this lock (no dump :( on swap partiton), so
I have writen it down:

Fatal trap 12: page in fault while in kernel mode
CPUID = 2; APIC ID = 02
Fault virtual address   = 0x24
Fault code  = supervisor read page not present
Instruction pointer = 0x8:0xc050c3df
Stack pointer   = 0x10: 0xE94AAc5C
Code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, PRES 1, DEF 32,1 GRAN 1
Processor eflags= resume, iopl = 0
current process = 64 (swi 5: clock sio)
trap number = 12
panic: page fault
cpuid = 2
Without APIC everything seems to work fine...
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE #0: Tue May 10 22:11:18 CEST 2005
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/OFFICE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 4227727360 (4031 MB)
avail memory = 4143869952 (3951 MB)
MPTable: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  6
pnpbios: Bad PnP BIOS data checksum
ioapic0: Changing APIC ID to 8
ioapic0: Assuming intbase of 0
ioapic1: Changing APIC ID to 9
ioapic1: Assuming intbase of 16
ioapic2: Changing APIC ID to 10
ioapic2: Assuming intbase of 32
ioapic0  irqs 0-15 on motherboard
ioapic1  irqs 16-31 on motherboard
ioapic2  irqs 32-47 on motherboard
npx0:  on motherboard
npx0: INT 16 interface
cpu0 on motherboard
cpu1 on motherboard
pcib0:  pcibus 0 on motherboard
pci0:  on pcib0
pcib0: unable to route slot 15 INTA
em0:  port
0xecc0-0xecff mem 0xfe10-0xfe11 irq 16 at device 2.0 on pci0
em0: Ethernet address: 00:c0:9f:2a:31:04
em0:  Speed:N/A  Duplex:N/A
pci0:  at device 14.0 (no driver attached)
atapci0:  port
0x8b0-0x8bf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0:  at device 15.2 (no driver attached)
isab0:  at device 15.3 on pci0
isa0:  on isab0
pcib1:  pcibus 1 on motherboard
pci1:  on pcib1
amr0:  mem 0xfcd0-0xfcd0 irq 17 at device
2.0 on pci1
amr0:  Firmware 3.28, BIOS 1.05, 64MB RAM
pci1:  at device 4.0 (no driver attached)
pcib3:  pcibus 3 on motherboard
pci3:  on pcib3
fxp0:  port 0xccc0-0xccff mem
0xfcbc-0xfcbd,0xfcbff000-0xfcbf irq 21 at device 4.0 on pci3
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:28:50:2b
fxp1:  port 0xcc80-0xccbf mem
0xfcba-0xfcbb,0xfcbfe000-0xfcbfefff irq 22 at device 5.0 on pci3
miibus1:  on fxp1
inphy1:  on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:02:b3:28:50:2c
pcib2:  pcibus 2 on motherboard
pci2:  on pcib2
pcib4:  at device 2.0 on pci2
amr0:  mem 0xfcd0-0xfcd0 irq 17 at device
2.0 on pci1
amr0:  Firmware 3.28, BIOS 1.05, 64MB RAM
pci1:  at device 4.0 (no driver attached)
pcib3:  pcibus 3 on motherboard
pci3:  on pcib3
fxp0:  port 0xccc0-0xccff mem
0xfcbc-0xfcbd,0xfcbff000-0xfcbf irq 21 at device 4.0 on pci3
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:28:50:2b
fxp1:  port 0xcc80-0xccbf mem
0xfcba-0xfcbb,0xfcbfe000-0xfcbfefff irq 22 at device 5.0 on pci3
miibus1:  on fxp1
inphy1:  on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:02:b3:28:50:2c
pcib2:  pcibus 2 on motherboard
pci2:  on pcib2
pcib4:  at device 2.0 on pci2
pcib5:  at device 4.0 on pci2
pci4:  on pcib5
fxp2:  port 0xbcc0-0xbcff mem
0xfc9c-0xfc9d,0xfc9ff000-0xfc9f irq 24 at device 4.0 on pci4
miibus2:  on fxp2
inphy2:  on miibus2
inphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp2: Ethernet address: 00:02:b3:28:50:29
fxp3:  port 0xbc80-0xbcbf mem
0xfc9a-0xfc9b,0xfc9fe000-0xfc9fefff irq 23 at device 5.0 on pci4
miibus3:  on fxp3
inphy3:  on miibus3
inphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp3: Ethernet address: 00:02:b3:28:50:2a
pmtimer0 on isa0
orm0:  at iomem
0xec000-0xe,0xe3000-0xea7ff,0xc8000-0xc87ff,0xc-0xc7fff on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model Inte

Re: HTT/SMP does not start 2nd processor

2005-05-10 Thread Pete French
> Make sure the acpi kernel module is being loaded on startup.  See
> acpi(4).

It wwasnt - but I stuck 'acpi_load="YES"' in /btoo/loader.conf and now
it comes up and starts the CPU's. Thanks.

Wonder why it wasnt loaded automatically though ?

-pcf.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: HTT/SMP does not start 2nd processor

2005-05-10 Thread Bosko Milekic

Make sure the acpi kernel module is being loaded on startup.  See
acpi(4).

-Bosko

On Tue, May 10, 2005 at 04:57:47PM +0100, Pete French wrote:
> I have two P4 machines here, both with processors supporting hyperthreading,
> and running identical SMP kernels from 5.4-RELEASE. One runs with two
> logical processors and the oother doesn't. This has been puzlling me all day.
> 
> On the machine where the second CPU does not start up, HTTP is
> enabled in the BIOS, and I get the following in dmesg:
> 
> CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
>   
> Features=0xbfebfbff MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Hyperthreading: 2 logical CPUs
> real memory  = 536739840 (511 MB)
> avail memory = 515579904 (491 MB)
> MPTable: 
> ioapic0: Changing APIC ID to 1
> ioapic0: Assuming intbase of 0
> ioapic0  irqs 0-23 on motherboard
> 
> On the one which starts up the 2nd CPU the equivalent part is:
> 
> CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.04-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
>   
> Features=0xbfebfbff MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>   Hyperthreading: 2 logical CPUs
> real memory  = 536301568 (511 MB)
> avail memory = 515137536 (491 MB)
> ACPI APIC Table: 
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> ioapic0: Changing APIC ID to 8
> ioapic1: Changing APIC ID to 9
> ioapic2: Changing APIC ID to 10
> ioapic0  irqs 0-23 on motherboard
> ioapic1  irqs 24-47 on motherboard
> ioapic2  irqs 48-71 on motherboard
> 
> So both are reporting 2 logical CPU's, but only the second is then
> detecting this as a multiprocessor system. I notice that one syas
> it is using an ACPI APIC table and the other (that does not start) is
> just finding an MPTable. That seems to be the difference between them.
> 
> Does anyone have any suggestions ? I dont really understand how this
> stuff is detected, so I am not sure how to sart digging into this. It
> is obviously finding a dual CPU processor, so why isn't it then detecting
> it as a multiprocessor system ?
> 
> *puzzled*
> 
> -pcf.
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
Bosko Milekic
[EMAIL PROTECTED]
[EMAIL PROTECTED]
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


HTT/SMP does not start 2nd processor

2005-05-10 Thread Pete French
I have two P4 machines here, both with processors supporting hyperthreading,
and running identical SMP kernels from 5.4-RELEASE. One runs with two
logical processors and the oother doesn't. This has been puzlling me all day.

On the machine where the second CPU does not start up, HTTP is
enabled in the BIOS, and I get the following in dmesg:

CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (2992.52-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 536739840 (511 MB)
avail memory = 515579904 (491 MB)
MPTable: 
ioapic0: Changing APIC ID to 1
ioapic0: Assuming intbase of 0
ioapic0  irqs 0-23 on motherboard

On the one which starts up the 2nd CPU the equivalent part is:

CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.04-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff
  Hyperthreading: 2 logical CPUs
real memory  = 536301568 (511 MB)
avail memory = 515137536 (491 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic2: Changing APIC ID to 10
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
ioapic2  irqs 48-71 on motherboard

So both are reporting 2 logical CPU's, but only the second is then
detecting this as a multiprocessor system. I notice that one syas
it is using an ACPI APIC table and the other (that does not start) is
just finding an MPTable. That seems to be the difference between them.

Does anyone have any suggestions ? I dont really understand how this
stuff is detected, so I am not sure how to sart digging into this. It
is obviously finding a dual CPU processor, so why isn't it then detecting
it as a multiprocessor system ?

*puzzled*

-pcf.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"