Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 May 2018 06:36:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228628] Kernel panic after resume
Message-ID:  <bug-228628-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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<optimized out>,=20
ap=3D0xfffffe0056507e50)
    at /usr/src/sys/kern/kern_shutdown.c:863
#4  0xffffffff80b9a973 in panic (fmt=3D<unavailable>)
    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<unavailable>, newtd=3D0x0)
    at /usr/src/sys/kern/kern_synch.c:406
#7  0xffffffff80bf3f5f in sleepq_timedwait (wchan=3D<unavailable>,=20
pri=3D<unavailable>) at /usr/src/sys/kern/subr_sleepqueue.c:727
#8  0xffffffff833c7bed in linux_add_to_sleepqueue=20
(wchan=3D0xfffff8000bf6ad80, task=3D0xfffff8000bf6ad80, wmesg=3D<optimized=
=20
out>, timeout=3D50, state=3D<optimized out>)
    at /usr/src/sys/compat/linuxkpi/common/src/linux_schedule.c:70
#9  0xffffffff833c7a58 in linux_wait_event_common (wqh=3D<optimized out>,=20
wq=3D<optimized out>, 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228628-227>