Posts

Showing posts from June, 2010

Tracking Wordpress in Git

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. And since importing the wordpress svn repository into git was an overnight process, I decided to share the resulting git repo on github, so others can speed up their own wordpress git import should they ever want to do that. And that is how my first ever github repo became a repo that is just tracking the progress of wordpress. Good enough for a start. I did not use the default git-svn configuration because it was lacking a few feature I like. First, my local repo is not using the default git-svn branch to tag mapping. Instead, I configure git-svn to prefix all remote branches with "svn" so they are easy to follow. The "trunk" I also push into a branch named trunk, to make it easy to follow

Odd NFS root boot problems

I have a pretty simple mythtv box. It boots over PXE and the root partition is read-only exported over NFS. After bumping the kernel on the server that hosts the NFS to 2.6.34 my mythbox no longer wanted to boot. It was hanging right after managing to look up the mountd port on the NFS server with RPC. After enabling NFS_DEBUG the output looks like this: Looking up port of RPC 100003/2 on 10.0.0.19 Root-NFS: Portmapper on server returned 2049 as nfsd port Looking up port of RPC 100005/1 on 10.0.0.19 Root-NFS: mountd port is 45731 tcpdump on the server didn't reveal much either. Everything was fine until the point of hanging, where the client sent a couple of retransmission requests for the last UDP packet. In wireshark, these packets look like: 5127 4.366527 10.0.0.42 10.0.0.19 NFS V2 NULL Call 5128 4.366638 10.0.0.19 10.0.0.42 NFS V2 NULL Reply (Call In 5127) 5129 5.463390 10.0.0.42 10.0.0.19 NFS [RPC retransmission of #5127]V2 NULL Cal