From root@post.mail.demon.net  Tue Feb  9 07:49:30 1999
Received: from server.noc.demon.net (server.noc.demon.net [193.195.224.4])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA00620
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 9 Feb 1999 07:49:29 -0800 (PST)
          (envelope-from root@post.mail.demon.net)
Received: by server.noc.demon.net; id PAA24922; Tue, 9 Feb 1999 15:49:27 GMT
Received: from orac.noc.demon.net(195.11.55.149) by inside.noc.demon.net via smap (3.2)
	id xma024900; Tue, 9 Feb 99 15:49:13 GMT
Received: from root by post.mail.demon.net with local (Exim 2.12 #1)
	id 10AFQW-000070-00
	for FreeBSD-gnats-submit@freebsd.org; Tue, 9 Feb 1999 15:50:16 +0000
Message-Id: <E10AFQW-000070-00@post.mail.demon.net>
Date: Tue, 9 Feb 1999 15:50:16 +0000
From: matthewf@demon.net
Sender: Charlie Root <root@post.mail.demon.net>
Reply-To: matthewf@demon.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: savecore fails with large (2gig+) swap partition
X-Send-Pr-Version: 3.2

>Number:         9980
>Category:       kern
>Synopsis:       savecore fails with large (2gig+) swap partition
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb  9 07:50:00 PST 1999
>Closed-Date:    Mon May 8 16:04:28 PDT 2000
>Last-Modified:  Mon May 08 16:06:06 PDT 2000
>Originator:     Matthew Frost
>Release:        FreeBSD 3.0-19990205-STABLE i386
>Organization:
Demon Internet
>Environment:

FreeBSD finch-post-11.mail.demon.net 3.0-19990205-STABLE FreeBSD 3.0-19990205-STABLE #0: Tue Feb  9 09:33:01 GMT 1999     root@finch-post-11.mail.demon.net:/usr/src/sys/compile/MAIL-POST-SMP  i386
plus SOFTUPDATES
plus SMP
Machine is a dual PII-400

>Description:

When using a swap partition of 3 gigabytes savecore will not save a core
dump after a panic:

savecore: reboot
savecore: writing core to /mail/crash/vmcore.16
/kernel.old: dscheck: negative b_blkno -2621440
savecore: /dev/rda0s1b: Invalid argument
savecore: WARNING: vmcore may be incomplete

>How-To-Repeat:

Configure machine with a 3 gigabytes swap partition
Set MAXUSERS to 1024 (which panics the machine on boot)

>Fix:
	
Change swap partition size to 2 gigabytes

savecore: reboot after panic: page fault
savecore: writing core to /var/crash/vmcore.9
savecore: writing kernel to /var/crash/kernel.9

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ps 
State-Changed-When: Mon May 8 16:04:28 PDT 2000 
State-Changed-Why:  
Fixed in rev 1.31.  Will be MFC'd soon. 
>Unformatted:
