error "mmc1: Timeout waiting for hardware cmd interrupt

If you're having trouble with your LattePanda Alpha & Delta, here's the place to get help.
Forum rules
If you have not found a solution, post a new issue. To speed up the process please let us know:
- Have you tried the solutions listed above?
- What board are you using? Standard (2GB RAM/32GB eMMC) or Enhanced (4GB RAM/64GB eMMC)?
- Have you tried any other solutions?
- How long have you had your board for?
- When did you first boot your board?
- Did it work ok before the issue occurred or has the issue always been there?
- Use images and videos to help us understand the issue where possible

If you are seeking RMA:
- Please open a new topic rather than hijacking someone else's thread
- Mark RMA posts with [DEFECTIVE] + <helpful description of issue>. We can then approve/disapprove each request
- Completed RMA cases will be marked with [CLOSED]
You can find the RMA guide [here]

Resolved Issues
- If you manage to fix an issue, please share your solution for the good of the community. It could help someone else in future.
- If an issue is resolved the thread should be marked as [RESOLVED]. We can then sticky the thread to help people in future.
Post Reply
User avatar
Raymond Day
Posts: 37
Joined: Mon Apr 18, 2016 12:48 pm

Sun Feb 10, 2019 10:18 am

Install Ubuntu Ubuntu Linux 18.04.1 server on my LattaPanda alpha.

As it boots and goes to the login it fills up the screen with this:

[ 248.520351] mmc1: sdhci: ============================================
[ 258.746992] mmc1: Timeout waiting for hardware cmd interrupt.
[ 258.749490] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 258.751722] mmc1: sdhci: Sys addr: 0x00000000 | Version: 0x00001002
[ 258.752921] mmc1: sdhci: Blk size: 0x00000000 | Blk cnt: 0x00000000
[ 258.753713] mmc1: sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[ 258.754470] mmc1: sdhci: Present: 0x000a0001 | Host ctl: 0x00000000
[ 258.755220] mmc1: sdhci: Power: 0x0000000e | Blk gap: 0x00000080
[ 258.755981] mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x00004e47
[ 258.756676] mmc1: sdhci: Timeout: 0x00000000 | Int stat: 0x00000000
[ 258.757360] mmc1: sdhci: Int enab: 0x00ff0043 | Sig enab: 0x00ff0043
[ 258.758019] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
[ 258.758657] mmc1: sdhci: Caps: 0x7568c881 | Caps_1: 0x00000807
[ 258.759303] mmc1: sdhci: Cmd: 0x0000371a | Max curr: 0x00000000
[ 258.759935] mmc1: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[ 258.760550] mmc1: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 258.761180] mmc1: sdhci: Host ctl2: 0x00000000
[ 258.761784] mmc1: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000000000000
[ 258.762403] mmc1: sdhci: ============================================


That is in the dmesg log file. Same what fills up the HDMI text screen.

After about 5 minutes or so it stops displaying them messages.

As I use it doing things on it the screen will show lines like this:

systemd-gpt-auto-generator[507]: Failed to dissect: Input/output error

It seems like it all still works. I had it up for about 2 days all ready. Been tying other kernel's then rebooting. But same errors like this. Any one else have this too?

I have the 4GB RAM/64GB eMMC one.

-Raymond Day

User avatar
Routhinator
Posts: 3
Joined: Sat Jun 27, 2020 6:17 pm

Sat Jun 27, 2020 6:20 pm

Just came here as I just got my first LattePanda, and found I had the same issue. I image the LattePanda Ubuntu release has a fix for that, but I'm looking to use this as a build server and not a desktop - not interested in installing anything but Ubuntu Server.. sad to see there's been no response to this in over a year.

Anyone lurking around that knows how to fix this spam?

User avatar
Routhinator
Posts: 3
Joined: Sat Jun 27, 2020 6:17 pm

Sat Jun 27, 2020 6:22 pm

Research is indicating this is SD card related, I could disable it as per https://askubuntu.com/questions/1151761 ... no-sd-card

However I'm wondering if there is a firmware package that just needs to be installed for this.

User avatar
Routhinator
Posts: 3
Joined: Sat Jun 27, 2020 6:17 pm

Sat Jun 27, 2020 6:32 pm

From the LSPCI output the SD card controller is as follows:

Code: Select all

00:1e.4 SD Host controller: Intel Corporation Device 9d2b (rev 21) (prog-if 01)
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, fast devsel, latency 0, IRQ 21
	Memory at df22a000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci

00:1e.6 SD Host controller: Intel Corporation Sunrise Point-LP Secure Digital IO Controller (rev 21) (prog-if 01)
	Subsystem: Intel Corporation Sunrise Point-LP Secure Digital IO Controller
	Flags: bus master, fast devsel, latency 0, IRQ 23
	Memory at df229000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci
This should be resolvable with the correct firmware or kernel module, and it seems Raspberry Pis have a similar model controller.

Post Reply