Hi, I just tried to boot Linux 4.12-rc1 on a Lantiq Xway xrx200 board and boot failed when I had CONFIG_MIPS_MT_SMP enabled. It works with SMP on 4.9 and I think I also tried 4.11-rcX, but I am not 100% sure. I will investigate this problem further on Friday. If someone has an idea what I should test, I will do it on Friday. Both boot logs are attached to this mail. Hauke
[ 0.000000] Linux version 4.12-rc1+ (hauke@hauke-desktop) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4117+4-deef71375c) ) #0 Wed May 17 21:47:40 2017 [ 0.000000] SoC: xRX200 rev 1.2 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc) [ 0.000000] MIPS: machine is VR200v - TP-LINK Archer VR200v [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 07f00000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007efffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007efffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007efffff] [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32258 [ 0.000000] Kernel command line: console=ttyLTQ0,115200 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=00011040 [ 0.000000] Readback ErrCtl register=00011040 [ 0.000000] Memory: 120052K/130048K available (3992K kernel code, 172K rwdata, 816K rodata, 3580K init, 215K bss, 9996K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:256 [ 0.000000] CPU Clock: 500MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns [ 0.000011] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns [ 0.007860] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088) [ 0.045906] pid_max: default: 32768 minimum: 301 [ 0.050722] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.057299] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.069437] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.079067] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.085286] pinctrl core: initialized pinctrl subsystem [ 0.091532] NET: Registered protocol family 16 [ 0.100060] pinctrl-xway 1e100b10.pinmux: Init done [ 0.105503] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28 [ 0.215294] gptu-xway 1e100a00.gptu: gptu: 6 timers loaded [ 0.220857] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV [ 0.268784] usbcore: registered new interface driver usbfs [ 0.274258] usbcore: registered new interface driver hub [ 0.279619] usbcore: registered new device driver usb [ 0.285678] clocksource: Switched to clocksource MIPS [ 0.291847] NET: Registered protocol family 2 [ 0.296987] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.303877] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.310252] TCP: Hash tables configured (established 1024 bind 1024) [ 0.316807] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.322610] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.329152] NET: Registered protocol family 1 [ 1.077708] random: fast init done [ 2.702207] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a2x.bin [ 2.709216] phy-xrx200 gphy-xrx200: Direct firmware load for lantiq/vr9_phy11g_a2x.bin failed with error -2 [ 2.718846] phy-xrx200 gphy-xrx200: Falling back to user helper [ 53.541742] random: crng init done [ 64.521817] phy-xrx200 gphy-xrx200: failed to load firmware: lantiq/vr9_phy11g_a2x.bin [ 64.529637] phy-xrx200: probe of gphy-xrx200 failed with error -22 [ 64.538244] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 64.561550] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 64.567273] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 64.577813] io scheduler noop registered [ 64.581569] io scheduler deadline registered (default) [ 64.586821] io scheduler mq-deadline registered [ 64.591402] io scheduler kyber registered [ 64.595879] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc [ 64.604770] console [ttyLTQ0] enabled [ 64.604770] console [ttyLTQ0] enabled [ 64.612103] bootconsole [early0] disabled [ 64.612103] bootconsole [early0] disabled [ 64.620642] cacheinfo: Failed to find cpu0 device node [ 64.624366] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 64.631477] spi-lantiq-ssc 1e100800.spi: Lantiq SSC SPI controller (Rev 8, TXFS 8, RXFS 8, DMA 1) [ 64.642273] m25p80 spi32766.4: s25fl128s (16384 Kbytes) [ 64.646137] 7 ofpart partitions found on MTD device spi32766.4 [ 64.651899] Creating 7 MTD partitions on "spi32766.4": [ 64.657054] 0x000000000000-0x000000020000 : "u-boot" [ 64.663816] 0x000000020000-0x000000fb0000 : "firmware" [ 64.669547] 0x000000fb0000-0x000000fc0000 : "radioDECT" [ 64.675473] 0x000000fc0000-0x000000fd0000 : "config" [ 64.681091] 0x000000fd0000-0x000000fe0000 : "romfile" [ 64.686863] 0x000000fe0000-0x000000ff0000 : "rom" [ 64.692269] 0x000000ff0000-0x000001000000 : "radio" [ 64.698304] libphy: Fixed MDIO Bus: probed [ 64.701816] ltq_etop: Error registering platform driver! [ 64.701970] wdt 1f8803f0.watchdog: Init done [ 64.713248] NET: Registered protocol family 10 [ 64.724425] Segment Routing with IPv6 [ 64.726789] NET: Registered protocol family 17 [ 64.731158] 8021q: 802.1Q VLAN Support v1.8 [ 64.749581] Freeing unused kernel memory: 3580K [ 64.752693] This architecture does not have kernel memory protection. [ 64.775264] init: Console is alive [ 64.777494] init: - watchdog - [ 64.791132] init: - preinit - Press the [f] key and hit [enter] to enter failsafe mode Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level [ 68.064934] procd: - early - [ 68.066577] procd: - watchdog - [ 68.633495] procd: - ubus - [ 68.686908] procd: - init - Please press Enter to activate this console. BusyBox v1.26.2 () built-in shell (ash) _________ / /\ _ ___ ___ ___ / LE / \ | | | __| \| __| / DE / \ | |__| _|| |) | _| /________/ LE \ |____|___|___/|___| lede-project.org \ \ DE / \ LE \ / ----------------------------------------------------------- \ DE \ / Reboot (SNAPSHOT, r4151+12-0dcc36fc7d) \________\/ ----------------------------------------------------------- === WARNING! ===================================== There is no root password defined on this device! Use the "passwd" command to set up a new password in order to prevent unauthorized SSH logins. -------------------------------------------------- root@LEDE:/#
[ 0.000000] Linux version 4.12-rc1+ (hauke@hauke-desktop) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4117+4-deef71375c) ) #0 SMP Wed May 17 21:47:40 2017 [ 0.000000] SoC: xRX200 rev 1.2 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc) [ 0.000000] MIPS: machine is VR200v - TP-LINK Archer VR200v [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 07f00000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Detected 1 available secondary CPU(s) [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x0000000007efffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007efffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007efffff] [ 0.000000] percpu: Embedded 14 pages/cpu @8110c000 s26032 r8192 d23120 u57344 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32258 [ 0.000000] Kernel command line: console=ttyLTQ0,115200 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=00011041 [ 0.000000] Readback ErrCtl register=00011041 [ 0.000000] Memory: 119552K/130048K available (4281K kernel code, 166K rwdata, 836K rodata, 3660K init, 225K bss, 10496K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:256 [ 0.000000] Setting up vectored interrupts [ 0.000000] CPU Clock: 500MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041786 ns [ 0.000011] sched_clock: 32 bits at 250MHz, resolution 4ns, wraps every 8589934590ns [ 0.007887] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088) [ 0.045991] pid_max: default: 32768 minimum: 301 [ 0.050839] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.057392] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.067409] smp: Bringing up secondary CPUs ... [ 0.072690] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.072704] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.072890] CPU1 revision is: 00019556 (MIPS 34Kc) [ 0.104068] Synchronize counters for CPU 1: done. [ 0.128212] smp: Brought up 1 node, 2 CPUs [ 0.136025] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.145691] futex hash table entries: 512 (order: 2, 16384 bytes) [ 0.151907] pinctrl core: initialized pinctrl subsystem [ 0.158349] NET: Registered protocol family 16 [ 0.167319] pinctrl-xway 1e100b10.pinmux: Init done [ 0.172834] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28 [ 0.283303] gptu-xway 1e100a00.gptu: gptu: 6 timers loaded [ 0.288896] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV [ 0.676559] random: fast init done [ 27.028438] random: crng init done