From: "Youngchul Bang (방영철)" <youngchul@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: swapon swapfile on Bamboo board
Date: Tue, 24 May 2005 11:20:06 +0900 [thread overview]
Message-ID: <ae4314c505052319206a37c6ed@mail.gmail.com> (raw)
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=3D/dev/zero of=3Dswapfile bs=3D1024 count=3D65536
65536+0 records in
65536+0 records out
67108864 bytes transferred in 82.371510 seconds (814710 bytes/sec)
/# mkswap swapfile =20
Setting up swapspace version 1, size =3D 67104 kB =
=20
no label, UUID=3Ddaed5412-feb7-42ed-a925-f80e1c7782fb =
=20
/# swapon swapfile =20
kernel BUG in swp_entry_to_pte at include/linux/swapops.h:67! =
=20
Oops: Exception in kernel mode, sig: 5 [#1] =
=20
PREEMPT =
=20
NIP: C00562A0 LR: C0056284 SP: C0D59EE0 REGS: c0d59e30 TRAP: 0700 Not ta=
inted
MSR: 00029000 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 00 =
=20
TASK =3D c1c30430[928] 'swapon' THREAD: c0d58000 =
=20
Last syscall: 87 =
=20
GPR00: 00000400 C0D59EE0 C1C30430 00000000 00000001 0000000A C021B875 C033A=
C10 =20
GPR08: 00000001 010B6000 C1087258 C02D0000 00004000 1001BAA4 100C0000 100A0=
000 =20
GPR16: 00000000 100DC368 C02E0000 00000000 00000001 C1882000 C0C8EC20 00000=
000 =20
GPR24: C10871B4 C030A7C0 00004000 04000000 FFFFFFEA C10B6000 C02D8ABC C10B6=
FF6 =20
NIP [c00562a0] sys_swapon+0x588/0xa04 =
=20
LR [c0056284] sys_swapon+0x56c/0xa04 =
=20
Call trace: =
=20
[c0001a88] ret_from_syscall+0x0/0x48 =
=20
Trace/breakpoint trap =
=20
/# =20
Let me know what problem is.
Thanks in advice,
Youngchul.
reply other threads:[~2005-05-24 2:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ae4314c505052319206a37c6ed@mail.gmail.com \
--to=youngchul@gmail.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).