Date: Sun, 24 Aug 2008 09:51:33 GMT From: Daniel <myswlde@yahoo.de> To: freebsd-gnats-submit@FreeBSD.org Subject: usb/126776: [umass/geom] confusing mixed output (but no panic!) after removing unmounted usb device Message-ID: <200808240951.m7O9pX3m029387@www.freebsd.org> Resent-Message-ID: <200808241000.m7OA0BE2057565@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 126776 >Category: usb >Synopsis: [umass/geom] confusing mixed output (but no panic!) after removing unmounted usb device >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 24 10:00:11 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Daniel >Release: FreeBSD 7.0-RELEASE >Organization: >Environment: FreeBSD xyz 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Removing the usb flash drive produces a confusing output. There is NO kernel panic! To see it better I label the usb device "XXXXXXXXXXX". It does not matter if the device was mounted+unmount before removing. Problem occurs in FreeBSD 7.0 i386+amd64 with two different usb flash drives (128MB Twinmos and 1GB Sandisk). No problem with FreeBSD 6.3 on the same machine. plug in usb device: ------------------- root: Unknown USB device: vendor 0x126f product 0x1325 bus uhub1 kernel: umass0: <TTI-MSA USB 2.0 Mobile Disk, class 0/0, rev 2.00/1.00, addr 2> on uhub1 kernel: da0 at umass-sim0 bus 0 target 0 lun 0 kernel: da0: <USB 2.0 Mobile Disk N4M 1.00> Removable Direct Access SCSI-2 device kernel: da0: 40.000MB/s transfers kernel: da0: 122MB (249856 512 byte sectors: 64H 32S/T 122C) kernel: GEOM_LABEL: Label for provider da0s1 is msdosfs/XXXXXXXXXXX. mount -t msdosfs /dev/da0s1 /mnt/usb ------------------------------------ kernel: GEOM_LABEL: Label msdosfs/XXXXXXXXXXX removed. umount /mnt/usb --------------- kernel: GEOM_LABEL: Label for provider da0s1 is msdosfs/XXXXXXXXXXX. remove the usb device - output on FreeBSD 7.0 ------------------------------------------------- kernel: umass0: at uhub1 port 4 (addr 2) disconnected kernel: (da0:uGmEaOsMs_-LsAiBmE0L::0 :La0b:e0l) : mlsodsots fdse/vXiXcXeXX kernel: XX(XdXaX0X: urmeamsosv-esdim.0:0:0:0): removing device entry kernel: kernel: umass0: detached It looks like the GEOM output ("GEOM_LABEL: Label msdosfs/XXXXXXXXXXX removed.") is written over the UMASS output. remove the usb device - output on FreeBSD 6.3 ------------------------------------------------- kernel: umass0: at uhub1 port 4 (addr 2) disconnected kernel: (da0:umass-sim0:0:0:0): lost device kernel: (da0:umass-sim0:0:0:0): removing device entry kernel: umass0: detached >How-To-Repeat: plug in and remove the usb flash drive >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808240951.m7O9pX3m029387>