A Mind Lost

Anything and everything.

Detox

How did I get here tonight?
What am I doing here?
How did I reach this state?
How did I lost my sight?

I’m lost… I’m freaking
And everybody knows… everyone’s watching.

Strapping Young Lad, “Detox”.

Windows 7 Display Power Management – Still Broken

My latest attempt to circumvent [an issue with] Microsoft’s crappy software didn’t work.  Oh well, turning off the display manually isn’t that big a deal.

Behind Slackware

Immersing myself in Slackware again lately, I came across a journal/blog “Human Readable” written by one Darrell Anderson. Mr. Anderson bemoans the features he thinks Slackware is lacking, so much so that one is left wondering if, in spite of his professed dedication to Slackware, he actually gets Slackware.  What follows are retorts to his long-winded rant about Slackware’s supposed deficiencies:

I am not wedded or bonded to Slackware. Most of the time I find the operating system useful for the way I like to maintain my computers. I discussed elsewhere why I would migrate away from Slackware. My reasons focus primarily on supporting other people who use a free/libre software operating system. Slackware is good enough for me and tends to stay out of my way. Slackware is not a good choice for “mom and pop” and non-technical users.

Perhaps this lack of bonding is the reason for his lack of “getting it”.  And by it’s very nature Slackware is not a good choice for “mom and pop”… or “grandad and gramma”, or “crazy aunt Bertha and her twelve cats”…
Read more of this post

Windows 7 Display Power Management Problems

A problem I’ve had with Windows 7 since its release has been it’s inability to properly resume after turning off the display(s).  Apparently this behaviour is caused by a mysterious conflict involving display power management, a hidden taskbar, and no active application windows displayed.  When the system attempts to turn the display back on, Windows becomes unresponsive.  Sometimes the display remains black, although the backlight is turned on, and other times the desktop/login screen will display, but do not respond to any input.  Leaving the system for an indeterminate (and apparently random) length of time will, on occasion, allow Windows to sort itself out and return control.  Most folks just hit the power button and restart their system.

Read more of this post

Xen and the Art of Patience

I’ve spent the better part of two days trying to get Xen working properly.  It’s been a frustrating exercise in futility.  I’ve tried the official 4.0.1 tarball as well as unstable and testing checked out via Mercurial.

Every time I try to build Xen, it barfs part-way through with the following:

...
make[1]: Entering directory `/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-remote/i386-dm'
 CC    i386-dm/kvm.o
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c: In function 'kvm_arch_init_vcpu':
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c:47:5: warning: implicit declaration of function 'cpu_x86_cpuid'
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c: In function 'kvm_has_msr_star':
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c:159:49: error: 'MSR_STAR' undeclared (first use in this function)
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c:159:49: note: each undeclared identifier is reported only once for each function it appears in
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c: In function 'set_seg':
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c:219:27: error: 'DESC_TYPE_SHIFT' undeclared (first use in this function)
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c:220:29: error: 'DESC_P_MASK' undeclared (first use in this function)
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c:222:25: error: 'DESC_B_SHIFT' undeclared (first use in this function)
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c:223:23: error: 'DESC_S_MASK' undeclared (first use in this function)
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c:224:24: error: 'DESC_L_SHIFT' undeclared (first use in this function)
/usr/src/xen/xen-4.0-testing.hg/tools/ioemu-dir/target-i386/kvm.c:225:23: error: 'DESC_G_MASK' undeclared (first use in this function)
...

Using Google to try to figure out what’s screwed is equally frustrating.  The only “answer” I’ve managed to find are that Xen is attempting to include something that really shouldn’t be included any more.

http://lists.xensource.com/archives/html/xen-devel/2010-09/msg00156.html

I think the bug is that the Xen build system is failing to disable KVM
support in ioemu.  There is no point in that support and it will only
cause trouble.

If you look at "xen-setup" in the qemu tree you'll probably find that
you can just add --disable-xen to the configure line.  If that works
please send us a patch :-).

(The suggestion to add –disable-xen didn’t help).

I know how frustrating it is to find references to the specific issue I’m having, but being unable to find a working solution or even reasonable explanation. So if you’re having this problem, I’ll save you some time and tell you now I spent two days looking for a fix, and didn’t find squat.

Firefox – Untrusted Connection

Yesterday I decided it was time to update my information at the Linux Counter (#334357, since 2003… seems like so long ago sometimes).  Anyway, upon trying to log in, Firefox threw up its big “Untrusted Connection” warning.

Screenshot of Firefox warning of an Untrusted Connection.

Rather than bothering to figure out why such a well-known and long lived website was causing Firefox to barf, I just whitelisted the whole domain and continued on my merry way.

This morning I grabbed an old issue of Linux Magazine from September 2006 to peruse during my morning constitutional. Coincidentally enough, it contained an article entitled “CACert : World-class security at the right price” by Tanner Lovelace.  CACert is the SSL certificate provider the Linux Counter uses, and the article included information on how to get Firefox to stop being retarded about CACert certificates.

Read more of this post

So long, Kubuntu…

… hello Idunnoyet.

For Christmas I gave my elder son ol’ faithful, a dual-core Athlon64 X2 4200+.  Equipped with 2GB of DDR2, an EVGA GeForce 8800GTS, and a lone 250GB SATA hard drive, it is hardly a powerhouse but was more than suitable for playing with Linux (Kubuntu, as previously mentioned).

My son’s old hand-me-down from his grandad, an AthlonXP 2200+ with 512MB and a GeForce3 is far too old to play any of the latest PC games that have caught my son’s eye; specifically StarCraft 2 and the upcoming Diablo 3.

Anyway, wipe and install and he’s got XP SP3 flying on it and seems quite happy.  I plan on swapping the 8800GTS for a 250GTS I’ve got kicking around after upgrading my main machine to a 460GTX for Christmas (paired with a 24″ LED backlit Samsung display… sweet sweet 1920×1080 goodness).  I also got him his coveted StarCraft 2 for Christmas, which he’s been thoroughly enjoying.  Hasn’t beat me in 1v1, yet.  The boy needs to learn to hotkey.

But I digress…

This has left me with the AthlonXP  to play with.  Digging around I found some more memory for it that I didn’t even know I had, bringing it up to a gigabyte.  It’s not matched, not even from the same manufacturer, but given how dog-slow this thing already is I’ll take any performance hit for an extra half-gig of RAM.

At first I threw Kubuntu on it, but it didn’t take long to realize that it’s just too much of a strain for the poor thing – everything felt sluggish.  I decided this was the perfect opportunity to give one of the roll-your-own distros a try.  Initially I was going to go with Linux from Scratch, but after a stroll through their docs I was reminded just how time-consuming it is.  Instead I grabbed the latest Gentoo .iso to gave that a spin.

Read more of this post

Windows 7 Reinstall

I spent the bulk of this weekend past reinstalling Windows 7.  Something was consistently, though unpredictably, taking the OS down and leaving me with a Blue Screen of Death (BSoD).  Analyzing the crash dumps didn’t help much; one time it was something in DirectX’s memory management, at other times it was within Windows itself.  The reported error was initially MEMORY_MANAGEMENT, but after a few of those and some tinkering it changed to good old IRQL_NOT_LESS_OR_EQUAL (I hadn’t seen that one since the early days of XP).

On the whole, I’ve been quite satisfied with Windows 7, far more than I was with Vista.  My initial experience with Vista was tainted after an external USB hard drive enclosure caused the OS to BSoD immediately after plugging it in.  The external drive worked fine throughout XP’s lifetime, and even worked fine under an unpatched Vista.  It stopped working after I’d updated Vista to SP1, causing a problem with partmgr.sys every time it was plugged in.  I never did try that enclosure with Windows 7 as it was a PATA drive, and I’ve since switched everything over to SATA.

Anyway, after backing up a tonne of data I cleared off a drive entirely to give me a bit more room to play with.  My initial partitioning strategy for the OS ended up leaving me with less space than became comfortable.  Gone are the days of a useful program occupying just a couple megs, binaries and data combined.

Read more of this post

So Long, Ubuntu…

… hello Kubuntu.

I really wanted to love plain old Ubuntu, but I just do not like Gnome. It looks pretty enough, but there’s too many small things “wrong” that I just don’t find using it a pleasant experience.

First, the two panels, top and bottom.  I know they can be changed, moved and even removed, but the whole idea just smacks of dumb to me, and sets the stage for everything else.

I don’t like the menu layout, the configuration options are limited, and the whole “Applications Places System” setup is annoying. A single menu button with an icon and optional text is what I grew up with, and it’s what I want.

Coming from Slackware, I’m also more familiar with KDE, both in appearance and operation.  I also tend to use more Qt-based apps than GTK (aside from the staples like The Gimp, Pidgin and Firefox). Krusader is my preferred file manager. Yakuake is a nifty drop-down terminal in the style of the Quake console (and better/less buggy than its GTK cousin, Tilda). Amarok’s an okay player, but I prefer the minimalist approach of Audacious (although I prefer foobar2000 over anything else).

Finally, the buttons to minimize, maximize and close a window are in the right places, without having to change any configuration settings.  I don’t know what the Ubuntu devs were thinking when they decided to move them, but let’s just say my opinion of them for that change is not flattering at all.

So Long, Slackware…

… kinda.

I still love you, Slackware, but I’m getting old, and as I get older, I get lazier (if that were possible).  I love your beautiful simplicity.  I understand you.  I know where you keep your configuration files, I grok your init system, and in general I know where to go to fix a problem when you’re misbehaving.  I’ve always preferred KDE over Gnome (although I whole-heartedly appreciate the effort that goes into both of them).

But trying to install software for which there is no pre-packaged version readily available, and (more importantly) for which there are no pre-packaged dependencies, is a real pain in the butt.  I’m lazy, I don’t want to spend hours poking around building (and oft-times, rebuilding, and rebuilding again) a dozen libraries before getting to the program I was after in the first place.

So for the time being you will live on in my heart, and in my virtual machines.  My old box is getting a fresh coat of pain in the form of Ubuntu.  I’ve played with it before, but I’m hoping things will go better this time around (two major releases later).  Someday, in some faraway time, I may even be able to shed my dependence on Windows and move entirely to free software.

Design a site like this with WordPress.com
Get started