Date: Tue, 13 Oct 1998 09:32:21 +0100 From: Richard Smith <richard@jezebel.demon.co.uk> To: Doug White <dwhite@resnet.uoregon.edu> Cc: Questions FreeBSD <freebsd-questions@FreeBSD.ORG> Subject: Re: Should a corrupt floppy disk cause a panic? Message-ID: <36231015.4C59E79D@jezebel.demon.co.uk> References: <Pine.BSF.4.03.9810121347160.25080-100000@resnet.uoregon.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug White wrote: > > On Mon, 12 Oct 1998, Richard Smith wrote: > > > Hello, > > > > While reading a file off a particular msdos floppy disk I get: > > > > panic: isa_dmacheck: no physical page present > > syncing disks... panic: msdosfs_lock: locking against myself > > > > ...and the system reboots. > > You ARE remembering to dismount your disks before ejecting them, right? I don't get that far... The sequence of events from a clean boot and logging in as root, are: 1) insert floppy 2) mount_msdos /dev/fd0 /floppy 3) cat /floppy/etc.tgz 4) panic... I must reiterate that the floppy disk's image is indeed bad, dos chkdsk reports that the first allocation unit of the file in question is invalid. With good floppy disks, I have no problem. The problem I have is not with the fact that step 3) fails, but the severity of the failure mode. Should msdosfs handle the failure mode rather than panicking? ie. Is it a bug or a feature? :) Thanks for responding, Richard. > > Doug White > Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve > http://gladstone.uoregon.edu/~dwhite | www.freebsd.org -- Richard Smith Assistant Chief Engineer TRL Technology Limited To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36231015.4C59E79D>