On Sun, Sep 11, 2011 at 9:05 AM, Konstantin Belousov <kib@freebsd.org> wrot=
e:
> Author: kib
> Date: Sun Sep 11 16:05:09 2011
> New Revision: 225474
> URL: http://svn.freebsd.org/changeset/base/225474
>
> Log:
> =A0Inline the syscallenter() and syscallret(). This reduces the time meas=
ured
> =A0by the syscall entry speed microbenchmarks by ~10% on amd64.
>
> =A0Submitted by: jhb
> =A0Approved by: =A0re (bz)
> =A0MFC after: =A0 =A02 weeks
This change completely breaks ZFS mounting (for some odd reason)
with the following backtrace.
#0 doadump (textdump=3D0) at /usr/src/sys/kern/kern_shutdown.c:260
260 /usr/src/sys/kern/kern_shutdown.c: No such file or directory.
in /usr/src/sys/kern/kern_shutdown.c
(kgdb) #0 doadump (textdump=3D0) at /usr/src/sys/kern/kern_shutdown.c:260
#1 0xffffffff802b1cd0 in db_dump (dummy=3DVariable "dummy" is not availabl=
e.
)
at /usr/src/sys/ddb/db_command.c:537
#2 0xffffffff802b12c1 in db_command (last_cmdp=3D0xffffffff809b96c0,
cmd_table=3DVariable "cmd_table" is not available.
) at /usr/src/sys/ddb/db_command.c:448
#3 0xffffffff802b1510 in db_command_loop ()
at /usr/src/sys/ddb/db_command.c:501
#4 0xffffffff802b3664 in db_trap (type=3DVariable "type" is not available.
) at /usr/src/sys/ddb/db_main.c:229
#5 0xffffffff804b29d1 in kdb_trap (type=3D3, code=3D0, tf=3D0xffffff8231a5=
f3d0)
at /usr/src/sys/kern/subr_kdb.c:631
#6 0xffffffff80646ac8 in trap (frame=3D0xffffff8231a5f3d0)
at /usr/src/sys/amd64/amd64/trap.c:590
#7 0xffffffff8063113f in calltrap ()
at /usr/src/sys/amd64/amd64/exception.S:228
#8 0xffffffff804b277b in kdb_enter (why=3D0xffffffff806e022b "panic",
msg=3D0x80 <Address 0x80 out of bounds>) at cpufunc.h:63
#9 0xffffffff8047db5c in panic (fmt=3DVariable "fmt" is not available.
)
at /usr/src/sys/kern/kern_shutdown.c:599
#10 0xffffffff8046e5cc in _mtx_assert (m=3DVariable "m" is not available.
)
at /usr/src/sys/kern/kern_mutex.c:706
#11 0xffffffff80620f31 in vm_page_free_toq (m=3D0xfffffe021bf3d1f0)
at /usr/src/sys/vm/vm_page.c:1756
#12 0xffffffff80c77938 in zfs_freebsd_getpages () from /boot/kernel/zfs.ko
#13 0xffffffff8046ebd6 in _mtx_unlock_flags (m=3D0xfffffe0006dc7000,
opts=3D421100272, file=3D0xfffffe0006dc70e8 "=B8P=CE\200=FF=FF=FF=FF", =
line=3D1)
at /usr/src/sys/kern/kern_mutex.c:223
Previous frame inner to this frame (corrupt stack?)
(kgdb)
Here's my system info:
$ uname -a
FreeBSD streetfighter.ixsystems.com 9.0-BETA2 FreeBSD 9.0-BETA2 #2
r225558M: Wed Sep 14 12:09:35 PDT 2011
gcooper@streetfighter.ixsystems.com:/usr/obj/usr/src/sys/STREETFIGHTER
amd64
$ mount
/dev/ada0p2 on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
tank/scratch on /scratch (zfs, local, nfsv4acls)
tank/usr on /usr (zfs, local, nfsv4acls)
tank/usr/home on /usr/home (zfs, local, nfsv4acls)
tank/usr/src on /usr/src (zfs, local, nfsv4acls)
tank/var on /var (zfs, local, nfsv4acls)
I tried inspecting 'm' (the mutex), but the value had been
optimized out (for some odd reason).
I can provide more details offline if interested.
Thanks,
-Garrett
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"