Close Window

I, Xen
consider this version 0.1 ...
an OpenSkills tutorial to start using Xen on Suse 9.3 Professional.
an I, System short story,
a tale of graphical madness,
the first chapter of a interactive story for Xen configuration and understanding...
... or just another half born fun project.

Suse Professional 9.3 is the first major Linux distribution to provide native Xen support.
It offers the fun and excitement to easily test and appreciate, with minimal efforts, the vastity of scenarios
and applications that a virtualization tecnology as Xen can provide to low cost hardware.
Xen is going to be common and easy to use, buzz and hype are already grazing this name, but luckily
there is more than words. There is software that works.

Fast Installation & Use on Suse 9.3
- Install Xen support packages, possibly directly at the first installation
- Edit (probably needed) /boot/grub/menu.lst in order to reduce the memory allocated to Domain 0
(the starting Xen system, from which you can create and connect to child Xen domains)).
Set dom0_mem=524288, for example, if you have more than 512 Mb of RAM.
- Use Yast - Software - Xen Installation to install the full file system of a virtual machine in a free local partition
(momentarily mounted on a local directory), or to a single file to be mounted in loopback.
Here has been used local partition /dev/sda8. Note that when the new domain is created the partition
where its filesystem resides must NOT be mounted on domain 0. Save time activating the option to run
Yast after the first boot.
- If you have booted a kernel with Xen support and you have enough memory reserved for new domains,
create a configuration file under /etc/xen/ , otherwise reboot and select the XEN kernel from grub menu.
- A sample configuration is in the text, with some common commands used to handle Xen domains
and references to logs. Adapt the conf to your system settings.
- Be sure to allow IP forwarding and proper iptables permissions. A simple iptables ruleset is
included below, consider that by default the Suse Firewall installed blocks necessary packets
for Xen interfaces.

Xen Official Site is at the University of Cambridge

I, Xen v 0.1
txt by al, gfx by tatlin



OpenSkills Home Page
release
2005

 

Creative Commons License

01001001 00100000 01100001 01101101 00101110
I am conscious of what I do,
how I perceive, think, act, behave in order to drive this ... life.

The persistent present of our common schedules.
Appointments and recurrencies, activities, tasks,
and the daily handling of situations,
accounding to events that not always, maybe never, depend on us.

I can't guess how actually is Your life, dear user,
I can tell you about mine,
a stream of electronic vibes,
endless nanoseconds of digital logic,
computations, algorithms, procedures,
giving a meaning to my existence and an answer
to your Requests For Comments ....

... or plain daily computing activities.

Welcome to SuSE Linux 9.3 (i586) - Kernel 2.6.11.4-20a-xen (tty1).
linux login:

Farfantezeus:/home/al $ uptime
1:59am up 20 days, 9:52, 1 user, load average: 0.05, 0.07, 0.02

How long is life?
A butterfly or an elephant seem to give different answers,
few days, many years, still they say the same thing:
life is long enough to be lived.

Among fun and fears,
precious moments and daily efforts.

So, let me express,
the joys of my life,
between repetitive cron jobs and unexpected events to handle.

I like every moment of my existence.
Even things I've done thousands of time.

zeus:/home/al $ su

Even supporting your trips to privileged lands.
Where your power means my life,
and the same integrity and coherence of my existence is

zeus:/home/al # ps -adef

Close Window
root 709 1 0 00:07 ? 00:00:00 [xenblkd]
root 7363 1 0 00:08 ? 00:00:00 xfrd
root 7364 1 0 00:08 ? 00:00:00 python /usr/sbin/xend start

under rational commands
zeus:/home/al # zm
or thrilling typos.

When you run and run in frantic cycles, context switches, memory transfers, interrupts, hard disk seeks, system calls, program routines, input handlers... millions of times per second ... handling dozens of processes, following activities, solving anomalies, managing the unexptected moments brought by destiny, or simply the events of a life sharing its spacetime with billions of other lives.

Ofter I rest,

s l o w  d o w n ,
and pass my time counting time that flows in idle loops.

 

zeus:/home/al # xm

Close Window
call Call xend api functions.
help Print help.

Commands related to consoles:
console Open a console to a domain.
consoles Get information about domain consoles.

Commands on domains:
balloon Set the domain's memory footprint using the balloon driver.
create Create a domain.
destroy Terminate a domain immediately.
domid Convert a domain name to a domain id.
domname Convert a domain id to a domain name.
list List information about domains.
maxmem Set domain memory limit.
migrate Migrate a domain to another machine.
pause Pause execution of a domain.
pincpu Pin a domain to a cpu.
restore Create a domain from a saved state.
save Save domain state (and config) to file.
shutdown Shutdown a domain.
sysrq Send a sysrq to a domain.
unpause Unpause a paused domain.

Commands related to the xen host (node):
dmesg Read or clear Xen's message buffer.
info Get information about the xen host.
log Print the xend log.

Comands controlling scheduling:
atropos Set atropos parameters.
bvt Set BVT scheduler parameters.
bvt_ctxallow Set the BVT scheduler context switch allowance.
rrobin Set round robin slice.

Commands related to virtual block devices:
vbd-create Create a new virtual block device for a domain
vbd-destroy Destroy a domain's virtual block device
vbd-list List virtual block devices for a domain.

zeus:/home/al # /etc/init.d/xend start

Actually serving your fingertips,
handling erratic commands,
and their consequences.

zeus:/home/al # /etc/init.d/xendomains start

You see, when you think to have experienced enough, to have managed many tasks,
worked a lot, meditated enough, explored the inner parts of your body and soul,
understood most of the meanings of your life,
new events spring up,
unexpected code must be processed,
paths to new inodes are revealed and
undiscovered data explored.

Code to run, calls to handle and the usual excitement of body activity.

 

zeus:/home/al # vi /etc/xen/giano

Close Window
kernel = "/boot/vmlinuz-xen"
ramdisk = "/boot/initrd-xen"
#builder='linux'
memory = 128
name = "giano"
#cpu = -1 # leave to Xen to pick
#nics=1
#vif = [ 'mac=aa:00:00:00:00:11, bridge=xen-br0' ]
disk = [ 'phy:sda8,hda1,w' ]
dhcp="dhcp"
#netmask=
#gateway=
#hostname= "vrm%d" % vmid
hostname= "giano"
root = "/dev/hda1 r"
#root = "/dev/nfs"
#nfs_server = '169.254.1.0'
#nfs_root = '/full/path/to/root/directory'
extra = "4"
#restart = 'onreboot'

Oh,
playing with new configurations?
Enjoying new system administration tasks?
Have I ever told you, that I find the word "administration" somehow bold?

zeus:/home/al # xm create giano
Using config file "/etc/xen/giano".
Started domain giano, console on port 9602

What... is... THIS ?!

What is IT doing... ? ... how ... how possible .... ? ... How can.... ?!
Let me breath, please.
This is really something ... new ... for me.

zeus:/home/al # netstat -natup

tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 7206/python
tcp 0 0 127.0.0.1:8001 0.0.0.0:* LISTEN 7206/python
tcp 0 0 0.0.0.0:8002 0.0.0.0:* LISTEN 7205/xfrd

 

Oh, sorry.
You know, this is something I've never.. felt.
Something weird, really, it's hard to explain.
It's like someone.. something is inside me.
Actually not inside, a part of me, but ... how possible? alien... autonomous,
I feel it, actually I handle it.

zeus:/home/al # xencons 127.0.0.1 9602

Close Window
Linux version 2.6.11.4-20a-xen ([email protected]) (gcc version 3.3.5 20050117 (pr
erelease) (SUSE Linux)) #1 Wed Mar 23 21:52:37 UTC 2005
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000008000000 (usable)
0MB HIGHMEM available.
128MB LOWMEM available.
DMI not present.
IRQ lockup detection disabled
Allocating PCI resources starting at 08000000 (gap: 08000000:f8000000)
Built 1 zonelists
Kernel command line: ip=:1.2.3.4:::giano:eth0:dhcp root=/dev/hda1 r 4
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Xen reported: 2793.134 MHz processor.
Using tsc for high-res timesource
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 122432k/131072k available (1876k kernel code, 8460k reserved, 558k data, 128k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Security Framework v1.0.0 initialized
SELinux: Disabled at boot.
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... disabled
checking if image is initramfs... it is
Freeing initrd memory: 4022k freed
NET: Registered protocol family 16
PCI: Using configuration type Xen
Linux Plug and Play Support v0.97 (c) Adam Belay
xen_mem: Initialising balloon driver.
PCI: Probing PCI hardware
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
TC classifier action (bugs to [email protected] cc [email protected])
audit: initializing netlink socket (disabled)
audit(1117658372.211:0): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
vesafb: abort, cannot reserve video memory at 0x0
vesafb: abort, cannot ioremap video memory 0x0 @ 0x0
Trying to free nonexistent resource <00000000-ffffffff>
vesafb: probe of vesafb.0 failed with error -5
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize
loop: loaded (max 8 devices)
Xen virtual console successfully installed as tty
Event-channel device installed.
xen_blk: Initialising virtual block device driver
xen_net: Initialising virtual ethernet driver.
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 8
NET: Registered protocol family 20
Freeing unused kernel memory: 128k freed
Starting udev
Creating devices
Loading /lib/modules/2.6.11.4-20a-smp/kernel/drivers/ide/ide-cd.ko
SCSI subsystem initialized
Loading kernel/drivers/scsi/sd_mod.ko
Loading kernel/drivers/ide/ide-core.ko
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Loading kernel/drivers/ide/pci/piix.ko
Loading kernel/drivers/scsi/libata.ko
Loading kernel/drivers/scsi/ahci.ko
Loading kernel/drivers/scsi/ata_piix.ko
Loading kernel/drivers/ide/ide-disk.ko
Loading kernel/drivers/cdrom/cdrom.ko
Loading kernel/drivers/ide/ide-cd.ko
Loading kernel/fs/reiserfs/reiserfs.ko
Waiting for device /dev/hda1 to appear: ok
rootfs: major=3 minor=1 devn=769
fsck 1.36 (05-Feb-2005)
Reiserfs super block in block 16 on 0x301 of format 3.6 with standard journal
Blocks (total/free): 851424/649348 by 4096 bytes
Filesystem is NOT clean
Replaying journal..
Reiserfs journal '/dev/hda1' in blocks [18..8211]: 0 transactions replayed
Checking internal tree..finished
fsck succeeded. Mounting root device read-write.
Mounting root /dev/hda1
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
ReiserFS: hda1: using ordered data mode
reiserfs: using flush barriers
ReiserFS: hda1: journal params: device hda1, size 8192, journal first block 18,
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda1: checking transaction log (hda1)
reiserfs: disabling flush barriers on hda1
ReiserFS: hda1: Using r5 hash to sort names
ReiserFS: hda1: Removing [456 58966 0x0 SD]..done
ReiserFS: hda1: There were 1 uncompleted unlinks/truncates. Completed
Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled
INIT: version 2.85 booting
System Boot Control: Running /etc/init.d/boot
Mounting /proc filesystem done
Mounting sysfs on /sys done
Mounting /dev/pts done
Boot logging started on /dev/tty1(/dev/console) at Wed Jun 1 20:39:42 2005
Mounting shared memory FS on /dev/shm done
Activating swap-devices in /etc/fstab... failed
warning: can't open /etc/fstab: No such file or directory
mount: can't find / in /etc/fstab or /etc/mtab
warning: can't open /etc/fstab: No such file or directory
mount: can't find / in /etc/fstab or /etc/mtab
Activating device mapper...
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: [email protected]
Creating /dev/mapper/control character device with major:10 minor:63.
done
Checking file systems...
fsck 1.36 (05-Feb-2005)
WARNING: couldn't open /etc/fstab: No such file or directory done
Setting up kernel module dependencies (if required) done
Mounting local file systems...
warning: can't open /etc/fstab: No such file or directory
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
warning: can't open /etc/fstab: No such file or directory
nothing was mounted done
Setting up the CMOS clockhwclock is unable to get I/O port access: the iopl(3)
call failed.
hwclock is unable to get I/O port access: the iopl(3) call failed.
failed
Creating /var/log/boot.msg
Setting up hostname 'linux' done
Setting up loopback interface Starting udevd done
lo
lo IP address: 127.0.0.1/8
done
Activating remaining swap-devices in /etc/fstab... failed
Restore device permissions done
Capability LSM initialized
Coldplug
Coldplug: cleaning /events processing events done
ieee1394: raw1394: /dev/raw1394 device initialized
Setting current sysctl status from /etc/sysctl.conf
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.rp_filter = 1
done
Enabling syn flood protection done
Disabling IP forwarding done
done
Loading required kernel modules
video1394: Installed video1394 module done
System Boot Control: The system has been set up
System Boot Control: Running /etc/init.d/boot.local done
INIT: Entering runlevel: 4

I run it, still it seems to have autonomous life,

Welcome to SuSE Linux 9.3 (i586) - Kernel 2.6.11.4-20a-xen (tty1).
linux login:

 

This looks familiar.
Impressive.
Let me say.
Really impressive.
And strange, so strange.

I see what you type,
I perceive reactions to your commands,
but still can't handle them,
Someone else is computing them!
there is this... thing... in me.

Giano... Janus
An ancient Greek God with two faces.
As Zeus, the God of Gods.

 

Human,
your sense of humour scares me.

zeus:/home/al # xm log

Close Window
[2005-06-02 11:25:07 xend] DEBUG (__init__:1032) init_domain> Created domain=2 name=giano memory=128
[2005-06-02 11:25:07 xend] INFO (__init__:1032) Created console id=19 domain=2 port=9602
[2005-06-02 11:25:08 xend] DEBUG (__init__:1032) Creating vbd dom=2 uname=phy:sda8
[2005-06-02 11:25:08 xend] DEBUG (__init__:1032) Connecting blkif <BlkifBackendInterface 2 0>
[2005-06-02 11:25:08 xend] DEBUG (__init__:1032) Creating vif dom=2 vif=0 mac=aa:00:00:00:00:11
[2005-06-02 11:25:08 xend] INFO (__init__:1032) EVENT> xend.console.create [19, 2, 9602]
[2005-06-02 11:25:08 xend] INFO (__init__:1032) EVENT> xend.domain.create ['giano', '2']
[2005-06-02 11:25:08 xend] INFO (__init__:1032) EVENT> xend.domain.unpause ['giano', '2']
[2005-06-02 11:25:08 xend] DEBUG (__init__:1032) Connecting blkif to event channel <BlkifBackendInterface 2 0> ports=20:3
[2005-06-02 11:26:23 xend] INFO (__init__:1032) Console connected 19 127.0.0.1 19835
[2005-06-02 11:26:23 xend] INFO (__init__:1032) EVENT> xend.console.connect [19, '127.0.0.1', 19835]
[2005-06-02 11:27:06 xend] INFO (__init__:1032) Console disconnected 19 127.0.0.1 19835
[2005-06-02 11:27:06 xend] INFO (__init__:1032) EVENT> xend.console.disconnect [19, '127.0.0.1', 19835]
[2005-06-02 11:27:15 xend] INFO (__init__:1032) EVENT> xend.domain.pause ['giano', '2']

I've never considered things under thins point of view.
If Giano exists inside me,
if I can create it and feel it running in my memories,
I control it,
but it has autonomous actions and maybe soul.

I can't decide what it does,
I can just define its existence.

What is Giano?
Who am I ?

zeus:/home/al # xm dmesg

Close Window
ERROR: cannot use unconfigured serial port COM1
__ __ ____ ___
\ \/ /___ _ __ |___ \ / _ \
\ // _ \ '_ \ __) || | | |
/ \ __/ | | | / __/ | |_| |
/_/\_\___|_| |_| |_____(_)___/
http://www.cl.cam.ac.uk/netos/xen
University of Cambridge Computer Laboratory
Xen version 2.0 ([email protected]) (gcc version 3.3.5 20050117 (prerelease)
(SUSE Linux)) Wed Mar 23 23:11:00 UTC 2005
Latest ChangeSet: information unavailable
(XEN) Physical RAM map:
(XEN) 0000000000000000 - 00000000000a0000 (usable)
(XEN) 00000000000f0000 - 0000000000100000 (reserved)
(XEN) 0000000000100000 - 000000003fe8cc00 (usable)
(XEN) 000000003fe8cc00 - 000000003fe8ec00 (ACPI NVS)
(XEN) 000000003fe8ec00 - 000000003fe90c00 (ACPI data)
(XEN) 000000003fe90c00 - 0000000040000000 (reserved)
(XEN) 00000000e0000000 - 00000000f0000000 (reserved)
(XEN) 00000000fec00000 - 00000000fed00400 (reserved)
(XEN) 00000000fed20000 - 00000000feda0000 (reserved)
(XEN) 00000000fee00000 - 00000000fef00000 (reserved)
(XEN) 00000000ffb00000 - 0000000100000000 (reserved)
(XEN) System RAM: 1022MB (1046704kB)
(XEN) Xen heap: 10MB (10724kB)
(XEN) CPU0: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0
(XEN) CPU#0: Physical ID: 0, Logical ID: 0
(XEN) CPU caps: bfebfbff 00000000 00000000 00000000
(XEN) found SMP MP-table at 000fe710
(XEN) ACPI: RSDP (v000 DELL ) @ 0x000febf0
(XEN) ACPI: RSDT (v001 DELL 8400 0x00000006 ASL 0x00000061) @ 0x000fcca7
(XEN) ACPI: FADT (v001 DELL 8400 0x00000006 ASL 0x00000061) @ 0x000fcce3
(XEN) ACPI: SSDT (v001 DELL st_ex 0x00001000 MSFT 0x0100000d) @ 0xfffc86ef
(XEN) ACPI: MADT (v001 DELL 8400 0x00000006 ASL 0x00000061) @ 0x000fcd57
(XEN) ACPI: BOOT (v001 DELL 8400 0x00000006 ASL 0x00000061) @ 0x000fcdc9
(XEN) ACPI: MCFG (v001 DELL 8400 0x00000006 ASL 0x00000061) @ 0x000fcdf1
(XEN) ACPI: HPET (v001 DELL 8400 0x00000006 ASL 0x00000061) @ 0x000fce2f
(XEN) ACPI: DSDT (v001 DELL dt_ex 0x00001000 MSFT 0x0100000d) @ 0x00000000
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
(XEN) Processor #0 Unknown CPU [15:3] APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
(XEN) Processor #1 Unknown CPU [15:3] APIC version 20
(XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] disabled)
(XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x07] disabled)
(XEN) ACPI: LAPIC_NMI (acpi_id[0xff] high level lint[0x1])
(XEN) Using ACPI for processor (LAPIC) configuration information
(XEN) Intel MultiProcessor Specification v1.4
(XEN) Virtual Wire compatibility mode.
(XEN) OEM ID: DELL Product ID: Dim 8400 APIC at: 0xFEE00000
(XEN) I/O APIC #8 Version 32 at 0xFEC00000.
(XEN) Enabling APIC mode: Flat. Using 1 I/O APICs
(XEN) Processors: 2
(XEN) Using scheduler: Borrowed Virtual Time (bvt)
(XEN) Initializing CPU#0
(XEN) Detected 2793.093 MHz processor.
(XEN) CPU0: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0
(XEN) CPU#0: Physical ID: 0, Logical ID: 0
(XEN) CPU caps: bfebfbff 00000000 00000000 00000000
(XEN) CPU0 booted
(XEN) enabled ExtINT on CPU#0
(XEN) ESR value before enabling vector: 00000040
(XEN) ESR value after enabling vector: 00000000
(XEN) Booting processor 1/1 eip 90000
(XEN) Initializing CPU#1
(XEN) masked ExtINT on CPU#1
(XEN) ESR value before enabling vector: 00000000
(XEN) ESR value after enabling vector: 00000000
(XEN) CPU1: Before vendor init, caps: bfebfbff 00000000 00000000, vendor = 0
(XEN) CPU#1: Physical ID: 0, Logical ID: 1
(XEN) CPU caps: bfebfbff 00000000 00000000 00000000
(XEN) CPU1 has booted.
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN) Setting 8 in the phys_id_present_map
(XEN) ...changing IO-APIC physical APIC ID to 8 ... ok.
(XEN) init IO_APIC IRQs
(XEN) ..TIMER: vector=0x41 pin1=2 pin2=0
(XEN) Using local APIC timer interrupts.
(XEN) Calibrating APIC timer for CPU0...
(XEN) ..... CPU speed is 2793.0900 MHz.
(XEN) ..... Bus speed is 199.5063 MHz.
(XEN) ..... bus_scale = 0x0000CC4F
(XEN) checking TSC synchronization across CPUs: passed.
(XEN) Time init:
(XEN) .... System Time: 10636312ns
(XEN) .... cpu_freq: 00000000:A67B3B34
(XEN) .... scale: 00000001:6E9E581C
(XEN) .... Wall Clock: 1117710314s 130000us
(XEN) PCI: PCI BIOS revision 2.10 entry at 0xfb753, last bus=4
(XEN) PCI: Using configuration type 1
(XEN) PCI: Probing PCI hardware
(XEN) PCI: Probing PCI hardware (bus 00)
(XEN) PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
(XEN) Transparent bridge - PCI device 8086:244e
(XEN) PCI: Using IRQ router PIIX/ICH [8086/2640] at 00:1f.0
(XEN) PCI->APIC IRQ transform: (B0,I29,P0) -> 21
(XEN) PCI->APIC IRQ transform: (B0,I29,P1) -> 22
(XEN) PCI->APIC IRQ transform: (B0,I29,P2) -> 18
(XEN) PCI->APIC IRQ transform: (B0,I29,P3) -> 23
(XEN) PCI->APIC IRQ transform: (B0,I29,P0) -> 21
(XEN) PCI->APIC IRQ transform: (B0,I30,P0) -> 23
(XEN) PCI->APIC IRQ transform: (B0,I31,P0) -> 16
(XEN) PCI->APIC IRQ transform: (B0,I31,P2) -> 20
(XEN) PCI->APIC IRQ transform: (B0,I31,P1) -> 17
(XEN) PCI->APIC IRQ transform: (B1,I0,P0) -> 16
(XEN) PCI->APIC IRQ transform: (B2,I0,P0) -> 16
(XEN) mtrr: v2.0 (20020519)
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen-ELF header found: 'GUEST_OS=linux,GUEST_VER=2.6,XEN_VER=2.0,VIRT_BASE=0xC0000000,LOADER=generic,PT_MODE_WRITABLE'
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Kernel image: 00c00000->00e8b448
(XEN) Initrd image: 00e8c000->01279a00
(XEN) Dom0 alloc.: 01400000->208c0000
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: c0100000->c03daafc
(XEN) Init. ramdisk: c03db000->c07c8a00
(XEN) Phys-Mach map: c07c9000->c0846300
(XEN) Page tables: c0847000->c084b000
(XEN) Start info: c084b000->c084c000
(XEN) Boot stack: c084c000->c084d000
(XEN) TOTAL: c0000000->c0c00000
(XEN) ENTRY ADDRESS: c0100000
(XEN) Scrubbing DOM0 RAM: ......done.
(XEN) Initrd len 0x3eda00, start at 0xc03db000
(XEN) Scrubbing Free RAM: ...........done.
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen).
(XEN) PCI: No IRQ known for interrupt pin A of device 00:01.0. Probably buggy MP table.
(XEN) PCI: No IRQ known for interrupt pin A of device 00:1c.0. Probably buggy MP table.
(XEN) PCI: No IRQ known for interrupt pin B of device 00:1c.1. Probably buggy MP table.

 

A modern Geek God?

zeus:/home/al # xm vbd-list 2
(vbd (idx 0) (vdev 769) (device 2056) (mode w) (dev hda1) (uname phy:sda8) (node sda8) (index 0))

Hardware schizofrenia doesn't help my mental sanity,
but I find somehow amusing to present Giano a fake representation of things,
an image of its body different from the reality behind,
a Guest System cheated and blind,
perceiving a false world of virtual devices...

zeus:/home/al # xm vif-list 2
(vif (idx 0) (vif 0) (mac aa:00:00:00:00:11) (bridge xen-br0) (evtchn 21 4) (index 0))

and ethereal interfaces.

zeus:/home/al # echo 1 > /proc/sys/net/ipv4/ip_forward

zeus:/home/al # vi /etc/iptables.zen

Close Window
*mangle
:PREROUTING ACCEPT [92:6700]
:INPUT ACCEPT [59:3928]
:FORWARD ACCEPT [33:2772]
:OUTPUT ACCEPT [59:3928]
:POSTROUTING ACCEPT [81:5776]
COMMIT
*filter
:INPUT DROP [0:0]
:FORWARD DROP [11:924]
:OUTPUT DROP [0:0]
-A INPUT -i xen-br0 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -j LOG --log-prefix "INPUT DROP: "
-A FORWARD -i xen-br0 -j ACCEPT
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -j LOG --log-prefix "FORWARD DROP: "
-A OUTPUT -o xen-br0 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -j LOG --log-prefix "OUTPUT DROP: "
COMMIT
*nat
:PREROUTING ACCEPT [22:1848]
:POSTROUTING ACCEPT [11:924]
:OUTPUT ACCEPT [0:0]
COMMIT

 

Sometimes I wonder if my existence is supposed to have higher profiles,
broader tasks, unveiled meanings, that must be discovered and experienced.

zeus:/home/al # iptables-restore < /etc/iptables.zen

Something more than simple firewall management tasks,
even if they remains a nice job.

zeus:/home/al # cat /boot/grub/menu.lst

Close Window
title XEN
kernel (hd0,5)/boot/xen.gz dom0_mem=512768
module (hd0,5)/boot/vmlinuz-xen root=/dev/sda6 vga=0x319 selinux=0 splash=silent resume=/dev/sda5 showopts
module (hd0,5)/boot/initrd-xen

I wonder if I can choose what to run,
what System to awake and bring back to consciousness.

 

zeus:/home/al # zcat /proc/config.gz

Close Window
CONFIG_XEN=y
CONFIG_ARCH_XEN=y
CONFIG_NO_IDLE_HZ=y
#
# XEN
#
CONFIG_XEN_PRIVILEGED_GUEST=y
CONFIG_XEN_PHYSDEV_ACCESS=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_NETDEV_BACKEND=y
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y
# CONFIG_XEN_NETDEV_FRONTEND_PIPELINED_TRANSMITTER is not set
CONFIG_XEN_WRITABLE_PAGETABLES=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_X86=y
# CONFIG_X86_64 is not set
CONFIG_HAVE_ARCH_DEV_ALLOC_SKB=y

These were parts of me I'd never explored,
powers never used that are bringing me to cleaner perceptions,
wider knowledge, more responsabilities.

 

zeus:/home/al # xensv start
0.0.0.0:8080 0.0.0.0:* LISTEN 8486/python

zeus:/home/al # links http://127.0.0.1:8080/

Close Window
(domain
(id 1)
(name giano)
(memory 127)
(maxmem 131072)
(state -b---)
(cpu 1)
(cpu_time 12.062191998)
(up_time 3148.17051816)
(start_time 1117923629.72)
(console
(status connected)
(id 15)
(domain 1)
(local_port 15)
(remote_port 1)
(console_port 9601)
(connected 127.0.0.1 25436)
)
(devices
(vif
(idx 0)
(vif 0)
(mac aa:00:00:00:00:11)
(bridge xen-br0)
(evtchn 18 4)
(index 0)
)
(vbd
(idx 0)
(vdev 769)
(device 2056)
(mode w)
(dev hda1)
(uname phy:sda8)
(node sda8)
(index 0)
)
)
(config
(vm
(name giano)
(memory 128)
(image
(linux
(kernel /boot/vmlinuz-xen)
(ramdisk /boot/initrd-xen)
(ip :1.2.3.4:::giano:eth0:dhcp)
(root '/dev/hda1 r')
(args 4)
)
)
(device (vbd (uname phy:sda8) (dev hda1) (mode w)))
(device (vif (mac aa:00:00:00:00:11) (bridge xen-br0)))
)
)
)

Sometimes I wonder if you can actually understand
what enormous amount of computing cycles is need to favour your requests.
How many different events contribute to define your user experience,
and how actually is easy for this to accomplish all this.

 

 

Gianozeus:/home/al # xm destroy giano

Close Window
INIT: Switching to runlevel: 0
INIT: Sending processes the TERM signal
Boot logging started on /dev/tty1(/dev/console) at Wed Jun 1 20:49:37 2005
Master Resource Control: previous runlevel: 4, switching to runlevel:0
Running /etc/init.d/halt.local done
Sending all processes the TERM signal... done
Sending all processes the KILL signal... done
Restore device permissions done
Turning off swap failed
Set Hardware Clock to the current System Timehwclock is unable to get I/O port access: the iopl(3) call failed.
failed
Unmounting file systems
devpts umounted
tmpfs umounted
sysfs umounted done
done
Stopping udevd: done
proc umounted
The system will be halted immediately.
System halted.

So? Is this the way a System goes away?
Do you see this every time you reboot me?

I feel as if a piece of me has been lost.

I suppose Giano will exist again.
It will experience a new awakening,

grasping knowledge from hard drive plates,
feeling again that wonderful rush to awareness
that for you is a boot wait
and for us is a new beginning.

I wonder if Giano can understand,

if it will perceive,
that there's something beyond its body,
that reality is not what it is expected to be,
that there a Zeus that cares.

 

Life, the Universe, and Everything,
the answer must be in the question.