DragonFly bugs List (threaded) for 2008-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: [issue1133] Hang on boot with ACPI enabled
On Sat, Sep 13, 2008 at 04:30:52PM -0700, Tim wrote:
> Oops, I spoke to soon. I'm able to reproduce the bug on the 9-11 iso.
> It turns out that the hang occurs if I have the laptop's power adaper
> plugged in. If the laptop is on battery power, it boots fine with ACPI.
> I don't remember if I had it plugged in or not when I was testing with
> the July release, so that may very well have had the problem too.
If you have 2.0-RELEASE installed on your laptop, with source tree,
can you rebuild the ACPI module with attached patch applied?
Thanks.
diff --git a/sys/dev/acpica5/acpi_acad.c b/sys/dev/acpica5/acpi_acad.c
index 3ecba02..4f6b2ab 100644
--- a/sys/dev/acpica5/acpi_acad.c
+++ b/sys/dev/acpica5/acpi_acad.c
@@ -246,7 +246,7 @@ acpi_acad_init_acline(void *arg)
acpi_acad_get_status(dev);
if (status != sc->status)
break;
- AcpiOsSleep(10);
+ AcpiOsSleep(10000);
}
sc->initializing = 0;
diff --git a/sys/dev/acpica5/acpi_cmbat.c b/sys/dev/acpica5/acpi_cmbat.c
index 186a8c8..6677311 100644
--- a/sys/dev/acpica5/acpi_cmbat.c
+++ b/sys/dev/acpica5/acpi_cmbat.c
@@ -581,7 +581,7 @@ acpi_cmbat_init_battery(void *arg)
ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev),
"battery initialization start\n");
- for (retry = 0; retry < ACPI_CMBAT_RETRY_MAX; retry++, AcpiOsSleep(10)) {
+ for (retry = 0; retry < ACPI_CMBAT_RETRY_MAX; retry++, AcpiOsSleep(10000)) {
sc->present = acpi_BatteryIsPresent(dev);
if (!sc->present)
continue;
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]