From owner-freebsd-current@freebsd.org Mon Jan 11 17:08:02 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A5F4F4DFED5 for ; Mon, 11 Jan 2021 17:08:02 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DF0X15MbPz4WpL for ; Mon, 11 Jan 2021 17:08:01 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.56.43] (helo=fritz.box) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kz0ff-00031I-4n for freebsd-current@freebsd.org; Mon, 11 Jan 2021 18:07:59 +0100 Date: Mon, 11 Jan 2021 17:07:57 +0000 From: Matthias Apitz Reply-To: Matthias Apitz To: freebsd-current@freebsd.org Subject: Re: Panic after updating Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In-Reply-To: <34a9dafd-9690-1b33-abf8-017ad31cf2ab@alvermark.net> References: <87512669-f0b9-eb2f-1103-170a29384ea8@alvermark.net> <34a9dafd-9690-1b33-abf8-017ad31cf2ab@alvermark.net> Message-ID: MIME-Version: 1.0 X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.56.43 X-Rspamd-Queue-Id: 4DF0X15MbPz4WpL X-Spamd-Bar: / X-Spamd-Result: default: False [-0.20 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[178.254.4.101:from]; TO_DN_NONE(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[188.174.56.43:received]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[178.254.4.101:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[178.254.4.101:from:127.0.2.255]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; NEURAL_SPAM_SHORT(1.00)[0.997]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 17:08:02 -0000 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)