DLP
2006-02-25
 
ACX goes modular again

I've stared working on separating the ACX driver into three modules. These would be called 'acx-common.ko', 'acx-pci.ko' and 'acx-usb.ko'. This leaves us with the problem of recursive dependencies at load time, but I'm working on solving this.

I've created a struct acx_ops which contains pointer functions to all the device-specific functions (the ones in usb.c or pci.c) so we can also get rid of the generic functions which just call one or the other depending on chipset and connection. These create a lot of branches which is never good (even with good branch prediction).

The modules still can't find the generic functions because I still haven't exported most of them, but I'm busy right now fighting with preprocessor magic around the _debug family of functions

I expect to have a working setup by the end of next week. I'll send the patch and see what people think about it.


2006-02-14
 
Installing from scratch

Debian just refused to work correctly on my mum's laptop. She needs to print to PDF, but firefox just freezes. Konqueror was working, but it then broke. I decided I had had enough of it, burnt a Kubuntu CD and installed.

The MD5SUM of libz doesn't match, so it doesn't want to install it. This makes installing almost anything else difficult if not impossible.

Using the running system the installer has, I changed the apt sources file so it'd look for the files on the online mirrors as well, but it didn't quite work. Now it can't find the CD, so everything has to be installed through the 'net. My connection speed is around 512Kbps to 1Mbps depending on the day, server my connection goes through...(no, seriously), so I'm still downloading the system.

I'm not too sure I've installed GRUB correctly, so I'll have to wait untill tomorrow to see wether all this fighting with the system was worth it.



Powered by Blogger