Date: Thu, 10 Dec 2020 17:58:27 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251736] [panic] memcpy_erms general protection fault on AMD Zen 3 (Ryzen 5000 series) Message-ID: <bug-251736-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251736 Bug ID: 251736 Summary: [panic] memcpy_erms general protection fault on AMD Zen 3 (Ryzen 5000 series) Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Keywords: panic Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: greg@unrelenting.technology CC: kib@FreeBSD.org, mjg@FreeBSD.org With Enhanced REP MOVSB/STOSB enabled in firmware settings on an AMD Zen 3 system, FreeBSD panics pretty quickly, e.g. (yeah, started a scrub because I initially thought the panics might've been related to my zfs pool) [152] Fatal trap 9: general protection fault while in kernel mode [152] cpuid =3D 6; apic id =3D 06 [152] instruction pointer =3D 0x20:0xffffffff807a4380 [152] stack pointer =3D 0x28:0xfffffe010e9af250 [152] frame pointer =3D 0x28:0xfffffe010e9af250 [152] code segment =3D base 0x0, limit 0xfffff, type 0x1b [152] =3D DPL 0, pres 1, long 1, def32 0, gran 1 [152] processor eflags =3D interrupt enabled, resume, IOPL =3D 0 [152] current process =3D 0 (z_rd_int_3) [152] trap number =3D 9 [152] panic: general protection fault [152] cpuid =3D 6 [152] time =3D 1607620126 [152] KDB: stack backtrace: [152] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe010e9aef60 [152] vpanic() at vpanic+0x181/frame 0xfffffe010e9aefb0 [152] panic() at panic+0x43/frame 0xfffffe010e9af010 [152] trap_fatal() at trap_fatal+0x387/frame 0xfffffe010e9af070 [152] trap() at trap+0x8e/frame 0xfffffe010e9af180 [152] calltrap() at calltrap+0x8/frame 0xfffffe010e9af180 [152] --- trap 0x9, rip =3D 0xffffffff807a4380, rsp =3D 0xfffffe010e9af250,= rbp =3D 0xfffffe010e9af250 --- [152] memcpy_erms() at memcpy_erms+0x130/frame 0xfffffe010e9af250 [152] abd_copy_off_cb() at abd_copy_off_cb+0x9/frame 0xfffffe010e9af260 [152] abd_iterate_func2() at abd_iterate_func2+0x27c/frame 0xfffffe010e9af3= 40 [152] abd_copy_off() at abd_copy_off+0x1c/frame 0xfffffe010e9af360 [152] vdev_mirror_scrub_done() at vdev_mirror_scrub_done+0xd3/frame 0xfffffe010e9af3b0 kgdb "helpfully" points at support.S:577 which is just the whole macro invocation `MEMMOVE erms=3D1 overlap=3D0 begin=3DMEMMOVE_BEGIN end=3DMEMMOV= E_END` :/ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251736-227>