Le mardi 6 janvier 2015, Sunil Shahu <sunil.rockon@yahoo.in> a écrit :
Hi Sudip,
I was building and booting kernel on VMware Player. My guest OS is Ubuntu 12.04 with 3.5.0-48-generic. I tried to boot on both Linux and Windows host with Ubuntu guest and both fails to boot the newly built kernel.
Then I tried to boot on real hardware and linux-next boots up without any issue.
I still had a question that is this a common when kernel do not boot up on VM? I like to prefer VM because I have only one PC and it sounds risky to install new kernel everyday.
And thanks for the response. Sunil Shahu.
On Tuesday, 30 December 2014 2:56 PM, Sudip Mukherjee <sudipm.mukherjee@gmail.com> wrote:
On Tue, Dec 30, 2014 at 2:33 PM, Sunil Shahu <sunil.rockon@yahoo.in> wrote:
Hi,
I am trying to build and boot linux-next kernel tree.
My original kernel with Ubuntu 12.04 LTS was 3.5.0-23-generic.
I checked out code with tag next-20141226. I generated a ".config" file with "make localmodconfig". I installed modules and kernel. On restart PC do not boot up.
I then checked out tag v3.16-rc3 and booted. It worked pretty good and booted properly.
I had few question from this exercise:
1) Why my PC didn't boot up with linux-next kernel? 2) Do I need to apply any specific patches to boot mainline linux-next kernel on my Ubuntu 12.04 PC? 3) How do people test mainline kernel-next? Do they apply their OS specific patch on linux-next tree or test linux-next on some specific OS?
I am regularly working with linux-next, and i am using ubuntu 13.04 , 14.04. I never had to use any patch to boot it. also tested on 10.04. what error message you got?
Sudip
Thanks, Sunil.
Hi Were you using a working kernel config (with your VM) when compiling your kernel ? Did you compile it on your VM or on your host OS ? I use VirtualBox and Archlinux as a guest OS and never had a problem when using a custom kernel. What is the specific error you encounter when trying to boot ? Khoyo