Trouble with 9/13 console flasher

This is the transcript of the boot and flash and halt. If I remove the SD card at this point and press the reset button, I just get CCCCCC...

  http://pastebin.com/GXufknPT

I see "bad magic", but it seems to proceed on to running the flasher. It formats the eMMC and reboots, then I see this:

[ 132.166661] systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
[FAILED] Failed to start Load Kernel Modules.

Then it continues for a couple more minutes, and eventually shuts down. Not sure what's causing the problem (don't know enough about Linux to interpret what I see).

Help would be much appreciated, thank you.

And I may have spoken too soon. Actually power-cycling the board allowed it to come up. But I still don't know what

  [FAILED] Failed to start Load Kernel Modules.

means.

Thanks!

Full power cycle is required as documented, by just pressing the reset pin it’ll use the previous boot device. Which you removed…

So ask systemd…

systemctl status systemd-modules-load.service

Sorry, didn't remember that power-cycle was required. Where is that documented? Also, why (curious why a regular reset isn't enough)?

I asked systemd, and got the (rather generic, from my googling) answer:

root@beaglebone:/home/debian# systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
   Active: failed (Result: exit-code) since Sat 2000-01-01 00:00:08 UTC; 15 years 8 months ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 162 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 162 (code=exited, status=1/FAILURE)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

I looked through the modules-load.d directories, and found only one that had anything in it:

root@beaglebone:/home/debian# ls /etc/modules-load.d
modules.conf mt7601.conf
root@beaglebone:/home/debian# cat /etc/modules-load.d/modules.conf
# /etc/modules: kernel modules to load at boot time.

Rick, try using grep on the output of dmesg to find out what’s not loading. Something like . . .

dmesg | grep module

Where “module” could be any search keyword.

Hmm, there's this:

[ 10.554071] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 10.770822] systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
[ 10.838716] systemd[1]: Failed to start Load Kernel Modules.
[ 10.844524] systemd[1]: Unit systemd-modules-load.service entered failed state.

Ok, next show us the output from lsmod

So just a little google searching . . .

https://bbs.archlinux.org/viewtopic.php?id=187314

The OPs problem is slightly different than yours. Since his problem is related to catalyst( AMD ) video drivers. But seems mostly relevant. Check /etc/modprobe.d, if such a file exists on Debian Jessie. To see if there are any culprit services.

errr, culprit modules . . .

Geez, I’m batting 0 . . .

/etc/modprobe.d/modprobe.conf

Anyway, I’m not a wiz with systemd, but it seems this should lead to a potential fix.

No worries, I appreciate the help. Don't think there's anything going on. might be my cape is interfering with something? But I avoided the LCD pins…

root@beaglebone:/home/debian# lsmod
Module Size Used by
usb_f_ecm 11297 1
g_ether 5530 0
usb_f_rndis 26489 2 g_ether
u_ether 13550 3 usb_f_ecm,usb_f_rndis,g_ether
libcomposite 53868 3 usb_f_ecm,usb_f_rndis,g_ether
ctr 3999 2
ccm 8200 2
arc4 1995 2
rtl8192cu 65918 0
rtl_usb 10649 1 rtl8192cu
rtl8192c_common 46300 1 rtl8192cu
rtlwifi 67031 3 rtl_usb,rtl8192c_common,rtl8192cu
snd_soc_evm 6272 0
mac80211 618610 3 rtl_usb,rtlwifi,rtl8192cu
pruss_remoteproc 17264 0
cfg80211 509934 2 mac80211,rtlwifi
rfkill 20666 2 cfg80211
omap_rng 5254 0
tilcdc 32050 0
rng_core 8893 1 omap_rng
snd_soc_davinci_mcasp 19698 2
snd_soc_edma 1174 1 snd_soc_davinci_mcasp
snd_soc_hdmi_codec 2522 1
uio_pdrv_genirq 3745 0
uio 10140 1 uio_pdrv_genirq

root@beaglebone:/home/debian# ls /etc/modprobe.d/
fbdev-blacklist.conf

root@beaglebone:/home/debian# cat /etc/modprobe.d/fbdev-blacklist.conf
# This file blacklists most old-style PCI framebuffer drivers.

blacklist arkfb
blacklist aty128fb
blacklist atyfb
blacklist radeonfb
blacklist cirrusfb
blacklist cyber2000fb
blacklist kyrofb
blacklist matroxfb_base
blacklist mb862xxfb
blacklist neofb
blacklist pm2fb
blacklist pm3fb
blacklist s3fb
blacklist savagefb
blacklist sisfb
blacklist tdfxfb
blacklist tridentfb
blacklist vt8623fb

sudo rm /etc/modules-load.d/mt7601.conf

Will fix it… It’s an external module we package for 3.8, 3.14. But backported from 4.2 for our 4.1 kernel.

Thanks!