Jan'uary
不需要显卡也能够启动
Jan 发表于 2005-05-13 15:01:36
可能需要主板的支持,记得我家的老pc没有显卡是启动不了的。还需要一根串行数据线,用来把输出导出到另外的机器上,不然你就什么都看不到啦。
http://www.douzhe.com/docs/jh/4/19916.html
red hat as 2.1 (linux) 串行控制台配置实例
(无显卡,鼠标,键盘)
阿土(Aborigen Yin)
tutu@bsdbase.com
2003.01.20
这是实例,参考《Remote Serial Console HOWTO》(http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/)做的,
因为只是做串口控制台,不需要远程拨入,简单些,没有在别的环境测试过,大家如果有兴趣测试,不妨把你们的结果贴上来。
先在有键盘显卡显示器的情况下做如下工作:
1.安装,使用custom方式,选择lilo作为boot loader,将lilo安装在mbr,注意创建一个普通用户,因为root默认不能从串行控制台登陆,
去掉这个限制的方法在此不作讨论,一般来说,不建议这样做。
2.释放com1
setserial /dev/ttyS2 uart none port 0x0 irq 0
3.设置串口登陆程序
#vi /etc/inittab
#co:2345:respawn:/sbin/agetty -h ttyS0 9600 vt102
co:2345:respawn:/sbin/agetty -h ttyS0 115200 vt102
4.设置lilo
#vi /etc/lilo.conf
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
#message=/boot/message
linear
serial=0,9600n8
image=/boot/vmlinuz-2.4.9-e.3
label=linux
read-only
root=/dev/hda1
append="console=tty0 console=ttyS0,9600n8"
5.设置开机自动硬盘检查;
#vi /etc/sysconfig/autofsck
AUTOFSCK_DEF_CHECK="yes"
PROMPT="yes"
6.设置开机启动的程序(可选)
setup -> system service
注意把kuzdu去掉,以免没有键盘后开机在这里等待。
7.进入coms setup ,设置 standard coms里的 halt on: No Error,这样设置,开机没有显卡时,只是鸣叫报警,还是会继续引导系统,
不会挂起等待按f1,至少我的主板(磐英 EP-4BDAE)是这样的。
好,一切就绪,拔掉这个机器的显卡,键盘,鼠标,连接一条null modem到com1和你的笔记本的com口,打开secureCRT的串口终端,设置
连接速度为9600,开机。
LILO boot:
Loading linux...................
Linux version 2.4.9-e.3 (bhcompile@stripples.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-108.1)) #1 Fri May 3 17:02:43 EDT 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000002fff0000 (usable)
BIOS-e820: 000000002fff0000 - 000000002fff3000 (ACPI NVS)
BIOS-e820: 000000002fff3000 - 0000000030000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
Scanning bios EBDA for MXT signature
....................
blk: queue c03687a0, I/O limit 4095Mb (mask 0xffffffff)
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
Partition check:
hda: hda1 hda2
...............
Entering non-interactive startup
Setting network parameters: [ OK ]
Bringing up interface lo: [ OK ]
Bringing up interface eth0: [ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Loading keymap: [ OK ]
Loading system font: [ OK ]
Initializing random number generator: [ OK ]
Starting sshd: [ OK ]
Starting crond: [ OK ]
Red Hat Linux Advanced Server release 2.1AS/i686 (Pensacola)
bsdbase.anti-spamming.com login:
所有原来在控制台出现的信息会发送到这个终端。
grub作boot loader时似乎复杂一点,没空折腾,哪位作出来了就把笔记贴出来吧~~
http://www.douzhe.com/docs/jh/4/19916.html
red hat as 2.1 (linux) 串行控制台配置实例
(无显卡,鼠标,键盘)
阿土(Aborigen Yin)
tutu@bsdbase.com
2003.01.20
这是实例,参考《Remote Serial Console HOWTO》(http://www.tldp.org/HOWTO/Remote-Serial-Console-HOWTO/)做的,
因为只是做串口控制台,不需要远程拨入,简单些,没有在别的环境测试过,大家如果有兴趣测试,不妨把你们的结果贴上来。
先在有键盘显卡显示器的情况下做如下工作:
1.安装,使用custom方式,选择lilo作为boot loader,将lilo安装在mbr,注意创建一个普通用户,因为root默认不能从串行控制台登陆,
去掉这个限制的方法在此不作讨论,一般来说,不建议这样做。
2.释放com1
setserial /dev/ttyS2 uart none port 0x0 irq 0
3.设置串口登陆程序
#vi /etc/inittab
#co:2345:respawn:/sbin/agetty -h ttyS0 9600 vt102
co:2345:respawn:/sbin/agetty -h ttyS0 115200 vt102
4.设置lilo
#vi /etc/lilo.conf
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
#message=/boot/message
linear
serial=0,9600n8
image=/boot/vmlinuz-2.4.9-e.3
label=linux
read-only
root=/dev/hda1
append="console=tty0 console=ttyS0,9600n8"
5.设置开机自动硬盘检查;
#vi /etc/sysconfig/autofsck
AUTOFSCK_DEF_CHECK="yes"
PROMPT="yes"
6.设置开机启动的程序(可选)
setup -> system service
注意把kuzdu去掉,以免没有键盘后开机在这里等待。
7.进入coms setup ,设置 standard coms里的 halt on: No Error,这样设置,开机没有显卡时,只是鸣叫报警,还是会继续引导系统,
不会挂起等待按f1,至少我的主板(磐英 EP-4BDAE)是这样的。
好,一切就绪,拔掉这个机器的显卡,键盘,鼠标,连接一条null modem到com1和你的笔记本的com口,打开secureCRT的串口终端,设置
连接速度为9600,开机。
LILO boot:
Loading linux...................
Linux version 2.4.9-e.3 (bhcompile@stripples.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-108.1)) #1 Fri May 3 17:02:43 EDT 2002
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000002fff0000 (usable)
BIOS-e820: 000000002fff0000 - 000000002fff3000 (ACPI NVS)
BIOS-e820: 000000002fff3000 - 0000000030000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
Scanning bios EBDA for MXT signature
....................
blk: queue c03687a0, I/O limit 4095Mb (mask 0xffffffff)
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
Partition check:
hda: hda1 hda2
...............
Entering non-interactive startup
Setting network parameters: [ OK ]
Bringing up interface lo: [ OK ]
Bringing up interface eth0: [ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Loading keymap: [ OK ]
Loading system font: [ OK ]
Initializing random number generator: [ OK ]
Starting sshd: [ OK ]
Starting crond: [ OK ]
Red Hat Linux Advanced Server release 2.1AS/i686 (Pensacola)
bsdbase.anti-spamming.com login:
所有原来在控制台出现的信息会发送到这个终端。
grub作boot loader时似乎复杂一点,没空折腾,哪位作出来了就把笔记贴出来吧~~
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
So... why choose Open Source?
Jan 发表于 2005-05-13 13:45:17
A vote has finished recently, here are the choices:
* Lower total cost of ownership
* Reduced dependence on software vendors
* Easier to customize
* Higher level of security
* Do not see a significant advantage
Want to know the result?
* Lower total cost of ownership
* Reduced dependence on software vendors
* Easier to customize
* Higher level of security
* Do not see a significant advantage
Want to know the result?
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
Mad Mac mini multimedia machine
Jan 发表于 2005-05-12 13:17:24
http://www-128.ibm.com/developerworks/power/library/pa-madmac1/?ca=dgr-lnxw04MadMacP1%3Emultimedia
IBM Developer上的系列文章,非常有意思,详细的教你改造iPod Mini. 通过这些方法iPod讲不仅仅是一个mp3播放器, 呵呵。
可惜我没有iPod,不然一定要体验一下。
IBM Developer上的系列文章,非常有意思,详细的教你改造iPod Mini. 通过这些方法iPod讲不仅仅是一个mp3播放器, 呵呵。
可惜我没有iPod,不然一定要体验一下。
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
Xen Howto
Jan 发表于 2005-05-11 13:19:04
久仰Xen大名,一直懒的去试。看到一个不错的Howto, blog先。
http://www-128.ibm.com/developerworks/linux/library/l-xen/index.html?ca=drs-l1105
A moment of Xen: Virtualize Linux to test your apps
Xen is a virtualization technology available for the Linux™ kernel that lets you enclose and test new upgrades as if running them in the existing environment but without the worries of disturbing the original system. The author shows you how to install Xen using Fedora Core, but once installed, everything works the same in Xen on any distribution. Take a look at virtualization on Linux and see the benefits of having a sandbox for testing new software, as well as a playground for running multiple virtual machines on the same Linux box.
With a steady flow of improvements and bug fixes to existing software, the open source world is in constant flux. Staying at the bleeding edge of software upgrades can be a full-time job. One of the trickiest parts about upgrading your software is that you never really know if your applications are going to work after the upgrade is complete. Most software packaging systems offer a rollback feature, but that's often not enough; ideally, you want to play with these new updates to test and try them in an environment where they can't hurt anything.
Like a kid on the playground, you want your own sandbox to play in, where you can make a mess and not worry about picking up.
Virtualization is often used to separate (or "sandbox") applications and systems from the others on the same hardware. Linux supports many different forms of virtualization ranging from hardware emulators to pure hardware virtualization. One recent standout in the growing list of virtualization technologies is Xen, developed at the University of Cambridge. Xen is noteworthy because of its unprecedented performance and security.
Along came Xen
Developed as a research project at the University of Cambridge, Xen has gained a lot of momentum in the open source community. Xen is a paravirtualizing VMM (Virtual Machine Monitor), meaning that the operating system is modified in select areas to make calls into the hypervisor, whereas the applications that run on that operating system are unmodified. While other virtualization systems like VMWare demonstrate true virtualization (in which they don't have to modify the running operating systems), they still need to do on-the-fly translation of the machine code, which can affect performance.
Because Xen requires a modified operating system, you cannot just take a current Linux kernel and run it under the Xen hypervisor unless it is ported to the Xen architecture. However, if the current system can use a new Linux kernel that has been ported to the Xen architecture, you can run your existing system without change.
Figure 1. The simple Xen architecture
The simple Xen architecture
Finding Xen
The source code for Xen is available from the project page (see the Resources section for the link), but if you're already running a Linux distribution, you may be able to get Xen from a package update or installation. These major distributions are packaging Xen:
* Fedora Core.
* SUSE Linux.
* Debian.
* Experimental e-builds at Gentoo's bugzilla are available.
Check with your distribution -- if it is not in this list, you may have to use the source code directly. Beyond distribution-specific install procedures, everything works the same in Xen on any distribution.
Using Fedora Core
I have a working installation of Fedora Core 3, and to keep this article brief, I'm going to talk about getting the system up and running on a Fedora Core.
Fedora sports a great community of Xen users already, even though the packages have only recently landed in the development channels. Because of the number of people trying out Xen on Fedora, you're probably going to have lots of success finding online help.
Installing Xen
To help you get up and running quickly, this section highlights the major points of the Quick Start Guide from the Resources section . As Xen updates are pushed into Fedora, the Quick Start Guide will most likely change over time and hopefully the wiki will remain updated to those changes.
Start with a minimal server installation for the base machine. This base machine is your hypervisor and won't be running any of the server applications. You'll have a chance to install the packages you want on the Xen servers that run atop this machine, so there's no need to install the applications you want to run just yet.
Once you have a system running, you'll need to update it to the latest development version of Fedora, called rawhide. You can do this by going through the elements in the /etc/yum.repos.d/ directory and changing all of them except the fedora-devel.repo to be enabled=0; change fedora-devel.repo to enabled=1.
Now that your yum repository is set up, you need to update the machine to rawhide so you can start using the latest Xen release.
Listing 1. Update FC3 to rawhide and install the Xen packages
yum update
yum install xen kernel-xen0 kernel-xenU
Next, create a dummy filesystem to work with.
Listing 2. Format and set up Xen server filesystems
mkdir -p /xen/base
dd if=/dev/zero of=/root/base.img bs=1M count=1 seek=1024
mkfs.ext3 /root/base.img
mount -o loop /root/base.img /xen/base
With your Xen server filesystems formatted and mounted, the next step is installing the packages necessary to run something on them. To run a Web server on your Xen servers, you'll need to install the Web-server set of packages. (Warning: This will take a while! Run yum, then go for a walk.)
Listing 3. Installing Xen server packages
yum --installroot=/xen/base -y groupinstall web-server \
--enablerepo=base --disablerepo=development
(You should be walking now.)
You now have all the packages you need installed, but you need to drop in a simple fstab file, which tells the Xen servers that they are going to be getting a root device sda1, which they will use as root. This root device is actually a virtualized device coming from the hypervisor, but your servers won't know that.
Listing 4. Xen server fstab file
/dev/sda1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
Write this file into /xen/base/etc/fstab. Without a normal Fedora install, no fstab was created for you. Future versions of Fedora are expected to include a tool for handling this issue.
Finally, you need to do some hacks to get the system running properly. Xen is currently having issues with initrd, so you need to create a few device codes for yourself if you want the system to boot. Then, in order to keep things running smoothly, it's beneficial to move the TLS libraries; at the moment, they interact badly with Xen. Once you've done that, you can unmount this filesystem.
Listing 5. Final hacks to get running
for i in console null zero ; do MAKEDEV -d /xen/base/dev -x $i ; done
mv /lib/tls /lib/tls.disabled
mv /xen/base/lib/tls /xeb/base/lib/tls.disabled
umount /xen/base/
Running Xen
Now that you've painfully set up your guests by hand, you can actually reboot the machine and start using the Xen kernel. You'll probably see a lot more printouts than normal, and you'll also get scary message about the TLS library (the one you moved out of the way in the previous section).
Xen requires configuration files for each server you run. Although you can create a single dynamic configuration file for all of your servers, I recommend creating two static configuration files, one for each. As you can see, the disk label tells the servers that your file image is a sda1 device. The xenU kernel you are using and the memory that the server guest will receive are also specified.
Listing 6. Xen server configuration files
/etc/xen/base
kernel ="/boot/vmlinuz-2.6.10-1.1141_FC4xenU"
memory = 64
name = "BaseServer"
nics = 1
disk = ['file:/root/base.img,sda1,w']
root = "/dev/sda1 ro"
/etc/xen/test
kernel ="/boot/vmlinuz-2.6.10-1.1141_FC4xenU"
memory = 64
name = "TestServer"
nics = 1
disk = ['file:/root/test.img,sda1,w']
root = "/dev/sda1 ro"
To get the servers up and running, start up the Xen service with the command xend start and then create your BaseServer from your base config file with the command xm create base. With those actions, you'll be taken into your Xen guest and you can watch it boot up. If at anytime you want to escape the guest console, press Ctrl-] and go right back to the hypervisor console.
Using Xen
You've now spent some time editing configurations and getting your system set up to run a couple of Xen servers. After all that hard work, what is your reward?
Now you have two copies of a system running the same kernel, virtualized on the same machine. If your BaseServer represents the stable environment that you'd like to run your Web service on normally, then your TestServer can represent the latest software updates that Fedora rawhide provides. You can keep upgrading your TestServer system at will, trying all the new versions of software updates -- when you feel it's stable enough, you can make the TestServer run as the BaseServer.
Setting up the BaseServer
When the BaseServer is operating, it's a good time to change the configuration for the apache httpd service you'll be running. You might want to turn off ssl by moving the ssl.conf file out of the /etc/httpd/conf.d/ directory; otherwise, you'll need to generate a certificate for the servers. Also you might need to add an apache user to the system.
The Xen hypervisor has automatically given you a virtual network device to work with. If you can run dhcp on this device, just run dhclient eth0; you should get an IP address for your BaseServer.
Setting up the TestServer
Once you have your configuration setup for the BaseServer, run poweroff from the BaseServer console to shut down the instance. If you've already logged out of the BaseServer, regain access to it using xm console BaseServer.
Now copy the base image file by using cp /root/base.img /root/test.img so you can have a duplicate copy of the same filesystem. When you run xm create -c test, it runs the same server as the BaseServer, but it's called TestServer. Log into the TestServer and enable rawhide support like you did in the Installing Xen section, and run yum update.
Your TestServer instance has all the same configurations as your BaseServer did, but you've upgraded to the latest packages that Fedora rawhide has to offer. Here's where you get to play around to see if your Web site is still working.
What's left with Xen?
I hope these quick instructions and simple example help you get Xen up and running so you can try it out. In the interest of getting you familiar with Xen quickly, I did not cover how to take advantage of things like LVM and snapshots, or how to do a network migration of a Xen server from one machine to another. But now that you've seen some of the advantages that Xen can provide, explore the Resources below to learn some of the more fancy tricks you can do with it.
Resources
* Find mailing lists and other channels of support for Xen users at the Xen Project Page.
* "Xen and the Art of Virtualization" is a detailed research paper that describes the Xen hypervisor architecture. This and the other papers on the Xen architecture are invaluable in understanding exactly how Xen works.
* "Xen and the Art of Repeated Research" is a performance comparison of XenoLinux (Linux running in a Xen virtual machine) to native Linux as well as to other virtualization tools on an IBM eServer™ zSeries® mainframe. It repeats an earlier performance analysis for consistency of results.
* See the Xen in Fedora Core Project for project update information.
* To get Xen up and running and to share your experiences, use the wiki page on the Xen Quick Start Guide for Fedora from the fedoraproject site.
* The FUDCon: Fedora User and Developer Conference is open to everyone and recently included a talk on Xen at the first conference.
* Get Xen'ed for these distributions: SUSE Linux, Debian, and Gentoo's bugzilla (experimental e-builds).
* "Virtualization and the On Demand Business" (IBM Redpaper, August 2004) describes how organizations can use virtualization as a technique to gain more business value and greater flexibility from their IT infrastructure.
* "Autonomic features of the IBM Virtualization Engine" (developerWorks, September 2004) introduces the title engine, a suite of systems services and technologies that provides a way to manage resources, servers, storage, and networks as an integrated system rather than as individual components.
* "Architecture for Virtualization with WebSphere Application Server, Version 5" demonstrates how to use the WebSphere® Application Server to build virtualization resources.
* "Advanced Virtualization Features on p5 Servers" (IBM Redbooks Technote, February 2005) demonstrates how to select the best virtualization configuration for your needs on an IBM eServer pSeries® 5 server.
* Developer resources for an on demand world offers a roundup of resources on virtualization.
* Find more resources for Linux developers in the developerWorks Linux zone.
* Get involved in the developerWorks community by participating in developerWorks blogs.
* Purchase Linux books at discounted prices in the Linux section of the Developer Bookstore.
* Order the no-charge SEK for Linux, a two-DVD set containing the latest IBM trial software for Linux from DB2®, Lotus®, Rational®, Tivoli®, and WebSphere®.
* Innovate your next Linux development project with IBM trial software, available for download directly from developerWorks.
About the author
Bryan Clark makes monkey noises for Red Hat's Desktop Group. Also a member of many projects on the GNOME Desktop, Bryan tries to be as active as possible in taking over the world's desktops. Bryan and his crew from the Clarkson Open Source Institute published a research paper last year to re-evaluate the Xen performance statistics. He currently lives in Cambridge, Massachusetts, and loves traveling to other places just as interesting. Contact Bryan at bclark@redhat.com.
http://www-128.ibm.com/developerworks/linux/library/l-xen/index.html?ca=drs-l1105
A moment of Xen: Virtualize Linux to test your apps
Xen is a virtualization technology available for the Linux™ kernel that lets you enclose and test new upgrades as if running them in the existing environment but without the worries of disturbing the original system. The author shows you how to install Xen using Fedora Core, but once installed, everything works the same in Xen on any distribution. Take a look at virtualization on Linux and see the benefits of having a sandbox for testing new software, as well as a playground for running multiple virtual machines on the same Linux box.
With a steady flow of improvements and bug fixes to existing software, the open source world is in constant flux. Staying at the bleeding edge of software upgrades can be a full-time job. One of the trickiest parts about upgrading your software is that you never really know if your applications are going to work after the upgrade is complete. Most software packaging systems offer a rollback feature, but that's often not enough; ideally, you want to play with these new updates to test and try them in an environment where they can't hurt anything.
Like a kid on the playground, you want your own sandbox to play in, where you can make a mess and not worry about picking up.
Virtualization is often used to separate (or "sandbox") applications and systems from the others on the same hardware. Linux supports many different forms of virtualization ranging from hardware emulators to pure hardware virtualization. One recent standout in the growing list of virtualization technologies is Xen, developed at the University of Cambridge. Xen is noteworthy because of its unprecedented performance and security.
Along came Xen
Developed as a research project at the University of Cambridge, Xen has gained a lot of momentum in the open source community. Xen is a paravirtualizing VMM (Virtual Machine Monitor), meaning that the operating system is modified in select areas to make calls into the hypervisor, whereas the applications that run on that operating system are unmodified. While other virtualization systems like VMWare demonstrate true virtualization (in which they don't have to modify the running operating systems), they still need to do on-the-fly translation of the machine code, which can affect performance.
Because Xen requires a modified operating system, you cannot just take a current Linux kernel and run it under the Xen hypervisor unless it is ported to the Xen architecture. However, if the current system can use a new Linux kernel that has been ported to the Xen architecture, you can run your existing system without change.
Figure 1. The simple Xen architecture
The simple Xen architecture
Finding Xen
The source code for Xen is available from the project page (see the Resources section for the link), but if you're already running a Linux distribution, you may be able to get Xen from a package update or installation. These major distributions are packaging Xen:
* Fedora Core.
* SUSE Linux.
* Debian.
* Experimental e-builds at Gentoo's bugzilla are available.
Check with your distribution -- if it is not in this list, you may have to use the source code directly. Beyond distribution-specific install procedures, everything works the same in Xen on any distribution.
Using Fedora Core
I have a working installation of Fedora Core 3, and to keep this article brief, I'm going to talk about getting the system up and running on a Fedora Core.
Fedora sports a great community of Xen users already, even though the packages have only recently landed in the development channels. Because of the number of people trying out Xen on Fedora, you're probably going to have lots of success finding online help.
Installing Xen
To help you get up and running quickly, this section highlights the major points of the Quick Start Guide from the Resources section . As Xen updates are pushed into Fedora, the Quick Start Guide will most likely change over time and hopefully the wiki will remain updated to those changes.
Start with a minimal server installation for the base machine. This base machine is your hypervisor and won't be running any of the server applications. You'll have a chance to install the packages you want on the Xen servers that run atop this machine, so there's no need to install the applications you want to run just yet.
Once you have a system running, you'll need to update it to the latest development version of Fedora, called rawhide. You can do this by going through the elements in the /etc/yum.repos.d/ directory and changing all of them except the fedora-devel.repo to be enabled=0; change fedora-devel.repo to enabled=1.
Now that your yum repository is set up, you need to update the machine to rawhide so you can start using the latest Xen release.
Listing 1. Update FC3 to rawhide and install the Xen packages
yum update
yum install xen kernel-xen0 kernel-xenU
Next, create a dummy filesystem to work with.
Listing 2. Format and set up Xen server filesystems
mkdir -p /xen/base
dd if=/dev/zero of=/root/base.img bs=1M count=1 seek=1024
mkfs.ext3 /root/base.img
mount -o loop /root/base.img /xen/base
With your Xen server filesystems formatted and mounted, the next step is installing the packages necessary to run something on them. To run a Web server on your Xen servers, you'll need to install the Web-server set of packages. (Warning: This will take a while! Run yum, then go for a walk.)
Listing 3. Installing Xen server packages
yum --installroot=/xen/base -y groupinstall web-server \
--enablerepo=base --disablerepo=development
(You should be walking now.)
You now have all the packages you need installed, but you need to drop in a simple fstab file, which tells the Xen servers that they are going to be getting a root device sda1, which they will use as root. This root device is actually a virtualized device coming from the hypervisor, but your servers won't know that.
Listing 4. Xen server fstab file
/dev/sda1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
Write this file into /xen/base/etc/fstab. Without a normal Fedora install, no fstab was created for you. Future versions of Fedora are expected to include a tool for handling this issue.
Finally, you need to do some hacks to get the system running properly. Xen is currently having issues with initrd, so you need to create a few device codes for yourself if you want the system to boot. Then, in order to keep things running smoothly, it's beneficial to move the TLS libraries; at the moment, they interact badly with Xen. Once you've done that, you can unmount this filesystem.
Listing 5. Final hacks to get running
for i in console null zero ; do MAKEDEV -d /xen/base/dev -x $i ; done
mv /lib/tls /lib/tls.disabled
mv /xen/base/lib/tls /xeb/base/lib/tls.disabled
umount /xen/base/
Running Xen
Now that you've painfully set up your guests by hand, you can actually reboot the machine and start using the Xen kernel. You'll probably see a lot more printouts than normal, and you'll also get scary message about the TLS library (the one you moved out of the way in the previous section).
Xen requires configuration files for each server you run. Although you can create a single dynamic configuration file for all of your servers, I recommend creating two static configuration files, one for each. As you can see, the disk label tells the servers that your file image is a sda1 device. The xenU kernel you are using and the memory that the server guest will receive are also specified.
Listing 6. Xen server configuration files
/etc/xen/base
kernel ="/boot/vmlinuz-2.6.10-1.1141_FC4xenU"
memory = 64
name = "BaseServer"
nics = 1
disk = ['file:/root/base.img,sda1,w']
root = "/dev/sda1 ro"
/etc/xen/test
kernel ="/boot/vmlinuz-2.6.10-1.1141_FC4xenU"
memory = 64
name = "TestServer"
nics = 1
disk = ['file:/root/test.img,sda1,w']
root = "/dev/sda1 ro"
To get the servers up and running, start up the Xen service with the command xend start and then create your BaseServer from your base config file with the command xm create base. With those actions, you'll be taken into your Xen guest and you can watch it boot up. If at anytime you want to escape the guest console, press Ctrl-] and go right back to the hypervisor console.
Using Xen
You've now spent some time editing configurations and getting your system set up to run a couple of Xen servers. After all that hard work, what is your reward?
Now you have two copies of a system running the same kernel, virtualized on the same machine. If your BaseServer represents the stable environment that you'd like to run your Web service on normally, then your TestServer can represent the latest software updates that Fedora rawhide provides. You can keep upgrading your TestServer system at will, trying all the new versions of software updates -- when you feel it's stable enough, you can make the TestServer run as the BaseServer.
Setting up the BaseServer
When the BaseServer is operating, it's a good time to change the configuration for the apache httpd service you'll be running. You might want to turn off ssl by moving the ssl.conf file out of the /etc/httpd/conf.d/ directory; otherwise, you'll need to generate a certificate for the servers. Also you might need to add an apache user to the system.
The Xen hypervisor has automatically given you a virtual network device to work with. If you can run dhcp on this device, just run dhclient eth0; you should get an IP address for your BaseServer.
Setting up the TestServer
Once you have your configuration setup for the BaseServer, run poweroff from the BaseServer console to shut down the instance. If you've already logged out of the BaseServer, regain access to it using xm console BaseServer.
Now copy the base image file by using cp /root/base.img /root/test.img so you can have a duplicate copy of the same filesystem. When you run xm create -c test, it runs the same server as the BaseServer, but it's called TestServer. Log into the TestServer and enable rawhide support like you did in the Installing Xen section, and run yum update.
Your TestServer instance has all the same configurations as your BaseServer did, but you've upgraded to the latest packages that Fedora rawhide has to offer. Here's where you get to play around to see if your Web site is still working.
What's left with Xen?
I hope these quick instructions and simple example help you get Xen up and running so you can try it out. In the interest of getting you familiar with Xen quickly, I did not cover how to take advantage of things like LVM and snapshots, or how to do a network migration of a Xen server from one machine to another. But now that you've seen some of the advantages that Xen can provide, explore the Resources below to learn some of the more fancy tricks you can do with it.
Resources
* Find mailing lists and other channels of support for Xen users at the Xen Project Page.
* "Xen and the Art of Virtualization" is a detailed research paper that describes the Xen hypervisor architecture. This and the other papers on the Xen architecture are invaluable in understanding exactly how Xen works.
* "Xen and the Art of Repeated Research" is a performance comparison of XenoLinux (Linux running in a Xen virtual machine) to native Linux as well as to other virtualization tools on an IBM eServer™ zSeries® mainframe. It repeats an earlier performance analysis for consistency of results.
* See the Xen in Fedora Core Project for project update information.
* To get Xen up and running and to share your experiences, use the wiki page on the Xen Quick Start Guide for Fedora from the fedoraproject site.
* The FUDCon: Fedora User and Developer Conference is open to everyone and recently included a talk on Xen at the first conference.
* Get Xen'ed for these distributions: SUSE Linux, Debian, and Gentoo's bugzilla (experimental e-builds).
* "Virtualization and the On Demand Business" (IBM Redpaper, August 2004) describes how organizations can use virtualization as a technique to gain more business value and greater flexibility from their IT infrastructure.
* "Autonomic features of the IBM Virtualization Engine" (developerWorks, September 2004) introduces the title engine, a suite of systems services and technologies that provides a way to manage resources, servers, storage, and networks as an integrated system rather than as individual components.
* "Architecture for Virtualization with WebSphere Application Server, Version 5" demonstrates how to use the WebSphere® Application Server to build virtualization resources.
* "Advanced Virtualization Features on p5 Servers" (IBM Redbooks Technote, February 2005) demonstrates how to select the best virtualization configuration for your needs on an IBM eServer pSeries® 5 server.
* Developer resources for an on demand world offers a roundup of resources on virtualization.
* Find more resources for Linux developers in the developerWorks Linux zone.
* Get involved in the developerWorks community by participating in developerWorks blogs.
* Purchase Linux books at discounted prices in the Linux section of the Developer Bookstore.
* Order the no-charge SEK for Linux, a two-DVD set containing the latest IBM trial software for Linux from DB2®, Lotus®, Rational®, Tivoli®, and WebSphere®.
* Innovate your next Linux development project with IBM trial software, available for download directly from developerWorks.
About the author
Bryan Clark makes monkey noises for Red Hat's Desktop Group. Also a member of many projects on the GNOME Desktop, Bryan tries to be as active as possible in taking over the world's desktops. Bryan and his crew from the Clarkson Open Source Institute published a research paper last year to re-evaluate the Xen performance statistics. He currently lives in Cambridge, Massachusetts, and loves traveling to other places just as interesting. Contact Bryan at bclark@redhat.com.
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
Apache Open-Source Java Project Creates a Stir
Jan 发表于 2005-05-11 13:11:16
Apache的做法似乎是有点不厚道,但是我觉得百家争鸣始终比一支独秀要好的多,何况现在连一支也没有。
http://www.eweek.com/article2/0,1759,1814639,00.asp?kc=EWRSS03129TX1K0000616
Open Source License的世界真的是暗流汹涌。
Developers are approaching the Apache Software Foundation's plan to deliver an open-source version of the Java 2 Standard Edition runtime platform with both interest and vigilance.
The Apache Harmony project, launched last week, sets out to create an open-source version of J2SE under the Apache license. ADVERTISEMENT
As the "motivation" for the project states: "…there are many ongoing efforts to produce solutions," such as the Kaffe and Classpath open-source projects, among others. "All of these efforts provide a diversity of solutions, which is healthy, but barriers exist which prevent these efforts from reaching a greater potential."
Miguel de Icaza, founder of the open-source Mono project to create a platform for running .Net applications, co-founder and former chief technology officer at Ximian Inc. and now vice president of developer platforms at Novell Inc., last weekend discussed the Apache effort in his Weblog.
"I can only speculate that this was done to avoid the side effects of class libraries licensed under the GPL-with-exceptions [General Public License] or the LGPL [Limited General Public License] which make people nervous," de Icaza said.
"Depending on how this process is managed, this could either become a big delay in bringing a full free software/open-source Java implementation (as people take sides on the licensing debate) or if managed properly could make open-source Java more viable," he said.
De Icaza said he thinks the Harmony project will take a long time to bear fruit. Others agreed. "More power to Apache, and I hope they manage to attract a huge community, but I suspect it will be a long time before Harmony will be competitive with Sun J2SE, BEA JRocket or IBM's J2SE," said Anne Thomas Manes, an analyst with Burton Group Inc.
"Because of previous licensing agreements, neither BEA nor IBM can open-source their implementations. I still say that Sun needs to open-source their J2SE implementation," Manes said.
PointerClick here to read about the ASF's Apache Lenya update.
In his blog, Graham Hamilton, a vice president and fellow on the Java Platform team at Sun, said: "Personally, I am very curious about how the Harmony project will work out—creating a full-scale implementation of J2SE is a mammoth task, as the Sun J2SE team knows only too well."
eWEEK.com Special Report: Java Futures
A developer close to Apache, who asked not to be identified, said, "People in the open-source world have been talking about doing this for a while. There's been GPL'd stuff in the works, but I think doing this in Apache and with the relationship Apache has built with the JCP [Java Community Process] will make this significant when it gets done. Of course, that's going to take a while—but there are a lot of folks signing up to help."
Moreover, IBM's acquisition of Gluecode Software Inc. Tuesday could have impact on how soon the Harmony project ramps up to produce deliverables, as IBM could put its might and resources behind the project. However, a source close to the situation said IBM would take a wait-and-see approach to Harmony.
Meanwhile, Manes expressed a watchful skepticism. "I don't see Apache being able to deliver a working, highly performing, secure, full-scale clean room implementation of J2SE any time soon," she said. "And anyone that has even looked at Sun's source shouldn't work on the project, because they'll contaminate it."
Bob Bickel, vice president of strategy and corporate development at JBoss Inc., said, "For Apache to do a black box version of J2SE is a tough technical challenge and they'll always be working from behind. But I think Sun will eventually feel the heat and do the right thing."
PointerRead Sean Gallagher's commentary here on the future of Sun's Java.
The source close to Apache added, "It puts Sun in an interesting position, but I don't think they'll take either extreme position—fight it or suddenly decide to open-source their stuff. Companies like BEA and IBM are likely to be considering whether they should worry about this or contribute their code bases for the marketing, etc., but there are some legal restrictions those companies have with Sun to prevent from donating too much, and any one major contribution would be discussed among the Apache community as to whether accepting it would be a net positive or negative."
eWEEK.com Special Report: Sun's Identity Crisis
In his blog, de Icaza focused on the challenges Harmony faces.
"The challenge that the Harmony project faces now is significant," de Icaza said in his posting. "They need to convince enough of the existing open-source Java developers that they should abandon the current GNU Classpath effort and either relicense their code to be Apache-license compatible, or … rewrite their code to assist this new effort on the grounds that the Apache License is better."
Hamilton, in his blog, said: "The licensing rules for J2SE 5.0 were carefully designed to allow independent, compatible open-source implementations of the J2SE specification. Personally, I am not entirely sure if the world really needs a second J2SE implementation, but at the same time I am also glad to see that all the effort we put into getting the rules and the licensing issues straightened out is actually proving useful!"
Moreover, in his blog, de Icaza said that if the Apache Harmony group is "not able to bring these existing contributors over they are going to have to grow this code base from scratch and depend on member companies to contribute code to the effort." He added, "It is hard to tell what will happen, but without the endorsement of the majority of the GNU Classpath developers this is a major setback for open-source/free software Java."
http://www.eweek.com/article2/0,1759,1814639,00.asp?kc=EWRSS03129TX1K0000616
Open Source License的世界真的是暗流汹涌。
Developers are approaching the Apache Software Foundation's plan to deliver an open-source version of the Java 2 Standard Edition runtime platform with both interest and vigilance.
The Apache Harmony project, launched last week, sets out to create an open-source version of J2SE under the Apache license. ADVERTISEMENT
As the "motivation" for the project states: "…there are many ongoing efforts to produce solutions," such as the Kaffe and Classpath open-source projects, among others. "All of these efforts provide a diversity of solutions, which is healthy, but barriers exist which prevent these efforts from reaching a greater potential."
Miguel de Icaza, founder of the open-source Mono project to create a platform for running .Net applications, co-founder and former chief technology officer at Ximian Inc. and now vice president of developer platforms at Novell Inc., last weekend discussed the Apache effort in his Weblog.
"I can only speculate that this was done to avoid the side effects of class libraries licensed under the GPL-with-exceptions [General Public License] or the LGPL [Limited General Public License] which make people nervous," de Icaza said.
"Depending on how this process is managed, this could either become a big delay in bringing a full free software/open-source Java implementation (as people take sides on the licensing debate) or if managed properly could make open-source Java more viable," he said.
De Icaza said he thinks the Harmony project will take a long time to bear fruit. Others agreed. "More power to Apache, and I hope they manage to attract a huge community, but I suspect it will be a long time before Harmony will be competitive with Sun J2SE, BEA JRocket or IBM's J2SE," said Anne Thomas Manes, an analyst with Burton Group Inc.
"Because of previous licensing agreements, neither BEA nor IBM can open-source their implementations. I still say that Sun needs to open-source their J2SE implementation," Manes said.
PointerClick here to read about the ASF's Apache Lenya update.
In his blog, Graham Hamilton, a vice president and fellow on the Java Platform team at Sun, said: "Personally, I am very curious about how the Harmony project will work out—creating a full-scale implementation of J2SE is a mammoth task, as the Sun J2SE team knows only too well."
eWEEK.com Special Report: Java Futures
A developer close to Apache, who asked not to be identified, said, "People in the open-source world have been talking about doing this for a while. There's been GPL'd stuff in the works, but I think doing this in Apache and with the relationship Apache has built with the JCP [Java Community Process] will make this significant when it gets done. Of course, that's going to take a while—but there are a lot of folks signing up to help."
Moreover, IBM's acquisition of Gluecode Software Inc. Tuesday could have impact on how soon the Harmony project ramps up to produce deliverables, as IBM could put its might and resources behind the project. However, a source close to the situation said IBM would take a wait-and-see approach to Harmony.
Meanwhile, Manes expressed a watchful skepticism. "I don't see Apache being able to deliver a working, highly performing, secure, full-scale clean room implementation of J2SE any time soon," she said. "And anyone that has even looked at Sun's source shouldn't work on the project, because they'll contaminate it."
Bob Bickel, vice president of strategy and corporate development at JBoss Inc., said, "For Apache to do a black box version of J2SE is a tough technical challenge and they'll always be working from behind. But I think Sun will eventually feel the heat and do the right thing."
PointerRead Sean Gallagher's commentary here on the future of Sun's Java.
The source close to Apache added, "It puts Sun in an interesting position, but I don't think they'll take either extreme position—fight it or suddenly decide to open-source their stuff. Companies like BEA and IBM are likely to be considering whether they should worry about this or contribute their code bases for the marketing, etc., but there are some legal restrictions those companies have with Sun to prevent from donating too much, and any one major contribution would be discussed among the Apache community as to whether accepting it would be a net positive or negative."
eWEEK.com Special Report: Sun's Identity Crisis
In his blog, de Icaza focused on the challenges Harmony faces.
"The challenge that the Harmony project faces now is significant," de Icaza said in his posting. "They need to convince enough of the existing open-source Java developers that they should abandon the current GNU Classpath effort and either relicense their code to be Apache-license compatible, or … rewrite their code to assist this new effort on the grounds that the Apache License is better."
Hamilton, in his blog, said: "The licensing rules for J2SE 5.0 were carefully designed to allow independent, compatible open-source implementations of the J2SE specification. Personally, I am not entirely sure if the world really needs a second J2SE implementation, but at the same time I am also glad to see that all the effort we put into getting the rules and the licensing issues straightened out is actually proving useful!"
Moreover, in his blog, de Icaza said that if the Apache Harmony group is "not able to bring these existing contributors over they are going to have to grow this code base from scratch and depend on member companies to contribute code to the effort." He added, "It is hard to tell what will happen, but without the endorsement of the majority of the GNU Classpath developers this is a major setback for open-source/free software Java."
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
initng: Next Generation of Init(sysvinit)
Jan 发表于 2005-05-11 12:49:02
initng 0.0.10
Sun May 8 23:29:26 2005
Description: A next generation init replacement
Changes:
*initng-0.0.10 (08 May 2005)
08 May 2005; Mike Frysinger <vapier@gentoo.org> +initng-0.0.10.ebuild:
Version bump #91912 by Andreas Rosander.
Init Next Generation. 据说能极大的加快启动速度,可惜他的网站我打不开,有机会的话试试。
Gentoo论坛上的讨论
Sun May 8 23:29:26 2005
Description: A next generation init replacement
Changes:
*initng-0.0.10 (08 May 2005)
08 May 2005; Mike Frysinger <vapier@gentoo.org> +initng-0.0.10.ebuild:
Version bump #91912 by Andreas Rosander.
Init Next Generation. 据说能极大的加快启动速度,可惜他的网站我打不开,有机会的话试试。
Gentoo论坛上的讨论
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
An interesting interview with Bram Cohen: Creator of BitTorrent
Jan 发表于 2005-05-10 13:38:57
首先, Bram同志结婚了~~ 辟里怕啦, 祝贺他
其次,为什么大牛都是辍学的呢...
While reading an article entitled “The BitTorrent Effect” which appeared in the January 2005 issue of Wired Magazine, I was surprised to find out that the creator of BitTorrent, Bram Cohen, has Asperger’s Syndrome. After finishing this article, I became determined to track down Cohen and ask him some questions about how Asperger’s Syndrome has affected his very successful life. I finally found him on IRC and was able to interview him about how he has dealt with Asperger’s Syndrome. I’d like to thank Mr. Cohen for taking the time out of his busy schedule to answer these somewhat personal questions.
Cohen started working on BitTorrent in April, 2001. Since the release of this technology in the summer of 2001, it has quickly grown into one of the most preeminent file distribution methods, especially among open source products such as Linux. The decentralized nature of BitTorrent allows an individual or company to share its files without needing to worry about bandwidth demands. Every client downloading a file from the network will usually donate part of its own bandwidth which, when added up with all the other donwloaders of the particular file, becomes quite a lot, making it much faster than technologies such as Gnutella (or Kazaa).
Because there is already a plethora of information about BitTorrent, this interview takes a different approach and focuses entirely on Cohen’s Asperger’s Syndrome. Cohen’s story is extremely inspirational to those of us who do have Asperger’s, and will probably be so even to those without Asperger’s Syndrome (Sorry, Asperger’s makes it hard for me to tell what other people will think, so I’m only guessing that it will be ;-). I know that many of you with Asperger's Syndrome may be at a low point in life, but this is only temporary! Bram has been there too and now he is one of the most respected figures in the computer science field.
WrongPlanet.net: How has Asperger's helped you with your programming?
Bram Cohen: Oh, heh, I dunno. I tend to get obsessed with technical problems, and have a very long attention span, which are obviously good traits for being a programmer, and seem like Asperger's traits, but [because of] not having an almost-identical-except-no-asperger's version of myself, it's hard to compare.
WP: How was life at school?
BC: I hated school, and dropped out of college. I got picked on a lot in school, and had a lot of trouble making friends.
WP: I know the feeling.
BC: One thing about school - I always had this attitude that I was in school to learn, and attempted to do whatever was involved in that process, while school had this attitude that I was there to earn grades, which I couldn't care less about. Unsurprisingly, my grades weren't very good.
WP: That's been true for me as well. I tend to have trouble focusing on anything that I'm not interested in. Do you have this problem?
BC: Yes, I'm extremely bad at working on things which seem pointless (uninteresting I can mostly deal with). It's caused problems for me at some workplaces, particularly when the whole job was to maintain a garbage legacy codebase.
WP: So you taught yourself the languages that you know?
BC: My father taught me Basic and rudimentary C, I learned everything else on my own, including studying computational complexity on my own. That's more a function of my age than anything else though - back when I was in school there were hardly any programming classes.
WP: How did you meet your wife? [Many of us with Asperger’s tend to have trouble with romantic relationships.]
BC: I met my wife because she knew someone I worked withh, I don't want to go into more detail than that.
WP: I understand and that's perfectly fine. How has Asperger's influenced your attempts to find a job [or work at one]?
BC: In terms of work I've always had a Bad Attitude in that I won't work anywhere which requires me to work strict hours or follow a dress code. I don't know if that's an Asperger's thing or not, I think it's just being reasonable.
WP: A lot of us would agree with you on that. Do you have anything else you'd like to add [about Asperger’s Syndrome in general]?
BC: About Asperger's in general, I'd like to comment that I never really identified as having it until I started to learn some basic social signaling and realized just how bad my problems had been.
It's very frustrating now, because I can remember events in my life well enough to be able to realize now what people were thinking at the time, even though I had no idea what was going on back then, but of course there's no way of going back and explaining it to myself.
WP: A lot of people seem to feel that way when they find out later in life. What do you have the most difficulty with in social situations?
BC: There's no single thing which causes problems, it's a general missing skill set of being able to read faces, and being able to express thoughts on one's own face properly (there are other social cues, of course, but in my case I learned starting with the face, and everything else was easy from there).
I still sometimes get tired and just completely lose it. I try to not make eye contact when that happens. Fortunately people are very accepting when one seems to 'snap out of it', so if I act weird around someone one day then reasonably interactive the next they generally figure that I was just tired or distracted or something
WP: This is totally unrelated and more of a question I ask to anyone I speak to: What operating system do you prefer?
BC: I hate dealing with computers in general, so I'm typically OS-agnostic, I've most recently been abused by a windows machine, so I hate that the most for the moment.
WP: Ha ha. Well I don't want to take too much of your time away from you. Thanks for the help!
BC: You're welcome.
其次,为什么大牛都是辍学的呢...
While reading an article entitled “The BitTorrent Effect” which appeared in the January 2005 issue of Wired Magazine, I was surprised to find out that the creator of BitTorrent, Bram Cohen, has Asperger’s Syndrome. After finishing this article, I became determined to track down Cohen and ask him some questions about how Asperger’s Syndrome has affected his very successful life. I finally found him on IRC and was able to interview him about how he has dealt with Asperger’s Syndrome. I’d like to thank Mr. Cohen for taking the time out of his busy schedule to answer these somewhat personal questions.
Cohen started working on BitTorrent in April, 2001. Since the release of this technology in the summer of 2001, it has quickly grown into one of the most preeminent file distribution methods, especially among open source products such as Linux. The decentralized nature of BitTorrent allows an individual or company to share its files without needing to worry about bandwidth demands. Every client downloading a file from the network will usually donate part of its own bandwidth which, when added up with all the other donwloaders of the particular file, becomes quite a lot, making it much faster than technologies such as Gnutella (or Kazaa).
Because there is already a plethora of information about BitTorrent, this interview takes a different approach and focuses entirely on Cohen’s Asperger’s Syndrome. Cohen’s story is extremely inspirational to those of us who do have Asperger’s, and will probably be so even to those without Asperger’s Syndrome (Sorry, Asperger’s makes it hard for me to tell what other people will think, so I’m only guessing that it will be ;-). I know that many of you with Asperger's Syndrome may be at a low point in life, but this is only temporary! Bram has been there too and now he is one of the most respected figures in the computer science field.
WrongPlanet.net: How has Asperger's helped you with your programming?
Bram Cohen: Oh, heh, I dunno. I tend to get obsessed with technical problems, and have a very long attention span, which are obviously good traits for being a programmer, and seem like Asperger's traits, but [because of] not having an almost-identical-except-no-asperger's version of myself, it's hard to compare.
WP: How was life at school?
BC: I hated school, and dropped out of college. I got picked on a lot in school, and had a lot of trouble making friends.
WP: I know the feeling.
BC: One thing about school - I always had this attitude that I was in school to learn, and attempted to do whatever was involved in that process, while school had this attitude that I was there to earn grades, which I couldn't care less about. Unsurprisingly, my grades weren't very good.
WP: That's been true for me as well. I tend to have trouble focusing on anything that I'm not interested in. Do you have this problem?
BC: Yes, I'm extremely bad at working on things which seem pointless (uninteresting I can mostly deal with). It's caused problems for me at some workplaces, particularly when the whole job was to maintain a garbage legacy codebase.
WP: So you taught yourself the languages that you know?
BC: My father taught me Basic and rudimentary C, I learned everything else on my own, including studying computational complexity on my own. That's more a function of my age than anything else though - back when I was in school there were hardly any programming classes.
WP: How did you meet your wife? [Many of us with Asperger’s tend to have trouble with romantic relationships.]
BC: I met my wife because she knew someone I worked withh, I don't want to go into more detail than that.
WP: I understand and that's perfectly fine. How has Asperger's influenced your attempts to find a job [or work at one]?
BC: In terms of work I've always had a Bad Attitude in that I won't work anywhere which requires me to work strict hours or follow a dress code. I don't know if that's an Asperger's thing or not, I think it's just being reasonable.
WP: A lot of us would agree with you on that. Do you have anything else you'd like to add [about Asperger’s Syndrome in general]?
BC: About Asperger's in general, I'd like to comment that I never really identified as having it until I started to learn some basic social signaling and realized just how bad my problems had been.
It's very frustrating now, because I can remember events in my life well enough to be able to realize now what people were thinking at the time, even though I had no idea what was going on back then, but of course there's no way of going back and explaining it to myself.
WP: A lot of people seem to feel that way when they find out later in life. What do you have the most difficulty with in social situations?
BC: There's no single thing which causes problems, it's a general missing skill set of being able to read faces, and being able to express thoughts on one's own face properly (there are other social cues, of course, but in my case I learned starting with the face, and everything else was easy from there).
I still sometimes get tired and just completely lose it. I try to not make eye contact when that happens. Fortunately people are very accepting when one seems to 'snap out of it', so if I act weird around someone one day then reasonably interactive the next they generally figure that I was just tired or distracted or something
WP: This is totally unrelated and more of a question I ask to anyone I speak to: What operating system do you prefer?
BC: I hate dealing with computers in general, so I'm typically OS-agnostic, I've most recently been abused by a windows machine, so I hate that the most for the moment.
WP: Ha ha. Well I don't want to take too much of your time away from you. Thanks for the help!
BC: You're welcome.
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
Creative's New X-Fi Audio Processor
Jan 发表于 2005-05-10 13:23:16
Creative终于有新动作了,这次给我们带来的是全新的芯片X-Fi, 不多说了,技术参数对比如下:
X-Fi Audigy (EMU10K2.5) Difference
Transistors: 51,100,100 4,600,100 11X
Logic Gates: 1,613,658 200,000 8X
Manufacturing Process: 0.13-micron, 1.2V core 0.18-micron, 1.8V core N/A
Clock Frequency: 400MHz 200MHz 2X
Processing: 10,340 MIPS 424+ MIPS 24.4X
具体的评论在这里
看来工作以后不必担心只能买到已经上市n久的Audigy了。
X-Fi Audigy (EMU10K2.5) Difference
Transistors: 51,100,100 4,600,100 11X
Logic Gates: 1,613,658 200,000 8X
Manufacturing Process: 0.13-micron, 1.2V core 0.18-micron, 1.8V core N/A
Clock Frequency: 400MHz 200MHz 2X
Processing: 10,340 MIPS 424+ MIPS 24.4X
具体的评论在这里
看来工作以后不必担心只能买到已经上市n久的Audigy了。
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
Where to get fund?
Jan 发表于 2005-05-10 13:20:56
http://www.fundable.org/
有意思的网站。如果你的开源项目缺少资金,或许可以考虑这里(当然sourceforge.net也是很好的选择)。
更有意思的是这个网站不仅仅限于为开源项目提供资金,还可以挖掘出许多其他的用途。比如团购
有意思的网站。如果你的开源项目缺少资金,或许可以考虑这里(当然sourceforge.net也是很好的选择)。
更有意思的是这个网站不仅仅限于为开源项目提供资金,还可以挖掘出许多其他的用途。比如团购
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
Experiences with GCC 4
Jan 发表于 2005-05-10 13:15:13
终于出现小白鼠了,看来4.0也不是想象中的那么可怕。
As I always like to be on the bleeding edge, I recently rebuilt my complete Gentoo system with the new gcc 4.0.0.
The good news is that it's getting better every day, but you still need a lot of fixes, so if you decide to try it, please be prepared that you'll have to play around, apply patches etc.
* To bootstrap your system with gcc 4, you need to add sys-devel/gcc and sys-libs/glibc to your package.unmask and package.keywords, because they are hard-masked in package.mask and have KEYWORDS="-*". I always have ACCEPT_KEYWORDS="~x86" set in make.conf to get the latest testing-packages, this is probably advisable if you want to try out such bleeding edge stuff.
* xorg-x11 fails, but a patch is in the masked xorg-x11-6.8.2-r2 ebuild, so add that to package.unmask, too.
* A number of packages failed to compile that are now fixed in portage, so you don't have to care about (xfsprogs, mod_php-5, probably some more I forgot).
* libsdl needs to be compiled with -O0, see this bug for details.
* Konqueror compiles, but segfaults, a fix/patch is here.
* Mozilla / Firefox don't compile, see here, but I didn't try/need, as Konqueror is my browser of choice.
* A bigger problem was the kernel, as 2.6.11.8 fails to compile and 2.6.12-rc3/rc4 brought a kernel panic while booting. I'm now running 2.6.12-rc3-mm3, it boots and mostly works, but acpi4asus seems to be broken (don't know if this is due to gcc4 or mm-kernel).
* Packages that still fail for me: gstreamer-ffmpeg, fte, tcpdump, dosemu, wine, openoffice-ximian. All upstream devs are informed, so I think patches will appear soon.
So finally, no really important packages are missing, my system works quite stable so far.
Feel free to try out yourself. If packages fail to build, try searching the gentoo-bugzilla and the upstream-webpage for fixes. If you have patches/fixes for the packages above, feel free to add a link to the comments. If you wrote patches yourself, make sure to send them to the upstream-devs and to the gentoo bugzilla.
As I always like to be on the bleeding edge, I recently rebuilt my complete Gentoo system with the new gcc 4.0.0.
The good news is that it's getting better every day, but you still need a lot of fixes, so if you decide to try it, please be prepared that you'll have to play around, apply patches etc.
* To bootstrap your system with gcc 4, you need to add sys-devel/gcc and sys-libs/glibc to your package.unmask and package.keywords, because they are hard-masked in package.mask and have KEYWORDS="-*". I always have ACCEPT_KEYWORDS="~x86" set in make.conf to get the latest testing-packages, this is probably advisable if you want to try out such bleeding edge stuff.
* xorg-x11 fails, but a patch is in the masked xorg-x11-6.8.2-r2 ebuild, so add that to package.unmask, too.
* A number of packages failed to compile that are now fixed in portage, so you don't have to care about (xfsprogs, mod_php-5, probably some more I forgot).
* libsdl needs to be compiled with -O0, see this bug for details.
* Konqueror compiles, but segfaults, a fix/patch is here.
* Mozilla / Firefox don't compile, see here, but I didn't try/need, as Konqueror is my browser of choice.
* A bigger problem was the kernel, as 2.6.11.8 fails to compile and 2.6.12-rc3/rc4 brought a kernel panic while booting. I'm now running 2.6.12-rc3-mm3, it boots and mostly works, but acpi4asus seems to be broken (don't know if this is due to gcc4 or mm-kernel).
* Packages that still fail for me: gstreamer-ffmpeg, fte, tcpdump, dosemu, wine, openoffice-ximian. All upstream devs are informed, so I think patches will appear soon.
So finally, no really important packages are missing, my system works quite stable so far.
Feel free to try out yourself. If packages fail to build, try searching the gentoo-bugzilla and the upstream-webpage for fixes. If you have patches/fixes for the packages above, feel free to add a link to the comments. If you wrote patches yourself, make sure to send them to the upstream-devs and to the gentoo bugzilla.
收藏:
QQ书签
del.icio.us
订阅:
Google
抓虾
