Landfill of wisdom

Dumping ground for small tips and big papers

Browsing Posts in Software

I have been looking for alternatives to Microsoft Money for a while. While annoying to have to keep a virtual Windows machine just for Money (which you can freely download from Microsoft by the way), it was working just great. The features I really liked about it are: Keyboard shortcuts made it very easy to […]

I struggled for a week having udev (on CentOS 6.3) do all kinds of silly things with the interfaces names on a server with 4 onboard 1G interfaces, an 2 dual port Mellanox ConnectX-3 cards. The short story is that udev was trying to preserve the names of the interfaces to be consistently numbered starting […]

My brand new pair of disks in a setup that would otherwise work perfectly fine, decided to keep giving me headache. There are only two disks in the machine, partitioned in three, with the first two pairs of partitions in a RAID1 array. And every now and then one of the disks would disappear from […]

After I left a loop moving the data from my LVM2 LVs to a new raid1 array overnight (I wanted to also reorder the LVs physically at the beginning of the disk) I came back in the morning to see that one of the moves had hung. I killed it, and the loop kept going. […]

My bank uses client SSL certificates + a single-password token for authentication. Unfortunately, the latest Firefox gives me this error: Secure Connection Failed An error occurred during a connection to secure.example.com. Renegotiation is not allowed on this SSL socket. (Error code: ssl_error_renegotiation_not_allowed) The page you are trying to view can not be shown because the […]

I had the biggest PC related scare a couple of days ago. After I had two disks in my RAID5 fail in a very short amount of time and only pure luck saved my data I moved to RAID6 and I felt safer. That was, until two days ago I ran: # pvs -v pvs […]

Tools required openocd tftp-hpa cross compiler Cross-compiler: cd customrepo mkdir cross-armv5tel-softfloat-linux-gnueabi ln -s ../gentoo/sys-devel/{gcc,binutils} cross-armv5tel-softfloat-linux-gnueabi sudo cave resolve cross-armv5tel-softfloat-linux-gnueabi/gcc Updating u-boot: There are several repositories, but the official one is this one: http://git.denx.de/u-boot.git. The maintainer of the official one actually recommends using the repos for each architecture, in the case of the SheevaPlug that would […]

To avoid having to export the CROSS_COMPILE variable every time you recompile your cross-compile kernel, a suggestion I found is to define the variable in the Makefile itself. Like so: ARCH = arm CROSS_COMPILE = armv5tel-softfloat-linux-gnueabi- This is nice, but then I get conflicts when I pull in the new kernel updates with git. Or […]

Coda is looking like a promising piece of infrastructure. However blogging about its awesomeness (that I personally haven’t experienced yet) is pointless. People usually look for solutions to problems so here is my share. The environment that kind of worked out of the box was the following: All users are in Windows Active Directory Clients […]

I finally decided to sign up for github. What prompted me was the desire to upgrade this blog to WordPress 3.0, from its current WordPress MU 1.5.1. I find that it is much easier to pull in an upstream branch and make my own changes on top if I use git as opposed to subversion. […]