eMMC Installation: No Disk Found

User avatar
trymes
Posts: 617
Joined: February 9th, 2011, 4:10 pm
Location: New England, USA

eMMC Installation: No Disk Found

Post by trymes » January 18th, 2017, 5:33 pm

We have stumbled across an old problem while trying to install IPFire on a Lenovo Flex4 Laptop/Tablet. The Installer cannot find the internal eMMC disk drive. This was discussed back in 2014 here in this thread.

Is this something that can reasonably easily be rectified in a future update?

Tom

User avatar
Arne.F
Core Developer
Core Developer
Posts: 7474
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: eMMC Installation: No Disk Found

Post by Arne.F » January 19th, 2017, 2:37 am

The eMMC version 5.0 problem should be fixed long time ago. Do you really get the same csd version 7 error ?
Arne

Support the project on the IPFire whishlist!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

User avatar
trymes
Posts: 617
Joined: February 9th, 2011, 4:10 pm
Location: New England, USA

Re: eMMC Installation: No Disk Found

Post by trymes » January 19th, 2017, 2:49 am

I'm not certain it's identical, but the installer cannot see the HDD. My initial impression was that it is similar, but perhaps I have jumped to conclusions. Where's the best place to dig in the logs for more details? Kernel log, boot log?

User avatar
Arne.F
Core Developer
Core Developer
Posts: 7474
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: eMMC Installation: No Disk Found

Post by Arne.F » January 19th, 2017, 3:45 am

Switch to 2nd console and check the messages. You can also execute dmesg here to get the kernel log. But its not so easy to get the logfile out because the installer run in a ramdisk.
Maybee it is easier to boot a Flash image from an usb stick to check if the eMMC was detected.
Arne

Support the project on the IPFire whishlist!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

User avatar
trymes
Posts: 617
Joined: February 9th, 2011, 4:10 pm
Location: New England, USA

Re: eMMC Installation: No Disk Found

Post by trymes » January 19th, 2017, 1:53 pm

Here's what I came up with to get a dump of the kernel log from the installer:
  1. Switch to the third console by pressing Alt-F3
  2. Insert a USB stick, which is detected as /dev/sdb
  3. mkdir /usbkey
  4. mount /dev/sdb1 /usbkey
  5. dmesg > /usbkey/log.txt
  6. umount /usbkey
  7. remove USB stick and copy file to desktop
As for the error we are seeing:

Code: Select all

[   25.536703] sdhci: Secure Digital Host Controller Interface driver
[   25.536707] sdhci: Copyright(c) Pierre Ossman
[   25.537205] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:5aca] (rev a)
[   25.539700] mmc0: SDHCI controller on PCI [0000:00:1b.0] using ADMA
[   25.539726] sdhci-pci 0000:00:1c.0: SDHCI controller found [8086:5acc] (rev a)
[   25.542106] mmc1: SDHCI controller on PCI [0000:00:1c.0] using ADMA
[   25.690678] mmc1: unrecognised EXT_CSD revision 8
[   25.690691] mmc1: error -22 whilst initialising MMC card
[   25.827073] mmc1: unrecognised EXT_CSD revision 8
[   25.827087] mmc1: error -22 whilst initialising MMC card
[   25.975315] mmc1: unrecognised EXT_CSD revision 8
[   25.975328] mmc1: error -22 whilst initialising MMC card
[   26.160691] mmc1: unrecognised EXT_CSD revision 8
[   26.160705] mmc1: error -22 whilst initialising MMC card
[   47.050157] random: nonblocking pool is initialized
Last edited by trymes on February 15th, 2017, 7:22 pm, edited 1 time in total.

User avatar
Arne.F
Core Developer
Core Developer
Posts: 7474
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: eMMC Installation: No Disk Found

Post by Arne.F » January 19th, 2017, 3:10 pm

Arrrg. The same problem with newer CSD version. In actual kernel releases the entire CSD Version check is removed...

I will patch the kernel next days...
Arne

Support the project on the IPFire whishlist!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

User avatar
trymes
Posts: 617
Joined: February 9th, 2011, 4:10 pm
Location: New England, USA

Re: eMMC Installation: No Disk Found

Post by trymes » January 19th, 2017, 4:16 pm

Thanks, Arne!

User avatar
trymes
Posts: 617
Joined: February 9th, 2011, 4:10 pm
Location: New England, USA

Re: eMMC Installation: No Disk Found

Post by trymes » January 19th, 2017, 4:41 pm

Also, I presume this is a change we would see in the next Core update, whenever that is?

User avatar
Arne.F
Core Developer
Core Developer
Posts: 7474
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: eMMC Installation: No Disk Found

Post by Arne.F » January 20th, 2017, 8:10 am

The 64bit nightly was now finished the i586 is still building ...
http://nightly.ipfire.org/next/2017-01- ... -ba957627/
Arne

Support the project on the IPFire whishlist!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

stlawr
Posts: 12
Joined: October 7th, 2016, 5:35 pm

Re: eMMC Installation: No Disk Found

Post by stlawr » January 23rd, 2017, 4:32 pm

I was able to create a bootable USB stick from the image you posted in the thread. I was able to get 2.19 core 109 installed this time, as it successfully saw the drive. However, when you try to boot into IPFire for the first time, I'm getting stuck on the "GRUB loading. Welcome to GRUB!" screen. It will not continue loading after that point.

Any suggestions?

stlawr
Posts: 12
Joined: October 7th, 2016, 5:35 pm

Re: eMMC Installation: No Disk Found

Post by stlawr » February 15th, 2017, 4:14 pm

I have tried several more iterations of the nightly builds since the last post and I'm still get stuck at the "Welcome to GRUB" screen. Is there a fix possible for this?

User avatar
trymes
Posts: 617
Joined: February 9th, 2011, 4:10 pm
Location: New England, USA

Re: eMMC Installation: No Disk Found

Post by trymes » February 19th, 2017, 12:55 am

I saw this update listed as one of the new fixes in core 109. Does the "welcome to GRUB" problem still exist?

UPDATE: Still an issue with Core 109 if I install and try to boot from eMMC. However, if I write the USB image to a USB flash drive, it will successfully boot from that.

User avatar
trymes
Posts: 617
Joined: February 9th, 2011, 4:10 pm
Location: New England, USA

Re: eMMC Installation: No Disk Found

Post by trymes » February 27th, 2017, 6:59 pm

Arne,

I hate to look a gift horse in the mouth, but do you have any updates on this? I was going to add a comment to an existing bug in the tracker, but I could not find one. Before I open a new bug, I wanted to ask here.

Thank you,

Tom

User avatar
Arne.F
Core Developer
Core Developer
Posts: 7474
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: eMMC Installation: No Disk Found

Post by Arne.F » February 27th, 2017, 7:11 pm

sorry, at the moment i have no idea but if the usb image boot it sounds like a bug in the grub install script. Maybee mmcblk* is not in the list of valid devices. This is the same for NVMe SSD Discs.
Arne

Support the project on the IPFire whishlist!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

User avatar
trymes
Posts: 617
Joined: February 9th, 2011, 4:10 pm
Location: New England, USA

Re: eMMC Installation: No Disk Found

Post by trymes » February 27th, 2017, 9:38 pm

Thanks, Arne. Where would I start looking for that file to check if it is correct?

I mounted up the installer, and then unpacked the distro.img file, but I was not able to find it, and I'm pretty certain I'm barking up the wrong tree.

Tom

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests