From jfh@es-i2.fernuni-hagen.de  Mon Jun  5 07:09:49 2000
Return-Path: <jfh@es-i2.fernuni-hagen.de>
Received: from es-i2.fernuni-hagen.de (ES-i2.fernuni-hagen.de [132.176.7.81])
	by hub.freebsd.org (Postfix) with ESMTP id DAF9237B9F7
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Jun 2000 07:09:47 -0700 (PDT)
	(envelope-from jfh@es-i2.fernuni-hagen.de)
Received: (from root@localhost)
	by es-i2.fernuni-hagen.de (8.9.3/8.9.3) id QAA05518;
	Mon, 5 Jun 2000 16:09:43 +0200 (CEST)
	(envelope-from jfh)
Message-Id: <200006051409.QAA05518@es-i2.fernuni-hagen.de>
Date: Mon, 5 Jun 2000 16:09:43 +0200 (CEST)
From: Fritz Heinrichmeyer <jfh@es-i2.fernuni-hagen.de>
Reply-To: jfh@es-i2.fernuni-hagen.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: spontaneous reboots with SMP kernel from 4.Juni.2000
X-Send-Pr-Version: 3.2

>Number:         19020
>Category:       kern
>Synopsis:       kernel reboots sometimes
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 05 07:10:00 PDT 2000
>Closed-Date:    Thu Nov 15 20:48:24 PST 2001
>Last-Modified:  Thu Nov 15 20:48:44 PST 2001
>Originator:     Fritz Heinrichmeyer
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
Fernuni Hagen
>Environment:

What follows is output of mptable -dmesg:

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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000fb8b0
  signature:			'_MP_'
  length:			16 bytes
  version:			1.1
  checksum:			0x0a
  mode:				Virtual Wire

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

MP Config Table Header:

  physical address:		0x000f7a10
  signature:			'PCMP'
  base table length:		284
  version:			1.1
  checksum:			0x6f
  OEM ID:			'INTEL   '
  Product ID:			'440FX       '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			27
  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
		 1	 0x11	 BSP, usable	 6	 3	 3	 0x80fbff
		 0	 0x11	 AP, usable	 6	 3	 3	 0x80fbff
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 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	     1	   0	      2	   0
		INT	 conforms    conforms	     1	   1	      2	   1
		INT	 conforms    conforms	     1	   0	      2	   2
		INT	 conforms    conforms	     1	   3	      2	   3
		INT	 conforms    conforms	     1	   4	      2	   4
		INT	 conforms    conforms	     1	   5	      2	   5
		INT	 conforms    conforms	     1	   6	      2	   6
		INT	 conforms    conforms	     1	   7	      2	   7
		INT	active-hi        edge	     1	   8	      2	   8
		INT	 conforms    conforms	     1	   9	      2	   9
		INT	 conforms    conforms	     1	  10	      2	  10
		INT	 conforms    conforms	     1	  11	      2	  11
		INT	 conforms    conforms	     1	  12	      2	  12
		INT	 conforms    conforms	     1	  13	      2	  13
		INT	 conforms    conforms	     1	  14	      2	  14
		INT	 conforms    conforms	     1	  15	      2	  15
		INT	active-lo       level	     0	14:A	      2	  16
		INT	active-lo       level	     0	10:A	      2	  16
		INT	active-lo       level	     0	11:A	      2	  19
		SMI	 conforms    conforms	     1	   0	      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

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

# SMP kernel config file options:


# Required:
options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O

# Optional (built-in defaults will work in most cases):
#options		NCPU=2			# number of CPUs
#options		NBUS=2			# number of busses
#options		NAPIC=1			# number of IO APICs
#options		NINTR=24		# number of INTs

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

dmesg output:

Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-STABLE #0: Sun Jun  4 19:24:50 CEST 2000
    jfh@es-i2.fernuni-hagen.de:/usr/obj/usr/src/sys/ES-I2.single
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (265.26-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x633  Stepping = 3
  Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 268435456 (262144K bytes)
avail memory = 257892352 (251848K bytes)
Preloaded elf kernel "kernel.single" at 0xc031e000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
Correcting Natoma config for non-SMP
Correcting Natoma config for non-SMP
isab0: <Intel 82371SB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pci0: <Intel PIIX3 ATA controller> at 7.1
pci0: <Matrox MGA Millennium II 2164W graphics accelerator> at 10.0 irq 11
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xef00-0xef3f irq 10 at device 11.0 on pci0
xl0: Ethernet address: 00:60:08:57:38:16
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: supplying EUI64: 00:60:08:ff:fe:57:38:16
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xec00-0xecff mem 0xfebfb000-0xfebfbfff irq 11 at device 14.0 on pci0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
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> irq 1 on atkbdc0
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> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
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
Waiting 5 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM XP39100W LYK8> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 8682MB (17781520 512 byte sectors: 255H 63S/T 1106C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <QUANTUM XP39100W LXY4> Fixed Direct Access SCSI-2 device 
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 8682MB (17781520 512 byte sectors: 255H 63S/T 1106C)
Mounting root from ufs:/dev/da0s1a
cd0 at ahc0 bus 0 target 6 lun 0
cd0: <TEAC CD-ROM CD-516S 1.0G> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
WARNING: / was not properly dismounted
xl0: starting DAD for fe80:0001::0260:08ff:fe57:3816
xl0: DAD complete for fe80:0001::0260:08ff:fe57:3816 - no duplicates found

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


>Description:

	sporadic reboots when imapd or smbd activities occur.

>How-To-Repeat:

	boot server with SMP kernel when samba and imapd users are active

>Fix:

	don't use SMP :-(


>Release-Note:
>Audit-Trail:

From: "F. Heinrichmeyer" <fritz.heinrichmeyer@fernuni-hagen.de>
To: freebsd-gnats-submit@FreeBSD.org, jfh@es-i2.fernuni-hagen.de
Cc:  
Subject: Re: kern/19020: kernel reboots sometimes
Date: Tue, 06 Jun 2000 14:36:04 +0200

 today i tried to make a crashdump for debugging, but i used
 unfortunately the same kernel in single user mode to save the image. I
 followed the advices in the handbook and typed
 
 fsck -p
 
 in single user mode. After checking the root fs it rebooted immediately.
 Now the server has to do its work again, no change for debugging so far
 ...
 
 The crash came after 40 minutes uptime when trying to read email with
 the uw-imap daemon.
 
 Greetings
 -- 
 Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de
 FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany)
 tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh
 

From: "F. Heinrichmeyer" <fritz.heinrichmeyer@fernuni-hagen.de>
To: freebsd-gnats-submit@FreeBSD.org, jfh@es-i2.fernuni-hagen.de
Cc:  
Subject: Re: kern/19020: kernel reboots sometimes
Date: Tue, 13 Jun 2000 14:50:25 +0200

 Hello,
 
 we moved the harddisks to an identical SMP-box. Now i wait since 5 days
 for my spontaneous reboots at the new box.
 
 After changing CPUs at the suspected box, one time only one was
 recognized ...
 
 -- 
 Fritz Heinrichmeyer mailto:fritz.heinrichmeyer@fernuni-hagen.de
 FernUniversitaet Hagen, LG ES, 58084 Hagen (Germany)
 tel:+49 2331/987-1166 fax:987-355 http://www-es.fernuni-hagen.de/~jfh
 
State-Changed-From-To: open->feedback 
State-Changed-By: mike 
State-Changed-When: Sat Jul 21 20:05:43 PDT 2001 
State-Changed-Why:  

Does this problem still occur in newer versions of FreeBSD, 
such as 4.3-RELEASE? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19020 
State-Changed-From-To: feedback->closed 
State-Changed-By: mike 
State-Changed-When: Thu Nov 15 20:48:24 PST 2001 
State-Changed-Why:  

Timeout; no response from originator. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19020 
>Unformatted:
 Fritz Heinrichmeyer
