From jin@iss-p1.lbl.gov  Tue Jun 10 10:01:52 1997
Received: from iss-p1.lbl.gov (iss-p1.lbl.gov [131.243.2.47])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA16683
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Jun 1997 10:01:47 -0700 (PDT)
Received: (from jin@localhost)
	by iss-p1.lbl.gov (8.8.5/8.8.5) id KAA20826;
	Tue, 10 Jun 1997 10:01:46 -0700 (PDT)
Message-Id: <199706101701.KAA20826@iss-p1.lbl.gov>
Date: Tue, 10 Jun 1997 10:01:46 -0700 (PDT)
From: "Jin Guojun[ITG]" <jin@iss-p1.lbl.gov>
Reply-To: jin@iss-p1.lbl.gov
To: FreeBSD-gnats-submit@freebsd.org
Subject: SMP kernel crash on enable "dumps on wd0"
X-Send-Pr-Version: 3.2

>Number:         3835
>Category:       kern
>Synopsis:       SMP kernel crash on enable "dumps on wd0"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 10 10:10:01 PDT 1997
>Closed-Date:    Thu Aug 7 14:25:02 PDT 1997
>Last-Modified:  Thu Aug  7 14:26:10 PDT 1997
>Originator:     Jin Guojun[ITG]
>Release:        FreeBSD 3.0-970527-SNAP i386
>Organization:
>Environment:

	FreeBSD 3.0-970527-SNAP

>Description:

	Once "dumps on wd0" is provided on "config kernel" line,
	system will not boot up. It crashs after -- (enable DDB to see)
...
npx0 on motherboard
npx0: INT 16 interface
amp0:	disabled, not probed.

Fatal trap 12: page fault while in kernel mode
cpunumber = 0
fault virtual address = 0xac
.
.
.
Stopped at _tsleep + 0x35: movl 0xac (%ebx),%eax


>How-To-Repeat:

	config kernel by using

config          kernel  root on wd0 dumps on wd0

	On any dual Pentium machines with one or two CPUs.
	It is regardless the savecore or dumpdev in rc.conf options.
	It crashes before -- sio0:65 events for device with no tp

Normal boot up messages:
...
npx0 on motherboard
npx0: INT 16 interface
apm0: disabled, not probed.
sio0: 65 events for device with no tp
sio1: 65 events for device with no tp

After dumps on wd0 used, you will see the problem in Description section.

>Fix:
	
init curproc earlier for SMP.  committed to 3.0-current on 970807.

>Release-Note:
>Audit-Trail:

From: Steve Passe <smp@csn.net>
To: jin@iss-p1.lbl.gov
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: kern/3835: SMP kernel crash on enable "dumps on wd0" 
Date: Tue, 10 Jun 1997 21:23:32 -0600

 Hi,
 
 > >Number:         3835
 > >Category:       kern
 > >Synopsis:       SMP kernel crash on enable "dumps on wd0"
 > ...
 > >Description:
 > 
 > 	Once "dumps on wd0" is provided on "config kernel" line,
 > 	system will not boot up. It crashs after -- (enable DDB to see)
 
 I believe the problem is more generic, ie "dumps on sd0" also provokes it.
 I have not had the time to check it out, there are many things b4 this in the
 queue!
 
 --
 Steve Passe	| powered by 
 smp@csn.net	|            Symmetric MultiProcessor FreeBSD
 
 
State-Changed-From-To: open->closed 
State-Changed-By: fsmp 
State-Changed-When: Thu Aug 7 14:25:02 PDT 1997 
State-Changed-Why:  

Fixed in 3.0-current kern/init_main.c. 

>Unformatted:
