This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4378: [FAILED] Failed to start Load Kernel Modules

Part Number: AM4378

Hi,

I have an AM4378 Custom.

I have an error message  during the boot. 

[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.

Pls let me know how to fix this problem.


I attached the boot log file below.

AM4378 Custom Board boot-log.txt
CPU  : AM437X-GP rev 1.2
Model: TI AM437x GP EVM
DRAM:  2 GiB
PMIC:  TPS65218
NAND:  512 MiB
MMC:   OMAP SD/MMC: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

Net:   
Warning: ethernet@4a100000 using MAC address from ROM
eth0: ethernet@4a100000
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Unable to read file boot.scr **
848 bytes read in 1 ms (828.1 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
4293120 bytes read in 217 ms (18.9 MiB/s)
52345 bytes read in 4 ms (12.5 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8fff0000, end 8ffffc78 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.59-g5f8c1c6121 (kihan21@ubuntu) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #10
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: TI AM437x GP EVM
[    0.000000] Memory policy: Data cache writeback
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 48 MiB at 0xfcc00000
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM437x ES1.2 (sgx neon)
[    0.000000] random: get_random_bytes called from start_kernel+0xa0/0x420 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522559
[    0.000000] Kernel command line: console=ttyO0,115200n8 video=HDMI-A-1:800x600 root=PARTUUID=8fa8f7a9-02 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2015660K/2097148K available (8192K kernel code, 318K rwdata, 2708K rodata, 1024K init, 254K bss, 32336K reserved, 49152K cma-reserved, 1261)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 319 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 255 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] OMAP L2C310: ROM does not support power control setting
[    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000029] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000037] OMAP clocksource: timer1 at 24000000 Hz
[    0.000401] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000410] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000779] Console: colour dummy device 80x30
[    0.000807] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000813] This ensures that you still see kernel messages. Please
[    0.000817] update your kernel commandline.
[    0.000858] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
[    0.060177] pid_max: default: 32768 minimum: 301
[    0.060356] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.060380] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.061109] CPU: Testing write buffer coherency: ok
[    0.061162] CPU0: Spectre v2: using BPIALL workaround
[    0.061987] Setting up static identity map for 0x80100000 - 0x80100060
[    0.062125] rcu: Hierarchical SRCU implementation.
[    0.062444] EFI services will not be available.
[    0.063483] devtmpfs: initialized
[    0.072281] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.072640] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.072662] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.075831] pinctrl core: initialized pinctrl subsystem
[    0.076486] DMI not present or invalid.
[    0.076906] NET: Registered protocol family 16
[    0.078542] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.149742] cpuidle: using governor ladder
[    0.149777] cpuidle: using governor menu
[    0.156430] OMAP GPIO hardware version 0.1
[    0.165005] No ATAGs?
[    0.165028] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.165042] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.177354] edma 49000000.edma: TI EDMA DMA engine driver
[    0.181117] SCSI subsystem initialized
[    0.181610] media: Linux media interface: v0.10
[    0.181649] videodev: Linux video capture interface: v2.00
[    0.181751] pps_core: LinuxPPS API ver. 1 registered
[    0.181759] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.181782] PTP clock support registered
[    0.181813] EDAC MC: Ver: 3.0.0
[    0.182715] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.183309] Advanced Linux Sound Architecture Driver Initialized.
[    0.184343] clocksource: Switched to clocksource timer1
[    0.191390] NET: Registered protocol family 2
[    0.192074] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.192107] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.192166] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.192239] TCP: Hash tables configured (established 8192 bind 8192)
[    0.192422] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.192445] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.192577] NET: Registered protocol family 1
[    0.193097] RPC: Registered named UNIX socket transport module.
[    0.193109] RPC: Registered udp transport module.
[    0.193114] RPC: Registered tcp transport module.
[    0.193120] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.194974] Initialise system trusted keyrings
[    0.195203] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    0.198926] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.199572] NFS: Registering the id_resolver key type
[    0.199603] Key type id_resolver registered
[    0.199610] Key type id_legacy registered
[    0.199648] ntfs: driver 2.1.32 [Flags: R/O].
[    0.201636] Key type asymmetric registered
[    0.201651] Asymmetric key parser 'x509' registered
[    0.201712] bounce: pool size: 64 pages
[    0.201770] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.201781] io scheduler noop registered
[    0.201787] io scheduler deadline registered
[    0.201994] io scheduler cfq registered (default)
[    0.202004] io scheduler mq-deadline registered
[    0.202010] io scheduler kyber registered
[    0.204631] pinctrl-single 44e10800.pinmux: 199 pins, size 796
[    0.207703] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.207796] pwm-backlight backlight: Linked as a consumer to regulator.0
[    0.247065] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.249875] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
[    0.250534] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 31, base_baud = 3000000) is a 8250
[    0.940734] console [ttyS0] enabled
[    0.944850] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
[    0.953531] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 32, base_baud = 3000000) is a 8250
[    0.964459] omap_rng 48310000.rng: Random Number Generator ver. 20
[    0.971852] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
[    0.981342] random: fast init done
[    0.984995] random: crng init done
[    0.989082] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
[    0.996029] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
[    1.005447] panel-simple display: display supply power not found, using dummy regulator
[    1.013566] panel-simple display: Linked as a consumer to regulator.0
[    1.030600] brd: module loaded
[    1.041842] loop: module loaded
[    1.047810] libphy: Fixed MDIO Bus: probed
[    1.124400] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    1.132100] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.139347] libphy: 4a101000.mdio: probed
[    1.143389] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[    1.153934] cpsw 4a100000.ethernet: Detected MACID = 34:b1:f7:3d:b9:84
[    1.160682] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[    1.167139] cpsw 4a100000.ethernet: ALE Table size 1024
[    1.172419] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[    1.180901] i2c /dev entries driver
[    1.186309] cpuidle: enable-method property 'ti,am4372' found operations
[    1.193449] sdhci: Secure Digital Host Controller Interface driver
[    1.199752] sdhci: Copyright(c) Pierre Ossman
[    1.205488] omap_hsmmc 47810000.mmc: Linked as a consumer to regulator.2
[    1.237390] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.243932] ledtrig-cpu: registered to indicate activity on CPUs
[    1.254921] NET: Registered protocol family 10
[    1.260638] Segment Routing with IPv6
[    1.264540] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.271199] NET: Registered protocol family 17
[    1.276159] Key type dns_resolver registered
[    1.280740] omap_voltage_late_init: Voltage driver support not added
[    1.288045] Loading compiled-in X.509 certificates
[    1.302990] GPIO line 119 (SelEMMCorNAND) hogged as output/low
[    1.309717] GPIO line 136 (SelLCDorHDMI) hogged as output/high
[    1.316249] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.321418] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.328859] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
[    1.335295] nand: Micron MT29F4G08ABAEAWP
[    1.339324] nand: 512 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224
[    1.347094] Using OMAP_ECC_BCH16_CODE_HW ECC scheme
[    1.352092] 10 fixed-partitions partitions found on MTD device omap2-nand.0
[    1.359105] Creating 10 MTD partitions on "omap2-nand.0":
[    1.364542] 0x000000000000-0x000000040000 : "NAND.SPL"
[    1.370621] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
[    1.377279] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
[    1.383820] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
[    1.390424] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"
[    1.397273] 0x000000180000-0x000000280000 : "NAND.u-boot"
[    1.403499] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"
[    1.410010] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"
[    1.417239] 0x000000300000-0x000000a00000 : "NAND.kernel"
[    1.424243] 0x000000a00000-0x000020000000 : "NAND.file-system"
[    1.540060] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
[    1.547270] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
[    1.553403] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
[    1.562820] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
[    1.569745] DSS: OMAP DSS rev 2.0
[    1.574040] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
[    1.582331] omapdrm omapdrm.0: DMM not available, disable DMM support
[    1.589104] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.595782] [drm] No driver support for vblank timestamp query.
[    1.664183] Console: switching to colour frame buffer device 100x30
[    1.687320] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    1.693982] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
[    1.701658] cpu cpu0: Linked as a consumer to regulator.5
[    1.707209] cpu cpu0: Dropping the link to regulator.5
[    1.712539] cpu cpu0: Linked as a consumer to regulator.5
[    1.719306] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    1.728186] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.733264] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
[    1.766228] hctosys: unable to open rtc device (rtc0)
[    1.772822] vmmcwl_fixed: disabling
[    1.776523] ALSA device list:
[    1.779653]   No soundcards found.
[    1.785098] Waiting for root device PARTUUID=8fa8f7a9-02...
[    1.847605] mmc1: host does not support reading read-only switch, assuming write-enable
[    1.861509] mmc1: new high speed SDHC card at address aaaa
[    1.868337] mmcblk1: mmc1:aaaa SU04G 3.69 GiB 
[    1.876961]  mmcblk1: p1 p2
[    2.000794] EXT4-fs (mmcblk1p2): recovery complete
[    2.010095] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.018411] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.028307] devtmpfs: mounted
[    2.033124] Freeing unused kernel memory: 1024K
[    2.037883] Run /sbin/init as init process
[    2.367802] systemd[1]: System time before build time, advancing clock.
[    2.412595] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ)
[    2.435229] systemd[1]: Detected architecture arm.

Welcome to Arago 2019.07!

[    2.478091] systemd[1]: Set hostname to <am437x-evm>.
[    2.782041] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not suppo.
[    2.799422] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    3.193303] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    3.225210] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    3.255381] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    3.289306] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    3.326384] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Listening on Journal Socket.
         Mounting POSIX Message Queue File System...
         Mounting Kernel Debug File System...
         Starting Load Kernel Modules...
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    3.589228] cmemk: disagrees about version of symbol module_layout
[    3.599550] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
         Starting Journal Service...
[  OK  ] Reached target Swap.
[    3.631044] cryptodev: disagrees about version of symbol module_layout
         Starting Create list of required st��…ce nodes for the current kernel...
[    3.659881] usb_common: disagrees about version of symbol module_layout
[    3.683116] usb_common: disagrees about version of symbol module_layout
[  OK  ] Listening on Network Service Netlink Socket.
[    3.711229] uio: disagrees about version of symbol module_layout
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reached target Paths.
         Mounting Temporary Directory (/tmp)...
[  OK  ] Listening on Process Core Dump Socket.
[  OK  ] Listening on udev Control Socket.
         Starting udev Coldplug all Devices...
[  OK  ] Started Journal Service.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create list of required sta��…vice nodes for the current kernel.
[  OK  ] Mounted Temporary Directory (/tmp).
         Starting Create Static Device Nodes in /dev...
         Starting Apply Kernel Variables...
         Mounting Kernel Configuration File System...
         Starting Flush Journal to Persistent Storage...
[    4.499702] sch_fq_codel: disagrees about version of symbol module_layout
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Mounted Kernel Configuration File System.
[    4.635354] systemd-journald[80]: Received request to flush runtime journal from PID 1
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /var/volatile...
         Mounting /media/ram...
[  OK  ] Reached target Containers.
         Starting udev Kernel Device Manager...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /media/ram.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Network Service...
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Service.
         Starting Network Name Resolution...
         Starting Wait for Network to be Configured...
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[    6.471054] ti_am335x_tscadc: disagrees about version of symbol module_layout
[    6.478613] omap_wdt: disagrees about version of symbol module_layout
[    6.496767] rtc_omap: disagrees about version of symbol module_layout
[    6.503651] rtc_omap: disagrees about version of symbol module_layout
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on RPCbind Server Activation Socket[    6.647032] phy_omap_usb2: disagrees about version of symbol module_layout
.
[    6.657057] remoteproc: disagrees about version of symbol module_layout
[    6.664728] phy_omap_usb2: disagrees about version of symbol module_layout
[    6.679017] ti_am335x_tscadc: disagrees about version of symbol module_layout
[    6.721867] omap_wdt: disagrees about version of symbol module_layout
[  OK  ] Listening on dropbear.socket.
[    6.813948] rtc_omap: disagrees about version of symbol module_layout
[    6.845683] phy_omap_usb2: disagrees about version of symbol module_layout
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[    6.887580] phy_omap_usb2: disagrees about version of symbol module_layout
[  OK  ] Started Daily rotation of log files.
[    6.917801] remoteproc: disagrees about version of symbol module_layout
[    6.925556] rtc_omap: disagrees about version of symbol module_layout
[    6.968255] remoteproc: disagrees about version of symbol module_layout
         Starting Reboot and dump vmcore via kexec...
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[    7.103657] v4l2_fwnode: disagrees about version of symbol module_layout
[  OK  ] Reached target Basic System.
         Starting uim-sysfs.service...
[    7.210892] remoteproc: disagrees about version of symbol module_layout
[    7.295523] v4l2_fwnode: disagrees about version of symbol module_layout
[    7.324646] pixcir_i2c_ts: disagrees about version of symbol module_layout
[    7.334587] snd_soc_tlv320aic3x: disagrees about version of symbol module_layout
[  OK  ] Started D-Bus System Message Bus.
[    7.445860] v4l2_fwnode: disagrees about version of symbol module_layout
[    7.529350] v4l2_fwnode: disagrees about version of symbol module_layout
[    7.583969] pixcir_i2c_ts: disagrees about version of symbol module_layout
[    7.617588] snd_soc_tlv320aic3x: disagrees about version of symbol module_layout
[    7.639487] can_dev: disagrees about version of symbol module_layout
[    7.647583] can_dev: disagrees about version of symbol module_layout
[    7.710921] can_dev: disagrees about version of symbol module_layout
[    7.720887] can_dev: disagrees about version of symbol module_layout
[  OK  ] Started Job spooling tools.
[    7.814136] v4l2_fwnode: disagrees about version of symbol module_layout
[    7.828457] v4l2_fwnode: disagrees about version of symbol module_layout
[    7.854687] dwc3_omap: disagrees about version of symbol module_layout
[    7.929878] can_dev: disagrees about version of symbol module_layout
         Starting RPC Bind Service...
[    7.961967] dwc3_omap: disagrees about version of symbol module_layout
[    7.983738] can_dev: disagrees about version of symbol module_layout
[    8.037188] dwc3_omap: disagrees about version of symbol module_layout
         Starting Print notice about GPLv3 packages...
[    8.072788] v4l2_fwnode: disagrees about version of symbol module_layout
[    8.109138] v4l2_fwnode: disagrees about version of symbol module_layout
[    8.121029] can_dev: disagrees about version of symbol module_layout
         Starting Login Service...
[    8.148519] can_dev: disagrees about version of symbol module_layout
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[    8.270090] dwc3_omap: disagrees about version of symbol module_layout
[  OK  ] Started Periodic Command Scheduler.
[  OK  ] Started Network Name Resolution.
[  OK  ] Started Reboot and dump vmcore via kexec.
[  OK  ] Started RPC Bind Service.
[    8.693994] ti_emif_sram: disagrees about version of symbol module_layout
[    8.709425] omap_crypto: disagrees about version of symbol module_layout
[    8.719737] omap_crypto: disagrees about version of symbol module_layout
[    8.726812] omap_sham: disagrees about version of symbol module_layout
[    8.743077] pruss_soc_bus: disagrees about version of symbol module_layout
[  OK  ] Found device /dev/ttyS0.
[    8.832609] omap_crypto: disagrees about version of symbol module_layout
[    8.877411] omap_sham: disagrees about version of symbol module_layout
[    8.889786] pruss_soc_bus: disagrees about version of symbol module_layout
[    8.946844] omap_crypto: disagrees about version of symbol module_layout
[    8.969030] ti_emif_sram: disagrees about version of symbol module_layout
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Reached target Network.
         Starting Permit User Sessions...
         Starting Enable and configure wl18xx bluetooth stack...
         Starting Simple Network Management Protocol (SNMP) Daemon....
         Starting Lightning Fast Webserver With Light System Requirements...
[  OK  ] Started Redis In-Memory Data Store.
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Lightning Fast Webserver With Light System Requirements.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[   11.033682] pvrsrvkm: disagrees about version of symbol module_layout
[   11.313801] pvrsrvkm: disagrees about version of symbol module_layout
[   11.386935] net eth0: initializing cpsw version 1.15 (0)
[   11.619319] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[   11.708730] matrix_keymap: disagrees about version of symbol module_layout
[   11.861863] matrix_keymap: disagrees about version of symbol module_layout
[   11.898287] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   11.980103] ti_emif_sram: disagrees about version of symbol module_layout
[   12.058700] snd_soc_simple_card_utils: disagrees about version of symbol module_layout
[   12.123397] ti_emif_sram: disagrees about version of symbol module_layout
[  OK  ] Started Enable and configure wl18xx bluetooth stack.
[   12.348419] snd_soc_simple_card_utils: disagrees about version of symbol module_layout
[   13.926337] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   14.045035] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
[  OK  ] Started uim-sysfs.service.
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
        autoconf
        bash-dev
        bash
        bc
        binutils
        cifs-utils
        cpio
        cpp-symlinks
        cpp
        dosfstools
        elfutils
        findutils
        g++-symlinks
        g++
        gawk
        gcc-symlinks
        gcc
        gdb
        gdbserver
        gettext
        glmark2
        gstreamer1.0-libav
        gzip
        hidapi
        libbfd
        libdw1
        libelf1
        libgdbm-compat4
        libgdbm-dev
        libgdbm6
        libgettextlib
        libgettextsrc
        libgmp10
        libidn2-0
        libmavconn
        libmpc3
        libmpfr6
        libreadline-dev
        libreadline7
        libunistring2
        m4-dev
        m4
        make
        mavlink
        mavros-extras
        mavros-msgs
        mavros
        nettle
        pdm-anomaly-detection
        socketcan-interface
        which

If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution.  This can be done using
the opkg remove command.  i.e.:
    opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
      will be notified of the dependent packages.  You should
      use the --force-removal-of-dependent-packages option to
      also remove the dependent packages as well
***************************************************************
***************************************************************
[  OK  ] Started Print notice about GPLv3 packages.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
         Starting File System Check on /dev/mmcblk1p1...
         Starting Rotate log files...
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight��…ightness of backlight:backlight...
         Starting rc.pvr.service...
[  OK  ] Stopped Redis In-Memory Data Store.
[  OK  ] Started Redis In-Memory Data Store.
[  OK  ] Started Serial Getty on ttyS0.
[   23.625988] pvrsrvkm: disagrees about version of symbol module_layout
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Starting Synchronize System and HW clocks...
[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[  OK  ] Started File System Check on /dev/mmcblk1p1.
[  OK  ] Stopped Redis In-Memory Data Store.
[  OK  ] Started Redis In-Memory Data Store.
         Mounting /run/media/mmcblk1p1...
[  OK  ] Started Login Service.
[  OK  ] Mounted /run/media/mmcblk1p1.
[  OK  ] Stopped Redis In-Memory Data Store.
[  OK  ] Started Redis In-Memory Data Store.
[  OK  ] Started Rotate log files.
[  OK  ] Stopped Redis In-Memory Data Store.
[  OK  ] Started Redis In-Memory Data Store.
[  OK  ] Stopped Redis In-Memory Data Store.
[  OK  ] Started Redis In-Memory Data Store.
[  OK  ] Stopped Redis In-Memory Data Store.
[FAILED] Failed to start Redis In-Memory Data Store.
[   25.827526] pvrsrvkm: disagrees about version of symbol module_layout
See 'systemctl status redis.service' for details.
[  OK  ] Started rc.pvr.service.
         Starting weston.service...
[  OK  ] Started Wait for Network to be Configured.
[  OK  ] Reached target Network is Online.
[  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
[   27.956908] xfrm_algo: disagrees about version of symbol module_layout
[   28.222710] xfrm_algo: disagrees about version of symbol module_layout

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org am437x-evm ttyS0

Arago 2019.07 am437x-evm ttyS0

am437x-evm login:

root@am437x-evm:~# lsmod
Module Size Used by
xfrm_user 32768 2
xfrm4_tunnel 16384 0
ipcomp 16384 0
xfrm_ipcomp 16384 1 ipcomp
esp4 20480 0
ah4 16384 0
af_key 36864 0
xfrm_algo 16384 5 xfrm_user,esp4,ah4,af_key,xfrm_ipcomp
xhci_plat_hcd 16384 0
xhci_hcd 147456 1 xhci_plat_hcd
pru_rproc 24576 0
irq_pruss_intc 16384 1 pru_rproc
pruss 16384 1 pru_rproc
dwc3 73728 0
udc_core 28672 1 dwc3
ti_am335x_adc 20480 0
snd_soc_simple_card 16384 0
snd_soc_simple_card_utils 16384 1 snd_soc_simple_card
pm33xx 16384 0
matrix_keypad 16384 0
matrix_keymap 16384 1 matrix_keypad
pruss_soc_bus 16384 0
omap_des 20480 0
omap_aes_driver 24576 0
des_generic 28672 1 omap_des
crypto_engine 16384 2 omap_des,omap_aes_driver
omap_sham 28672 0
omap_crypto 16384 2 omap_des,omap_aes_driver
ti_emif_sram 16384 1 pm33xx
dwc3_omap 16384 0
am437x_vpfe 36864 0
c_can_platform 16384 0
c_can 20480 1 c_can_platform
can_dev 28672 1 c_can
pixcir_i2c_ts 16384 0
snd_soc_tlv320aic3x 57344 1
ov2659 16384 2
v4l2_fwnode 20480 2 am437x_vpfe,ov2659
wkup_m3_ipc 16384 1 pm33xx
phy_omap_usb2 16384 3
rtc_omap 20480 2
wkup_m3_rproc 16384 1
omap_wdt 16384 0
ti_am335x_tscadc 16384 1 ti_am335x_adc
remoteproc 49152 3 pru_rproc,wkup_m3_rproc,wkup_m3_ipc
sch_fq_codel 20480 2
uio 20480 0
ftdi_sio 40960 0
usbserial 36864 1 ftdi_sio
usbcore 217088 4 ftdi_sio,usbserial,xhci_plat_hcd,xhci_hcd
usb_common 16384 3 udc_core,usbcore,dwc3

root@am437x-evm:~# journalctl | grep modules
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
Oct 19 16:13:45 am437x-evm systemd-modules-load[72]: Failed to insert 'cmemk': Exec format error
Oct 19 16:13:45 am437x-evm systemd-modules-load[72]: Failed to insert 'cryptodev': Exec format error
Oct 19 16:13:45 am437x-evm systemd-modules-load[72]: Failed to insert 'usbserial': Exec format error
Oct 19 16:13:45 am437x-evm systemd-modules-load[72]: Failed to insert 'ftdi_sio': Exec format error
Oct 19 16:13:45 am437x-evm systemd-modules-load[72]: Failed to insert 'uio_module_drv': Exec format error
Oct 19 16:13:45 am437x-evm systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Oct 19 16:13:45 am437x-evm systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.

root@am437x-evm:~# uname -r
4.19.59-g5f8c1c6121

root@am437x-evm:~# modinfo cmemk
filename: /lib/modules/4.19.59-g5f8c1c6121/extra/cmemk.ko
license: GPL
srcversion: CA4057FB85EBE5FF1AD93F2
depends:
name: cmemk
vermagic: 4.19.59-g5f8c1c6121 preempt mod_unload modversions ARMv7 p2v8

root@am437x-evm:~# modinfo cryptodev
filename: /lib/modules/4.19.59-g5f8c1c6121/extra/cryptodev.ko
license: GPL
description: CryptoDev driver
author: Nikos Mavrogiannopoulos <nmav@gnutls.org>
srcversion: DE8256F6C394DF31333BE0A
depends:
name: cryptodev
vermagic: 4.19.59-g5f8c1c6121 preempt mod_unload modversions ARMv7 p2v8
parm: cryptodev_verbosity:0: normal, 1: verbose, 2: debug (int)

root@am437x-evm:~# modinfo usbserial
filename: /lib/modules/4.19.59-g5f8c1c6121/kernel/drivers/usb/serial/usbserial.ko
license: GPL v2
description: USB Serial Driver core
author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
srcversion: 65F41F1C01D915715063557
depends: usbcore
intree: Y
name: usbserial
vermagic: 4.19.59-g5f8c1c6121 preempt mod_unload modversions ARMv7 p2v8

root@am437x-evm:~# modinfo uio_module_drv
filename: /lib/modules/4.19.59-g5f8c1c6121/extra/uio_module_drv.ko
alias: platform:uio_module_drv
description: User-space driver for a generic module
license: GPL v2
author: Sam Nelson
srcversion: 5E972E7D9BDD9CCD670A6A2
alias: of:N*T*Cti,uio-module-drvC*
alias: of:N*T*Cti,uio-module-drv
depends: uio
name: uio_module_drv
vermagic: 4.19.59-g5f8c1c6121 preempt mod_unload modversions ARMv7 p2v8

SDK Version is processor-sdk-linux-am437x-evm-06.01.00.08 and reference design is AM437x GP-EVM.

And I upgraded SDK version to 06.03.00.106 and rebuilt kernel & modules.

Below is build script file.

export PATH=$PATH:/home/kihan21/ti/ti-processor-sdk-linux-am437x-evm-06.03.00.106/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-
export INSTALL_MOD_PATH=/home/kihan21/ti/ti-processor-sdk-linux-am437x-evm-06.03.00.106/targetNFS

make mrproper

make tisdk_am437x-evm_defconfig
make menuconfig

make am437x-evm_debug_defconfig
echo "=================================zImage===================================="
make zImage

cp arch/arm/boot/zImage ../../targetNFS/boot/


AM4378 Custom Board rebuild boot-log.txt

root@am437x-evm:~# journalctl | grep modules
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
Apr 19 02:08:04 am437x-evm systemd-modules-load[79]: Failed to insert 'cmemk': Exec format error
Apr 19 02:08:04 am437x-evm systemd-modules-load[79]: Failed to insert 'cryptodev': Exec format error
Apr 19 02:08:04 am437x-evm systemd-modules-load[79]: Inserted module 'usbserial'
Apr 19 02:08:04 am437x-evm systemd-modules-load[79]: Inserted module 'ftdi_sio'
Apr 19 02:08:03 am437x-evm systemd-modules-load[79]: Failed to insert 'uio_module_drv': Exec format error

root@am437x-evm:~# uname -a
Linux am437x-evm 4.19.94+ #1 PREEMPT Fri Jul 24 22:21:32 KST 2020 armv7l GNU/Linux

root@am437x-evm:/lib/modules/4.19.94+/extra# modinfo uio_module_drv.ko
filename: /lib/modules/4.19.94+/extra/uio_module_drv.ko
alias: platform:uio_module_drv
description: User-space driver for a generic module
license: GPL v2
author: Sam Nelson
srcversion: 5E972E7D9BDD9CCD670A6A2
alias: of:N*T*Cti,uio-module-drvC*
alias: of:N*T*Cti,uio-module-drv
depends: uio
name: uio_module_drv
vermagic: 4.19.94-gbe5389fd85 preempt mod_unload modversions ARMv7 p2v8


cmemk, cryptodev, uio_module_drv were not build and intalled.

Pls let me know how to build these modules.

Thanks, kiha.

  • Hi,

    You should be able to run this command to build the modules and install. This dependent on this environment variable being the destination you want.

    make modules install

    Best Regards,

    Schuyler

  • Hi, 

    Thanks for your prompt response.

    I'm sorry for missing one thing to inform you.

    There were two commands for module build and install on the end of script file.

    export PATH=$PATH:/home/kihan21/ti/ti-processor-sdk-linux-am437x-evm-06.03.00.106/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/
    export ARCH=arm
    export CROSS_COMPILE=arm-linux-gnueabihf-
    export INSTALL_MOD_PATH=/home/kihan21/ti/ti-processor-sdk-linux-am437x-evm-06.03.00.106/targetNFS

    make mrproper

    #make tisdk_am437x-evm_defconfig
    #make menuconfig

    make am437x-evm_debug_defconfig
    echo "=================================zImage===================================="
    make zImage

    cp arch/arm/boot/zImage ../../targetNFS/boot/

    echo "=================================modules==================================="
    make modules
    make modules_install

    modules was successfully builded and installed to the target directory, targetNFS/lib/modules/4.19.94+.

    But there is no 'extra' directory  in 4.19,94+, which have external modules like cmemk.ko, cryptodev.ko, uio_module_drv.ko. 

    I think external modules were not built with these two command.

    So I copied extra from prebuilted file system. and I got Failed tostart Load Kernel Modules Error.

    Today, I tried to rebuild and install the kernel module according to your recommend after removing 4.19.94+ directory from  targetNFS.

    make modules install

    But after module build I got the following errors.

    /bin/sh ./arch/arm/boot/install.sh "4.19.94+" \
    arch/arm/boot/Image System.map "/boot"
    run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.19.94+ /boot/vmlinuz-4.19.94+
    run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.19.94+ /boot/vmlinuz-4.19.94+
    update-initramfs: Generating /boot/initrd.img-4.19.94+
    WARNING: missing /lib/modules/4.19.94+
    Ensure all necessary drivers are built into the linux image!
    depmod: ERROR: could not open directory /lib/modules/4.19.94+: No such file or directory
    depmod: FATAL: could not search modules: No such file or directory
    depmod: WARNING: could not open /var/tmp/mkinitramfs_YpEcxe/lib/modules/4.19.94+/modules.order: No such file or directory
    depmod: WARNING: could not open /var/tmp/mkinitramfs_YpEcxe/lib/modules/4.19.94+/modules.builtin: No such file or directory
    run-parts: executing /etc/kernel/postinst.d/pm-utils 4.19.94+ /boot/vmlinuz-4.19.94+
    run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.19.94+ /boot/vmlinuz-4.19.94+
    run-parts: executing /etc/kernel/postinst.d/update-notifier 4.19.94+ /boot/vmlinuz-4.19.94+
    run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.19.94+ /boot/vmlinuz-4.19.94+
    Generating grub configuration file ...
    Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
    Found linux image: /boot/vmlinuz-4.19.94+
    Found initrd image: /boot/initrd.img-4.19.94+
    Found linux image: /boot/vmlinuz-4.15.0-112-generic
    Found initrd image: /boot/initrd.img-4.15.0-112-generic
    Found linux image: /boot/vmlinuz-4.15.0-107-generic
    Found initrd image: /boot/initrd.img-4.15.0-107-generic
    Found memtest86+ image: /boot/memtest86+.elf
    Found memtest86+ image: /boot/memtest86+.bin

    So I  tried the following command

    make modules_install

    And then modules were successfully installed to targetNFS/lib/modules/4.19.94+. But still no 'extra' directroy.

    This time, I booted the board without external modules (no 'extra' directory).

    root@am437x-evm:~# journalctl | grep modules
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    Apr 19 02:08:03 am437x-evm systemd-modules-load[73]: Failed to find module 'cmemk'
    Apr 19 02:08:03 am437x-evm systemd-modules-load[73]: Failed to find module 'cryptodev'
    Apr 19 02:08:03 am437x-evm systemd-modules-load[73]: Inserted module 'usbserial'
    Apr 19 02:08:03 am437x-evm systemd-modules-load[73]: Inserted module 'ftdi_sio'
    Apr 19 02:08:03 am437x-evm systemd-modules-load[73]: Failed to find module 'uio_module_drv'
    root@am437x-evm:~# modinfo usbserial
    filename: /lib/modules/4.19.94+/kernel/drivers/usb/serial/usbserial.ko
    license: GPL v2
    description: USB Serial Driver core
    author: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    srcversion: 68D9DF006C82E7344FF24F4
    depends: usbcore
    intree: Y
    name: usbserial
    vermagic: 4.19.94+ preempt mod_unload modversions ARMv7 p2v8
    root@am437x-evm:~# uname -a
    Linux am437x-evm 4.19.94+ #1 PREEMPT Tue Jul 28 12:10:39 KST 2020 armv7l GNU/Linux

    Rebuilt module, usbserial is the same version with kernel and successfully loaded.

    Pls let me know how to fix this problems.

    Thanks, kihan.

  • Hi, 

    I stopped the project and am waiting for your response.

    I removed SDK and reinstalled it.

    And then I rebuilt the kernel and modules. Finally installed module to the file system /lib/modules.

    But still same problem. I did nothing except built and install.

    What should I do for compiling external modules ??

    Thanks, kihan.

  • Hi, 

    I'm still waiting for your response. 

    Pls let me know what I have to do to solve this issue.

    Thanks, kihan.

  • Hi,

    This issue has been solved with toplevel Makefile.

    Thanks for your help..