Mon, 24 May 2010

Fuerza Bruta is a ... performance, here in Argentina ... that has been
touring the world. I went to the ... performance, this afternoon. This
is my best attempt to convey what I experienced.

He seems larger than life, on stage in the center of the standing
crowd, as we enter the room to the sound of an explosion. A nightmare
worthy of Burning Man: as much as he runs, he stays in one
place. Other people stand still as they violently brush past him,
falling stiff like trees as they reach the end of the stage. His tie
and sports coat flap in the fierce wind. We are enveloped in very loud
electronica. He jumps through a solid wall, then another, and another.

He sleeps. Invisible women unfurl in midair and dance, horizontal,
dancing and jumping on a brilliant silver trampoline whose surface is,
unaccountably, vertical. Their every leap sends waves of brilliant
color careening across its surface, ricocheting off the ceiling and
the floor.

Chairs begin a procession past his bed. He awakes and grabs his coat
off one of them before it falls off the end.

When he gets up, his bed begins moving off the stage as well, and
again he has to run to stay in place. For a time he drags his bed
behind him, but it's futile.

Four tables appear, with chairs around them. He sits down. But all the
tables and chairs begin a lemming-like march toward the end of the
stage, with him in one. He snatches them, saving them from their doom,
but it's all he can do to keep up with the suicidal furniture; any
time he sits down, they resume their inexorable march. At last he has
saved only one table and two chairs, and then not even those.

Suddenly we are moving back, as if to open a mosh pit. Beatrice and I
are separated.

I did not know it was possible to tap-dance like that in such heavy
clothes, and I've never seen anybody tap-dancing to electronica
before. They're not even wearing tap plates!

We are at the bottom of a swimming pool, fingers of light reaching us
through the water around the woman swimming above. Others join her;
the water begins a slow wave motion from one end of an immense
transparent plastic sheet to another, sweeping the swimmers with
it. The sheet lowers until it's on my head and everybody else's hands,
with women in swimsuits sliding back and forth across it. The swimmers
begin to jump up and down, turning the membrane and the water into a
drum. The strobe lights begin.

The performers are among us, dancing with us. They smash bricks over
the heads of audience members. Debris flies everywhere.

The dancers are on the stage, dancing. The ceiling falls and smashes
to pieces on their heads, making a huge noise, but it only interrupts
the dance for a moment. It falls again, and again, and again.

The DJ is wearing a powdered wig and spraying the audience with water
from a hose. The audience floor has become a nightclub; we're dancing
and jumping up and down.

We are blinded by a blizzard of scraps of paper.

At last it is over. The audience is sweaty, wet, and exhilarated.

Thu, 03 Dec 2009

Lots of things have happened since the previous kragen-journal post.

Today we got temporary residency in Argentina for 12 months. For the
previous year we'd only had "residencia precaria", precarious residency,
which could be revoked at any time and in any case was only valid for
three months at a time. I shaved my head to celebrate.

A number of dear friends have visited us, including some family members.

We helped out a bit with Wikimania 2009 (especially Beatrice.)

I turned 33.

My former roommate Payton Whitaker died after a long illnes. I hadn't
talked to him in many years.

Last week my client launched <http://knx.to/>, the site I've been
working on with them for more than a month. It's a way to search through
your contacts on a number of different social networks at once, and even
though it's an interactive web site, it doesn't store any private
information out "in the cloud" --- it's all on your own machine.

My dad gave us a little netbook, which is proving extremely useful.

The list of things I did for the first time in my 32nd year is around
here somewhere, along with a shorter list of things I did for the first
time in my 33rd year. After some polishing, I'll post them.

I seem to be in good health, but now I have this huge paunch.  I've been
dancing contact improv lately, which has been wonderful and physically
challenging.

I translated a poem from Spanish:
<http://canonical.org/~kragen/cosmologya.html>.

During the early part of the North American swine flu, I wrote an essay
called "How False Rumors Cost Lives"; I've been told it's good:
<http://canonical.org/~kragen/costs-lives.html> 

Several of my friends have had the swine flu, but so far all have
recovered without incident.

I'm not aware of anything having been stolen from me or Beatrice this
year, which is a nice improvement over the last few.

Sun, 18 Jan 2009

I hassled around with trying to get it to install via PXE (enabling PXE
boot on the Asus board required that I go into BIOS setup
and enable the Ethernet option BIOS, in BIOS setup → Advanced →
Onboard Devices Configuration → Onboard PCIE GbE LAN → LAN Option ROM)
but then I gave up in favor of the following approach instead.

Installing Ubuntu Intreped Ibex on my ASUS P5KPL-AM with UNetbootIn
===================================================================

(This document is at <http://canonical.org/~kragen/unetbootin.html>.)

I downloaded unetbootin_304-4_i386.deb from SourceForge and installed
it on my Debian Etch laptop with `dpkg -i`, which required that I
`apt-get install libqt4-gui libqt4-core` first.  Then I ran
`unetbootin` to create a boot-install image on my USB key, selecting
“Ubuntu → 8.10_NetInstall_x64”.

I’ve [previously described the hassles of booting from USB on the P5KPL-AM]
(http://lists.canonical.org/pipermail/kragen-journal/2009-January/000563.html)
but one thing I hadn’t realized was that every time you power-cycle
the machine or boot it without the USB key, it forgets that you wanted
to make it “Force FDD” on the USB device.

The USB key thus created doesn’t actually boot successfully.  Each
time the boot countdown finished, it would restart.  I hit Esc to get
to the `boot:` prompt and typed `unetbootindefault` and hit Enter;
this explained that the problem was, “Could not find kernel image:
/ubnkern”.  Other people have successfully booted from USB and done
installs with this version of `unetbootin`; I don’t know why things
are different on my machine.

I changed the `syslinux.cfg` file to be much shorter:

    default ubnkern
    append initrd=ubninit

That got it to boot the kernel and start the install.  Unfortunately
the AMD64 (“x64”) boot image fails to get DHCP (or ping the default
gateway when manually configured), but the `i686` version works fine,
except that it is going to install a 32-bit operating system.
(`dmesg` says it’s using the `r8169` driver, which I’m pretty sure is
what the 64-bit one is using too.  The 64-bit kernel can detect the
link going up and down; it just can’t pass packets.)

Fixing GRUB
-----------

After the install finished, the disk would fail to boot; I just saw a
blinking underscore cursor on a black screen when I tried to boot it.

I booted again from the USB stick, and after it got to the point where
it had figured out that I had a hard disk, I went to the second
virtual console (Alt-F2) and hit Enter to get a prompt.  Then I did
something like the following (from memory):

    mkdir /foo
    mount -t ext3 /dev/sdb1 /foo
    mount -t proc none /foo/proc
    mount -t sysfs none /foo/sys
    chroot /foo /bin/bash
    /etc/init.d/udev start
    grub-install /dev/sdb

At this point I noticed that `grub-install` was saying, `Installing
GRUB to /dev/sdb as (hd1)...`, but that was wrong.  The disk will be
the first one in the system when GRUB tries to boot off of it, so it
should be `(hd0)`, not `(hd1)`.

So I edited `/boot/grub/device.map`, which said

    (hd0)	/dev/sda
    (hd1)	/dev/sdb

so that it said the opposite:

    (hd0)	/dev/sdb
    (hd1)	/dev/sda

and ran `grub-install /dev/sdb` again.  This time it said, `Installing
GRUB to /dev/sdb as (hd0)...`, and thereafter it worked correctly.

<link rel="stylesheet" href="http://canonical.org/~kragen/style.css" />

I decided I'd better get a new machine; my current laptop ("thrifty") is
10 years old.  So I bought an Asus P5KPL-AM motherboard, an Intel
Celeron E1200 1.6GHz dual-core processor (really a slow Core Duo with
512kB of cache), a 2GB DIMM of Kingston DDR2-800 RAM, a cheap-junk power
supply and USB keyboard, a 500GB SATA disk, and a 1280×1024 LCD monitor.
No case yet.  At this point the total cost is roughly US$400.

So far I haven't been able to get anything installed on it due to lack
of suitable install media.  Here is a list the significant mistakes I
know I have made so far:

- ATX 12V power supplies require that you connect *two* power cables to
  the motherboard, the big wide one and the little 12V square one.  Just
  one won't make it boot or even POST.

- I spent far, far too long actually buying the thing, in parts.
  Assembling the parts was easy and fun (aside from the problem above),
  but comparison-shopping for them really sucked.

- I probably should have just bought a CD-ROM drive instead of trying to
  do the install from a USB key.

- I tried to use various automated programs to make a bootable USB key
  instead of doing it myself.  Given a USB key already partitioned with
  a single FAT16 partition, you just need to `syslinux /dev/sda1` and
  copy an Ubuntu `vmlinuz` and `initrd.gz` onto it and put this in
  `syslinux.cfg`:

        default vmlinuz
        append initrd=initrd.gz

  However, I don't currently have a working flash drive large enough to
  load an Ubuntu install CD image from, and for whatever reason, the
  Ubuntu `initrd.gz` doesn't automatically load the Debian Etch netinst
  ISO I put on the flash drive.

Here are some obstacles I've run into:

- The 2GB Kingston/Trend Micro flash key I bought for this purpose for
  AR$49 (US$14) doesn't actually work.  I'm currently using Beatrice's
  256MB flash key.

- The `liveusb` package doesn't work because of a variety of bugs; as
  mentioned before, I should have just done it myself.

- However, it took me a while to find that out, because there are no
  tarballs of `liveusb`.  You have to check it out from source control
  using `bzr`.

- The version of `bzr` in Debian Etch is too old to access the `liveusb`
  repository on Launchpad, so I installed `bzr` from backports.

- But my backports GPG ring was out of date, so I had to update it.

- Thrifty (a Thinkpad T20) won't get past POST with either of my CD-ROM
  drives plugged in.  This is a new feature in the last few months.

- But you can't plug a CD-ROM drive into it once it's already booted;
  Linux won't notice it.

- You can plug a CD-ROM drive into it after it's out of the BIOS but
  before Linux has scanned for IDE devices, and that mostly works.

- Except that both of the CD-ROM drives I have for it can't reliably
  read the Ubuntu 8.10 CD that Beatrice burned on her Mac, probably
  because they're 10 years old this year.  So there was really no point
  in getting one of them to work.

- The AMI BIOS on the "mother" (as they call it here) doesn't really
  have a "boot from USB" option in the setup.  You have to press F8 at
  boot time to get a list of possible boot devices including the USB
  stick.

- But first you have to configure the BIOS to boot from it as if it were
  a floppy drive: press DEL to get into setup, and in the Advanced tab,
  under "‣ USB Configuration", under "‣ USB Mass Storage Device
  Configuration", set the "Emulation Type" to "Forced FDD".  Neither
  "Floppy" nor "Hard Disk" nor "Auto" works; all result in the error
  message "Missing operating system".  "CDROM", the other option, just
  results in hard system hangs during boot.

- The Ubuntu `initrd.gz` doesn't automatically load the Debian Etch
  netinst ISO I put on the flash drive.  I was able to mount it myself
  with commands like the following:

        modprobe vfat
	mkdir /mnt
	mount -t vfat /dev/sdb1 /mnt
	modprobe loop
	losetup -f /mnt/debian-40r6-amd64-netinst.iso
	mkdir /cdrom
	modprobe iso9660
	mount -t iso9660 /dev/loop0 /cdrom
	cp /cdrom/install.amd/initrd.gz /tmp
	cd /tmp
	gzip -d initrd.gz
	cpio -i < initrd
	chroot . bin/ash

  I'm not sure if all of that ceremony was needed, but it did work.
  Unfortunately I don't know enough about how the Debian netinst disk
  works to figure out how to run it from here.

Wed, 17 Dec 2008

We spent from 7:26 AM to a bit past noon at the immigration office; now
we have our work visas, valid for three months.  Now we have 10 days to
prove we deserve them.

The sight in my left eye has mostly returned.  I went to a vision center
two blocks away from my house; for $100 (US$32) they measured my ocular
pressure, dilated my pupils, looked at my retina with something that
resembled a searchlight, tested me on a letter chart, and couldn't find
anything wrong.  I declined the suggestion of ultrasound.

I have a list of things that happened in my 32nd year which I will post
soon.

Kragen