Hi, I have found a bug. I can reproduce it with 2 PCs an with VMWare. Also testet with two different USB-pens.
Here is the description: First You need a USB-pen formated with NTFS. If You have Windows-XP You can do it like here: http://tutzone.org/2009/01/format-usb-pen-drive-with-ntfs-file.html note: the linux mkfs.ntfs don't work (can't mount it in OpenBSD - don't know why) then mount it: "mount /dev/sd0i /mnt" chdir to the mountpoint: "chdir /mnt" and then remove the usb-pen: => you should see this panic: unmount: dangling vnode Stopped at Debugger+0x4: popl %ebp RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC! DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION! ddb> trace Debugger(d08cee78,d4f23c18,d08b0f34,d4f23c18,d4fb169c) at Debugger+0x4 panic(d08b0f34,8080000,d30c16a4,d0414c35,d10b741c) at panic+0x5d dounmount(d10b7400,8080000,d30c16a4,0,d4f23c6c) at dounmount+0x187 vop_generic_revoke(d4f23c84,0,0,d4f23c8c,d4fb1738) at vop_generic_revoke+0x12d VOP_REVOKE(d4fb1738,1,d4f23cac,d4f23cac,d0203189) at VOP_REVOKE+0x29 vdevgone(4,0,f,3,d10c04c0) at vdevgone+0x67 disk_gone(d058c050,0,d4f23d1c,d4f23d0c,d09c00d0) at disk_gone+0x8c sddetach(d10c0400,1,10,d05829b9,d10c1aac) at sddetach+0x2c config_detach(d10c0400,1,0,0,d10c1a04) at config_detach+0x135 scsi_detach_lun(d10ab380,1,0,1,d10c1aac) at scsi_detach_lun+0x91 scsi_detach_target(d10ab380,1,1,d039da10,0) at scsi_detach_target+0x66 scsi_detach_bus(d10ab380,1,d4f23e0c,d4f23dfc,d09c003c) at scsi_detach_bus+0x33 scsibusdetach(d10ab380,1,10,d0585b18,d10ab380) at scsibusdetach+0x21 config_detach(d10ab380,1,0,1,d10ab380) at config_detach+0x135 umass_detach(d10c0800,1,10,d03e5b2a,d10ab380) at umass_detach+0xda config_detach(d10c0800,1,d0ede100,d0ede100,d1093300) at config_detach+0x135 usb_disconnect_port(d0ede100,d0ede180,10,2,1) at usb_disconnect_port+0x62 uhub_explore(d0ede280,1,20,d09832ef,40) at uhub_explore+0x11d usb_explore(d0ede300,20,d09832ef,0,d30c16a4) at usb_explore+0xcb usb_task_thread(d30c16a4) at usb_task_thread+0xb1 Bad frame pointer: 0xd0b8ce48 ddb> ps PID PPID PGRP UID S FLAGS WAIT COMMAND 21499 29045 21499 0 3 0x80 ttyin bash 29045 27259 29045 0 3 0x80 select sshd 6303 1 6303 0 3 0x80 ttyin getty 5847 1 5847 0 3 0x80 select cron 29370 1 29370 0 3 0x80 htplev hotplugd 11112 1 11112 0 3 0x80 nanosleep perl 9484 0 0 0 3 0x100280 nfsidl nfsio 17832 0 0 0 3 0x100280 nfsidl nfsio 22709 0 0 0 3 0x100280 nfsidl nfsio 10022 0 0 0 3 0x100280 nfsidl nfsio 13897 31192 31192 70 3 0x80 select named 31192 1 31192 0 3 0x80 netio named 16781 1 16781 0 3 0x80 select nmbd 27314 11681 11681 0 3 0x80 select smbd 11681 1 11681 0 3 0x80 select smbd 10620 1 25089 585 3 0x80 kqread lighttpd 13641 1 13641 0 3 0x80 select inetd 18541 1 18541 77 3 0x80 poll dhcpd 27259 1 27259 0 3 0x80 select sshd 18513 29056 21976 83 3 0x80 poll ntpd 29056 21976 21976 83 3 0x80 poll ntpd 21976 1 21976 0 3 0x80 poll ntpd 24597 4326 4326 70 3 0x80 select named 4326 1 4326 0 3 0x80 netio named 18678 20221 20221 74 3 0x80 bpf pflogd 20221 1 20221 0 3 0x80 netio pflogd 29054 28291 28291 73 3 0x80 poll syslogd 28291 1 28291 0 3 0x80 netio syslogd 14350 1 14350 77 3 0x80 poll dhclient 24610 1 3683 0 3 0x80 poll dhclient 13 0 0 0 3 0x100200 aiodoned aiodoned 12 0 0 0 3 0x100200 syncer update 11 0 0 0 3 0x100200 cleaner cleaner 10 0 0 0 3 0x100200 reaper reaper 9 0 0 0 3 0x100200 pgdaemon pagedaemon 8 0 0 0 3 0x100200 bored crypto 7 0 0 0 3 0x100200 pftm pfpurge * 6 0 0 0 7 0x100200 usbtask 5 0 0 0 3 0x100200 usbatsk usbatsk 4 0 0 0 3 0x100200 bored syswq 3 0 0 0 3 0x40100200 idle0 2 0 0 0 3 0x100200 kmalloc kmthread 1 0 1 0 3 0x80 wait init 0 -1 0 0 3 0x200 scheduler swapper ddb> show registers ds 0x10 es 0x10 fs 0x20 gs 0 edi 0xd08b0f34 char_type+0x1bd4 esi 0x100 ebp 0xd4f23bcc end+0x4449a28 ebx 0xd4f23c18 end+0x4449a74 edx 0x1 ecx 0xd09b3af4 kprintf_mutex eax 0x1 eip 0xd0563ba4 Debugger+0x4 cs 0x8 eflags 0x200202 esp 0xd4f23bcc end+0x4449a28 ss 0x10 Debugger+0x4: popl %ebp ddb> thanks.
