Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2021 17:07:57 +0000
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-current@freebsd.org
Subject:   Re: Panic after updating
Message-ID:  <n05y8t.qms4xb.1hgf02e-qmf@ms-10.1blu.de>
In-Reply-To: <34a9dafd-9690-1b33-abf8-017ad31cf2ab@alvermark.net>
References:  <87512669-f0b9-eb2f-1103-170a29384ea8@alvermark.net> <ad969a6e-4029-b85c-f304-1198b05ad725@selasky.org> <34a9dafd-9690-1b33-abf8-017ad31cf2ab@alvermark.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Jan 2021 17:24:39 +0100, Jakob Alvermark wrote:
>
> On 1/11/21 1:14 PM, Hans Petter Selasky wrote:
>> On 1/11/21 11:12 AM, Jakob Alvermark wrote:
>>>
>>> Updated my Acer laptop from r367734 to main-c255666-g1790f5e654f
>>>
>>>
>>> Rebooting with the newly build kernel i get this panic.
>>>
>>>
>>> Fatal    trap 12: page fault while in kernel mode
>>>
>>> cpuid    =3D 1; apic id =3D 02
>>> fault    virtual address     =3D 0x1030000
>>> fault    code                =3D supervisor read data,
>>>
>>> instruction    pointer       =3D 0x20:0xffffffff809e5265
>>> stack    pointer             =3D 0x28:0xffffffff8281db70
>>> frame    pointer             =3D 0x28:0xffffffff8281db70
>>> code    segment              =3D base 0x0, limit 0xfffff, type 0x1b
>>> =3D    DPL 0, pres 1, long 1, def32 0, gran 1
>>> processor    eflags  =3D interrupt enabled, resume, IOPL =3D 0
>>> current    process           =3D 12 (irq88: xhci0)
>>> trap    number               =3D 12
>>> panic:    page fault
>>> cpuid    =3D 1
>>> time    =3D 2
>>> KDB:    stack backtrace:
>>> db_trace_self_wrapper()    at db_trace_self_wrapper+0x2b/frame 
>>> 0xffffffff8281d820
>>> vpanic()    at vpanic+0x181/frame 0xffffffff8281d870
>>> panic()    at panic+0x43/frame 0xffffffff8281d8d0
>>> trap_fatal()    at trap_fatal+0x387/frame 0xffffffff8281d930
>>> trap_pfault()    at trap_pfault+0x4f/frame 0xffffffff8281d990
>>> trap()    at trap+0x280/frame 0xffffffff8281daa0
>>> calltrap()    at calltrap+0x8/frame 0xffffffff8281daa0
>>> ---    trap 0xc, rip =3D 0xffffffff809e5265, rsp =3D 0xffffffff8281db7=
0, 
>>> rbp =3D 0xffffffff8281db70 ---
>>> usbd_get_page()    at usbd_get_page+0x65/frame 0xffffffff8281db70
>>> xhci_interrupt_poll()    at xhci_interrupt_poll+0x29/frame 
>>> 0xffffffff8281dc20
>>> xhci_interrupt()    at xhci_interrupt+0x11a/frame 0xffffffff8281dc60
>>> ithread_loop()    at ithread_loop+0x24f/frame 0xffffffff8281dcf0
>>> fork_exit()    at fork_exit+0x7e/frame 0xffffffff8281dd30
>>> fork_trampoline()    at fork_trampoline+0xe/frame 0xffffffff8281dd30
>>> ---    trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 ---
>>> KDB:    enter: panic
>>>
>>>
>>> Any help appreciated.
>>
>> Hi,
>>
>> If you could bi-sect that panic, would be great.
>>
>> Else install gdb from ports and run:
>>
>> kgdb101
>>
>> info line *(usbd_get_page+0x65)
>>
>>
>
> Having just learned how to bisect (thanks Warner for the mini primer)=20=

> this is the result:
>
> de0b2d4f47bad36025dcf52755ce76cca6e715d9 is the first bad commit
>
> Jakob
>

Can you please share this mini primer or a link to it. TIA

Matthias


-- 
Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-17=
6-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
=D0=91=D0=B5=D0=B7 =D0=BA=D0=BD=D0=B8=D0=B3=D0=B8 =D0=BD=D0=B5=D1=82 =D0=
=B7=D0=BD=D0=B0=D0=BD=D0=B8=D1=8F, =D0=B1=D0=B5=D0=B7 =D0=B7=D0=BD=D0=B0=
=D0=BD=D0=B8=D1=8F =D0=BD=D0=B5=D1=82 =D0=BA=D0=BE=D0=BC=D0=BC=D1=83=D0=BD=
=D0=B8=D0=B7=D0=BC=D0=B0 (=D0=92=D0=BBa=D0=B4=D0=B8=D0=BC=D0=B8=D1=80 =D0=
=98=D0=BB=D1=8C=D0=B8=D1=87 =D0=9B=D0=B5=D0=BD=D0=B8=D0=BD)
Without books no knowledge - without knowledge no communism (Vladimir Ilyi=
ch Lenin) 
Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich Leni=
n)

-- 
Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-17=
6-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
=D0=91=D0=B5=D0=B7 =D0=BA=D0=BD=D0=B8=D0=B3=D0=B8 =D0=BD=D0=B5=D1=82 =D0=
=B7=D0=BD=D0=B0=D0=BD=D0=B8=D1=8F, =D0=B1=D0=B5=D0=B7 =D0=B7=D0=BD=D0=B0=
=D0=BD=D0=B8=D1=8F =D0=BD=D0=B5=D1=82 =D0=BA=D0=BE=D0=BC=D0=BC=D1=83=D0=BD=
=D0=B8=D0=B7=D0=BC=D0=B0 (=D0=92=D0=BBa=D0=B4=D0=B8=D0=BC=D0=B8=D1=80 =D0=
=98=D0=BB=D1=8C=D0=B8=D1=87 =D0=9B=D0=B5=D0=BD=D0=B8=D0=BD)
Without books no knowledge - without knowledge no communism (Vladimir Ilyi=
ch Lenin) 
Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich Leni=
n)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?n05y8t.qms4xb.1hgf02e-qmf>