도와주세요!!
AU1250을 사용하고 있습니다.
그런데, 사용도중에 프로세스가 세그먼트 폴트로 죽는 현상이 발생합니다.
다음은 ps 명령을 했을 때 발생하는 오류 메세지 입니다.
[root@falinux ~]$ ps
PID Uid VUnhandled kernel unaligned access[#4]:
Cpu 0
$ 0 : 00000000 1000fc00 2acb7310 0000002e
$ 4 : 80500000 0000000e 00003fff 83b97009
$ 8 : 80518320 804ee9ec ffffffe0 00001000
$12 : 80490000 80502670 00000400 6d6f682f
$16 : 0000002e 83ba9304 01c5a71f 83b60dec
$20 : 8137dd38 00000004 83b97009 00000000
$24 : 00000000 2ac6fbd0
$28 : 8137c000 8137dcb0 00000001 8018d2c4
Hi : 00000000
Lo : 00000000
epc : 8019b710 __d_lookup+0x9c/0x1e4 Not tainted
ra : 8018d2c4 do_lookup+0x40/0x21c
Status: 1000fc03 KERNEL EXL IE
Cause : 00800010
BadVA : 0000002e
PrId : 04030202
Modules linked in:
Process ps (pid: 30912, threadinfo=8137c000, task=80531c00)
Stack : 805182a0 00000000 8137dd30 8018cf7c 00000000 8137dea8 8137dd38 8137dd30
805182a0 00000001 8137dd38 00000101 8018d2c4 8018d32c 00000000 00000000
38700e32 05f5e0ff 00000000 83b9700d 8137dd38 8137dea8 83b97000 00000001
00000000 00000101 8018e260 8018ded4 38700e32 00000000 0000022c 8101c780
805182a0 83b60dec 01c5a71f 00000004 83b97009 83bb97d8 80523ae0 8137dea8
...
Call Trace:
[<8019b710>] __d_lookup+0x9c/0x1e4
[<8018d2c4>] do_lookup+0x40/0x21c
[<8018e260>] __link_path_walk+0xb68/0x1678
[<8018ee50>] link_path_walk+0xe0/0x35c
[<8018f218>] do_path_lookup+0x14c/0x560
[<8018f774>] __path_lookup_intent_open+0x60/0xc8
[<80190230>] open_namei+0x94/0xa00
[<80182b74>] do_filp_open+0x2c/0x78
[<80183068>] do_sys_open+0x90/0x104
[<8010c6a0>] stack_done+0x20/0x3c
Code: 02e01021 1060001c 00608021 <8e030000> cc600000 2611fff4 8e220018 1452
fff9 00000000
mSize Stat Command
1 root 616 S init [3]
2 root SWN [ksoftirqd/0]
3 root SW< [events/0]
4 root SW< [khelper]
5 root SW< [kthread]
Segmentation fault
-------------------------------------------------------------------------
그리고, 다음은 부팅하다가 segment fault 메세지가 일어나네요.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 160k freed
Algorithmics/MIPS FPU Emulator v1.5
INIT: version 2.86 booting
INIT: Entering runlevel: 3
Segmentation fault
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting y
프로그램은 QT-embedded를 이용하는 모니터링 프로그램을 돌리고 있습니다.
답변 부탁드립니다.