DIIGIIT ROBOTICS FORUM

You are not logged in.

#1 2016-06-22 15:47:40

tarcila
Member
Registered: 2016-06-22
Posts: 4

Faulty emmc card or sdcard adapter?

Hi,

I have just received my XU4, with an emmc card (linux preinstalled). It seems that the emmc card or the emmc to sdcard adapter is faulty.
When attached to my linux workstation, the following sequence (following this installation guide archlinuxarm.org/platforms/armv7/samsung/odroid-xu4#installation):

mkfs.ext4 /dev/sdd1

leads to many reproducible error on my dmesg log

[12212.166891]  sdd: sdd1
[12222.252111] sd 6:0:0:0: [sdd] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[12222.252120] sd 6:0:0:0: [sdd] tag#0 Sense Key : 0x2 [current] 
[12222.252126] sd 6:0:0:0: [sdd] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[12222.252131] sd 6:0:0:0: [sdd] tag#0 CDB: opcode=0x2a 2a 00 00 00 08 00 00 00 f0 00
[12222.252136] blk_update_request: I/O error, dev sdd, sector 2048
[12222.252142] Buffer I/O error on dev sdd1, logical block 0, lost async page write
[12222.252153] Buffer I/O error on dev sdd1, logical block 1, lost async page write
[12222.252158] Buffer I/O error on dev sdd1, logical block 2, lost async page write
[12222.252162] Buffer I/O error on dev sdd1, logical block 3, lost async page write
[12222.252166] Buffer I/O error on dev sdd1, logical block 4, lost async page write
[12222.252171] Buffer I/O error on dev sdd1, logical block 5, lost async page write
[12222.252175] Buffer I/O error on dev sdd1, logical block 6, lost async page write
[12222.252179] Buffer I/O error on dev sdd1, logical block 7, lost async page write
[12222.252183] Buffer I/O error on dev sdd1, logical block 8, lost async page write
[12222.252187] Buffer I/O error on dev sdd1, logical block 9, lost async page write
[12222.281288] sd 6:0:0:0: [sdd] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
[12222.281297] sd 6:0:0:0: [sdd] tag#0 Sense Key : 0x2 [current] 
[12222.281303] sd 6:0:0:0: [sdd] tag#0 <<vendor>>ASC=0xff <<vendor>>ASCQ=0xff 
[12222.281308] sd 6:0:0:0: [sdd] tag#0 CDB: opcode=0x2a 2a 00 00 00 09 e0 00 00 f0 00
[12222.281312] blk_update_request: I/O error, dev sdd, sector 2528
... and many more ...

Note that I did try this with several sdcard reader, with the same errors.
Can anyone confirm the sdcard is definetly faulty, or is there anything else I can try?

For completeness, I also asked for guidance on hardkernel odroid's forum (forum.odroid.com/viewtopic.php?f=97&t=22123&p=148182#p148182).

Thanks,
Thomas

Offline

#2 2016-06-22 16:22:07

Diigiit Sales
Member
Registered: 2014-05-26
Posts: 99

Re: Faulty emmc card or sdcard adapter?

Hello tarcila,

By experience, I have never seen a faulty eMMC (while I guess this can happen).

Did you try to boot your XU4 computer with the default Linux installation before you have reinstalled Arch. We test most of XU4 eMMC before we ship them.

Did you used Windows or Linux to write your ISO?

Offline

#3 2016-06-22 16:50:29

tarcila
Member
Registered: 2016-06-22
Posts: 4

Re: Faulty emmc card or sdcard adapter?

Thanks for your quick response. To answer your questions:
- I did boot the XU4 with the installed OS. It started ok, but I still did had an unexpected reboot (while opening the Mate's application menu).
- I used Linux to do start the Archlinux installation process. I don't think I can do it from windows (does not rely on rawwrite or similar).

Anyway, I can still do some more tests: :
- I am running the XU4 with a micro-sd, if both emmc and sd can be plugged at the same time, I can try and setup the emmc directly using XU4, booting from the sdcard.
- I can also try to flash a standard image (either from Linux or windows).

Back when I have some results.

Thomas

Last edited by tarcila (2016-06-22 16:50:45)

Offline

#4 2016-06-22 17:10:33

Diigiit Sales
Member
Registered: 2014-05-26
Posts: 99

Re: Faulty emmc card or sdcard adapter?

Ok,

Yes, it happens sometimes that Odroid boots twice. I think it is a known issue but don't think it is eMMC hardware related. However, it should not happen every time.

You can plug both eMMC and microSD card at the same time but never try to install the eMMC from microSD card except by using the recovery procedure documented by Hardkernel (see this post) but on that case, you will install an Android image.

Right now I am suspecting a problem with Linux kernel (ISO image) so I think this would be a good idea to load a more officially supported Linux distribution (Hardkernel ISO) to discard any hardware related problem first.

Please be careful: unplug both HDMI and power supply each time you remove eMMC module.

Last edited by Diigiit Sales (2016-06-22 17:12:08)

Offline

#5 2016-06-22 18:09:10

tarcila
Member
Registered: 2016-06-22
Posts: 4

Re: Faulty emmc card or sdcard adapter?

Writing a raw image (odroid.com/dokuwiki/doku.php?id=en:xu3_release_linux_ubuntu) from windows (per odroid.com/dokuwiki/doku.php?id=en:odroid_flashing_tools).
Checksum test is ok.

Win32DiskImager failed with this error:
Mt9trN

Offline

#6 2016-06-22 18:32:16

Diigiit Sales
Member
Registered: 2014-05-26
Posts: 99

Re: Faulty emmc card or sdcard adapter?

I never use Windows to write on eMMC, only dd with care under Linux.

Make sure also to have a compatible microSD card reader such as Transcend USB 3.0.

If you are not sure about your reader, you can try to perform the Odroid recovery procedure with a microSD card and the eMMC. Follow Hardkernel steps accurately. It will install an Android image on eMMC.

Offline

#7 2016-06-24 08:03:59

tarcila
Member
Registered: 2016-06-22
Posts: 4

Re: Faulty emmc card or sdcard adapter?

Hi,

I finally had some more time to try and fix things. It seems that after all, it was due to incompatibilities between the emmc-to-sd adapter and my sdcard readers: I have been trying 3 of them without luck...

Anyway, I managed to bootstrap my emmc from the odroid xu4 using an already installed microsd, so my xu4 is finally booting from its emmc...

Glad it is working now.

Thanks for your help,
Thomas

Offline

Board footer