Skip to content

[Linux] Init fails with 16KiB MMU page #17

@abrodkin

Description

@abrodkin

In Buildroot 2019.11-374-g62a7e61df9 BR2_ARC_PAGE_SIZE_16K=y & BR2_TOOLCHAIN_USES_UCLIBC=y
In Linux kernel 5.4.2 CONFIG_ARC_PAGE_SIZE_16K=y.

Linux version 5.4.2 (abrodkin@ru20arcgnu1) (gcc version 9.2.1 20191002 (Buildroot 2020.02-git-00374-g62a7e61df9)) foss-for-synopsys-dwc-arc-processors/toolchain#2 PREEMPT Tue Dec 17 12:08:00 MSK 2019
Memory @ 80000000 [512M]
Memory @ 100000000 [1024M] Not used
OF: fdt: Machine model: snps,nsim_hs
earlycon: arc_uart0 at MMIO32 0xc0fc1000 (options '115200n8')
printk: bootconsole [arc_uart0] enabled
archs-intc      : 15 priority levels (default 1)

IDENTITY        : ARCVER [0x53] ARCNUM [0x0] CHIPID [0xffff]
processor [0]   : HS38 R3.0 (ARCv2 ISA)
Timers          : Timer0 Timer1 RTC [UP 64-bit]
ISA Extn        : atomic ll64 unalign mpy[opt 9] div_rem
BPU             : partial match, cache:2048, Predict Table:16384 Return stk: 8
MMU [v4]        : 16k PAGE, 2M Super Page (not used) JTLB 512 (128x4), uDTLB 8, uITLB 4
I-Cache         : 32K, 4way/set, 64B Line, VIPT
D-Cache         : 16K, 2way/set, 64B Line, PIPT
Peripherals     : 0xc0000000
Vector Table    : 0x80000000
DEBUG           : ActionPoint 4/full
Built 1 zonelists, mobility grouping on.  Total pages: 32696
Kernel command line: earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8 print-fatal-signals=1
Dentry cache hash table entries: 65536 (order: 4, 262144 bytes, linear)
Inode-cache hash table entries: 32768 (order: 3, 131072 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 516384K/524288K available (3303K kernel code, 194K rwdata, 912K rodata, 752K init, 292K bss, 7904K reserved, 0K cma-reserved)
SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
rcu: Preemptible hierarchical RCU implementation.
        Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
NR_IRQS: 512
sched_clock: 64 bits at 80MHz, resolution 12ns, wraps every 4398046511100ns
clocksource: ARCv2 RTC: mask: 0xffffffffffffffff max_cycles: 0x127350b881, max_idle_ns: 440795202125 ns
sched_clock: 32 bits at 80MHz, resolution 12ns, wraps every 26843545593ns
clocksource: ARC Timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 23890755578 ns
Console: colour dummy device 80x25
Calibrating delay loop... 159.12 BogoMIPS (lpj=795648)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096 (order: 0, 16384 bytes, linear)
Mountpoint-cache hash table entries: 4096 (order: 0, 16384 bytes, linear)
rcu: Hierarchical SRCU implementation.
devtmpfs: initialized
random: get_random_u32 called from bucket_table_alloc.isra.0+0x4c/0x194 with crng_init=0
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -3, 3072 bytes, linear)
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic allocations
clocksource: Switched to clocksource ARCv2 RTC
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 2048 (order: 0, 16384 bytes, linear)
TCP established hash table entries: 4096 (order: 0, 16384 bytes, linear)
TCP bind hash table entries: 4096 (order: 0, 16384 bytes, linear)
TCP: Hash tables configured (established 4096 bind 4096)
UDP hash table entries: 1024 (order: 0, 16384 bytes, linear)
UDP-Lite hash table entries: 1024 (order: 0, 16384 bytes, linear)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
arc-pct fpga:pct: use noncoherent DMA ops
ARC perf        : 8 counters (32 bits), 40 conditions, [overflow IRQ support]
workingset: timestamp_bits=30 max_order=15 bucket_order=0
io scheduler mq-deadline registered
io scheduler kyber registered
arc-uart c0fc1000.serial: use noncoherent DMA ops
c0fc1000.serial: ttyARC0 at MMIO 0x0 (irq = 24, base_baud = 5000000) is a arc-uart
printk: console [ttyARC0] enabled
printk: console [ttyARC0] enabled
printk: bootconsole [arc_uart0] disabled
printk: bootconsole [arc_uart0] disabled
NET: Registered protocol family 17
NET: Registered protocol family 15
Freeing unused kernel memory: 752K
This architecture does not have kernel memory protection.
Run /init as init process
Failed to execute /init (error -22)
Run /sbin/init as init process
Starting init: /sbin/init exists but couldn't execute it (error -14)
Run /etc/init as init process
Run /bin/init as init process
Run /bin/sh as init process
Starting init: /bin/sh exists but couldn't execute it (error -14)
Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance.
---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux Documentation/admin-guide/init.rst for guidance. ]---

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions