From pb@fasterix.freenix.fr  Tue May 23 18:01:57 1995
Received: from jabba.fdn.org (jabba.fdn.org [193.55.4.70])
          by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA23507
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 May 1995 18:01:52 -0700
Received: (from uucp@localhost) by jabba.fdn.org (8.6.8/8.6.9) with UUCP id DAA23578 for FreeBSD-gnats-submit@freebsd.org; Wed, 24 May 1995 03:01:45 +0200
Received: (pb@localhost) by fasterix.frmug.fr.net (8.6.11/fasterix-941011) id CAA12412; Wed, 24 May 1995 02:55:13 +0200
Message-Id: <199505240055.CAA12412@fasterix.frmug.fr.net>
Date: Wed, 24 May 1995 02:55:13 +0200
From: Pierre Beyssac <pb@fasterix.freenix.fr>
Reply-To: pb@fasterix.freenix.fr
To: FreeBSD-gnats-submit@freebsd.org
Subject: panic: vwakeup: neg numoutput
X-Send-Pr-Version: 3.2

>Number:         438
>Category:       kern
>Synopsis:       panic: vwakeup: neg numoutput
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 23 18:10:00 1995
>Closed-Date:    Mon Jun 5 00:01:35 PDT 1995
>Last-Modified:
>Originator:     Pierre Beyssac
>Release:        FreeBSD 2.0-BUILT-19950522  i386
>Organization:
Pierre Beyssac
>Environment:

	PC 486 with IDE drive, booted via NFS on a FreeBSD-current PC.
	(i.e., the 'diskless' PC boots without using its IDE drive)

	It gets its root and swap partitions via NFS.

>Description:

	Panic when trying to disklabel the IDE drive attached on the
	'diskless' PC.

>How-To-Repeat:

	# disklabel -w -r /dev/wd0s2 labelname

-> console messages
	fixlabel: invalid magic
	fixlabel: invalid magic
	panic: vwakeup: neg numoutput

	Notes:

		- I used wd0s2. That's obviously wrong, but I'm not sure
		  that's relevant.
		- the filesystem containing the inode for /dev/wd0s2
		  was NFS-mounted
		- Slice 1 is a DOS partition on that PC. Slice 2 was an
		  extended DOS partition with no previous disklabel, but
		  with its ID changed to become a FreeBSD partition.
		- the drive was previously completely unlabelled.

>Fix:
	
	I finally managed to correctly disklabel that disk, after many
	tries.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: bde 
State-Changed-When: Mon Jun 5 00:01:35 PDT 1995 
State-Changed-Why:  
Panic fixed in subr_diskslice.c revision 1.13. 
Warning from fixlabel isn't really a bug, except it "can't happen". 
. 
>Unformatted:



