QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2895|回复: 12

uml

[复制链接]
发表于 2004-3-10 05:21:01 | 显示全部楼层 |阅读模式
recently, i c&p&m to get a UML (user mode linux) package

http://crab.ele.uri.edu/tmp/fedora-core1-uml.tar.bz2

use root/12qwaszx to login

read uml doc to see how to use it.

enjoy.

ming
 楼主| 发表于 2004-3-11 00:40:33 | 显示全部楼层
sorry that i forget to attach the compiled linux binary file. u can grab it from
http://crab.ele.uri.edu/tmp/uml_linux

u can try to compile u own kernel and replace it easily base on uml document.
回复

使用道具 举报

发表于 2004-3-30 12:55:03 | 显示全部楼层
老大,uml_linux是你编译好的内核镜像文件吗,可是我用它启动的时候,有错误提示哦:
invalid or unsupported executable format.
知道是啥问题吗?谢谢!
回复

使用道具 举报

发表于 2004-3-30 13:09:25 | 显示全部楼层
哦,应该不是内核镜像文件,有25M大呢,那怎么用这个东西阿,有中文文档吗?呵呵
回复

使用道具 举报

发表于 2004-3-30 13:32:33 | 显示全部楼层
找到了一个地方:
http://www-900.ibm.com/developerWorks/cn/cnedu.nsf/linux-onlinecourse-bytitle/C8F9D0527930773CC8256D12001F0434?OpenDocument
回复

使用道具 举报

 楼主| 发表于 2004-3-30 23:28:35 | 显示全部楼层
file /tmp/uml_linux
/tmp/uml_linux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, statically linked, not stripped


it is a special kernel image with gdb symbol info. it is special because uml kernel image is a linux executable program.
回复

使用道具 举报

发表于 2004-3-31 19:22:33 | 显示全部楼层
最大的好处是可以调试内核,并且我比较喜欢用skas模式
回复

使用道具 举报

发表于 2004-4-12 18:14:08 | 显示全部楼层
[quote:3be8317dd4="keenor"]最大的好处是可以调试内核,并且我比较喜欢用skas模式[/quote]
你在debian系统下有用过这个东西吗,debian上倒是有一个user-mode-linux的包,它的内核是2.4.24的,但是却下不到2.4.24文件系统的包,网上搜到的Debian-3.0r0.ext2.bz2却是针对2.4.18的,我怎样编译uml的内核和生成相应的文件系统包呢?
回复

使用道具 举报

发表于 2004-4-12 18:32:39 | 显示全部楼层
[quote:7f2a49e59c="keenor"]最大的好处是可以调试内核,并且我比较喜欢用skas模式[/quote]
skas模式有什么特点?
回复

使用道具 举报

发表于 2004-4-14 13:21:35 | 显示全部楼层
http://tavi.debian.org.tw/UserModeLinux
我根据上面的链接资料用rootstrap在debian系统下作一个文件系统,但是在debootstrap的时候出错,
提示信息是:
Resolving debian.linux.org.tw... failed: Host not found.
E: Failed getting release file http://debian.linux.org.tw/debian/dists/woody/Release
好像是域名解析不对,所以get file不成功.
老大,你有这方面的经验吗?
回复

使用道具 举报

发表于 2004-4-14 13:50:17 | 显示全部楼层
没办法,只好从本机的debian安装光盘上制作,将rootstrap的配制文件的mirror一项改为file:/cdrom/
将光盘mount到/cdrom下.
回复

使用道具 举报

发表于 2004-4-14 15:55:50 | 显示全部楼层
[quote:e9cdb54f6d="jinzhcheng"]
提示信息是:
Resolving debian.linux.org.tw... failed: Host not found.
E: Failed getting release file http://debian.linux.org.tw/debian/dists/woody/Release
好像是域名解析不对,所以get file不成功.
[/quote]

问题已解决,原来我的host ip设置有冲突.
回复

使用道具 举报

发表于 2004-4-17 02:40:13 | 显示全部楼层
英语不好,看不懂啊 哪位大虾可以翻译一下!   
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-6-18 03:09 , Processed in 0.161089 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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