Date: 28 Dec 2001 11:50:57 -0600 From: James McNaughton <jtm63@enteract.com> To: freebsd-stable@freebsd.org Subject: CR-RW not locked when mounted Message-ID: <86d70zb5dq.fsf@jamestown.21stcentury.net>
next in thread | raw e-mail | index | archive | help
--=-=-= In the past, when I had mounted a CD-R/RW/ROM on my SCSI CD-RW drive, the drive door was locked until I umounted the thing. Today, I found that this isn't working as it did. I wrote a CD-RW yesterday and then mounted the file system to make certain I had everthing I wanted. Then today -- having forgotten that I had a file system mounted -- hit the eject button on the CD-RW and changed the disk. I then found that I couldn't mount the new disk since the device (/dev/cd0c) was busy. I tried to umount the file system and was told the device was busy. I replaced the original disk and tried again with the same result. I tried 'umount -f' with no success. I eventually rebooted the machine to single user, ran fsck which found an unreferenced directory in the root file system. Now, everything is back to normal. However, it seems the wole episode shouldn't have happened. Could this be a recently introduced bug? Any ideas? INFO to FOLLOW: --=-=-= Content-Disposition: attachment; filename=junk.txt Content-Description: uname and dmesg output FreeBSD jamestown.21stcentury.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Dec 12 07:02:38 CST 2001 root@jamestown.21stcentury.net:/usr/obj/usr/src/sys/JAMESTOWN_II i386 Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-STABLE #0: Wed Dec 12 07:02:38 CST 2001 root@jamestown.21stcentury.net:/usr/obj/usr/src/sys/JAMESTOWN_II Timecounter "i8254" frequency 1193182 Hz CPU: Overdrive Pentium/P55C (180.41-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x1543 Stepping = 3 Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> real memory = 67108864 (65536K bytes) config> q avail memory = 61550592 (60108K bytes) Preloaded elf kernel "kernel" at 0xc03ba000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03ba0a8. Preloaded splash_image_data "/boot/splash.bmp" at 0xc03ba0f8. Intel Pentium detected, installing workaround for F00F bug md0: Malloc disk Using $PIR table, 4 entries at 0xc00f99e0 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 ign0 at device 1.0 on pci0 isab0: <Intel 82378IB PCI to ISA bridge> at device 2.0 on pci0 isa0: <ISA bus> on isab0 pci0: <Number Nine model 493d graphics accelerator> at 6.0 irq 11 atapci0: <Promise ATA33 controller> port 0xfce0-0xfcff,0xf8dc-0xf8df,0xfcd0-0xfcd7,0xfcdc-0xfcdf,0xfcc8-0xfccf irq 14 at device 14.0 on pci0 ata2: at 0xfcc8 on atapci0 ata3: at 0xfcd0 on atapci0 isa0: too many dependant configs (8) orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xdc000-0xdffff on isa0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ata1 at port 0x170-0x177,0x376 irq 15 on isa0 aha0 at port 0x130-0x133 irq 10 drq 6 on isa0 aha0: AHA-1542CF FW Rev. C.0 (ID=45) SCSI Host Adapter, SCSI ID 7, 16 CCBs atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 ep0: <3Com 3C509-TP EtherLink III> at port 0x300-0x30f irq 9 on isa0 ep0: Ethernet address 00:a0:24:0f:b4:8e sbc0: <Creative SB16/SB32> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 pcm0: <SB16 DSP 4.13> on sbc0 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default IPv6 packet filtering initialized, logging limited to 100 packets/entry ad4: 8063MB <WDC AC28400R> [16383/16/63] at ata2-master UDMA33 acd0: CDROM <Compaq CRD-8240B> at ata1-master using BIOSPIO Waiting 15 seconds for SCSI devices to settle Mounting root from ufs:/dev/ad4s1a cd0 at aha0 bus 0 target 0 lun 0 cd0: <RICOH MP6200S 2.40> Removable CD-ROM SCSI-2 device cd0: 3.300MB/s transfers cd0: cd present [337350 x 2048 byte records] cd9660: RockRidge Extension --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d70zb5dq.fsf>