打印
[ARM Linux入门与实践]

free_irq 不知道怎么会这样!貌似我的释放中断不成功

[复制链接]
3452|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
jackarm|  楼主 | 2010-7-21 18:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Freeing init memory: 140K ---------mount all------------ ************************************************** * MakeArm ARM * * Kernel Vevsion:Linux-2.6.34 * * Author:MakeArm-2010 * * Date: 2010/07/19 * ************************************************** Please press Enter to activate this console. Processing /etc/profile... Done [root@MakeArm=W]#insmod buttonk.ko button create ok led init ok [root@MakeArm=W]#./appbutton request_irq = 06 IRQ = 57,c03eff24 IRQ = 57,c03eff24 IRQ = 55,c03eff24 IRQ = 55,c03eff24 IRQ = 52,c03eff24 IRQ = 52,c03eff24 IRQ = 59,c03eff24 IRQ = 59,c03eff24 IRQ = 58,c03eff24 IRQ = 58,c03eff24 IRQ = 63,c03eff24 IRQ = 63,c03eff24 IRQ = 58,c03eff24 IRQ = 58,c03eff24 IRQ = 58,c03eff24 IRQ = 58,c03eff24 ^C------------[ cut here ]------------ WARNING: at kernel/irq/manage.c:890 __free_irq+0x80/0x15c() Trying to free already-free IRQ 0 Modules linked in: buttonk [] (unwind_backtrace+0x0/0xec) from [] (warn_slowpath_common+0x44/0x5c) [] (warn_slowpath_common+0x44/0x5c) from [] (warn_slowpath_fmt+0x24/0x30) [] (warn_slowpath_fmt+0x24/0x30) from [] (__free_irq+0x80/0x15c) [] (__free_irq+0x80/0x15c) from [] (free_irq+0x3c/0x60) [] (free_irq+0x3c/0x60) from [] (button_release+0x20/0x34 [buttonk]) [] (button_release+0x20/0x34 [buttonk]) from [] (__fput+0x100/0x1bc) [] (__fput+0x100/0x1bc) from [] (filp_close+0x74/0x80) [] (filp_close+0x74/0x80) from [] (put_files_struct+0x80/0xd0) [] (put_files_struct+0x80/0xd0) from [] (do_exit+0x180/0x590) [] (do_exit+0x180/0x590) from [] (do_group_exit+0x88/0xbc) [] (do_group_exit+0x88/0xbc) from [] (get_signal_to_deliver+0x2ec/0x324) [] (get_signal_to_deliver+0x2ec/0x324) from [] (do_notify_resume+0x70/0x604) [] (do_notify_resume+0x70/0x604) from [] (work_pending+0x1c/0x20) ---[ end trace 4c35ab69e19697cc ]--- ------------[ cut here ]------------ WARNING: at kernel/irq/manage.c:890 __free_irq+0x80/0x15c() Trying to free already-free IRQ 0 Modules linked in: buttonk [] (unwind_backtrace+0x0/0xec) from [] (warn_slowpath_common+0x44/0x5c) [] (warn_slowpath_common+0x44/0x5c) from [] (warn_slowpath_fmt+0x24/0x30) [] (warn_slowpath_fmt+0x24/0x30) from [] (__free_irq+0x80/0x15c) [] (__free_irq+0x80/0x15c) from [] (free_irq+0x3c/0x60) [] (free_irq+0x3c/0x60) from [] (button_release+0x20/0x34 [buttonk]) [] (button_release+0x20/0x34 [buttonk]) from [] (__fput+0x100/0x1bc) [] (__fput+0x100/0x1bc) from [] (filp_close+0x74/0x80) [] (filp_close+0x74/0x80) from [] (put_files_struct+0x80/0xd0) [] (put_files_struct+0x80/0xd0) from [] (do_exit+0x180/0x590) [] (do_exit+0x180/0x590) from [] (do_group_exit+0x88/0xbc) [] (do_group_exit+0x88/0xbc) from [] (get_signal_to_deliver+0x2ec/0x324) [] (get_signal_to_deliver+0x2ec/0x324) from [] (do_notify_resume+0x70/0x604) [] (do_notify_resume+0x70/0x604) from [] (work_pending+0x1c/0x20) ---[ end trace 4c35ab69e19697cd ]--- ------------[ cut here ]------------

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

2

帖子

1

粉丝