Re: Acquiring ACPI_LOCK(acpi) from kernel module during boot process

2011-10-14 Thread Sergey Kandaurov
On 14 October 2011 16:11, Maxim Ignatenko wrote: > Hi, > > I have this code: > https://gitorious.org/acpi_call-freebsd/acpi_call-freebsd/blobs/5e6a79869721a2bd8de88b5cfa90c14b429cb5c7/acpi_call.c > It works just fine when loaded into kernel manually, but crashes if > loaded during boot via loader.

Acquiring ACPI_LOCK(acpi) from kernel module during boot process

2011-10-14 Thread Maxim Ignatenko
Hi, I have this code: https://gitorious.org/acpi_call-freebsd/acpi_call-freebsd/blobs/5e6a79869721a2bd8de88b5cfa90c14b429cb5c7/acpi_call.c It works just fine when loaded into kernel manually, but crashes if loaded during boot via loader.conf: http://i.imgur.com/fLPen.png I've added some printf's