本帖最后由 大茶几 于 2020-9-5 18:19 编辑
3 L: ]+ F S$ F4 Q; ~- lxc-start 1599145069.560 INFO lxc_start_ui - lxc_start.c:main:265 - using rcfile /usr/var/lib/lxc/openwrt/config
0 R& O4 A! B4 W1 l, ] - lxc-start 1599145069.561 WARN lxc_confile - confile.c:config_personality:989 - unsupported personality 'arm': ~- _$ O- E" _6 r) t
- lxc-start 1599145069.561 WARN lxc_log - log.c:lxc_log_init:316 - lxc_log_init called with log already initialized! I/ C% w2 x$ H9 }6 l
- lxc-start 1599145069.562 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /usr/var/lib/lxc openwrt
; X( e4 V* Z) e% \* O - lxc-start 1599145069.562 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /usr/var/lib/lxc openwrt! Z8 l+ C8 H. t9 I6 x! T; y' M! f2 Q
- lxc-start 1599145069.563 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuacct unknown to /usr/var/lib/lxc openwrt
2 T& D* n. r, F: c; r4 M - lxc-start 1599145069.563 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /usr/var/lib/lxc openwrt4 n' Y$ [4 ~- f; ]
- lxc-start 1599145069.563 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /usr/var/lib/lxc openwrt- `; g9 j9 o+ Q X- P
- lxc-start 1599145069.563 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /usr/var/lib/lxc openwrt
5 t/ j; C# D* E3 f# V9 z/ n - lxc-start 1599145069.563 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /usr/var/lib/lxc openwrt7 v! H: j d1 a' B! K0 ]
- lxc-start 1599145069.563 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /usr/var/lib/lxc openwrt5 O) g3 K: T' J' G% U; B
- lxc-start 1599145069.563 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_prio unknown to /usr/var/lib/lxc openwrt2 k. ~+ k K1 D8 Y1 U
- lxc-start 1599145069.563 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup perf_event unknown to /usr/var/lib/lxc openwrt' Z4 l5 X6 P6 _# h
- lxc-start 1599145069.565 INFO lxc_start - start.c:lxc_check_inherited:209 - closed inherited fd 4
# \$ x! V' N4 V2 l: |* K8 s - lxc-start 1599145069.575 INFO lxc_conf - conf.c:run_script_argv:350 - Executing script '/usr/var/lib/lxc/openwrt/pre-start.sh' for container 'openwrt', config section 'lxc'
& {7 y, I ` a% Y6 U5 W& b, x - lxc-start 1599145069.596 INFO lxc_start - start.c:lxc_check_inherited:209 - closed inherited fd 4 i2 b( ~ j# n) I
- lxc-start 1599145069.613 INFO lxc_monitor - monitor.c:lxc_monitor_sock_name:177 - using monitor sock name lxc/8518417411765f46//usr/var/lib/lxc" g- b& V" ]0 W, a- R# P
- lxc-start 1599145069.635 DEBUG lxc_conf - conf.c:lxc_create_tty:3666 - allocated pty '/dev/pts/0' (5/6)
0 v& u, o* p/ B# O - lxc-start 1599145069.635 INFO lxc_conf - conf.c:lxc_create_tty:3677 - tty's configured
7 g0 X" F$ v% S9 G1 e! \, W - lxc-start 1599145069.635 DEBUG lxc_start - start.c:setup_signal_fd:247 - sigchild handler set" I$ T5 d+ { l: i: z& f' n2 n
- lxc-start 1599145069.635 DEBUG lxc_console - console.c:lxc_console_peer_default:536 - no console peer$ U4 Q6 t, B7 z/ H8 U& G
- lxc-start 1599145069.635 INFO lxc_start - start.c:lxc_init:443 - 'openwrt' is initialized' x7 p# P1 G' C& _2 @1 N+ ]4 J/ {
- lxc-start 1599145069.636 DEBUG lxc_start - start.c:__lxc_start:1059 - Not dropping cap_sys_boot or watching utmp
( N9 D# e& s/ H N - lxc-start 1599145069.637 INFO lxc_cgroup - cgroup.c:cgroup_init:62 - cgroup driver cgroupfs initing for openwrt
4 h8 F0 |4 M$ s; v( t0 s - lxc-start 1599145069.639 INFO lxc_start - start.c:lxc_spawn:891 - clone_flags:0x2c020000
9 o! v9 j0 f2 e- }& w2 b/ m3 h3 Z - lxc-start 1599145069.642 ERROR lxc_cgfs - cgfs.c:lxc_cgroupfs_enter:1163 - Invalid argument - Could not add pid 1775 to cgroup /lxc/openwrt: internal error+ z6 m' ?: T4 r1 Z2 m! Q. \) w' _
- lxc-start 1599145069.643 ERROR lxc_start - start.c:__lxc_start:1081 - failed to spawn 'openwrt'
8 \8 P! @4 U5 h - lxc-start 1599145069.648 WARN lxc_commands - commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive response
. R' W3 I4 y8 E* w - lxc-start 1599145069.648 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio unknown to /usr/var/lib/lxc openwrt
$ Y q1 f" Q: }0 S: A8 { - lxc-start 1599145069.648 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu unknown to /usr/var/lib/lxc openwrt0 B5 V2 s) t; t5 }) x
- lxc-start 1599145069.648 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuacct unknown to /usr/var/lib/lxc openwrt" a5 |9 U# ~8 U; l9 M* Q% d6 e
- lxc-start 1599145069.648 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset unknown to /usr/var/lib/lxc openwrt/ H* }# e2 ]1 ]2 E& \9 h
- lxc-start 1599145069.648 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices unknown to /usr/var/lib/lxc openwrt
$ C9 i/ M/ V9 E, ]4 }+ B, x - lxc-start 1599145069.648 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer unknown to /usr/var/lib/lxc openwrt" w' X1 {4 M' C" t- u3 w
- lxc-start 1599145069.649 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory unknown to /usr/var/lib/lxc openwrt
0 t5 A# ^7 M* M - lxc-start 1599145069.649 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls unknown to /usr/var/lib/lxc openwrt
. z, H- G& ?" c - lxc-start 1599145069.649 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_prio unknown to /usr/var/lib/lxc openwrt/ y# o( H# ~* O- u, Z6 K
- lxc-start 1599145069.649 WARN lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup perf_event unknown to /usr/var/lib/lxc openwrt
: m- h8 Z( y/ u G: ^$ A$ X6 _ - lxc-start 1599145074.660 ERROR lxc_start_ui - lxc_start.c:main:342 - The container failed to start.3 P9 M# c3 q) z; Z
- lxc-start 1599145074.660 ERROR lxc_start_ui - lxc_start.c:main:344 - To get more details, run the container in foreground mode.
, q* p6 I5 E: \$ e% a - lxc-start 1599145074.660 ERROR lxc_start_ui - lxc_start.c:main:346 - Additional information can be obtained by setting the --logfile and --logpriority options.0 Y5 U; i% O* _4 j' `
复制代码
: P+ u/ \8 F" }' |$ T R& n9 HF450 V2报错了, }% e( A% k. t$ [9 a
https://github.com/mikma/lxd-openwrt
5 E1 h- S+ D, U' Q' V+ y似乎添加了aarch32架构
; V% w7 u! M" j但是我编译报错了% O w( q0 `& V8 e2 _( `
( I% O4 ^) n* H* L- N$ ~6 F( [+ v; R
所以启动容器的引导是放在initrd里的?2 e% `) n1 @7 X3 ?8 m
|