12
Return to list Post new posts
Author: retroman

Running lxc containers on the Loboris Debian

[Copy link]

0

threads

2

posts

16

credits

Novice

Rank: 1

credits
16
Published in 2015-11-25 22:04:13 | Show all floors
Hi kpox,
I was trying to install lxc on my orange pi pc but I can´t. I did the following steps:
1) Upgrade the kernel
    wget http://loboris.eu/update_kernel.sh
    sudo mv update_kernel.sh /usr/local/bin
    sudo chmod +x /usr/local/bin/update_kernel.sh
    sudo update_kernel.sh test
2) apt-get install lxc lxctl cgroup-bin cgroup-tools libcgroup1
3) try to check the lxc-checkconfig and give me the following error:

  # lxc-checkconfig
  Kernel configuration not found at /proc/config.gz; searching...
  lxc-checkconfig: unable to retrieve kernel configuration

   Try recompiling with IKCONFIG_PROC, installing the kernel headers,
   or specifying the kernel configuration path with:
     CONFIG=<path> lxc-checkconfig
Could you help me with that please?
Note:
I have installed the debian 8 mini. without xfce
I tryed a lot of things but I didn´t see what is the error.

0

threads

2

posts

16

credits

Novice

Rank: 1

credits
16
Published in 2015-11-26 15:50:27 | Show all floors
Hi Loboris,
can you help me with this please?

3

threads

60

posts

258

credits

Intermediate member

Rank: 3Rank: 3

credits
258
Published in 2015-12-8 00:10:00 | Show all floors
I'm running Docker 1.7.1 on 3.4.x kernel on BananaPro so it's not a kernel issue. I get warnings about possible instabilities, but did not notice any problem is last 4 months.
Published in 2015-12-8 03:21:36 | Show all floors
red.vpn replied at 2015-11-25 22:04
Try recompiling with IKCONFIG_PROC

You should read this 1st: http://www.xaprb.com/blog/2006/0 ... roc-config-feature/

Then this: https://github.com/loboris/OrangePI-Kernel

And regarding the build environment this here (for A83T, but should apply to H3 too) should be sufficient: http://forum.banana-pi.org/t/bpi ... -m3-20151203/817/29
Published in 2015-12-8 06:06:37 | Show all floors
red.vpn replied at 2015-11-25 22:04
Kernel configuration not found at /proc/config.gz; searching...

In case you know what you're doing you could use kernel+modules I built a few minutes ago (with settings for OPi 2/PC): http://kaiser-edv.de/downloads/H ... l+Libs+gc2035-2.tgz

I activated the /proc/config.gz feature and adjusted just a few other things. It runs here flawlessly (with a slight improve in USB performance) but of course no guarantee and also no support

0

threads

10

posts

78

credits

Registered member

Rank: 2

credits
78
Published in 2016-1-22 07:52:47 | Show all floors
Edited by Drakoh at 2016-1-22 08:01

Guys, I need your help a little bit.
I'm currently running Loboris' Fedora 22 Minimal with the 3.4.39-02-lobo kernel.
  1. Linux fedora 3.4.39-02-lobo #1 SMP PREEMPT Tue Nov 10 10:37:50 CET 2015 armv7l armv7l armv7l GNU/Linux
Copy code
LXC related packages' version:
  1. libvirt-daemon-driver-lxc-1.2.13.2-1.fc22.armv7hl
  2. lxc-1.1.5-1.fc22.armv7hl
  3. python3-lxc-1.1.5-1.fc22.armv7hl
  4. lxc-extra-1.1.5-1.fc22.armv7hl
  5. lxc-templates-1.1.5-1.fc22.armv7hl
  6. lxc-libs-1.1.5-1.fc22.armv7hl
Copy code


Every time I try to start a container, it fails with this error:
  1. lxc-start: start.c: preserve_ns: 149 No such file or directory - failed to open '/proc/19054/ns/mnt'
  2. lxc-start: start.c: lxc_spawn: 993 failed to store namespace references
  3. lxc-start: start.c: __lxc_start: 1192 failed to spawn 'test2-ubi'
  4. lxc-start: lxc_start.c: main: 344 The container failed to start.
  5. lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.
Copy code

Any ideas?

update: SELinux is disabled

12
Return to list Post new posts
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list