Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 1995 13:06:04 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-current@freefall.cdrom.com, kuku@gilberto.physik.rwth-aachen.de
Subject:   Re: panic after fdformat/disklabel
Message-ID:  <199507250306.NAA07991@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
[Redirected from hackers to current]

I just tried the following 

>fdformat /dev/rfd0a

><formatted floppy>

>disklabel -w -r fd0d floppy3

>(was not sure if the syntax was correct)

fd0d is bogus, should be fd0.

>*poof*

>Fatal trap 12: page fault while in kernel mode
>...

This is easy to duplicate by reading from /dev/rfd0 using

	char buf[8192];
	main() { lseek(0, 8192ll, 0); read(0, buf, sizeof buf); }

but for some reason it isn't easy to duplicate by reading using dd.
The lseek is to avoid the magic label sector but doesn't make any
difference.

Bruce



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