LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-03-2018, 02:26 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Does the Linux kernel have drivers for eMMC memory?


Hi: I have an Acer Aspire One Cloudbook 14 with an eMMC 32G device instead of a hard disk. Currently I have Windows 10 running on it. However Slackware 14.2 is unable to see the device. For instance blkid does not list it, neither parted sees it. Is there any workaround to this problem? Tiny Core Linux does not see the eMMC either. Perhaps there is a Linux driver for eMMC?

Last edited by stf92; 02-04-2018 at 06:44 PM.
 
Old 02-04-2018, 07:28 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,513

Rep: Reputation: Disabled
Take a look at your dmesg to see if it has been recognised by the system.
 
Old 02-04-2018, 08:11 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
The only way to boot the system is booting from an USB (flash) memory stick. So this is what I did:
(a) In the BIOS boot menu I change UEFI to legacy, only way for the macchine to boot from the stick. Otherwise it will boot from the eMMC "hard disk", i.e. it will boot windows 10.
(b) Once I get the boot prompt I write hugesmp.s noapic. Otherwise there will be a kernel panic.
(c) I write 'root' and press enter.
(d) I cd to /var/log but there is no dmesg there.

EDIT: Sorry. I ran dmesg and got
Code:
mmc0: unrecognised EXT_CSD revision 7
mmc0: error -22 whilst initializing MMC card.

Last edited by stf92; 02-04-2018 at 08:39 AM.
 
Old 02-04-2018, 09:45 AM   #4
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
I've got an HP Stream 11 with a 32GB eMMC. Ubuntu-Mate (pre-) 18.04 (kernel-4.13.0=31-generic) sees the eMMC just fine; lsmod shows the mmc_block module loaded.
 
1 members found this post helpful.
Old 02-04-2018, 01:37 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks. Is it not a little overbloated to put in a laptop with only 2GB RAM and 32GB disk space? I've seen the Ubuntu Mate page and they have a version for Raspberry Pi 2 and 3. Would not this version be better off?
 
Old 02-04-2018, 02:23 PM   #6
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,007
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
I have the same machine and have ran Debian, Fedora, and Arch on it with no issues. Currently I have a Debian Stretch install that has been converted into a q4os install.
 
1 members found this post helpful.
Old 02-04-2018, 03:38 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
And how about Tiny Core Linux? Does somebody know if it supports eMMC?

EDIT: Yes, it does. I have just booted it from a USB memory stick and could mount a partition from the eMMC.

Last edited by stf92; 02-04-2018 at 05:07 PM.
 
Old 02-05-2018, 08:16 AM   #8
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Quote:
Originally Posted by stf92 View Post
Thanks. Is it not a little overbloated to put in a laptop with only 2GB RAM and 32GB disk space? I've seen the Ubuntu Mate page and they have a version for Raspberry Pi 2 and 3. Would not this version be better off?
Ubuntu Mate 18.04 (32-bit) runs as well as any OS on my Acer Aspire One ZG5 (Atom N270 1GB/120GB); it's even better on a system with faster processor and twice the RAM. There's no way the the N3050 in your Cloudbook or the N2840 in my Stream is ever going to be a speed demon. It all comes down to trying enough offerings to find one you like enough to keep.
 
Old 02-05-2018, 02:41 PM   #9
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,014

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
The question is, does uefi present this device in legacy/csm mode?
 
Old 02-07-2018, 06:08 PM   #10
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
In the menu accessed by pressing F2 immediately after turning the laptop on, in the Boot submenu there is an option to choose between UEFI and Legacy modes. When selecting UEFI an option Secure Boot also appears though it is not changeble (it is not really and option). If booting with UEFI set the machine won't boot from the pendrive. It will boot Windows. If Legacy is set instead, Windows won't boot but any Linux image in the pendrive will. Right now I'm trying Arch Linux. It mounts the Windows partition (which is the whole "disk") only read-only, so I am posting in the LQ Arch forum about this problem ("mount: Windows is hibernated, refused to mount").
 
Old 02-07-2018, 09:31 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,014

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Make a uefi Fedora 27 usb and try it in UEFI. There are a number of OS's that support UEFI secure boot but in some cases you may have to fool with keys. Real pain that is.

There isn't really anything wrong with moving between uefi and legacy.

Many bios's are not exactly correct. They may have a few steps to go to change out secure boot. They may not allow it. Might have to fool with uefi and it is almost an entire OS to learn.
 
Old 02-11-2018, 04:13 PM   #12
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
The Acer Switch 10 I recently fixed requires a root password be set in the UEFI settings for changing certain settings, you may need to do this to disable secure boot.

The Linux kernel has had mmc support for quite some time, probably 8 years +, U3 smart drives use the same technology.

Quote:
mmc0: unrecognised EXT_CSD revision 7
mmc0: error -22 whilst initializing MMC card.
In post 17 of this thread I show how to get information about the card, if there is a problem, it will show in the output of the command below.
Quote:
mmc extcsd read /dev/mmcblk1
 
Old 02-12-2018, 04:04 PM   #13
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
One thing at a time. According to Brains some of these devices incorporate a 3.5" hard drive within. So I went to the Acer site and asked for the Acer Aspire One Cloudbook whose model no., SNID and manufacture date are A01-431-C8G8, 60204157323 and 2016/01/15 respectively, printed in the back of the machine. But found no manuals for it.

For if it had one, maybe the OS can use it. I presume a 3.5" hard drive (aka hard disk) can store a lot of data. Should I care in this respect? Reading the manual should be the first step, anyways.

For what is worth: these are the CPU product specifications:
https://ark.intel.com/products/87257...up-to-2_16-GHz. Among them:
Code:
 
Memory Specifications

    Max Memory Size (dependent on memory type) 8 GB
    Memory Types DDR3L-1600
    Max # of Memory Channels 2
    ECC Memory Supported ‡ No
A label on the machine says precisely 2GB DDR3L memory. Though of course this is RAM, may be ECC is not (nothing to do with eMMC anyway). Incredibly the wikipedia page nowhere makes it explicitly clear whether it is RAM or ROM (volatile or non volatil).

Last edited by stf92; 02-12-2018 at 07:17 PM.
 
Old 02-12-2018, 11:05 PM   #14
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
EMMC is the latest SSD technology. I pretty much doubt there is a 3.5" drive inside. I don't think it would fit. Wikipedia doesn't say "what" is ram or rom?
 
Old 02-13-2018, 12:10 AM   #15
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
According to the error I quoted, that you quoted in post #3, it has an emmc drive, and it may have the same issue most of these small netbook/lappy/pads with Windows pre-installed.

They typically came with Windows 8.1 with bing in a Wimboot configuration. Wimboot saves drive space by only having pointer files in C drive pointing to the actual files in the compressed image in the recovery drive. This is how to fit an entire OS in a 32GB flash drive and still have room for data.

Most owners made the same mistake and upgraded to Windows 10 which does not do Wimboot, thus all it's files are actual size and end up using up the 32GB drive and plug it up.

The fix I did for the Switch 10 is akin to a power glitch while the drive was being written too, by disabling write reliability and re-enabling write reliability I revived it, write reliability is a feature that protects the drive in the event of a power outage, possibly also when the drive space is maxed out.

When it was disabled, before the fix, it did not show up as a boot device, partitions could not be altered, thus Linux could not be installed, dd could not harm it also as it was being protected till the partition settings were proper.

You appear to have same issue as the Switch 10 I repaired, which is the same issue most everybody has with these things.

You should read my post carefully, and download a Linux live onto USB, boot it, install mmc-utils from source or repositories, not all distros have it in repositories but Ubuntu does, once installed, a few commands and you should have it fixed.
These chips are confusing, after mmc-utils is installed, the output of fdisk -l command shows the four partitions as devices, when you look at /sys/devices you will see them there, in the mmcblk1 are the other three, and you can keep going down into the folders, it appears as an endless loop of devices in devices.

The Dell in the other thread I linked, appears to come with either a 2.5 mechanical drive "or" an emmc. Twas hard to tell based on poor description from manufacturer's specs, just like your Acer saying 32GB ssd drive. If it's only 32GB, it's emmc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable ext4fs read-write calls for eMMC flash on 3.6.40 kernel rajkiran.singh Linux - Kernel 1 05-18-2016 10:42 PM
Install Linux on a eMMC card Gamertist Linux - General 1 09-24-2015 06:14 PM
Install Linux on a emmc drive. Problem. provotector Linux - General 3 05-26-2014 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration