Recently in Linux Category

My simple rsync backup scripts for Ubuntu 8.04 (also good for just about any Linux or BSD)

| | Comments (0) |

I'm no coding guru. And I feel like having to write my own scripts to get stuff done in Unix/Linux is all too much like reinventing the wheel.

Be that as it may, I hacked together these two short scripts to back up my /home files in Ubuntu 8.04 to an external USB drive. I put the scripts in /usr/local/bin and made them executable. I'm lazy enough that I used the Nautilus file manager to do this.

I run the scripts with sudo, meaning in my user account, I open a terminal and do this, entering my password when prompted:

$ sudo usb-backup

$ sudo usb-backup-exclude

For the second script, I created an "exclude file," which the script uses to exclude whichever directories or files I wish. In this case I use it to exclude the .gvfs directory, which breaks the script (and doesn't need to be copied anyway) and in this case to exclude my Thunderbird mail files, since they take so damn long to back up that doing it every day is something I'm not fond of. The beauty of the exclude file is that I can modify it while keeping the script the same.

I'm sure there are many of you who can do and have done a better job than this, but these two scripts appear to work, and that's what counts for me anyway.

There are some pounded-out notes for the scripts; feel free to remove them. They won't affect how the scripts work.

Here are the scripts:

usb-backup:

#! /bin/bash
# Use rsync to back up the /home folder to a 4 GB USB flash drive
# --delete allows for deletion of files on the backup that have been previously deleted on the source drive
# using --exclude to keep rsync from trying to back up ~/.gvfs
# Finally able to remove --ignore-errors now that .gvfs is excluded
rsync -av --delete --exclude 'home/steven/.gvfs' /home /media/disk/ubuntu
exit 0

usb-backup exclude:

#! /bin/bash
# Use rsync to back up the /home folder to a 4 GB USB flash drive
# --delete allows for deletion of files on the backup that have been previously deleted on the source drive
# setting up an exclude file to back up some directories and not others.
# Finally able to remove --ignore-errors now that .gvfs is excluded
rsync -av --delete --ignore-errors --exclude-from '/home/steven/Documents/shell_scripts/exclude' /home /media/disk/ubuntu
exit 0

And here is my "exclude" file which, as you can see from the script above, lives at /home/steven/Documents/shell_scripts/exclude:

/home/steven/.gvfs
/home/steven/.mozilla-thunderbird

.gvfs note: I've done similar scripts before in OpenBSD and Debian, and I don't believe either used the GNOME Virtual Filesystem, so there was no need to exclude ~/.gvfs when using rsync.

Xfce in Ubuntu/Xubuntu and Debian(/Slackware/fill in the blank)

| | Comments (8) |

I've written (and before that observed/suffered) about the Xfce flavor of Ubuntu — Xubuntu — not offering much of a speed advantage over plain ol' GNOME-based Ubuntu and certainly not comparing well to the default Xfce setups of Debian and Slackware.

In last week's Distrowatch, which I also blogged about, And in the latest Distrowatch, the idea of running "minimal Xubuntu (and Ubuntu)," is discussed.

Basically, the idea is that you use the regular Xubuntu CD but instead of the full install, you start with a command-line-only system and build it up from there. It's something that many Debian users have been doing for years (and which I'm done a couple times myself): start with what in Debian is called the "standard" install (and purposefully NOT including the "Desktop" group of packages), then use apt or Aptitude to build up from there, adding only what you want. You start with X and then build up from there.

This week's Distrowatch article included some timed benchmarks, as well as a table of how much memory is used in Debian 5 with Xfce, the standard Xubuntu, the minimal Xubuntu and Xubuntu with the same packages as Debian with Xfce.

You save a lot of time and RAM with the leaner Xubuntus.

In running Ubuntu vs. most other systems with leaner desktop environments, you can see right away by running the top utility in a terminal. In Ubuntu 8.04, I start out the session with over 100 processes. Right now, in OpenBSD 4.4 with Xfce 4.4 — and with the Opera browser, Thunderbird e-mail client, a terminal window, a couple Mousepad editor windows and way more Xfce widgets than I need (they eat about 10MB of RAM each, so I'm probably going to turn off most of them soon), I only show 53 processes in top.

And when I'm running the default Fvwm2 window manager in OpenBSD, I probably start the session with between 20 and 30 processes (I'll have to check on that). Just running the console before starting X, there are less than 20 processes running (again, I'll check and confirm).

From my experience, Xfce in Debian and Slackware is more like it is in OpenBSD as I have it configured and less like in Xubuntu.

The "problem," although I really don't see it as such, with Xubuntu is that a whole lot of GNOME services are running. The same is true in the KDE-based Kubuntu. The Ubuntu team keeps a lot of the services the same, everything from the Synaptic package manager to the Network Manager, so the experience across the various Ubuntu derivatives is more similar than not.

And I do remember being jarred a bit after installing both the Xfce and KDE versions of Debian. I never could get used to the graphical package manager in KDE. (Kpackage? That's my guess.) And in the Xfce version of Debian, you have to use apt or Aptitude (but you could add Synaptic with these very utilities if you really, truly missed it).

I did use Debian with Xfce for a good period of time, and that provided me with the opportunity to learn more about Aptitude, which more than a few users prefer over apt due to Aptitude's record-keeping ability. (I guess that means Aptitude writes more log files, but I never really looked into it that closely.)

But as I said in my last entry on the topic, If you install Slackware but leave out all the KDE sets, you still end up with a bigger installation than if you use Debian with Xfce. And as I said then, you even get OpenOffice, compared to no office suite in Slackware, and still the install for Debian is smaller. That doesn't really matter for most instances, but this particular install needed to fit on a 3 GB hard drive, and that's pretty tight for many distributions.

Not to hate on Slackware at all. I do grumble about not having as many tools to manage the box when you choose not to install KDE (and I may indeed do this very install in the near future because I still love Slackware and believe I'm better equipped to deal with it now than ever). And while I'm not happy about having to search for prebuilt binary packages or use Slackbuilds for some of the apps I need, Slackware is still a super-fast Xfce system. In fact, Slackware is my No. 1 system for when I (or you) do want to run KDE.

(Small aside: Slackware does include the Koffice suite in the KDE sets. If at the time I was using Slackware the heaviest — the 12.0 days — Kword in particular ran better, I very well could've stuck with it. I can't say anything about more recent Koffice builds, but I haven't heard about it getting much better, not that I've heard much at all. I did end up adding Abiword to my Slackware install with binary packages from Robby Workman's site.)

And if you want to take the time during the install, you can go through Slackware file set by file set, package by package, and install exactly what you want from the CDs/DVDs. So you can have a truly custom installation out of the box without needing to use a network mirror. (Caveat: It seems as if this would take forever to do.)

I don't think you can do the same thing with apt in Debian, but you certainly can start with the minimal or "standard" install (I think some just do the absolute base and don't even use the whole "standard" list of packages) and then build slowly up from there.

Before I lose the thread of exactly what I wanted to say about Xubuntu. I don't know if I spelled it out in the last entry, but in my tests, Xubuntu doesn't really give you much of a speed advantage over standard Ubuntu. I did used to really like the look of Xubuntu; around the 7.04/7.10 era, when I ran a lot of Xubuntu, I really liked the way they had Xfce set up, from the color scheme to the panels (when I could get the panels to stick on the screen ... another story).

But once I saw how Xfce ran in other distributions, I never really looked back. If you prefer the way Xubuntu looks and works over Ubuntu, it's a legitimate choice, but I don't think you'll save a lot of CPU or RAM by choosing Xubuntu over Ubuntu.

However, if you really like Ubuntu/Xubuntu and have a compelling reason for using it over Ubuntu — perhaps your hardware just likes Ubuntu more, maybe you want to run the LTS of Ubuntu, or there are some packages that either you can't get in Debian or are more up to date in Ubuntu — doing one of these minimal Ubuntu/Xubuntu installs can be worth it.

As for me, things are going very well in OpenBSD 4.4. I'll probably upgrade when my CD set arrives. And my Ubuntu 8.04 Toshiba laptop is also running well.

Ubuntu maintenance aside: On our girl's Gateway laptop running Ubuntu 8.04, it crashed over the weekend (most probably a hardware issue; possibly a flaky power-supply plug) and I had a corrupted root filesystem. I used "recovery mode," and was able to see the dmesg on the terminal. The system dropped me into a root shell, I fsck'ed the root filesystem, which in my case goes like this:

# fsck /dev/sda2

And after that I rebooted and everything was back to normal. I thought that running a journaling filesystem (ext3 in this case) meant you didn't have to fsck, but in this case I most definitely needed to do so. My recent forays into fsck in OpenBSD are also due, I believe, to hardware issues; every once in awhile this Toshiba laptop (again, I have two identical Satellite 1100-S101 models) dies right at the beginning of the boot, no matter what the OS, and in the case of OpenBSD, I easily fsck the root filesystem and commence booting.

So ... what I'm getting around to saying is that I can easily see pulling the hard drive from one of the Toshiba laptops, shoving in a new one and using the entire drive for either Debian or Slackware and doing a long-term test of whichever distro I end up choosing.

Endnote: My complaints still stand about distro reviews — including my own — being nothing more than cursory looks at how a system installs and whether or not the hardware worked and not much more.

I think a lot of this discomfort with quickie reviews stems from my own decision to do much less distro-hopping. I tend to use distributions/projects that offer a lot of packages, a lot of flexibility, plus longevity and relative stability. The operating system must support most or all of the applications I need to get my work done. And since I'm not running a lot of test machines at the moment, anything I do in terms of distro/project testing needs to serve these goals as well as hold my 1 GB of Thunderbird e-mail and about 1 GB of "other" files.

So I've stuck with Ubuntu 8.04 on two laptops (both in fairly frequent use), OpenBSD 4.4 on one laptop (heavy use), OpenBSD 4.2 and Puppy 2.13 on one laptop (light use — this one needs an upgrade; it ran Debian before and probably will again) and Debian Etch on two desktops (light use).

I used to get a lot of traffic with quickie distro reviews, especially when I managed to get a Distrowatch link. I do miss the traffic, but I didn't feel right cranking out a review within the first day/week after an install. It's certainly important to let people know how goes the installation of an operating system, but I just didn't have the time or desire to burn dozens of ISOs and do installs all the time.

And since my days of distro-hopping, I've depended on FOSS operating systems and applications more than ever before for my day-to-day work. And between Ubuntu, OpenBSD and Debian, I've found a nice combination of comfort (for me as a user/technician) stability, flexibility, application availability and, for the most part, relative speed.

I know I spent half of this entry on how slow Ubuntu can be, but I've run MANY distros that appear to be much slower; I think Ubuntu hits more of a happy medium than others when it comes to the bloat/features equation, I just run hardware that's old enough to need all the help with CPU, RAM and disk space I can get.

The real endnote: The preceding few paragraphs attempted to explain why I'm uncomfortable with the standard distro review, both as a writer and a reader. I hope I got the point across at least a little. When you see one of these reviews, you'll know it. Not that there's no value in rolling a new Ubuntu/Fedora/Mandriva/Slackware/etc. distribution onto a box and writing about what's different/better/worse. If the writer has been running a given distro/project all along, I tend to take more notice even of a quickie review. But if you run, let's say Slackware, throw the latest Ubuntu on your box and talk all about how Ubuntu is different from Slackware and how everything's in the wrong place, and you do this a few hours after the installation, that I feel is usually of very little value.

So the next time I do this very thing, feel free to write a comment at what a hypocrite I am.

Interesting new Ubuntu-derived, OS X-inspired distro, interesting revenue (yes, I did say revenue) model

| | Comments (0) |

linx-1.1.png

(Lin-X image above from Distrowatch)

Scrolling through this week's Distrowatch, I came across an interesting new distribution in the "waiting list" of projects that will eventually be tracked by Distrowatch, should they survive long enough to ...get through the waiting list.

Lin-X aims to follow the Ubuntu distribution on which it's based but look as much like Apple's OS X as possible.

While I'm a user of OS X as well as Ubuntu (and Windows and OpenBSD ...) and I do like many things about the OS X user interface — the chief of which is the ability to keep an application running but NOT have a window of that application open at the time if I choose not to — I'm not one of those people who think OS X has it all over GNOME, KDE or even Windows XP.

But others might feel differently, and the ability to create a distro such as Lin-X from the parts provided by Ubuntu (and before that by Debian, and before that the Linux kernel, GNU userland, Xorg, GNOME and the many thousands of applications and utilities that go into many Linux distributions) ... that ability is something to be celebrated, since it gives us, the users, more choice and more freedom.

Anyhow ... while the OS X look of Lin-X is somewhat intriguing, what's even more intriguing about the distro is its revenue model.

Revenue model?

Yep, it has one. Aside from donations (which enter you in a drawing for a free Macintosh, there's an offer of e-mail support at $15 a year.

While it's not free, it's extremely cheap. Desktop support from the likes of Canonical, Red Hat or what have you will cost much, much more.

I won't get into why people who want to run an OS X-looking Ubuntu/Linux-acting OS on their PC hardware would be overly interested in winning some free Macintosh hardware — OK, maybe it's not as incongruous as it seems to me — but if this support is worth anything at all, it could be an extremely good deal for a business or individual who wants to run Ubuntu on the desktop, especially a Ubuntu designed to look as much as possible like OS X.

If you have any interest in Lin-X, download it here via Torrent, direct link via Adrive or Megaupload (the latter two of which I've never heard of ... but they appear to be legitimate ways of getting the ISO).

The only "stopper" here is that I can't find the name of the person or persons behind Lin-X, also known as probably the guy who wants your $15 and is promising you the chance at a free Macintosh in order to get it. Neither the About page nor the FAQ mention a single name.

That makes me a little squirrely about the whole endeavor, but then again, if you download Lin-X, run it and like it, $15 isn't much to part with even if you don't expect any support in return. So if you expect little, you probably won't be disappointed.

Disclaimer: I have neither download nor run Lin-X; I'm basing all of this on my reading of the Distrowatch article and the Lin-X Web site. My interest in running Ubuntu-derived distributions is limited to those that offer scads of audio-, graphic- and especially video-editing software; if it includes Cinelerra or whatever Cinelerra is morphing into by default, or anything aspiring to be the next Final Cut for FOSS, I'm there. In that aspect, I'll probably need a Mac eventually, but I'd much rather edit video in an all-FOSS environment, and that remains my goal.

Xubuntu vs. Debian Lenny with Xfce

| | Comments (2) |

I've done this sort of thing before, but luckily somebody else is comparing the Xfce environments of Debian Lenny and Xubuntu/Ubuntu.

Results are not surprising and are in line with what I found over a year ago when I did a major comparison of everything from Xubuntu and Debian to Slackware and gOS, as well as Wolvix and standard Ubuntu.

Back then, Slackware and Debian with Xfce are indeed very, very fast systems. And while I didn't test them at the time, I expect ZenWalk and Vector with Xfce to perform as well or better.

That said, I've always liked the look of Xubuntu (especially in the 7.04-7.10 era), but it does run a good deal slower than other Xfce-equipped systems — and in fact didn't do much better than Ubuntu with GNOME in my test. Thus I've pretty much just used Ubuntu when I want it, although I did have some issues with crashing on my Gateway laptop that appeared at the time to be solved by adding Xubuntu to the install and running Xfce instead. (Since then, we've been running Ubuntu with GNOME — version 8.04 — on the Gateway, and it has been running very well.)

Despite all of this, I still have two Ubuntu 8.04 installations running right now. Sure Debian and Slackware are faster, but I'm quite happy running GNOME, and I find performance in Ubuntu more than acceptable. But what keeps me running Ubuntu is the ease of installation, configuration (I'm running with no xorg.conf — and perfect video out of the box — on both installs) and patching of the system. Despite all the talk of Ubuntu shipping before everything is "right," I can't remember suffering from a broken app or feature in recent memory. And it seems that even if a new app isn't available for some reason in the Ubuntu repository, the developers behind it are quick to create a package that's designed to run in Ubuntu (even though I prefer to run what's in Ubuntu's own repository).

All things being equal, I prefer Debian, but since Lenny all things have not been equal on my Gateway and Toshiba laptops (both made around 2002-3), with which I've had unsolvable video issues in both Lenny and at least on the Gateway in Slackware as well. No amount of tweaking xorg.conf, installing new drivers, etc., would make Debian Lenny play well with the Intel video in the Gateway, and when a quick Lenny install on the Toshiba brought up the same issue, I ran quickly to the welcoming, trouble-free arms of Ubuntu. Of course OpenBSD 4.4 is running virtually trouble-free on my second, identical Toshiba Satellite 1100-S101 laptop, and if OpenBSD can get xorg running perfectly with no configuration (and no xorg.conf needed), you'd think that Debian and Slackware could do the same.

In all fairness, I haven't tried Slackware again since 12.2 came out, so maybe things have changed, and I also haven't tried Lenny since it went stable (my experience was during the three or so months leading up to that point). Put simply, Ubuntu worked, so I use it.

And as I've also said before, many of the replies to requests for help in the Ubuntu Forums might be less than helpful, but the sheer volume of those messages means that finding the answer to your question/solution to your problem not just for Ubuntu but also for Debian is easier than you might think.

Dell acknowledges recession/depression with sub-$500 laptop pricing ... plus an equipment rant

| | Comments (0) |

inspn_mini_9_white_sunset.jpgDell may not have the absolute best laptop deals available — you can often do better with the HP/Compaq/Acer/Gateway specials in Office Depot's Sunday newspaper circular (see, there IS a reason to subscribe to a genuine dead-tree newspaper like our own ever-lovin' Los Angeles Daily News).

But Dell is trying to earn your business, and right now (and through April 2) the company is running a "9 great systems under $499" laptop promotion.

True, the $399 Inspiron 13 is no great shakes specs-wise, with a measly 2.13 GHz single-core Celeron processor. But it does feature 1 GB of RAM (barely adequate for the included Windows Vista but quite enough for Linux distributions such as Ubuntu) and a fairly roomy 160 GB hard drive. A 2 GHz Core 2 Duo processor adds $100 to the price, and an extra gigabyte of RAM adds another $50 (yes, Dell SHOULD be ashamed to charge $50 for something that couldn't be costing them more than $10 wholesale), and for $550 you have a very respectable laptop that should serve you for at least three years (or 7-10 years if you're me).

What I'm much more excited about is Dell's Inspiron Mini 9 netbook (pictured above), the price of which has dropped to $249 for the basic Ubuntu Linux/512 MB RAM/8 GB solid-state drive model.

I had the pleasure of trying this very-small but quite usable netbook at the San Fernando Valley Linux Users Group booth at the recent SCALE 7x show, and I was quite impressed with it. I've seen quite a few ultra-small netbooks over the past couple of years -- the Asus Eee PC, the Everex Cloudbook, the HP 2133 Mini-Note, and this Dell is the best one I've encountered yet.

The smallish keyboard, while not super comfortable, is definitely usable, and unlike some other netbooks, the Dell Mini 9 doesn't run hot. It has a nice display and is fairly snappy with Ubuntu GNU/Linux 8.04 (the long-term support edition I'm using on the little girl's Gateway laptop and my extra Toshiba 1100-S101). It handled multimedia well when I saw it, and the small size makes it extremely convenient. It's easier to tuck it in a bag or backpack and open it up at will.

Battery life is supposed to be 4 hours. Not bad, but the talk recently of basing the netxt generation of netbooks on power-sipping ARM processors, like those used in cellphones,
and promising all-day battery life, is something to look forward to.

Anyhow, while the base Dell Mini 9 is $249, bringing the memory up to 1 GB adds only $25 to the cost. (Now you're talking, Dell ...) Going from the 8 GB solid-state hard drive to 16 GB adds an extra $50, but that isn't completely necessary (although I'd probably do it) because you can easily save to those miniature SD cards used in digital cameras — most netbooks have a slot for this — and keep your main drive fairly clean.

One catch with netbooks is that they don't have built-in CD/DVD drives, so you can pop for one from Dell for $89, or take your chances and pick one up for possibly less at Fry's or online from an outlet like TigerDirect.com, where USB-connected CD/DVD burners run from $60-80, or not much of a savings.

Again, if you fully embrace the "netbook concept," you won't need an optical drive or a even a huge main hard drive. These little notebooks are supposed to be for casual Web surfing, jotting down notes and the like.

But I still predict that the netbook will become a whole lot more ubiquitous than many hardware manufacturers and especially software giant Microsoft ever thought.

And while Microsoft is making moves to have an operating system other than Windows XP that will run on such lower-spec devices, I think it's just silently waiting and not-so-silently cajoling hardware makers to up the specs of these little laptops so they can more comfortably run not Windows Vista but the upcoming (and said-to-be-lighter-and-higher) Windows 7.

We'll see. The rumors of a shift from Intel-based processors like the netbook-aimed Atom to even-lower-power-using ARM CPUs could throw a considerable wrench into Microsoft's quest to move into the netbook market — a class of hardware the company didn't see coming.

Right now I still recommend running Ubuntu on those netbooks that ship with that version of the Linux operating system. I've heard less-than-glowing things about the netbooks that use modified versions of Xandros and Linpus, but I'll admit right now that I have nothing beyond the anecdotal to go by.

There are many people interested in running everything from Mandriva and Debian to OpenBSD and Novell's SUSE (either the OpenSUSE or SLED varieties) on their netbooks with the help in many cases of active projects porting these OSes to various netbooks.

Maybe you don't want a netbooks. I understand. I do a whole lot of writing on laptops, and that smallish keyboard might not get such a glowing review when I'm cranking 500-word articles on deadline.

But then again, I do the majority of my work on a 7-year-old Toshiba laptop with a dead sound chip and the ultra-reliable OpenBSD operating system, now equipped with Java and Flash Player 7 (the "newest" Flash player available in the BSD world). Right now the Toshiba — with 1.2 GHz Celeron CPU, 768 MB of RAM and 20 GB hard drive split between OpenBSD and Windows XP, which for testing reasons I haven't killed out — is serving me quite well.

And I always have the Toshiba's "twin," running Ubuntu 8.04, at the ready. And that one even has working sound (and with Ubuntu I have Java and either Flash 9 or 10 – I can't remember). If I have to do more with video than currently (now = almost none), I'll have to move back to Linux both for the Flash capability and the availability of more video-editing software.

But for the basics — Firefox, Opera, Thunderbird, OpenOffice, the Geany text editor, the Xpdf and Adobe PDF readers, the GIMP image editor, Pidgin for IM, gFTP and the Rox-filer file manager — I have a pretty nice setup in OpenBSD. I've been using this OS on this hunk of hardware for about three months now, so I should be in a position soon to write yet another distro review, except this one will be based on that three months of use and not the "I installed it, here's how that went, and here's how it's different from what I usually run" reviews that I and many others find so easy to crank out.

Winding back around to netbooks, what I mean to say is that $250 is a better price than $300 for the basic model, and for that Dell deserves at least some praise (and more than a little business).

Sparcstation 20: From OpenBSD to Solaris

| | Comments (1) |

sparc_station_5.jpgThis post began its life as a comment on the previous Sparcstation 20 entry, and true to the way I overwrite even a comment, it works well enough as a standalone entry.

And thus, here it is in that form:

I've discovered that NetBSD doesn't run so well on the Sparcstation 20 (50 MHz processor, 128 MB RAM). The install went fine, but the X configuration was less than optimal. Console messages continued to appear on the X screen, and I could tell that, among other things perhaps, the horizontal sync and/or vertical refresh might have been just a bit off. I imagine that if I take the xorg.conf information from OpenBSD and use it for NetBSD, all issues will be solved.

But when NetBSD's 32-bit Sparc packages for Firefox and Seamonkey (precompiled packages, NOT ports) wouldn't install, and then the Geany package did install but ran so slowly as to be unusable, I decided to go in a different direction.

Thus far, that direction is a reinstall of OpenBSD. I haven't tried any ports yet, but all the packages I have installed — a few GUI editors (nedit, which I quite like, and another I can't remember), plus the Dillo browser, which in all fairness ran great in NetBSD, too — did work.

Now that I'm running not the box's original, jet-plane-noisy 2 GB Seagate hard drive but a super-cheap-on-eBay 35 GB Hitachi SCSI drive that's pleasantly quiet, maybe the installation of an OpenBSD port of a "modern" Web browser will work. Maybe not. I'll also try to roll Abiword onto the box, as well as Geany (for comparison's sake, if anything else).

And there's always Solaris.

I know there are Solaris-compatible packages for just about everything, so if I can't manage to get Seamonkey or Firefox installed from OpenBSD's ports with the extra disk space, my next move will be installing Solaris 9 (I got an unopened box of the software for $1 — yep, that little, plus shipping — on eBay) and see how that OS runs on the box.

One thing: Sound on the 32-bit Sparc platform doesn't work in OpenBSD. It does in NetBSD. Of course it does in Solaris, since Sun's OS was written with the Sparc in mind.

It may be that Solaris is the best OS for desktop use on the Sparc 20. Probably the best thing to do is get a CPU module faster then the current 50 MHz processor I'm now running, and also upping the memory to the max of 512 MB (right now I have the 128 MB the box had when I got it).

But make no mistake, for sheer out-of-the-box configuration on a Sparcstation 20 (sound nothwithstanding), OpenBSD is way ahead of NetBSD.

My next line of attack is trying a few (or more) OpenBSD ports. Even if this experiment goes well, I'll have to roll Solaris 9 onto the Sparc 20 before I decide on any long-term OS for the box.

Before I finish this entry, it's worth pointing out that Debian Etch for Sparc boots but won't install. It hangs when trying to load the CD driver. I don't know if the Sparc port of Debian is broken for EVERY 32-bit Sparc model, but it sure doesn't work for the Sparcstation 20.


Image above right: This isn't my Sparc; it's a Sparcstation 5 from http://www.computermuseum.org.uk. They look exactly alike (and in many ways are).

All roads lead to Ubuntu

| | Comments (3) |

Here's the deal. I've been using one of my two nearly identical Toshiba 1100-S101 laptops for a growing share of my day-to-day work, and not just at home.

The degradation of my Windows XP-running Dell box over the course of the day (OK, it's not that great in the morning after a fresh boot, either) has driven me to use my older, slower laptops, which under non-Windows OSes actually do things better and faster.

I basically resurrected both Toshibas from death in the form of recycling, which is what would have happened to them had I not pulled them from the haul-me-away pile. Both had XP installed. Until this point, I didn't have any personal machines running XP, and if you don't count the Windows 2000-running Pentium II box I rarely turn on, these are really my only Windows-running PCs I use besides my main work box — the one that barely works.

Think of that last paragraph as somewhat of an explanation for why I'm dual-booting both laptops, the first into OpenBSD 4.4 and the second, as of this afternoon, into Ubuntu 8.04 LTS. I really have little use for Windows, but in the course of whatever it is that I do in these blog entries and my print column, I just might need a Windows machine. Or not. Since I can't reinstall Windows XP whenever I wish due to not having an install CD, I'm leaving those now-shrunken NTFS partitions intact until I decide a) I really need the disk space or b) figure out how to get the hard drives out of the Toshibas and put them aside in the unlikely event that I absolutely need to run XP some time in the far future.

CentOS developer Dag Wieers chooses a Lenovo Thinkpad

| | Comments (0) |

I'm very interested in Dag Wieers' recent post on why he chose a Lenovo Thinkpad X200s as his new laptop.

Using what developers use is always a good idea. Chances are that more things will work at the beginning, and then it will only get better as those developers start fixing what's broken.

Among the interesting features on the X200s:

  • 80 GB solid-state hard drive
  • Small and light, yet with full-size keyboard
  • Complete hardware-maintenance manual available (VERY important, since laptops tend to break)
  • Trackpoint instead of touchpad (I really like the trackpoint on my Compaq Armada 7700dmt; both the functionality and the saving of space with no touchpad) Wi-fi, Bluetooth, fingerprint reader, media-card reader (it would be great if this all worked under Linux)

Small PCs come cheaper at PC Engines ... but you won't get a lot of RAM

| | Comments (4) |

alix1b.jpg

Above: The Alix1b board. Prices are low for both the board and the cases, the power supply is on board (plug in a brick and you're in business ...), but don't think about asking for more than 256 MB of RAM.


Focusing on the embedded market (and seemingly well-liked by users of both Linux and the various BSDs) are the boards from the Zurich, Switzerland-based PC Engines.

The company has some extremely compelling and relatively inexpensive offerings ... if you're willing or able to run your application(s) in 256 MB of RAM.

The Alix1d features a 433 or 500 MHz AMD Geode LX CPU, 128 or 256 MB SDRAM on board, CompactFlash socket, 44 -pin IDE header (fits a 2.5-inch laptop drive), 12V DC, DC-DC converter on board, 1 10/100 Ethernet port, 2 COM, 4 USB, 1 LPT, audio, with VGA support in a 6.7" x 6.7" miniITX-size board with an Award BIOS.

Prices for these kinds of things are generally too high, but a look at the PC Engines pricing page shows the Alix1d selling for $132 with an enclosure for an extra $10 and AC adapter for $5.25.

This looks like a much-cheaper alternative to the likes of Soekris, and I can see assembling a very nice box (for embedded applications at least) to run under either Linux or any of the BSDs for way less than $200.

The only potential stopper for me (aside from the memory issue) is potential shipping charges from Europe. There are distributors of the PC Engines products located around the world, including the U.S., but I'll have to look more closely at both the prices and how to properly configure the OSes to deal with CF cards (or how to mount a 2.5-inch spinning hard drive).

(I should probably keep quiet about this, get a few more CF cards and just run the silent PC I already have, The Self-Reliant Thin Client.)

On second thought: I looked at the 20-page manual, which I've linked to below, and it looks mighty hard to get an OS on these things. Since there's no mention of it, I'm guessing there's no provision for booting from USB and that you have to use the 44-pin IDE header and somehow get it connected to a 40-pin CD drive, with drive power coming ... let's just say my head's starting to hurt. But these boards sure are cheap.

I'm retreating to the friendly confines of Logic Supply, in my opinion the best mini-ITX provider around.

But if you really know what you're doing, know how to generate boot images on CF cards and are thinking of buying lots of boards for some embedded use, PC Engines' products can seemingly save a whole lot of cash.

Related:

  • Alix manual (PDF)


    The box1C for the Alix1d:

    box1c1.jpg

    Note how this Alix board (in the box1C case) has what looks like a Wi-Fi card in the mini-PCI slot and a CF card in the provided slot:

    box1c3.jpg

  • Power Mac G4/466 a pretty good Linux platform

    | | Comments (6) |

    I haven't booted the Power Mac G4/466 running Debian Etch in a while, but I did so today because I'm about to move the box and its massive LaCie electron22blue monitor. So I wanted to power it up, do a software update and get it on the cart.

    This is a nice box on which to run Debian. I've complained at length at how poorly Fedora 9 installed and autoconfigured on this box and how startlingly better Debian Etch did with that same task. Sorry to repeat that, but it bears repeating.

    Since I've set up this box, I've discovered both an original set of PowerPC G4 Macintosh install CDs, which I suspect are OS 9, with a slew of equally original discs for Classic Mac applications, everything from Adobe Pagemaker and Illustrator to MS Office.

    I'm not about to install Mac OS (but at least I'd get Flash support from Adobe, which sees some kind of screwed-up wisdom in supporting the all-but-dead PowerPC OS 9 but not PowerPC Linux, which isn't exactly a front-burner OS but at least is currently supported and would get more use if Flash and a modern version of Java ran on it).

    I suppose I'd consider throwing OS 9 or OS X on this box, but with Debian running great, I just don't see it happening.

    I had trouble when I tried to install OpenBSD on this PowerPC box, but now I think I have a handle on how to get it to boot:

    If I'm not wrong, I can make the disk bootable with:

    # fdisk -u wd0

    On a not-totally-unrelated, our photo-department systems guru Roger Vargo keeps Macintoshes of many vintages and OSes running as well as I've ever seen them, and he's got a handful of Power Mac G4s running OS 9.

    I was surprised recently to see a G4 running OS X 10.4 and doing it very quickly. The last G4 I saw running OS X before this was a total disaster, with any action on the user's part taking many seconds to even begin taking effect.

    But this G4 was as fast as you'd want it to be.

    It did have dual CPUs — maybe 400 MHz each — and at least 1 GB of RAM. Yep, you can stuff those G4's with up to 1.5 GB, I believe. It screams fairly well in OS X. Could you imagine getting near 1 GHz of CPU and 1 GB of RAM on the PowerPC platform in Debian, OpenBSD (and at that level, maybe even in Fedora)?

    And they tend to have DVD-ROM/CD-R drives, plus gigabit Ethernet built it. Apple had gigabit Ethernet in the late '90s? Yep, it seems they did.

    And the ATI video card built into my G4 does a great job with this huge, hefty LaCie monitor. The generic onboard video circuitry in my el-cheapo Maxspeed Maxterm thin client delivers a much fainter image on the same CRT monitor (and didn't do well at all when I hooked it up to an LCD monitor an age ago). But this G4 delivers superb graphics in Debian.

    In other words, if you have a G4 or G5 at your disposal (and Flash isn't important to you or what you do), you might want to go off the reservation and try GNU/Linux or one of the BSD projects on it. (NetBSD, OpenBSD and FreeBSD all maintain PowerPC ports).

    As it is, I can see this G4 being my main home box in our office, should we ever get all the accumulated junk removed enough to return the space to genuine office use. I kind of, sort of need Flash, but it's not a total deal-breaker.

    I can only hope that upgrading the G4 from Etch to Lenny keeps all of the Debian goodness I've been enjoying so much. And there's always that next install of OpenBSD.

    Endnote: Since we're not allowed to keep boxes (computer or otherwise) on the floor at the Daily News' new digs, I've had a desk packed with boxes (computer and otherwise) ever since we moved here. I hate to take the G4 down, but right now the G4 case has served me better as a Post-It bulletin board than as a working computer, and I hope to somehow rectify that with this change of CPU scenery.

    And this: I'd love to try Slackintosh, the Slackware port to PowerPC, on this box.

    Xubuntu and Ubuntu 8.04 LTS — Day 3

    | | Comments (5) |

    Things have gone very smoothly on my third day of using the Xubuntu flavor of Ubuntu 8.04 LTS. While in Xfce (Xubuntu's desktop environment), I haven't had the screen, keyboard and mouse freeze at all.

    Wondering whether all this good fortune was really due to starting with the Xfce window manager instead of GNOME, I logged out, changed my WM to GNOME and logged back in.

    Everything seemed to be going well. But in the mid-afternoon, I had a couple browser windows open and was writing in Gedit when the thing froze up on me. (Had I saved my document in Gedit? Nope.)

    So regular old Ubuntu 8.04 hasn't improved at all. My ability to keep this distro running is somehow due to whatever Xubuntu packages take precedence over those in Ubuntu when logged in with Xfce.

    By the way, the Trackpad utility in Ubuntu doesn't show up in Xubuntu, so I modified the xorg.conf in Ubuntu/Xubuntu to turn off tapping in my Alps touchpad by adding the line setting "MaxTapTime" to 0:

    Section "InputDevice"
    Identifier "Synaptics Touchpad"
    Driver "synaptics"
    Option "SendCoreEvents" "true"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto-dev"
    Option "HorizEdgeScroll" "0"
    # adding next line in attempt to turn off tapping
    Option "MaxTapTime" "0"
    EndSection

    I've always been pretty happy with Xfce. I used it more often than not in Slackware and always in Wolvix. And with all the tools that Ubuntu keeps across all of its companion distros (including Kubuntu and Xubuntu), running Xfce isn't all that different than running GNOME.

    The strengths of Xfce are that the Thunar file manager and Mousepad text editor are lightning fast and quite functional. I'm also OK managing the desktop with the Xfce tools. I discovered that Xorg.conf line to turn off touchpad tapping when I was setting up CentOS 5.2, and I think this is a much better way to deal with the issue than using the Q/G/Ksynaptics package. I believe that in "regular" Ubuntu each user can set up the touchpad according to their individual preferences, but since I don't have any users, potential or real, who like touchpad tapping, turning it off globally in xorg.conf is definitely the way to go.

    Now that I'm sure that Ubuntu with GNOME is still screwing up on this hardware, I'll continue using Xubuntu/Xfce for the next few days to make sure everything continues working.

    And while I'm reluctant to move off of the LTS to Ubuntu 8.10, that does remain an option. While the LTS' 3-year support timeframe is something I'd like to have, with the "regular" Ubuntu release, there's still 18 months of support, which means I could keep the same system for quite awhile nonetheless. The quality of support (i.e. bug fixes and security patches) for Ubuntu is not something I feel qualified to judge, but the 18-month life of non-LTS releases is something I'm very much in favor of.

    Fedora's releases have a 13-month life, and OpenSUSE's are two years, I believe. I think Ubuntu is right where they should be, given that there's also the LTS release with 3 years on the desktop and 5 years on the server. I initially hoped that Ubuntu 8.04 LTS would run well enough that I could ride it out for at least a year, maybe two, without running into problems, and while I've "solved" the problem that has cropped up, not being able to use GNOME isn't exactly the solution I was looking for.

    In conclusion: It would be a strange thing indeed if Xubuntu ended up running better on my Gateway Solo 1450 than the flagship Ubuntu distro. While I've had luck with Xubuntu in the past (I think my favorite version was 7.04), regular Ubuntu always seemed to be more polished and stable than Xubuntu or Kubuntu. Until now.

    Now that I dumped Debian Lenny from this laptop, Ubuntu has got to go, too

    | | Comments (4) |

    I feel like I'm booting children off a train.

    Sure I've had my times when I installed a GNU/Linux distribution, used it for a couple of hours and then pulled it.

    But for the past year or so, I've stuck with Debian, first with Etch and then Lenny since Etch went stable in April 2007. And when Ubuntu rolled out its new LTS distro in April of this year, I installed it and have been using it since. My older Compaq laptop has been running OpenBSD 4.2 for over a year, and I've done two very satisfactory Etch installs in the past month or so.

    But on my main machine, a 2002-era Gateway Solo 1450 laptop, there's been trouble in GNU/Linux paradise.

    After fighting with Debian Lenny for months over the Gateway's screen-refresh problems (which basically render much of that screen unreadable after a half-hour or so of use), I finally decided that I couldn't stick with the Testing branch of my favorite Linux distro on its road to becoming Stable. While many other problems cropped up and were mowed down either by me or the Debian Project itself, this last issue just wouldn't go away. And since I see not even one other person with this same problem, I fear the issue will never be resolved. I don't even know which package to file a bug against.

    Remember when I thought I fixed my random-screen-freeze problem on this same laptop in Ubuntu 8.04 LTS? I thought that turning off automatic suspend in GNOME fixed the problem.

    That didn't work. I still have random freezes. And I can't really blame it on the power plug because I've been in conditions where that plug does not move, and moreover these freezes never happened in Debian (when my screen image was not totally disintegrating, that is).

    I was trying to get some pre-election work done on http://www.dailynews.com, and when I found that I didn't have the Java runtime installed (and needed it), I moved over to Ubuntu 8.04. In a half-hour, I had three unrecoverable crashes.

    Again, I haven't heard of this happening to anybody but me.

    I have TWO surplus laptops waiting in the wings. I'll see if any of them perform as well as or better than this Gateway. But whatever happens with those two machines, the Gateway will remain in service.

    Once I decided to let go of Debian Lenny, I thought I would try Fedora 9, but when the live CD wouldn't let me install it, I turned to CentOS 5.2 — the free version of Red Hat Enterprise Linux — instead.

    I first booted the live CD, then used the live CD to do a network install (NOT from the live environment but as a boot option). Once I determined that an http install wouldn't work but an ftp install would, I was off and running.

    I've been testing CentOS 5.2 for about a week now. I've been slowly solving problems (adding things like Pidgin and Flash), and at this point I can say that CentOS 5.2 boots quickly, seems as snappy on this hardware as Ubuntu or Debian and runs extremely well.

    I have yet to see a bug, and it has never crashed.

    I have a full review and how-to for CentOS 5.2 in the works.

    I hadn't anticipated replacing Ubuntu 8.04 LTS. I've had trouble with Ubuntu on this laptop since 7.04, and I've gone back and forth with it. Until I pulled it last week, I always had either Debian Etch or Lenny running on it. I've run Puppy 3.01 from live CD and the Slackware-based Wolvix Hunter — both with few problems.

    The 2.6.18 kernel in CentOS 5 has always run better than any other on the Gateway. Other distros that share this kernel (albeit in slightly different versions) include PCLinuxOS 2007 and Debian Lenny.

    And with support for RHEL/CentOS 5 slated to last a very, very long time, the fact that it runs so exceedingly well on this hardware gives me a true long-term solution.

    I suspect that if I rolled the older Ubuntu 6.06 LTS — which has a little over seven months of support left before it EOLs — onto this laptop, it would run flawlessly. But it's packages are even older than Debian Etch's ...

    As it stands right now, I'm going to stick with CentOS 5.2, and as much as I don't want to do it, I need to drop Ubuntu 8.04. I love Ubuntu — its philosophy and package mix, if not its brown color scheme. But I can't deal with the random freezes (after which ctrl-alt-backspace and ctrl-alt-delete are useless and only a hard reboot will work).

    Aside from the screen-refresh problem, Debian Lenny was doing great. It improves on Etch in many, many ways.

    I could see myself returning to Etch, which will have a full year of support as Debian's Old Stable distribution once Lenny is declared stable.

    Whether I continue using this laptop or not, it has to run my daughter's educational games (GCompris, TuxPaint and Childsplay), and it has to be as stable as possible.

    With Etch on the Gateway, I had trouble with the Alps touchpad, but since those problems were so easily solved in CentOS 5.2, perhaps I've learned enough to figure them out in Etch, where in addition to the touchpad-tapping issue the speed differences between the touchpad and a plugged-in USB mouse were more than a little incovenient.

    I remember PCLinuxOS running as well as anything during the week or so I used it. I wonder how much support is left for the 2007 edition of that distro. The hype over PCLinuxOS has really slowed down over the past year, but I still think it's a very solid distro (based on Mandriva but with Debian-style apt and Synaptic package tools).

    I've had trouble with X in Slackware on this platform, never seeming to get xorg.conf right, although Slack-based Wolvix runs perfectly for some reason. Slackware-based ZenWalk has all the packages I need and during the brief times I've run it has show itself to be extremely fast.

    And since I'm running with separate /home partitions for both distros on this PC, switching those distros in and out should be less traumatic than in the past.

    Even though I've taken great pains, after the fact (when it's harder to reconcile), to keep my user accounts' UID and GID numbers in Debian- and Red Hat- based distros compatible, I will probably dual-boot Fedora and CentOS for a while just to see how they match up on this hardware.

    Depending on how things go with CentOS 5.2, I could eventually simplify things and do the unthinkable: not dual-boot anything.

    CentOS seems terribly boring. But ever since Red Hat rolled a bunch of newer apps into its RHEL 5.2 (the base for CentOS), including Firefox 3 and OpenOffice 2.3, I've seen it as a very real alternative for the desktop.

    And I neither expected it to run so well or for Debian and Ubuntu to run so comparatively poorly on this specific hunk of hardware.

    If I had 10 test machines and Debian or Ubuntu ran flawlessly on them, I would be telling a different story, but from the perspective of this 6-year-old Gateway, RHEL/CentOS is pulling way out in front.

    My next project: Goodbye Debian, hello ... Fedora or OpenSUSE?

    | | Comments (3) |

    Here's the deal: I've been fighting with Debian Lenny for months on The $0 Laptop (Gateway Solo 1450), where I have everything running great except for my persistent problem with screen refresh in X. I've replaced the Intel i810 driver with the plain Intel driver, I've tweaked everything that can be tweaked in xorg.conf.

    I can't really get work done while my display is slowly disintegrating during the course of a computing session.

    I'm already running Ubuntu 8.04 LTS as the main distro on this system, and I've been thinking about what to do for the second distro. I'd go back to Debian Etch, but I had problems with the speed of the USB-connected mouse vs. the Alps touchpad, plus problems controlling the touchpad on its own.

    In Lenny, the problems I've dealt with (and mostly solved) over the past six or more months have included suddenly disappearing sound (fixed with manually installed ESS Allegro modules), and an Epiphany browser that would always start in offline mode (fixed with a modification to Gconf2, if I have the name of the app right).

    Nothing major — and nothing that couldn't be fixed with some help from either the bug reports themselves or other helpful people on the Web.

    But this screen-refresh problem persists. I keep hoping that a routine software upgrade will take care of it, but that hasn't happened in countless xorg, driver and kernel updates. I don't think it's going to happen, either.

    If you're running something that's very popular that catches the attention of developers (like the Asus Eee PC), chances are good that issues will be resolved. But I can't imagine any developers anywhere are paying any attention whatsoever to my 2002-era Gateway laptop. I'm no C hacker, so there's nothing much I can do, either.

    I love Debian. I'm running two newish Etch installs right now (one PowerPC, one i386), and I could very well add a third with my $15 Laptop (Compaq Armada 7770dmt), or even more to a couple of testing desktops I have waiting in the wings. Whenever Lenny goes Stable, Etch will have another year's worth of patches as Old Stable before it reaches its end of life.

    Etch has been great, and Lenny has made dozens of improvements. But this one regression has made it very hard to keep my favorite distro on my main laptop.

    So I have been thinking for months about what to do, all the while hoping that I could fix the X problem in Lenny.

    First of all, I need to rewire the power supply plug. I think that is what is responsible for my intermittent freezes in Ubuntu (which don't seem to happen in Lenny, for reasons unknown). When I have the laptop on a desk, it never freezes, but when it's on my actual lap, as it was when I was trying to work on last-minute election programming yesterday morning, those freezes can really throw me off. I moved over to Debian, but I needed the Java runtime, didn't have it installed and didn't have the time to do that.

    And then there's the video issue.

    So I've been thinking, what should I install in place of Debian Lenny? I'm a big fan of long-term support releases, especially for older hardware, so I strongly considered CentOS 5, a clone of Red Hat Enterprise Linux 5. But the relative lack of consumer-oriented software had me worried. I could add the Dag Wieers repositories to deal with that issue, but even that repository doesn't cover everything I need.

    Mandriva is also on the table, as is one of my favorite distros, Wolvix. The Slackware 11-based Wolvix is due for a new version soon. While its package mix addresses most of my issues, there are a few things that I can't easily find for it. And I worry in Wolvix's case (as well as Slackware's in general) about how long the kernel goes without getting patched.

    I almost never see new kernels for older Slackware releases. I don't know if that's because they are unnecessary, but with patched kernels rolling into Debian and Ubuntu fairly regularly, I wonder why Slackware does things differently.

    I'd run "regular" Slackware, but I had quite a bit of trouble getting X configured, and I'd rather use GNOME than KDE. I know there are GNOME projects for Slackware, but what I'm trying to do is install something that works well, comes together easily and has lots of available packages.

    Given all the Mandriva fans on LXer, I considered it. I've used the Mandriva-derived PCLinuxOS and thought highly of it — and I may in fact go that way. The 2.6.18 kernel in PCLinuxOS 2007 (Debian Etch is also built on that kernel) is perhaps the best ever for the Gateway in that it controls the CPU fan with no intervention. The intervention needed in other kernels is slight (a single line in /etc/rc.local usually does it), but it's nice to have it done automatically.

    Again, I'm not a huge fan of KDE, and I find that distros that are either KDE- or GNOME-centric tend to treat the other desktop environment as something of a second-class citizen.

    I've had Fedora in the back of my mind for a while. Seeing all the packages available is very encouraging. And the Fedora community looks like a very good resource in terms of getting things working. I imagine that quite a bit of RHEL information would apply to Fedora as well, giving the distro an even deeper bench.

    I'm not crazy about the length of support for a given Fedora release, which looks to be 12 to 13 months. I'd feel better with the 18 months that Ubuntu's non-LTS releases get, or even a full 2 years. Compromising on length of support is something I'm willing to do at this time for something that potentially gives me all the packages I want and that runs well besides.

    As far as the availability of packages goes, Fedora acquits itself well. I have run it from the live CD before, and it seemed to do well on the Gateway.

    In a slightly related matter, my install of Fedora 9 on my Power Mac G4/466 didn't go so well. The X configuration was horrible, and the distro ran much slower than Debian Etch on the same hardware. And Debian did a perfect X configuration for the internal graphics card and huge LaCie electron22blue monitor. Sure I could've used the information from the xorg.conf in Debian to properly modify the same config file in Fedora, but with such a performance hit, it didn't seem worth it.

    Since the 1.3 GHz CPU and 1 GB of RAM in the Gateway offers much more power than the 466 MHz and 384 MB in the G4, Fedora seems to run fine on the faster machine.

    And now that I have the Ubuntu LTS as my main distro (and hopefully a trouble-free one once I replace that shaky power plug), it's time to try something else.

    First I need to keep copies of the xorg.conf, my CPU-fan script and rc.local from Debian Lenny in case I do a reinstall. Then I need to back up the /home files and consider adding a separate /home partition for the secondary distro (Ubuntu already has a separate /home partition).

    Again, I'm not happy about the 13-month life cycle of any given Fedora release, and I really don't need a cutting-edge kernel for my not-cutting-edge hardware (unless, of course, it makes a cheap wireless adapter work), but with /home on its own partition, and Fedora installing GRUB on the root partition instead of the master boot record, with the GRUB on the MBR chainloading to the Fedora partition, it shouldn't be hard to roll Fedora out and something else in.

    I could change my mind ... or not.

    Update: OpenSUSE offers about two years of support per release, and that is enough to get me interested.

    I'm downloading new OpenSUSE 11 and Fedora 9 ISOs now, and I'll burn them in the morning.


    What I'm running right now

    | | Comments (3) |

    As of today, here are all the machines I use and what they run:

    At the office:

    Work box:
    Dell Optiplex GX520
    Pentium 4 (3 GHz)
    512 MB RAM
    Windows XP SP2

    The Debian Mac:
    Power Macintosh G4
    466MHz single PowerPC processor
    384 MB RAM
    Debian Etch

    The Self-Reliant Thin Client:
    Maxspeed Maxterm 5300(??) thin client
    VIA C3 Samuel (1 GHz, running at 500 MHz for some reason)
    256 MB RAM
    8 GB Transcend Compact Flash module as boot drive
    1 GB USB flash drive for backup
    Debian Etch

    At home:

    iBook G4
    1 GHz CPU
    384 MB RAM
    120 GB Fujitsu hard drive (replaced by me in a 3-hour odyssey)
    OS X 10.3

    This Old PC:
    Pentium II MMX (333 MHz)
    256 MB RAM
    10 GB hard drive
    Windows 2000 (I haven't booted this or connected it to the Internet in over a year)

    The $0 Laptop:
    Gateway Solo 1450
    Mobile Celeron (1.3 GHz)
    1 GB RAM
    30 GB Toshiba hard drive
    Ubuntu 8.04 LTS, Debian Lenny, Puppy 3.01

    The $15 Laptop:
    Compaq Armada 7770dmt
    Pentium II MMX (233 MHz)
    144 MB RAM
    3 GB IBM hard drive
    OpenBSD 4.2

    I have quite a few machines in various states of repair that I might resurrect over the next year if and when I get the time, but this is what I have right now. With the exception of the white-box This Old PC, all of these get fairly regular use.

    I think I've fixed my Ubuntu 8.04 screen/keyboard/mouse-freeze issue ... but should I upgrade to 8.10?

    | | Comments (0) |

    Every time I write about Ubuntu 8.04 LTS, which I've been running on my Gateway Solo 1450 laptop since its release in April, I mention that it's the only GNU/Linux distribution I've used that successfully suspends and resume the computer.

    And I've made that feature — suspend and resume — the bar over which other distros must jump to "beat" 8.04 on this platform.

    Make no mistake, I've "enjoyed" a working suspend/resume capability. But I haven't enjoyed returning to the laptop after a while to find the screen looking normal but the keyboard and mouse completely dead. CTRL-ALT-backspace won't kill X. CTRL-ALT-delete won't reboot the machine. I need to do a hard boot with the power button to get things working again.

    I've had X issues in many distros, most severely with Debian Lenny, my preferred distro for this PC, which has serious problems with refreshing the screen, leaving the upper panel in GNOME and many graphical elements of various applications virtually unrecognizable after about a half-hour of use.

    I appeared to have a similar X issue in Slackware 12, which I installed only briefly (and too briefly to make a determination, especially since I never got a "perfect" X configuration), but other systems, including CentOS 5, Fedora 9, and Puppy 3.00 had none of these issues.

    Nor did Ubuntu 8.04, which automatically wrote an xorg.conf that was much different — being way more spares — than any other I'd seen before. But X performs flawlessly.

    Even though suspend/resume works in Ubuntu, I'm now about 80 percent sure my intermittent keyboard/mouse freezesare caused by whatever daemon is responsible for automatically checking whether or not to suspend the system.

    I pretty much arrived at this point through the process of elimination with the addition of a little bit of logic. Since no other distro appeared to be freezing like this, and since I only have automatic suspend/resume set on Ubuntu, that seemed to be the most likely cause.

    So I went into the GNOME Power Manager utility and turned off the "put the computer to sleep after XX minutes" feature.

    Since then, I've had no freezing whatsoever in Ubuntu 8.04. A month from now, I'll be sure.

    Unfortunately, I haven't been able to figure out the problem with screen refresh in Debian Lenny. I'm considering wiping it from the laptop and trying another secondary distro, maybe CentOS or Fedora. Even Sidux — a more "tame" version Debian Sid — is something to try just to see if I continue to have the screen issues.

    Or I could just stick with Ubuntu 8.04. I'm not thinking about upgrading to 8.10, which not coincidentally is available for download today.

    Click that last link to see the major new features in Ubuntu 8.10. I'm very unlikely to need 3G wireless, but if I find that 8.10 supports my Airlink 101 AWLL 3028 USB wireless adapter, I would strongly consider doing the upgrade.

    I'm sure all of the Ubuntu mirrors are straining mightily with everybody trying to download the whole 8.10 image or upgrading their current installations. I'll be waiting at least a couple of weeks before I try to download the ISO and burn a live CD. If that loads and then the wireless works out of the box (I won't be holding my breath), I'll go forward.

    Otherwise, I'll stick with 8.04 LTS — the long-term-support edition of Ubuntu that will be supported until 2011 on the desktop.

    But with suspend/resume off the table, Ubuntu has lost its edge over every other GNU/Linux distribution (and even FreeBSD/PC-BSD) on this laptop.

    I've been sticking with my installs much longer than usual — I'm still using a now-year-old installation of OpenBSD 4.2 on my $15 Laptop (and OpenBSD 4.4 will be released on Nov. 1).

    See tomorrow's post for a breakdown on what I'm running on every machine.

    Tech Talk column

    Steven Rosenberg's weekly Tech Talk column, which appears Saturdays in the Los Angeles Daily News, is now available on the Daily News Technology page.

    About this blog

    Comments are back: Comments have returned to Click, but due to the thousands of spam comments clogging up the system each day, commenters must now log in. To comment, either create a Movable Type account when prompted, or create and use a Typekey account. Movable Type, as configured on this blog, allows commenters to create a Movable Type account, verify it via e-mail and then sign in to comment. Other methods of verification are OpenID, Live Journal and Vox.




    Steven Rosenberg aims to learn what he does not know. He writes about it here.



    About this Archive

    This page is a archive of recent entries in the Linux category.

    Internet widgets is the previous category.

    Microsoft is the next category.

    Find recent content on the main index or look in the archives to find all content.

    Recent Comments

    Steven Rosenberg on Debian Lenny, the Ted RTF word processor, and the fate of the $15 Laptop: In Debian Etch, Ted was broken on every platform on which I tried it. ...

    RegisteredUse on Debian Lenny, the Ted RTF word processor, and the fate of the $15 Laptop: Perhaps the Ted is not functioning on some of your systems because the ...

    Steven Rosenberg on Coming home to Puppy Linux: Puppy's package management is indeed not based on RPM. Puppy uses its ...

    cmccullough.myopenid.com on Coming home to Puppy Linux: Puppy Linux is NOT rpm based. Where did you read/hear this? ...

    https://me.yahoo.com/a/.Dy0LZY429vjhl7nOLZyZ_1SxY6r#c4f26 on Coming home to Puppy Linux: but it's rpm based. I can't for the life of me understand why anyone ...

    Steven Rosenberg on Debian Lenny (and fully working X in Linux) — I'm back: I should probably look into Arch. I hear about a lot of people using i ...

    Article22 on Debian Lenny (and fully working X in Linux) — I'm back: Always nice to find out why things weren't working in the end. Intere ...

    Dan Kegel on Ubuntu 8.04 rant: Getting MP3s to play is too fundamental to be left up to geekery: 8.04 is getting pretty old. Can you reproduce this problem with Ubunt ...

    ric storms on Ubuntu 8.04 rant: Getting MP3s to play is too fundamental to be left up to geekery: Yeah, if Ubuntu ever wants to find a popular audience, it needs to be ...

    mreyer on Ubuntu 8.04 rant: Getting MP3s to play is too fundamental to be left up to geekery: Couldn't agree more. Yes there is Mint based on Ubuntu, which only pr ...

    Powered by Movable Type 4.25

    LXer

    Links

    Daily News technology
    LXer
    Distrowatch
    Linus' Blog
    David Pogue's tech blog
    BoingBoing
    Linux Today
    TuxRadar
    Linux.com
    Linux Planet
    The Open Road
    Adventures in Open Source
    The VAR Guy
    Larry the Free Software Guy
    Chess Griffin
    Linux Reality podcast
    Desktop Linux
    Practical Technology
    Linux Devices
    ZDNet
    ZDNet U.K.
    iTWire
    CNet News
    TechCrunch
    The Register
    Ars Technica Journals
    Reg Developer
    Computerworld
    Computerworld blogs
    Steven J. Vaughan-Nichols at Computerworld
    Debian
    Planet Debian
    Debian Forums
    debianHELP
    debiantutorials.org
    The Debian User
    Wolfgang Lonien
    Debian-News.net
    Debian Administration
    Debian Admin
    Debian Weather
    Ubuntu
    Xubuntu
    Kubuntu
    Edubuntu
    Gobuntu
    Planet Ubuntu
    Ubuntu Forums
    Ubuntu Geek
    Works With U
    OpenBSD
    OpenBSD Journal
    OpenBSD Ports
    OpenBSD 101
    Planet.OpenBSD.nu
    jggimi's OpenBSD live CD
    DaemonForums
    BSDanywhere
    Marc Balmer
    Denny's OpenBSD blog
    Polarwave's OpenBSD Tips and Tricks for Newbies
    Binary Updates for OpenBSD
    Puppy Linux
    Damn Small Linux
    PCLinuxOS
    Mandriva
    Red Hat
    Red Hat News
    Red Hat Blogs
    Red Hat: Truth Happens
    Red Hat Magazine
    CentOS
    Planet CentOS
    Fedora
    Slackware
    Slackbuilds
    Robby's Slackware Packages
    Slackblogs
    dropline GNOME for Slackware
    GNOME Slackbuild
    GWARE - GNOME for Slackware
    Wolvix
    Zenwalk Linux
    Vector Linux
    Slax
    Splack Linux — Slackware for Sparc
    Nonux
    How to Forge
    marc.info BSD and Linux mailing list archive
    FreeBSD
    FreeBSD, the Unknown Giant
    A Year in the Life of a BSD Guru
    NetBSD
    PC-BSD
    DesktopBSD
    Damn Small BSD
    BSD Talk podcast
    OpenSolaris
    MilaX
    BeleniX
    DeLi Linux
    Linux Loop
    Electronista
    Engadget
    Gizmodo

    Advertisement

    Categories