Date: Fri, 3 Dec 2021 19:38:32 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Andrew Turner <andrew@fubar.geek.nz> Cc: freebsd-arm@freebsd.org Subject: Re: 14-CURRENT Kernel Panic due to USB hub? Message-ID: <7b83599e-5b38-b669-fcac-93ad328c22f4@selasky.org> In-Reply-To: <a689e8f6-d0ef-9fbf-503c-b6a6ebcb112f@selasky.org> References: <fbfa2dcc-ae3f-230b-2f56-3b940b025342@morante.net> <2b555ef9-12fe-6214-79a0-cebce1933771@selasky.org> <5bfb1865-8033-0da6-27e4-3c25fb067cee@morante.net> <6F2AD5E1-5AB1-4D08-97F4-84E2905D592B@fubar.geek.nz> <B1DFC16D-47F6-4803-BF12-406EC96465B9@fubar.geek.nz> <45534c79-311b-d1df-c412-5bd782678cfb@selasky.org> <C3FE68C0-44DB-493F-9C29-C73859840C9B@fubar.geek.nz> <78ed0a6e-2ef0-46a4-f494-8eeef326d15e@selasky.org> <3E44BF3B-9181-480E-8D40-09B66203ADB6@fubar.geek.nz> <a281fe07-7963-5ff4-f18a-bbe7eb8744c7@selasky.org> <E393543F-CE4C-4B27-BDB6-2B5C2440612B@fubar.geek.nz> <a689e8f6-d0ef-9fbf-503c-b6a6ebcb112f@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/1/21 17:32, Hans Petter Selasky wrote: > On 12/1/21 12:39, Andrew Turner wrote: >> I have. I’m hitting the KASSERT at [1]. Looking at the memory around >> td->td_pcb->pcb_fpflags makes me think the memory has been trashed as >> there are bits set that could never be so in the flags fields, and >> kernel pointer values that point to user memory. >> >> Andrew >> >> [1]https://cgit.freebsd.org/src/tree/sys/arm64/arm64/trap.c?id=6e9309bd3b04501b69593900a14e01114c7f2404#n627 >> >> > > Hi, > > Could you also dump: > > td->td_name > > Exactly which thread is this? > > We do have a user-space build for XHCI at stand/usb/test . It won't > attach, but maybe there is some compiler warning there? > > Did you try do build a kernel with -O0 I.E. no optimization options? > > --HPS > One more thing: The XHCI hardware in question is little-endian? --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7b83599e-5b38-b669-fcac-93ad328c22f4>