Re: 14-CURRENT Kernel Panic due to USB hub?

Hans Petter Selasky <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.