免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: linewer
打印 上一主题 下一主题

qemu调试内核挂在加载root文件系统上???? [复制链接]

论坛徽章:
4
酉鸡
日期:2014-03-21 23:19:50狮子座
日期:2014-08-01 22:11:40酉鸡
日期:2015-01-10 21:31:442015年辞旧岁徽章
日期:2015-03-03 16:54:15
11 [报告]
发表于 2013-01-05 08:30 |只看该作者
无人知晓? 等...

论坛徽章:
0
12 [报告]
发表于 2013-01-05 13:23 |只看该作者
自己重新做个img吧,这种出错的信息基本上都是img的问题,有可能是生成img的编译器版本不一致。

论坛徽章:
4
酉鸡
日期:2014-03-21 23:19:50狮子座
日期:2014-08-01 22:11:40酉鸡
日期:2015-01-10 21:31:442015年辞旧岁徽章
日期:2015-03-03 16:54:15
13 [报告]
发表于 2013-01-09 11:31 |只看该作者
回复 12# frogsu


重做img? 你是说用quemu提供的linux-0.2.img有问题?
重做img, 我还不会呢...
   

论坛徽章:
0
14 [报告]
发表于 2013-01-09 13:04 |只看该作者
dd if=/dev/zero of=truth.img bs=1M count=5
mke2fs truth.img
sudo mount -o loop truth.img tmp
然后下载一个busybox编译生成的文件放在tmp中,最后umount tmp就可以了。

论坛徽章:
4
酉鸡
日期:2014-03-21 23:19:50狮子座
日期:2014-08-01 22:11:40酉鸡
日期:2015-01-10 21:31:442015年辞旧岁徽章
日期:2015-03-03 16:54:15
15 [报告]
发表于 2013-01-09 16:15 |只看该作者
本帖最后由 chishanmingshen 于 2013-01-09 16:20 编辑

==========
debianutils/lib.a(mktemp.o): In function `mktemp_main':
mktemp.c:(.text.mktemp_main+0xab): warning: the use of `tempnam' is dangerous, better use `mkstemp'
networking/lib.a(nslookup.o): In function `print_host':
nslookup.c:(.text.print_host+0x42): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
networking/lib.a(ipcalc.o): In function `ipcalc_main':
ipcalc.c:(.text.ipcalc_main+0x249): warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
libbb/lib.a(inet_common.o): In function `INET_resolve':
inet_common.c:(.text.INET_resolve+0x50): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
networking/lib.a(inetd.o): In function `reread_config_file':
inetd.c:(.text.reread_config_file+0x703): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
networking/lib.a(netstat.o): In function `ip_port_str':
netstat.c:(.text.ip_port_str+0x3d): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
networking/lib.a(inetd.o): In function `reread_config_file':
inetd.c:(.text.reread_config_file+0x684): warning: Using 'getrpcbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
networking/lib.a(inetd.o): In function `unregister_rpc':
inetd.c:(.text.unregister_rpc+0x17): undefined reference to `pmap_unset'
networking/lib.a(inetd.o): In function `register_rpc':
inetd.c:(.text.register_rpc+0x5a): undefined reference to `pmap_unset'
inetd.c:(.text.register_rpc+0x81): undefined reference to `pmap_set'
networking/lib.a(inetd.o): In function `prepare_socket_fd':
inetd.c:(.text.prepare_socket_fd+0x8a): undefined reference to `bindresvport'
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1

ubuntu12.04编译busybox1.20.1, 就是编译失败!
请问哪里能直接下载这个busybox文件? 谢谢!

论坛徽章:
0
16 [报告]
发表于 2013-01-10 12:31 |只看该作者
我用的ubuntu 11.x的用的busybox1.17.1编译那些都没有问题的。

论坛徽章:
4
酉鸡
日期:2014-03-21 23:19:50狮子座
日期:2014-08-01 22:11:40酉鸡
日期:2015-01-10 21:31:442015年辞旧岁徽章
日期:2015-03-03 16:54:15
17 [报告]
发表于 2013-01-10 17:08 |只看该作者
回复 16# frogsu


    嗯. 我又换了个1.19.0的busybox, 现在编译ok了. 谢谢.

论坛徽章:
4
酉鸡
日期:2014-03-21 23:19:50狮子座
日期:2014-08-01 22:11:40酉鸡
日期:2015-01-10 21:31:442015年辞旧岁徽章
日期:2015-03-03 16:54:15
18 [报告]
发表于 2013-01-11 11:46 |只看该作者
回复 14# frogsu


    用busybox, 重做了img, 替换了linux-0.2.img.
    可是问题依旧, 还是会挂!!!求救~~

论坛徽章:
0
19 [报告]
发表于 2013-01-11 12:52 |只看该作者
你可以参考我这里设置看看,刚写的博文http://blog.chinaunix.net/uid-22883023-id-3467299.html

论坛徽章:
0
20 [报告]
发表于 2015-04-26 12:27 |只看该作者
我也遇到这种情况,到底怎么破呢??求大神指点
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP