Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2003 06:36:34 GMT
From:      jimd_NOSPAM@siu.edu
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/52610: MSI "655 max" (MS-6730, SiS 655/963) MB APIC lockup with SMP/HTT/APIC enabled
Message-ID:  <200305230636.h4N6aYWF000687@255-164.ip.ll.net>
Resent-Message-ID: <200305231140.h4NBeFin094386@freefall.freebsd.org>

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

>Number:         52610
>Category:       i386
>Synopsis:       MSI "655 max" (MS-6730, SiS 655/963) MB APIC lockup with SMP/HTT/APIC enabled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 23 04:40:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     J.D.
>Release:        FreeBSD 4.8-STABLE i386, FreeBSD 5.1-BETA(1) i386
>Organization:
>Environment:
System: FreeBSD 4.8-STABLE #0: Sat May 17 15:14:12 CDT 2003 localhost:/usr/src/sys/compile/XSYSTEM i386

System: FreeBSD 5.1-BETA(1)#0: Mon May 12 ???????? CDT 2003 ....


mptable -verbose
===============================================================================

MPTable, version 2.0.15

 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009f800
 searching CMOS 'top of mem' @ 0x0009f400 (637K)
 searching default 'top of mem' @ 0x0009fc00 (639K)
 searching BIOS @ 0x000f0000

 MP FPS found in BIOS @ physical addr: 0x000fb960

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:		0x000f5e70
  signature:			'PCMP'
  base table length:		324
  version:			1.4
  checksum:			0xd3
  OEM ID:			'SiS     '
  Product ID:			'655         '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			32
  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	 7	 0xbfebfbff
		 1	 0x14	 AP, usable	 15	 2	 7	 0xbfebfbff
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 PCI   
		 2	 PCI   
		 3	 ISA   
--
I/O APICs:	APIC ID	Version	State		Address
		 2	 0x11	 usable		 0xfec00000
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	 conforms    conforms	     3	   0	      2	   0
		INT	 conforms    conforms	     3	   1	      2	   1
		INT	 conforms    conforms	     3	   0	      2	   2
		INT	 conforms    conforms	     3	   3	      2	   3
		INT	 conforms    conforms	     3	   4	      2	   4
		INT	 conforms    conforms	     3	   6	      2	   6
		INT	 conforms    conforms	     3	   7	      2	   7
		INT	active-hi        edge	     3	   8	      2	   8
		INT	 conforms    conforms	     3	   9	      2	   9
		INT	 conforms    conforms	     3	  12	      2	  12
		INT	 conforms    conforms	     3	  13	      2	  13
		INT	 conforms    conforms	     3	  14	      2	  14
		INT	 conforms    conforms	     3	  15	      2	  15
		INT	active-lo       level	     0	 2:A	      2	  16
		INT	active-lo       level	     1	 0:A	      2	  16
		INT	active-lo       level	     0	15:A	      2	  18
		INT	active-lo       level	     0	11:A	      2	  18
		INT	active-lo       level	     0	 7:A	      2	  18
		INT	active-lo       level	     0	 2:C	      2	  18
		INT	active-lo       level	     0	 8:A	      2	  19
		INT	active-lo       level	     0	 3:A	      2	  20
		INT	active-lo       level	     0	 3:B	      2	  21
		INT	active-lo       level	     0	 3:D	      2	  23
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	 conforms    conforms	     0	 0:A	    255	   0
		NMI	 conforms    conforms	     0	 0:A	    255	   1

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


(Note: recent changes to ACPI have allowed me to re-enable acpi.o)

    From: jimd_NOSPAM@siu.edu
    Subject: Current-5.1-BETA hangs with SMP/HTT/APIC
    Date: Sun, 18 May 2003 03:57:50 +0000 (CDT)
    To: freebsd-current@freebsd.org
    Reply-To: jimd@siu.edu

I have an MSI 655-MAX (SiS 655/963) motherboard (which is HTT capable).
When I boot a re-compiled kernel with SMP and APIC enabled, the process
hangs at/after "APIC_IO: Testing 8254 interrupt delivery". (I had to
disable acpi.o in order to be able to use my Soundblaster Live! card)

[boot with SMP/APIC enabled; HTT enable in BIOS]

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 5.1-BETA #0: Sat May 17 17:47:57 CDT 2003
    root@freebsd2.localnet10:/usr/src/sys/i386/compile/HTXSYS
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0713000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc071326c.
Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc0713318.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc07133c8.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 3080962560 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (3080.96-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  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  = 1073676288 (1023 MB)
avail memory = 1035493376 (987 MB)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00178011, at 0xfec00000
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00f79a0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
IOAPIC #0 intpin 18 -> irq 2
IOAPIC #0 intpin 20 -> irq 5
IOAPIC #0 intpin 21 -> irq 10
IOAPIC #0 intpin 23 -> irq 11
IOAPIC #0 intpin 19 -> irq 16
agp0: <SIS Generic host to PCI bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
IOAPIC #0 intpin 16 -> irq 17
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 96X UDMA133 controller> port 0xff00-0xff0f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <multimedia, audio> at device 2.7 (no driver attached)
ohci0: <SiS 5571 USB controller> mem 0xdfffc000-0xdfffcfff irq 5 at device 3.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xdfffd000-0xdfffdfff irq 10 at device 3.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: <serial bus, USB> at device 3.3 (no driver attached)
pcm0: <Creative EMU10K1> port 0xcc00-0xcc1f irq 2 at device 7.0 on pci0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
sis0: <NatSemi DP83815 10/100BaseTX> port 0xc800-0xc8ff mem 0xdfffb000-0xdfffbfff irq 16 at device 8.0 on pci0
sis0: Ethernet address: 00:09:5b:1e:62:ec
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 29160N Ultra160 SCSI adapter> port 0xd800-0xd8ff mem 0xdffff000-0xdfffffff irq 2 at device 11.0 on pci0
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
pci0: <network, ethernet> at device 15.0 (no driver attached)
orm0: <Option ROM> at iomem 0xc0000-0xce7ff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
APIC_IO: Testing 8254 interrupt delivery
[system hang/lockup]


[reboot with NO SMP/APIC options]

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 5.1-BETA #0: Sat May 17 18:00:26 CDT 2003
    root@freebsd2.localnet10:/usr/src/sys/i386/compile/XSYSTEM
Preloaded elf kernel "/boot/kernel/kernel" at 0xc06fb000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc06fb26c.
Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc06fb318.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc06fb3c8.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 3080966392 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (3080.97-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  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  = 1073676288 (1023 MB)
avail memory = 1035608064 (987 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 12 entries at 0xc00f79a0
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0xe0000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 96X UDMA133 controller> port 0xff00-0xff0f at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <multimedia, audio> at device 2.7 (no driver attached)
ohci0: <SiS 5571 USB controller> mem 0xdfffc000-0xdfffcfff irq 5 at device 3.0 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xdfffd000-0xdfffdfff irq 11 at device 3.1 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: <serial bus, USB> at device 3.3 (no driver attached)
pcm0: <Creative EMU10K1> port 0xcc00-0xcc1f irq 5 at device 7.0 on pci0
pcm0: <SigmaTel STAC9708/11 AC97 Codec>
sis0: <NatSemi DP83815 10/100BaseTX> port 0xc800-0xc8ff mem 0xdfffb000-0xdfffbfff irq 5 at device 8.0 on pci0
sis0: Ethernet address: 00:09:5b:1e:62:ec
miibus0: <MII bus> on sis0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 29160N Ultra160 SCSI adapter> port 0xd800-0xd8ff mem 0xdffff000-0xdfffffff irq 5 at device 11.0 on pci0
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
pci0: <network, ethernet> at device 15.0 (no driver attached)
orm0: <Option ROM> at iomem 0xc0000-0xce7ff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
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/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
Timecounters tick every 10.000 msec
IPv6 packet filtering initialized, default to accept, logging limited to 10 packets/entry
ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to accept, logging unlimited
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled
ad2: 38204MB <SAMSUNG SV4002H> [77622/16/63] at ata1-master UDMA100
acd0: CD-RW <SAMSUNG CDRW/DVD SM-348B> at ata0-master PIO4
Waiting 15 seconds for SCSI devices to settle
WARNING: Expected rawoffset 4176900, found 0
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST336752LW 0004> Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)
da1 at ahc0 bus 0 target 4 lun 0
da1: <SEAGATE ST34501N 0015> Fixed Direct Access SCSI-2 device
da1: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da1: 4339MB (8887200 512 byte sectors: 255H 63S/T 553C)
da2 at ahc0 bus 0 target 6 lun 0
da2: <  S7Z0> Fixed Direct Access SCSI-3 device
da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da2: 35003MB (71687340 512 byte sectors: 255H 63S/T 4462C)
WARNING: Expected rawoffset 63, found 0
WARNING: Expected rawoffset 63, found 0
WARNING: Expected rawoffset 63, found 0
Mounting root from ufs:/dev/da2s1a
IP Filter: already initialized
IP Filter: already initialized
nvidia0: <GeForce4 Ti 4600> mem 0xddb80000-0xddbfffff,0xd0000000-0xd7ffffff,0xde000000-0xdeffffff irq 11 at device 0.0 on pci1
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
	
>Description:
	Enable SMP and APIC in kernel and run with HTT enabled in BIOS. The
	boot process hangs at

	APIC_IO: Testing 8254 interrupt delivery

	as noted above. Attempts to induce extra delays in the APIC testing
	failed to provide any different results.

	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



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