I got into work this morning to find my desk’s keyboard and KVM switch non-responsive. The only way to reset the switch was to turn it off and back on, which meant disconnecting all the keyboard and mouse cables. (A KVM switch doesn’t need much power, so many of them just draw power from the computer, the same way an actual keyboard or mouse would.) It switched immediately to the Linux box, which was happily displaying its screen saver, so I switched back to the Windows box where it had been… and it got stuck again.

OK, so the Windows box had crashed. It’s been doing that lately, though usually I actually get a blue screen with the dreaded IRQL_NOT_LESS_THAN_OR_EQUAL, which could mean anything from a driver conflict to failing hardware. I haven’t taken the time to track it down, but maybe I should. I rebooted the Windows box, which seems fine for the moment, though there’s no sign of the crash—or even my forced reboot—in the system log.

Then I switched over to the Linux box, and the mouse wasn’t responding. When the mouse gets messed up, sometimes it’s enough to switch out of X into text mode and back. No luck. Sometimes closing X entirely and starting it again is enough. Not this time. I actually had to reboot the Linux box to get my mouse back. That really annoyed me.

So here are three things that went wrong.

  1. The Windows box crashed. This is probably a driver or hardware problem.
  2. The KVM switch got stuck. This should not be possible. Even if it’s getting confusing signals from one set of ports, it should be able to switch to another port.
  3. The Linux box (Fedora Core 4) could not recover from having the mouse unplugged for 10 seconds. There should be an easy way to tell it to check for the mouse again.

It’s #2 and #3 that bug me the most. Maybe it’s the man-bites-dog effect (I expect Windows to crash and/or require frequent reboots, so it’s more annoying when Linux does it), or maybe it’s just the fact that they’re simple error-recovery issues. I mean, seriously, unplugging the mouse for a few seconds makes it unusable?

Update: I forgot to check the second Windows box on the switch. It also had stopped responding to the mouse even after I reset the KVM switch. I’m beginning to think that problem #3 was in the switch itself, not the Linux mouse driver, since the non-crashed Windows box had the exact same problem.

For several months I’ve been providing installable RPM packages for the Dillo web browser. Since many different distributions use RPM packages, I’ve been getting requests to add various Linux distributions. I started out just installing to extra partitions, but then I started building virtual systems with User-Mode Linux.

Well, people have been requesting RPMs for Conectiva, a distribution from Brazil and partner in UnitedLinux. I built a UML virtual system, but was never able to get Dillo to compile or to get the imitation network driver working. So, tonight I decided to install an actual copy.

With most Linux installers, you can choose where to create a new partition, and set it up to add existing ones to the system. This has worked fine with every version of Red Hat, Mandrake, and SuSE I have installed. The installer will create the new partition, leave the others alone, and mark them to be visible in the system you’ve installed.

Conectiva didn’t leave the existing partitions alone. Each partition I had marked was gone: my main OS partition (currently Red Hat 9), my home directory, and all my download and media files. Fortunately I had backups of the most critical files from last Saturday, and I was able to recover my entire home directory with Tomsrtbt and Parted‘s rescue function. And I don’t mind losing my main OS, since it’s not that hard to re-install it – all I need is the configuration, and I’ve got that backed up.

That leaves my entire download and media archive. I always figured, “I can just re-download all of this, right?” And most of it I can. Much of the rest either isn’t important, or hasn’t changed since the last backup (which I’ll admit was a long time ago), or can be recovered from CD, or can be re-scanned. The few photos that hadn’t made it into last week’s backup turned out to still be in a temporary folder on my website. Still, there are things that will be hard to find again, and probably some that will be impossible.

Just in case, I’ve got a recovery tool scanning the lost partitions in hopes that it will come up with something.

I’m not touching Conectiva again – or any other distribution I’m not already familiar with – until I get a spare system set up, or maybe spring for something like VMWare. And I’m seriously considering picking up some sort of backup solution that will hold more than a CD-RW, so I’ll be more inclined to save everything instead of picking and choosing what to put on a few discs.

Update 7:45am: I got the download/media partition back. The tool I ran overnight didn’t seem to find anything, but when I ran parted again this morning (after remembering that it was on PAUD, the Parted And Utilities Disk, not Tomsrtbt) it was able to find the partition.

So now all that’s missing is the primary OS (I’m running off of one of the “extra” installations right now), and I can reinstall that easily.