https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121432
--- Comment #36 from Neal Frager <neal.frager at amd dot com> --- (In reply to Waldemar Brodkorb from comment #34) > Hi, > > with this patch I still get following output on my Numato Mimas A7 Mini: > [ 3.503255] Run /init as init process > [ 3.506819] with arguments: > [ 3.509763] /init > [ 3.512005] with environment: > [ 3.515114] HOME=/ > [ 3.517706] TERM=linux > [ 3.530417] Illegal opcode exception in kernel mode. > [ 3.534357] Oops: opcode exception, sig: 7 > [ 3.538428] CPU: 0 UID: 0 PID: 1 Comm: init Not tainted 6.18.18-1 #2 NONE > [ 3.545239] Registers dump: mode=80821ED0 > [ 3.549380] r1=C0821ED0, r2=00000000, r3=FFFFFFFE, r4=C0802980 > [ 3.555255] r5=CFDF3430, r6=00000C5F, r7=C0849000, r8=C0848000 > [ 3.561130] r9=CFE108E0, r10=000065A2, r11=00000C60, r12=CFDE9338 > [ 3.567267] r13=00000000, r14=C0821F68, r15=C00093A8, r16=00000000 > [ 3.573486] r17=C00093B4, r18=3F7B7000, r19=BFCBCAA4, r20=48008E3C > [ 3.579706] r21=00000000, r22=48000000, r23=48009070, r24=BFCBDF2C > [ 3.585927] r25=BFCBDF24, r26=BFCBDF38, r27=BFCBDDC0, r28=48009070 > [ 3.592148] r29=00000000, r30=00000001, r31=C082C000, rPC=C00093B4 > [ 3.598369] msr=000046A2, ear=BFCBDF24, esr=BFCBDF38, fsr=BFCBDDC0 > [ 3.604963] Kernel panic - not syncing: Attempted to kill init! > exitcode=0x00000007 > [ 3.612280] ---[ end Kernel panic - not syncing: Attempted to kill init! > exitcode=0x00000007 ]--- > > GCC 15.2.0, Binutils 2.46.0, Linux 6.18.18, uClibc-ng 1.0.57 or glibc 2.42. > An older Linux kernel built with Buildroot 2018.11 does boot fine, so I do > not think it is my bitstream, which is behaving wrong. What could be the > reason for this panic? I just updated the qemu_microblazeel_mmu_defconfig from Linux 6.18.7 to 6.18.18 and here is my boot log: output/host/bin/qemu-system-microblazeel -M petalogix-s3adsp1800 -kernel output/images/linux.bin -serial stdio VNC server running on 127.0.0.1:5900 random: crng init done Ramdisk addr 0x00000000, FDT at 0x908a0f9c Linux version 6.18.18 (nealf@xirengwts09) (microblazeel-buildroot-linux-gnu-gcc.br_real (Buildroot 2026.02-292-gc897438742-dirty) 15.2.0, GNU ld (GNU Binutils) 2.45.1) #2 Fri Mar 27 14:05:36 GMT 2026 setup_memory: min_low_pfn: 0x90000 setup_memory: max_low_pfn: 0x98000 setup_memory: max_pfn: 0x98000 Zone ranges: DMA [mem 0x0000000090000000-0x0000000097ffffff] Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000090000000-0x0000000097ffffff] Initmem setup node 0 [mem 0x0000000090000000-0x0000000097ffffff] OF: reserved mem: Reserved memory: No reserved-memory node in the DT setup_cpuinfo: initialising setup_cpuinfo: No PVR support. Using static CPU info from FDT wt_msr pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 pcpu-alloc: [0] 0 Kernel command line: printk: log buffer data + meta data: 131072 + 409600 = 540672 bytes Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) Built 1 zonelists, mobility grouping on. Total pages: 32768 mem auto-init: stack:all(zero), heap alloc:off, heap free:off SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 irq-xilinx: /plb/interrupt-controller@81800000: num_irq=4, edge=0xa ERROR: CPU CCF input clock not found /plb/timer@83c00000: irq=1 ERROR: timer CCF input clock not found ERROR: Using CPU clock frequency clocksource: xilinx_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 30580167144 ns xilinx_timer_shutdown xilinx_timer_set_periodic sched_clock: 32 bits at 63MHz, resolution 16ns, wraps every 34359738360ns Console: colour dummy device 80x25 printk: legacy console [tty0] enabled Calibrating delay loop... 1709.05 BogoMIPS (lpj=3418112) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) Memory: 120420K/131072K available (5164K kernel code, 511K rwdata, 928K rodata, 2155K init, 188K bss, 10324K reserved, 0K cma-reserved) devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns posixtimers hash table entries: 512 (order: 0, 2048 bytes, linear) futex hash table entries: 256 (4096 bytes on 1 NUMA nodes, total 4 KiB, linear). NET: Registered PF_NETLINK/PF_ROUTE protocol family DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]> PTP clock support registered clocksource: Switched to clocksource xilinx_clocksource NET: Registered PF_INET protocol family IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear) tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear) Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) TCP: Hash tables configured (established 1024 bind 1024) UDP hash table entries: 256 (order: 1, 8192 bytes, linear) UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) NET: Registered PF_UNIX/PF_LOCAL protocol family workingset: timestamp_bits=30 max_order=15 bucket_order=0 io scheduler mq-deadline registered io scheduler kyber registered 84000000.serial: ttyUL0 at MMIO 0x84000000 (irq = 3, base_baud = 0) is a uartlite printk: legacy console [ttyUL0] enabled xilinx_emaclite 81000000.ethernet: Device Tree Probing xilinx_emaclite 81000000.ethernet: Failed to register mdio bus. xilinx_emaclite 81000000.ethernet: MAC address is now 02:00:00:00:00:00 xilinx_emaclite 81000000.ethernet: Xilinx EmacLite at 0x81000000 mapped to 0xf5e00bed, irq=2 NET: Registered PF_INET6 protocol family Segment Routing with IPv6 In-situ OAM (IOAM) with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered PF_PACKET protocol family clk: Disabling unused clocks Freeing unused kernel image (initmem) memory: 2152K This architecture does not have kernel memory protection. Run /init as init process with arguments: /init with environment: HOME=/ TERM=linux Saving 256 bits of creditable seed for next boot Starting syslogd: OK Starting klogd: OK Running sysctl: OK Starting network: udhcpc: started, v1.37.0 udhcpc: broadcasting discover udhcpc: broadcasting select for 10.0.2.15, server 10.0.2.2 udhcpc: lease of 10.0.2.15 obtained from 10.0.2.2, lease time 86400 deleting routers adding dns 10.0.2.3 OK Starting crond: OK Welcome to Buildroot buildroot login: root #
