[00:23] http://wolfgang-city.myminicity.com/tra [03:06] Hey, got forwarded here. Was wondering if anyone knew if pata_via was going to be put back into the stock Ubuntu kernel in the near future? [03:08] OEM using VIA and no driver is being loaded for the IDE controller. Manually loading ide-generic in the live environment brings it to life, but since it doesn't load at startup I would think we'd have issues booting the installed system [03:09] I would think the pata_via driver would provide better support in the long term and also hopefully load at boot. === asac_ is now known as asac === rikai_ is now known as rikai === \sh_away is now known as \sh === \sh is now known as \sh_away === rikai_ is now known as rikai [20:37] How should I go about patching and recompiling a single driver/kernel module? Specifically the cx88-alsa module. I already installed the linux-source package and patched the /usr/src/linux-source-`uname -r`/drivers/media/video/cx88-alsa.c file. [20:49] in make menuconfig select the corresponding module and then do a make modules and copy the module to /lib/modules/. There could be a shorter way of doing this with the kbuild system in 2.6, but you will have to dig that up from the net or maybe README in the kernel source === alleeHol is now known as allee [20:54] hanishkvc: should I make mrproper and make clean before doing this? [21:00] If I get "insmod: error inserting '/usr/src/linux-source-2.6.22/drivers/media/video/cx88/cx88-alsa.ko': -1 Invalid module format" [21:00] What should I do? [21:27] Idealy you should select the same config parameters for the kernel source as what is running on your machine [21:32] Also are you sure the module source is not missing something [21:35] I don't think so, but I'm trying again to see what happens. [21:43] Also try building the kernel from the source before building the module, it might be depending on some dynamically generated header file indirectly [21:44] But as I told when building the kernel use the same config as used by the distro (if you are using distro's default kernel) [21:47] If this doesn't help, then go back to the original cx88-alsa.c (i.e revert back the patch) and build that and see if the module builds (a) if yes, then look at the patch you are applying and see what it might be messing up (b) if No, then something wrong in the compiling/process used for building [21:48] Above when I told if the module builds I meant if module loads [21:49] It takes forever to compile all the modules in the ubuntu kernel so I'm going to go get some coffee. [21:49] ;) [21:51] Am going to bed, If I am not wrong compiling the kernel (bzimage) with running kernels config and then compiling the module should mostly fix your problem [21:51] Good luck. [21:53] Also maybe going into the directory where the driver/module is in the source and then doing a make modules may save you from having to sit throu all the modules compiling