# Log warnings with 64GB SanDisk Extreme

**URL:** <https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588>\
**Category:** Hardware\
**Created:** [June 2, 2025, 5:21pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588 "2025-06-02T17:21:22Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![HansR](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/hansr/32/15102_2.png) [@HansR](https://discourse.zynthian.org/u/HansR)\
**Post date:** [June 2, 2025, 5:21pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/1 "2025-06-02T17:21:22Z")

</div>

Hi,

When I use a 64GB SanDisk Extreme SD card in my V5.1 kit I get a number of warnings in the syslog:

```auto
zynthian kernel: mmc0: running CQE recovery
zynthian kernel: mmc0: running CQE recovery
...
zynthian kernel: mmc0: running CQE recovery
zynthian kernel: mmc0: running CQE recovery

```

Also I once had an I/O error amidst these warnings. It only disappeared after new installation of the image file.

It seems that some SD cards have problems with “command queuing” (no idea what that is).

The solution to this is adding the following to ‘/boot/firmware/config.txt’:

```auto
# Disable command queuing on main SD card
dtparam=sd_cqe=0

```

The documentation about this parameter:

```auto
        sd_cqe Modify Command Queuing behaviour on the main SD
                                interface. Legal values are:
                                0: disable CQ
                                1: allow CQ for known-good SD A2 cards, and all
                                   eMMC cards
                                2: allow CQ for all SD A2 cards that aren't
                                   known-bad, and all eMMC cards.
                                (2712 only, default "1")

```

After adding this the warnings stopped. So far the I/O errors stay away too.

kind regards,

Hans.

ps. The 32GB SanDisk Extreme does not give these warnings.

---

<div class="post-metadata">

**Author:** ![fussl](https://discourse.zynthian.org/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@fussl](https://discourse.zynthian.org/u/fussl)\
**Post date:** [June 2, 2025, 8:00pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/2 "2025-06-02T20:00:04Z")

</div>

Is this when the microSD is inserted directly in RPi5, or when it is in the extended card reader? Normally, sd\_cqe should not make any difference, because bus signal speed is the same with sd\_cpe enabled or disabled, it is just a different way data is negotiated and transferred, which has to be **supported by the card to make it work** , in first place.

I have some SanDisk Extreme 64GB and all run totally fine on _A_2 mode with sd\_cqe automatically enabled.

Maybe you have older versions of the cards without the _A_2 logo? Are you sure they are genuine, anyway? Do not try to force enable sd\_cpe if the card does not have the _A_1 or _A_2 logo, becasue it just won’t work.

Or did you flash them with Etcher?

---

<div class="post-metadata">

**Author:** ![HansR](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/hansr/32/15102_2.png) [@HansR](https://discourse.zynthian.org/u/HansR)\
**Post date:** [June 3, 2025, 12:23pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/3 "2025-06-03T12:23:15Z")

</div>

> Is this when the microSD is inserted directly in RPi5, or when it is in the extended card reader?

Extended card reader

> Maybe you have older versions of the cards without the _A_2 logo?

 ![SD64](https://discourse.zynthian.org/uploads/default/original/2X/b/bea0c3b69fd60d1f5f49e9f0c8c1f015823b746c.jpeg)

> Are you sure they are genuine

Yep

> Or did you flash them with Etcher?

No, never used `Etcher`. Always `Win32imager` or `Raspberry Pi Imager`, for me the first is a little more reliable.

As I said, I don’t know the technical details, but it definitely works. Without the parameter I get at least a dozen `mmc0: running CQE recovery` messages, with the parameter not one. Also I first had some I/O errors on the card, that are gone too.

So, I don’t know if it works theoretically, but in practice it does. Perhaps if people suffer from unreliable 64GB cards, this can help them.

Kind regards,

Hans.

---

<div class="post-metadata">

**Author:** ![HansR](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/hansr/32/15102_2.png) [@HansR](https://discourse.zynthian.org/u/HansR)\
**Post date:** [June 5, 2025, 4:52pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/4 "2025-06-05T16:52:00Z")

</div>

New info.

I just tested the 64GB card directly in the SD slot on the RPi (so not via the extended card reader) and then everything works fine.

In syslog:

```auto
zynthian kernel: mmc0: Command Queue Engine enabled, 31 tags

```

and not one `CQE recovery` warning.

So the problem is the unreliable SD card adapter flatcable.

@jofemodo: About 10 days ago I asked if I could get a new one because it was unreliable. I haven’t received anything yet, so could I please have one? It’s going from bad to worse.

> [Problem with SD card connector](https://discourse.zynthian.org/t/problem-with-sd-card-connector/11554)

---

<div class="post-metadata">

**Author:** ![tunagenes](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/tunagenes/32/7279_2.png) [@tunagenes](https://discourse.zynthian.org/u/tunagenes)\
**Post date:** [June 5, 2025, 5:06pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/5 "2025-06-05T17:06:59Z")

</div>

Could this be the issue:

> [@Zynthian V5.1 FFC issue](https://discourse.zynthian.org/t/zynthian-v5-1-ffc-issue/11552/12):
>
> This affects all V5 main boards, older Pi4 and recent Pi5 ones. I’m adding this to the wiki tutorial, so users with related issues could try this fix. To resume, and as @simmeah as already explained, the FPC connectors doesn’t fit perfectly the standard ribbon cables we include in the V5 kit, causing the cable to bent when closing the tonge and potentially causing bad contact or, at worst case, damaging the flat cable. The reason is we accidentally choose a wrong par…

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [June 5, 2025, 10:21pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/6 "2025-06-05T22:21:53Z")

</div>

> [@HansR](#):
>
> @jofemodo: About 10 days ago I asked if I could get a new one because it was unreliable. I haven’t received anything yet, so could I please have one? It’s going from bad to worse.

Hi @HansR !

Sorry, i totally forgot to send you the SD-card harnesses,

Please, try the solution proposed by @simmeah and linked above by @tunagenes. If it doesn’t’ work, i will send you a pair of SD-card harnesses.

Regards,

---

<div class="post-metadata">

**Author:** ![HansR](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/hansr/32/15102_2.png) [@HansR](https://discourse.zynthian.org/u/HansR)\
**Post date:** [June 6, 2025, 7:33am UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/7 "2025-06-06T07:33:31Z")

</div>

Hi @jofemodo ,

I will try it, I hope the cable isn’t too much damaged by the bumps.

As I have completely disassembled the Zynthian for the removal of the bumps, I can now install an HDMI extension cable (on the front, there is no room elsewhere).

Regards,

Hans

---

<div class="post-metadata">

**Author:** ![HansR](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/hansr/32/15102_2.png) [@HansR](https://discourse.zynthian.org/u/HansR)\
**Post date:** [June 6, 2025, 1:05pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/8 "2025-06-06T13:05:54Z")

</div>

Hi @jofemodo

Bad luck.

After removing all the bumps, the connectors for the control board and USB-C worked fine, but the SD card connector is now dead:

 ![IMG_20250606_144025s](https://discourse.zynthian.org/uploads/default/original/2X/b/b2a6e68a9de470870f3d8133c2fd3449fd30b0ad.jpeg)

Card directly in the Pi works fine.

Fortunately my new HDMI connector works fine so diagnosing is a lot easier 😉 If anyone is interested I can post some photos.

Kind regards,

Hans.

---

<div class="post-metadata">

**Author:** ![tunagenes](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/tunagenes/32/7279_2.png) [@tunagenes](https://discourse.zynthian.org/u/tunagenes)\
**Post date:** [June 6, 2025, 3:14pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/9 "2025-06-06T15:14:40Z")

</div>

> [@HansR](#):
>
> If anyone is interested I can post some photos.

Yes, please.

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [June 6, 2025, 3:18pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/10 "2025-06-06T15:18:17Z")

</div>

> [@HansR](#):
>
> but the SD card connector is now dead:

is It the connectors or is t the cable? i mean, did you break the connector? could you send some puctures?

Regards

---

<div class="post-metadata">

**Author:** ![HansR](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/hansr/32/15102_2.png) [@HansR](https://discourse.zynthian.org/u/HansR)\
**Post date:** [June 6, 2025, 4:26pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/11 "2025-06-06T16:26:55Z")

</div>

It is the cable. The connector is ok I think (looks ok).

 ![IMG_20250606_182102s](https://discourse.zynthian.org/uploads/default/original/2X/1/1b200e570614b5fcfae48834b14a49643ca09dc3.jpeg)  
 ![IMG_20250606_182140s](https://discourse.zynthian.org/uploads/default/original/2X/2/2cb4ed4e7eef6c182837f319cc36bf6b17eede71.jpeg)

Regards,  
Hans

---

<div class="post-metadata">

**Author:** ![HansR](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/hansr/32/15102_2.png) [@HansR](https://discourse.zynthian.org/u/HansR)\
**Post date:** [June 6, 2025, 5:08pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/12 "2025-06-06T17:08:22Z")

</div>

I made a new topic:

> [@Zynthian V5 HDMI connector](https://discourse.zynthian.org/t/zynthian-v5-hdmi-connector/11606):
>
> Hi, I had to take my Zynthian apart to cut the “bumps” on the FFC connectors, so I thought that was a good moment to do something else that was also on my list. After taking a deep breath I took a drill, a saw and a few files and cut an opening in the front of the case for an HDMI connector. The front is the only place where there is room for one. The back is full and on the sides there is not enough free space inside, or you have to cut through both the top and the bottom part of the case. I…

---

<div class="post-metadata">

**Author:** ![HansR](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/hansr/32/15102_2.png) [@HansR](https://discourse.zynthian.org/u/HansR)\
**Post date:** [June 7, 2025, 12:07pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/13 "2025-06-07T12:07:09Z")

</div>

Hi @jofemodo,

As an experiment I tested the SD card with a different kind of extender:

 ![IMG_20250607_134550s](https://discourse.zynthian.org/uploads/default/original/2X/b/b28966cb5c055f249ffcd9790d3ebc83681ac306.jpeg)

This works flawless, so these extenders can work in principle with a card in A2 mode.

Of course I’m not letting such an adapter dangle outboard, there are limits 😉

For my cable I strongly suspect the SD card end to be bad, not the FFC connector end. I would be happy to receive a replacement.

kind regards,

Hans.

---

<div class="post-metadata">

**Author:** ![jofemodo](https://discourse.zynthian.org/user_avatar/discourse.zynthian.org/jofemodo/32/2_2.png) [@jofemodo](https://discourse.zynthian.org/u/jofemodo)\
**Post date:** [June 7, 2025, 4:50pm UTC](https://discourse.zynthian.org/t/log-warnings-with-64gb-sandisk-extreme/11588/14 "2025-06-07T16:50:50Z")

</div>

Please, @HansR ,

Send me your shipping address by private message and i will send you the SD-card extender.

Regards,
