I have compiled Linux kernel 3.9.7 for my AMD FX 6300 (with AMD selected as processor vendor during kernel compilation). After the installation, I restarted the system, and found that the "linux-headers" are not installed (actually I was able to find only the kernel source, not header files at kernel.org).
The consequence:
Nvidia graphic driver and many softwares (which depends on display settings) are not working anymore.
The previous installation of nvidia graphics drivers is also not working anymore (however if I start with previous kernel 3.2.xx, it works fine). I tried to re-install nvidia graphics but of no use. I suspect that it might be due to missing linux-headers
which I can't see in /usr/src/
directory.
The question:
From where can I get the linux-headers source for 3.9.7 kernel ?
In my opinion it doesn't make sense to use the linux-headers from Ubuntu repo, because I have compile the kernel on my machine, while headers from ubuntu repos are result of their own compilations (compiler mismatch?).