天嵌 ARM开发社区

 找回密码
 注册
查看: 3706|回复: 5

rmmod 的问题

[复制链接]
jsw2065 发表于 2009-9-4 15:07:28 | 显示全部楼层 |阅读模式
第二版移植手册,14.5U盘之又见U盘。
加载了g_file_storage.ko,
功能正常,
然后用如下命令卸载该模块
rmmod /lib/g_file_storage.ko

然后就隔两分钟出现如下信息:

INFO: task rmmod:831 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
rmmod         D c029e5c4     0   831    827
[<c029e380>] (schedule+0x0/0x294) from [<c029eb68>] (schedule_timeout+0x24/0xbc)

[<c029eb44>] (schedule_timeout+0x0/0xbc) from [<c029e73c>] (wait_for_common+0x12
8/0x1c4)
r8:00000880 r7:00000002 r6:c3ded15c r5:7fffffff r4:c3f3fedc
[<c029e614>] (wait_for_common+0x0/0x1c4) from [<c029e7f0>] (wait_for_completion+
0x18/0x1c)
r7:c3f3ff48 r6:c3f3e000 r5:00000000 r4:c3ded0c0
[<c029e7d8>] (wait_for_completion+0x0/0x1c) from [<bf003d5c>] (fsg_cleanup+0x44/
0x68 [g_file_storage])
[<bf003d18>] (fsg_cleanup+0x0/0x68 [g_file_storage]) from [<c005ff10>] (sys_dele
te_module+0x1a4/0x1e0)
r4:bf006b00
[<c005fd6c>] (sys_delete_module+0x0/0x1e0) from [<c00279e0>] (ret_fast_syscall+0
x0/0x2c)
r8:c0027b84 r7:00000081 r6:61726f74 r5:735f656c r4:69665f67

此时开发板无法执行别的命令,只得重启。
对照移植手册检查了一遍没有发现什么问题。

求各位板友指教!
亚瑟王 发表于 2009-9-5 13:30:16 | 显示全部楼层
没有试过卸载这个驱动,不过正常说来是不会出问题,可能还需要加别的参数吧。
 楼主| jsw2065 发表于 2009-9-5 13:44:44 | 显示全部楼层
关注中~~~~~~
 楼主| jsw2065 发表于 2009-9-5 13:45:27 | 显示全部楼层
关注中~~~~~~
亚瑟王 发表于 2009-9-5 13:53:18 | 显示全部楼层
呵呵,一直在线啊,这个模块的卸载我没有试过,你可以查看一下源码看有没有卸载功能,或者是卸载的函数有bug导致的。
 楼主| jsw2065 发表于 2009-9-5 13:56:39 | 显示全部楼层
语言方面不是很懂,不过会试着看一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-29 07:41 , Processed in 1.036173 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表