kern/54534: unionfs && mfs|md crashing machine

neologism at neologism at
Wed Jul 16 01:30:19 PDT 2003

>Number:         54534
>Category:       kern
>Synopsis:       unionfs && mfs|md crashing machine
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 16 01:30:16 PDT 2003
>Originator:     neologism
>Release:        FreeBSD 4.8-STABLE i386
home user
System: FreeBSD k4-316a 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue Jul 15 15:45:23 CEST 2003 root at k4-316a:/usr/obj/usr/src/sys/VALIA i386


When I try to use unionfs && mfs|md together it crashes the machine.

I did this:

kldload union && kldload md && kldload mfs
disklabel -r -w md0 auto
newfs /dev/md0c
mount -t mfs -s 1000 /tmp/a
mount /cdrom	
mount -t union /tmp/a /cdrom
mount -t union /tmp/a /proc	# this
mount -t union /tmp/a /dist 	# and this might not be necessary -I don't know
vi /cdrom/anyfile
umount /dist
umount /proc
umount /cdrom
umount /tmp/a			# this doesn't work
umount /dev/md0c		# this after while crashes machine

It seems like a unionfs bug.. I haven't investigated it but I'd say unionfs
messes some vfs stuff so it crashes...


I don't know.


More information about the freebsd-bugs mailing list