Bug 12983

Summary: system hang accessing mounted msdos floppy after ejection/re-insertion
Product: Base System Reporter: wtw <wtw>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.2-RELEASE   
Hardware: Any   
OS: Any   

Description wtw 1999-08-05 12:30:01 UTC
I mounted an msdos 1.44M floppy with
  mount -t msdos /dev/fd0.1440 /mnt/fd
which was fine.  I did an "ls".  The floppy had files on it, 
including subdirectories.
The diskette was write protected.  
After "cd /mnt/fd" I tried "rm *" which 
failed, as expected.  Then, I ejected the floppy (*without* unmounting),
write-enabled the floppy, then put it back in the drive.  
I then typed "rm *" again.  The machine hung solid - no messages
on console, capslock/numlock on console didn't work, ctrl-alt-del
on console didn't work.   I do not think the floppy activity light
came on when I did the 2nd  "rm *", but I'm not entirely certain.

(I realize ejecting the mounted floppy was a mistake, but 
the system's response was less than optimal :-)

Here's some machine info:

Aug  5 03:33:31 bsd /kernel: FreeBSD 3.2-RELEASE #2: Sat Jul 24 01:39:21 PDT 1999
Aug  5 03:33:31 bsd /kernel: wtw@bsd:/usr/src/sys/compile/ROUTER
Aug  5 03:33:31 bsd /kernel: Timecounter "i8254"  frequency 1193182 Hz
Aug  5 03:33:31 bsd /kernel: Timecounter "TSC"  frequency 99474228 Hz
Aug  5 03:33:31 bsd /kernel: CPU: Pentium/P54C (99.47-MHz 586-class CPU)
Aug  5 03:33:31 bsd /kernel: Origin = "GenuineIntel"  Id = 0x525  Stepping=5
Aug  5 03:33:31 bsd /kernel: Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
Aug  5 03:33:31 bsd /kernel: real memory  = 50331648 (49152K bytes)
Aug  5 03:33:31 bsd /kernel: avail memory = 46243840 (45160K bytes)
Aug  5 03:33:31 bsd /kernel: Preloaded elf kernel "kernel" at 0xc02af000.
Aug  5 03:33:31 bsd /kernel: Probing for devices on PCI bus 0:
Aug  5 03:33:31 bsd /kernel: chip0: <Intel 82437FX PCI cache memory controller> rev 0x01 on pci0.0.0
Aug  5 03:33:31 bsd /kernel: chip1: <Intel 82371FB PCI to ISA bridge> rev 0x02 on pci0.7.0
...
Aug  5 03:33:31 bsd /kernel: Probing for devices on the ISA bus:
Aug  5 03:33:32 bsd /kernel: sc0 irq 1 on motherboard
Aug  5 03:33:32 bsd /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
Aug  5 03:33:32 bsd /kernel: sc0: irq with no handler
Aug  5 03:33:32 bsd /kernel: atkbdc0 at 0x60-0x6f on motherboard
Aug  5 03:33:32 bsd /kernel: atkbd0 irq 1 on isa
Aug  5 03:33:32 bsd /kernel: atkbd0 not attached due to irq conflict with sc0 at 1
Aug  5 03:33:32 bsd /kernel: psm0 not found
Aug  5 03:33:32 bsd /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Aug  5 03:33:32 bsd /kernel: sio0: type 16550A
Aug  5 03:33:32 bsd /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Aug  5 03:33:32 bsd /kernel: sio1: type 16550A
Aug  5 03:33:32 bsd /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Aug  5 03:33:32 bsd /kernel: fd0: 1.44MB 3.5in
...
Aug  5 03:33:32 bsd /kernel: Intel Pentium detected, installing workaround for F00F bug
...

I can give my kernel configuration if desired.

How-To-Repeat: See above.
Comment 1 Mike Heffner freebsd_committer freebsd_triage 2001-06-26 02:11:11 UTC
State Changed
From-To: open->closed

This is an unfortunate problem, but I don't realistically think it 
will be fixed.