CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 6716|回复: 1

加载官方自带的gpio-suxi驱动模块问题

[复制链接]
发表于 2014-3-6 18:32:29 | 显示全部楼层 |阅读模式
root@linaro-alip#insmod /lib/modules/3.4.61+/kernel/drivers/gpio/gpio-sunxi.ko
<4>------------[ cut here ]------------4.61+/kernel/driversinsmod gpio-sunxi.ko
<4>WARNING: at fs/sysfs/dir.c:508 sysfs_add_one+0x88/0xbc()                     
<4>sysfs: cannot create duplicate filename '/devices/platform/gpio-sunxi'      
<d>Modules linked in: gpio_sunxi(+) w1_sun4i(O) sun4i_csi1 ov7670 videobuf_dma_s
[<c0014e34>] (unwind_backtrace+0x0/0x138) from [<c0035df0>] (warn_slowpath_comm)
[<c0035df0>] (warn_slowpath_common+0x4c/0x64) from [<c0035e9c>] (warn_slowpath_)
[<c0035e9c>] (warn_slowpath_fmt+0x30/0x40) from [<c0141648>] (sysfs_add_one+0x8)
[<c0141648>] (sysfs_add_one+0x88/0xbc) from [<c014182c>] (create_dir+0x60/0xbc)
[<c014182c>] (create_dir+0x60/0xbc) from [<c0141b9c>] (sysfs_create_dir+0x90/0x)
[<c0141b9c>] (sysfs_create_dir+0x90/0xf4) from [<c02b293c>] (kobject_add_intern)
[<c02b293c>] (kobject_add_internal+0xb0/0x23c) from [<c02b2ee4>] (kobject_add+0)
[<c02b2ee4>] (kobject_add+0x4c/0x94) from [<c0334890>] (device_add+0xcc/0x5bc)  
[<c0334890>] (device_add+0xcc/0x5bc) from [<c0338ad8>] (platform_device_add+0x1)
[<c0338ad8>] (platform_device_add+0x100/0x1d4) from [<bf1be00c>] (sunxi_gpio_in)
[<bf1be00c>] (sunxi_gpio_init+0xc/0x28 [gpio_sunxi]) from [<c00085b8>] (do_one_)
[<c00085b8>] (do_one_initcall+0x34/0x174) from [<c007ef1c>] (sys_init_module+0x)
[<c007ef1c>] (sys_init_module+0xe18/0x1cd0) from [<c000e9c0>] (ret_fast_syscall)
<4>---[ end trace cc08f63114807c1c ]---                                         
<4>------------[ cut here ]------------                                         
<4>WARNING: at lib/kobject.c:198 kobject_add_internal+0x1d0/0x23c()            
kobject_add_internal failed for gpio-sunxi with -EEXIST, don't try to register .
<d>Modules linked in: gpio_sunxi(+) w1_sun4i(O) sun4i_csi1 ov7670 videobuf_dma_s
[<c0014e34>] (unwind_backtrace+0x0/0x138) from [<c0035df0>] (warn_slowpath_comm)
[<c0035df0>] (warn_slowpath_common+0x4c/0x64) from [<c0035e9c>] (warn_slowpath_)
[<c0035e9c>] (warn_slowpath_fmt+0x30/0x40) from [<c02b2a5c>] (kobject_add_inter)
[<c02b2a5c>] (kobject_add_internal+0x1d0/0x23c) from [<c02b2ee4>] (kobject_add+)
[<c02b2ee4>] (kobject_add+0x4c/0x94) from [<c0334890>] (device_add+0xcc/0x5bc)  
[<c0334890>] (device_add+0xcc/0x5bc) from [<c0338ad8>] (platform_device_add+0x1)
[<c0338ad8>] (platform_device_add+0x100/0x1d4) from [<bf1be00c>] (sunxi_gpio_in)
[<bf1be00c>] (sunxi_gpio_init+0xc/0x28 [gpio_sunxi]) from [<c00085b8>] (do_one_)
[<c00085b8>] (do_one_initcall+0x34/0x174) from [<c007ef1c>] (sys_init_module+0x)
[<c007ef1c>] (sys_init_module+0xe18/0x1cd0) from [<c000e9c0>] (ret_fast_syscall)
<4>---[ end trace cc08f63114807c1d ]---                                         
insmod: error inserting 'gpio-sunxi.ko': -1 File exists

有人知道这是怎么回事???
回复

使用道具 举报

发表于 2016-2-4 18:57:26 | 显示全部楼层
你的驱动已经加载了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-11-22 18:58 , Processed in 0.020734 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部