eMMC not found

Post Reply
mashman
Posts: 12
Joined: Tue Dec 04, 2018 11:58 am
languages_spoken: english
ODROIDs: H2
Has thanked: 0
Been thanked: 0
Contact:

eMMC not found

Unread post by mashman » Mon Jan 27, 2020 9:03 pm

Hi

I've been using my H2 for many months now. i had arch linux installed on the eMMC without any problems.

i was moving the board around and i accidently unplugged the battery so i lost all bios settings.
now the bios can't find the emmc and it cannot find the card to boot from anymore and just goes into bios mode.

some people have said unplug the battery and leave it for a while. i have done this numerous times.
i have checked the content of the emmc and it mounts fine and all partitions are readable on another machine.

what am i missing? this is weird. nothing else has changed except the bios/battery.

User avatar
odroid
Site Admin
Posts: 33398
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 409 times
Been thanked: 464 times
Contact:

Re: eMMC not found

Unread post by odroid » Tue Jan 28, 2020 11:18 am

Can you see the eMMC chipset information on the BIOS SCC settings?
https://wiki.odroid.com/odroid-h2/hardw ... mc_on_bios

mashman
Posts: 12
Joined: Tue Dec 04, 2018 11:58 am
languages_spoken: english
ODROIDs: H2
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC not found

Unread post by mashman » Tue Jan 28, 2020 2:45 pm

No. :cry:

User avatar
mad_ady
Posts: 7381
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 359 times
Been thanked: 258 times
Contact:

Re: eMMC not found

Unread post by mad_ady » Tue Jan 28, 2020 2:52 pm

Have you tried to unplug and replug the emmc? What is it's pcb color?

mashman
Posts: 12
Joined: Tue Dec 04, 2018 11:58 am
languages_spoken: english
ODROIDs: H2
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC not found

Unread post by mashman » Tue Jan 28, 2020 4:29 pm

Have you tried to unplug and replug the emmc?
Yes. i took it out to test that the emmc worked as a mass storage device and the efi and ext4 partitions are readable.
What is it's pcb color?
orange, 16gb.

User avatar
odroid
Site Admin
Posts: 33398
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 409 times
Been thanked: 464 times
Contact:

Re: eMMC not found

Unread post by odroid » Tue Jan 28, 2020 5:27 pm

Try to clean the eMMC connector on the H2 board with cotton swab and alcohol just in case.
Also look into the connector with a zoom camera to check whether there is any physical damages or not.

mashman
Posts: 12
Joined: Tue Dec 04, 2018 11:58 am
languages_spoken: english
ODROIDs: H2
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC not found

Unread post by mashman » Tue Jan 28, 2020 7:40 pm

Try to clean the eMMC connector on the H2 board with cotton swab and alcohol just in case.
Also look into the connector with a zoom camera to check whether there is any physical damages or not.
i've now tried that too. it does not appear to look at all out of the ordinary.

I've attempted to boot using a linux usb image and that works fine so i know there's nothing wrong with the rest of the device.

i doubt would make a difference but would upgrading the bios do anything at all here?

User avatar
mad_ady
Posts: 7381
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 359 times
Been thanked: 258 times
Contact:

Re: eMMC not found

Unread post by mad_ady » Tue Jan 28, 2020 7:54 pm

If you boot from a linux usb, can you access the emmc? If plugged in at boot?

mashman
Posts: 12
Joined: Tue Dec 04, 2018 11:58 am
languages_spoken: english
ODROIDs: H2
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC not found

Unread post by mashman » Tue Jan 28, 2020 8:16 pm

i doubt would make a difference but would upgrading the bios do anything at all here?
So i tried this and now i can see the emmc in the SCC configuration menu but it still won't let me select it as an option to boot.
If you boot from a linux usb, can you access the emmc? If plugged in at boot?
Well i can now. i'm not sure if i could before i updated the bios. :?:

in any case, i appear to be closer but still no cigars.

how am i going to convince the H2 bios to boot from something it can't see?

User avatar
mad_ady
Posts: 7381
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 359 times
Been thanked: 258 times
Contact:

Re: eMMC not found

Unread post by mad_ady » Tue Jan 28, 2020 8:20 pm

As far as I know the items in the boot menu need to have a valid EFI boot. Not sure how that can break, but when I installed windows on a SSD with the EMMC plugged in, it created the EFI boot on the emmc and I was unable to boot windows without the emmc in. Did you have any other disks attached when booting normally? Maybe the EFI boot lives on a different disk and you have only the rootfs on the emmc.

mashman
Posts: 12
Joined: Tue Dec 04, 2018 11:58 am
languages_spoken: english
ODROIDs: H2
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC not found

Unread post by mashman » Tue Jan 28, 2020 8:32 pm

interesting.
Did you have any other disks attached when booting normally?
yes. but i can't see how that would have happened in my case because i have run it without that sata drive other times.
also, the bios is not detecting efi on that drive either.

mashman
Posts: 12
Joined: Tue Dec 04, 2018 11:58 am
languages_spoken: english
ODROIDs: H2
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC not found

Unread post by mashman » Tue Jan 28, 2020 8:48 pm

Also, when booting from a usb linux and running cfdisk on /dev/mmcblk0 (which is the emmc), it shows me my expected 2 partitions.

Device
/dev/mmcblk0p2 (with bootflag)
id type = efEFI (FAT-12/16/32)

Device
/dev/mmcblk0p2 (without bootflag)
id type = 83 Linux

I'm not sure why i can't boot into these but i can a usb drive.

User avatar
mad_ady
Posts: 7381
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 359 times
Been thanked: 258 times
Contact:

Re: eMMC not found

Unread post by mad_ady » Tue Jan 28, 2020 9:13 pm

That looks odd, but I'm not familiar with gpt. Can you show us what gparted makes of the partition information?

mashman
Posts: 12
Joined: Tue Dec 04, 2018 11:58 am
languages_spoken: english
ODROIDs: H2
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC not found

Unread post by mashman » Wed Jan 29, 2020 8:22 pm

Can you show us what gparted makes of the partition information?
not really, i don't have a linux box with gparted, in any case, i don't think it will show me anything fdisk or cfdisk won't show.

User avatar
mad_ady
Posts: 7381
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 359 times
Been thanked: 258 times
Contact:

Re: eMMC not found

Unread post by mad_ady » Wed Jan 29, 2020 11:12 pm

Here's my cfdisk output from my H2. True, it doesn't use an eMMC:

Code: Select all

                                                                                                          Disk: /dev/sda
                                                                                     Size: 223,58 GiB, 240057409536 bytes, 468862128 sectors
                                                                                   Label: gpt, identifier: CE923933-EE6C-4725-8FAD-68C0413B12ED

    Device                                                           Start                                 End                             Sectors                            Size Type
>>  /dev/sda1                                                         2048                             1050623                             1048576                            512M EFI System                                     
    /dev/sda2                                                      1050624                           468860927                           467810304                          223,1G Linux filesystem


What I find odd in your output is both device entries point to mmcblk0p2, when they should have been mmcblk0p1 for the EFI System and mmcblk0p2 for the rootfs. Can you confirm that was a typo?

mashman
Posts: 12
Joined: Tue Dec 04, 2018 11:58 am
languages_spoken: english
ODROIDs: H2
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC not found

Unread post by mashman » Thu Jan 30, 2020 6:41 pm

Can you confirm that was a typo?
yes, that was a typo.

Code: Select all

Device
/dev/mmcblk0p1 (with bootflag)
id type = efEFI (FAT-12/16/32)

Device
/dev/mmcblk0p2 (without bootflag)
id type = 83 Linux

User avatar
mad_ady
Posts: 7381
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 359 times
Been thanked: 258 times
Contact:

Re: eMMC not found

Unread post by mad_ady » Thu Jan 30, 2020 8:23 pm

You can try to connect the emmc to the microsd adapter + a usb adapter and see if bios sees it as bootable. That would indicate a fault with the onboard emmc connector.
Also, you can try to fsck the efi partition - maybe something got corrupted there...

mashman
Posts: 12
Joined: Tue Dec 04, 2018 11:58 am
languages_spoken: english
ODROIDs: H2
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC not found

Unread post by mashman » Wed Feb 12, 2020 8:02 pm

After scrambling to find another linux system to repair this, i found that i did infact have a dirty bit as reported by fsck.

Code: Select all

pi@home:~ $ sudo fsck /dev/sdb1
fsck from util-linux 2.33.1
fsck.fat 4.1 (2017-01-24)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Perform changes ? (y/n) y

/dev/sdb1: 352 files, 14401/130812 clusters

pi@home:~ $ sudo fsck /dev/sdb1
fsck from util-linux 2.33.1
fsck.fat 4.1 (2017-01-24)

/dev/sdb1: 352 files, 14401/130812 clusters
alas, none of this made a squirt of difference. :|
still won't boot.

User avatar
mad_ady
Posts: 7381
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 359 times
Been thanked: 258 times
Contact:

Re: eMMC not found

Unread post by mad_ady » Wed Feb 12, 2020 8:05 pm

If you have the disk space you can make a full backup of your emmc (dd), wipe it and try to install an os on it and see if it's listed as bootable. That would rule out hardware problems...

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 3 guests