Solved error -2 in linux kernel

Solved issue

Tree-Forever

New Member
Joined
Oct 10, 2025
Messages
2
Reaction score
0
Credits
189
(note for mods/everyone : I'm new here and i know this is not general but I'm a bit confused on which so yea i used this thread)

Ok, so, i'm making an OS using the Linux kernel and it keeps showing this error
[ 4.403540] ---[ end Kernel panic - not syncing: Requested init /init failed (error -2). ]---
I've gotten so far to give up on it too so hope anyone can fix this. Also I know with the little info I gave no one can get any info but tbh idk what to give so if u want just ask also here is the entire screen code shell thingamabob and i use QEMU...


[ 0.000000] Linux version 6.17.1 (sreepad@sreepad) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04.2) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PR5
[ 0.000000] Command line: console=ttyS0 init=/init
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000007fdffff] usable
[ 0.000000] BIOS-e820: [mem 0x0000000007fe0000-0x0000000007ffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] APIC: Static calls initialized
[ 0.000000] SMBIOS 2.8 present.
[ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
[ 0.000000] DMI: Memory slots populated: 1/1
[ 0.000000] tsc: Fast TSC calibration using PIT
[ 0.000000] tsc: Detected 2394.456 MHz processor
[ 0.013886] last_pfn = 0x7fe0 max_arch_pfn = 0x400000000
[ 0.014678] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs
[ 0.014889] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
[ 0.031580] found SMP MP-table at [mem 0x000f5ba0-0x000f5baf]
[ 0.037463] RAMDISK: [mem 0x07f42000-0x07fdffff]
[ 0.038023] ACPI: Early table checksum verification disabled
[ 0.038513] ACPI: RSDP 0x00000000000F59E0 000014 (v00 BOCHS )
[ 0.038921] ACPI: RSDT 0x0000000007FE1905 000034 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.039809] ACPI: FACP 0x0000000007FE17B9 000074 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.040671] ACPI: DSDT 0x0000000007FE0040 001779 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.040796] ACPI: FACS 0x0000000007FE0000 000040
[ 0.040866] ACPI: APIC 0x0000000007FE182D 000078 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.040900] ACPI: HPET 0x0000000007FE18A5 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.040928] ACPI: WAET 0x0000000007FE18DD 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)
[ 0.041053] ACPI: Reserving FACP table memory at [mem 0x7fe17b9-0x7fe182c]
[ 0.041106] ACPI: Reserving DSDT table memory at [mem 0x7fe0040-0x7fe17b8]
[ 0.041119] ACPI: Reserving FACS table memory at [mem 0x7fe0000-0x7fe003f]
[ 0.041129] ACPI: Reserving APIC table memory at [mem 0x7fe182d-0x7fe18a4]
[ 0.041137] ACPI: Reserving HPET table memory at [mem 0x7fe18a5-0x7fe18dc]
[ 0.041145] ACPI: Reserving WAET table memory at [mem 0x7fe18dd-0x7fe1904]
[ 0.044063] No NUMA configuration found
[ 0.044105] Faking a node at [mem 0x0000000000000000-0x0000000007fdffff]
[ 0.044939] NODE_DATA(0) allocated [mem 0x07f3e900-0x07f41fff]
[ 0.047448] Zone ranges:
[ 0.047485] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.047583] DMA32 [mem 0x0000000001000000-0x0000000007fdffff]
[ 0.047597] Normal empty
[ 0.047627] Movable zone start for each node
[ 0.047662] Early memory node ranges
[ 0.047699] node 0: [mem 0x0000000000001000-0x000000000009efff]
[ 0.047913] node 0: [mem 0x0000000000100000-0x0000000007fdffff]
[ 0.048076] Initmem setup node 0 [mem 0x0000000000001000-0x0000000007fdffff]
[ 0.049418] On node 0, zone DMA: 1 pages in unavailable ranges
[ 0.049791] On node 0, zone DMA: 97 pages in unavailable ranges
[ 0.050750] On node 0, zone DMA32: 32 pages in unavailable ranges
[ 0.051284] ACPI: PM-Timer IO Port: 0x608
[ 0.051817] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[ 0.052301] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23
[ 0.052474] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.052813] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[ 0.052864] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.052966] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[ 0.052980] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[ 0.053235] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.053299] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[ 0.053782] CPU topo: Max. logical packages: 1
[ 0.053801] CPU topo: Max. logical dies: 1
[ 0.053813] CPU topo: Max. dies per package: 1
[ 0.053902] CPU topo: Max. threads per core: 1
[ 0.054110] CPU topo: Num. cores per package: 1
[ 0.054132] CPU topo: Num. threads per package: 1
[ 0.054143] CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs
[ 0.055179] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
[ 0.055231] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff]
[ 0.055383] [mem 0x08000000-0xfffbffff] available for PCI devices
[ 0.055447] Booting paravirtualized kernel on bare hardware
[ 0.055838] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[ 0.075360] setup_percpu: NR_CPUS:64 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1
[ 0.077362] percpu: Embedded 52 pages/cpu s172312 r8192 d32488 u2097152
[ 0.079807] Kernel command line: console=ttyS0 init=/init
[ 0.080956] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes
[ 0.081303] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.081451] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.085524] Fallback order for Node 0: 0
[ 0.085894] Built 1 zonelists, mobility grouping on. Total pages: 32638
[ 0.085919] Policy zone: DMA32
[ 0.086220] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.094842] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.111984] Dynamic Preempt: voluntary
[ 0.116588] rcu: Preemptible hierarchical RCU implementation.
[ 0.116613] rcu: RCU event tracing is enabled.
[ 0.116646] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=1.
[ 0.116847] Trampoline variant of Tasks RCU enabled.
[ 0.116860] Tracing variant of Tasks RCU enabled.
[ 0.116972] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[ 0.117010] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.118554] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[ 0.118589] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[ 0.152307] NR_IRQS: 4352, nr_irqs: 256, preallocated irqs: 16
[ 0.165202] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.173370] Console: colour VGA+ 80x25
[ 0.176700] printk: legacy console [ttyS0] enabled
[ 0.219939] ACPI: Core revision 20250404
[ 0.230062] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.237606] APIC: Switch to symmetric I/O mode setup
[ 0.244893] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[ 0.251469] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2283c236f90, max_idle_ns: 440795217409 ns
[ 0.252849] Calibrating delay loop (skipped), value calculated using timer frequency.. 4788.91 BogoMIPS (lpj=2394456)
[ 0.258882] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127
[ 0.259330] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0
[ 0.259938] mitigations: Enabled attack vectors: user_kernel, user_user, SMT mitigations: auto
[ 0.260986] Spectre V2 : Mitigation: Retpolines
[ 0.261841] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
[ 0.262706] Spectre V2 : Spectre v2 / SpectreRSB: Filling RSB on context switch and VMEXIT
[ 0.264398] x86/fpu: x87 FPU will use FXSAVE
[ 0.934505] Freeing SMP alternatives memory: 52K
[ 0.936166] pid_max: default: 32768 minimum: 301
[ 0.942867] LSM: initializing lsm=capability,selinux
[ 0.945709] SELinux: Initializing.
[ 0.953896] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.954595] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 1.105542] smpboot: CPU0: AMD QEMU Virtual CPU version 2.5+ (family: 0xf, model: 0x6b, stepping: 0x1)
[ 1.124276] Performance Events: PMU not available due to virtualization, using software events only.
[ 1.126270] signal: max sigframe size: 1440
[ 1.128977] rcu: Hierarchical SRCU implementation.
[ 1.129346] rcu: Max phase no-delay instances is 400.
[ 1.138372] smp: Bringing up secondary CPUs ...
[ 1.141290] smp: Brought up 1 node, 1 CPU
[ 1.142121] smpboot: Total of 1 processors activated (4788.91 BogoMIPS)
[ 1.151929] Memory: 85476K/130552K available (18349K kernel code, 2888K rwdata, 7316K rodata, 2864K init, 684K bss, 42700K reserved, 0K cma-reserved)
[ 1.166757] devtmpfs: initialized
[ 1.188651] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 1.190714] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 1.191649] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear).
[ 1.197146] PM: RTC time: 13:38:39, date: 2025-10-10
[ 1.205095] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 1.210100] audit: initializing netlink subsys (disabled)
[ 1.213084] audit: type=2000 audit(1760103518.974:1): state=initialized audit_enabled=0 res=1
[ 1.221127] thermal_sys: Registered thermal governor 'step_wise'
[ 1.221793] cpuidle: using governor menu
[ 1.228078] PCI: Using configuration type 1 for base access
[ 1.232753] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[ 1.242750] HugeTLB: allocation took 0ms with hugepage_allocation_threads=1
[ 1.244091] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 1.244592] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page
[ 1.264942] ACPI: Added _OSI(Module Device)
[ 1.265288] ACPI: Added _OSI(Processor Device)
[ 1.266590] ACPI: Added _OSI(Processor Aggregator Device)
[ 1.334267] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 1.392351] ACPI: Interpreter enabled
[ 1.405090] ACPI: PM: (supports S0 S3 S4 S5)
[ 1.405829] ACPI: Using IOAPIC for interrupt routing
[ 1.407287] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 1.407645] PCI: Using E820 reservations for host bridge windows
[ 1.411439] ACPI: Enabled 2 GPEs in block 00 to 0F
[ 1.557617] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 1.559104] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[ 1.559741] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
[ 1.561478] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended configuration space under this bridge
[ 1.581890] PCI host bridge to bus 0000:00
[ 1.582629] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
[ 1.583364] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
[ 1.583594] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[ 1.584122] pci_bus 0000:00: root bus resource [mem 0x08000000-0xfebfffff window]
[ 1.584584] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window]
[ 1.585649] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 1.587976] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 conventional PCI endpoint
[ 1.623860] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 conventional PCI endpoint
[ 1.625894] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180 conventional PCI endpoint
[ 1.627146] pci 0000:00:01.1: BAR 4 [io 0xc040-0xc04f]
[ 1.627696] pci 0000:00:01.1: BAR 0 [io 0x01f0-0x01f7]: legacy IDE quirk
[ 1.628572] pci 0000:00:01.1: BAR 1 [io 0x03f6]: legacy IDE quirk
[ 1.629022] pci 0000:00:01.1: BAR 2 [io 0x0170-0x0177]: legacy IDE quirk
[ 1.629431] pci 0000:00:01.1: BAR 3 [io 0x0376]: legacy IDE quirk
[ 1.632220] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000 conventional PCI endpoint
[ 1.633078] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI
[ 1.633644] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB
[ 1.646860] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint
[ 1.648648] pci 0000:00:02.0: BAR 0 [mem 0xfd000000-0xfdffffff pref]
[ 1.649996] pci 0000:00:02.0: BAR 2 [mem 0xfebb0000-0xfebb0fff]
[ 1.650405] pci 0000:00:02.0: ROM [mem 0xfeba0000-0xfebaffff pref]
[ 1.651660] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 1.676862] pci 0000:00:03.0: [8086:100e] type 00 class 0x020000 conventional PCI endpoint
[ 1.678580] pci 0000:00:03.0: BAR 0 [mem 0xfeb80000-0xfeb9ffff]
[ 1.679033] pci 0000:00:03.0: BAR 1 [io 0xc000-0xc03f]
[ 1.679394] pci 0000:00:03.0: ROM [mem 0xfeb00000-0xfeb7ffff pref]
[ 1.720380] ACPI: PCI: Interrupt link LNKA configured for IRQ 10
[ 1.722654] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[ 1.724471] ACPI: PCI: Interrupt link LNKC configured for IRQ 11
[ 1.726323] ACPI: PCI: Interrupt link LNKD configured for IRQ 11
[ 1.727217] ACPI: PCI: Interrupt link LNKS configured for IRQ 9
[ 1.735188] iommu: Default domain type: Translated
[ 1.735619] iommu: DMA domain TLB invalidation policy: lazy mode
[ 1.740854] SCSI subsystem initialized
[ 1.746318] ACPI: bus type USB registered
[ 1.760588] usbcore: registered new interface driver usbfs
[ 1.761785] usbcore: registered new interface driver hub
[ 1.762787] usbcore: registered new device driver usb
[ 1.763936] pps_core: LinuxPPS API ver. 1 registered
[ 1.764236] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 1.764746] PTP clock support registered
[ 1.781110] Advanced Linux Sound Architecture Driver Initialized.
[ 1.802814] NetLabel: Initializing
[ 1.803109] NetLabel: domain hash size = 128
[ 1.803390] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 1.804911] NetLabel: unlabeled traffic allowed by default
[ 1.820933] PCI: Using ACPI for IRQ routing
[ 1.832928] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[ 1.833542] pci 0000:00:02.0: vgaarb: bridge control possible
[ 1.833542] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 1.833676] vgaarb: loaded
[ 1.843900] hpet: 3 channels of 0 reserved for per-cpu timers
[ 1.844619] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[ 1.845086] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[ 1.858347] clocksource: Switched to clocksource tsc-early
[ 1.876144] VFS: Disk quotas dquot_6.6.0
[ 1.876771] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.895485] pnp: PnP ACPI init
[ 1.919902] pnp: PnP ACPI: found 6 devices
[ 2.001550] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[ 2.015816] NET: Registered PF_INET protocol family
[ 2.018105] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 2.044141] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.045466] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.046531] TCP established hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 2.047831] TCP bind hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 2.048499] TCP: Hash tables configured (established 1024 bind 1024)
[ 2.057613] UDP hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 2.058520] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 2.061026] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.065609] RPC: Registered named UNIX socket transport module.
[ 2.066176] RPC: Registered udp transport module.
[ 2.066508] RPC: Registered tcp transport module.
[ 2.066894] RPC: Registered tcp-with-tls transport module.
[ 2.067252] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.096921] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]
[ 2.097341] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]
[ 2.097835] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[ 2.098273] pci_bus 0000:00: resource 7 [mem 0x08000000-0xfebfffff window]
[ 2.098792] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window]
[ 2.109004] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 2.109517] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 2.110213] PCI: CLS 0 bytes, default 64
[ 2.135001] Unpacking initramfs...
[ 2.358111] Freeing initrd memory: 632K
[ 2.628248] Initialise system trusted keyrings
[ 2.633744] workingset: timestamp_bits=56 max_order=15 bucket_order=0
[ 2.641147] NFS: Registering the id_resolver key type
[ 2.642015] Key type id_resolver registered
[ 2.642341] Key type id_legacy registered
[ 2.644049] 9p: Installing v9fs 9p2000 file system support
[ 2.789202] Key type asymmetric registered
[ 2.789605] Asymmetric key parser 'x509' registered
[ 2.790511] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 2.791775] io scheduler mq-deadline registered
[ 2.792175] io scheduler kyber registered
[ 2.797000] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 2.803878] ACPI: button: Power Button [PWRF]
[ 2.808306] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 2.815126] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 2.828478] Non-volatile memory driver v1.3
[ 2.829200] Linux agpgart interface v0.103
[ 2.834325] ACPI: bus type drm_connector registered
[ 2.867527] loop: module loaded
[ 2.883891] scsi host0: ata_piix
[ 2.886916] scsi host1: ata_piix
[ 2.887939] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc040 irq 14 lpm-pol 0
[ 2.888470] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc048 irq 15 lpm-pol 0
[ 2.901454] e100: Intel(R) PRO/100 Network Driver
[ 2.901965] e100: Copyright(c) 1999-2006 Intel Corporation
[ 2.903063] e1000: Intel(R) PRO/1000 Network Driver
[ 2.903398] e1000: Copyright (c) 1999-2006 Intel Corporation.
[ 3.048312] ata2: found unknown device (class 0)
[ 3.055377] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[ 3.086154] scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5
[ 3.116077] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[ 3.116883] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 3.141355] sr 1:0:0:0: Attached scsi generic sg0 type 5
[ 3.149951] tsc: Refined TSC clocksource calibration: 2394.456 MHz
[ 3.151042] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2283c236f90, max_idle_ns: 440795217409 ns
[ 3.153941] clocksource: Switched to clocksource tsc
[ 3.323971] ACPI: \SB.LNKC: Enabled at IRQ 11
[ 3.611570] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 52:54:00:12:34:56
[ 3.612644] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[ 3.614113] e1000e: Intel(R) PRO/1000 Network Driver
[ 3.614440] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 3.615196] sky2: driver version 1.30
[ 3.619409] usbcore: registered new interface driver usblp
[ 3.620146] usbcore: registered new interface driver usb-storage
[ 3.621756] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 3.626175] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 3.626913] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 3.632302] rtc_cmos 00:05: RTC can wake from S4
[ 3.640115] rtc_cmos 00:05: registered as rtc0
[ 3.642804] rtc_cmos 00:05: alarms up to one day, y3k, 242 bytes nvram, hpet irqs
[ 3.645393] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: [email protected]
[ 3.646623] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled
[ 3.647816] hid: raw HID events driver (C) Jiri Kosina
[ 3.653158] usbcore: registered new interface driver usbhid
[ 3.653547] usbhid: USB HID core driver
[ 3.671285] Initializing XFRM netlink socket
[ 3.672510] NET: Registered PF_INET6 protocol family
[ 3.686602] Segment Routing with IPv6
[ 3.687557] In-situ OAM (IOAM) with IPv6
[ 3.689175] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.693850] NET: Registered PF_PACKET protocol family
[ 3.695811] 9pnet: Installing 9P2000 support
[ 3.696491] Key type dns_resolver registered
[ 3.701145] IPI shorthand broadcast: enabled
[ 3.766055] sched_clock: Marking stable (3694067716, 71624196)->(3778852741, -13160829)
[ 3.770534] registered taskstats version 1
[ 3.770949] Loading compiled-in X.509 certificates
[ 3.795105] Demotion targets for Node 0: null
[ 3.800203] PM: Magic number: 13:734:634
[ 3.800987] netconsole: network logging started
[ 3.802878] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.831110] kworker/u4:0 (50) used greatest stack depth: 14208 bytes left
[ 3.850007] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.851783] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 3.853598] ALSA device list:
[ 3.855206] No soundcards found.
[ 3.858588] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2
[ 3.861021] cfg80211: failed to load regulatory.db
[ 3.937048] Freeing unused kernel image (initmem) memory: 2864K
[ 3.938000] Write protecting the kernel read-only data: 26624k
[ 3.939946] Freeing unused kernel image (text/rodata gap) memory: 80K
[ 3.941625] Freeing unused kernel image (rodata/data gap) memory: 876K
[ 4.379338] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 4.382189] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input2
[ 4.385769] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[ 4.388098] Run /init as init process
[ 4.393226] Failed to execute /init (error -2)
[ 4.393574] Run /init as init process
[ 4.395372] Kernel panic - not syncing: Requested init /init failed (error -2).
[ 4.396683] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.17.1 #1 PREEMPT(voluntary)
[ 4.397354] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
[ 4.398164] Call Trace:
[ 4.399230] <TASK>
[ 4.399544] vpanic+0x2fb/0x320
[ 4.400119] ? __pfx_kernel_init+0x10/0x10
[ 4.400413] panic+0x56/0x60
[ 4.400631] kernel_init+0xc8/0x1c0
[ 4.400888] ret_from_fork+0xc1/0x100
[ 4.401130] ? __pfx_kernel_init+0x10/0x10
[ 4.401400] ret_from_fork_asm+0x1a/0x30
[ 4.401727] </TASK>
[ 4.402543] Kernel Offset: 0x20600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 4.403540] ---[ end Kernel panic - not syncing: Requested init /init failed (error -2). ]---

THX
 


Welcome.

This line from the output shown in post #1:
Code:
[0.000000] Command line: console=ttyS0 init=/init
suggests that you have added these kernel options, ttyS0 being the first serial console, and a specialised init. Perhaps if you could explain in more detail the set up and the init situation since the kernel is failing with this message citing init:
Code:
[4.403540] ---[ end Kernel panic - not syncing: Requested init /init failed (error -2). ]---
 


Follow Linux.org

Members online


Top