Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2011 18:59:09 GMT
From:      Paul B Mahol <onemda@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/158231: panic on unmounting nullfs mounted over ufs on usb stick that got detached
Message-ID:  <201106231859.p5NIx96V001280@red.freebsd.org>
Resent-Message-ID: <201106231900.p5NJ0NXC060746@freefall.freebsd.org>

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

>Number:         158231
>Category:       kern
>Synopsis:       panic on unmounting nullfs mounted over ufs on usb stick that got detached
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 23 19:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Paul B Mahol
>Release:        FreeBSD CURRENT
>Organization:
>Environment:
FreeBSD home 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r223183+87c92c3: Sun Jun 19 04:19:19 UTC 2011     root@:/usr/obj/usr/src/sys/kernel  i386
>Description:
panic when umounting nullfs if target is gone.
>How-To-Repeat:
Mount usb stick, da0s1a (ufs fs) on /mnt mount point. Now use nullfs to mount usb file system directory onto / subdirectory on ada0s1a, for example:

mount_nullfs /mnt/path/to/dir /usr/some/stuff_on_hard_disk

Umount (force) or detach usb stick. Force umount of nullfs, kernel will panic.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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