panic when using module built in modules directory
Yuri Pankov
yuri at darklight.org.ru
Mon Jul 16 15:46:39 UTC 2007
On Mon, Jul 16, 2007 at 05:10:58PM +0200, Roman Divacky wrote:
> hi
>
> can someone test whether
>
> buildkernel && cd /sys/modules/linux && make && make install
> kldload linux && chroot /compat/linux /bin/bash
>
> produces an instant panic? it does for me. ie. when the linux module
> is built with kernel its ok, but when I build it separately in
> sys/modules/linux it panic in turnstiles... it used to work so I'd
> love to know..
>
> thnx for testing
>
> roman
>
Confirmed. :-) CURRENT/amd64 built on Jul, 12.
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x408
fault code = supervisor write data, page not present
instruction pointer = 0x8:0xffffffffafe89414
stack pointer = 0x10:0xffffffffaffdb680
frame pointer = 0x10:0xffffffffaffdb6b0
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 = 71888 (chroot)
trap number = 12
panic: page fault
cpuid = 0
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
panic() at panic+0x17a
trap_fatal() at trap_fatal+0x29f
trap_pfault() at trap_pfault+0x294
trap() at trap+0x2ea
calltrap() at calltrap+0x8
--- trap 0xc, rip = 0xffffffffafe89414, rsp = 0xffffffffaffdb680, rbp =
0xffffffffaffdb6b0 ---
linux_proc_init() at linux_proc_init+0x124
linux_proc_exec() at linux_proc_exec+0x4a
exec_new_vmspace() at exec_new_vmspace+0x74
exec_elf32_imgact() at exec_elf32_imgact+0x1bd
kern_execve() at kern_execve+0x2fe
execve() at execve+0x3d
syscall() at syscall+0x254
Xfast_syscall() at Xfast_syscall+0xab
--- syscall (59, FreeBSD ELF64, execve), rip = 0x80069d06c, rsp =
0x7fffffffe5b8, rbp = 0x7fffffffeab0 ---
Uptime: 6h41m18s
Physical memory: 2035 MB
Dumping 354 MB: 339 323 307 291 275 259 243 227 211 195 179 163 147 131
115 99 83 67 51 35 19 3
Yuri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20070716/d36d085f/attachment.pgp
More information about the freebsd-emulation
mailing list