도와주세요!!
안녕하세요^^
UDP소켓을 통해서 1초마다 데이터를 송수신하고 있습니다. 한 3시간~12시간 사이에 다음과 같은 커널 패닉이 발생합니다.
고수님들의 분석 좀 부탁드리겠습니다.
CPU : intel PXA320
OS : Linux Kernel - Embedded Linux Kernel 2.6.21 version
디바이스 드라이브 insmod 는 부팅시에 호출되는 shell script에 의해
디바이스 드라이브 mknod는 실행프로그램에서 실행
감사합니다.
Unable to handle kernel paging request at virtual address 74726570
pgd = c6314000
[74726570] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in: ssp_ao ssp_ai gpio_dio
CPU: 0
PC is at __wake_up_common+0x1c/0x78
LR is at __wake_up+0x40/0x70
pc : [<c0040bc8>] lr : [<c0042000>] Not tainted
sp : c6313ca0 ip : 74726570 fp : c6313ccc
r10: c6312000 r9 : c6313cf0 r8 : c02e35b8
r7 : c0000080 r6 : c039a000 r5 : 00000035 r4 : 90000013
r3 : 00000000 r2 : 00000001 r1 : 00000003 r0 : c0000080
Flags: NzcV IRQs off FIQs on Mode SVC_32 Segment user
Control: 400397F
Table: 86314018 DAC: 00000015
Process ECS_V02 (pid: 830, stack limit = 0xc6312260)
Stack: (0xc6313ca0 to 0xc6314000)
3ca0: 00eee000 90000013 00000035 c039a000 00000035 c02e35b8 000001d0 c6312000
3cc0: c6313cec c6313cd0 c0042000 c0040bb8 c6313cf0 00000000 c6313cec c039a000
3ce0: c6313d04 c6313cf0 c005c82c c0041fcc c039a000 00000000 c6313d1c c6313d08
3d00: c006bde0 c005c804 000001d0 00000035 c6313dc4 c6313d20 c006db64 c006bd98
3d20: 00000001 c6313e98 00000001 00000205 c046f1a0 c58aea78 c0257350 c58ae9e0
3d40: 00000035 40022035 c6313f28 00000000 c021c2d0 00000000 00000000 35a4e900
3d60: c6312000 c6313da0 00000000 00eee1d0 c6313d9c c6313d80 c004b2bc c004aa68
3d80: 00007ca2 35a4e900 00000000 c58ae9e0 c6313dc4 54313da0 c00a4cd4 ffffffff
3da0: c58ae9e0 00eee1d0 00000000 00000035 00000000 00000035 c6313e4c c6313dc8
3dc0: c006e1b0 c006d57c 00eee205 00000000 c6313ee8 00000000 00000035 c6313e00
3de0: 00000000 c6313ee8 c6313f28 c6313e98 00000000 00000000 c046f1a0 c58aea78
3e00: 00000000 00000001 00000000 00000000 00000000 c046d2e0 c005c85c c6313e1c
3e20: c6313e1c c58aea4c c6313e98 c6313f28 c58ae9e0 00eee1d0 00000000 00000001
3e40: c6313e8c c6313e50 c006e2b0 c006dca8 00009c88 00000000 c046f1a0 c58aea78
3e60: 00000000 c6313e98 c046f1a0 c6313f78 00000035 c0026e68 c6312000 00000000
3e80: c6313f4c c6313e90 c008e0bc c006e244 00eee1d0 00000000 c6313ed8 beb5adcc
3ea0: 00000000 00000001 ffffffff c046f1a0 00000000 00000000 00000000 00000000
3ec0: c046d2e0 c6313ed8 00000000 00000000 c01d7eb0 c046d2e0 c005c85c c6313edc
3ee0: c6313edc 00000000 00eee1d0 00000000 c6313f2c 00000005 c6313f1c c6313f08
3f00: c0034060 00000035 c0026e68 00000008 c6313f4c c6313f20 c6313f54 c6313f28
3f20: c004f92c c0031f08 40022000 00000035 c046f1a0 c046f1a0 40022000 c6313f78
3f40: c6313f74 c6313f50 c008e9c8 c008e018 c005fe7c beb5abc0 c046f1a0 fffffff7
3f60: 00eee1d0 00000000 c6313fa4 c6313f78 c008efb0 c008e91c 00eee1d0 00000000
3f80: 00007ca2 00000000 00000035 40022000 0016a128 00000004 00000000 c6313fa8
3fa0: c0026cc0 c008ef78 00000035 40022000 00000010 40022000 00000035 00000000
3fc0: 00000035 40022000 0016a128 00000004 00000035 000e5968 000e5968 00000000
3fe0: 000e4d94 beb5ab78 40c363e0 40c8132c 60000010 00000010 ff000000 ff000000
Backtrace:
[<c0040bac>] (__wake_up_common+0x0/0x78) from [<c0042000>] (__wake_up+0x40/0x70)
[<c0041fc0>] (__wake_up+0x0/0x70) from [<c005c82c>] (__wake_up_bit+0x34/0x3c)
r4 = C039A000
[<c005c7f8>] (__wake_up_bit+0x0/0x3c) from [<c006bde0>] (unlock_page+0x54/0x60)
[<c006bd8c>] (unlock_page+0x0/0x60) from [<c006db64>] (generic_file_buffered_wri
te+0x5f4/0x72c)
r4 = 00000035
[<c006d570>] (generic_file_buffered_write+0x0/0x72c) from [<c006e1b0>] (__generi
c_file_aio_write_nolock+0x514/0x59c)
[<c006dc9c>] (__generic_file_aio_write_nolock+0x0/0x59c) from [<c006e2b0>] (gene
ric_file_aio_write+0x78/0xf4)
[<c006e238>] (generic_file_aio_write+0x0/0xf4) from [<c008e0bc>] (do_sync_write+
0xb0/0x100)
[<c008e00c>] (do_sync_write+0x0/0x100) from [<c008e9c8>] (vfs_write+0xb8/0x148)
r6 = C6313F78 r5 = 40022000 r4 = C046F1A0
[<c008e910>] (vfs_write+0x0/0x148) from [<c008efb0>] (sys_write+0x44/0x70)
r7 = 00000000 r6 = 00EEE1D0 r5 = FFFFFFF7 r4 = C046F1A0
[<c008ef6c>] (sys_write+0x0/0x70) from [<c0026cc0>] (ret_fast_syscall+0x0/0x2c)
r7 = 00000004 r6 = 0016A128 r5 = 40022000 r4 = 00000035
Code: e24dd004 e590c000 e59b9004 e1a07000 (e59c5000)
note: ECS_V02[830] exited with preempt_count 1
BUG: scheduling while atomic: ECS_V02/0x40000001/830
[<c002b43c>] (dump_stack+0x0/0x14) from [<c024dc04>] (schedule+0x64/0x678)
[<c024dba0>] (schedule+0x0/0x678) from [<c0041114>] (__cond_resched+0x28/0x44)
[<c00410ec>] (__cond_resched+0x0/0x44) from [<c024ed54>] (cond_resched+0x48/0x54
)
r4 = 00000001
[<c024ed0c>] (cond_resched+0x0/0x54) from [<c0079de8>] (unmap_vmas+0x4f4/0x5e0)
r4 = C03CDB60
[<c00798f4>] (unmap_vmas+0x0/0x5e0) from [<c007d500>] (exit_mmap+0x80/0x154)
[<c007d480>] (exit_mmap+0x0/0x154) from [<c0043638>] (mmput+0x44/0xf8)
r7 = C046D2E0 r6 = C001E3B4 r5 = C001E380 r4 = C001E380
[<c00435f4>] (mmput+0x0/0xf8) from [<c00479a0>] (exit_mm+0xfc/0x108)
r4 = C6312000
[<c00478a4>] (exit_mm+0x0/0x108) from [<c00492c4>] (do_exit+0x1f4/0x90c)
r7 = 00000001 r6 = 00000008 r5 = C046D2E0 r4 = C6312000
[<c00490d0>] (do_exit+0x0/0x90c) from [<c002b318>] (die+0x280/0x2f0)
[<c002b098>] (die+0x0/0x2f0) from [<c002d9cc>] (__do_kernel_fault+0x6c/0x80)
[<c002d960>] (__do_kernel_fault+0x0/0x80) from [<c002dbec>] (do_page_fault+0x20c
/0x238)
r7 = C046D2E0 r6 = 00000005 r5 = 00001D18 r4 = FFFFFFFF
[<c002d9e0>] (do_page_fault+0x0/0x238) from [<c002dccc>] (do_translation_fault+0
x20/0x80)
[<c002dcac>] (do_translation_fault+0x0/0x80) from [<c002dd84>] (do_DataAbort+0x3
c/0xa0)
r5 = C02E3404 r4 = FFFFFFFF
[<c002dd48>] (do_DataAbort+0x0/0xa0) from [<c002680c>] (__dabt_svc+0x4c/0x60)
r8 = C02E35B8 r7 = C0000080 r6 = C039A000 r5 = C6313C8C
r4 = FFFFFFFF
[<c0040bac>] (__wake_up_common+0x0/0x78) from [<c0042000>] (__wake_up+0x40/0x70)
[<c0041fc0>] (__wake_up+0x0/0x70) from [<c005c82c>] (__wake_up_bit+0x34/0x3c)
r4 = C039A000
[<c005c7f8>] (__wake_up_bit+0x0/0x3c) from [<c006bde0>] (unlock_page+0x54/0x60)
[<c006bd8c>] (unlock_page+0x0/0x60) from [<c006db64>] (generic_file_buffered_wri
te+0x5f4/0x72c)
r4 = 00000035
[<c006d570>] (generic_file_buffered_write+0x0/0x72c) from [<c006e1b0>] (__generi
c_file_aio_write_nolock+0x514/0x59c)
[<c006dc9c>] (__generic_file_aio_write_nolock+0x0/0x59c) from [<c006e2b0>] (gene
ric_file_aio_write+0x78/0xf4)
[<c006e238>] (generic_file_aio_write+0x0/0xf4) from [<c008e0bc>] (do_sync_write+
0xb0/0x100)
[<c008e00c>] (do_sync_write+0x0/0x100) from [<c008e9c8>] (vfs_write+0xb8/0x148)
r6 = C6313F78 r5 = 40022000 r4 = C046F1A0
[<c008e910>] (vfs_write+0x0/0x148) from [<c008efb0>] (sys_write+0x44/0x70)
r7 = 00000000 r6 = 00EEE1D0 r5 = FFFFFFF7 r4 = C046F1A0
[<c008ef6c>] (sys_write+0x0/0x70) from [<c0026cc0>] (ret_fast_syscall+0x0/0x2c)
r7 = 00000004 r6 = 0016A128 r5 = 40022000 r4 = 00000035
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 17 [#2]
Modules linked in: ssp_ao ssp_ai gpio_dio
CPU: 0
PC is at __wake_up_common+0x1c/0x78
LR is at __wake_up+0x40/0x70
pc : [<c0040bc8>] lr : [<c0042000>] Not tainted
sp : c6313878 ip : 00000000 fp : c63138a4
r10: c04b1140 r9 : c63138c8 r8 : 00000000
r7 : c0000300 r6 : 00000000 r5 : 00000000 r4 : 00000013
r3 : 00000000 r2 : 00000001 r1 : 00000003 r0 : c0000300
Flags: nzcv IRQs off FIQs on Mode SVC_32 Segment user
Control: 400397F
Table: 86314018 DAC: 00000015
Process ECS_V02 (pid: 830, stack limit = 0xc6312260)
Stack: (0xc6313878 to 0xc6314000)
3860: c6313944 00000013
3880: 00000000 00000000 c6313908 00000000 00000000 c04b1140 c63138c4 c63138a8
38a0: c0042000 c0040bb8 c63138c8 c0142b50 c6312000 c03d3b60 c63138dc c63138c8
38c0: c005c82c c0041fcc c03d3b60 00000000 c63138f4 c63138e0 c006bde0 c005c804
38e0: 65006574 c03d3b60 c6313974 c63138f8 c0075144 c006bd98 00000000 00000000
3900: c6313984 ffffffff 00000001 00000000 c03d3b60 0000000c c046d2e0 e92dd8f0
3920: 00000004 c6313f84 00000000 0000000c c6312000 000db000 c631395c c6313948
3940: c0046740 c0046360 002a1ed8 ffffffff ffffffff c04b10a8 c0514320 c04344a0
3960: c046d2e0 c6313c58 c6313994 c6313978 c00753d0 c0075064 ffffffff ffffffff
3980: c04b10a8 c00894d0 c63139bc c6313998 c0089510 c00753bc 00010000 c04b10a8
39a0: c00894d0 c04b10a8 c729c1d8 c04344a0 c63139d4 c63139c0 c00a4164 c00894dc
39c0: c04b10a8 c729c1d8 c63139ec c63139d8 c00a3724 c00a40c4 c04344a0 c6312000
39e0: c6313a14 c63139f0 c00a088c c00a36a0 00000000 00000000 c6313a34 c729c1d8
3a00: 00000000 c6312000 c6313a34 c6313a18 c00a1a58 c00a07b8 c01266ec c7934c20
3a20: 00000000 c04b10a8 c6313a64 c6313a38 c008f528 c00a187c 00000000 c6313a48
3a40: c01266c8 c627a498 c627a390 c627a498 c001e380 0000000b c6313a74 c6313a68
3a60: c008f6b4 c008f3a4 c6313a8c c6313a78 c007d464 c008f68c c6313a9c 00000000
3a80: c6313abc c6313a90 c007d598 c007d430 c6313a98 00000000 00000c4b c02fc39c
3aa0: c001e380 c001e380 c001e3b4 c046d2e0 c6313ad4 c6313ac0 c0043638 c007d48c
3ac0: c0060134 c6312000 c6313af4 c6313ad8 c00479a0 c0043600 c6312000 c046d2e0
3ae0: 00000008 00000001 c6313b14 c6313af8 c00492c4 c00478b0 c6313c58 c6313b2c
3b00: c02e69f8 00000000 c6313b2c c6313b18 c002b318 c00490dc c6313c58 bf000000
3b20: c6313b4c c6313b30 c002d9cc c002b0a4 ffffffff 00001d18 00000005 c046d2e0
3b40: c6313b8c c6313b50 c002dbec c002d96c 00000000 00000000 00000800 00000005
3b60: c78fb000 ffffffff 00001d18 00000005 c6313c58 74726570 50000093 c6312000
3b80: c6313ba4 c6313b90 c002dccc c002d9ec ffffffff c02e3404 c6313c54 c6313ba8
3ba0: c002dd84 c002dcb8 c6312000 c6312000 c7ebb6a4 c78fb000 c6313bf4 c6313bc8
3bc0: c0116d4c c012080c c7f3f9f8 c40001d0 00000000 c5fd1528 021aaaac 00000000
3be0: 021aaaac c78fb000 c6313c5c c4fb1878 c4fb1878 c4fb1a40 c58ae9c4 c4f9e6d8
3c00: c6313c2c c6313c10 c0114ca0 c0142e58 c4fb1878 c4fb1a40 c58ae9c4 c78fb000
3c20: c6313c44 c6313c30 c011e9b8 c0116114 00eee1d0 ffffffff c6313c8c c039a000
3c40: c0000080 c02e35b8 c6313ccc c6313c58 c002680c c002dd54 c0000080 00000003
3c60: 00000001 00000000 90000013 00000035 c039a000 c0000080 c02e35b8 c6313cf0
3c80: c6312000 c6313ccc 74726570 c6313ca0 c0042000 c0040bc8 90000093 ffffffff
3ca0: 00eee000 90000013 00000035 c039a000 00000035 c02e35b8 000001d0 c6312000
3cc0: c6313cec c6313cd0 c0042000 c0040bb8 c6313cf0 00000000 c6313cec c039a000
3ce0: c6313d04 c6313cf0 c005c82c c0041fcc c039a000 00000000 c6313d1c c6313d08
3d00: c006bde0 c005c804 000001d0 00000035 c6313dc4 c6313d20 c006db64 c006bd98
3d20: 00000001 c6313e98 00000001 00000205 c046f1a0 c58aea78 c0257350 c58ae9e0
3d40: 00000035 40022035 c6313f28 00000000 c021c2d0 00000000 00000000 35a4e900
3d60: c6312000 c6313da0 00000000 00eee1d0 c6313d9c c6313d80 c004b2bc c004aa68
3d80: 00007ca2 35a4e900 00000000 c58ae9e0 c6313dc4 54313da0 c00a4cd4 ffffffff
3da0: c58ae9e0 00eee1d0 00000000 00000035 00000000 00000035 c6313e4c c6313dc8
3dc0: c006e1b0 c006d57c 00eee205 00000000 c6313ee8 00000000 00000035 c6313e00
3de0: 00000000 c6313ee8 c6313f28 c6313e98 00000000 00000000 c046f1a0 c58aea78
3e00: 00000000 00000001 00000000 00000000 00000000 c046d2e0 c005c85c c6313e1c
3e20: c6313e1c c58aea4c c6313e98 c6313f28 c58ae9e0 00eee1d0 00000000 00000001
3e40: c6313e8c c6313e50 c006e2b0 c006dca8 00009c88 00000000 c046f1a0 c58aea78
3e60: 00000000 c6313e98 c046f1a0 c6313f78 00000035 c0026e68 c6312000 00000000
3e80: c6313f4c c6313e90 c008e0bc c006e244 00eee1d0 00000000 c6313ed8 beb5adcc
3ea0: 00000000 00000001 ffffffff c046f1a0 00000000 00000000 00000000 00000000
3ec0: c046d2e0 c6313ed8 00000000 00000000 c01d7eb0 c046d2e0 c005c85c c6313edc
3ee0: c6313edc 00000000 00eee1d0 00000000 c6313f2c 00000005 c6313f1c c6313f08
3f00: c0034060 00000035 c0026e68 00000008 c6313f4c c6313f20 c6313f54 c6313f28
3f20: c004f92c c0031f08 40022000 00000035 c046f1a0 c046f1a0 40022000 c6313f78
3f40: c6313f74 c6313f50 c008e9c8 c008e018 c005fe7c beb5abc0 c046f1a0 fffffff7
3f60: 00eee1d0 00000000 c6313fa4 c6313f78 c008efb0 c008e91c 00eee1d0 00000000
3f80: 00007ca2 00000000 00000035 40022000 0016a128 00000004 00000000 c6313fa8
3fa0: c0026cc0 c008ef78 00000035 40022000 00000010 40022000 00000035 00000000
3fc0: 00000035 40022000 0016a128 00000004 00000035 000e5968 000e5968 00000000
3fe0: 000e4d94 beb5ab78 40c363e0 40c8132c 60000010 00000010 ff000000 ff000000
Backtrace:
[<c0040bac>] (__wake_up_common+0x0/0x78) from [<c0042000>] (__wake_up+0x40/0x70)
[<c0041fc0>] (__wake_up+0x0/0x70) from [<c005c82c>] (__wake_up_bit+0x34/0x3c)
r4 = C03D3B60
[<c005c7f8>] (__wake_up_bit+0x0/0x3c) from [<c006bde0>] (unlock_page+0x54/0x60)
[<c006bd8c>] (unlock_page+0x0/0x60) from [<c0075144>] (truncate_inode_pages_rang
e+0xec/0x358)
r4 = C03D3B60
[<c0075058>] (truncate_inode_pages_range+0x0/0x358) from [<c00753d0>] (truncate_
inode_pages+0x20/0x28)
[<c00753b0>] (truncate_inode_pages+0x0/0x28) from [<c0089510>] (shmem_delete_ino
de+0x40/0x18c)
r5 = C00894D0 r4 = C04B10A8
[<c00894d0>] (shmem_delete_inode+0x0/0x18c) from [<c00a4164>] (generic_delete_in
ode+0xac/0x160)
r8 = C04344A0 r7 = C729C1D8 r6 = C04B10A8 r5 = C00894D0
r4 = C04B10A8
[<c00a40b8>] (generic_delete_inode+0x0/0x160) from [<c00a3724>] (iput+0x90/0xa4)
r5 = C729C1D8 r4 = C04B10A8
[<c00a3694>] (iput+0x0/0xa4) from [<c00a088c>] (dentry_iput+0xe0/0x128)
r4 = C6312000
[<c00a07ac>] (dentry_iput+0x0/0x128) from [<c00a1a58>] (dput+0x1e8/0x218)
r6 = C6312000 r5 = 00000000 r4 = C729C1D8
[<c00a1870>] (dput+0x0/0x218) from [<c008f528>] (__fput+0x190/0x1b4)
r6 = C04B10A8 r5 = 00000000 r4 = C7934C20
[<c008f398>] (__fput+0x0/0x1b4) from [<c008f6b4>] (fput+0x34/0x38)
r8 = 0000000B r7 = C001E380 r6 = C627A498 r5 = C627A390
r4 = C627A498
[<c008f680>] (fput+0x0/0x38) from [<c007d464>] (remove_vma+0x40/0x5c)
[<c007d424>] (remove_vma+0x0/0x5c) from [<c007d598>] (exit_mmap+0x118/0x154)
r5 = 00000000 r4 = C6313A9C
[<c007d480>] (exit_mmap+0x0/0x154) from [<c0043638>] (mmput+0x44/0xf8)
r7 = C046D2E0 r6 = C001E3B4 r5 = C001E380 r4 = C001E380
[<c00435f4>] (mmput+0x0/0xf8) from [<c00479a0>] (exit_mm+0xfc/0x108)
r4 = C6312000
[<c00478a4>] (exit_mm+0x0/0x108) from [<c00492c4>] (do_exit+0x1f4/0x90c)
r7 = 00000001 r6 = 00000008 r5 = C046D2E0 r4 = C6312000
[<c00490d0>] (do_exit+0x0/0x90c) from [<c002b318>] (die+0x280/0x2f0)
[<c002b098>] (die+0x0/0x2f0) from [<c002d9cc>] (__do_kernel_fault+0x6c/0x80)
[<c002d960>] (__do_kernel_fault+0x0/0x80) from [<c002dbec>] (do_page_fault+0x20c
/0x238)
r7 = C046D2E0 r6 = 00000005 r5 = 00001D18 r4 = FFFFFFFF
[<c002d9e0>] (do_page_fault+0x0/0x238) from [<c002dccc>] (do_translation_fault+0
x20/0x80)
[<c002dcac>] (do_translation_fault+0x0/0x80) from [<c002dd84>] (do_DataAbort+0x3
c/0xa0)
r5 = C02E3404 r4 = FFFFFFFF
[<c002dd48>] (do_DataAbort+0x0/0xa0) from [<c002680c>] (__dabt_svc+0x4c/0x60)
r8 = C02E35B8 r7 = C0000080 r6 = C039A000 r5 = C6313C8C
r4 = FFFFFFFF
[<c0040bac>] (__wake_up_common+0x0/0x78) from [<c0042000>] (__wake_up+0x40/0x70)
[<c0041fc0>] (__wake_up+0x0/0x70) from [<c005c82c>] (__wake_up_bit+0x34/0x3c)
r4 = C039A000
[<c005c7f8>] (__wake_up_bit+0x0/0x3c) from [<c006bde0>] (unlock_page+0x54/0x60)
[<c006bd8c>] (unlock_page+0x0/0x60) from [<c006db64>] (generic_file_buffered_wri
te+0x5f4/0x72c)
r4 = 00000035
[<c006d570>] (generic_file_buffered_write+0x0/0x72c) from [<c006e1b0>] (__generi
c_file_aio_write_nolock+0x514/0x59c)
[<c006dc9c>] (__generic_file_aio_write_nolock+0x0/0x59c) from [<c006e2b0>] (gene
ric_file_aio_write+0x78/0xf4)
[<c006e238>] (generic_file_aio_write+0x0/0xf4) from [<c008e0bc>] (do_sync_write+
0xb0/0x100)
[<c008e00c>] (do_sync_write+0x0/0x100) from [<c008e9c8>] (vfs_write+0xb8/0x148)
r6 = C6313F78 r5 = 40022000 r4 = C046F1A0
[<c008e910>] (vfs_write+0x0/0x148) from [<c008efb0>] (sys_write+0x44/0x70)
r7 = 00000000 r6 = 00EEE1D0 r5 = FFFFFFF7 r4 = C046F1A0
[<c008ef6c>] (sys_write+0x0/0x70) from [<c0026cc0>] (ret_fast_syscall+0x0/0x2c)
r7 = 00000004 r6 = 0016A128 r5 = 40022000 r4 = 00000035
Code: e24dd004 e590c000 e59b9004 e1a07000 (e59c5000)
Fixing recursive fault but reboot is needed!
BUG: scheduling while atomic: ECS_V02/0x00000002/830
[<c002b43c>] (dump_stack+0x0/0x14) from [<c024dc04>] (schedule+0x64/0x678)
[<c024dba0>] (schedule+0x0/0x678) from [<c00491e4>] (do_exit+0x114/0x90c)
[<c00490d0>] (do_exit+0x0/0x90c) from [<c002b318>] (die+0x280/0x2f0)
[<c002b098>] (die+0x0/0x2f0) from [<c002d9cc>] (__do_kernel_fault+0x6c/0x80)
[<c002d960>] (__do_kernel_fault+0x0/0x80) from [<c002dbec>] (do_page_fault+0x20c
/0x238)
r7 = C046D2E0 r6 = 00000017 r5 = C02E3424 r4 = FFFFFFFF
[<c002d9e0>] (do_page_fault+0x0/0x238) from [<c002dd84>] (do_DataAbort+0x3c/0xa0
)
[<c002dd48>] (do_DataAbort+0x0/0xa0) from [<c002680c>] (__dabt_svc+0x4c/0x60)
r8 = 00000000 r7 = C0000300 r6 = 00000000 r5 = C6313864
r4 = FFFFFFFF
[<c0040bac>] (__wake_up_common+0x0/0x78) from [<c0042000>] (__wake_up+0x40/0x70)
[<c0041fc0>] (__wake_up+0x0/0x70) from [<c005c82c>] (__wake_up_bit+0x34/0x3c)
r4 = C03D3B60
[<c005c7f8>] (__wake_up_bit+0x0/0x3c) from [<c006bde0>] (unlock_page+0x54/0x60)
[<c006bd8c>] (unlock_page+0x0/0x60) from [<c0075144>] (truncate_inode_pages_rang
e+0xec/0x358)
r4 = C03D3B60
[<c0075058>] (truncate_inode_pages_range+0x0/0x358) from [<c00753d0>] (truncate_
inode_pages+0x20/0x28)
[<c00753b0>] (truncate_inode_pages+0x0/0x28) from [<c0089510>] (shmem_delete_ino
de+0x40/0x18c)
r5 = C00894D0 r4 = C04B10A8
[<c00894d0>] (shmem_delete_inode+0x0/0x18c) from [<c00a4164>] (generic_delete_in
ode+0xac/0x160)
r8 = C04344A0 r7 = C729C1D8 r6 = C04B10A8 r5 = C00894D0
r4 = C04B10A8
[<c00a40b8>] (generic_delete_inode+0x0/0x160) from [<c00a3724>] (iput+0x90/0xa4)
r5 = C729C1D8 r4 = C04B10A8
[<c00a3694>] (iput+0x0/0xa4) from [<c00a088c>] (dentry_iput+0xe0/0x128)
r4 = C6312000
[<c00a07ac>] (dentry_iput+0x0/0x128) from [<c00a1a58>] (dput+0x1e8/0x218)
r6 = C6312000 r5 = 00000000 r4 = C729C1D8
[<c00a1870>] (dput+0x0/0x218) from [<c008f528>] (__fput+0x190/0x1b4)
r6 = C04B10A8 r5 = 00000000 r4 = C7934C20
[<c008f398>] (__fput+0x0/0x1b4) from [<c008f6b4>] (fput+0x34/0x38)
r8 = 0000000B r7 = C001E380 r6 = C627A498 r5 = C627A390
r4 = C627A498
[<c008f680>] (fput+0x0/0x38) from [<c007d464>] (remove_vma+0x40/0x5c)
[<c007d424>] (remove_vma+0x0/0x5c) from [<c007d598>] (exit_mmap+0x118/0x154)
r5 = 00000000 r4 = C6313A9C
[<c007d480>] (exit_mmap+0x0/0x154) from [<c0043638>] (mmput+0x44/0xf8)
r7 = C046D2E0 r6 = C001E3B4 r5 = C001E380 r4 = C001E380
[<c00435f4>] (mmput+0x0/0xf8) from [<c00479a0>] (exit_mm+0xfc/0x108)
r4 = C6312000
[<c00478a4>] (exit_mm+0x0/0x108) from [<c00492c4>] (do_exit+0x1f4/0x90c)
r7 = 00000001 r6 = 00000008 r5 = C046D2E0 r4 = C6312000
[<c00490d0>] (do_exit+0x0/0x90c) from [<c002b318>] (die+0x280/0x2f0)
[<c002b098>] (die+0x0/0x2f0) from [<c002d9cc>] (__do_kernel_fault+0x6c/0x80)
[<c002d960>] (__do_kernel_fault+0x0/0x80) from [<c002dbec>] (do_page_fault+0x20c
/0x238)
r7 = C046D2E0 r6 = 00000005 r5 = 00001D18 r4 = FFFFFFFF
[<c002d9e0>] (do_page_fault+0x0/0x238) from [<c002dccc>] (do_translation_fault+0
x20/0x80)
[<c002dcac>] (do_translation_fault+0x0/0x80) from [<c002dd84>] (do_DataAbort+0x3
c/0xa0)
r5 = C02E3404 r4 = FFFFFFFF
[<c002dd48>] (do_DataAbort+0x0/0xa0) from [<c002680c>] (__dabt_svc+0x4c/0x60)
r8 = C02E35B8 r7 = C0000080 r6 = C039A000 r5 = C6313C8C
r4 = FFFFFFFF
[<c0040bac>] (__wake_up_common+0x0/0x78) from [<c0042000>] (__wake_up+0x40/0x70)
[<c0041fc0>] (__wake_up+0x0/0x70) from [<c005c82c>] (__wake_up_bit+0x34/0x3c)
r4 = C039A000
[<c005c7f8>] (__wake_up_bit+0x0/0x3c) from [<c006bde0>] (unlock_page+0x54/0x60)
[<c006bd8c>] (unlock_page+0x0/0x60) from [<c006db64>] (generic_file_buffered_wri
te+0x5f4/0x72c)
r4 = 00000035
[<c006d570>] (generic_file_buffered_write+0x0/0x72c) from [<c006e1b0>] (__generi
c_file_aio_write_nolock+0x514/0x59c)
[<c006dc9c>] (__generic_file_aio_write_nolock+0x0/0x59c) from [<c006e2b0>] (gene
ric_file_aio_write+0x78/0xf4)
[<c006e238>] (generic_file_aio_write+0x0/0xf4) from [<c008e0bc>] (do_sync_write+
0xb0/0x100)
[<c008e00c>] (do_sync_write+0x0/0x100) from [<c008e9c8>] (vfs_write+0xb8/0x148)
r6 = C6313F78 r5 = 40022000 r4 = C046F1A0
[<c008e910>] (vfs_write+0x0/0x148) from [<c008efb0>] (sys_write+0x44/0x70)
r7 = 00000000 r6 = 00EEE1D0 r5 = FFFFFFF7 r4 = C046F1A0
[<c008ef6c>] (sys_write+0x0/0x70) from [<c0026cc0>] (ret_fast_syscall+0x0/0x2c)
r7 = 00000004 r6 = 0016A128 r5 = 40022000 r4 = 00000035
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 17 [#3]
Modules linked in: ssp_ao ssp_ai gpio_dio
CPU: 0
PC is at __wake_up_common+0x1c/0x78
LR is at __wake_up+0x40/0x70
pc : [<c0040bc8>] lr : [<c0042000>] Not tainted
sp : c051de18 ip : 00000000 fp : c051de44
r10: 00000000 r9 : c051de68 r8 : c58aea78
r7 : c00002f8 r6 : 00000000 r5 : 00000003 r4 : 00000013
r3 : 00000000 r2 : 00000001 r1 : 00000003 r0 : c00002f8
Flags: nzcv IRQs off FIQs on Mode SVC_32 Segment kernel
Control: 400397F
Table: 86314018 DAC: 00000017
Process pdflush (pid: 64, stack limit = 0xc051c260)
Stack: (0xc051de18 to 0xc051e000)
de00: 02ac0000 00000013
de20: 00000003 00000000 c7980e00 c58aea78 c051df48 00000000 c051de64 c051de48
de40: c0042000 c0040bb8 c051de68 c7ebc578 c051de9c c58aeaf0 c051de7c c051de68
de60: c005c82c c0041fcc c58aeaf0 00000003 c051de94 c051de80 c005c858 c005c804
de80: 00000001 c58ae9e0 c051dea4 c051de98 c00a3658 c005c840 c051def4 c051dea8
dea0: c00ae950 c00a364c c4f93000 00000de8 c03dcb80 00000000 c78fb0f4 c78fb0c0
dec0: 00000000 c78fb000 c78fb02c c7980e00 c58ae9e0 c02e7f48 c051df48 c051c000
dee0: 003030e3 00000000 c051df24 c051def8 c00aec38 c00ae5bc c7980e40 c7980e00
df00: c051c000 c7980e40 c051df48 00000000 00000000 00000000 c051df44 c051df28
df20: c00af2ec c00aea60 000004a1 003032d7 c02e7f40 c02e7628 c051df94 c051df48
df40: c0072aa0 c00af248 00000000 00000000 c051df7c 00000400 00000000 00000000
df60: 00000000 00000000 00000000 00000000 00000025 00000000 c02e7628 0030252b
df80: c051c000 c051dfa4 c051dfcc c051df98 c0073200 c00729f8 c050d300 c00729ec
dfa0: 00000000 c051dfa4 c051dfa4 00302eef 00000000 c051c000 c044ff2c c007309c
dfc0: c051dff4 c051dfd0 c005c72c c00730a8 ffffffff ffffffff 00000000 00000000
dfe0: 00000000 00000000 00000000 c051dff8 c00490d0 c005c650 00000000 00000000
Backtrace:
[<c0040bac>] (__wake_up_common+0x0/0x78) from [<c0042000>] (__wake_up+0x40/0x70)
[<c0041fc0>] (__wake_up+0x0/0x70) from [<c005c82c>] (__wake_up_bit+0x34/0x3c)
r4 = C58AEAF0
[<c005c7f8>] (__wake_up_bit+0x0/0x3c) from [<c005c858>] (wake_up_bit+0x24/0x28)
[<c005c834>] (wake_up_bit+0x0/0x28) from [<c00a3658>] (wake_up_inode+0x18/0x1c)
r5 = C58AE9E0 r4 = 00000001
[<c00a3640>] (wake_up_inode+0x0/0x1c) from [<c00ae950>] (__writeback_single_inod
e+0x3a0/0x3cc)
[<c00ae5b0>] (__writeback_single_inode+0x0/0x3cc) from [<c00aec38>] (sync_sb_ino
des+0x1e4/0x2d8)
[<c00aea54>] (sync_sb_inodes+0x0/0x2d8) from [<c00af2ec>] (writeback_inodes+0xb0
/0x138)
[<c00af23c>] (writeback_inodes+0x0/0x138) from [<c0072aa0>] (wb_kupdate+0xb4/0x1
44)
r7 = C02E7628 r6 = C02E7F40 r5 = 003032D7 r4 = 000004A1
[<c00729ec>] (wb_kupdate+0x0/0x144) from [<c0073200>] (pdflush+0x164/0x260)
r5 = C051DFA4 r4 = C051C000
[<c007309c>] (pdflush+0x0/0x260) from [<c005c72c>] (kthread+0xe8/0x128)
r7 = C007309C r6 = C044FF2C r5 = C051C000 r4 = 00000000
[<c005c644>] (kthread+0x0/0x128) from [<c00490d0>] (do_exit+0x0/0x90c)
r7 = 00000000 r6 = 00000000 r5 = 00000000 r4 = 00000000
Code: e24dd004 e590c000 e59b9004 e1a07000 (e59c5000)
note: pdflush[64] exited with preempt_count 2
로그내용을 바서는 파일접근시 에러가 난것 같군요
작성하신 드라이버는 올리지 마시고 테스트하세요
동일한 에러가 발생한다면 드라이버 문제는 아니겠죠.
질문주신 내용만으로 에러는 판단하기 어렵네요
파일시스템을 램디스크로 사용한 상태에서 테스트 해보세요
의심되는 모든 것들을 하나씩 제거하면서 테스트 해야 할것 같습니다.