Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
12
Return to list New
Author: retroman

Running lxc containers on the Loboris Debian

[Copy link]

0

Threads

2

Posts

16

Credits

Novice

Rank: 1

Credits
16
Post time 2015-11-25 22:04:13 | Show all posts
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
Post time 2015-11-26 15:50:27 | Show all posts
Hi Loboris,
can you help me with this please?

3

Threads

60

Posts

258

Credits

Intermediate member

Rank: 3Rank: 3

Credits
258
Post time 2015-12-8 00:10:00 | Show all posts
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.
Post time 2015-12-8 03:21:36 | Show all posts
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
Post time 2015-12-8 06:06:37 | Show all posts
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
Post time 2016-1-22 07:52:47 | Show all posts
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 the 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 the 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 the Code

Any ideas?

update: SELinux is disabled

12
Return to list New
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-11-20 23:15 GMT+8 , Processed in 0.028574 second(s), 19 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list