Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2018 13:10:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230722] [nvme][resume] Delay and possible deadlock after resume
Message-ID:  <bug-230722-227-HQd60h3Gyo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230722-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230722-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230722

--- Comment #11 from Alexandr Krivulya <shuriku@shurik.kiev.ua> ---
With kernel patched from nvme-suspend branch I have a new messages in log:

Dec 15 14:50:41 thinkpad kernel: pm_runtime_get_if_in_use not implemented --
see your local kernel hacker
Dec 15 14:50:41 thinkpad kernel: sched_setscheduler_nocheck not implemented=
 --
see your local kernel hacker
Dec 15 14:50:41 thinkpad kernel: register_oom_notifier not implemented -- s=
ee
your local kernel hacker
Dec 15 14:50:41 thinkpad kernel: [drm] Initialized i915 1.6.0 20171222 for
drmn0 on minor 0
Dec 15 14:50:41 thinkpad kernel: register_acpi_notifier not implemented -- =
see
your local kernel hacker
Dec 15 14:50:41 thinkpad kernel: async_schedule is dodgy -- see your local
kernel hacker
Dec 15 14:50:41 thinkpad kernel: pm_runtime_set_autosuspend_delay not
implemented -- see your local kernel hacker
Dec 15 14:50:41 thinkpad kernel: __pm_runtime_use_autosuspend not implement=
ed
-- see your local kernel hacker
Dec 15 14:50:41 thinkpad kernel: async_synchronize_cookie not implemented --
see your local kernel hacker

Also kernel panicked while suspending:

Fatal trap 12: page fault while in kernel mode
cpuid =3D 3; apic id =3D 06
fault virtual address   =3D 0x4d8
fault code              =3D supervisor write data, page not present
instruction pointer     =3D 0x20:0xffffffff807ca21d
stack pointer           =3D 0x28:0xfffffe00004857a0
frame pointer           =3D 0x28:0xfffffe00004857c0
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 13 (g_down)
trap number             =3D 12
panic: page fault
cpuid =3D 3
time =3D 1544877759
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0000485=
450
vpanic() at vpanic+0x1b4/frame 0xfffffe00004854b0
panic() at panic+0x43/frame 0xfffffe0000485510
trap_fatal() at trap_fatal+0x369/frame 0xfffffe0000485560
trap_pfault() at trap_pfault+0x49/frame 0xfffffe00004855c0
trap() at trap+0x29f/frame 0xfffffe00004856d0
calltrap() at calltrap+0x8/frame 0xfffffe00004856d0
--- trap 0xc, rip =3D 0xffffffff807ca21d, rsp =3D 0xfffffe00004857a0, rbp =
=3D
0xfffffe00004857c0 ---
nvme_qpair_submit_request() at nvme_qpair_submit_request+0x2d/frame
0xfffffe00004857c0
nvme_ctrlr_submit_io_request() at nvme_ctrlr_submit_io_request+0x2f/frame
0xfffffe00004857e0
nvme_ns_cmd_deallocate() at nvme_ns_cmd_deallocate+0x84/frame
0xfffffe0000485820
nvme_ns_bio_process() at nvme_ns_bio_process+0x257/frame 0xfffffe00004858a0
nvd_strategy() at nvd_strategy+0x4d/frame 0xfffffe00004858d0
g_disk_start() at g_disk_start+0x360/frame 0xfffffe0000485920
g_io_schedule_down() at g_io_schedule_down+0x1a1/frame 0xfffffe0000485960
g_down_procbody() at g_down_procbody+0x6d/frame 0xfffffe0000485970
fork_exit() at fork_exit+0x83/frame 0xfffffe00004859b0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00004859b0
--- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 ---
KDB: enter: panic

--=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-230722-227-HQd60h3Gyo>