Date: Tue, 29 Dec 2020 23:42:54 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 252163] r368739/a095390344fb1795c1b118a2f84da8f6a7f254ab causes a panic stating 'Fatal trap 12: page fault while in kernel mode' Message-ID: <bug-252163-227-HwCWQIPyiR@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-252163-227@https.bugs.freebsd.org/bugzilla/> References: <bug-252163-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252163 --- Comment #3 from John Baldwin <jhb@FreeBSD.org> --- Comment on attachment 220951 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D220951 text file with backtrace details gathered by kgdb This is a bug in rsu(4). It loads firmware into memory and then _overwrite= s_ the firmware before copying it into the card. If you had two rsu(4) devices they could trash each other's firmware while uploading it into the adapter.= =20 The driver needs to make a copy of the firmware data and modify the copy, n= ot modify the read-only data in place. The commit in question exposed this dr= iver bug because it places the firmware data in .rodata and the kernel maps those pages as read-only. --=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-252163-227-HwCWQIPyiR>