TI中文支持网
TI专业的中文技术问题搜集分享网站

DM8168 ti81xxvo.ko驱动加载失败问题

请麻烦帮看一下下面问题是什么原因造成?谢谢

root@dm816x-evm:~# insmod /lib/modules/2.6.37/kernel/drivers/media/video/ti81xx/
ti81xxvo.ko video1_numbuffers=3 video2_numbuffers=3 video3_numbuffers=3 video1_
bufsize=4147200 video2_bufsize=4147200 video3_bufsize=4147200

insmod: page allocation failure. order:10, mode:0xd1
Backtrace:[<c004abdc>] (dump_backtrace+0x0/0x110) from [<c03c8be4>] (dump_stack+0x18/0x1c)
r7:00000000 r6:000000d1 r5:00000001 r4:00000000
[<c03c8bcc>] (dump_stack+0x0/0x1c) from [<c00a5cc8>] (__alloc_pages_nodemask+0x4c8/0x51c)
[<c00a5800>] (__alloc_pages_nodemask+0x0/0x51c) from [<c00a5d34>] (__get_free_pages+0x18/0x30)
[<c00a5d1c>] (__get_free_pages+0x0/0x30) from [<bf1c9f88>] (ti81xx_vidout_alloc_buffer+0x40/0xac [ti81xxvo])
[<bf1c9f48>] (ti81xx_vidout_alloc_buffer+0x0/0xac [ti81xxvo]) from [<bf1cc0f0>] (ti81xx_vidout_probe+0x35c/0x52c [ti81xxvo])
r5:c2804400 r4:c2804408
[<bf1cbd94>] (ti81xx_vidout_probe+0x0/0x52c [ti81xxvo]) from [<c020eac8>] (platform_drv_probe+0x20/0x24)
[<c020eaa8>] (platform_drv_probe+0x0/0x24) from [<c020da34>] (driver_probe_device+0xd0/0x190)
[<c020d964>] (driver_probe_device+0x0/0x190) from [<c020db5c>] (__driver_attach+0x68/0x8c)
r7:c4b9b000 r6:bf1cd450 r5:c0530db4 r4:c0530d80
[<c020daf4>] (__driver_attach+0x0/0x8c) from [<c020d1e0>] (bus_for_each_dev+0x50/0x84)
r7:c4b9b000 r6:bf1cd450 r5:c020daf4 r4:00000000
[<c020d190>] (bus_for_each_dev+0x0/0x84) from [<c020d858>] (driver_attach+0x20/0x28)
r6:bf1cd450 r5:bf1cd4b4 r4:00000000
[<c020d838>] (driver_attach+0x0/0x28) from [<c020cab8>] (bus_add_driver+0xb4/0x234)
[<c020ca04>] (bus_add_driver+0x0/0x234) from [<c020de94>] (driver_register+0xb0/0x13c)
[<c020dde4>] (driver_register+0x0/0x13c) from [<c020edb4>] (platform_driver_register+0x4c/0x60)
r9:c4a88000 r8:bf1d1000 r7:00012090 r6:00012008 r5:bf1cd4b4
r4:00000000
[<c020ed68>] (platform_driver_register+0x0/0x60) from [<bf1d1014>] (ti81xx_vidout_init+0x14/0x34 [ti81xxvo])
[<bf1d1000>] (ti81xx_vidout_init+0x0/0x34 [ti81xxvo]) from [<c003c42c>] (do_one_initcall+0xd0/0x1a4)
[<c003c35c>] (do_one_initcall+0x0/0x1a4) from [<c00998e4>] (sys_init_module+0x9c/0x1bc)
[<c0099848>] (sys_init_module+0x0/0x1bc) from [<c0046e00>] (ret_fast_syscall+0x0/0x30)
r7:00000080 r6:00000003 r5:00010000 r4:00000000
Mem-info:
Normal per-cpu:
CPU 0: hi: 18, btch: 3 usd: 0
active_anon:302 inactive_anon:29 isolated_anon:0
active_file:563 inactive_file:6219 isolated_file:0
unevictable:0 dirty:0 writeback:0 unstable:0
free:2098 slab_reclaimable:707 slab_unreclaimable:812
mapped:299 shmem:33 pagetables:48 bounce:0
Normal free:8392kB min:1120kB low:1400kB high:1680kB active_anon:1208kB inactive_anon:116kB active_file:2252kB inactive_file:24876kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:78848kB mlocked:0kB dirty:0kB writeback:0kB mapped:1196kB shmem:132kB slab_reclaimable:2828kB slab_unreclaimable:3248kB kernel_stack:384kB pagetables:192kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0
Normal: 58*4kB 38*8kB 29*16kB 5*32kB 9*64kB 4*128kB 0*256kB 0*512kB 2*1024kB 2*2048kB 0*4096kB = 8392kB
6815 total pagecache pages
32768 pages of RAM
2245 free pages
19544 reserved pages
1204 slab pages
1286 pages shared
0 pages swap cached
t81xx_vidout: probe of t81xx_vidout failed with error -12
Unable to handle kernel paging request at virtual address 41007479
pgd = c2814000
[41007479] *pgd=00000000
Internal error: Oops: 5 [#1]
last sysfs file: /sys/devices/platform/t81xx_vidout/video4linux/video1/index
Modules linked in: ti81xxvo ti81xxhdmi ti81xxfb vpss syslink ipv6
CPU: 0 Not tainted (2.6.37 #48)
PC is at sysfs_open_file+0x74/0x234
LR is at sysfs_open_file+0x5c/0x234
pc : [<c0109b5c>] lr : [<c0109b44>] psr: 20000013
sp : c289ddf8 ip : 00000000 fp : c289de1c
r10: c46c9800 r9 : 00000024 r8 : c40c4b80
r7 : c28d6930 r6 : c46c8de0 r5 : c2833010 r4 : c058dc34
r3 : 41007475 r2 : 00000000 r1 : c28d6934 r0 : c28d6930
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 82814019 DAC: 00000015
Process udevd (pid: 1147, stack limit = 0xc289c2e8)
Stack: (0xc289ddf8 to 0xc289e000)
dde0: c40c4b80 c46c8de0
de00: 00000000 c0109ae8 c4b9b880 c46c9800 c289de44 c289de20 c00c541c c0109af4
de20: c40c4b80 c289ded0 00000000 c4074200 00000000 00020000 c289de6c c289de48
de40: c00c5618 c00c52d8 c4074200 ffffffff c289ded0 00000000 00000000 c289df30
de60: c289dea4 c289de70 c00d0b38 c00c55d0 c289dea4 c289de80 c00c7f80 00000003
de80: c4bd1000 00020000 00000000 00020000 c289c000 00000024 c289df64 c289dea8
dea0: c00d263c c00d0704 00000000 c4bd1000 00000000 c4bd1000 ffffff9c 00000000
dec0: 00020001 00000000 00000000 c289c000 c4b9b880 c46c9800 11ddb73d 00000005
dee0: c4bd1036 c4b68c00 c4471600 00000101 00000000 00000000 50db2220 00000000
df00: 50db2220 00000000 00002208 00000000 0000012b bead6320 00000003 00020001
df20: 00000000 c40c4b80 c4b6ca84 c289c000 c4b9b880 c46c9800 c00db590 00000003
df40: c4bd1000 00020000 00000000 ffffff9c c289c000 00000000 c289df94 c289df68
df60: c00c5230 c00d24d4 00000000 00000000 50db2220 00000000 00000000 bead5d20
df80: 00000005 c0046fa8 c289dfa4 c289df98 c00c52ac c00c51d8 00000000 c289dfa8
dfa0: c0046e00 c00c5294 00000000 00000000 bead5d20 00020000 00000000 000030ec
dfc0: 00000000 00000000 bead5d20 00000005 00000000 000338f0 0002e9fc 00027220
dfe0: 000261c0 bead4ce8 00013f40 40229400 60000010 bead5d20 00000000 00000000
Backtrace:[<c0109ae8>] (sysfs_open_file+0x0/0x234) from [<c00c541c>] (__dentry_open+0x150/0x268)
[<c00c52cc>] (__dentry_open+0x0/0x268) from [<c00c5618>] (nameidata_to_filp+0x54/0x64)
[<c00c55c4>] (nameidata_to_filp+0x0/0x64) from [<c00d0b38>] (do_last+0x440/0x588)
r7:c289df30 r6:00000000 r5:00000000 r4:c289ded0
[<c00d06f8>] (do_last+0x0/0x588) from [<c00d263c>] (do_filp_open+0x174/0x4d0)
[<c00d24c8>] (do_filp_open+0x0/0x4d0) from [<c00c5230>] (do_sys_open+0x64/0xa8)
[<c00c51cc>] (do_sys_open+0x0/0xa8) from [<c00c52ac>] (sys_open+0x24/0x28)
r8:c0046fa8 r7:00000005 r6:bead5d20 r5:00000000 r4:00000000
[<c00c5288>] (sys_open+0x0/0x28) from [<c0046e00>] (ret_fast_syscall+0x0/0x30)
Code: 0a00006a e5953014 e3530000 0a000006 (e5934004)—[ end trace 0350e094d09549fc ]—
root@dm816x-evm:~#

zhouzhuan2008 zhouzhuan2008:

问题已经解决 是uboot启动参数问题

nanaw:

回复 zhouzhuan2008 zhouzhuan2008:

能否把你的参数贴出来参考下?

Huan a:

回复 zhouzhuan2008 zhouzhuan2008:

你好,我也在加载这个模块的时候出现问题了 希望不吝赐教。你说是Uboot参数问题,具体是哪个参数呢?huan.gong@wildsc.com.cn 谢谢。

赞(0)
未经允许不得转载:TI中文支持网 » DM8168 ti81xxvo.ko驱动加载失败问题
分享到: 更多 (0)