From owner-freebsd-current Mon Jul 24 20:06:51 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id UAA04025 for current-outgoing; Mon, 24 Jul 1995 20:06:51 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id UAA04017 for ; Mon, 24 Jul 1995 20:06:45 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id NAA07991; Tue, 25 Jul 1995 13:06:04 +1000 Date: Tue, 25 Jul 1995 13:06:04 +1000 From: Bruce Evans Message-Id: <199507250306.NAA07991@godzilla.zeta.org.au> To: freebsd-current@freefall.cdrom.com, kuku@gilberto.physik.rwth-aachen.de Subject: Re: panic after fdformat/disklabel Sender: current-owner@FreeBSD.org Precedence: bulk [Redirected from hackers to current] I just tried the following >fdformat /dev/rfd0a > >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