Acquiring ACPI_LOCK(acpi) from kernel module during boot process

Maxim Ignatenko at
Fri Oct 14 12:40:32 UTC 2011


I have this code:
It works just fine when loaded into kernel manually, but crashes if
loaded during boot via loader.conf:

I've added some printf's to acpi_register_ioctl() to track down where
it hangs and crashes after about one minute:

What am I missing? Do I need to somehow (how?) specify module
initialization order? Or just call acpi_register_ioctl() by some other
mean when it would not cause panic?


More information about the freebsd-hackers mailing list