Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel building problems (LXC)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
danboston
n00b
n00b


Joined: 17 Nov 2016
Posts: 47

PostPosted: Thu Dec 01, 2016 3:02 am    Post subject: kernel building problems (LXC) Reply with quote

So I've been interested in LXC and had been reading up on it a bit, with intent to put it in on my Gentoo system.

I ran lxc-checkconfig and saw that there were several things I needed to add on my kernel.

At a stopping point: two of the items reported as "missing" by lxc-checkconfig are problems. The rest are now in the kernel.

One: If I put in CONFIG_IP6_NF_TARGET_MASQUERADE, the kernel will panic.

Two: I cannot find "checkpoint restore" in order to put it in. the "/" search function of "make menuconfig" says it is here:
Code:

  | Symbol: CHECKPOINT_RESTORE [=n]
  | Type  : boolean
  | Prompt: Checkpoint/restore support
  |   Location:
  | (1) -> General setup
  |   Defined at init/Kconfig:1156
  |   Selects: PROC_CHILDREN [=n]

But it is not.

My main question is: will LXC be usable if the kernel does not have the above two items?
Back to top
View user's profile Send private message
danboston
n00b
n00b


Joined: 17 Nov 2016
Posts: 47

PostPosted: Fri Dec 02, 2016 12:26 am    Post subject: Reply with quote

I was able to find "checkpoint restore". Actually, it was more a matter of making it appear rather than finding it. Leaving out details, what I had to do was activate advanced options (or was it advanced features?) within the make menuconfig.

Adding the "checkpoint restore" option made the kernel panic.

So now I have two kernel items where adding either of them makes the kernel panic.

This is a problem.

This is good in a way, as now this thread is a solid discussion of kernel matters, no more mention of LXC.

My revised question is : how to add those two kernel items in a way that they do not cause kernel panics?
Back to top
View user's profile Send private message
danboston
n00b
n00b


Joined: 17 Nov 2016
Posts: 47

PostPosted: Fri Dec 02, 2016 11:29 pm    Post subject: Reply with quote

In the end, the problem was solved.

Booted into another linux. cat /proc/config.gz | gunzip, piped that to a file. Booted into gentoo and ran "make oldconfig" on it. Then tweaked to add the gentoo features back in. Built, rebooted. No panics, all desired items in.

Still don't know what the cause was.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum