From owner-freebsd-bugs Sun Oct 14 12:10: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 07B0837B40B for ; Sun, 14 Oct 2001 12:10:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9EJA3N44643; Sun, 14 Oct 2001 12:10:03 -0700 (PDT) (envelope-from gnats) Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 01FD137B405 for ; Sun, 14 Oct 2001 12:00:24 -0700 (PDT) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 9F3CBBD1C for ; Sun, 14 Oct 2001 12:00:23 -0700 (PDT) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id MAA08913 for ; Sun, 14 Oct 2001 12:00:23 -0700 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id f9EIxZ157022; Sun, 14 Oct 2001 11:59:35 -0700 (PDT) (envelope-from swear@blarg.net) Message-Id: Date: 14 Oct 2001 11:59:35 -0700 From: "Gary W. Swearingen" Reply-To: swear@blarg.net To: FreeBSD-gnats-submit@freebsd.org Subject: misc/31266: System can be crashed with "ls -al /floppy". Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31266 >Category: misc >Synopsis: System can be crashed with "ls -al /floppy". >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 14 12:10:03 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Gary W. Swearingen >Release: FreeBSD 4.3-STABLE i386 (02'jun'01, I think) >Organization: none >Environment: i386, custom kernel otherwise working fine Jul 31 21:35:19 localhost /kernel: Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Jul 31 21:35:19 localhost /kernel: Features=0x8021bf Jul 31 21:35:19 localhost /kernel: AMD Features=0x80000800 Jul 31 21:35:20 localhost /kernel: real memory = 67108864 (65536K bytes) Jul 31 21:35:20 localhost /kernel: avail memory = 62042112 (60588K bytes) Jul 31 21:35:20 localhost /kernel: Preloaded elf kernel "kernel" at 0xc032a000. Jul 31 21:35:20 localhost /kernel: Preloaded userconfig_script "/boot/kernel.conf" at 0xc032a09c. Jul 31 21:35:20 localhost /kernel: K6-family MTRR support enabled (2 registers) Jul 31 21:35:20 localhost /kernel: md0: Malloc disk Jul 31 21:35:20 localhost /kernel: npx0: on motherboard Jul 31 21:35:20 localhost /kernel: npx0: INT 16 interface Jul 31 21:35:20 localhost /kernel: pcib0: on motherboard Jul 31 21:35:20 localhost /kernel: pci0: on pcib0 Jul 31 21:35:20 localhost /kernel: pcib2: at device 1.0 on pci0 Jul 31 21:35:20 localhost /kernel: pci1: on pcib2 Jul 31 21:35:20 localhost /kernel: pci1: at 0.0 Jul 31 21:35:20 localhost /kernel: isab0: at device 7.0 on pci0 Jul 31 21:35:20 localhost /kernel: isa0: on isab0 Jul 31 21:35:20 localhost /kernel: atapci0: port 0xe000-0xe00f at device 7.1 on pci0 Jul 31 21:35:20 localhost /kernel: ata0: at 0x1f0 irq 14 on atapci0 Jul 31 21:35:20 localhost /kernel: ata1: at 0x170 irq 15 on atapci0 Jul 31 21:35:20 localhost /kernel: pcib1: on motherboard Jul 31 21:35:20 localhost /kernel: pci2: on pcib1 Jul 31 21:35:20 localhost /kernel: fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 Jul 31 21:35:20 localhost /kernel: fdc0: FIFO enabled, 8 bytes threshold Jul 31 21:35:20 localhost /kernel: fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ================ >Description: My system crashed two (or three) times (once just after booting after the previous crash and before starting X server) when I used "ls -al /a" where /a was a read-only floppy mounted read/write. ================ >How-To-Repeat: -- Put 3 empty files on a 1.44 MB floppy. (M$FAT) -- Set slide on floppy to read-only position. -- Mount it r/w (-t msdos) on /a and then do: rm /a/* -- Prepare for crash and then do: ls -al /a I haven't yet tried this on 4.4. I've made a note to test this the next time I reboot. ================ >Fix: Workaround: Don't Do That (TM) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message