Version 7 (modified by mitty, 14 years ago) (diff) |
---|
Xen
- Xen をインストールしたことのある Ubuntu で init 後に login プロンプトが表示されない - yuyarinの日記
- tail /var/log/syslog
Oct 26 06:40:10 noel init: tty1 main process (21344) terminated with status 1 Oct 26 06:40:10 noel init: tty1 main process ended, respawning Oct 26 06:40:20 noel init: tty1 main process (21455) terminated with status 1 Oct 26 06:40:20 noel init: tty1 main process ended, respawning Oct 26 06:40:30 noel init: tty1 main process (21456) terminated with status 1 Oct 26 06:40:30 noel init: tty1 main process ended, respawning Oct 26 06:40:40 noel init: tty1 main process (21457) terminated with status 1 Oct 26 06:40:40 noel init: tty1 main process ended, respawning
- => edit /etc/event.d/tty1 and system reboot
-exec /sbin/getty 38400 xvc0 +exec /sbin/getty 38400 tty1
- see also OXT blog » Blog Archive » tty’s killed on Ubuntu Hardy Heron VPS
- tail /var/log/syslog
Xen with Ubuntu lucid
- https://help.ubuntu.com/community/Xen
- Maverick Notes (Xen 4.0.1 pvops on Ubuntu 10.10)
The Xen packages that come with Ubuntu 10.10 ubuntu-xen-desktop and ubuntu-xen-server have broken dependencies. Therefore, we will have to download Xen source and build it.
- Maverick Notes (Xen 4.0.1 pvops on Ubuntu 10.10)
force install ubuntu-xen-server
- 結論としては「失敗」
- $ sudo aptitude install -R ubuntu-xen-server
The following packages are BROKEN: ubuntu-xen-server The following NEW packages will be installed: libc6-xen libsdl1.2debian{a} libsdl1.2debian-alsa{a} linux-generic-pae linux-image-2.6.32-27-generic-pae linux-image-generic-pae linux-server python-dev{a} python-xen-3.3 python2.6-dev{a} xen-docs-3.3 xen-hypervisor-3.3 xen-utils-3.3 The following packages are RECOMMENDED but will NOT be installed: libc6-dev 0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded. Need to get 39.3MB/39.5MB of archives. After unpacking 120MB will be used. The following packages have unmet dependencies: ubuntu-xen-server: Depends: xen-tools which is a virtual package. The following actions will resolve these dependencies: Keep the following packages at their current version: ubuntu-xen-server [Not Installed] Score is -9881 Accept this solution? [Y/n/q/?] Y The following NEW packages will be installed: libc6-xen libsdl1.2debian{a} libsdl1.2debian-alsa{a} linux-generic-pae linux-image-2.6.32-27-generic-pae linux-image-generic-pae linux-server python-dev{a} python-xen-3.3 python2.6-dev{a} xen-docs-3.3 xen-hypervisor-3.3 xen-utils-3.3 The following packages are RECOMMENDED but will NOT be installed: libc6-dev 0 packages upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 39.3MB/39.5MB of archives. After unpacking 120MB will be used. Do you want to continue? [Y/n/?] (snip) Processing triggers for python-central ... Setting up xen-utils-3.3 (3.3.0-1ubuntu11) ... update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (S 0 1 6) grep: /proc/xen/capabilities: No such file or directory update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) update-rc.d: warning: xendomains stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) (snip)
- $ uname -a
Linux milly 2.6.32-27-generic-pae #49-Ubuntu SMP Thu Dec 2 00:07:52 UTC 2010 i686 GNU/Linux
cannot start xend
- $ sudo service xend start
grep: /proc/xen/capabilities: No such file or directory
- $ sudo vim /etc/fstab
xenfs /proc/xen xenfs defaults 0 0
An error occured while mounting /proc/xen
remove xen 3.3
- $ sudo aptitude remove -R \
> libc6-xen libsdl1.2debian libsdl1.2debian-alsa linux-generic-pae\ > linux-image-2.6.32-27-generic-pae linux-image-generic-pae linux-server\ > python-dev python-xen-3.3 python2.6-dev xen-docs-3.3\ > xen-hypervisor-3.3 xen-utils-3.3
The following packages will be REMOVED: libc6-xen libsdl1.2debian libsdl1.2debian-alsa linux-generic-pae linux-image-2.6.32-27-generic-pae linux-image-generic-pae linux-server python-dev python-xen-3.3 python2.6-dev xen-docs-3.3 xen-hypervisor-3.3 xen-utils-3.3 0 packages upgraded, 0 newly installed, 13 to remove and 0 not upgraded.
build 4.0.1 from source
- https://help.ubuntu.com/community/Xen
The packages are: gettext, bin86, bcc, libc6-dev-i386, iasl, texinfo, git, uuid-dev.
- これだけでは十分ではない => log
- Xen4.0 with Ubuntu 10.04 LTS Server Install|Digital Lab
- コンパイルに必要なパッケージの取得。
#sudo apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended pciutils-dev mercurial build-essential make gcc libc6-dev zlib1g-dev python python-dev python-twisted libncurses5-dev patch libvncserver-dev libsdl-dev libjpeg62-dev iasl libbz2-dev e2fslibs-dev git-core uuid-dev
- イメージファイルを使うときは tap を有効にする。
Backend driver support (XEN_BACKEND) [Y/n/?] y Block-device backend driver (XEN_BLKDEV_BACKEND) [Y/n/m/?] y Block-device tap backend driver (XEN_BLKDEV_TAP) [N/m/y/?] (NEW) y
- コンパイルに必要なパッケージの取得。
Attachments (7)
- ubuntu-xen4-elf_xen_note_check.png (5.6 KB) - added by mitty 14 years ago.
- xen4-virt.png (38.8 KB) - added by mitty 14 years ago.
- xen4-virt-guest.png (41.6 KB) - added by mitty 14 years ago.
- xen-intelgpu-1.png (106.7 KB) - added by mitty 9 years ago.
- xen-intelgpu-2.png (115.5 KB) - added by mitty 9 years ago.
- xen-intelgpu-3.png (106.3 KB) - added by mitty 9 years ago.
- xen-intelgpu-4.jpg (213.7 KB) - added by mitty 9 years ago.
Download all attachments as: .zip