Tag Archives: Linux

Grub2 and Windows

I’ve just installed grub2 on my Debian laptop, and I wanted to write a quick note on how to get dual booting working. Grub2 seems to have a far more complex configuration system than grub, this may be a good or a bad thing. One feature of this is a /etc/grub.d directory which contains a …

Read more »

Threadnetperf v1.0

Update: I’ve now put this project on github Today I am proud to announce that I’m releasing a tool I’ve used privately for well over a year now. It is a multi-threaded network testing tool which gives the user great control over how many connections, threads and processes the tool uses, and which CPU cores …

Read more »

Compiler defined symbols

I found this neat little command to list all the GCC compiler defined symbols gcc -dM -E – < /dev/null This can help if you aren't quite sure which defines are used on your systems. For example my FreeBSD 7.1 machine outputs this: #define __DBL_MIN_EXP__ (-1021) #define __FLT_MIN__ 1.17549435e-38F #define __DEC64_DEN__ 0.000000000000001E-383DD #define __CHAR_BIT__ 8 …

Read more »

linuxoffsets for FreeBSD

VMWare 6 and above has this neat debugging functionality where you can attach gdb running on a host, to a guest running inside VMWare. This allows you to debug a running kernel, or on linux running processes. However, VMWare seems to have coded a bit of a hack to allow gdb to understand what process/threads …

Read more »

Philips WAC7500

I’m at home for christmas and I’ve found my parents have brought a Philips WAC7500, a fancy hi-fi which has far more features than people would ever need. It can play music from its internal hard drive, iPod/USB, UPnP (via wired or wireless), and radio from either FM or Internet. So needless to say it …

Read more »