主题 : dnw for linux的问题 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 7313
精华: 0
发帖: 57
金钱: 375 两
威望: 149 点
综合积分: 114 分
注册时间: 2009-07-09
最后登录: 2016-12-31
楼主  发表于: 2011-10-08 00:33

 dnw for linux的问题

主机内核3.0.4,secbulk.ko加载成功了
但是插上开发板的usb线以后,dmesg没有看到反应,/dev/下也没有secbulk0
有谁遇到过么?
级别: 侠客
UID: 7313
精华: 0
发帖: 57
金钱: 375 两
威望: 149 点
综合积分: 114 分
注册时间: 2009-07-09
最后登录: 2016-12-31
1楼  发表于: 2011-10-08 01:18
现在好了,把移动硬盘拔了,就显示secbulk0了,但是下载的时候驱动报错,

后来换dnw2,把secbulk.ko卸了,安装libusb就能下载了




还是奇怪secbulk.ko方式为什么不行,报错:

[ 3348.893699] secbulk:usb_bulk_msg failed!
[ 3360.653046] INFO: task blkid:2534 blocked for more than 120 seconds.
[ 3360.653050] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 3360.653052] blkid           D f3ab1c60     0  2534    385 0x00000004
[ 3360.653056]  f3ab1c70 00000046 00000002 f3ab1c60 c01d9887 0000000e f3ab1c58 7fffffff
[ 3360.653061]  00000000 c0631c00 00000002 c0631c00 f6485c00 f398ea80 f58630d0 c05ae98c
[ 3360.653064]  00000001 00000002 00000000 00000000 c01d79e0 c0571d80 f3ab1c68 c016efe1
[ 3360.653068] Call Trace:
[ 3360.653074]  [<c01d9887>] ? pagevec_lookup_tag+0x27/0x30
[ 3360.653077]  [<c01d79e0>] ? bdi_set_max_ratio+0x70/0x70
[ 3360.653081]  [<c016efe1>] ? ktime_get_ts+0xe1/0x110
[ 3360.653084]  [<c0451cd8>] io_schedule+0x78/0xb0
[ 3360.653086]  [<c01cfd7d>] sleep_on_page+0xd/0x20
[ 3360.653088]  [<c04524c7>] __wait_on_bit_lock+0x47/0x90
[ 3360.653091]  [<c01d241b>] ? find_get_pages+0xab/0x120
[ 3360.653093]  [<c01cfd70>] ? __lock_page+0x80/0x80
[ 3360.653095]  [<c01cfd68>] __lock_page+0x78/0x80
[ 3360.653098]  [<c0164de0>] ? autoremove_wake_function+0x50/0x50
[ 3360.653100]  [<c01db2aa>] truncate_inode_pages_range+0x32a/0x340
[ 3360.653103]  [<c017bb1c>] ? smp_call_function_many+0x1ac/0x200
[ 3360.653105]  [<c0242470>] ? buffer_cpu_notify+0x80/0x80
[ 3360.653107]  [<c0242470>] ? buffer_cpu_notify+0x80/0x80
[ 3360.653109]  [<c02424a4>] ? invalidate_bh_lru+0x34/0x70
[ 3360.653110]  [<c0242470>] ? buffer_cpu_notify+0x80/0x80
[ 3360.653113]  [<c01db2df>] truncate_inode_pages+0x1f/0x30
[ 3360.653115]  [<c0247857>] __blkdev_put+0x137/0x1b0
[ 3360.653117]  [<c02478f8>] blkdev_put+0x28/0x120
[ 3360.653119]  [<c0247a0f>] blkdev_close+0x1f/0x30
[ 3360.653122]  [<c021b12a>] fput+0xaa/0x1e0
[ 3360.653124]  [<c0217d44>] filp_close+0x54/0x80
[ 3360.653127]  [<c0149a6b>] put_files_struct+0x7b/0xd0
[ 3360.653129]  [<c0149b65>] exit_files+0x45/0x60
[ 3360.653131]  [<c0149fd1>] do_exit+0x151/0x7a0
[ 3360.653134]  [<c01569d7>] ? recalc_sigpending+0x17/0x40
[ 3360.653136]  [<c01574e1>] ? dequeue_signal+0x31/0x190
[ 3360.653138]  [<c01d1bb0>] ? generic_file_aio_read+0x4c0/0x710
[ 3360.653141]  [<c014a8b8>] do_group_exit+0x38/0xa0
[ 3360.653143]  [<c01594a6>] get_signal_to_deliver+0x2c6/0x4c0
[ 3360.653145]  [<c0102a0d>] do_signal+0x6d/0x840
[ 3360.653147]  [<c0219374>] ? do_sync_read+0xa4/0xe0
[ 3360.653150]  [<c02899f4>] ? security_file_permission+0x94/0xb0
[ 3360.653153]  [<c02196ac>] ? rw_verify_area+0x6c/0x120
[ 3360.653155]  [<c0452ebd>] ? mutex_unlock+0xd/0x10
[ 3360.653157]  [<c0219b68>] ? vfs_read+0x88/0x160
[ 3360.653159]  [<c02192d0>] ? do_sync_write+0xe0/0xe0
[ 3360.653161]  [<c01034d5>] do_notify_resume+0x65/0x80
[ 3360.653164]  [<c0454614>] work_notifysig+0x13/0x1b
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2011-10-08 11:06
secbulk驱动的方式已经很老而且没有人维护了
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
^很多问题的背后都是简单的原因......
级别: 荣誉会员
UID: 34780
精华: 0
发帖: 1219
金钱: 6230 两
威望: 1246 点
综合积分: 2438 分
注册时间: 2010-12-21
最后登录: 2017-09-18
3楼  发表于: 2011-10-11 12:26

 回 3楼(tltl1116) 的帖子

建议楼上别发那么多广告
是不是第一品牌, 先解决问题让大家看看