Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2004 12:10:46 +0100
From:      Pete French <petefrench@keithprowse.com>
To:        stable@FreeBSD.ORG
Subject:   SMP/HTT problems with 4.10-BETA
Message-ID:  <E1BDLoU-0004c9-VQ@dilbert.firstcallgroup.co.uk>

next in thread | raw e-mail | index | archive | help
I just tested the new 4.10-BETA code to see if it had improved any
of the issues I had running HTTP under 4.9. Unfortunately they still seem
to be present. If I have a kernel configured with SMP options and I enable
HTT then I see random errors in processes. These are not the normal "signal 11"
things that I would associate with bad memory, but are odd occurrances such as
the exit code from a process being wrong, or the exeutable created by a 
compile not running. Repeating the command will usually give the correct
results.

I had this issue originally with 4.9. I have not tested it with previous
versions as I did not have an HTT processor when running older systems.

The machine is a Dell Prescision 450 Workstation. The dmesg from a boot
is below (with the CPU disabled) as is the output from mptable in case it
helps anyone. I realise that other people are running with HTT quite happily
though, and this doesnt bother me as I just build a ketnel with no SMP
enabled. But as we were asked  to test SMP in  4.10 I thought I should
mention it.

-pcf.


Copyright (c) 1992-2003 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 4.10-BETA #0: Tue Apr 13 11:46:26 BST 2004
    petefrench@dilbert.rattatosk:/usr/obj/usr/src/sys/DILBERT
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2392.04-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 536301568 (523732K bytes)
avail memory = 517771264 (505636K bytes)
Changing APIC ID for IO APIC #0 from 0 to 8 on chip
Changing APIC ID for IO APIC #1 from 0 to 10 on chip
Changing APIC ID for IO APIC #2 from 0 to 9 on chip
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 24 pins in IOAPIC #1
Programming 24 pins in IOAPIC #2
FreeBSD/SMP: Multiprocessor motherboard: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  8, version: 0x00178020, at 0xfec00000
 io1 (APIC): apic id: 10, version: 0x00178020, at 0xfec80000
 io2 (APIC): apic id:  9, version: 0x00178020, at 0xfec80800
Preloaded elf kernel "kernel" at 0xc03f6000.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
Using $PIR table, 8 entries at 0xc00feae0
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 16 -> irq 2
IOAPIC #0 intpin 19 -> irq 13
IOAPIC #0 intpin 18 -> irq 16
IOAPIC #0 intpin 23 -> irq 17
IOAPIC #0 intpin 17 -> irq 18
pci0: <PCI bus> on pcib0
agp0: <Intel Generic host to PCI bridge> mem 0xe8000000-0xefffffff at device 0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=2552)> mem 0xe0000000-0xe7ffffff at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib2: <PCI to PCI bridge (vendor=8086 device=2553)> at device 2.0 on pci0
pci2: <PCI bus> on pcib2
pci2: <unknown card> (vendor=0x8086, dev=0x1461) at 28.0
pcib3: <PCI to PCI bridge (vendor=8086 device=1460)> at device 29.0 on pci2
IOAPIC #1 intpin 1 -> irq 19
IOAPIC #1 intpin 2 -> irq 20
IOAPIC #1 intpin 0 -> irq 21
pci3: <PCI bus> on pcib3
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0xec00-0xecff mem 0xfe3c0000-0xfe3dffff,0xfe3e0000-0xfe3fffff irq 19 at device 12.0 on pci3
mpt1: <LSILogic 1030 Ultra4 Adapter> port 0xe800-0xe8ff mem 0xfe380000-0xfe39ffff,0xfe3a0000-0xfe3bffff irq 20 at device 12.1 on pci3
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.25> port 0xe4c0-0xe4ff mem 0xfe360000-0xfe37ffff irq 21 at device 14.0 on pci3
em0:  Speed:N/A  Duplex:N/A
pci2: <unknown card> (vendor=0x8086, dev=0x1461) at 30.0
pcib4: <PCI to PCI bridge (vendor=8086 device=1460)> at device 31.0 on pci2
pci4: <PCI bus> on pcib4
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xff80-0xff9f irq 2 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xff60-0xff7f irq 13 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xff40-0xff5f irq 16 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <USB controller> at 29.7 irq 17
pcib5: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci5: <PCI bus> on pcib5
pcib6: <PCI to PCI bridge (vendor=3388 device=0022)> at device 13.0 on pci5
IOAPIC #0 intpin 21 -> irq 22
IOAPIC #0 intpin 21 -> irq 22
pci6: <PCI bus> on pcib6
drm0: <Matrox G400/G450 (AGP)> mem 0xfd000000-0xfd7fffff,0xfdefc000-0xfdefffff,0xf6000000-0xf7ffffff irq 14 at device 0.0 on pci6
info: [drm] AGP at 0xe8000000 128MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 0
drm1: <Matrox G400/G450 (AGP)> mem 0xfc800000-0xfcffffff,0xfdef8000-0xfdefbfff,0xf4000000-0xf5ffffff irq 14 at device 4.0 on pci6
info: [drm] AGP at 0xe8000000 128MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 1
drm2: <Matrox G400/G450 (AGP)> mem 0xfc000000-0xfc7fffff,0xfdef4000-0xfdef7fff,0xf2000000-0xf3ffffff irq 14 at device 8.0 on pci6
can't re-use a leaf (name)!
info: [drm] AGP at 0xe8000000 128MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 2
drm3: <Matrox G400/G450 (AGP)> mem 0xfb800000-0xfbffffff,0xfdef0000-0xfdef3fff,0xf0000000-0xf1ffffff irq 14 at device 12.0 on pci6
can't re-use a leaf (name)!
info: [drm] AGP at 0xe8000000 128MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 3
isab0: <PCI to ISA bridge (vendor=8086 device=24c0)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 ATA100 controller> port 0xffa0-0xffaf,0-0x3,0-0x7,0-0x3,0-0x7 irq 16 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x8086, dev=0x24c3) at 31.3 irq 18
pcm0: <Intel ICH4 (82801DB)> port 0xdc40-0xdc7f,0xd800-0xd8ff mem 0xfe500000-0xfe5000ff,0xfe500400-0xfe5005ff irq 18 at device 31.5 on pci0
pcm0: <Analog Devices AD1981B AC97 Codec>
orm0: <Option ROMs> at iomem 0xc0000-0xc87ff,0xc8800-0xcc7ff,0xcc800-0xcdfff,0xce000-0xcffff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
SMP: AP CPU #1 Launched!
acd0: CD-RW <SONY CD-RW CRX216E> at ata1-master PIO4
Waiting 3 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s2a
da0 at mpt1 bus 0 target 0 lun 0
da0: <FUJITSU MAP3367NP 5608> Fixed Direct Access SCSI-3 device 
da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C)
em0: Link is up 100 Mbps Full Duplex



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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000fe710
  signature:			'_MP_'
  length:			16 bytes
  version:			1.4
  checksum:			0x91
  mode:				Virtual Wire

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

MP Config Table Header:

  physical address:		0x000f0000
  signature:			'PCMP'
  base table length:		552
  version:			1.4
  checksum:			0x5d
  OEM ID:			'DELL    '
  Product ID:			'WS 450      '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			62
  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	 9	 0xbfebfbff
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 PCI   
		 2	 PCI   
		 3	 PCI   
		 4	 PCI   
		 5	 PCI   
		 6	 PCI   
		 7	 ISA   
--
I/O APICs:	APIC ID	Version	State		Address
		 8	 0x20	 usable		 0xfec00000
		10	 0x20	 usable		 0xfec80000
		 9	 0x20	 usable		 0xfec80800
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	active-hi        edge	     7	   0	      8	   0
		INT	 conforms    conforms	     7	   1	      8	   1
		INT	 conforms    conforms	     7	   0	      8	   2
		INT	 conforms    conforms	     7	   3	      8	   3
		INT	 conforms    conforms	     7	   4	      8	   4
		INT	 conforms    conforms	     7	   5	      8	   5
		INT	 conforms    conforms	     7	   6	      8	   6
		INT	 conforms    conforms	     7	   7	      8	   7
		INT	 conforms    conforms	     7	   8	      8	   8
		INT	 conforms    conforms	     7	   9	      8	   9
		INT	 conforms    conforms	     7	  10	      8	  10
		INT	 conforms    conforms	     7	  11	      8	  11
		INT	 conforms    conforms	     7	  12	      8	  12
		INT	 conforms    conforms	     7	  14	      8	  14
		INT	 conforms    conforms	     7	  15	      8	  15
		INT	 conforms    conforms	     0	29:A	      8	  16
		INT	 conforms    conforms	     1	 0:A	      8	  16
		INT	 conforms    conforms	     0	31:B	      8	  17
		INT	 conforms    conforms	     1	 0:B	      8	  17
		INT	 conforms    conforms	     0	31:A	      8	  18
		INT	 conforms    conforms	     0	29:C	      8	  18
		INT	 conforms    conforms	     0	29:B	      8	  19
		INT	 conforms    conforms	     5	13:D	      8	  20
		INT	 conforms    conforms	     5	14:C	      8	  20
		INT	 conforms    conforms	     5	13:A	      8	  21
		INT	 conforms    conforms	     5	14:D	      8	  21
		INT	 conforms    conforms	     6	 0:A	      0	  21
		INT	 conforms    conforms	     6	 4:A	      0	  21
		INT	 conforms    conforms	     6	 8:A	      0	  21
		INT	 conforms    conforms	     6	12:A	      0	  21
		INT	 conforms    conforms	     5	13:B	      8	  22
		INT	 conforms    conforms	     5	14:A	      8	  22
		INT	 conforms    conforms	     0	29:D	      8	  23
		INT	 conforms    conforms	     5	13:C	      8	  23
		INT	 conforms    conforms	     5	14:B	      8	  23
		INT	 conforms    conforms	     3	14:A	     10	   0
		INT	 conforms    conforms	     3	12:A	     10	   1
		INT	 conforms    conforms	     6	 0:A	      0	   1
		INT	 conforms    conforms	     6	 4:A	      0	   1
		INT	 conforms    conforms	     6	 8:A	      0	   1
		INT	 conforms    conforms	     6	12:A	      0	   1
		INT	 conforms    conforms	     3	12:B	     10	   2
		INT	 conforms    conforms	     3	12:C	     10	   3
		INT	 conforms    conforms	     3	12:D	     10	   4
		INT	 conforms    conforms	     3	13:A	     10	   5
		INT	 conforms    conforms	     3	13:B	     10	   6
		INT	 conforms    conforms	     3	13:C	     10	   7
		INT	 conforms    conforms	     3	13:D	     10	   8
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	active-hi        edge	     7	   0	    255	   0
		NMI	active-hi        edge	     7	   0	    255	   1

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



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