您尚未登录。

楼主 # 2022-08-13 11:40:30

ldl212
会员
注册时间: 2018-04-16
已发帖子: 19
积分: 4

V3S zero 5.2y的内核 Kernel panic - not syncing: Attempted to kill init!

请教一下大家,licheepi-zero 5.2y的内核 ,编译后出现这样的问题
我是从 tftp下载的 内核,设备树文件,启动起来就这样了
git 了好几遍,重新编译配置了好几遍,依然还是这样
日志如下

[    0.169924] printk: console [ttyS0] disabled
[    0.190228] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 35, base_baud = 1500000) is a U6_16550A
[    0.748144] printk: console [ttyS0] enabled
[    0.777464] libphy: Fixed MDIO Bus: probed
[    0.782179] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.787980] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.794271] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 38000)
[    0.803758] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.810998] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.818213] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.823188] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.829979] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.835632] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.849756] libphy: stmmac: probed
[    0.853875] dwmac-sun8i 1c30000.ethernet: Cannot get mdio-mux node
[    0.860276] ------------[ cut here ]------------
[    0.864900] kernel BUG at net/core/dev.c:9241!
[    0.869337] Internal error: Oops - BUG: 0 [#1] SMP ARM
[    0.874468] Modules linked in:
[    0.877528] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.2.0-licheepi-zero+ #1
[    0.884650] Hardware name: Allwinner sun8i Family
[    0.889364] PC is at free_netdev+0xe0/0xe4
[    0.893456] LR is at free_netdev+0x9c/0xe4
[    0.897547] pc : [<c061c26c>]    lr : [<c061c228>]    psr: 80000013
[    0.903794] sp : c3833df0  ip : fffff9a4  fp : 00000000
[    0.909010] r10: c0488cbc  r9 : c3833e04  r8 : c3b89c00
[    0.914227] r7 : c0b04c48  r6 : c3b94038  r5 : c3b94000  r4 : c3b93f88
[    0.920743] r3 : 00000001  r2 : 00000000  r1 : a0000013  r0 : c0b7440c
[    0.927262] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    0.934386] Control: 10c5387d  Table: 4000406a  DAC: 00000051
[    0.940123] Process swapper/0 (pid: 1, stack limit = 0x(ptrval))
[    0.946120] Stack: (0xc3833df0 to 0xc3834000)
[    0.950474] 3de0:                                     c3b89c80 0000000c c38ba010 c04881e8
[    0.958642] 3e00: c0b32948 c3b89800 c3a03900 16d696fd c0b84e04 c0b84e00 c38ba010 00000000
[    0.966809] 3e20: c0b84e04 ffffffed c0b32948 00000000 00000000 c0484c10 c38ba010 c0b32948
[    0.974977] 3e40: c0b32948 c0b04c48 00000000 c0a4bb18 00000007 c0484f90 c0b8757c c0864014
[    0.983144] 3e60: a0000013 c38ba010 00000000 c0b32948 c0b04c48 00000000 c0a4bb18 00000007
[    0.991312] 3e80: 00000000 c0485238 00000000 c0b32948 c38ba010 c04852c0 00000000 c0b32948
[    0.999480] 3ea0: c0485240 c04830c0 00000000 c3808f58 c389ce34 16d696fd 00000000 c0b32948
[    1.007647] 3ec0: c3b89780 00000000 c0b307b8 c04840b8 c0946cb8 ffffe000 c0b32948 c0b32948
[    1.015815] 3ee0: c0b04c48 ffffe000 c0a1e60c c0485adc c0b4cf80 c0b04c48 ffffe000 c01026fc
[    1.023983] 3f00: c09c4f7c 000000f1 000000f1 c013ae00 c09c3ca8 00000000 c0a00608 00000000
[    1.032150] 3f20: 00000006 00000006 c090a3d4 c090a448 c090a3fc c0b04c48 c0a3a818 c3f39990
[    1.040318] 3f40: c3f39998 16d696fd 00000000 16d696fd c0b4cf80 c0b4cf80 000000f1 c0a3a834
[    1.048486] 3f60: c0a3a83c 00000007 00000000 c0a00f20 00000006 00000006 00000000 c0a00608
[    1.056653] 3f80: 00000000 00000000 c07497a8 00000000 00000000 00000000 00000000 00000000
[    1.064820] 3fa0: 00000000 c07497b0 00000000 c01010e8 00000000 00000000 00000000 00000000
[    1.072987] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.081154] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[    1.089344] [<c061c26c>] (free_netdev) from [<c04881e8>] (release_nodes+0x178/0x1f4)
[    1.097088] [<c04881e8>] (release_nodes) from [<c0484c10>] (really_probe+0xd0/0x2d8)
[    1.104826] [<c0484c10>] (really_probe) from [<c0484f90>] (driver_probe_device+0x60/0x168)
[    1.113082] [<c0484f90>] (driver_probe_device) from [<c0485238>] (device_driver_attach+0x58/0x60)
[    1.121945] [<c0485238>] (device_driver_attach) from [<c04852c0>] (__driver_attach+0x80/0xbc)
[    1.130462] [<c04852c0>] (__driver_attach) from [<c04830c0>] (bus_for_each_dev+0x68/0xb4)
[    1.138631] [<c04830c0>] (bus_for_each_dev) from [<c04840b8>] (bus_add_driver+0x140/0x1e8)
[    1.146886] [<c04840b8>] (bus_add_driver) from [<c0485adc>] (driver_register+0x78/0x110)
[    1.154971] [<c0485adc>] (driver_register) from [<c01026fc>] (do_one_initcall+0x54/0x1b8)
[    1.163146] [<c01026fc>] (do_one_initcall) from [<c0a00f20>] (kernel_init_freeable+0x140/0x1dc)
[    1.171841] [<c0a00f20>] (kernel_init_freeable) from [<c07497b0>] (kernel_init+0x8/0x114)
[    1.180011] [<c07497b0>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
[    1.187568] Exception stack(0xc3833fb0 to 0xc3833ff8)
[    1.192612] 3fa0:                                     00000000 00000000 00000000 00000000
[    1.200779] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.208945] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.215555] Code: e19500b3 e0450000 e8bd4070 eaeeedbb (e7f001f2)
[    1.221652] ---[ end trace a912cb4ace74eb36 ]---
[    1.226391] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.234055] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]---

离线

楼主 #2 2022-08-13 12:13:47

ldl212
会员
注册时间: 2018-04-16
已发帖子: 19
积分: 4

Re: V3S zero 5.2y的内核 Kernel panic - not syncing: Attempted to kill init!

多谢坛主回复,我现在用的就是 16.04 lts版本。
我刚发现我得gcc版本 是 gcc version 5.4.0 20160609  我怀疑是这方面的原因,我更换一下编译器试试

离线

楼主 #3 2022-08-13 12:14:19

ldl212
会员
注册时间: 2018-04-16
已发帖子: 19
积分: 4

Re: V3S zero 5.2y的内核 Kernel panic - not syncing: Attempted to kill init!

我用这个版本 编译4.13y的都没问题启动都正常。

离线

楼主 #5 2022-08-13 14:55:05

ldl212
会员
注册时间: 2018-04-16
已发帖子: 19
积分: 4

Re: V3S zero 5.2y的内核 Kernel panic - not syncing: Attempted to kill init!

ldl212 说:

我用这个版本 编译4.13y的都没问题启动都正常。

后来更换编译器版本也不行,我重新下载了主线 5.10的版本 就可以了

离线

楼主 #6 2022-08-15 11:19:18

ldl212
会员
注册时间: 2018-04-16
已发帖子: 19
积分: 4

Re: V3S zero 5.2y的内核 Kernel panic - not syncing: Attempted to kill init!

@司徒 多谢多谢,我按照这个思路看看

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn