Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2015 15:23:56 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        freebsd-current@FreeBSD.org
Subject:   panic: getblk: size(131072) > MAXBCACHEBUF(65536)
Message-ID:  <5afc3b28.65902f68@fabiankeil.de>

next in thread | raw e-mail | index | archive | help
--Sig_/SjdW4NWbJgsaTY16uk+rExd
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Shortly after upgrading to a kernel based on r288437 I got the following
panic:

Unread portion of the kernel message buffer:
[5112] panic: getblk: size(131072) > MAXBCACHEBUF(65536)
[...]
(kgdb) where
#0  doadump (textdump=3D0) at pcpu.h:221
#1  0xffffffff8030ca9e in db_dump (dummy=3D<value optimized out>, dummy2=3D=
false, dummy3=3D0, dummy4=3D0x0) at /usr/src/sys/ddb/db_command.c:533
#2  0xffffffff8030c651 in db_command (cmd_table=3D0x0) at /usr/src/sys/ddb/=
db_command.c:440
#3  0xffffffff8030c2e4 in db_command_loop () at /usr/src/sys/ddb/db_command=
.c:493
#4  0xffffffff8030ef0b in db_trap (type=3D<value optimized out>, code=3D0) =
at /usr/src/sys/ddb/db_main.c:251
#5  0xffffffff805d3cd4 in kdb_trap (type=3D3, code=3D0, tf=3D<value optimiz=
ed out>) at /usr/src/sys/kern/subr_kdb.c:654
#6  0xffffffff808651bf in trap (frame=3D0xfffffe009452b5f0) at /usr/src/sys=
/amd64/amd64/trap.c:549
#7  0xffffffff80849e4a in calltrap () at /usr/src/sys/amd64/amd64/exception=
.S:234
#8  0xffffffff805d33ae in kdb_enter (why=3D0xffffffff80953dc1 "panic", msg=
=3D0xffffffff805d9e90 "U[...]") at cpufunc.h:63
#9  0xffffffff805902b9 in vpanic (fmt=3D<value optimized out>, ap=3D<value =
optimized out>) at /usr/src/sys/kern/kern_shutdown.c:746
#10 0xffffffff80590103 in panic (fmt=3D0x0) at /usr/src/sys/kern/kern_shutd=
own.c:684
#11 0xffffffff806310e7 in getblk (vp=3D<value optimized out>, blkno=3D<valu=
e optimized out>, size=3D<value optimized out>, slpflag=3D<value optimized =
out>, slptimeo=3D<value optimized out>, flags=3D<value optimized out>)
    at /usr/src/sys/kern/vfs_bio.c:3324
#12 0xffffffff8063cf81 in vop_stdadvise (ap=3D<value optimized out>) at /us=
r/src/sys/kern/vfs_default.c:1099
#13 0xffffffff808ec827 in VOP_ADVISE_APV (vop=3D<value optimized out>, a=3D=
<value optimized out>) at vnode_if.c:3848
#14 0xffffffff80662844 in vn_read (fp=3D<value optimized out>, uio=3D<value=
 optimized out>, active_cred=3D<value optimized out>, flags=3D<value optimi=
zed out>, td=3D0x8) at vnode_if.h:1648
#15 0xffffffff8065e27a in vn_io_fault (fp=3D0xfffff8000631eaf0, uio=3D0xfff=
ffe009452baa0, active_cred=3D0xfffffe009452b5a0, flags=3D0, td=3D0x8) at /u=
sr/src/sys/kern/vfs_vnops.c:1169
#16 0xffffffff805f0385 in dofileread (td=3D0xfffff800279fd9a0, fd=3D3, fp=
=3D0xfffff8000631eaf0, auio=3D0xfffffe009452baa0, offset=3D<value optimized=
 out>, flags=3D50) at file.h:300
#17 0xffffffff805f00a8 in kern_readv (td=3D0xfffff800279fd9a0, fd=3D3, auio=
=3D0xfffffe009452baa0) at /usr/src/sys/kern/sys_generic.c:273
#18 0xffffffff805f0033 in sys_read (td=3D0x0, uap=3D<value optimized out>) =
at /usr/src/sys/kern/sys_generic.c:186
#19 0xffffffff808661e8 in amd64_syscall (td=3D0xfffff800279fd9a0, traced=3D=
0) at subr_syscall.c:139
#20 0xffffffff8084a12b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exce=
ption.S:394
#21 0x00000008014d752a in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal

The system was running for about 50 minutes before the panic occurred and
didn't do anything special at the time (running Xorg, Firefox, ssh ...).

I suspect r288431 and am currently compiling a kernel with the
commit reverted. The previous kernel was based on r288265.

Fabian

--Sig_/SjdW4NWbJgsaTY16uk+rExd
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlYNM+cACgkQBYqIVf93VJ3XdACfWGhU7wS0LDP6aWSCkopNK0Eu
KaAAoLKQJHpQyNW4zcv7KpzcQk+3qpbN
=K99o
-----END PGP SIGNATURE-----

--Sig_/SjdW4NWbJgsaTY16uk+rExd--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5afc3b28.65902f68>