ubuntu 9.04下scratchbox无法login(VDSO)

安装了scratchbox,在login时发现下列问题:
Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
Inconsistency detected by ld.so: rtld.c: 1192: dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
原因如下:
This is related to the kernel you are running that require a feature not available in the glibc version
workaround:
- recompile your kernel using COMPAT_VDSO=y (in Processor type and features, Compat VDSO support)
- pass an option to the kernel on boot (add vdso=0 to the grub or lilo kernel line)
- disable compat vdso directly with echo 0 > /proc/sys/vm/vdso_enabled
 
按第三种办法解决:
sudo -i
echo 0 > /proc/sys/vm/vdso_enabled
再来启动/scratchbox/login,OK。
 
第三种办法在每次重启动机器后会失效,若想永久保留此变量的值,需要修改配置文件。
 
 You can set all of these permanently by adding the following lines   to /etc/sysctl.conf      vm.vdso_enabled = 0   vm.mmap_min_addr = 4096   net.ipv4.ip_local_port_range = 1024 65535   and running 'sysctl -p' as root.      WARNING: You should try setting these values by echoing them to the   given locations before adding them to sysctl.conf to see if they   cause any problems. For example, in some Ubuntu Gutsy installations,   it has been observed that changing the vdso settings will hang the system   and thus making permanent changes in sysctl.conf may, in these cases,   make your system unbootable.
 
 
也还可以参考官方文档: Documentation/Maemo 5 Final SDK Installation中的 Limitations of Scratchbox 部分

转载于:https://www.cnblogs.com/ljqj1/archive/2009/10/31/1593427.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值