PATCH: ecng for 6.x and 7.x
Nate Lawson
nate at root.org
Wed Sep 12 18:39:46 PDT 2007
Mikael Ikivesi wrote:
> On Friday 07 September 2007 00:56, Nate Lawson wrote:
>> I've done some major rework on the EC driver. This should help with
>> various problems, including timeouts while checking battery status or
>> temperature.
>
>
> And it does :) Thanks...
>
> It took away those error messages I was having. Now things seems to work, more
> or less...
>
> dmesg still shows this:
> acpi0: reservation of 0, 1000 (3) failed
>
> but thats all.
> When issuing halt -p the system powersoff but show some acpi related message
> just before powering off but it goes so fast I dont have a clue about its
> contents.
>
>
>
>
> Note still: If I try to suspend machine I get kernel panic. I dont know if it
> was you patch or some other update, but before I got only messages and bounce
> back to system without crashing. Because of the updates I cannot now access
> the messages but if I remember correctly they were something about:
> device physically ejected? and they had something to do with cardbus if I
> remember correctly...
> ...sorry for being so vague!
>
>
> BUT about that panic I can be more precise :)
>
>
> acpi_button0: sleep button pressed
> Kernel page fault with the following non-sleepable locks held:
> exclusive sleep mutex ACPI global lock r = 0 (0xffffffff808ac4a0) locked
> @ /usr/src/sys/dev/acpica/acpi.c:2222
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
> witness_warn() at witness_warn+0x248
> trap() at trap+0x25e
> calltrap() at calltrap+0x8
> --- trap 0xc, rip = 0xffffffff801d9cf4, rsp = 0xffffffff9ed4aa00, rbp =
> 0xffffffff9ed4aa30 ---
> acpi_AckSleepState() at acpi_AckSleepState+0x34
> devfs_ioctl_f() at devfs_ioctl_f+0x6d
> kern_ioctl() at kern_ioctl+0xa3
> ioctl() at ioctl+0xf9
> syscall() at syscall+0x1ce
> Xfast_syscall() at Xfast_syscall+0xab
> --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x8007187ec, rsp =
> 0x7fffffffecd8, rbp = 0x7fffffffee50 ---
>
>
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address = 0x18
> fault code = supervisor read data, page not present
> instruction pointer = 0x8:0xffffffff801d9cf4
> stack pointer = 0x10:0xffffffff9ed4aa00
> frame pointer = 0x10:0xffffffff9ed4aa30
> code segment = base 0x0, limit 0xfffff, type 0x1b
> = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags = interrupt enabled, resume, IOPL = 0
> current process = 748 (acpiconf)
>
Fixed, thanks.
-Nate
More information about the freebsd-acpi
mailing list