Wind River Support Network

HomeDefectsLIN9-4699
Fixed

LIN9-4699 : axxiaarm64: 64bit kernel can't mount 32bit rootfs

Created: Jul 17, 2017    Updated: Dec 3, 2018
Resolved Date: Aug 2, 2017
Found In Version: 9.0.0.9
Fix Version: 9.0.0.9
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: BSP

Description

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.8.22-WR9.0.0.9_cgl  (gcc version 6.2.0 (GCC) ) #1 SMP PREEMPT Mon Jul 17 11:41:41 CST 2017
Boot CPU: AArch64 Processor [411fd073]
earlycon: pl11 at MMIO 0x0000008080000000 (options '')
bootconsole [pl11] enabled
efi: Getting EFI parameters from FDT:
efi: UEFI not found.
Reserving 128MB of memory at 256MB for crashkernel
psci: probing for conduit method from DT.
psci: PSCIv1.0 detected in firmware.
psci: Using standard PSCI v0.2 function IDs
psci: MIGRATE_INFO_TYPE not supported.
percpu: Embedded 22 pages/cpu @ffffffc3ffe52000 s50584 r8192 d31336 u90112
Detected PIPT I-cache on CPU0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 4128768
Kernel command line: console=ttyAMA0 root=/dev/nfs rw nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/25006/rootfs,nfsvers=3 ip=dhcp earlycon=pl011,0x8080000000 crashkernel=128M@256M selinux=0 enforcing=0
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
software IO TLB [mem 0xfbfff000-0xfffff000] (64MB) mapped at [ffffffc0fbfff000-ffffffc0ffffefff]
Memory: 16278780K/16777216K available (8252K kernel code, 915K rwdata, 2208K rodata, 768K init, 720K bss, 498436K reserved, 0K cma-reserved)
Virtual kernel memory layout:
    modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
    vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
      .text : 0xffffff8008080000 - 0xffffff8008890000   (  8256 KB)
    .rodata : 0xffffff8008890000 - 0xffffff8008ac0000   (  2240 KB)
      .init : 0xffffff8008ac0000 - 0xffffff8008b80000   (   768 KB)
      .data : 0xffffff8008b80000 - 0xffffff8008c64e00   (   916 KB)
       .bss : 0xffffff8008c64e00 - 0xffffff8008d18f44   (   721 KB)
    fixed   : 0xffffffbefe7fd000 - 0xffffffbefec00000   (  4108 KB)
    PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000   (    16 MB)
    vmemmap : 0xffffffbf00000000 - 0xffffffc000000000   (     4 GB maximum)
              0xffffffbf00000000 - 0xffffffbf10000000   (   256 MB actual)
    memory  : 0xffffffc000000000 - 0xffffffc400000000   ( 16384 MB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=16, Nodes=1
Preemptible hierarchical RCU implementation.
	Build-time adjustment of leaf fanout to 64.
NR_IRQS:64 nr_irqs:64 0
GICv3: GIC: Using split EOI/Deactivate mode
GICv3: CPU0: found redistributor 0 region 0:0x0000008010200000
arm_arch_timer: WARNING: Invalid trigger for IRQ2, assuming level low
arm_arch_timer: WARNING: Please fix your firmware
arm_arch_timer: WARNING: Invalid trigger for IRQ3, assuming level low
arm_arch_timer: WARNING: Please fix your firmware
arm_arch_timer: Architected cp15 timer(s) running at 256.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x3b0a9be803, max_idle_ns: 440795202125 ns
sched_clock: 56 bits at 256MHz, resolution 3ns, wraps every 2199023255550ns
Console: colour dummy device 80x25
Calibrating delay loop (skipped), value calculated using timer frequency.. 512.00 BogoMIPS (lpj=1024000)
pid_max: default: 32768 minimum: 301
Security Framework initialized
SELinux:  Disabled at boot.
Mount-cache hash table entries: 32768 (order: 6, 262144 bytes)
Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes)
ftrace: allocating 27879 entries in 109 pages
ASID allocator initialised with 65536 entries
EFI services will not be available.
INFO:    Adding cluster 1 to the coherency domain.
INFO:    Adding cluster 2 to the coherency domain.
INFO:    Adding cluster 3 to the coherency domain.
Detected PIPT I-cache on CPU1
GICv3: CPU1: found redistributor 1 region 0:0x0000008010220000
CPU1: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU2
GICv3: CPU2: found redistributor 2 region 0:0x0000008010240000
CPU2: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU3
GICv3: CPU3: found redistributor 3 region 0:0x0000008010260000
CPU3: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU4
GICv3: CPU4: found redistributor 100 region 0:0x0000008010280000
CPU4: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU5
GICv3: CPU5: found redistributor 101 region 0:0x00000080102a0000
CPU5: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU6
GICv3: CPU6: found redistributor 102 region 0:0x00000080102c0000
CPU6: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU7
GICv3: CPU7: found redistributor 103 region 0:0x00000080102e0000
CPU7: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU8
GICv3: CPU8: found redistributor 200 region 0:0x0000008010300000
CPU8: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU9
GICv3: CPU9: found redistributor 201 region 0:0x0000008010320000
CPU9: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU10
GICv3: CPU10: found redistributor 202 region 0:0x0000008010340000
CPU10: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU11
GICv3: CPU11: found redistributor 203 region 0:0x0000008010360000
CPU11: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU12
GICv3: CPU12: found redistributor 300 region 0:0x0000008010380000
CPU12: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU13
GICv3: CPU13: found redistributor 301 region 0:0x00000080103a0000
CPU13: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU14
GICv3: CPU14: found redistributor 302 region 0:0x00000080103c0000
CPU14: Booted secondary processor [411fd073]
Detected PIPT I-cache on CPU15
GICv3: CPU15: found redistributor 303 region 0:0x00000080103e0000
CPU15: Booted secondary processor [411fd073]
Brought up 16 CPUs
SMP: Total of 16 processors activated.
CPU features: detected feature: GIC system register CPU interface
CPU features: detected feature: 32-bit EL0 Support
CPU: All CPU(s) started at EL2
devtmpfs: initialized
DMI not present or invalid.
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
futex hash table entries: 4096 (order: 7, 524288 bytes)
xor: measuring software checksum speed
   8regs     :  4967.000 MB/sec
   8regs_prefetch:  4442.000 MB/sec
   32regs    :  5377.000 MB/sec
   32regs_prefetch:  4792.000 MB/sec
xor: using function: 32regs (5377.000 MB/sec)
NET: Registered protocol family 16
vdso: 2 pages (1 code @ ffffff8008895000, 1 data @ ffffff8008b84000)
hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
DMA: preallocated 256 KiB pool for atomic allocations
Serial: AMBA PL011 UART driver
ncr: available
irq: type mismatch, failed to map hwirq-29 for /interrupt-controller@8010010000!
8080000000.uart: ttyAMA0 at MMIO 0x8080000000 (irq = 21, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
console [ttyAMA0] enabled
bootconsole [pl11] disabled
bootconsole [pl11] disabled
8080010000.uart: ttyAMA1 at MMIO 0x8080010000 (irq = 22, base_baud = 0) is a PL011 rev2
8080020000.uart: ttyAMA2 at MMIO 0x8080020000 (irq = 23, base_baud = 0) is a PL011 rev2
8080030000.uart: ttyAMA3 at MMIO 0x8080030000 (irq = 24, base_baud = 0) is a PL011 rev2
HugeTLB registered 2 MB page size, pre-allocated 0 pages
raid6: int64x1  gen()   775 MB/s
raid6: int64x1  xor()   785 MB/s
raid6: int64x2  gen()  1063 MB/s
raid6: int64x2  xor()  1110 MB/s
raid6: int64x4  gen()  1436 MB/s
raid6: int64x4  xor()  1234 MB/s
raid6: int64x8  gen()  1889 MB/s
raid6: int64x8  xor()  1157 MB/s
raid6: neonx1   gen()  1539 MB/s
raid6: neonx1   xor()  1194 MB/s
raid6: neonx2   gen()  2109 MB/s
raid6: neonx2   xor()  1717 MB/s
raid6: neonx4   gen()  2755 MB/s
raid6: neonx4   xor()  2094 MB/s
raid6: neonx8   gen()  3123 MB/s
raid6: neonx8   xor()  2310 MB/s
raid6: using algorithm neonx8 gen() 3123 MB/s
raid6: .... xor() 2310 MB/s, rmw enabled
raid6: using intx1 recovery algorithm
vgaarb: loaded
SCSI subsystem initialized
ssp-pl022 8080100000.ssp: ARM PL022 driver, device ID: 0x000b6022
pl022: mapped registers from 0x8080100000 to ffffff8008054000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
dmi: Firmware registration failed.
clocksource: Switched to clocksource arch_sys_counter
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
NET: Registered protocol family 2
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
UDP hash table entries: 8192 (order: 6, 262144 bytes)
UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
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.
hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(4.776:1): initialized
workingset: timestamp_bits=46 max_order=22 bucket_order=0
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pl061_gpio 8080180000.gpio: PL061 GPIO chip @0x0000008080180000 registered
pl061_gpio 8080190000.gpio: PL061 GPIO chip @0x0000008080190000 registered
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
Unable to detect cache hierarchy from DT for CPU 0
brd: module loaded
loop: module loaded
drbd: initialized. Version: 8.4.7 (api:1/proto:86-101)
drbd: built-in
drbd: registered as block device major 147
libphy: Axxia MDIO: probed
m25p80 spi32766.0: found s25fl129p1, expected s25fl016k
m25p80 spi32766.0: s25fl129p1 (16384 Kbytes)
8 ofpart partitions found on MTD device spi32766.0
Creating 8 MTD partitions on "spi32766.0":
0x000000000000-0x000000040000 : "spl-0"
0x000000040000-0x000000080000 : "spl-1"
0x000000080000-0x000000090000 : "parameters-0"
0x000000090000-0x0000000a0000 : "parameters-1"
0x0000000a0000-0x0000000b0000 : "env-0"
0x0000000b0000-0x0000000c0000 : "env-1"
0x000000100000-0x000000300000 : "u-boot-0"
0x000000300000-0x000000500000 : "u-boot-1"
m25p80 spi32766.1: found s25fl129p1, expected s25fl016k
m25p80 spi32766.1: s25fl129p1 (16384 Kbytes)
8 ofpart partitions found on MTD device spi32766.1
Creating 8 MTD partitions on "spi32766.1":
0x000000000000-0x000000040000 : "spl-0"
0x000000040000-0x000000080000 : "spl-1"
0x000000080000-0x000000090000 : "parameters-0"
0x000000090000-0x0000000a0000 : "parameters-1"
0x0000000a0000-0x0000000b0000 : "env-0"
0x0000000b0000-0x0000000c0000 : "env-1"
0x000000100000-0x000000300000 : "u-boot-0"
0x000000300000-0x000000500000 : "u-boot-1"
libphy: Fixed MDIO Bus: probed
axxia-nemac 8080240000.ethernet: NEMAC HW rev 3.4
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f665 hci version 0x100 quirks 0x00010010
xhci-hcd xhci-hcd.0.auto: irq 68, io mem 0x9000000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
device-mapper: multipath round-robin: version 1.2.0 loaded
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
u32 classifier
    Actions configured
NET: Registered protocol family 10
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
l2tp_core: L2TP core driver, V2.0
Key type dns_resolver registered
Btrfs loaded, crc32c=crc32c-generic
console [netcon0] enabled
netconsole: network logging started
hctosys: unable to open rtc device (rtc0)
usb-storage 2-1:1.0: USB Mass Storage device detected
scsi host0: usb-storage 2-1:1.0
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
scsi 0:0:0:0: Direct-Access     ADATA    USB Flash Drive  1100 PQ: 0 ANSI: 6
sd 0:0:0:0: [sda] 30474240 512-byte logical blocks: (15.6 GB/14.5 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
axxia-nemac 8080240000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 128.224.165.20, my address is 128.224.165.246
IP-Config: Complete:
     device=eth0, hwaddr=98:4f:ee:10:e4:78, ipaddr=128.224.165.246, mask=255.255.255.0, gw=128.224.165.1
     host=128.224.165.246, domain=pek-tuxlab.wrs.com, nis-domain=(none)
     bootserver=128.224.165.20, rootserver=128.224.165.20, rootpath=     nameserver0=128.224.160.11, nameserver1=147.11.100.30, nameserver2=147.11.1.11
uart-pl011 8080000000.uart: no DMA platform data
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
VFS: Mounted root (nfs filesystem) on device 0:15.
devtmpfs: mounted
Freeing unused kernel memory: 768K (ffffffc000ac0000 - ffffffc000b80000)
random: fast init done
request_module: runaway loop modprobe binfmt-464c
Starting init: /sbin/init exists but couldn't execute it (error -8)

Workaround

Enable CONFIG_COMPAT=y

Steps to Reproduce

1.Setup
 --machines axxiaarm64 --kernel cgl --base-url git://pek-git.wrs.com --dl-layers --template feature/kexec,feature/kdump --layers wr-cgl --distro wrlinux-cgl --templates feature/acl feature/LAMP feature/test --layers meta-filesystems meta-xfce

2.Boot target

Other Downloads


Live chat
Online