[Bug 220277] 11.1-BETA3 hangs on Dell Vostro V130 during boot

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 5 14:48:51 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220277

--- Comment #17 from John Baldwin <jhb at FreeBSD.org> ---
(In reply to Mark Johnston from comment #16)
We could defer handling ACPI tasks until timers are working.  That is probably
the simplest / shortest solution.  More complicated would be to fix pause() to
always use sched_yield + spinning for all threads (not just thread0 as I
suggested in my previous comment).  The first approach can be tried by changing
the SYSINIT for acpi_taskq_init in sys/dev/acpica/Osd/OsdSchedule.c:

Index: sys/dev/acpica/Osd/OsdSchedule.c
===================================================================
--- sys/dev/acpica/Osd/OsdSchedule.c    (revision 320674)
+++ sys/dev/acpica/Osd/OsdSchedule.c    (working copy)
@@ -128,7 +128,8 @@
     acpi_taskq_started = 1;
 }

-SYSINIT(acpi_taskq, SI_SUB_CONFIGURE, SI_ORDER_SECOND, acpi_taskq_init, NULL);
+SYSINIT(acpi_taskq, SI_SUB_KICK_SCHEDULER, SI_ORDER_SECOND, acpi_taskq_init,
+    NULL);

 /*
  * Bounce through this wrapper function since ACPI-CA doesn't understand

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list