I've got a netvista thinclient serving as jukebox in my bedroom. Recently I wanted to switch to a faster wireless adapter, which required moving to the 2.6 kernel series. This is especially painful for the netvistas, but nevertheless possible (despite some sources claiming that it won't work). Here's the rundown.

Netvistas are odd creatures: the bios loader understands ext2 but not compressed kernels, and only ELF objects with a program header count of 1. The hardware doesn't have a real time clock, and no text mode: a framebuffer console is a must. With 2.2 and 2.4 kernels, the netvistas can get relevant command line info from the bios/loader; but the bios doesn't know how to feed this to a 2.6 kernel, causing additional problems. Furthermore, the volatility of the kernel structures and APIs between 2.6.14- and 2.6.20+ makes life interesting: most stuff for kernels before .20 fails with newer ones and vice versa. (The folks responsible for this huge set of changes in the supposedly stable kernel series will be the first against the wall when the revolution comes.)

Here is the list of things required to get a stock 2.6.24.3 kernel to work:

There is one problem I haven't been able to fix yet: the MPD and the LCDd step on each other's toes, load avg goes through the roof and music playback skips iff the LCDd has many screen updates (ie. more than two scrolling lines at a time). This sucks very very badly, especially as this very software combo (same versions etc.) worked fine on 2.4.35 (even with the extra overhead of nfs over openvpn over wifi, which I've eliminated in favour of wired ether). Somewhere there must be a tweak to get this to work properly; SCHED_RR doesn't seem to help (it messes things up even worse, at least in the experiments I've conducted so far). But that's a comparatively minor problem.

My list of netvista-related resources:

Update (Thu 25.09.2008 13:13):
I just heard that Antonio Cardoso Martin has been more successful wrt sound latency issues by running a kernel with real-time options on his netvista.
[ Thu 10.04.2008 22:01 | /interests/comp | comment ]

Debian Silver Server Valid HTML 4.01! Valid CSS!
© Alexander Zangerl