January 26th, 2005
As usual I’m busy working on grml. ;-) udev is already part of the current grml-devel-iso. I was interested in the xorg xserver because according to many people it should be faster than the xfree86 xserver. xorg-packages for debian should be available as soon as sarge is released *harhar* so I decided to take the debian packages of ubuntu and give it a try.
If you are using a grml-system the following steps should work for you (it might work on pure debian systems as well but I haven’t tried yet):
# add the following line to /etc/apt/sources.list:
deb http://archive.ubuntu.com/ubuntu/ hoary main restricted universe multiverse
# edit /etc/apt/apt.conf:
APT::Default-Release "Hoary";
# now install the packages:
apt-get update && apt-get install xserver-xorg xorg-common
mv /etc/X11/XF86Config-4 /etc/X11/xorg.conf
rm /etc/X11/X
ln -s /usr/X11R6/bin/Xorg /etc/X11/X
Then uncomment the APT::Default-Release-line in /etc/apt/apt.conf, run apt-get update again and now ‘grml-x wmi’ should work:
grml@grml ~ % xdpyinfo | head -4
name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 60801099
grml@grml ~ %
The xorg xserver is veeeery fast on my box (much faster than xfree86) and now I’m thinking of integrating xorg-xserver into grml.
Update: If you get the error:
E: Dynamic MMap ran out of room
E: Error occured while processing wmkbd (NewVersion1)
[...]
while running apt-get update just increase the cache-limit in /etc/apt/apt.conf (‘APT::Cache-Limit 100000000;’). Yes, that’s FAQ. ;-)
Posted in Computer | Comments Off on Using xorg xserver on a grml box (Update)
January 26th, 2005
Google has fully integrated the past 20 years of Usenet archives into Google Groups, which now offers access to more than 800 million messages dating back to 1981. This is by far the most complete collection of Usenet articles ever assembled and a fascinating first-hand historical account.
[…]
Enjoy your trip back to the golden age of Usenet.
— www.google.com/googlegroups/archive_announce_20.htm
Posted in Computer, Links | Comments Off on 20 Year Usenet Timeline
January 21st, 2005
My grml talk has been accepted for Chemnitzer Linux Tage 2005. Now I’ve to check out how to drive to Chemnitz. ;-)
According to the (yet unofficial) program I’ll meet maaaany people who I can meet only on such events. ;-) I’ll even meet one of the grml developers for the first time in real life (hello Nico! ). ;-) Jimmy and Daniel will be also in Chemnitz. Greaaaaat! :-)
Update: the program is available online.
Posted in Computer, Events | 1 Comment »
January 17th, 2005
QEMU is an emulator for various CPUs. It works on Linux, Windows, FreeBSD and Mac OS X.
Inspired by user feedback I tried to run grml via QEMU on a windows box today. Worked like a charme, except that running it via emulation is much slower than running it in native mode. ;-)
Posted in Computer | Comments Off on Running grml with QEMU
January 16th, 2005
Free Software Magazine is a free magazine for the free software world, available on paper and in electronic format.
(pointer by Emanuele Rocca)
Posted in Bücher & CO, Computer, Links | Comments Off on Free Software Magazine
January 12th, 2005
I just found out that “Linux Treiber entwickeln – Eine systematische Einführung in Gerätetreiber für den Kernel 2.6” by Jürgen Quade and Eva-Katharina Kunst (ISBN://3-89864-238-0) is available online. You might know parts of it from the german version of Linux Magazin. Have fun and enjoy reading it! :-)
Posted in Bücher & CO, Links | 2 Comments »
January 12th, 2005
Kriminalität: Prokop will Sicherheitsprogramm
— Headline at orf.at (article) [english: crime: Prokop wants a security tool^Wprogram]
Hey, I just released grml! 8-)
(pointer by Martin)
Posted in Allgemein | 1 Comment »
January 10th, 2005
grml 0.2 – Codename Satura is available. The new release brings 455 new packages and many new features like an updated hardware detection, new bootparameters and a kernel 2.6.9 including several patches.
For details take a look at the release announcement and the grml website.
Posted in Computer | 1 Comment »
January 6th, 2005
$ apt-get install libstdc++2.10-glibc2.2
Reading Package Lists... Error!
E: Unable to parse package file /var/lib/dpkg/status (1)
E: The package lists or status file could not be parsed or opened.
WTF? I did nothing since last time I used apt-get. Oh, not true. I updated grml-scripts and grml-etc. Let’s take a look at /var/lib/dpkg/status. Ah, 567 files marked as configfiles in grml-etc. Let’s remove some lines for fun, :wq and run apt-get again. Works. *d’oh*
Posted in Computer, Rants | 2 Comments »
December 29th, 2004
Yesterday I’ve been at the cinema. My girlfriend and me were watching the german version of ‘The phantom of the Opera’. The pictures are impressive, the sound is great. What we didn’t like was the voice of Uwe Kröger for the phantom because the actor of the phantom didn’t look like Uwe. ;-)
Conclusion: A beautiful movie for watching with a girl. :-)
Posted in Allgemein | Comments Off on Cinema: Phantom of the Opera
December 29th, 2004
Today I discovered the useful tool tcprobe. Till today I used mplayer and GNU strings for getting details on movie files. tcprobe is part of the transcode package and provides detailed information on files:
$ tcprobe -i test.avi
[tcprobe] RIFF data, AVI video
[avilib] V: 25.002 fps, codec=DX50, frames=1597, width=352, height=288
[avilib] A: 32000 Hz, format=0x55, bits=0, channels=1, bitrate=56 kbps,
[avilib] 1586 chunks, 447131 bytes, CBR
[tcprobe] summary for test.avi, (*) = not default, 0 = not detected
import frame size: -g 352x288 [720x576] (*)
frame rate: -f 25.002 [25.000] frc=0 (*)
audio track: -a 0 [0] -e 32000,0,1 [48000,16,2] -n 0x55 [0x2000] (*)
bitrate=56 kbps
length: 1597 frames, frame_time=39 msec, duration=0:01:03.875
Posted in Computer | Comments Off on tcprobe: get information on movie files
December 27th, 2004
Linux Server Hacks by Rob Flickenger (ISBN: 0-596-00461-3) is a collection of 100 tips and tricks for servers running linux.
I read the german version (ISBN: 3897213613) and enjoyed it. First of all I like the short “stories” because it’s possible to savour the book when you’ve just a few minutes of spare time. About 30% of the tips are really interesting, especially the chapters ‘Information Servers’ and ‘Monitoring’ are helpful IMO.
Posted in Bücher & CO, Computer | Comments Off on Book: Linux Server Hacks
December 23rd, 2004
echo 'Du gruenst nicht nur zur Sommers zeit,
nein auch im Winter, wenn es schne it. O
Tannenbaum, o Tannenbaum, wie gruen sind
deeeeine Blaetter' | festival --tts
Posted in Computer, Events | 1 Comment »
December 22nd, 2004
While preparing and testing the Linux kernel 2.6.9 for the grml-system I noticed problems with loading the reiser4-module:
# modprobe reiser4
FATAL: Error inserting reiser4 (/lib/modules/2.6.9-grml/kernel/fs/reiser4/reiser4.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
# dmesg | tail -1
reiser4: Unknown symbol find_get_pages_tag
Google does not know the problem (yet ;-)) and taking a closer look at the reiser4-patch shows that the problem seems to be located in merging together all the patches I applied for the grml-kernel. But I’m still interested in getting a working module so I tried to fix the problem on my own (being not a kernelhacker).
First of all let’s see whether System.map knows something about find_get_pages_tag:
$ strings /boot/System.map-2.6.9-grml| grep find_get_pages_tag
c013a994 T find_get_pages_tag
Ok, now we check out where find_get_pages_tag should be defined:
/path/to/kernelsource $ grep -rH 'find_get_pages_tag(' .
Now let’s take a look at the file where the function is defined (in this case mm/filemap.c):
unsigned find_get_pages_tag(struct address_space *mapping, pgoff_t *index,
»·······»·······»·······int tag, unsigned int nr_pages, struct page **pages)
{
[...]
}
Ok, it seems that there’s missing an EXPORT_SYMBOL, so let’s add it:
EXPORT_SYMBOL(find_get_pages_tag);
Recompile the kernel and now let’s try to load the module again:
# modprobe reiser4
# lsmod | grep reiser
reiser4 392180 0
#
Works! :-)
Posted in Computer | 2 Comments »
December 14th, 2004
While checking for new magazines at the bookstore I discovered Software 2.0 Extra. The magazine is published by Software Wydawnictwo. That’s the company you might know from their other magazines like Linux+, Hakin9 or PHP Solutions.
AFAICS there have been already two releases of the german version of “Software 2.0 Extra”, the current one covers C/C++. John Maddock wrote an article about the boost-library, Konstantin Klyagin (author of centericq) wrote about using OpenSSL and other topics are SSWF, Qt, wxWidgets, cZUI, Allegro and SQLite.
The next release of Software 2.0 Magazine will cover the topic game development, then kryptography, Perl and Delphi will follow according to the preview.
Posted in Bücher & CO, Computer | 2 Comments »
December 12th, 2004
As you can see in the screenshot I’m using 2.6.9 for the current devel-release of grml. It was hard work to set it up due to problems with cloop in the initrd (thanks to Worf for his help!) but now it works like a charme on my laptop. Now I’ve to add some more modules (especially the wlan-stuff) and do some more testing with the kernel.
I also improved the zsh-configuration – at the right bottom of the screenshot you can see another example of zsh’s great completition system.
The todo-list is long enough to work 24/7 ;-) but I’m looking forward to the upcoming release. Stay tuned. :-)
Posted in Computer | Comments Off on Working on grml
December 8th, 2004
You still don’t have a computer on your toilet? Well, make a hardcopy then. ;-)
My prefered way of making sourcecode more readable:
$ which makereadable
makereadable() {
output=$1
shift
a2ps --medium A4dj -E -o $output $*
ps2pdf $output
}
Together with my a2psrc it provides a readable output. Take a look at my pdf-files of the zsh-source as an example.
Posted in Computer | Comments Off on Making source readable
December 7th, 2004
Opensource-CD is a german project which provides several open source programs for windows. Version 1.1 provides 70 up2date programs. I just downloaded the ISO and took a look at it. I think I don’t have to build my own ISOs anymore, because most programs I usually need when sitting in front of a windows box are provided by the Opensource-CD. What’s missing are the putty-tools and the unxutils. I just made a feature-request, let’s look whether they add it to the program-selection.
Posted in Computer, Links | 1 Comment »
December 7th, 2004
At the end of december I would like to release grml version 0.2. Many new packages will be available, some more scripts which should make life easier and a first public version of grml2hd by Jimmy should be available too. Today I installed grml to harddisk with a first version of grml2hd:
grml@grml ~ $ uname -a
Linux grml 2.6.7 #2 SMP Wed Jul 28 04:25:36 CEST 2004 i686 GNU/Linux
grml@grml ~ $ grml-version
0.1-4 Release Codename Niki [2004-12-06]
grml@grml ~ $
Works fine so far – good work, Jimmy. :-) Current devel-version of grml supports postfix with TLS (I wrote a small shellscript called grml-postfix which should make it easy to set it up). Sorry for my low-traffic-blog, but I’m busy working on remov^Wshortening the todo-list. ;-)
Posted in Computer | Comments Off on grml on harddisc – the niki release
November 28th, 2004
I used a self compiled version of mutt for a long time with a lot of patches. Debian’s mutt-package includes also some useful patches so I wanted to switch to debian’s version.
First of all I installed the latest version of debian’s mutt. And it sucked. Debians /etc/Muttrc unsets the variable ‘use_from’! :-( That’s awfull because the manual says that this variable is set to ‘yes’ by default, and of course the mutt-package does not adjust this in the manual. Changing default values by distributors can be useful, but please take a note in the docs! I found a bugreport on this topic but I think I’ll report it again (mentioning the docs).
Then I took a look at the patches I think are useful for mutt and sent a wishlist-report to add patch patch-1.5.4.aw.listreply.1 to debian package of mutt.
I’m using a light-color setup within mutt (white background instead of the default black one). mutt adds a strange black line within the pager-screen by default, I fixed that some time ago. Compare the unpatched mutt and my patched version. I sent a mail to mutt-dev which still did not arrive yet. *dang*
Another thing I did not like was the behaviour of some mbox-files. I’m using a maildir-setup but still have a few mbox-files left in my ~/mail (especially the ones from mailinglist-archives). But I did not see new mails in the mbox-files in the folder-overview. Huh?! Finally I found out that mutt requires folders in a single list. Adding ‘xargs’ as an argument in the mailboxes-command fixed that problem in my setup (‘echo’ would do the trick also):
$ tail -10 ~/.mutt/folders
mailboxes !
[...]
`find ~/mail -maxdepth 1 -type f | xargs`
Now I updated the mutt-package to latest cvs-sources and applied the patches I usually need. Works like a charme now. If someone wants to use my debian-package of mutt, you can find it in the grml-repos: mutt 1.5.6+20041127i.deb.
Update: I got a very friendly and helpful reply (not!). *d’oh* :-( Ok, I definitely decided to work on my own debian package of mutt. I installed it also in the devel-version of grml. Some people are using my package already, please let me know if you have any wishes/feedback/bugreports.
Posted in Computer, Rants | 8 Comments »