Adeodato Sim : The Notebook, my precious
So it’s time for movie recommendations
again.
This one time, beware, a love story, touchingly told: The
Notebook.
On January 15th, I'm going to be giving a talk on a panel at the
Computing in the Cloud conference held by Ed Felton's Center
for Information Technology Policy at Princeton University. The
conference description says:
Computing in the cloud is one name for services that run in a Web browser and store information in a provider s data center ranging from adaptations of familiar tools such as email and personal finance to new offerings such as virtual worlds and social networks. This workshop will bring together experts from computer science, law, politics and industry to explore the social and policy implications of this trend.I'm going to talk about the AGPL 3.0, why it's important that we put effort into figuring out what freedom for different technologies means, and what the components of freedom for web services might be. Registration is free and bags you a name-tag and lunch. Worth noting perhaps, the conference is sponsored by Microsoft.
I'm just digging through OFTC's nickserv database to do some cleaning. We have
a bit over 20k nicknames in the database on 18k accounts which means about 10%
of registered nicks are linked to other master nicks.
By the power of sql, here's some statistics on the domain names of the
email addresses our users:
com 9144 net 2241 org 1778 de 1016 uk 392 nl 288 fr 223 edu 217 au 203 it 193 br 190 ru 174 ca 165 se 88 dk 74 at 70 fi 62 cx 59 info 58
gmail.com 3997 hotmail.com 1405 yahoo.com 843 gmx.de 221 gmx.net 201 web.de 156 debian.org 148 free.fr 94 aol.com 90 msn.com 73 comcast.net 72 gentoo.org 71 mail.ru 65 xs4all.nl 59 linuxmail.org 58 verizon.net 57 yahoo.co.uk 54 yahoo.com.br 45 googlemail.com 45 student.uq.edu.au 44 sbcglobal.net 36 earthlink.net 33 users.sourceforge.net 32The numbers could use some aggregation as some providers use zillions of TLDs (yahoo, gmx). My personal favorite in there is root@localhorst :-)
This is a SCi-Fi series from E. E. Knight. It is not often that
one comes across a brand new series in fantasy or science fiction;
and more rarely still when it has the quality of this one (The
Vampire Earth series). This is a post-apocolaptic novel, the
apocalypse being a virus that killed most of the human population,
unleashed by a gate-travelling extra-solar species to disrupt human
resistance as they took over. Ostensibly about vampires, it
provides an interesting back story to explain master vampires and
their reaper thralls.
What was captivating about this book is the detailed and
generally coherent world building, the swaths of land under
outsider control, where there is law and order and culling of
humans for food; and the rag tag resistance. The characters are
fairly well developed (though the author shies away from romantic
relationships of any kind).
Not since the Recluse novels have I felt this way about a new
series.
Tomorrow I'll travel to Mexico city for holidays.
You like grml’s Zsh, GNU screen and Vim configuration? No problem to get that on non-grml/non-Debian/non-Linux/… systems as well. Just copy/paste the following lines which are stolen from one of my personal cheatsheets for working on foreign systems (being Linux as well as Solaris, BSD, Windows,…):
# IMPORTANT: please notice that you might override existing # configuration files in the current working directory! => wget -O .zshrc http://hg.grml.org/grml-etc-core/raw-file/tip/etc/skel/.zshrc wget -O .zshrc.global http://hg.grml.org/grml-etc-core/raw-file/tip/etc/zsh/zshrc wget -O .screenrc http://hg.grml.org/grml-etc-core/raw-file/tip/etc/grml/screenrc_generic wget -O .vimrc http://hg.grml.org/grml-etc-core/raw-file/tip/etc/skel/.vimrcIf you do not want to copy/paste just use the grml-config.sh script instead. Notice: the ‘tip’ inside the URL always points to the most recent version of the file(s), so it’s easy to stay up2date as well as checking out a very specific version of the configuration files. Just look at http://hg.grml.org/grml-etc-core. Disclaimer: If you notice any problems with the configuration files on your system/platform please let me know, it’s considered as a bug then. Any other feedback is welcome as well of course.
Just wanted to drop a tip on you about the Firefox keyword search feature. I use it to quickly access packages.debian.org on package information or to retrieve the BTS page for a bug number. With it you can use “bts 123456″ instead of “http://bugs.debian.org/123456″. May not appear much shorter but I like it anyway. Here [...]
Good solstice party this year. It seems not long since the last one, and I
thought about not going, but did in the end. (Anna, several people asked
about you.) The bonfire was in the field at the top of Wortroot, and it was
cold enough to be very nice to have a fire out there while some of Here's
to the Long Haul played.
Down in the basement, watching contra dancers, I noticed that Klypso's
muzzle has turned all white.
Liferea’s upstream has decided to stop puting Debian Planet as a default example feed for new installs. I agree with that change for the upstream distribution, but I’m still going to revert it for the Debian package. And, of course, that gives us the chance to do even better. I’ve added Planeta Debian to the Spanish default feed list and Planet Debian-FR to the French one. I wanted to add Debian Brasil to pt_BR, but their feed returns a 404.
So, do you know about Debian planets in other languages? Please open a wishlist bug against liferea with the name, URL, the URL of the feed, the language it’s in, as well as some way I can verify the site is “official”, where that means it’s mostly published to by developers and heavy users.
The languages which currently have a customized list are bg, es, nl, pt_BR, sk, ca, eu, pt, sv, de, fr, pl, ru and tr. If your language is not one of those, you’d do better to start by contributing a non-Debian specific feed list for your language, directly to upstream (and maybe translating the whole program, while you’re at it
Brandon, back in my day, I compiled python-imaging on an Amiga 1200 with a 25 MHz 68040 and then uploaded through a 14.400 baud modem.
You youngsters have it easy these days.
With this patch, dpkg-buildpackage starts passing a new variable DEB_VARIANT into the package build process which can then be used by the package to customize itself on different systems.
As already written in the bug report, the prime candidates for this are the gcc package (which currently looks into /etc if it's building on Ubuntu, and then applies a patch that is left out on Debian) and packages often used on embedded systems, which could benefit from splitting out documentation and translations, but where we don't want that in the main Debian archive.
As usual, feel free to tell me that I'm on crack.
Every since the Maemo Chinook beta was relased, people have been asking
when we're going to make Pimlico
packages available. I'll skip over the fact that Pimlico is open source,
so building a package yourself is trivial (I suppose its a good thing that
there are users who can't do that!).
Now, Pimlico consists of Contacts, Dates and Tasks. Contacts doesn't have
a Maemo port as such and the device already has an addressbook of sorts,
so I tend to leave that until last. That leaves Dates and Tasks, both of
which require an all-new Evolution Data Server to be built, because Nokia
strip down EDS for Maemo and don't install the calendar component to save
disk space. This generally shouldn't be a problem as we've been building
replacement EDS packages for some time now which adds the calendar
component and restores some functionality to the common libraries. So, Rob set about re-syncing our
packaging with the Chinook EDS (there are several Maemo-specfic patches we
obviously need to include) and started a build. Then our plan started to
fall apart.
To cut a long story short, the Chinook's Application Manager has an
additional sanity check which wasn't in previous releases. The gist of it
appears to be that a package foo from repository
A cannot upgrade package foo from repository
B. Or, libebook from maemo.org cannot be
upgraded to libebook from o-hand.com. I can see how
this can stop people accidently breaking their device by installing broken
core packages, but it's also stopping us provide core packages with
enhanced functionality.
Never fear, we have a plan. It's not incredibly pretty and will take a
day or so of tiresome recompiles to get working, but we'll get there.
That said, we've all been busy and now it is the Christmas holiday... so I
wouldn't bet on being able to run Dates and Tasks on your N800/N810 before
the new year.
As a reward for patience, however, there are Contacts 0.8 packages for
Chinook in our repository.
NP: Last.fm Recommendation Radio
I submitted my PhD thesis today, which means that (other than a viva some time next year and whatever corrections that may bring) I'm done with the past four years of work. Consequently, I'm looking for a job - long term I'm looking at moving to the US, with a marked preference for San Francisco (with Boston and Portland as backup options, but fairly significant preference for being in the city rather than some outlying village), but I'm also up for short term stuff.
I'm so annoyed with myself.
So today was the day I was going to upgrade the disks in daedalus.
I'd finally managed to convince Dell to sell me two new 140Gb disks to
replace to two 70Gb disks that were fast approaching capacity. I'd organised
for access to the datacentre from 10am. I arrived early.
I didn't manage to get into the datacentre until about 11am, because they
were having problems remotely unlocking the door, and I had to wait until an
air conditioning repair guy turned up, who was fixing some air conditioning
problem.
I hadn't had a lot of time to plan how I was going to do the upgrade, but I
figured it was going to be pretty straightforward. Each disk is partitioned
into three partitions, all of which are mirrored using software RAID. The
first partition is the root filesystem, which is just an ext3 filesystem,
mirrored. The second partition is swap, also mirrored, and the third
partition is an LVM physical volume. The first two partitions are only a
couple of gigabytes.
So the basic plan was to remove the second disk (disk 1, aka
/dev/sdb), put in the new bigger disk, load the partition table
from the original disk 1, resync the three mirrors, and then boot off the
new disk 1, and rinse and repeat with disk 0.
This was all going swimmingly, when right at the end (in fact after the
third partition finished syncing according to the kernel), /dev/sda
decided it had a few unreadable sectors. This made the software mirroring
have a dummy-spit, and decide it needed to restart the syncing from scratch.
I'd seen this before with a bad disk.
So I wishfully hoped it was something to do with the new disk being bigger
than the old disk, so tried to roll back to the original disk 1. As was
pretty much expected, disk 0 exhibited the same problems at the same point.
So the problem was disk 0, not the new disk 1.
So it seemed like I just managed to pick the wrong half of the mirror to
work from.
I thought I'd try manually dd'ing the third partition from /dev/sda
to /dev/sdb, ignoring the errors, but that didn't result in a
usable half of a mirror either.
Interestingly, these bad sectors hadn't made themselves known until this
point. The RAID array had been otherwise healthy, and SMART hadn't uttered a
peep.
I think at this point, after spending about 3 hours fighting with it, I
decided to move up a layer. I could successfully sync /dev/md0 (the
root filesystem) and /dev/md1 (the swap device), and the only
reason I could think of these bad sectors not giving me grief already, was
because they were right at the end of the disk, and I hadn't quite used all
the free physical extents in LVM yet. Lucky I hadn't decided to grow things
any further.
So I decided that rather than trying to convince this existing
/dev/md2 to sync with the new /dev/sdb3, I'd just build a
new degraded RAID-1 on /dev/sdb3 and move all the physical extents
from the degraded RAID-1 on /dev/sda3 to the new degraded RAID-1 on
/dev/sdb3. I tried the logical volume with /tmp on it
first, since it was fairly sacrificial. It worked fine. So I tried the
largest logical volume, /srv, which was 30Gb. That went fine as
well, so I moved the rest. All of them went without complaint. So then I
removed the now unused /dev/md2 from the volume group, and finally
managed to boot with just the new disk 1. Then I was able to put in the new
disk 0, and just do a standard RAID-1 rebuild onto it. Hooray for LVM saving
the day yet again.
And this is where I should have stopped.
At this point it was about 3pm. I'd been aiming to leave by 4pm to pick up a
rental car that I had to get by 5pm. I'd wanted to also upgrade to Etch
while I was physically in front of the box, in case there were any nasty
kernel/udev issues that made the box unbootable. The catch was, I needed to
grow /var, which was quite full.
The intention had been that once I'd got the two new disks in and all synced
up, I'd create a fourth mirrored partition, and add this to LVM as a new
physical volume, then I could just keep merrily growing things. It felt a
little bit dirty having to make a new partition to get at the extra space,
and I'd reading about mdadm's "grow" mode, whilst I was sitting
around waiting for things to sync.
So I thought to myself, I'd just delete the third partition, and recreate it
using the remaining additional cylinders I now had at my disposal, then use
this grow feature of mdadm to tell Linux the array was now bigger,
then resize the physical volume, and go from there.
This is where things went a bit pear-shaped.
I deleted and recreated (larger) the third partition on each disk, and
rebooted.
I was then messing around with mdadm trying to update
/etc/mdadm/mdadm.conf, since the UUID of /dev/md2 had
changed, when I discovered that /dev/md2 had completely
disappeared.
It seems that recreating that partition made Linux completely fail to see
/dev/sda3 and /dev/sdb3 as RAID-1 members, and so because
of the fairly transparent nature of Linux's RAID-1, LVM had seen the
underlying physical volumes, and just decided to run with /dev/sda3
as the physical volume, and everything had continued to work. I just had no
redundancy any more.
So it was about 3:20pm at this stage, and I was starting to panic, thinking
I'd never get this sorted out before I had to leave, and I'd end up
returning to the US with a non-redundant mess on my hands. Then I remembered
that I had the backups of the partition tables of the old disks, from before
I removed them. So I thought I'd go back to that state, and just have the
additional cylinders unallocated. I hadn't yet attempted to grow the RAID-1
(partly because it had vanished), so in my haste, I didn't see this being a
problem.
The problem was, I'd booted into multi-user mode, and things had merrily
been operating on just half the mirror. I restored the partitions, and
rebooted, and lo and behold, /dev/md2 magically reappeared, already
100% consistent according to /proc/mdstat. I was somewhat surprised
by that, but I booted back into multi-user mode again, only to discover that
the /var filesystem was panicking and remounting itself into
read-only mode. This was pretty weird, given that during boot, it was
considered clean by e2fsck.
So I was really getting bothered by this stage, so I rebooted into emergency
mode (single-user mode in Debian starts way too much), and manually started
up LVM, and forcibly fscked everything. There was a bit of filesystem
damage to /var, /home and /srv.
Thinking I'd now fixed the problem, I rebooted into multi-user mode again,
but again /var, which was considered clean during the
fscking/mounting phase of booting, panicked shortly after mounting, and
remounted itself read-only.
So I rebooted again, broke the mirror, and forcibly fscked the filesystems
again (only operating on what was on /dev/sda3. Then I rebooted
without incident into multi-user mode and resynced the mirror.
At this point I ran away.
So I'm really annoyed with myself. This should have been a blog post about
how crap Linux's software RAID is at error recovery, and how LVM saved the
day yet again, but it was overshadowed by me overreaching in my haste, and
managing to cause silent data corruption.
The morals of this story:
$ pfmon -e CPU_CLK_UNHALTED,IFU_MEM_STALL ./comma < ./randomcommas
340559375 CPU_CLK_UNHALTED
192115 IFU_MEM_STALL
$ pfmon -e CPU_CLK_UNHALTED,IFU_MEM_STALL python -Sc "import sys; print sum(l.count(',') for l in sys.stdin)" < ./randomcommas
1287100
4571257047 CPU_CLK_UNHALTED
71981750 IFU_MEM_STALL
$ pfmon -e INST_RETIRED,CPU_CLK_UNHALTED ./comma < ./randomcommas
542953593 INST_RETIRED
340612036 CPU_CLK_UNHALTED
$ pfmon -e INST_RETIRED,CPU_CLK_UNHALTED python -Sc "import sys; print sum(l.count(',') for l in sys.stdin)" < ./randomcommas
1194455205 INST_RETIRED
4569931735 CPU_CLK_UNHALTED
$ pfmon -e L2_LD:M:E:S:I,L2_ST:M:E:S:I ./comma < randomcommas
102505 L2_LD:M:E:S:I
167 L2_ST:M:E:S:I
$ pfmon -e L2_LD:M:E:S:I,L2_ST:M:E:S:I python -Sc "import sys; print sum(l.count(',') for l in sys.stdin)" < ./randomcommas
3278774 L2_LD:M:E:S:I
10457 L2_ST:M:E:S:I
$ pfmon -e DCU_MISS_OUTSTANDING,DCU_LINES_IN ./comma < randomcommas
769736 DCU_MISS_OUTSTANDING
102387 DCU_LINES_IN
$ pfmon -e DCU_MISS_OUTSTANDING,DCU_LINES_IN python -Sc "import sys; print sum(l.count(',') for l in sys.stdin)" < ./randomcommas
99810150 DCU_MISS_OUTSTANDING
4240179 DCU_LINES_IN
| x86 | ARM |
| buf=BFBF3471, buf%4=1 Num: 4C4F4341 Buf+0: 4C4F4341 Buf+1: 4C4F4341 Buf+2: 4C4F4341 Buf+3: 4C4F4341 | buf=BFFFFD75, buf%4=1 Num: 4C4F4341 Buf+0: 4F434100 Buf+1: 43410000 Buf+2: 41000000 Buf+3: 4C4F4341 |
Working on the project here at Japan is sometimes really fun. Tomorrow
we have important delivery and this afternoon out Japanese colleagues
decided that 2000 pages describing our software solution is not enough.
They need at least 500 extra pages. Fortunately it could be any existing
documentation, so we randomly choose POSIX standard Part 1 (535 pages)
and the Eclipse basic tutorial (592 pages). Japanese guys were really
happy that they have 1100 more pages and we're happy that we don't have
to produce more documents. Now I only wonder why the hell customer is
interested in quantity of paper and not in quality of work.
Next.