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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252163 --- Comment #3 from John Baldwin <jhb@FreeBSD.org> --- Comment on attachment 220951 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=220951 text file with backtrace details gathered by kgdb This is a bug in rsu(4). It loads firmware into memory and then _overwrites_ 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. The driver needs to make a copy of the firmware data and modify the copy, not modify the read-only data in place. The commit in question exposed this driver bug because it places the firmware data in .rodata and the kernel maps those pages as read-only. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252163-227-HwCWQIPyiR>
