Date: Fri, 15 Dec 2006 16:18:33 GMT From: Doug Denault<doug@safeport.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/106783: umount of a floppy disk results in a reboot Message-ID: <200612151618.kBFGIXVS017567@www.freebsd.org> Resent-Message-ID: <200612151630.kBFGU50q043660@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106783 >Category: kern >Synopsis: umount of a floppy disk results in a reboot >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 15 16:30:04 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Doug Denault >Release: 6.1-STABLE >Organization: >Environment: FreeBSD artemis.boltsys.com 6.1-STABLE FreeBSD 6.1-STABLE #7: Sun Jul 2 15:53:52 EDT 2006 doug@artemis.boltsys.com:/usr/obj/usr/src/sys/ARTEMIS i386 >Description: I formated a floppy with 6.1 using: fdformat -f 1440 /dev/fd0 bsdlabel -B -r -w /dev/fd0 fd1440 newfs /dev/fd0 I was using the floppy to transfer a few critical files from a crashed 4.11 system to my 6.1 desktop. I removed the floppy from the 4.11 server forgetting to umount. When I took it to the server and did the umount, I then could use the floppy. Making the same mistake on 6.1 caused a reboot. I then reformated a floppy on 6.1 using the aobve commands. Removing the floppy without a umount caused: Dec 14 19:36:57 artemis su: doug to root on /dev/ttyp7 Dec 14 19:39:22 artemis kernel: g_vfs_done():fd0[READ(offset=102400, length=45056)]error = 5 Dec 14 19:39:27 artemis kernel: g_vfs_done():fd0[READ(offset=106496, length=40960)]error = 5 Dec 14 19:39:32 artemis kernel: g_vfs_done():fd0[READ(offset=110592, length=36864)]error = 5 Dec 14 19:39:36 artemis kernel: g_vfs_done():fd0[READ(offset=110592, length=4096)]error = 5 Dec 14 19:39:41 artemis kernel: g_vfs_done():fd0[READ(offset=114688, length=32768)]error = 5 Dec 14 19:40:11 artemis kernel: g_vfs_done():fd0[READ(offset=110592, length=4096)]error = 5 Dec 14 19:40:11 artemis kernel: vnode_pager_getpages: I/O read error Dec 14 19:40:11 artemis kernel: vm_fault: pager read error, pid 18946 (cp) Dec 14 19:40:40 artemis kernel: g_vfs_done():fd0[READ(offset=110592, length=36864)]error = 5 Dec 14 19:40:45 artemis kernel: g_vfs_done():fd0[READ(offset=110592, length=4096)]error = 5 Dec 14 19:40:50 artemis kernel: g_vfs_done():fd0[READ(offset=114688, length=32768)]error = 5 Dec 14 19:42:11 artemis su: doug to root on /dev/ttype Dec 14 20:18:29 artemis syslogd: kernel boot file is /boot/kernel/kernel Dec 14 20:18:29 artemis kernel: Copyright (c) 1992-2006 The FreeBSD Project. Dec 14 20:18:29 artemis kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Dec 14 20:18:29 artemis kernel: The Regents of the University of California. All rights reserved. >How-To-Repeat: My hardware is a Dell PE 800. Nothing special was required to repeat this. >Fix: Sorry no dump was taken. This was make with the generic kernel. I can turn on debugging options and repeat if this helps. This is only a critical problem on a server,and I do not know how many have floppies these days >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612151618.kBFGIXVS017567>