Bug 10378 - Kernel compiled from source (kernel-linus-source) and installed won't boot.
Summary: Kernel compiled from source (kernel-linus-source) and installed won't boot.
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-31 17:27 CEST by Shlomi Fish
Modified: 2013-06-11 13:21 CEST (History)
1 user (show)

See Also:
Source RPM: kernel-linus-3.9.4-1.mga4.src.rpm
CVE:
Status comment:


Attachments
The configuration file used for the kernel (72.57 KB, text/plain)
2013-05-31 17:29 CEST, Shlomi Fish
Details
Screenshot of the kernel at boot time. (32.80 KB, image/jpeg)
2013-05-31 17:29 CEST, Shlomi Fish
Details
The new config with CGROUPS enabled - still doesn't boot. (72.89 KB, text/plain)
2013-06-02 14:11 CEST, Shlomi Fish
Details
A mostly working configuration file (15.38 KB, application/octet-stream)
2013-06-02 17:58 CEST, Shlomi Fish
Details

Description Shlomi Fish 2013-05-31 17:27:54 CEST
Description of problem:

I build my kernel using the about to be attached .config on a Core i3 x86-64 system with a SATA 2 drive, and boot it, and got the result in the about to be attached .jpg file

Version-Release number of selected component (if applicable):

kernel-linus-3.9.4-1.mga4.src.rpm

How reproducible:

Always.

Steps to Reproduce:
1. cp -a /usr/src/kernel-linus-3.9.4-1.mga4/  .
2. cd there.
3. Copy the config
4. make oldconfig
5. make ;
6. as root - "make modules_install" and "make install".
7. Boot using it.


Reproducible: 

Steps to Reproduce:
Comment 1 Shlomi Fish 2013-05-31 17:29:05 CEST
Created attachment 4086 [details]
The configuration file used for the kernel

This is the configuration file used to build the kernel.
Comment 2 Shlomi Fish 2013-05-31 17:29:48 CEST
Created attachment 4087 [details]
Screenshot of the kernel at boot time.

Seems like the /usrmove is not handled properly or something like that - init cannot be found.
Comment 3 Thomas Backlund 2013-06-02 13:28:10 CEST
Nope, its a broken kernel config...

for example, you need CONFIG_CGROUPS for systemd.
(you dont need the suboptions enabled, only the toplevel one (like I've done in kernel-tmb)

CC: (none) => tmb

Comment 4 Shlomi Fish 2013-06-02 13:42:13 CEST
Hi Thomas, thanks for the reply.

(In reply to Thomas Backlund from comment #3)
> Nope, its a broken kernel config...
> 
> for example, you need CONFIG_CGROUPS for systemd.
> (you dont need the suboptions enabled, only the toplevel one (like I've done
> in kernel-tmb)

OK, thanks. I added it now, and will test the kernel that I built with it. I already tried the pristine kernel-linus-source configuration (with all the sources) and it was bootable, but took a long time to build.

I'll let you know what's going on further.

Regards,

-- Shlomi Fish
Comment 5 Shlomi Fish 2013-06-02 14:11:41 CEST
Created attachment 4091 [details]
The new config with CGROUPS enabled - still doesn't boot.

This is the new config with CGROUPS enabled that still doesn't boot, and gives me the same error - what else is missing?

Regards,

-- Shlomi Fish
Comment 6 Thomas Backlund 2013-06-02 14:39:58 CEST
Well, one thing is you are reporting this against x86_64, but the kernel you try to boot is i586

A google of the error: runaway loop modprobe binfmt-464c would have told you that too
Comment 7 Shlomi Fish 2013-06-02 15:13:17 CEST
Hi Thomas,

(In reply to Thomas Backlund from comment #6)
> Well, one thing is you are reporting this against x86_64, but the kernel you
> try to boot is i586
> 
> A google of the error: runaway loop modprobe binfmt-464c would have told you
> that too

Thanks for the input. I figured it out based on comparing with my laptop's kernel configuration which boot fine. I fixed it at my end and I am building the new kernel now.

Regards,

-- Shlomi Fish
Comment 8 Shlomi Fish 2013-06-02 17:58:25 CEST
Created attachment 4092 [details]
A mostly working configuration file

Hi,

after a lot of trial and error, and inspecting the currently used devices in the Mageia kernel, I was able to construct a working configuration that has video/3-D+sound+networking. It is attached here for reference.

Regards,

-- Shlomi Fish
Comment 9 Shlomi Fish 2013-06-11 13:21:46 CEST
OK, apparently, I did something wrong, and was able to fix it. Closing this.

Status: NEW => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.