davidbilla
March 26th, 2009, 12:58 PM
Hi,
I need to write my own device drivers for which I need to run a kernel that is compiled and installed. Now, if I am right, by default, I cannot compile a custom device driver in Ubuntu. I tried downloading and installing a vanilla kernel, but I get 'kernel panic' and I'm tired of playing around with it. So, I just want to install the sources for the currently running kernel (can that be done from Synaptic?) and start compiling my device drivers.
Will that be enough? And is it guaranteed that I'll be able to boot into my running kernel once I've installed the sources and restarted the system or are there any caveats in that too?
Thanks.
I need to write my own device drivers for which I need to run a kernel that is compiled and installed. Now, if I am right, by default, I cannot compile a custom device driver in Ubuntu. I tried downloading and installing a vanilla kernel, but I get 'kernel panic' and I'm tired of playing around with it. So, I just want to install the sources for the currently running kernel (can that be done from Synaptic?) and start compiling my device drivers.
Will that be enough? And is it guaranteed that I'll be able to boot into my running kernel once I've installed the sources and restarted the system or are there any caveats in that too?
Thanks.