pi crashed and wont boot after trying to install xorg-init

This is for ARMv8 based devices

pi crashed and wont boot after trying to install xorg-init

Postby 4rt » Wed Apr 06, 2022 7:09 am

Hey, I have 2 raspberry pi4's running the generic v8 version of arch with no issues (well you know the deal no "serious" issues) until today, I was planning on trying out running a GUI application and so I went to installl xf86-video-fbdev, xorg-server and then when I ran "pacman -Syu xorg-xinit" and pressed yes it went about half way through, I beluieve it installed then it went to the post-install scripts and just crashed, I tried removing power but nothing so now I am chrooted in from my other raspberry pi 4 and reading the journal it shows the following:


$this->bbcode_second_pass_code('', 'a bunch of these sysrq: HELP

Apr 06 06:34:06 rpi4-pc kernel: sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) debug(g) kill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) force-fb(v) show-blocked-tasks(w)

sprinkled with these once in a while:

Apr 06 06:34:06 rpi4-pc kernel: sysrq: This sysrq operation is disabled.

Then this:

Apr 06 06:34:19 rpi4-pc kernel: mmc0: Timeout waiting for hardware cmd interrupt.
Apr 06 06:34:19 rpi4-pc kernel: sysrq: HELP : loglevel(0-9) reboot(b) crash(c)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Sys addr: 0x00000008 | Version: 0x00001002
Apr 06 06:34:19 rpi4-pc kernel: terminate-all-tasks(e)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
Apr 06 06:34:19 rpi4-pc kernel: memory-full-oom-kill(f)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Argument: 0xaaaa0000 | Trn mode: 0x00000023
Apr 06 06:34:19 rpi4-pc kernel: debug(g)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Present: 0x1fff0000 | Host ctl: 0x00000017
Apr 06 06:34:19 rpi4-pc kernel: kill-all-tasks(i)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000080
Apr 06 06:34:19 rpi4-pc kernel: thaw-filesystems(j)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000107
Apr 06 06:34:19 rpi4-pc kernel: sak(k)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Timeout: 0x00000005 | Int stat: 0x00000001
Apr 06 06:34:19 rpi4-pc kernel: show-backtrace-all-active-cpus(l)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Int enab: 0x03ff100b | Sig enab: 0x03ff100b
Apr 06 06:34:19 rpi4-pc kernel: show-memory-usage(m)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000001
Apr 06 06:34:19 rpi4-pc kernel: nice-all-RT-tasks(n)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Caps: 0x45ee6432 | Caps_1: 0x0000a525
Apr 06 06:34:19 rpi4-pc kernel: poweroff(o)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Cmd: 0x00000d1a | Max curr: 0x00080008
Apr 06 06:34:19 rpi4-pc kernel: show-registers(p)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x03b8ab7f
Apr 06 06:34:19 rpi4-pc kernel: show-all-timers(q)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Resp[2]: 0x32db7900 | Resp[3]: 0x00000900
Apr 06 06:34:19 rpi4-pc kernel: unraw(r)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: Host ctl2: 0x0000808c
Apr 06 06:34:19 rpi4-pc kernel: sync(s)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x41ead208
Apr 06 06:34:19 rpi4-pc kernel: show-task-states(t)
Apr 06 06:34:19 rpi4-pc kernel: mmc0: sdhci: ============================================
Apr 06 06:34:24 rpi4-pc kernel: unmount(u) force-fb(v) show-blocked-tasks(w)

and back to the sysrq: HELP
')


and then some more entries It seems to be from chrooting in? I don't know but the sysrq: HELP was just scrolling down my monitor when it crashed.

I'm about to format and install a fresh instance of arch but was hoping someone could help explain what happened to prevent this in the future or maybe threes a bug somewhere?

EDIT: I was about to reformat but I was able to chroot in so i thought to myself let me try again and I was able to boot then ssh in again so we'll see how it goes but still any insight as to what that means would be really appreciated as I would like to know what went wrong

Thanks
4rt
 
Posts: 14
Joined: Mon Oct 18, 2021 3:39 am

Re: pi crashed and wont boot after trying to install xorg-in

Postby robg » Wed Apr 06, 2022 1:19 pm

The cue lies in the cryptic error message:
$this->bbcode_second_pass_code('', 'mmc0: sdhci: ADMA Err: 0x00000000')

A quick DDG search reveals, among others, this.

There is nothing particular about xorg-init; your issue is that the kernel cannot access the SD card.
robg
 
Posts: 186
Joined: Tue Jan 05, 2021 8:22 am


Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 8 guests