Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jul 2017 14:48:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220277] 11.1-BETA3 hangs on Dell Vostro V130 during boot
Message-ID:  <bug-220277-8-CfxiGwGpP9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220277-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220277-8@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=3D220277

--- Comment #17 from John Baldwin <jhb@FreeBSD.org> ---
(In reply to Mark Johnston from comment #16)
We could defer handling ACPI tasks until timers are working.  That is proba=
bly
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 chan=
ging
the SYSINIT for acpi_taskq_init in sys/dev/acpica/Osd/OsdSchedule.c:

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

-SYSINIT(acpi_taskq, SI_SUB_CONFIGURE, SI_ORDER_SECOND, acpi_taskq_init, NU=
LL);
+SYSINIT(acpi_taskq, SI_SUB_KICK_SCHEDULER, SI_ORDER_SECOND, acpi_taskq_ini=
t,
+    NULL);

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

--=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-220277-8-CfxiGwGpP9>