kern/62091: Random Lockups on Boot (Timecounter?)

Paul Querna chip at force-elite.com
Thu Jan 29 18:40:15 PST 2004


>Number:         62091
>Category:       kern
>Synopsis:       Random Lockups on Boot (Timecounter?)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 29 18:40:06 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Paul Querna
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Carroll College, Helena MT
>Environment:
FreeBSD database0 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Jan 29 16:11:09 GMT 2004     root@:/usr/obj/usr/src/sys/DATABASE0  i386    
>Description:
5.2-RELEASE and 5.2-CURRENT will both hang on boot.No Panic is reported.  This Hang is not consistent. On some boots it will happen, yet on others it will not.

The Machine is a dual Pentium 3 Compaq Proliant Server with a ServerWorks chipset.  It previously ran Windows 2000 without any problems as far as I know.

It seems to hang at only two places.
After the line "Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000" or "Timecounters tick every 10.000 msec".  I have not seen it hang at any other part of the booting process.  Once the machine is booted it is stable. (It has built world, kernel and many other applications once it is running. The only problems are in the boot sequence.)

I have tried a combination of soft/hard power ons and it didn't have any effect.  The BIOS has "Fully Mapped APCI" enabled (Cause of many problems with Compaq hardware).

  Copyright (c) 1992-2004 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.2-CURRENT #0: Thu Jan 29 16:11:09 GMT 2004
  root@:/usr/obj/usr/src/sys/DATABASE0
  Preloaded elf kernel "/boot/kernel/kernel" at 0xc081f000.
  Preloaded elf module "/boot/kernel/acpi.ko" at 0xc081f244.
  ACPI APIC Table: <COMPAQ 00000083>
  Timecounter "i8254" frequency 1193182 Hz quality 0
  CPU: Intel(R) Pentium(R) III CPU family      1133MHz (1125.77-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  real memory  = 3221209088 (3071 MB)
  avail memory = 3150888960 (3004 MB)
  FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  3
  cpu1 (AP): APIC ID:  0
  ioapic1 <Version 1.1> irqs 16-31 on motherboard
  ioapic0 <Version 1.1> irqs 0-15 on motherboard
  Pentium Pro MTRR support enabled
  npx0: [FAST]
  npx0: <math processor> on motherboard
  npx0: INT 16 interface
  acpi0: <COMPAQ P24> on motherboard
  ACPI-1015: *** Info: There are no GPE blocks defined in the FADT
  acpi0: Power Button (fixed)
  Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
  pcibios: BIOS version 2.10
  acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0
  acpi_cpu0: <CPU> on acpi0
  acpi_cpu1: <CPU> on acpi0
  acpi_cpu2: <CPU> on acpi0
  device_probe_and_attach: acpi_cpu2 attach returned 6
  acpi_cpu2: <CPU> on acpi0
  device_probe_and_attach: acpi_cpu2 attach returned 6
  acpi_tz0: <Thermal Zone> on acpi0
  pcib0: <ACPI Host-PCI bridge> on acpi0
  pci0: <ACPI PCI bus> on pcib0
  ciss0: <Compaq Smart Array 5i> port 0x2000-0x20ff mem 0xf5ef0000-0xf5ef3fff,0xf7ec0000-0xf7efffff irq 16 at device 1.0 on pc
i0
  fxp0: <Intel 82559 Pro/100 Ethernet> port 0x2400-0x243f mem 0xf7d00000-0xf7dfffff,0xf7eb0000-0xf7eb0fff irq 18 at device 2.0
on pci0
  fxp0: Ethernet address 00:08:02:25:7e:e3
  miibus0: <MII bus> on fxp0
  inphy0: <i82555 10/100 media interface> on miibus0
  inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  fxp1: <Intel 82559 Pro/100 Ethernet> port 0x2440-0x247f mem 0xf7b00000-0xf7bfffff,0xf7cf0000-0xf7cf0fff irq 20 at device 4.0
on pci0
  fxp1: Ethernet address 00:08:02:25:7e:e2
  miibus1: <MII bus> on fxp1
  inphy1: <i82555 10/100 media interface> on miibus1
  inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
  pci0: <display, VGA> at device 5.0 (no driver attached)
  pci0: <base peripheral> at device 6.0 (no driver attached)
  isab0: <PCI-ISA bridge> port 0-0xf at device 15.0 on pci0
  isa0: <ISA bus> on isab0
  atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0x2c00-0x2c0f at device 15.1 on pci0
  ata0: at 0x1f0 irq 14 on atapci0
  ata0: [MPSAFE]
  ata1: at 0x170 irq 15 on atapci0
  ata1: [MPSAFE]
  ohci0: <OHCI (generic) USB controller> mem 0xf5fd0000-0xf5fd0fff irq 22 at device 15.2 on pci0
  usb0: OHCI version 1.0, legacy support
  usb0: SMM does not respond, resetting
  usb0: <OHCI (generic) USB controller> on ohci0
  usb0: USB revision 1.0
  uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub0: 4 ports with 4 removable, self powered
  pcib1: <ACPI Host-PCI bridge> on acpi0
  pci1: <ACPI PCI bus> on pcib1
  pcib2: <ACPI Host-PCI bridge> on acpi0
  pci7: <ACPI PCI bus> on pcib2
  pci7: <base peripheral> at device 7.0 (no driver attached)
  atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
  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
  sio0 port 0x3f8-0x3ff irq 4 on acpi0
  sio0: type 16550A
  fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
  fdc0: FIFO enabled, 8 bytes threshold
  fd0: <1440-KB 3.5" drive> on fdc0 drive 0
  acpi_cpu2: <CPU> on acpi0
  device_probe_and_attach: acpi_cpu2 attach returned 6
  acpi_cpu2: <CPU> on acpi0
  device_probe_and_attach: acpi_cpu2 attach returned 6
  orm0: <Option ROMs> at iomem 0xee000-0xeffff,0xc8000-0xcbfff,0xc0000-0xc7fff on isa0
  pmtimer0 on isa0
  sc0: <System console> at flags 0x100 on isa0
  sc0: VGA <16 virtual consoles, flags=0x300>
  sio1: configured irq 3 not in bitmap of probed irqs 0
  sio1: port may not be enabled
  vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
  Timecounters tick every 10.000 msec
  acd0: CDROM <COMPAQ CD-ROM SN-124Q> at ata0-master PIO4
  da0 at ciss0 bus 0 target 0 lun 0
  da0: <COMPAQ RAID 5  VOLUME OK> Fixed Direct Access SCSI-0 device
  da0: 135.168MB/s transfers
  da0: 69455MB (142245120 512 byte sectors: 255H 32S/T 17432C)
  SMP: AP CPU #1 Launched!
  Mounting root from ufs:/dev/da0s1a

mptable:
===============================================================================

MPTable, version 2.0.15

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

MP FPS found in BIOS @ physical addr: 0x000f4fd0

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address: 0x000f3012
  signature: 'PCMP'
  base table length: 372
  version: 1.4
  checksum: 0x6b
  OEM ID: 'COMPAQ  '
  Product ID: 'PROLIANT    '
  OEM table pointer: 0x00000000
  OEM table size: 0
  entry count: 38
  local APIC address: 0xfee00000
  extended table length: 172
  extended table checksum: 117

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

MP Config Base Table Entries:

--
Processors: APIC ID Version State Family Model Step Flags
3 0x10 BSP, usable 6 11 1 0x383fbff
0 0x10 AP, usable 6 11 1 0x383fbff
--
Bus: Bus ID Type
0 PCI  
1 PCI  
7 PCI  
15 ISA  
--
I/O APICs: APIC ID Version State Address
8 0x11 usable 0xfec00000
2 0x11 usable 0xfec01000
--
I/O Ints: Type Polarity    Trigger Bus ID IRQ APIC ID PIN#
INT active-lo       level      1 3:A       2    8
INT active-lo       level      1 3:B       2    8
INT active-lo       level      1 3:C       2    8
INT active-lo       level      1 3:D       2    8
INT active-lo       level      7 3:A       2   12
INT active-lo       level      7 3:B       2   12
INT active-lo       level      7 3:C       2   12
INT active-lo       level      7 3:D       2   12
INT active-lo       level      7 4:A       2   13
INT active-lo       level      7 4:B       2   13
INT active-lo       level      7 4:C       2   13
INT active-lo       level      7 4:D       2   13
INT active-lo       level      7 7:A       2    7
INT active-lo       level      0 2:A       2    2
INT active-lo       level      0 4:A       2    4
INT active-lo       level      0 1:A       2    0
INT active-lo       level      0 6:A       2    5
INT active-lo       level      0 15:A       2    6
INT active-hi        edge     15    1       8    1
INT active-hi        edge     15    0       8    2
INT active-hi        edge     15    4       8    4
INT active-hi        edge     15    6       8    6
INT active-hi        edge     15    8       8    8
INT active-lo       level     15    9       8    9
INT active-hi        edge     15   12       8   12
INT active-lo       level     15   13       8   13
INT active-hi        edge     15   14       8   14
ExtINT conforms    conforms     15    0       8    0
--
Local Ints: Type Polarity    Trigger Bus ID IRQ APIC ID PIN#
ExtINT conforms    conforms     15    0     255    0
NMI conforms    conforms     15    0     255    1

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

MP Config Extended Table Entries:

--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x0
address range: 0x2c10
--
System Address Space
bus ID: 0 address type: memory address
address base: 0xf5e00000
address range: 0x2100000
--
System Address Space
bus ID: 1 address type: I/O address
address base: 0x0
address range: 0x0
--
System Address Space
bus ID: 1 address type: memory address
address base: 0x0
address range: 0x0
--
System Address Space
bus ID: 7 address type: I/O address
address base: 0x0
address range: 0x0
--
System Address Space
bus ID: 7 address type: memory address
address base: 0xf7f00000
address range: 0x100000
--
System Address Space
bus ID: 0 address type: memory address
address base: 0xa0000
address range: 0x60000
--
Bus Heirarchy
bus ID: 15 bus info: 0x01 parent bus ID: 0
--
Compatibility Bus Address
bus ID: 0 address modifier: add
predefined range: 0x00000000
--
Compatibility Bus Address
bus ID: 1 address modifier: subtract
predefined range: 0x00000000
--
Compatibility Bus Address
bus ID: 7 address modifier: subtract
predefined range: 0x00000000

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

>How-To-Repeat:
      Boot Machine (About a 50% Failure Rate)
>Fix:
      Unknown
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list