Hi, I'm tring to use a swapfile on Bamboo reference board. I got some of messages. Is it a kernel BUG?
I'm using kernel 2.6.11.8, which patched [1]"PPC440EP SoC and Bamboo board support". [1] http://ozlabs.org/pipermail/linuxppc-embedded/2005-April/017648.html Commands to use a swapfile are following: /# dd if=/dev/zero of=swapfile bs=1024 count=65536 65536+0 records in 65536+0 records out 67108864 bytes transferred in 82.371510 seconds (814710 bytes/sec) /# mkswap swapfile Setting up swapspace version 1, size = 67104 kB no label, UUID=daed5412-feb7-42ed-a925-f80e1c7782fb /# swapon swapfile kernel BUG in swp_entry_to_pte at include/linux/swapops.h:67! Oops: Exception in kernel mode, sig: 5 [#1] PREEMPT NIP: C00562A0 LR: C0056284 SP: C0D59EE0 REGS: c0d59e30 TRAP: 0700 Not tainted MSR: 00029000 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 00 TASK = c1c30430[928] 'swapon' THREAD: c0d58000 Last syscall: 87 GPR00: 00000400 C0D59EE0 C1C30430 00000000 00000001 0000000A C021B875 C033AC10 GPR08: 00000001 010B6000 C1087258 C02D0000 00004000 1001BAA4 100C0000 100A0000 GPR16: 00000000 100DC368 C02E0000 00000000 00000001 C1882000 C0C8EC20 00000000 GPR24: C10871B4 C030A7C0 00004000 04000000 FFFFFFEA C10B6000 C02D8ABC C10B6FF6 NIP [c00562a0] sys_swapon+0x588/0xa04 LR [c0056284] sys_swapon+0x56c/0xa04 Call trace: [c0001a88] ret_from_syscall+0x0/0x48 Trace/breakpoint trap /# Let me know what problem is. Thanks in advice, Youngchul.