Skip to contentSkip to conversation

cerryview sd card problem

DISCUSSION Giacomo Comes 4 participants 8 messages Sep 25, 2016 – Sep 30, 2016

lore
Share & tools
lore
#0 lore raw

Hi,
I hope this is the appropriate place to ask what follows. If not please point me to the right place.

I have a couple of cerryview systems
(Acer Aspire R11 and Intel compute stick STK1AW32SC) on which I run linux (openSUSE 42.1) with a 4.7 kernel.

I have a problem though with the sd card reader:
in normal condition the kernel does not see the card reader. The modules pinctrl-cherryview.ko and sdhci-pci.ko are both loaded but the sd device is missing.

Following the suggestion found here:
https://bugzilla.opensuse.org/show_bug.cgi?id=954532#c24
I "fixed" the problem by adding the module pinctrl-cherryview in the initrd.

I was wondering if the necessity to put pinctrl-cherryview in the initrd is due to a bug in the kernel driver or it is a distro issue.

Giacomo
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#1 lore raw
Quoted 13 lines · Giacomo Comes

Hi,
I hope this is the appropriate place to ask what follows. If not please point me to the right place.

I have a couple of cerryview systems
(Acer Aspire R11 and Intel compute stick STK1AW32SC) on which I run linux (openSUSE 42.1) with a 4.7 kernel.

I have a problem though with the sd card reader:
in normal condition the kernel does not see the card reader. The modules pinctrl-cherryview.ko and sdhci-pci.ko are both loaded but the sd device is missing.

Quoted 8 lines

Following the suggestion found here:
https://bugzilla.opensuse.org/show_bug.cgi?id=954532#c24
I "fixed" the problem by adding the module pinctrl-cherryview in the initrd.

I was wondering if the necessity to put pinctrl-cherryview in the initrd is due to a bug in the kernel driver or it is a distro issue.

Hi Giacomo, intel-gfx is about Intel *graphics*. We are mostly clueless about SD cards here. ;)

Mika, Andy, could you point Giacomo to the right place please?

Thanks,
Jani.

Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#2 lore raw
Quoted 19 lines · Jani Nikula
Quoted 18 lines · Giacomo Comes

Hi,
I hope this is the appropriate place to ask what follows. If not please point me to the right place.

I have a couple of cerryview systems
(Acer Aspire R11 and Intel compute stick STK1AW32SC) on which I run linux (openSUSE 42.1) with a 4.7 kernel.

I have a problem though with the sd card reader:
in normal condition the kernel does not see the card reader. The modules pinctrl-cherryview.ko and sdhci-pci.ko are both loaded but the sd device is missing.

Following the suggestion found here:
https://bugzilla.opensuse.org/show_bug.cgi?id=954532#c24
I "fixed" the problem by adding the module pinctrl-cherryview in the initrd.

Quoted 8 lines
Quoted 3 lines

I was wondering if the necessity to put pinctrl-cherryview in the initrd is due to a bug in the kernel driver or it is a distro issue.

Hi Giacomo, intel-gfx is about Intel *graphics*. We are mostly clueless about SD cards here. ;)

Mika, Andy, could you point Giacomo to the right place please?

If the SD-card card detection is implemented as a GPIO, the GPIO/pinctrl driver needs to be there before the SD-card driver is able to detect a card being inserted.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw
Quoted 24 lines · Mika
Quoted 23 lines · Jani Nikula
Quoted 21 lines · Giacomo Comes

Hi,
I hope this is the appropriate place to ask what follows. If not please point me to the right place.

I have a couple of cerryview systems
(Acer Aspire R11 and Intel compute stick STK1AW32SC) on which I run linux (openSUSE 42.1) with a 4.7 kernel.

I have a problem though with the sd card reader:
in normal condition the kernel does not see the card reader. The modules pinctrl-cherryview.ko and sdhci-pci.ko are both loaded but the sd device is missing.

Following the suggestion found here:
https://bugzilla.opensuse.org/show_bug.cgi?id=954532#c24
I "fixed" the problem by adding the module pinctrl-cherryview in the initrd.

I was wondering if the necessity to put pinctrl-cherryview in the initrd is due to a bug in the kernel driver or it is a distro issue.

Quoted 8 lines
Quoted 4 lines

Hi Giacomo, intel-gfx is about Intel *graphics*. We are mostly clueless about SD cards here. ;)

Mika, Andy, could you point Giacomo to the right place please?

If the SD-card card detection is implemented as a GPIO, the GPIO/pinctrl driver needs to be there before the SD-card driver is able to detect a card being inserted.

Ok, then it is the distro that have to take care about that. For the time being I'll manually force pinctrl-cherryview in the initrd. However, while the Acer Aspire R11 sd card reader works, the one in the compute stick STK1AW32SC doesn't.
Every time I insert a sd card I see this message in the journal:
mmc1: error -84 whilst initialising SD card
Tested with kernel 4.8rc7.
Where can I get help about that?

Giacomo
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw
Quoted 34 lines · Giacomo Comes
Quoted 24 lines · Mika
Quoted 23 lines · Jani Nikula
Quoted 21 lines · Giacomo Comes

Hi,
I hope this is the appropriate place to ask what follows. If not please point me to the right place.

I have a couple of cerryview systems
(Acer Aspire R11 and Intel compute stick STK1AW32SC) on which I run linux (openSUSE 42.1) with a 4.7 kernel.

I have a problem though with the sd card reader:
in normal condition the kernel does not see the card reader. The modules pinctrl-cherryview.ko and sdhci-pci.ko are both loaded but the sd device is missing.

Following the suggestion found here:
https://bugzilla.opensuse.org/show_bug.cgi?id=954532#c24
I "fixed" the problem by adding the module pinctrl-cherryview in the initrd.

I was wondering if the necessity to put pinctrl-cherryview in the initrd is due to a bug in the kernel driver or it is a distro issue.

Quoted 8 lines
Quoted 4 lines

Hi Giacomo, intel-gfx is about Intel *graphics*. We are mostly clueless about SD cards here. ;)

Mika, Andy, could you point Giacomo to the right place please?

If the SD-card card detection is implemented as a GPIO, the GPIO/pinctrl driver needs to be there before the SD-card driver is able to detect a card being inserted.

Quoted 8 lines

Ok, then it is the distro that have to take care about that. For the time being I'll manually force pinctrl-cherryview in the initrd. However, while the Acer Aspire R11 sd card reader works, the one in the compute stick STK1AW32SC doesn't.
Every time I insert a sd card I see this message in the journal:
mmc1: error -84 whilst initialising SD card
Tested with kernel 4.8rc7.
Where can I get help about that?

Please provide full dmesg. I've CC'd Adrian who knows lot about the SC-card driver.
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#5 lore raw
Quoted 44 lines · Mika
Quoted 34 lines · Giacomo Comes
Quoted 24 lines · Mika
Quoted 23 lines · Jani Nikula
Quoted 21 lines · Giacomo Comes

Hi,
I hope this is the appropriate place to ask what follows. If not please point me to the right place.

I have a couple of cerryview systems
(Acer Aspire R11 and Intel compute stick STK1AW32SC) on which I run linux (openSUSE 42.1) with a 4.7 kernel.

I have a problem though with the sd card reader:
in normal condition the kernel does not see the card reader. The modules pinctrl-cherryview.ko and sdhci-pci.ko are both loaded but the sd device is missing.

Following the suggestion found here:
https://bugzilla.opensuse.org/show_bug.cgi?id=954532#c24
I "fixed" the problem by adding the module pinctrl-cherryview in the initrd.

I was wondering if the necessity to put pinctrl-cherryview in the initrd is due to a bug in the kernel driver or it is a distro issue.

Quoted 8 lines
Quoted 4 lines

Hi Giacomo, intel-gfx is about Intel *graphics*. We are mostly clueless about SD cards here. ;)

Mika, Andy, could you point Giacomo to the right place please?

If the SD-card card detection is implemented as a GPIO, the GPIO/pinctrl driver needs to be there before the SD-card driver is able to detect a card being inserted.

Quoted 8 lines

Ok, then it is the distro that have to take care about that. For the time being I'll manually force pinctrl-cherryview in the initrd. However, while the Acer Aspire R11 sd card reader works, the one in the compute stick STK1AW32SC doesn't.
Every time I insert a sd card I see this message in the journal:
mmc1: error -84 whilst initialising SD card
Tested with kernel 4.8rc7.
Where can I get help about that?

Quoted 3 lines

Please provide full dmesg. I've CC'd Adrian who knows lot about the SC-card driver.

Also enabling CONFIG_MMC_DEBUG in the kernel config will give a lot more information.

Have different SD cards been tried? Does it work if the SD card is already inserted at boot?

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#6 lore raw
Quoted 49 lines · Adrian Hunter
Quoted 44 lines · Mika
Quoted 34 lines · Giacomo Comes
Quoted 24 lines · Mika
Quoted 23 lines · Jani Nikula
Quoted 21 lines · Giacomo Comes

Hi,
I hope this is the appropriate place to ask what follows. If not please point me to the right place.

I have a couple of cerryview systems
(Acer Aspire R11 and Intel compute stick STK1AW32SC) on which I run linux (openSUSE 42.1) with a 4.7 kernel.

I have a problem though with the sd card reader:
in normal condition the kernel does not see the card reader. The modules pinctrl-cherryview.ko and sdhci-pci.ko are both loaded but the sd device is missing.

Following the suggestion found here:
https://bugzilla.opensuse.org/show_bug.cgi?id=954532#c24
I "fixed" the problem by adding the module pinctrl-cherryview in the initrd.

I was wondering if the necessity to put pinctrl-cherryview in the initrd is due to a bug in the kernel driver or it is a distro issue.

Quoted 8 lines
Quoted 4 lines

Hi Giacomo, intel-gfx is about Intel *graphics*. We are mostly clueless about SD cards here. ;)

Mika, Andy, could you point Giacomo to the right place please?

If the SD-card card detection is implemented as a GPIO, the GPIO/pinctrl driver needs to be there before the SD-card driver is able to detect a card being inserted.

Quoted 8 lines

Ok, then it is the distro that have to take care about that. For the time being I'll manually force pinctrl-cherryview in the initrd. However, while the Acer Aspire R11 sd card reader works, the one in the compute stick STK1AW32SC doesn't.
Every time I insert a sd card I see this message in the journal:
mmc1: error -84 whilst initialising SD card
Tested with kernel 4.8rc7.
Where can I get help about that?

Quoted 3 lines

Please provide full dmesg. I've CC'd Adrian who knows lot about the SC-card driver.

Quoted 5 lines

Also enabling CONFIG_MMC_DEBUG in the kernel config will give a lot more information.

Have different SD cards been tried? Does it work if the SD card is already inserted at boot?

The problem exists with different SD cards and also if it is already inserted at boot.

I have enabled CONFIG_MMC_DEBUG in kernel 4.8rc8 and booted the compute stick. There are a lot of messages about mmc0, that's the eMMC internal storage which works. The sd card reader is mmc1. The sd card is inserted at time 10:20:13. Please see the attached journal log.

Giacomo

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#7 lore raw
Quoted 56 lines · Giacomo Comes
Quoted 49 lines · Adrian Hunter
Quoted 44 lines · Mika
Quoted 34 lines · Giacomo Comes
Quoted 24 lines · Mika
Quoted 23 lines · Jani Nikula
Quoted 21 lines · Giacomo Comes

Hi,
I hope this is the appropriate place to ask what follows. If not please point me to the right place.

I have a couple of cerryview systems
(Acer Aspire R11 and Intel compute stick STK1AW32SC) on which I run linux (openSUSE 42.1) with a 4.7 kernel.

I have a problem though with the sd card reader:
in normal condition the kernel does not see the card reader. The modules pinctrl-cherryview.ko and sdhci-pci.ko are both loaded but the sd device is missing.

Following the suggestion found here:
https://bugzilla.opensuse.org/show_bug.cgi?id=954532#c24
I "fixed" the problem by adding the module pinctrl-cherryview in the initrd.

I was wondering if the necessity to put pinctrl-cherryview in the initrd is due to a bug in the kernel driver or it is a distro issue.

Quoted 8 lines
Quoted 4 lines

Hi Giacomo, intel-gfx is about Intel *graphics*. We are mostly clueless about SD cards here. ;)

Mika, Andy, could you point Giacomo to the right place please?

If the SD-card card detection is implemented as a GPIO, the GPIO/pinctrl driver needs to be there before the SD-card driver is able to detect a card being inserted.

Quoted 8 lines

Ok, then it is the distro that have to take care about that. For the time being I'll manually force pinctrl-cherryview in the initrd. However, while the Acer Aspire R11 sd card reader works, the one in the compute stick STK1AW32SC doesn't.
Every time I insert a sd card I see this message in the journal:
mmc1: error -84 whilst initialising SD card
Tested with kernel 4.8rc7.
Where can I get help about that?

Quoted 3 lines

Please provide full dmesg. I've CC'd Adrian who knows lot about the SC-card driver.

Quoted 5 lines

Also enabling CONFIG_MMC_DEBUG in the kernel config will give a lot more information.

Have different SD cards been tried? Does it work if the SD card is already inserted at boot?

Quoted 6 lines

The problem exists with different SD cards and also if it is already inserted at boot.

I have enabled CONFIG_MMC_DEBUG in kernel 4.8rc8 and booted the compute stick. There are a lot of messages about mmc0, that's the eMMC internal storage which works. The sd card reader is mmc1. The sd card is inserted at time 10:20:13. Please see the attached journal log.

Thanks for the log.

Do we know if anyone else if experiencing this problem?

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx