Rescuing a rebooting machine that’s hanging

One of my co-worker approached me today with a weird problem. Yesterday he had a disk in a 900GiB array failing which he replaced. After that, he run a rebuild/verification, fsck’ed the file system and tried to mount the volume again.

Apparently the mount produced a kernel oops (guess what, the 900GiB is running reiserfs), thus leaving the kernel tainted (or what do they call it ?). So he tried to reboot the box but it didn’t reboot. It started rebooting but then hung (as in not continuing the reboot). He tried to ssh back to the box, and it worked just fine.

This is where sysrq comes in handy.

That’ll restart the box, and cha-ching .. ๐Ÿ˜€

git-lkml for stupid people (like me)

OK, as Stephen recently asked why there is a double inclusion of in kernel/sysctl.c (and I asked Greg and Randy); I finally decided to write a patch to the LKML for possible inclusion.

But, git ain’t easy for people like me (who are used to the easiness of say – subversion or even cvs). So here’s what I did (thanks to Fernando for the help earlier today):

Now you should have a mailable patch, ready to be sent upstream that looks like this:

And if you wanna delete the branch afterwards again, just do this:

hardened-sources-2.6.18

Today (OK, it’s yesterday now, it’s again after 12:00) I had a little fun with pappy (Alexander Gabert) preparing 2.6.18 for prime time ๐Ÿ˜€

So far all patches are applying fine and according to Alexander it even works on his workstation. But I’ll wait for Steve/Ned to get back to me telling me if this release works for them or not (as they had serious issues with their hardened desktops – something about the cursor being stuck in the corners).

You may also ask, what for is this mute-warning patch. Basically the new grsecurity patch increased the kernel’s verbosity while running make about two times ๐Ÿ˜ฎ . Thus we decided to revert the warnings to the ones used in vanilla (that’s via CFLAGS).

F*cking summer

Oh, yeah baby *g*. It’s finally hot f*cking summer and I *really* like it. We have now three weeks in a row sunny weather with no rain at all.

Everyone running around with less or nearly no clothes (heh, especially the girls) is also a nice present from above.

Personally I haven’t felt better the last two years. Maybe that’s depending on my previous depressions and the like (you know these thoughts .. ) but this summer is definitely going rock my life!

christel, babe ๐Ÿ˜› I have to say you’re not alone with those mood swings. I have them also from time to time. Everyone (well my friends :P) is bitching at me then like “C’mon, don’t be so negative about … blah” or “Why are you so angry at … blah ?”.

You’re also right, piling the anger up isn’t such a good thing (TM). Stress from work (or family :() is also doing its part.

Aaah, Joshua; I nearly forgot about you! Take of that hat! It makes you look like a clown, which you really are not ๐Ÿ™‚ And I’m gonna blog about my 15 billion pieces puzzle tomorrow (uploading ~180M of jpeg’s isn’t that fast with stupid 16k upstream).

Oh, by the way thanks Sven for the really great introduction of frilled! I really would like to see more of those (even if it will get pretty hard by the time :))

But enough of the bitching, now some infos/updates on the Gentoo/FOSS-related things.

  1. Herbert announced another release candidate for linux-vserver (surprise ๐Ÿ˜› rc27), and I really hope we’ll see the final version within this month (haha since this month ends tomorrow, nah the next month). I’ll prepare a patch-tarball and an ebuild later.
  2. As I earlier mentioned, I took some of Henrik’s packages (while he was on his Hiatus). And now he announced his resignation!. *sigh*. Henrik, I really hate to see you go.
  3. I also joined the kernel-monkey herd (thanks Henrik, Daniel and John for letting me), did my first release for genpatches (and messed it up, I *know*), became devoted to the mobile-herd (thanks Stefan for asking) and also poked around a bit with the hardened patchset for 2.6.17 (ah, thanks again John :)).