download kernel code of specified version of kernel

Andy Whitcroft apw at canonical.com
Mon Feb 9 09:33:18 UTC 2015


On Thu, Feb 05, 2015 at 06:17:12PM +0000, SURESH D.NAIK wrote:
>     Recently I have downloaded the kernel code through Ubuntu
> terminal by using $sudo apt-get source linux-image-$(uname -r) command and
> I have added a system call to it and compiled, everything was fine but when
> I was installing the kernel in my currently working Ubuntu machine it was
> telling me that some ckt package or something that I could not remember
> properly was missing and that kernel was not installed( if I reboot my
> machine in this condition it run till GRUB after grub a blank black screen
> appears with some error message and it will stop there itself ). After
> a long I came to know that I have to download the Ubuntu's modified
> kernel version for my machine and stated trying to download but I could
> not download the kernel version from any of the links, so can you please
> provide me a link from where I can actually download the required kernel
> verion( source code ) of Ubuntu kernel( not the whole Ubuntu source code )
> code or is there any other way that I can download the ckt3 or ckt4 patch
> and can install it. The attach has the error message of the ckt  >  

The attached image, in particular those of your grub menu seem to show
non-Ubuntu version numbers, which if you are running those when you try
and get the source it is not clear you can get the appropriate source.
Where did you get those mainline kernels from?

The specific ckt errors seem to say you are missing a lot of you modules
as if the modules_install phase of the build failed, but without having
more details of what and how you are building it is hard to even hazard
a guess.

-apw




More information about the kernel-team mailing list