From owner-freebsd-bugs@freebsd.org Thu May 31 06:36:32 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 99C17F7DA16 for ; Thu, 31 May 2018 06:36:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1A7BD72F77 for ; Thu, 31 May 2018 06:36:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C8615F7DA13; Thu, 31 May 2018 06:36:31 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A393FF7DA12 for ; Thu, 31 May 2018 06:36:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 24B2272F75 for ; Thu, 31 May 2018 06:36:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 677881F67D for ; Thu, 31 May 2018 06:36:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4V6aUu6048805 for ; Thu, 31 May 2018 06:36:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4V6aUsP048804 for bugs@FreeBSD.org; Thu, 31 May 2018 06:36:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228628] Kernel panic after resume Date: Thu, 31 May 2018 06:36:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@justmail.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2018 06:36:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228628 Bug ID: 228628 Summary: Kernel panic after resume Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: freebsd@justmail.de Since upgrading CURRENT from r333740 to r334167 I'm experiencing reproducib= ly Kernel panics. Before the update i did not have any of those.=20=20 Steps to reproduce: In my case i have to repeat these steps several times (2-7x), then the panic (backtrace below) occurs. 1. suspend 2. resume 3. start firefox Hardware: Lenovo Thinkpad T450 Laptop Software: FreeBSD CURRENT with Kernel-Config GENERIC-NODEBUG, drm-stable-kmod from ports Additional: I've built and installed kernels until the error appears: The last working revision is r334117, the first not=20 working is r334123. Revisions 334118-334122 of the kernel did not build,=20 so i cannot try these. Backtrace: __curthread () at ./machine/pcpu.h:231 231 ./machine/pcpu.h: No such file or directory. (kgdb) #0 __curthread () at ./machine/pcpu.h:231 #1 doadump (textdump=3D1) at /usr/src/sys/kern/kern_shutdown.c:366 #2 0xffffffff80b9a6f0 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:446 #3 0xffffffff80b9ab83 in vpanic (fmt=3D,=20 ap=3D0xfffffe0056507e50) at /usr/src/sys/kern/kern_shutdown.c:863 #4 0xffffffff80b9a973 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:790 #5 0xffffffff80ba5c3b in kdb_switch () at=20 /usr/src/sys/kern/kern_synch.c:377 #6 0xffffffff80ba5bb9 in mi_switch (flags=3D, newtd=3D0x0) at /usr/src/sys/kern/kern_synch.c:406 #7 0xffffffff80bf3f5f in sleepq_timedwait (wchan=3D,=20 pri=3D) at /usr/src/sys/kern/subr_sleepqueue.c:727 #8 0xffffffff833c7bed in linux_add_to_sleepqueue=20 (wchan=3D0xfffff8000bf6ad80, task=3D0xfffff8000bf6ad80, wmesg=3D, timeout=3D50, state=3D) at /usr/src/sys/compat/linuxkpi/common/src/linux_schedule.c:70 #9 0xffffffff833c7a58 in linux_wait_event_common (wqh=3D,=20 wq=3D, timeout=3D50, state=3D2, lock=3D0x0) at /usr/src/sys/compat/linuxkpi/common/src/linux_schedule.c:270 #10 0xffffffff83458de6 in ?? () #11 0x000000061d026200 in ?? () #12 0x0000000600000000 in ?? () #13 0xfffff8000bf6ad80 in ?? () #14 0xffffffff833c7540 in ?? () at /usr/src/sys/compat/linuxkpi/common/src/linux_schedule.c:167 from /boot/kernel/linuxkpi.ko #15 0xfffff80007804828 in ?? () #16 0xfffff80007804828 in ?? () #17 0x0000000000000030 in ?? () #18 0x0000000000000000 in ?? () (kgdb)=20 Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x3 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80cc60cb stack pointer =3D 0x28:0xfffffe0056508560 frame pointer =3D 0x28:0xfffffe0056508760 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 10218 (nextcloud) -- Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 01 fault virtual address =3D 0x300000011 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80cc60cb stack pointer =3D 0x28:0xfffffe005e4d1560 frame pointer =3D 0x28:0xfffffe005e4d1760 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 17918 (DNS Resolver #16) -- Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x3 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80cc60cb stack pointer =3D 0x28:0xfffffe0056508560 frame pointer =3D 0x28:0xfffffe0056508760 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 10218 (nextcloud) --=20 You are receiving this mail because: You are the assignee for the bug.=