Vitaly Magerya <firstname.lastname@example.org> wrote:
> Jung-uk Kim email@example.com> wrote:
>> I have written a very rough patch and it is available from here:
>> It compiles but wasn't tested at all, i.e., I have no hardware.
>> Please be careful.
> Cool. I'll try it.
Sorry for the delay (I had to install CURRENT first).
When I boot a kernel with that patch, I get this panic:
Fatal trap 9: general protection fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer = 0x20:0xc04cd782
stack pointer = 0x28:0xc3bddc3c
frame pointer = 0x28:0xc3bddc80
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 11 (idle: cpu0)
[ thread pid 11 tid 100003 ]
Stopped at acpi_cpi_idle+0x1c2: monitor
Here's the backtrace:
Tracing pid 11 tid 100003 td 0xc3d7f8a0
acpi_cpu_idle(1d,c3bddca4,c0992e99,0,1d,...) at acpi_cpu_idle+0x1c2
cpu_idle_acpi(0,1d,0,c3d7f8a0,c3bddcec,...) at cpu_idle_acpi+0x2f
cpu_idle(0,c3bddcc8,c0a27d18,a03,c3d7f8a0,...) at cpu_idle+0x89
sed_idletd(0,c3bddd28,ff7ff3ff,c3d7d840,0,...) at sched_idletd+0x249
fork_exit(c0721060,0,c3bddd28) at fork_exit+0x97
fork_trampoline() at fork_trampoline+0x8
--- trap 0, eip = 0, esp = 0xc3bddd60, ebp = 0 ---
(Yes, I typed all that manually).
My kernel is GENERIC without WITNESS, INVARIANTS and a whole lot
of drivers my system doesn't need (I can show the file on request).