注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

littlelittleylj

has a small box full of miracles

 
 
 

日志

 
 

休闲  

2007-10-11 14:56:59|  分类: 默认分类 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

  今天天气不错挺风和日丽的,抵消了昨天晚上因为可恶的蚊子以及不知名的飞起来响声很大的虫子搅得我睡眠质量及其差以至于今天看到麦虱同学一下就觉得他貌似“缩水”了(昨晚一直处在半梦半醒状态,也许出现了幻听和幻觉,包括总是感觉有人站在我旁边,貌似感觉有人进出宿舍,似乎有人在“哒哒哒”的“玩”牙齿)的郁闷。

  下午窝在寝室,实在是喜欢寝室的安静和光线充足。打算在偶机子上弄个colinux玩玩。为什么呢?最近我总是觉得自己没有啥学习的劲头,但是lab的事情还是要做的,研究生的学习还是要继续的。lab的wsn涉及到OS和网络方面的知识挺多的,还有就是无线电通信等等方面对于我来说都是很难的东西。最近看的paper都是涉及到这些东东。还有就是高级OS涉及到Linux kernel源代码阅读和分析,所以呢,有个linux环境还是必要的。鉴于大三的时候装过几次linux,但是都是作为摆设没怎么去动过,所以这次换一种方式,虚拟机慢的要死,在麦虱同学的推荐下配这么个colinux环境。以下是colinux介绍:

zz from http://www.colinux.org/

Cooperative Linux is the first working free and open source method for optimally running Linux on Microsoft Windows natively. More generally, Cooperative Linux (short-named coLinux) is a port of the Linux kernel that allows it to run cooperatively alongside another operating system on a single machine. For instance, it allows one to freely run Linux on Windows 2000/XP, without using a commercial PC virtualization software such as VMware, in a way which is much more optimal than using any general purpose PC virtualization software. In its current condition, it allows us to run the KNOPPIX Japanese Edition on Windows (see Screenshots).

How does it work

Unlike in other Linux virtualization solutions such as User Mode Linux (or the forementioned VMware), special driver software on the host operating system is used to execute the coLinux kernel in a privileged mode (known as ring 0 or supervisor mode).

By constantly switching the machine's state between the host OS state and and the coLinux kernel state, coLinux is given full control of the physical machine's MMU (i.e, paging and protection) in its own specially allocated address space, and is able to act just like a native kernel, achieving almost the same performance and functionality that can be expected from a regular Linux which could have ran on the same machine standalone.

Since coLinux uses the same binary format for user-space executables as native Linux, coLinux can load and run an existing unmodified Linux distribution concurrently with the host OS.

Hardware virtualization

To cooperatively share hardware with the host operating system, coLinux does not access I/O devices directly. Instead, it interfaces with emulated devices provided by the coLinux drivers in the host OS. For example, a regular file in Windows can be used as a block device in coLinux. All real hardware interrupts are transparently forwarded to the host OS, so this way the host OS's control of the real hardware is not being disturbed and thus it continues to run smoothly.

Portability

Unlike User Mode Linux, coLinux always utilizes only one process of the host OS for all its Linux processes, privately managing their scheduling, resources, and faults in a manner which is contained and entirely independent of the way the host OS is implemented. In fact, coLinux only requires a very small set of commonly exported primitives from the host OS kernel in order to work, thus, it can be rather easily ported to run under any operating system, such as Solaris, or even Linux itself.

coLinux is being ported to run under ReactOS, a standalone Open Source Windows implementation.

  评论这张
 
阅读(37)| 评论(4)
推荐

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017