← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 525703] Re: nodename is now devnode in 2.6.33 kernel - drivers don't compile

 

Howdy, and thank you for helping to improve Mythbuntu by opening this ticket, and for including the work-around.  
Since 10.04 (Lucid) is not using 2.6.33, I'm going to close this ticket on the assumption that such issues will be resolved during the course of kernel development for 10.10 (and whatever kernel version that ends up using).

** Changed in: mythbuntu
       Status: New => Invalid

-- 
nodename is now devnode in 2.6.33 kernel - drivers don't compile
https://bugs.launchpad.net/bugs/525703
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.

Status in Mythbuntu, Ubuntu derivative focused upon MythTV: Invalid

Bug description:
I'm using mythbuntu 9.10. I upgraded to kernel v2.6.33-rc8 because I have a DH55TC mobo (following the advice here https://wiki.ubuntu.com/Intel_DH55TC). This fixed a number of startup and slow video issues.

Now I can't rebuild the drivers for my hauppage 2200 as I did for my previous kernel. I've been following the instructions here:
http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-2200
I've been using the dev tree but I also get similar errors with the stable tree.

Initially I got a message complaining v4l/config-compat.h could not include autoconf.h. I got around that by changing the include to be:
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 33)
#include <linux/autoconf.h>
#endif

Now I get the following error:
/home/john/local/src/hauppage-2200/saa7164-dev/v4l/dvbdev.c: In function 'init_dvbdev':
/home/john/local/src/hauppage-2200/saa7164-dev/v4l/dvbdev.c:516: error: 'struct class' has no member named 'nodename'
make[3]: *** [/home/john/local/src/hauppage-2200/saa7164-dev/v4l/dvbdev.o] Error 1
make[2]: *** [_module_/home/john/local/src/hauppage-2200/saa7164-dev/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.33-020633rc8-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/john/local/src/hauppage-2200/saa7164-dev/v4l'
make: *** [all] Error 2

As far as I can tell by googling, 'nodename' is now 'devnode' in 2.6.33 (perhaps 2.6.32 as well?) and has a different signature. I don't think I know enough to edit the driver source to reflect this. Has anyone got a solution? If the 2200 driver is not currently supported on 2.6.33 does anyone know when it might be?





References