Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2009 01:36:18 +0100
From:      Thomas Quinot <thomas@FreeBSD.ORG>
To:        =?iso-8859-1?Q?Gy=F6rgy?= Vilmos <vilmos.gyorgy@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: .zfs snapshot dir disappears and a crash later on, while umounting (8.0-RC1)
Message-ID:  <20091106003617.GA1908@melamine.cuivre.fr.eu.org>
In-Reply-To: <dac6660e0906110440j3dd79d4cr6d5550055c5a6724@mail.gmail.com>
References:  <dac6660e0906110440j3dd79d4cr6d5550055c5a6724@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Gy=F6rgy Vilmos, 2009-06-11 :

> Subject: .zfs snapshot dir disappears and a crash later on, while
>  umounting

For the record, I got the same symptom here on 8.0-RC1.

> #7 0xffffffff807ba96e in calltrap () at /usr/src/sys/amd64/amd64/
> exception.S:209
> #8 0xffffffff80517925 in _sx_xlock (sx=3D0xa0, opts=3D0,
> file=3D0xffffffff80f045e8 "/usr/src/sys/modules/zfs/../../cddl/contrib/
> opensolaris/uts/common/fs/zfs/zfs_ctldir.c",
>   line=3D1288) at atomic.h:143
> #9 0xffffffff80e97e55 in zfsctl_umount_snapshots (vfsp=3DVariable
> "vfsp" is not available.
> ) at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/

Clearly looks like something in the .zfs structure gets botched at some
point...

I'll keep the crash dump for a while, if more information is needed
please let me know.

Thomas.

melamine.cuivre.fr.eu.org dumped core - see /var/crash/vmcore.0

Fri Nov  6 01:23:21 CET 2009

FreeBSD melamine.cuivre.fr.eu.org 8.0-RC1 FreeBSD 8.0-RC1 #0: Tue Oct  6 19=
:43:29 UTC 2009     root@melamine2.cuivre.fr.eu.org:/usr/obj/usr/src/sys/GE=
NERIC  amd64

panic: page fault

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:
<6>ifa_del_loopback_route: deletion failed
<5>tun2: link state changed to DOWN
<118>Nov  6 00:16:38 melamine syslogd: exiting on signal 15
info: [drm] Resetting GPU
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...0 0 0 0 done
All buffers synced.


Fatal trap 12: page fault while in kernel mode
cpuid =3D 0; apic id =3D 00
fault virtual address	=3D 0xa8
fault code		=3D supervisor write data, page not present
instruction pointer	=3D 0x20:0xffffffff8058cbf5
stack pointer	        =3D 0x28:0xffffff815d480970
frame pointer	        =3D 0x28:0xffffff815d480980
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D 41907 (reboot)
trap number		=3D 12
panic: page fault
cpuid =3D 0
Uptime: 15d10h25m49s
Physical memory: 12270 MB
Dumping 5655 MB: 5640 5624 5608 5592 5576 5560 5544 5528 5512 5496 5480 546=
4 5448 5432 5416 5400 5384 5368 5352 5336 5320 5304 5288 5272 5256 5240 522=
4 5208 5192 5176 5160 5144 5128 5112 5096 5080 5064 5048 5032 5016 5000 498=
4 4968 4952 4936 4920 4904 4888 4872 4856 4840 4824 4808 4792 4776 4760 474=
4 4728 4712 4696 4680 4664 4648 4632 4616 4600 4584 4568 4552 4536 4520 450=
4 4488 4472 4456 4440 4424 4408 4392 4376 4360 4344 4328 4312 4296 4280 426=
4 4248 4232 4216 4200 4184 4168 4152 4136 4120 4104 4088 4072 4056 4040 402=
4 4008 3992 3976 3960 3944 3928 3912 3896 3880 3864 3848 3832 3816 3800 378=
4 3768 3752 3736 3720 3704 3688 3672 3656 3640 3624 3608 3592 3576 3560 354=
4 3528 3512 3496 3480 3464 3448 3432 3416 3400 3384 3368 3352 3336 3320 330=
4 3288 3272 3256 3240 3224 3208 3192 3176 3160 3144 3128 3112 3096 3080 306=
4 3048 3032 3016 3000 2984 2968 2952 2936 2920 2904 2888 2872 2856 2840 282=
4 2808 2792 2776 2760 2744 2728 2712 2696 2680 2664 2648 2632 2616 2600 258=
4 2568 2552 2536 2520 2504 2488 2472 2456 2440 2424 2408 2392 2376 2360 234=
4 2328 2312 2296 2280 2264 2248 2232 2216 2200 2184 2168 2152 2136 2120 210=
4 2088 2072 2056 2040 2024 2008 1992 1976 1960 1944 1928 1912 1896 1880 186=
4 1848 1832 1816 1800 1784 1768 1752 1736 1720 1704 1688 1672 1656 1640 162=
4 1608 1592 1576 1560 1544 1528 1512 1496 1480 1464 1448 1432 1416 1400 138=
4 1368 1352 1336 1320 1304 1288 1272 1256 1240 1224 1208 1192 1176 1160 114=
4 1128 1112 1096 1080 1064 1048 1032 1016 1000 984 968 952 936 920 904 888 =
872 856 840 824 808 792 776 760 744 728 712 696 680 664 648 632 616 600 584=
 568 552 536 520 504 488 472 456 440 424 408 392 376 360 344 328 312 296 28=
0 264 248 232 216 200 184 168 152 136 120 104 88 72 56 40 24 8

Reading symbols from /boot/kernel/zfs.ko...Reading symbols from /boot/kerne=
l/zfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/zfs.ko
Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /bo=
ot/kernel/opensolaris.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/opensolaris.ko
Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from /boot/=
kernel/atapicam.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/atapicam.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/ker=
nel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/radeon.ko...Reading symbols from /boot/ke=
rnel/radeon.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/radeon.ko
Reading symbols from /boot/kernel/drm.ko...Reading symbols from /boot/kerne=
l/drm.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/drm.ko
Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot=
/kernel/linprocfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linprocfs.ko
Reading symbols from /boot/kernel/snd_ich.ko...Reading symbols from /boot/k=
ernel/snd_ich.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/snd_ich.ko
Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/ker=
nel/sound.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/sound.ko
Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/k=
ernel/snd_hda.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/snd_hda.ko
Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from /boot=
/kernel/accf_http.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_http.ko
Reading symbols from /boot/kernel/accf_data.ko...Reading symbols from /boot=
/kernel/accf_data.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_data.ko
#0  doadump () at pcpu.h:223
223	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) #0  doadump () at pcpu.h:223
#1  0xffffffff80584f19 in boot (howto=3D260)
    at /usr/src/sys/kern/kern_shutdown.c:416
#2  0xffffffff8058534c in panic (fmt=3D0xffffffff8092c24c "%s")
    at /usr/src/sys/kern/kern_shutdown.c:579
#3  0xffffffff80865ad8 in trap_fatal (frame=3D0xffffff000625c390, eva=3DVar=
iable "eva" is not available.
)
    at /usr/src/sys/amd64/amd64/trap.c:852
#4  0xffffffff80865ea4 in trap_pfault (frame=3D0xffffff815d4808c0, usermode=
=3D0)
    at /usr/src/sys/amd64/amd64/trap.c:768
#5  0xffffffff80866794 in trap (frame=3D0xffffff815d4808c0)
    at /usr/src/sys/amd64/amd64/trap.c:494
#6  0xffffffff8084cb33 in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:224
#7  0xffffffff8058cbf5 in _sx_xlock (sx=3D0x90, opts=3D0,=20
    file=3D0xffffffff80efcca8 "/usr/src/sys/modules/zfs/../../cddl/contrib/=
opensolaris/uts/common/fs/zfs/zfs_ctldir.c", line=3D1336) at atomic.h:147
#8  0xffffffff80e8ec75 in zfsctl_umount_snapshots (vfsp=3DVariable "vfsp" i=
s not available.
)
    at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f=
s/zfs/zfs_ctldir.c:1336
#9  0xffffffff80e9b559 in zfs_umount (vfsp=3D0xffffff0006a50000, fflag=3D52=
4288)
    at /usr/src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/f=
s/zfs/zfs_vfsops.c:1017
#10 0xffffffff80609ffa in dounmount (mp=3D0xffffff0006a50000, flags=3D52428=
8, td=3DVariable "td" is not available.
)
    at /usr/src/sys/kern/vfs_mount.c:1290
#11 0xffffffff8060d962 in vfs_unmountall ()
    at /usr/src/sys/kern/vfs_subr.c:3141
#12 0xffffffff8058519a in boot (howto=3D0)
    at /usr/src/sys/kern/kern_shutdown.c:401
#13 0xffffffff8058543c in reboot (td=3D0xffffff000625c390,=20
    uap=3D0xffffff815d480bf0) at /usr/src/sys/kern/kern_shutdown.c:173
#14 0xffffffff80866116 in syscall (frame=3D0xffffff815d480c80)
    at /usr/src/sys/amd64/amd64/trap.c:984
#15 0xffffffff8084ce11 in Xfast_syscall ()
    at /usr/src/sys/amd64/amd64/exception.S:373
#16 0x000000080078f83c in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb)=20




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