Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 1995 09:28:32 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        pb@fasterix.freenix.fr
Cc:        current@FreeBSD.org
Subject:   Re: kern/438: panic: vwakeup: neg numoutput
Message-ID:  <199505242328.JAA05634@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>	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

The panic will be fixed soon.

I can't duplicate the messages from fixlabel().  They indicate that
disklabel has constructed a bogus label or that fixlabel() has been
passed the wrong label pointer.

>	Notes:

>		- I used wd0s2. That's obviously wrong, but I'm not sure
>		  that's relevant.

wd0s2 would have been correct (disklabel converts it to /dev/rwd0s2c ==
/dev/rwd0s2), but /dev/wd0s2 is the block device, and there is a bug for
the block device in the label fixup code.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505242328.JAA05634>