From owner-freebsd-bugs Tue May 8 3:17:13 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from sentry.granch.com (sentry.granch.com [212.109.197.55]) by hub.freebsd.org (Postfix) with ESMTP id 5FB6537B422 for ; Tue, 8 May 2001 03:17:08 -0700 (PDT) (envelope-from shelton@sentry.granch.ru) Received: from sentry.granch.com (localhost [127.0.0.1]) by sentry.granch.com (8.11.3/8.11.3) with SMTP id f48AGmc02451; Tue, 8 May 2001 17:17:00 +0700 (NOVST) (envelope-from shelton@sentry.granch.ru) Content-Type: text/plain; charset="koi8-r" From: "Rashid N. Achilov" Reply-To: achilov@granch.ru Organization: Granch Ltd. To: Dima Dorfman , freebsd-bugs@FreeBSD.ORG Subject: Re: kern/25992: System hangs when read-only floppy has been mounted Date: Tue, 8 May 2001 17:16:47 +0700 X-Mailer: KMail [version 1.2] References: <200105020640.f426e2A83823@freefall.freebsd.org> In-Reply-To: <200105020640.f426e2A83823@freefall.freebsd.org> MIME-Version: 1.0 Message-Id: <01050817164805.01967@sentry.granch.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wednesday 02 May 2001 13:40, Dima Dorfman wrote: > The following reply was made to PR kern/25992; it has been noted by GNATS. > >> > I'm not sure which problem you're referring to. I just tried > inserting a read-only floppy and mounting it read-write. I got a > bunch of write failure errors when I tried to unmount it. No panic, > no reboot. Lots of junk in the logs. Seems like correct behavior to > me. I said panic above because I thought it'd be more logical > behavior than a hang; spitting out write errors is even better. FreeBSD 4.3-STABLE. Running: XFree-4.0.3, KDE 2.1.1, about 6 mc in some xterms, KMail, Konqueror...I prepare to bring to home some file in 3 floppies. Insert first, mount.clean,write, umount, eject. Insert second, mount, clean, write, umount, eject. Insert third, mount, clean...BANG! When first error messge have been displayed, system was hang. Hang complelely, none action on keyboard press (even Ctrl-Alt-Del), and remotely also doesn't possible to login (have tried ssh from neighbor box). I tried to delete files from read-only floppy through mc. Fstab contained flags: rw,noauto,noexec,-l,-Lru_SU.KOI8-R,-Wkoi2dos. I detect this error since 2.2.5 :-((( versions. Yes, only root can access to floppy. Yes, only root can mount filesystems. But, why I should think about read-only "window" state on each floppy? I have much other things to think about. I don't know, what this concerned to "pure UNIX". I think, there should be elementary "stupid protection" or elementary question like "You mount floppy - check "read-only window" state". > above, this causes lots of errors. On my computer (-current a few > days old), it doesn't panic or hang. On my computer it does hang all times since 2.2.5 (it was first FreeBSD, which I setup :-) ) Or reboot with kernel panic message... Should I patch mount myself :-)) ? -- With Best Regards. Rashid N. Achilov (RNA1-RIPE), Web: http://granch.ru/~shelton Granch Ltd. system administrator, e-mail: achilov@granch.ru PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message