Posts

Showing posts from June, 2006

Fedora Core 5, Part 2

The title of this might seem a little strange as there has not been a "part one" yet, however I feel that I'd like to share this first nonetheless. Part 1 is going to be a little more exhaustive on several aspects of my searching for an alternative to Windows XP as a desktop system.This one might also be called "DVD playback on Fedora Core 5".One of the more disappointing aspects of my new Fedora Core 5 install is the apparent lack for multimedia support. Sure, there is the default totem player, but I got the impression that it tried hard to avoid playing back anything I would have liked to see or hear.Especially DVDs were a concern for me. I have bought lots of movies and TV series over the years and I surely like to watch them once in a while, if it even is only a background windows playing Star Wars (to be honest, as often as I have seen those, I would not need the picture anymore anyway ;-).I was close to revert back to Windows when I could not find any pre…

MySQL Replication: Error 1053

When setting up MySQL replication there are some things to remember. Although the setup is quite easy if you thoroughly read the documentation on MySQL's developer site you might still hit some issues.We have quite a large scale replication setup (MySQL 4.1.12) with several hundred slaves. Today we saw a very strange situation: All of the slaves stopped replicating and claimed that a statement had been partially executed on the master side. The exact message was Query partially completed on the master (error on master: 1053) and was aborted. There is a chance that your master is inconsistent at this point. If you are sure that your master is ok, run this query manually on the slave and then restart the slave with SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1; START SLAVE; The error code 1053 which means as much as "server shutdown".We checked the master and could not find anything unusual. The server had not been shut down at all and nothing seemed wrong with the master replicatio…

XP activation hassles

As I wrote in my previous post I just bought a new notebook computer that came with a preinstalled Windows XP Home Edition. After I had reinstalled it, XP Home's activation would fail with a message about an invalid product key.Already suspecting something nasty going on, I searched the net for a while and found, that in April 2005 Microsoft published a Technet article titled Preserving OEM Pre-Activation when Re-installing Windows XP. From what it says Microsoft disabled the internet activation for all OEM products to prevent system builders from pre-activating their machines and selling the product keys separately.I was trying to activate at 0100h in the morning, and of course nobody was available at Microsoft. I thought that was ok, because you have 30 days to activate, but when I went to windowsupdate.com it told me that I had to activate first, because otherwise it could not run the Genuine Advantage check! Now that's to my liking! As a paying customer you have to wait ti…

XP ISO Builder

I recently bought a new Notebook for my girlfriend. It came pre-installed with Windows XP Home (Toshiba OEM) and included lots of things I did not really care for. Moreover I have reservations against any installation I have not done myself or really know the person who did. So I went for a clean and fresh install.My enthusiasm was subdued by the fact that they only provide a recovery CD that restores an image including all the stuff I wanted to get rid of. Because I do not have a regular XP Home CD I searched the web to see how other people had handled this problem.Someone in a forum wrote that you could create a Windows install CD from an installed version using several tools. Looking for an easier way I came across a solution provided by the German c't magazine (see here) and the XP ISO Builder. The c't tool allows you to create a CD directory structure and an ISO image from a running Windows in one step. All necessary files are collected from the Windows directory and some…

ext2/ext3 access for Windows

I recently installed Fedora Core 5 to replace the somewhat troublesome FC4 I had before. I downloaded some large files onto the Linux partition that I would need on Windows, too. Unfortunately at the time I did not remember that NTFS write support is still far from stable, so I did not want to risk mounting my Windows data volume other than read-only. That left me with either splitting the file and copying it via USB stick (piece by piece with several reboots) or getting Windows XP to support for the Linux filesystem (ext2/ext3).I just wanted to share this link to Ext2 IFS for Windows which is an installable file system driver for Windows. After a reboot you will be able to read and write partitions formatted with the ext2 filesystem (and the compatible ext3, too). So far I have not had any trouble. Installation is straight, as is its use. It will just let you assign drive letters to your Linux partitions. Very nice work!

Techs writing documentation

I recently read a very good post on Russ Olsen's blog concerning the quality of technical documentation and what people should do to improve their own writing.I liked it very much, there is deep truth in it. It might seem obvious, but once you really think about yourself in the role of a writer you will see many aspects apply to you. There is one aspect however that I would like to add, because I see it a lot where I work (which happens to be in Germany).Write in the language of your readers, if you are able to do so, and only then!We are a German company developing custom software in Java. People have understood that code documentation, Javadoc in this case, is something that can really make your life a lot easier. Unfortunately some people tend to think that each and every source code comment need be in English. This is of course total nonsense, because there is no point in it when all your colleagues are Germans like yourself and it is a closed source application.The result of…

CVS History Size Limit

When I came to work this morning some colleagues complained about the CVS server not working properly. I tried myself and got a Terminated with signal 25 error, no matter what I did. I could neither check out files nor commit modifications or new files.Update: raghukumar.c _@_ tavant.com seems to have got a slightly different message (CVS Terminated with fatal signal 25) which I include here to improve search engine hits.I had a look at the server and could not find anything, neither in the logs nor the usual suspects like exceeded quotas, full partitions or permissions. I suspected some sort of automatic update by RedHat's up2date, but that was not the case, either.It took me a while until the CVSROOT/history file' size in the repository in question caught my eye with a size of precisely 2GB. Searching the net did not give me any hints about a limitation of that file's size, but apparently it is there. I could easily resolve the issue though, because I saw that when setti…