问一个6410的问题

zatasky 2009-07-08 11:16:21
kernel在跑到Freeing unused kernel memory:后挂死
跟踪代码run_init_process-> execve-> sys_execve-> do_execve-> search_binary_handler-> load_elf_binary->padzero->__clear_user此处挂死
__clear_user(void __user *addr, __kernel_size_t size) 函数内参数addr的地址为0x49650
论坛上有人在2410板子上也遇到这样的问题,解决的方法是在对内核进行make menuconfig的时候,在General Setup中把那个NVFPE math emulation选上,但是我的General Setup里面没有这个选项
请问是什么原因导致挂死的,应该怎么办?
谢谢!
...全文
74 14 打赏 收藏 转发到动态 举报
写回复
用AI写文章
14 条回复
切换为时间正序
请发表友善的回复…
发表回复
rocky1972 2009-08-11
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 zatasky 的回复:]
引用 8 楼 csdeny 的回复:
引用 3 楼 csdeny 的回复:
把浮点选上,另外看下你的编译器是不是eabi的,如果是,选上内核中eabi和oabi支持


。。。被忽略了

不好意思啊
你说的浮点是不是楼上说的float point emulator

--- At least one math emulation must be selected │ │
│ │ <*> NWFPE math emulation │ │
│ │ [ ] Support extended precision │ │
│ │ < > FastFPE math emulation (EXPERIMENTAL)
已经选上了
另外对eabi不是很清楚,怎么知道编译器是不是eabi的呢?
另外menuconfig中kernel hacking选项里面没有eabi或oabi的选项。。。
[/Quote]

>>> 另外menuconfig中kernel hacking选项里面没有eabi或oabi的选项。。。

EABI/ABI 的开关在主菜单的kernel feature 选项中打开
另外你的编译器要支持eabi这个feature


csdeny 2009-07-11
  • 打赏
  • 举报
回复
编译器的全名,比如arm-none-eabi-xxx之类
zatasky 2009-07-10
  • 打赏
  • 举报
回复
[Quote=引用 10 楼 csdeny 的回复:]
你内核版本和编译器的名字
[/Quote]
kernel:2.6.21
编译器:3.3.2
fjx1982441 2009-07-10
  • 打赏
  • 举报
回复
帮顶!
csdeny 2009-07-10
  • 打赏
  • 举报
回复
你内核版本和编译器的名字
ShowMan 2009-07-09
  • 打赏
  • 举报
回复
float point emulator

--- At least one math emulation must be selected │ │
│ │ <*> NWFPE math emulation │ │
│ │ [ ] Support extended precision │ │
│ │ < > FastFPE math emulation (EXPERIMENTAL)

选上这个试试
fjx1982441 2009-07-09
  • 打赏
  • 举报
回复
友情帮顶!
csdeny 2009-07-09
  • 打赏
  • 举报
回复
把浮点选上,另外看下你的编译器是不是eabi的,如果是,选上内核中eabi和oabi支持
hefuhua 2009-07-09
  • 打赏
  • 举报
回复
[Quote=引用楼主 zatasky 的帖子:]
在General Setup中把那个NVFPE math emulation选上,但是我的General Setup里面没有这个选项
[/Quote]

看相关的Kconfig文件,看看该选项下来的依赖选项,一般会有的

也可以直接用grep查找"NVFPE math emulation"
zatasky 2009-07-09
  • 打赏
  • 举报
回复
[Quote=引用 8 楼 csdeny 的回复:]
引用 3 楼 csdeny 的回复:
把浮点选上,另外看下你的编译器是不是eabi的,如果是,选上内核中eabi和oabi支持


。。。被忽略了
[/Quote]
不好意思啊
你说的浮点是不是楼上说的float point emulator

--- At least one math emulation must be selected │ │
│ │ <*> NWFPE math emulation │ │
│ │ [ ] Support extended precision │ │
│ │ < > FastFPE math emulation (EXPERIMENTAL)
已经选上了
另外对eabi不是很清楚,怎么知道编译器是不是eabi的呢?
另外menuconfig中kernel hacking选项里面没有eabi或oabi的选项。。。
csdeny 2009-07-09
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 csdeny 的回复:]
把浮点选上,另外看下你的编译器是不是eabi的,如果是,选上内核中eabi和oabi支持
[/Quote]
。。。被忽略了
zatasky 2009-07-09
  • 打赏
  • 举报
回复
有没有谁成功抑制到6410上过?
能不能把menuconfig的配置说一下
感激不尽!
yhf365 2009-07-09
  • 打赏
  • 举报
回复
你的General Setup没那一项的话就换个有那一项的内核试试?
不知道怎么回事,没玩过6410那块板子
wwdz_99 2009-07-09
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 ShowMan 的回复:]
float point emulator

--- At least one math emulation must be selected │ │
│ │ <*> NWFPE math emulation │ │
│ │ [ ] Support extended precision │ │
│ │ < > FastFPE math emulation (EXPERIMENTAL)

选上这个试试
[/Quote]

这个已经选上了
还是不行

4,469

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧