interrupt handling in linux device drivers

Every developer should know this – and its a free course… for what are you waiting? Click Me

August 7, 2012 · 1 min · Christian Gmeiner

objdump is your friend

Lets image you are working on a coreboot port for some mainboard and you are a very glad guy cause you have a jtag interface or something similar and you notice a hang, which could be caused by a never ending loop or some other mysterious stuff – all you know is the current instruction pointer. objdump -S ./build/cbfs/fallback/coreboot_ram.elf and search for the address of the instruction pointer – may it help you to figure out whats going on 🙂

July 18, 2012 · 1 min · Christian Gmeiner

Compare Two Filesystems Recursively

Sometimes it is needed to compare two filesystems, which can be done quite easily: diff -rq /mnt/fs1 /mnt/fs2

June 19, 2012 · 1 min · Christian Gmeiner

Install Grub in a chroot environment

Image you destroyed your MBR sector of your hard drive/flash device and you are not able to load grub. You can easily fix this issue from an other Linux based computer. Simply run the following commands: mount /dev/sda1 /mnt/ mount -t proc none /mnt/proc mount -o bind /dev /mnt/dev chroot /mnt/ /bin/bash /usr/sbin/grub-install –recheck –no-floppy /dev/sda With this routine it it is also possible to fix UUID problems.

January 31, 2012 · 1 min · Christian Gmeiner

Switching

Um eine breitere Masse zu erreichen, wird der Blog geswitcht.. Starting with this second the whole blog will be in English and it will cover a broader range of topics…

January 26, 2012 · 1 min · Christian Gmeiner