Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2025 12:31:25 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Freebsd-stable List <stable@freebsd.org>
Subject:   Re: panic with today's kernel
Message-ID:  <C4628BDA-54E9-4283-B7CB-E9DA661FCC10@cs.huji.ac.il>
In-Reply-To: <DCBE1F8D-7BCE-45C7-9467-8AB9AB94D838@cs.huji.ac.il>
References:  <DCBE1F8D-7BCE-45C7-9467-8AB9AB94D838@cs.huji.ac.il>

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

--Apple-Mail=_977CF407-C854-4C85-9500-A26A6874B927
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

small correction, it=E2=80=99s a bit older than today=E2=80=99s. I will =
try today's once it
finishes compiling.


> On 7 Feb 2025, at 12:29, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>=20
> so far I have tested it on a a bhive host and this is a diskless boot:
>=20
> FreeBSD 14.2-STABLE #0 huji-8a9b4731f: Thu Feb  6 17:40:15 IST 2025
>    =
danny@pe-55:/home/obj/pe-55/h/rnd/git/stable/14/amd64.amd64/sys/HUJI =
amd64
> =E2=80=A6
> Fatal trap 12: page fault while in kernel mode
> cpuid =3D 2; apic id =3D 02
> fault virtual address   =3D 0x10
> fault code              =3D supervisor read data, page not present
> instruction pointer     =3D 0x20:0xffffffff82c1fc53
> stack pointer           =3D 0x28:0xfffffe00f92fbb70
> frame pointer           =3D 0x28:0xfffffe00f92fbba0
> 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 139 (zfs)
> rdi: fffffe00f92fbbb8 rsi: 0000000000000000 rdx: 0000000000000000
> rcx: 0000000000000001  r8: 000000002ce26ec8  r9: fffffe00d9bf69e0
> rax: 0000000000000000 rbx: fffffe00f92fbbb8 rbp: fffffe00f92fbba0
> r10: 0000000067a5de6f r11: 000000007fff159f r12: 0000000000000000
> r13: fffff800065521c0 r14: fffff800065521c0 r15: 0000000000000000
> trap number             =3D 12
> panic: page fault
> cpuid =3D 2
> time =3D 1738923631
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame =
0xfffffe00f92fb860
> vpanic() at vpanic+0x161/frame 0xfffffe00f92fb990
> panic() at panic+0x43/frame 0xfffffe00f92fb9f0
> trap_fatal() at trap_fatal+0x40b/frame 0xfffffe00f92fba50
> trap_pfault() at trap_pfault+0x46/frame 0xfffffe00f92fbaa0
> calltrap() at calltrap+0x8/frame 0xfffffe00f92fbaa0
> --- trap 0xc, rip =3D 0xffffffff82c1fc53, rsp =3D 0xfffffe00f92fbb70, =
rbp =3D 0xfffffe00f92fbba0 ---
> unionfs_add_writecount() at unionfs_add_writecount+0x33/frame =
0xfffffe00f92fbba0
> vn_truncate_locked() at vn_truncate_locked+0x5a/frame =
0xfffffe00f92fbcb0
> kern_truncate() at kern_truncate+0x1cf/frame 0xfffffe00f92fbe00
> amd64_syscall() at amd64_syscall+0x115/frame 0xfffffe00f92fbf30
> fast_syscall_common() at fast_syscall_common+0xf8/frame =
0xfffffe00f92fbf30
> --- syscall (479, FreeBSD ELF64, truncate), rip =3D 0x2f96d0ced12a, =
rsp =3D 0x2f96c6a28f28, rbp =3D 0x2f96c6a28f60 ---


--Apple-Mail=_977CF407-C854-4C85-9500-A26A6874B927
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">small=
 correction, it=E2=80=99s a bit older than today=E2=80=99s. I will try =
today's once it<div class=3D"">finishes compiling.</div><div =
class=3D""><br class=3D""><div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D"">On 7 Feb 2025, at 12:29, Daniel Braniss =
&lt;<a href=3D"mailto:danny@cs.huji.ac.il" =
class=3D"">danny@cs.huji.ac.il</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" =
class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; line-break: after-white-space;" class=3D""><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">so far I have tested it =
on a a bhive host and this is a diskless boot:</span></div><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><br =
class=3D""></span></div>FreeBSD 14.2-STABLE #0 huji-8a9b4731f: Thu Feb =
&nbsp;6 17:40:15 IST 2025</span><br style=3D"caret-color: rgb(0, 0, 0);" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;&nbsp;&nbsp;danny@pe-55:/home/obj/pe-55/h/rnd/git/stable/=
14/amd64.amd64/sys/HUJI amd64</span><div class=3D""><font class=3D""><span=
 style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">=E2=80=A6</span></font></div><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">Fatal trap 12: page =
fault while in kernel mode</span><br style=3D"caret-color: rgb(0, 0, =
0);" class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">cpuid =3D 2; apic id =3D 02</span><br style=3D"caret-color: =
rgb(0, 0, 0);" class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">fault virtual address &nbsp;&nbsp;=3D 0x10</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">fault code =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=3D supervisor read data, page not present</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">instruction pointer =
&nbsp;&nbsp;&nbsp;&nbsp;=3D 0x20:0xffffffff82c1fc53</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">stack pointer =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=3D =
0x28:0xfffffe00f92fbb70</span><br style=3D"caret-color: rgb(0, 0, 0);" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" class=3D"">frame =
pointer &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=3D =
0x28:0xfffffe00f92fbba0</span><br style=3D"caret-color: rgb(0, 0, 0);" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" class=3D"">code =
segment =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=3D =
base 0x0, limit 0xfffff, type 0x1b</span><br style=3D"caret-color: =
rgb(0, 0, 0);" class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;=3D DPL 0, pres 1, long 1, def32 0, gran 1</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">processor eflags =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=3D interrupt enabled, resume, =
IOPL =3D 0</span><br style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span=
 style=3D"caret-color: rgb(0, 0, 0);" class=3D"">current process =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=3D 139 (zfs)</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">rdi: fffffe00f92fbbb8 =
rsi: 0000000000000000 rdx: 0000000000000000</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">rcx: 0000000000000001 =
&nbsp;r8: 000000002ce26ec8 &nbsp;r9: fffffe00d9bf69e0</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">rax: 0000000000000000 =
rbx: fffffe00f92fbbb8 rbp: fffffe00f92fbba0</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">r10: 0000000067a5de6f =
r11: 000000007fff159f r12: 0000000000000000</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">r13: fffff800065521c0 =
r14: fffff800065521c0 r15: 0000000000000000</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">trap number =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=3D=
 12</span><br style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">panic: page =
fault</span><br style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">cpuid =3D 2</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">time =3D =
1738923631</span><br style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span=
 style=3D"caret-color: rgb(0, 0, 0);" class=3D"">KDB: stack =
backtrace:</span><br style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span=
 style=3D"caret-color: rgb(0, 0, 0);" class=3D"">db_trace_self_wrapper() =
at db_trace_self_wrapper+0x2b/frame 0xfffffe00f92fb860</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">vpanic() at =
vpanic+0x161/frame 0xfffffe00f92fb990</span><br style=3D"caret-color: =
rgb(0, 0, 0);" class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">panic() at panic+0x43/frame 0xfffffe00f92fb9f0</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">trap_fatal() at =
trap_fatal+0x40b/frame 0xfffffe00f92fba50</span><br style=3D"caret-color: =
rgb(0, 0, 0);" class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">trap_pfault() at trap_pfault+0x46/frame =
0xfffffe00f92fbaa0</span><br style=3D"caret-color: rgb(0, 0, 0);" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">calltrap() at calltrap+0x8/frame 0xfffffe00f92fbaa0</span><br =
style=3D"caret-color: rgb(0, 0, 0);" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0);" class=3D"">--- trap 0xc, rip =3D =
0xffffffff82c1fc53, rsp =3D 0xfffffe00f92fbb70, rbp =3D =
0xfffffe00f92fbba0 ---</span><br style=3D"caret-color: rgb(0, 0, 0);" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">unionfs_add_writecount() at unionfs_add_writecount+0x33/frame =
0xfffffe00f92fbba0</span><br style=3D"caret-color: rgb(0, 0, 0);" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">vn_truncate_locked() at vn_truncate_locked+0x5a/frame =
0xfffffe00f92fbcb0</span><br style=3D"caret-color: rgb(0, 0, 0);" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">kern_truncate() at kern_truncate+0x1cf/frame =
0xfffffe00f92fbe00</span><br style=3D"caret-color: rgb(0, 0, 0);" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">amd64_syscall() at amd64_syscall+0x115/frame =
0xfffffe00f92fbf30</span><br style=3D"caret-color: rgb(0, 0, 0);" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" =
class=3D"">fast_syscall_common() at fast_syscall_common+0xf8/frame =
0xfffffe00f92fbf30</span><br style=3D"caret-color: rgb(0, 0, 0);" =
class=3D""><span style=3D"caret-color: rgb(0, 0, 0);" class=3D"">--- =
syscall (479, FreeBSD ELF64, truncate), rip =3D 0x2f96d0ced12a, rsp =3D =
0x2f96c6a28f28, rbp =3D 0x2f96c6a28f60 =
---</span></div></div></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_977CF407-C854-4C85-9500-A26A6874B927--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C4628BDA-54E9-4283-B7CB-E9DA661FCC10>