Skip site navigation (1)Skip section navigation (2)
Date:      14 Oct 2001 11:59:35 -0700
From:      "Gary W. Swearingen" <swear@blarg.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/31266: System can be crashed with "ls -al /floppy".
Message-ID:  <ee8zeenj3c.zee@localhost.localdomain>

next in thread | raw e-mail | index | archive | help

>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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
Jul 31 21:35:19 localhost /kernel: AMD Features=0x80000800<SYSCALL,3DNow!>
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: <math processor> on motherboard
Jul 31 21:35:20 localhost /kernel: npx0: INT 16 interface
Jul 31 21:35:20 localhost /kernel: pcib0: <Host to PCI bridge> on motherboard
Jul 31 21:35:20 localhost /kernel: pci0: <PCI bus> on pcib0
Jul 31 21:35:20 localhost /kernel: pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
Jul 31 21:35:20 localhost /kernel: pci1: <PCI bus> on pcib2
Jul 31 21:35:20 localhost /kernel: pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0
Jul 31 21:35:20 localhost /kernel: isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
Jul 31 21:35:20 localhost /kernel: isa0: <ISA bus> on isab0
Jul 31 21:35:20 localhost /kernel: atapci0: <VIA 82C586 ATA33 controller> 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: <Host to PCI bridge> on motherboard
Jul 31 21:35:20 localhost /kernel: pci2: <PCI bus> on pcib1
Jul 31 21:35:20 localhost /kernel: fdc0: <NEC 72065B or clone> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ee8zeenj3c.zee>