LWN.net Logo

Development

A strategy for dealing with a flaky computer

By Forrest Cook
October 14, 2009

Your author has just made it through some rough times in the world of computer reliability and thought he should share his experiences with the LWN readers. It all started a few months back when his primary desktop machine, a 3+ year old Lini box with a 3 Ghz Athlon 64 processor (reviewed here) started to act up.

The machine had been running without too many problems for most of its life, it had served well as a test platform for a variety of hardware configurations and had run many versions of the Ubuntu distribution with much success. A few months back, the machine was upgraded from Ubuntu 8.10 "Intrepid Ibex" to Ubuntu 9.04 "Jaunty Jackalope". There were a few initial and easily solved issues with a runaway chippcardd4 process, the upgrade appeared to work. Except, the machine became noticeably sluggish and the problem was difficult to locate. The top command did not reveal any load problems, /var/log/messages had nothing interesting to show, nor did the dmesg command. The machine seemed slower, but it worked well enough that your author decided to live with it until Ubuntu 9.10 "Karmic Koala" was released.

After several months of using Jaunty Jackalope, things got really strange. While pounding on Firefox, the most used application, the machine's user interface would become locked up. The mouse still moved on the screen, but all keyboard input was frozen. It was still possible to connect to the machine from a remote host via ssh. Doing so and running top showed that the Xorg process was eating up the CPU. The /var/log/Xorg.0.log file revealed nothing. Luckily, it was possible to reboot the machine and avoid a risky crash and a time consuming 1TB fsck operation. This mode of operation continued for a while and your author really started to appreciate Firefox's ability to recover the previous session. It seemed like an opportune time to make a fresh backup of the machine to a remote host, something your author does every 2 weeks or so. That effort succeeded.

At this point, your author started suspecting flaky hardware. The keyboard seemed like a likely, if unusual culprit, it was swapped with no change. The video card was swapped out for a different model to force a change in the video card driver, still no improvement. It had been over a year since the CPU fan had been cleaned, this time, the fan was removed and "detailed" with a damp toothbrush. The CPU was cleaned and new heat sink grease was applied. The dust was blown off of the motherboard and power supply. The memory and I/O cards were cleaned and reseated. The BIOS was checked for proper power supply voltages. Memtest86 was run and the memory checked ok. Still, the machine flaked out under normal use.

At this point, your author was very glad that he had previously set up an old Athlon 1700 machine as an alternate work platform. That machine was used to perform the weekly LWN email and article processing tasks, it was slow, but slow is better than randomly flaky.

Around this time, the beta release of Ubuntu 9.10 "Karmic Koala" was announced. A copy of the beta iso was downloaded on the reliable machine and a disk was burned (and verified). An older 500 GB SATA disk was swapped into the machine and the new operating system was installed on that disk. The old 1TB SATA disk was installed as the secondary drive and all of the data (/home, your author's 250GB music collection and a few /etc config files) were copied to the 500GB drive. The Karmic Koala beta installation was a success, suddenly the Lini became much faster and it has been used heavily for over a week with no lockups. So far, the only problem with the new system has involved some folder refresh issues and key mapping problems with Claws-Mail 3.7.2. Otherwise, the system has been solid.

Upgrading to a newer distribution version, whether as an emergency measure or as a planned job, is much easier to do if you have one or more spare system disk drives. The extra drive can be thought of as a bootable data cartridge. The secondary backup on the remote machine allowed your author to sleep at night and the functional but slow alternate machine allowed work to continue without much interruption. Finally, the old drive with the flaky system is still intact if further investigation is required, it will soon become the next backup target. Your author has always had a preference for full installs over upgrades. It may be superstitious to blame the Intrepid->Jaunty upgrade as the root of the problem with no real data to prove that theory, but a fresh install will always clean out the cobwebs from the old system.

Comments (19 posted)

System Applications

Database Software

Firebird 1.5.6 released

Version 1.5.6 of the Firebird DBMS has been announced. "The project is pleased to announce that Firebird 1.5.6 release kits are now available for all the supported main-line platforms (Win32, Linux i86 and MacOS-X/Darwin i86 and PPC). No further sub-releases are planned for the V.1.5.x series."

Comments (none posted)

MySQL Server 5.4.3-beta released

Version 5.4.3-beta of MySQL Server has been announced. "MySQL 5.4 is based on MySQL 5.1 but includes several high-impact changes to address scalability and performance issues in MySQL Server. These changes exploit advances in hardware and CPU design and enable better utilization of existing hardware. MySQL 5.4 currently has Beta status."

Full Story (comments: none)

PostgreSQL Weekly News

The October 11, 2009 edition of the PostgreSQL Weekly News is online with the latest PostgreSQL DBMS articles and resources.

Full Story (comments: none)

Device Drivers

libshcodecs 0.9.7 released

Version 0.9.7 of libshcodecs has been announced, it adds Android support. "libshcodecs is a library for controlling SH-Mobile hardware codecs. The [SH-Mobile][0] processor series includes a hardware video processing unit that supports MPEG-4 and H.264 encoding and decoding. libshcodecs is available under the terms of the GNU LGPL."

Full Story (comments: none)

libshveu 1.1.0 released

Version 1.1.0 of libshveu, a driver for the SH-Mobile processor's video engine unit, has been announced. "This is the first public release of libshveu. It contains: * src/libshveu: the libshveu shared library * src/tools: commandline tools".

Full Story (comments: none)

Embedded Systems

BusyBox 1.15.2 released

Version 1.15.2 of BusyBox, a collection of command line utilities for embedded systems, has been announced. "Bug fix release. 1.15.2 has fixes for ash and hush (`trap` handling), dd (fixed handling of I/O errors), find (fix for -follow and symlinks), pidof (corrected recognition of kernel thread names), sed (SEGV), uniq (memory leak), line editing (Ctrl-D works again), build system."

Comments (none posted)

Telecom

Free N900 (KDE.News)

KDE.News has a report from the Maemo Summit, where Nokia handed out 300 N900 phones to developers. "However, it is not the hardware which is most interesting to us - it is the software. The N900 runs Maemo, a Debian Linux based operating system for high-end smart phones. Compared to pretty much all competition, the N900 offers a very open software platform and provides a terminal application by default. Most of the GUI is currently build upon GTK, using Clutter on OpenGL and various other FOSS components in the lower stack. But the upcoming release, Maemo 'Harmattan' 6 will receive a new, Qt based GUI. Qt is already available for the N900 and in the first half of next year we can expect an officially supported Qt 4.6 release for Maemo 'Freemantle' 5."

Comments (26 posted)

Miscellaneous

UIOMux 1.0.0 released

Version 1.0.0 of UIOMux has been announced. "UIOMux is a conflict manager for system resources, including UIO devices. This is the first public release of libuiomux, and targets Renesas SH-Mobile processors."

Full Story (comments: none)

Desktop Applications

Audio Applications

Ardour 2.8.3 released

Version 2.8.3 of Ardour, a multi-track audio workstation, has been announced. "This is primarily a mantainance released, but does include at least 3 major new pieces of functionality. It also includes a suprisingly large number of bug fixes for things varying from clean builds with the latest compiler releases to minor GUI tweaks and the occasional crashing bug."

Comments (none posted)

QjackCtl 0.3.5 released

Version 0.3.5 of QjackCtl, a GUI front-end for the JACK audio connection kit, has been announced. This version adds new capabilities and bug fixes.

Full Story (comments: none)

Timemachine 0.3.3 released

Version 0.3.3 of Timemachine has been announced. "It can now be configure[d] to start recording when the input level rises over some threashold, and stop when it falls below for some specified period of time, making it easier to do hands-free recordings."

Full Story (comments: none)

Desktop Environments

GNOME Software Announcements

The following new GNOME software has been announced this week: You can find more new GNOME software releases at gnomefiles.org.

Comments (none posted)

KDE Software Announcements

The following new KDE software has been announced this week: You can find more new KDE software releases at kde-apps.org.

Comments (none posted)

Xorg Software Announcements

The following new Xorg software has been announced this week: More information can be found on the X.Org Foundation wiki.

Comments (none posted)

Desktop Publishing

rst2pdf version 0.12 released

Version 0.12 of rst2pdf, a tool to generate PDF files directly from restructured text sources via reportlab, has been announced. "This version includes many bugfixes and **MANY** new features compared to the previous 0.11 version, including but not limited to better styling, integration with `sphinx, a very raw, preliminar graphical frontend called bookrest, and a much more powerful tables implementation."

Full Story (comments: none)

Graphics

Synfig 0.62.00 released

Version 0.62.00 of Synfig, a 2D animation and design program, has been announced. "The 0.62.00 version comes with a lot of new features and mayor changes: * Migration to new host. * Synfig code is now at sourceforge in git. * Wiki reworking and new website. *New features ** SVG import module. ** Keyframe widget: ** New toggle buttons in the canvas window ** Onion skin past and future are selectable individually ** New Curve Warp Layer. ** Lots of bugs fixed, and much more...."

Full Story (comments: none)

Interoperability

Wine 1.1.31 announced

Version 1.1.31 of Wine has been announced. Changes include: "- Vastly improved monthcal control. - Performance improvements for DIB sections. - Several sound driver fixes. - Beginning of ActiveX support in JScript. - More Direct3D 10 work. - More 16-bit dlls split off to separate modules. - Support for attachments in MAPI. - Various bug fixes."

Comments (none posted)

Mail Clients

Claws Mail 3.7.3 unleashed

Version 3.7.3 of Claws Mail has been announced, it includes a number of new capabilities and bug fixes.

Full Story (comments: none)

Claws Mail Extra Plugins 3.7.3 unleashed

Version 3.7.3 of Claws Mail Extra Plugins has been announced. "The claws-mail-extra-plugins-3.7.3 package contains 19 plugins, including 1 new plugin: Python!"

Full Story (comments: none)

Multimedia

Oggz 1.1.0 released

Version 1.1.0 of Oggz, a library which provides commands to inspect, edit and validate Ogg files, has been announced. "This release introduces a new API structure for reporting the byte offsets of the start and end pages for each packet."

Full Story (comments: none)

Music Applications

alsa-midi-latency-test 0.0.2 released

Version 0.0.2 of alsa-midi-latency-test has been announced. "alsa-midi-latency-test measures the roundtrip time of a MIDI message in the alsa subsystem of the linux kernel using a high precision timer. It calculates the worst case roundtrip time of all sent MIDI messages and displays a histogram of the rountrip time jitter."

Full Story (comments: none)

Qtractor 0.4.3 released

Version 0.4.3 of Qtractor, an Audio/MIDI multi-track sequencer, has been announced. "One can also think as the last and stable release before a probable next generation do break all loose. Automation and full MIDI control is popping up over the horizon."

Full Story (comments: none)

Sonic Visualiser 1.7 released

Version 1.7 of Sonic Visualiser, an audio analysis package, has been announced. "This release contains a number of new features, enhancements, and bug fixes."

Full Story (comments: none)

Office Applications

Roundup 1.4.10 released

Version 1.4.10 of Roundup, an issue-tracking system with command-line, web and e-mail interfaces, has been announced. "I'm proud to release version 1.4.10 of Roundup which fixes some bugs".

Full Story (comments: none)

SeaMonkey 2.0 Release Candidate 1 released

Version 2.0 Release Candidate 1 of SeaMonkey, an all-in-one internet application suite, has been announced. "We encourage testers to get involved in discussing and reporting problems as well as further improving the product."

Full Story (comments: none)

Office Suites

KOffice 2.1 Beta 3 released (KDEDot)

KDE.News has announced KOffice 2.1 Beta 3. "The KOffice team is happy to announce the third beta of the upcoming KOffice 2.1. This extra beta has been added to ensure the highest quality for the final 2.1 release. The KOffice team has worked overtime and can show a longer list of fixed bugs than ever."

Comments (none posted)

Miscellaneous

SyncEvolution 0.9.1 beta 1 released

Version 0.9.1 beta 1 of SyncEvolution has been announced and version 1.0 development branch of SyncML server is also available. "SyncEvolution synchronizes personal information management (PIM) data like contacts, calenders, tasks, and memos using the SyncML information synchronization standard. Up to and including 0.9.x, a third-party SyncML server is required."

Full Story (comments: none)

Languages and Tools

Caml

Caml Weekly News

The October 13, 2009 edition of the Caml Weekly News is out with new articles about the Caml language.

Full Story (comments: none)

Python

cssutils 0.9.6 final released

Version 0.9.6 of cssutils, a Python package for working with Cascading Style Sheets, has been announced. This is a bug fix release.

Full Story (comments: none)

Distribute 0.6.4 released

Version 0.6.4 of Distribute has been announced. "Distribute is a fork of the Setuptools project. Distribute is intended to replace Setuptools as the standard method for working with Python module distributions, on the top of Distutils. - This release is now compatible with zc.buildout".

Full Story (comments: none)

Docutils 0.6 released

Version 0.6 of Docutils has been announced. "Changes are : * Two new writers for ODT and manpage (so there is no excuse for python software not having a manpage anymore). * Python2.2 is no longer supported. Release 0.6 is compatible with Python versions from 2.3 up to 2.6 and convertible to 3.1 code..."

Full Story (comments: none)

gevent 0.11.0 released

Version 0.11.0 of gevent has been announced, it includes bug fixes. "gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of libevent event loop."

Full Story (comments: none)

Testoob 1.15 released

Version 1.15 of Testoob, a Python test suite, has been announced. "Version 1.15 (Oct. 2009) adds better Python 2.6, IronPython, and Jython support, as well as test coverage improvements, better color support, and some new options and bugfixes."

Full Story (comments: none)

Debuggers

GDB 7.0 released

Version 7.0 of the GDB debugger - the first major release since 2003 - has been announced. Some of the major additions include support for scripting the debugger in Python, reverse debugging (which records the state of the program and can step backward through its execution history), non-stop debugging (whereby a single thread in a multi-threaded program can be stopped while the others continue to run), better support for inline functions, and more.

Full Story (comments: 33)

Version Control

GIT 1.6.5 released

Version 1.6.5 of the GIT distributed version control system has been announced. "This cycle took a bit longer than I hoped, but here it is. We already have some new features cooking in 'next', and I expect we may be able to have 1.6.6 by the end of the year."

Full Story (comments: none)

Page editor: Forrest Cook
Next page: Announcements>>

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds