Kernel Panic during installation >2.25

Hi together,
I’ve tested the installer on different of my virtual environments: Virtualbox 6.1 with Remotebox on Ubuntu server 20.04. And on last version of Proxmox PVE server.
All installation until ipfire 2.25 are working. Installations since 2.27 generating a “Kernel Panic - not syncing: No working init found.” at the beginning. After installation with 2.25 and updating ipfire to latest 2.27 - 163 version, the VM’s are running smooth. Only the installer 2.27 - 159 and greater results in a Kernel panic.
I’ve testet several settings in the VM’s like CPU#, RAM-Size, BIOS/EFI, IDE/SATA, etc. Nothing helps.
Seems like the new Kernel within the installation process since 2.27 - 159 doesn’t like VM’s. Hmmm…?

Hallo @kamillentee

Welcome tpo the IPFire community.

I am using Virtualbox 6.1.32 on Arch Linux to create a vm network testbed that I use to evaluate new Core Updates of IPFire and for evaluation of bug fixes.

I have done updates both using Pakfire and full new installs with Core Update 160, 161 and 163 recently and had no problems with any kernel panics.

I suspect that your kernel panics might be affected by your vm setup.

What setup do you have with your Virtualbox IPFire vm?

1 Like

I had exactly the same problem even though I was using an EFI desktop instead of a VM. Like the original poster, core 158 worked while the latest one gave me the kernel panic when I tried installing it.

Hi @garnet

Welcome to the IPFire community.

I haven’t seen any kernel panics in any of the Core Updates in my physical IPFire system or my vm systems. That includes Core Update 175 Testing.

To hopefully get some clue what is triggering the kernel panic that you are experiencing can you post a copy of the kernel panic error messages.

If you can’t easily do a screenshot due to the kernel panic then a photograph would also be adequate.

Some of the kernel experts may then be able to identify what settings etc might be causing the panic to occur.

unbelievable :open_mouth:
lucky me can help you out:

Loading vmlinuz...Loading vmlinuz...  ookk
Loading instroot..Loading instroot....ookk

Probing EDD (edd=off to disable)... o


Linux version 6.1.11-ipfire (root@x86-01.haj.ipfire.org) (gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.403
Command line: BOOT_IMAGE=vmlinuz console=ttyS0,115200 novga initrd=instroot
x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
signal: max sigframe size: 1360
BIOS-provided physical RAM map:
BIOS-e820: [mem 0x0000000000000000-0x000000000009bfff] usable
BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
BIOS-e820: [mem 0x0000000000100000-0x00000000cfb42fff] usable
BIOS-e820: [mem 0x00000000cfe8e000-0x00000000cfffffff] reserved
BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
BIOS-e820: [mem 0x00000000fec10000-0x00000000fec10fff] reserved
BIOS-e820: [mem 0x00000000fed40000-0x00000000fed44fff] reserved
BIOS-e820: [mem 0x0000000100000000-0x000000012effffff] usable
BIOS-e820: [mem 0x000000012f000000-0x000000012fffffff] reserved
NX (Execute Disable) protection: active
SMBIOS 3.0.0 present.
DMI: PC Engines apu6/apu6, BIOS v4.17.0.3 08/22/2022
tsc: Fast TSC calibration using PIT
tsc: Detected 998.205 MHz processor
last_pfn = 0x12f000 max_arch_pfn = 0x400000000
x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT
last_pfn = 0xcfb43 max_arch_pfn = 0x400000000
Using GB pages for direct mapping
RAMDISK: [mem 0x7c44a000-0x7fffffff]
ACPI: Early table checksum verification disabled
ACPI: RSDP 0x00000000000F2990 000024 (v02 COREv4)
ACPI: XSDT 0x00000000CFEAB0E0 000074 (v01 COREv4 COREBOOT 00000000 CORE 20200925)
ACPI: FACP 0x00000000CFEACE10 000114 (v06 COREv4 COREBOOT 00000000 CORE 20200925)
ACPI: DSDT 0x00000000CFEAB280 001B87 (v02 COREv4 COREBOOT 00010001 INTL 20200925)
ACPI: FACS 0x00000000CFEAB240 000040
ACPI: SSDT 0x00000000CFEACF30 0001F3 (v02 COREv4 COREBOOT 0000002A CORE 20200925)
ACPI: MCFG 0x00000000CFEAD130 00003C (v01 COREv4 COREBOOT 00000000 CORE 20200925)
ACPI: TPM2 0x00000000CFEAD170 00004C (v04 COREv4 COREBOOT 00000000 CORE 20200925)
ACPI: APIC 0x00000000CFEAD1C0 00007E (v03 COREv4 COREBOOT 00000000 CORE 20200925)
ACPI: HEST 0x00000000CFEAD240 0001D0 (v01 COREv4 COREBOOT 00000000 CORE 20200925)
ACPI: SSDT 0x00000000CFEAD410 0048A6 (v02 AMD    AGESA    00000002 MSFT 04000000)
ACPI: SSDT 0x00000000CFEB1CC0 0007C8 (v01 AMD    AGESA    00000001 AMD  00000001)
ACPI: DRTM 0x00000000CFEB2490 00007C (v01 COREv4 COREBOOT 00000000 CORE 20200925)
ACPI: HPET 0x00000000CFEB2510 000038 (v01 COREv4 COREBOOT 00000000 CORE 20200925)
ACPI: Reserving FACP table memory at [mem 0xcfeace10-0xcfeacf23]
ACPI: Reserving DSDT table memory at [mem 0xcfeab280-0xcfeace06]
ACPI: Reserving FACS table memory at [mem 0xcfeab240-0xcfeab27f]
ACPI: Reserving SSDT table memory at [mem 0xcfeacf30-0xcfead122]
ACPI: Reserving MCFG table memory at [mem 0xcfead130-0xcfead16b]
ACPI: Reserving TPM2 table memory at [mem 0xcfead170-0xcfead1bb]
ACPI: Reserving APIC table memory at [mem 0xcfead1c0-0xcfead23d]
ACPI: Reserving HEST table memory at [mem 0xcfead240-0xcfead40f]
ACPI: Reserving SSDT table memory at [mem 0xcfead410-0xcfeb1cb5]
ACPI: Reserving SSDT table memory at [mem 0xcfeb1cc0-0xcfeb2487]
ACPI: Reserving DRTM table memory at [mem 0xcfeb2490-0xcfeb250b]
ACPI: Reserving HPET table memory at [mem 0xcfeb2510-0xcfeb2547]
Zone ranges:
  DMA      [mem 0x0000000000001000-0x0000000000ffffff]
  DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
  Normal   [mem 0x0000000100000000-0x000000012effffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000001000-0x000000000009bfff]
  node   0: [mem 0x0000000000100000-0x00000000cfb42fff]
  node   0: [mem 0x0000000100000000-0x000000012effffff]
Initmem setup node 0 [mem 0x0000000000001000-0x000000012effffff]
On node 0, zone DMA: 1 pages in unavailable ranges
On node 0, zone DMA: 100 pages in unavailable ranges
On node 0, zone Normal: 1213 pages in unavailable ranges
On node 0, zone Normal: 4096 pages in unavailable ranges
ACPI: PM-Timer IO Port: 0x818
ACPI: LAPIC_NMI (acpi_id[0xff] high edge lint[0x1])
IOAPIC[0]: apic_id 4, version 33, address 0xfec00000, GSI 0-23
IOAPIC[1]: apic_id 5, version 33, address 0xfec20000, GSI 24-55
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: Using ACPI (MADT) for SMP configuration information
ACPI: HPET id: 0x10228201 base: 0xfed00000
smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[mem 0xd0000000-0xf7ffffff] available for PCI devices
Booting paravirtualized kernel on bare hardware
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
setup_percpu: NR_CPUS:64 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
percpu: Embedded 54 pages/cpu s182824 r8192 d30168 u524288
Built 1 zonelists, mobility grouping on.  Total pages: 1026709
Kernel command line: BOOT_IMAGE=vmlinuz console=ttyS0,115200 novga initrd=instroot
Unknown kernel command line parameters "novga BOOT_IMAGE=vmlinuz", will be passed to user space.
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
mem auto-init: stack:all(zero), heap alloc:on, heap free:off
software IO TLB: area num 4.
Memory: 3936852K/4172664K available (14343K kernel code, 2403K rwdata, 4120K rodata, 1864K init, 2068K)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
ftrace: allocating 38158 entries in 150 pages
ftrace: allocated 150 pages with 4 groups
Dynamic Preempt: voluntary
rcu: Preemptible hierarchical RCU implementation.
rcu:    RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
        Trampoline variant of Tasks RCU enabled.
        Rude variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
NR_IRQS: 4352, nr_irqs: 1000, preallocated irqs: 16
rcu: srcu_init: Setting srcu_struct sizes based on contention.
kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
Console: colour dummy device 80x25
printk: console [ttyS0] enabled
ACPI: Core revision 20220331
clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484873504 ns
APIC: Switch to symmetric I/O mode setup
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x1cc6eebfb1d, max_idle_ns: 881590453100 s
Calibrating delay loop (skipped), value calculated using timer frequency.. 1996.41 BogoMIPS (lpj=99820)
pid_max: default: 32768 minimum: 301
LSM: Security Framework initializing
Yama: becoming mindful.
Stack Depot allocating hash table of 262144 entries with kvcalloc
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
LVT offset 1 assigned for vector 0xf9
Last level iTLB entries: 4KB 512, 2MB 8, 4MB 4
Last level dTLB entries: 4KB 512, 2MB 256, 4MB 128, 1GB 0
Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
Spectre V2 : Mitigation: Retpolines
Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
Spectre V2 : Spectre v2 / SpectreRSB : Filling RSB on VMEXIT
RETBleed: Mitigation: untrained return thunk
Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl
Freeing SMP alternatives memory: 36K
smpboot: CPU0: AMD GX-412TC SOC (family: 0x16, model: 0x30, stepping: 0x1)
cblist_init_generic: Setting adjustable number of callback queues.
cblist_init_generic: Setting shift to 2 and lim to 1.
cblist_init_generic: Setting shift to 2 and lim to 1.
Performance Events: AMD PMU driver.
... version:                0
... bit width:              48
... generic registers:      4
... value mask:             0000ffffffffffff
... max period:             00007fffffffffff
... fixed-purpose events:   0
... event mask:             000000000000000f
rcu: Hierarchical SRCU implementation.
rcu:    Max phase no-delay instances is 400.
NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
smp: Bringing up secondary CPUs ...
x86: Booting SMP configuration:
.... node  #0, CPUs:      #1 #2 #3
smp: Brought up 1 node, 4 CPUs
smpboot: Max logical packages: 1
smpboot: Total of 4 processors activated (7985.64 BogoMIPS)
devtmpfs: initialized
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered PF_NETLINK/PF_ROUTE protocol family
thermal_sys: Registered thermal governor 'fair_share'
thermal_sys: Registered thermal governor 'bang_bang'
thermal_sys: Registered thermal governor 'step_wise'
thermal_sys: Registered thermal governor 'user_space'
cpuidle: using governor ladder
cpuidle: using governor menu
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
PCI: Using configuration type 1 for base access
cryptd: max_cpu_qlen set to 1000
ACPI: Added _OSI(Module Device)
ACPI: Added _OSI(Processor Device)
ACPI: Added _OSI(3.0 _SCP Extensions)
ACPI: Added _OSI(Processor Aggregator Device)
ACPI: 4 ACPI AML tables successfully acquired and loaded
ACPI: Interpreter enabled
ACPI: PM: (supports S0 S5)
ACPI: Using IOAPIC for interrupt routing
HEST: Table parsing has been initialized.
GHES: Failed to enable APEI firmware first mode.
PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
PCI: Using E820 reservations for host bridge windows
ACPI: Enabled 7 GPEs in block 00 to 1F
ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]
acpi PNP0A08:00: _OSC: OS now controls [PCIeHotplug PME AER PCIeCapability LTR]
acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bride
acpi PNP0A08:00: host bridge window expanded to [io  0x0000-0x0cf7 window]; [io  0x03b0-0x03df window]d
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000dffff]
pci_bus 0000:00: root bus resource [mem 0xd0000000-0xffffffff]
pci_bus 0000:00: root bus resource [bus 00-ff]
pci 0000:00:00.0: [1022:1566] type 00 class 0x060000
pci 0000:00:00.2: [1022:1567] type 00 class 0x080600
pci 0000:00:02.0: [1022:156b] type 00 class 0x060000
pci 0000:00:02.1: [1022:1439] type 01 class 0x060400
pci 0000:00:02.1: enabling Extended Tags
pci 0000:00:02.1: PME# supported from D0 D3hot D3cold
pci 0000:00:02.2: [1022:1439] type 01 class 0x060400
pci 0000:00:02.2: enabling Extended Tags
pci 0000:00:02.2: PME# supported from D0 D3hot D3cold
pci 0000:00:02.3: [1022:1439] type 01 class 0x060400
pci 0000:00:02.3: enabling Extended Tags
pci 0000:00:02.3: PME# supported from D0 D3hot D3cold
pci 0000:00:02.4: [1022:1439] type 01 class 0x060400
pci 0000:00:02.4: enabling Extended Tags
pci 0000:00:02.4: PME# supported from D0 D3hot D3cold
pci 0000:00:02.5: [1022:1439] type 01 class 0x060400
pci 0000:00:02.5: enabling Extended Tags
pci 0000:00:02.5: PME# supported from D0 D3hot D3cold
pci 0000:00:08.0: [1022:1537] type 00 class 0x108000
pci 0000:00:08.0: reg 0x10: [mem 0xd0b00000-0xd0b1ffff 64bit pref]
pci 0000:00:08.0: reg 0x18: [mem 0xd0900000-0xd09fffff]
pci 0000:00:08.0: reg 0x1c: [mem 0xd0b24000-0xd0b24fff]
pci 0000:00:08.0: reg 0x20: [mem 0xd0a00000-0xd0afffff]
pci 0000:00:08.0: reg 0x24: [mem 0xd0b20000-0xd0b21fff]
pci 0000:00:10.0: [1022:7814] type 00 class 0x0c0330
pci 0000:00:10.0: reg 0x10: [mem 0xd0b22000-0xd0b23fff 64bit]
pci 0000:00:10.0: PME# supported from D0 D3hot D3cold
pci 0000:00:11.0: [1022:7801] type 00 class 0x010601
pci 0000:00:11.0: reg 0x10: [io  0x5010-0x5017]
pci 0000:00:11.0: reg 0x14: [io  0x5020-0x5023]
pci 0000:00:11.0: reg 0x18: [io  0x5018-0x501f]
pci 0000:00:11.0: reg 0x1c: [io  0x5024-0x5027]
pci 0000:00:11.0: reg 0x20: [io  0x5000-0x500f]
pci 0000:00:11.0: reg 0x24: [mem 0xd0b25000-0xd0b253ff]
pci 0000:00:11.0: PME# supported from D3hot
pci 0000:00:12.0: [1022:7808] type 00 class 0x0c0320
pci 0000:00:12.0: reg 0x10: [mem 0xd0b26000-0xd0b260ff]
pci 0000:00:12.0: supports D1 D2
pci 0000:00:12.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:13.0: [1022:7808] type 00 class 0x0c0320
pci 0000:00:13.0: reg 0x10: [mem 0xd0b27000-0xd0b270ff]
pci 0000:00:13.0: supports D1 D2
pci 0000:00:13.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:14.0: [1022:780b] type 00 class 0x0c0500
pci 0000:00:14.3: [1022:780e] type 00 class 0x060100
pci 0000:00:14.7: [1022:7813] type 00 class 0x080501
pci 0000:00:14.7: reg 0x10: [mem 0xd0b28000-0xd0b280ff 64bit]
pci 0000:00:18.0: [1022:1580] type 00 class 0x060000
pci 0000:00:18.1: [1022:1581] type 00 class 0x060000
pci 0000:00:18.2: [1022:1582] type 00 class 0x060000
pci 0000:00:18.3: [1022:1583] type 00 class 0x060000
pci 0000:00:18.4: [1022:1584] type 00 class 0x060000
pci 0000:00:18.5: [1022:1585] type 00 class 0x060000
pci 0000:01:00.0: working around ROM BAR overlap defect
pci 0000:01:00.0: [8086:1536] type 00 class 0x020000
pci 0000:01:00.0: reg 0x10: [mem 0xd0300000-0xd03fffff]
pci 0000:01:00.0: reg 0x18: [io  0x1000-0x101f]
pci 0000:01:00.0: reg 0x1c: [mem 0xd0500000-0xd0503fff]
pci 0000:01:00.0: reg 0x30: [mem 0xd0400000-0xd04fffff pref]
pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
pci 0000:00:02.1: PCI bridge to [bus 01]
pci 0000:00:02.1:   bridge window [io  0x1000-0x1fff]
pci 0000:00:02.1:   bridge window [mem 0xd0300000-0xd05fffff]
pci 0000:02:00.0: [8086:1539] type 00 class 0x020000
pci 0000:02:00.0: reg 0x10: [mem 0xd0600000-0xd061ffff]
pci 0000:02:00.0: reg 0x18: [io  0x2000-0x201f]
pci 0000:02:00.0: reg 0x1c: [mem 0xd0620000-0xd0623fff]
pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
pci 0000:00:02.2: PCI bridge to [bus 02]
pci 0000:00:02.2:   bridge window [io  0x2000-0x2fff]
pci 0000:00:02.2:   bridge window [mem 0xd0600000-0xd06fffff]
pci 0000:03:00.0: [8086:1539] type 00 class 0x020000
pci 0000:03:00.0: reg 0x10: [mem 0xd0700000-0xd071ffff]
pci 0000:03:00.0: reg 0x18: [io  0x3000-0x301f]
pci 0000:03:00.0: reg 0x1c: [mem 0xd0720000-0xd0723fff]
pci 0000:03:00.0: PME# supported from D0 D3hot D3cold
pci 0000:00:02.3: PCI bridge to [bus 03]
pci 0000:00:02.3:   bridge window [io  0x3000-0x3fff]
pci 0000:00:02.3:   bridge window [mem 0xd0700000-0xd07fffff]
pci 0000:04:00.0: [8086:1539] type 00 class 0x020000
pci 0000:04:00.0: reg 0x10: [mem 0xd0800000-0xd081ffff]
pci 0000:04:00.0: reg 0x18: [io  0x4000-0x401f]
pci 0000:04:00.0: reg 0x1c: [mem 0xd0820000-0xd0823fff]
pci 0000:04:00.0: PME# supported from D0 D3hot D3cold
pci 0000:00:02.4: PCI bridge to [bus 04]
pci 0000:00:02.4:   bridge window [io  0x4000-0x4fff]
pci 0000:00:02.4:   bridge window [mem 0xd0800000-0xd08fffff]
pci 0000:05:00.0: [168c:003c] type 00 class 0x028000
pci 0000:05:00.0: reg 0x10: [mem 0xd0000000-0xd01fffff 64bit]
pci 0000:05:00.0: reg 0x30: [mem 0xd0200000-0xd020ffff pref]
pci 0000:05:00.0: supports D1
pci 0000:05:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:02.5: PCI bridge to [bus 05]
pci 0000:00:02.5:   bridge window [mem 0xd0000000-0xd02fffff]
ACPI: PCI: Interrupt link INTA configured for IRQ 3
ACPI: PCI: Interrupt link INTB configured for IRQ 3
ACPI: PCI: Interrupt link INTC configured for IRQ 5
ACPI: PCI: Interrupt link INTD configured for IRQ 7
ACPI: PCI: Interrupt link INTE configured for IRQ 11
ACPI: PCI: Interrupt link INTF configured for IRQ 10
ACPI: PCI: Interrupt link INTG configured for IRQ 0
ACPI: PCI: Interrupt link INTH configured for IRQ 0
iommu: Default domain type: Translated
iommu: DMA domain TLB invalidation policy: strict mode
SCSI subsystem initialized
ACPI: bus type USB registered
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
EDAC MC: Ver: 3.0.0
PCI: Using ACPI for IRQ routing
vgaarb: loaded
hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
hpet0: 3 comparators, 32-bit 14.318180 MHz counter
clocksource: Switched to clocksource tsc-early
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
pnp: PnP ACPI init
system 00:00: [mem 0xfec10002-0xfec11001] could not be reserved
pnp: PnP ACPI: found 4 devices
clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
NET: Registered PF_INET protocol family
IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
TCP: Hash tables configured (established 32768 bind 32768)
UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
NET: Registered PF_UNIX/PF_LOCAL protocol family
pci 0000:00:02.1: PCI bridge to [bus 01]
pci 0000:00:02.1:   bridge window [io  0x1000-0x1fff]
pci 0000:00:02.1:   bridge window [mem 0xd0300000-0xd05fffff]
pci 0000:00:02.2: PCI bridge to [bus 02]
pci 0000:00:02.2:   bridge window [io  0x2000-0x2fff]
pci 0000:00:02.2:   bridge window [mem 0xd0600000-0xd06fffff]
pci 0000:00:02.3: PCI bridge to [bus 03]
pci 0000:00:02.3:   bridge window [io  0x3000-0x3fff]
pci 0000:00:02.3:   bridge window [mem 0xd0700000-0xd07fffff]
pci 0000:00:02.4: PCI bridge to [bus 04]
pci 0000:00:02.4:   bridge window [io  0x4000-0x4fff]
pci 0000:00:02.4:   bridge window [mem 0xd0800000-0xd08fffff]
pci 0000:00:02.5: PCI bridge to [bus 05]
pci 0000:00:02.5:   bridge window [mem 0xd0000000-0xd02fffff]
pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000dffff]
pci_bus 0000:00: resource 7 [mem 0xd0000000-0xffffffff]
pci_bus 0000:01: resource 0 [io  0x1000-0x1fff]
pci_bus 0000:01: resource 1 [mem 0xd0300000-0xd05fffff]
pci_bus 0000:02: resource 0 [io  0x2000-0x2fff]
pci_bus 0000:02: resource 1 [mem 0xd0600000-0xd06fffff]
pci_bus 0000:03: resource 0 [io  0x3000-0x3fff]
pci_bus 0000:03: resource 1 [mem 0xd0700000-0xd07fffff]
pci_bus 0000:04: resource 0 [io  0x4000-0x4fff]
pci_bus 0000:04: resource 1 [mem 0xd0800000-0xd08fffff]
pci_bus 0000:05: resource 1 [mem 0xd0000000-0xd02fffff]
pci 0000:00:12.0: PME# does not work under D3, disabling it
pci 0000:00:13.0: PME# does not work under D3, disabling it
PCI: CLS 64 bytes, default 64
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
Trying to unpack rootfs image as initramfs...
software IO TLB: mapped [mem 0x00000000cbb43000-0x00000000cfb43000] (64MB)
LVT offset 0 assigned for vector 0x400
perf: AMD IBS detected (0x000000ff)
amd_uncore: 4  amd_nb counters detected
amd_uncore: 4  amd_l2 counters detected
Initialise system trusted keyrings
workingset: timestamp_bits=46 max_order=20 bucket_order=0
NET: Registered PF_ALG protocol family
Key type asymmetric registered
Asymmetric key parser 'x509' registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
io scheduler mq-deadline registered
io scheduler kyber registered
io scheduler bfq registered
pcieport 0000:00:02.1: PME: Signaling with IRQ 25
pcieport 0000:00:02.1: AER: enabled with IRQ 25
pcieport 0000:00:02.2: PME: Signaling with IRQ 27
pcieport 0000:00:02.2: AER: enabled with IRQ 27
pcieport 0000:00:02.3: PME: Signaling with IRQ 29
pcieport 0000:00:02.3: AER: enabled with IRQ 29
pcieport 0000:00:02.4: PME: Signaling with IRQ 31
pcieport 0000:00:02.4: AER: enabled with IRQ 31
pcieport 0000:00:02.5: PME: Signaling with IRQ 32
pcieport 0000:00:02.5: AER: enabled with IRQ 32
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
ACPI: button: Power Button [PWRF]
ACPI: \_SB_.P000: Found 2 idle states
ACPI: \_SB_.P001: Found 2 idle states
ACPI: \_SB_.P002: Found 2 idle states
ACPI: \_SB_.P003: Found 2 idle states
thermal LNXTHERM:00: registered as thermal_zone0
Freeing initrd memory: 61144K
ACPI: thermal: Thermal Zone [TZ00] (55 C)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
00:02: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
00:03: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 115200) is a 16550A
serial8250: ttyS2 at I/O 0x3e8 (irq = 4, base_baud = 115200) is a 16550A
serial8250: ttyS3 at I/O 0x2e8 (irq = 3, base_baud = 115200) is a 16550A
Non-volatile memory driver v1.3
Linux agpgart interface v0.103
AMD-Vi: AMD IOMMUv2 functionality not available on this system - This is not a bug.
brd: module loaded
loop: module loaded
ahci 0000:00:11.0: AHCI 0001.0300 32 slots 2 ports 6 Gbps 0x3 impl SATA mode
ahci 0000:00:11.0: flags: 64bit ncq sntf ilck pm led clo pmp fbs pio slum part
scsi host0: ahci
scsi host1: ahci
ata1: SATA max UDMA/133 abar m1024@0xd0b25000 port 0xd0b25100 irq 19
ata2: SATA max UDMA/133 abar m1024@0xd0b25000 port 0xd0b25180 irq 19
ehci-pci 0000:00:12.0: EHCI Host Controller
ehci-pci 0000:00:12.0: new USB bus registered, assigned bus number 1
ehci-pci 0000:00:12.0: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
ehci-pci 0000:00:12.0: debug port 2
ehci-pci 0000:00:12.0: irq 18, io mem 0xd0b26000
ehci-pci 0000:00:12.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 6.1.11-ipfire ehci_hcd
usb usb1: SerialNumber: 0000:00:12.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ehci-pci 0000:00:13.0: EHCI Host Controller
ata2: SATA link down (SStatus 0 SControl 300)
ehci-pci 0000:00:13.0: new USB bus registered, assigned bus number 2
ehci-pci 0000:00:13.0: applying AMD SB700/SB800/Hudson-2/3 EHCI dummy qh workaround
ehci-pci 0000:00:13.0: debug port 2
ehci-pci 0000:00:13.0: irq 18, io mem 0xd0b27000
ehci-pci 0000:00:13.0: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 6.1.11-ipfire ehci_hcd
usb usb2: SerialNumber: 0000:00:13.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
xhci_hcd 0000:00:10.0: xHCI Host Controller
xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 3
ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
ata1.00: ATA-10: TS128GMSA230S, R0427GN1, max UDMA/133
ata1.00: 250069680 sectors, multi 16: LBA48 NCQ (depth 32), AA
ata1.00: Features: Dev-Sleep
ata1.00: configured for UDMA/133
xhci_hcd 0000:00:10.0: hcc params 0x014040c3 hci version 0x100 quirks 0x0000000000000410
scsi 0:0:0:0: Direct-Access     ATA      TS128GMSA230S    7GN1 PQ: 0 ANSI: 5
xhci_hcd 0000:00:10.0: xHCI Host Controller
sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)
xhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 4
sd 0:0:0:0: [sda] Write Protect is off
xhci_hcd 0000:00:10.0: Host supports USB 3.0 SuperSpeed
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: xHCI Host Controller
usb usb3: Manufacturer: Linux 6.1.11-ipfire xhci-hcd
usb usb3: SerialNumber: 0000:00:10.0
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.01
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
 sda: sda1 sda2 sda3 sda4
usb usb4: Product: xHCI Host Controller
sd 0:0:0:0: [sda] Attached SCSI disk
usb 1-1: new high-speed USB device number 2 using ehci-pci
usb usb4: Manufacturer: Linux 6.1.11-ipfire xhci-hcd
usb usb4: SerialNumber: 0000:00:10.0
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usbcore: registered new interface driver uas
usbcore: registered new interface driver usb-storage
tsc: Refined TSC clocksource calibration: 998.128 MHz
i8042: PNP: No PS/2 controller found.
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1cc65d64e77, max_idle_ns: 881590512558 ns
i8042: Probing ports directly.
i8042: No controller found
clocksource: Switched to clocksource tsc
mousedev: PS/2 mouse device common for all mice
rtc_cmos 00:01: RTC can wake from S4
rtc_cmos 00:01: registered as rtc0
rtc_cmos 00:01: setting system clock to 2023-04-14T17:14:59 UTC (1681492499)
rtc_cmos 00:01: alarms up to one day, y3k, 114 bytes nvram, hpet irqs
ledtrig-cpu: registered to indicate activity on CPUs
hid: raw HID events driver (C) Jiri Kosina
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Initializing XFRM netlink socket
NET: Registered PF_INET6 protocol family
usb 2-1: new high-speed USB device number 2 using ehci-pci
Segment Routing with IPv6
In-situ OAM (IOAM) with IPv6
NET: Registered PF_PACKET protocol family
usb 1-1: New USB device found, idVendor=0438, idProduct=7900, bcdDevice= 0.18
Bridge firewalling registered
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 1-1:1.0: USB hub found
Key type dns_resolver registered
x86/pm: family 0x16 cpu detected, MSR saving is needed during suspending.
hub 1-1:1.0: 4 ports detected
microcode: CPU0: patch_level=0x07030105
microcode: CPU1: patch_level=0x07030105
microcode: CPU2: patch_level=0x07030105
microcode: CPU3: patch_level=0x07030105
microcode: Microcode Update Driver: v2.2.
IPI shorthand broadcast: enabled
AVX version of gcm_enc/dec engaged.
AES CTR mode by8 optimization enabled
sched_clock: Marking stable (2006496097, 593201434)->(3295471577, -695774046)
registered taskstats version 1
Loading compiled-in X.509 certificates
usb 2-1: New USB device found, idVendor=0438, idProduct=7900, bcdDevice= 0.18
usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
Loaded X.509 cert 'IPFire.org: Build time autogenerated kernel key: 28581ef6515f9afc5f940e1fb3a5680a43'
usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd
usb 4-2: New USB device found
usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-2: Product: 
usb 4-2: Manufacturer: 
usb 4-2: SerialNumber: 
usb-storage 4-2:1.0: USB Mass Storage device detected
scsi host2: usb-storage 4-2:1.0
Freeing unused kernel image (initmem) memory: 1864K
Write protecting the kernel read-only data: 22528k
Freeing unused kernel image (text/rodata gap) memory: 2040K
Freeing unused kernel image (rodata/data gap) memory: 2024K
x86/mm: Checked W+X mappings: passed, no W+X pages found.
Run /init as init process
Failed to execute /init (error -8)
Run /sbin/init as init process
Starting init: /sbin/init exists but couldn't execute it (error -8)
Run /etc/init as init process
Run /bin/init as init process
Run /bin/sh as init process
Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Docu.
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.1.11-ipfire #1
Hardware name: PC Engines apu6/apu6, BIOS v4.17.0.3 08/22/2022
Call Trace:
 <TASK>
 dump_stack_lvl+0x44/0x66
 panic+0x118/0x28b
 ? rest_init+0xc0/0xc0
 kernel_init+0x11e/0x120
 ret_from_fork+0x22/0x30
 </TASK>
Kernel Offset: 0x37c00000 from 0xffffffff80400000 (relocation range: 0xffffffff80000000-0xffffffffbfff)
---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See L-

:person_shrugging:

All the other kernel panics that have been previously mentioned were related to driver issues for networks or usb or etc.

The kernel panic you have is occurring because the kernel finds the init file but is unable to execute it.

The usual reason something can’t be executed is because it has either become corrupted or it has the wrong permissions.

Some basic facts would help.

Did this occur during a Core Update. If yes, what CU were you coming from and to which one?
If it didn’t occur during a Core Update what was done just before you carried out the reboot?

A quick check on the permissions and ownership of the init file that you have. It should be like the following:-

ls -hal /sbin/init
-rwxr-xr-x 1 root root 52K Dec 27 16:50 /sbin/init

The above is from my CU174 system.

If those permissions and ownership are the same as yours then the only other thing I can think of is that the file is corrupted but I can’t think how to determine that as it is a binary file so you can’t easily look at it.

One of the other forum members more experienced in kernel matters would need to give their input.

One thing I have just found with searching is some people that had this problem because their boot partition was too small. If you have a system that has been in existence for a long time and never been re-installed then you may have a much smaller boot partition than is now installed and there might just be insufficient space.

You can check that with running the df command - following is from my system.

df -hl
Filesystem Size Used Avail Use% Mounted on
devtmpfs 1.9G 4.0K 1.9G 1% /dev
tmpfs 2.0G 12K 2.0G 1% /dev/shm
tmpfs 2.0G 620K 2.0G 1% /run
/dev/sda4 233G 11G 210G 5% /
/dev/sda1 236M 52M 167M 24% /boot
/dev/sda2 32M 270K 32M 1% /boot/efi
/var/lock 8.0M 16K 8.0M 1% /var/lock

What does your boot look like and do you have a /var partition?

:person_raising_hand: @bonnietwin
it is a apu6 board, new one, no upgrade just installation.
ipfire full iso booted via ventoy from usb stick
in sssseeeerrrriiiiaaaallll mmmmooooddddeeee :crazy_face:

EDiTH: maybe the ventoy :thinking:

I had no idea what a ventoy was. I had to search for it.

I have an apu4 board system (Lightning Wire Labs mini system).

I did a dd of the iso to my usb stick (as per the wiki page) and then installed from that and have not had any problems. I have re-installed a couple of times on the system.

The apps that people have mentioned in the past (and are in the wiki page) are dd, Rufus and Balena Etcher.

I have experience of dd only.

According to the Ventoy web site IPFire works with it but I am not sure who has tested it and when as they have a list of 275 distros, the majority of which they have marked as “Ventoy test OK”.

There has been another post where someone has reported that when they used the ventoy app it always ended up with a kernel panic. They changed to Rufus and it worked.
https://community.ipfire.org/t/kernel-panic-on-attempted-install/9589/16?u=bonnietwin

It is reported that Ventoy works on the basis that the distro it is being used on either uses dm-mod or dm-crypt modules. Neither of these are enabled in IPFire. It needs these modules apparently because it injects some code into the boot process.
I don’t understand the details but the sound of “injecting some code into the boot process” does not make me want to use it on a firewall distro.

It was apparently tested with Core Update 144 on a QEMU KVM.
At that time the dm-mod and dm-crypt kernel modules did not even exist in IPFire so clearly at that time the ventoy app used a different methodology than it does now.

1 Like

@bonnietwin
ur welcome :partying_face: ventoy is kind of ‘new tech’ :laughing:
i am very glad this was developed as i was more than tired of dd/rufus
every single iso to a single device :thinking:
there are better things to spend time on :smile_cat:

however: ipfire iso on ventoy wont work with apu6 sseeerrrriiiiiaaaaaallllll
i rufus’ed the iso to a stick :mantelpiece_clock: et voila :hamster: :tada:

win/win/lose one could say:
@bonnietwin can now produce a kernel panic :+1:
@current_user now knows ipfire wont install via ventoy w/sseeerrrrriiiiiiaaaaaaallllllll :+1:
@kamillentee 's op is still open :wind_face: :leaves:

I have installed IPFire several times using Ventoy without any problems, however, not on the APU.

Here are some hints found on forums related to ventoy and kernel panic:

Check the checksum of the iso file after copying to the ventoy flash drive.

Things to check:

  1. Flash latest version of Ventoy .
  2. Make sure in the “Options”, Secure boot is unchecked.

BR

@tphz
maybe it is not only on apu boards :bulb:
connect via serial console
and give it a try :popcorn: then report back :newspaper_roll:

if there is a vga console: it works :+1: with or without ventoy

1 Like

maybe this will help:

It is ventoy. On my up to date ventoy stick IPFire fails with various panic’s also with vga.
Old ventoy versions has worked some time ago.

2 Likes

I tried to cut & paste a script (since I couldn’t figure out how to upload a text file) and it came out horrible.

I think that there is also a problem with efi. Like the original poster, I was able to install core-158 (with a ventoy USB) on an EFI stand alone server; but, got a kernel panic when I tried to install core-174.

However, I was able to reproduce a similar problem with libvirt-8.0.0-10.2 running on an RHEL 8.7 server. It will install fine with the boot option set to BIOS using the core-174 ISO. And, it will install a RHEL 7 iso with the boot option set to uefi. But, I get the following error when I try the same thing with the core-174 iso. (No ventoy involved.)

I used the following script to make it easy to configure the various options.

#!/bin/sh
NAME=ipfire
ARCH=“–arch=x86_64”
CPU=“–vcpus=2”
RAM=“–ram=2048”
OS=“–os-type=linux”
VARIANT=“–os-variant=rhel8-unknown”
“#” SRC=“–cdrom=/vhosts/ISOs/rhel-8.8-x86_64-dvd.iso”
SRC=“–cdrom=/vhosts/ISOs/ipfire-2.27-core174-x86_64.iso”
BOOT=“–boot hd,cdrom,menu=on”
“#“BOOT=”–boot cdrom,hd,menu=on,uefi”
SIZE=“size=60”
SPARSE=“sparse=true”
FORMAT=“format=qcow2”
DISK=“–disk /var/lib/libvirt/images/${NAME}.qcow2,$SIZE,$SPARSE,$FORMAT”
NET0=“–network model=e1000,bridge=br0”
NET1=“–network model=e1000,bridge=br1”
GR=“–graphics vnc,listen=127.0.0.1”
CON=“–noautoconsole”
AUTO=“–autostart”

virt-install --name=$NAME $ARCH $CPU $RAM $OS $VARIANT $SRC $EX $BOOT $DISK
$DISK1 $CD $NET0 $NET1 $NET2 $NET3 $NET4 $GR $CON $AUTO

echo “virt-install --name=$NAME $ARCH $CPU $RAM $OS $VARIANT $SRC $EX $BOOT $DISK $CD $NET $GR $CON $AUTO”

NcpAME=“”
ARCH=“”
CPU=“”
RAM=“”
OS=“”
VARIANT=“”
SRC=“”
EX=“”
BOOT=“”
DISK=“”
DISK1=“”
CD=“”
NET=“”
GR=“”
CON=“”
AUTO=“”

I had to quote the “#” otherwise, it dropped the “#” and cam out bold.

Qemu report that it is not allowed to read. It may a bug in qemu or some rights are not correct. On my system the iso copied to an usb thumbdrive boots with uefi and legacy.