博客首页
注册
建议与交流
排行榜
加入友情链接
推荐
投诉
搜索:
帮助
Aubrey Li
aubrey.cublog.cn
管理博客
发表文章
留言
收藏夹
博客圈
音乐
相册
· osug15
文章
首页
关于作者
姓名:Aubrey.Li 职业:Solaris Kernel Dev 位置:Shanghai-ZiZhu 个性介绍:
||
<<
>>
||
我的分类
最新照片
上一张
下一张
幻灯片
停止播放
最新文章
·
Solaris系统在哪些X86平台..
·
OpenSolaris 200805 使用..
·
Solaris PowerTOP 1.0 发布
·
OpenSolaris北京用户组第..
·
制作Solaris的软件包 (SV..
最新留言
最新评论
·
Firstly, thanks god, I e..
·
最後一段
"但是在C3状态中..
最新收藏
统计信息
·
总访问量:397982
·
文章个数:19
·
评论条数:2
·
留言条数:0
·
网友推荐:
Solaris系统在哪些X86平台上支持变频技术
这里说到的X86平台上的变频技术是指<span style="color: rgb(255, 1, 2);">E</span>nhanced <span style="color: rgb(255, 1, 2);">I</span>ntel <span style="color: rgb(255, 1, 2);">S</span>peedStep <span style="color: rgb(255, 1, 2);">T</span>echnology(EIST),在现在的很多笔记本的BIOS里面可以找到SpeedStep或者EIST的选项,这就是<span style="color: rgb(255, 1, 2);">SpeedStep</span>。SpeedStep是Intel在CPU上加入的一种节能技术,通过降低CPU的频率来达到降低CPU的功耗的。这种技术在ACPI的规范里面被定义为P-sta……
查看全文
发表于:2008-08-30 ┆
阅读(164)
┆
评论(0)
OpenSolaris 200805 使用指南
<ul><li><span style="font-weight: bold;">查看现有的软件仓库</span><br></li></ul><div style="margin-left: 40px;">$pfexec pkg autority<br>AUTHORITY URL<br>opensolaris.org (preferred) http://pkg.opensoalris.org:80<br></div><ul style="font-weight: bold;"><li>增加一个新的软件仓库</li></ul><div style="margin-left: 40px;">$pfexec pkg set-authority -P -O http://<em>pkg.unix-center</em>.net:80/ unix-center.net<br></div><ul style="font-weight: bold;"><li>安装Mercurial (hg)</li></ul><div styl……
查看全文
发表于:2008-08-25 ┆
阅读(185)
┆
评论(0)
Solaris PowerTOP 1.0 发布
最近,我们发布了(OpenSolaris Tesla Community)Solaris PowerTOP 1.0。看到自己参与开发数个月的软件终于发布,感觉还是蛮欣慰的,:)<br><br>这里是下载地址:<br><a href="http://www.opensolaris.org/os/project/tesla/Work/Powertop/SUNWpowertop-1.0_5939.5.11-i386.pkg.bz2" target="_blank">PowerTOP for X86</a><br><a href="http://www.opensolaris.org/os/project/tesla/Work/Powertop/SUNWpowertop-1.0_5939.5.11-sparc.pkg.bz2" target="_blank">PowerTOP for SPARC</a><br><br>PowerTOP是一个系统功耗检测工具,可以报告出系统……
查看全文
发表于:2008-05-27 ┆
阅读(378508)
┆
评论(0)
OpenSolaris北京用户组第15次会议
我参加了OpenSolaris北京用户组第15次会议,下面的图片大多转自<a href="http://blogs.sun.com/robsblog/entry/15th_beijing_opensolaris_user_group" target="_blank">Robert Sohigian的博客.</a><br>1.宣传牌<br><img src="http://blog.chinaunix.net/photo/41699_080428230738.jpg"><br>2. 注册的同学们<br><img src="http://blog.chinaunix.net/photo/41699_080428231351.jpg"><br>3. 开奖了,主持者,Jian.Li<br><img src="http://blog.chinaunix.net/photo/41699_080428230853.jpg"><br>4. PowerTOP, and Power Management in OpenS……
查看全文
发表于:2008-04-28 ┆
阅读(406)
┆
评论(0)
制作Solaris的软件包 (SVR4 package)
今天来说说如何制作Solaris的软件包,这里充分利用了blastwave的资源,我也因此成为blastwave的maintainer之一,呵呵<br><br>1. blastwave发布了一系列的脚本,使得制作solaris的软件包变得非常容易。在制造SVR4 package之前,首先安装blastwave maintainer scripts<br><table style="border: 1px solid rgb(153, 153, 153); width: 80%; font-size: 12px;" align="center"><tbody><tr><td>#pkg-get install cswutils<br></td></tr></tbody></table>2. 创建一个简单的例子<br><table style="border: 1px solid rgb(153, 153, 153); wi……
查看全文
发表于:2008-04-27 ┆
阅读(1256)
┆
评论(0)
多核初始化和启动过程
多核初始化协议定义了两类处理器:bootstrap processor(BSP) 和 application <br><br>processors (APs). 上电或者MP复位后,系统硬件动态选择一个作为BSP,其余的<br><br>作为APs. <br><br>BSP的IA32_APIC_BASE中的BSP flag将被置位,其他的处理器中该位将被清空.<br><br>上电或者复位后,AP等待BSP的SIPI(startup signal)信号,接收到SIPI信号后,<br><br>AP执行BIOS中的AP配置代码,然后进入halt状态.<br><br>对于支持Hyper_Threading的处理器,每个逻辑处理器将被作为一个单独的处理器<br><br>对待,都会有一个唯一的APIC ID.<br……
查看全文
发表于:2008-04-15 ┆
阅读(311)
┆
评论(0)
Solaris上的3D桌面
原来Compiz在Solaris上也可以运行,今天终于在solaris SXCE nv84上enable了3D桌面,cool, haha<br><img src="http://blog.chinaunix.net/photo/41699_080328220406.png"><br>
查看全文
发表于:2008-03-28 ┆
阅读(239)
┆
评论(0)
solaris上的无线网络配置
今天要试一下本本上的无线网卡,在windows上是可以work的,于是切换到solaris下,我装的solaris版本是nevada-B84.<br><table style="border: 1px solid rgb(153, 153, 153); width: 600px; font-size: 12px; height: 106px;" align="center"><tbody><tr><td>[aubrey-sz330@~]cat /etc/release<br> Solaris Express Community Edition snv_84 X86<br> C……
查看全文
发表于:2008-03-22 ┆
阅读(423)
┆
评论(0)
关于Sun Studio的redistribution问题
Sun studio(SUNWsprot)里面包含的as, 编译solaris内核的汇编器,不能够重新发布。<br><br>因为gas是不能编译solaris的, 这样就造成了indiana, nexenta等多种solaris发行版没办法本地编译solaris内核。目前nexenta的做法是,proto目录下面的内容在SXCR上编好,然后download到nexenta。<br>So trouble, aha?<br><br>那么现在有两种方法来解决这个问题:<br><ul><li>修改ON的source code,使其可以被gas编译</li><li>从头开始写一个汇编器.</li></ul>这两个方法需要的努力应该差不多,只不过现在没人做,呵呵<br><br>尽管Jonathan Schwartz承……
查看全文
发表于:2008-03-08 ┆
阅读(273)
┆
评论(0)
如何制作deb包
下面用一个简单的程序例子,来讲解如何制作deb包。首先你需要一个deb包管理的系统,debian, ubuntu等。<br>这里我用的是<a href="http://www.nexenta.org/" target="_blank">nexenta</a>. 这些系统默认装好了deb包制作需要的工具,如dpkg-dev, devscripts等。如果没有,你也可以在制作过程中用apt-get install <packagename>来手动安装。<br><br>1. 创建一个简单的源码包<br><table style="border: 1px solid rgb(153, 153, 153); width: 80%; font-size: 12px;" align="center"><tbody><tr><td>aubrey@aubrey-nexenta:~/d……
查看全文
发表于:2008-02-16 ┆
阅读(1185)
┆
评论(0)
GPG 使用指南
<h2 class="title">The GNU Privacy Guard</h2> <p>Private和public的钥匙是gpg加密和解密过程的主要部分,所以第一步就是创建为自己创建一对密匙.</p> <div class="procedure"> <ol type="1"><li> <p>生成私钥</p> <table style="border: 1px solid rgb(153, 153, 153); width: 80%; font-size: 12px;" align="center"><tbody><tr><td>$gpg --gen-key<br></td></tr></tbody></table> <p>你需要回答一些这个命令提出……
查看全文
发表于:2008-01-28 ┆
阅读(502)
┆
评论(0)
Solaris电源管理
电源管理提供一种能力来控制和管理计算机系统或设备的用电情况。电源管理通过在空闲状态下使用更少的功耗和在未使用时关掉整个系统来使系统能够保存能量。例如,桌面计算机系统能够使用适量的电源并且经常退出空闲状态,尤其是在晚上。电源管理软体可以检测到系统什么时候未被使用。电源管理能够相应的关掉整个系统或者它的一部分组件。<br><br><font style="font-weight: bold;" size="4">电源管理框架</font><br><br>Solaris的电源管理框架根据设备驱动来实现设备相关的电源管理函数。这个框架由两部分实现:<br>1. 设备电源管理……
查看全文
发表于:2007-11-27 ┆
阅读(350)
┆
评论(0)
C1E enhanced halt state
<b>C1E enhanced halt state</b> — Introduced in the Pentium 4 500J-series processors, the C1E halt state replaces the old C1 halt state used on the Pentium 4 and most other x86 CPUs. The C1 halt state is invoked when the operating system's idle process issues a HLT command. (Windows does this constantly when not under a full load.) Entering halt state, which is a lower-power state, will cut a CPU's power consumption and heat production. Intel's new C1E halt state is also invoked by the HL……
查看全文
发表于:2007-11-21 ┆
阅读(531)
┆
评论(0)
ACPI Processor C-state
在G0工作状态下,ACPI定义系统处理器的电源状态,要么为活跃状态(正在执行),要么为睡眠状态(未执行)。处理器电源状态被设计为C0,C1,C2,C3...Cn。C0电源状态是活跃状态,即CPU执行指令。C1到Cn都是处理器睡眠状态,即和C0状态相比,处理器处理器消耗更少的能源并且释放更少的热量。当进入睡眠状态,处理器不执行任何指令。每个睡眠状态都有一个和省电多少对应的延迟。一般来说,进入和退出的延迟越长,这个状态越省电。为了保持能量,OSPM在空闲时将处理器置于其中一个支持的睡眠状态中。在C0状态下,ACPI……
查看全文
发表于:2007-11-21 ┆
阅读(498)
┆
评论(2)
VNC solaris HOWTO
VNC is a remote control software which lets you see and interact with desktop applications across the network.<br><ul style="font-weight: bold;"><li><font size="3">install VNC from www.blastwave.org</font></li></ul><table style="border: 1px solid rgb(153, 153, 153); width: 80%; font-size: 12px;" align="center"><tbody><tr><td>[aubrey-lab@~] sudo pkg-get install vncserver<br>[aubrey-lab@~] sudo pkg-get install vncviewer<br></td></tr></tbody></table><ul style="font-weight: bold;"><li><font ……
查看全文
发表于:2007-09-13 ┆
阅读(657)
┆
评论(0)
Get Started With Blastwave.org for Solaris
<ul style="font-weight: bold;"><li><font size="3">Step 1 - Install pkg-get</font></li></ul>Download pkg-get from here: http://www.blastwave.org/pkg_get.pkg, then install it.<br><table style="border: 1px solid rgb(153, 153, 153); width: 80%; font-size: 12px;" align="center"><tbody><tr><td>#pkgadd -d pkg-get.pkg<br></td></tr></tbody></table><ul style="font-weight: bold;"><li><font size="3">Step 2 - Edit the pkg-get configuration file</font></li></ul><table style="border: 1px solid rgb(153, 153……
查看全文
发表于:2007-09-03 ┆
阅读(418)
┆
评论(0)
Build kernel and Update your Solaris system
<ul><li>Downloading OpenSolaris Kernel</li></ul><table style="border: 1px solid rgb(153, 153, 153); width: 590px; font-size: 12px; height: 168px;" align="center"><tbody><tr><td>[aubrey-lab@work]hg clone ssh://anon@hg.opensolaris.org/hg/onnv/onnv-gate<br>destination directory: onnv-gate<br>requesting all changes<br>adding changesets<br>adding manifests<br>adding file changes<br>added 4801 changesets with 77196 changes to 45357 files<br>41003 files updated, 0 files merged, 0 files remove……
查看全文
发表于:2007-08-06 ┆
阅读(602)
┆
评论(0)
Using VIM + CSCOPE to browse kernel source code
<ul><li>Download VIM and install it from blastwave</li></ul><br><table style="border: 1px solid rgb(153, 153, 153); width: 80%; font-size: 12px;" align="center"><tbody><tr><td><pre>[aubrey-nevada@vim71] sudo pkg-get install vim<br>[aubrey-nevada@vim71] which vim<br><span class="anchor" id="line-329"></span>/opt/csw/bin/vim</pre></td></tr></tbody></table> <ul><li>Replace vi with vim on your system and enable syntax<br></li></ul><br><table style="border: 1px solid rgb(153, 153, ……
查看全文
发表于:2007-08-05 ┆
阅读(539)
┆
评论(0)
Solaris FAQ
<ul><li><font style="font-weight: bold;" size="3">Add group and user</font><br></li><ul><li>groupadd aubrey</li><li>useradd -g aubrey -d /export/home/aubrey -s /bin/bash -m aubrey</li><li>passwd aubrey</li></ul><li style="font-weight: bold;"><font size="3">Registering with DNS</font></li><ul><li>add your <strong>hostname </strong>to /etc/nodename</li><li>Edit /etc/hostname.yourNIC, add "inet hostname"</li><li>reboot</li></ul><li style="font-weight: bold;"><fon……
查看全文
发表于:2007-08-01 ┆
阅读(464)
┆
评论(0)