Archive for November, 2004

Arghh

Friday, November 26th, 2004

Why has this term been so hard in term of getting things done and organised? Supervisions have been arranged and re-arranged and various jobs have gone undone and just getting some forms in have proven far more difficult than necessary. Add to that the huge amount of time that this sodding crap play (The Tempest - Homerton, don’t see it - it’s crap) has taken up and I think for the first time in my PhD I’m actually feeling a little stressed. Hence the angsty post. Recently I have had terrible trouble waking up and still feeling tired, even at 11am. I think this is me in deep need of a week off without stress, worry or commitments. Unfortunately that is unlikely to happen before christmas (and before that there is the stress of that godawful holiday).

Oh well.. At least posting my innermost rants to a random website will help me :).

Meemage once more

Friday, November 26th, 2004

From :

  1. Grab the nearest book.
  2. Open the book to page 23.
  3. Find the fifth sentence.
  4. Post the text of the sentence in your journal…along with these instructions.


The sentence is…

In fact, a break-up occurs only very rarely.

A prize for anyone who successfully guesses the topic (or even title) of the book.

PuTTY things

Thursday, November 11th, 2004

In a fit of procrastination I finally got around to doing something I’ve been meaning to for a while. I’m sure we’re all great fans of PuTTY and I’m somewhat pissed that I have to run a whole X server just to get a decent terminal on my Mac. Well on and off I’ve been toying with the idea of either a full port of PuTTY to OSX (lots of work) or just a terminal emulator based on the PuTTY code (less work). Before all those things getting the Gtk/X version of PuTTY working on OSX would be useful (it doesn’t compile ‘out of the box’ for me). Well, a little playing this afternoon resulted in this:

PuTTY on OSX

And the, fairly ugly, patch can be found on my lab websapace. Appologies to :). In theory I could now just run pterm under Gtk-OSX and dispense with the X server. There is something appealing about a proper PuTTY/Cocoa-based terminal emulator however.

13588

Thursday, November 11th, 2004

Yuk, the firewall/router machine at home just died horribly.

I use ReiserFS at home. Yes, I know. I liked it back in the days of ext2 (and before ext3 was as obviously stable as it is now). Unfortunately I have noticed it seems to be a little sensitive to disk corruption. From what I can gather from looking at logs etc, a few weeks ago a power cut at home caused the machine to reboot un-cleanly and probably caused a little corruption to the partition holding /home. This amounted to a ticking time bomb since, when reiserfsck is run at boot, it replays the journal and assumes all is fine and dandy and doesn’t actually check the filesystem. At this point eveyone is screaming ‘why didn’t you check it?’. Well mostly because I am a big lazy fool who will now know better in future. OK?

Fast-wind to today and an e-mail arrives at 3:43am which causes exim to drop a file in my home directory’s Maildir which mutt then tries to read. Some nasty ju-ju happens and mutt is blocked while reiserfs starts running around kernel memory like a headless chicken. From this point on, reads from other files in /home start blocking indefinately. I wake up this morning to find ~400 exim processes sitting there waiting to finish writing files to my maildir. Further more any other process that tries to write to /home is being blocked, all of them as TASK_UNINTERUPTABLE which means the kill -9 has no effect. By this point 99.9% of the CPU was being utilised by the kernel as resiserFS sat there in an infinite loop brain farting everywhere.

Add to this happy picture the fact that I only see this while sitting at work, 2 miles away with nothing more than a SSH session into the box in question. I can’t leave this session since I strongly suspect that trying to ssh in again will lead to sshd being blocked when it runs bash (and bash tries to read my profile). Unmounting /home wont be easy (all these processes are sitting there making the device ‘busy’) and /sbin/reboot wont work since a) it can’t unmount /home and b) it can’t kill all the processes and will in fact just become another blocking process. Thanks to the wonder of lazy-unmounting (umount -l /home) I can pretend sufficiently well to reiserfsck that /home isn’t mounted and that it can try fixing the filesystem. The first error spotted is the troublesome email that triggered the whole mess which reiserfsck claimes to have ‘fixed’ but did in fact just nuke it. After fsck thinks it’s done I now need to reboot the box, hope it comes up again, and hope that the hastily appended code to /etc/conf.d/local.sh will bring the Internet connection back up (don’t ask about the ADSL woes….). Suffice it to say that this was the only time I’ve ever had to ‘echo ‘b’ > /proc/sysrq-trigger‘ just to get the damn box to reboot. Thank god I compiled it in (remember I had no phyiscal access to the box).

Happily it came up again and seems to be happy now. As far as I can tell, exim even managed to deliver all the mail after the naughty one too. I was particularly impressed by that to tell the truth.

Well, how was your morning? :)

Meme!

Tuesday, November 2nd, 2004

when harry met sally
Everyone remembers the
‘faked-orgasm-in-a-deli’
sequence from your kind of movie When Harry
Met
Sally. It seems that you’re falling for a buddy
or have
already fallen for them. Uh-oh. You’re
probably caught between the
possibility of
having a great relationship and wrecking the
one
you have now. You know what they say, it’s
better to regret something
you did than
something you didn’t do.


What Romance Movie Best Represents Your Love
Life?

brought to you by Quizilla