• Home
  • Help
  • Search
  • Login
  • Register
Pages: 1 2 3 [4] 5
Author Topic: SD card support  (Read 35834 times)
Gothnet
Newbie
*

Karma: 0
Posts: 33


View Profile
« Reply #45 on: May 07, 2009, 05:55:28 AM »

In this case in my mind the card has some problems because even with the reader stick my host system has problems to read the informations to create the proper dev entry.

Any 16GB cards working by now?

Yup, got a patriot 16GB card that I've been using with my eee 901 for a while, that has been put in the plug. The plug is running the ubuntu OS that it came with as i haven't got around to trying debian yet.

Patriot 16GB SDHC
Class 6
Formatted with 15G of ext2 (ext3 worked too, but the journal seemed unnecessary) and 500M of linux swap.

Pretty sure it's a PSF16GSDHC6, can anyone tell me how to check from a running system?

I've also tried and had working a 2GB Kingston MMCMobile chip, which I like because it doesn't stick out from the side.

Logged

dg
Newbie
*

Karma: 0
Posts: 14


View Profile
« Reply #46 on: May 11, 2009, 06:27:35 AM »

rc5 still fails for me, I'm afraid:

mmc0: Timeout waiting for hardware interrupt.
mmc0: hw_state=0x53f3, intr_status=0x0415 intr_en=0x6000
mmcblk0: error -110 sending read/write command, response 0x900, card status 0xe00
mmcblk0: error -110 transferring data, sector 267104, nr 8, card status 0xc00

...followed by all the processes locking up one by one.

It's a Kingston 8GB class 4, I think, but as it's at home and I'm at work I don't have any more precise information (plus, my SheevaPlug has crashed).
Logged

karurosu
Global Moderator
Full Member
*****

Karma: 0
Posts: 116



View Profile WWW
« Reply #47 on: May 13, 2009, 05:23:48 PM »

Hi, just a quick question, I have a 4 GB kingston microSD (class 4, using a SD adapter)  , it sometimes works and sometimes it wont work.
When I boot the plug and the SD is inserted I get this message over and over:

end_request: I/O error, dev mmcblk0, sector 87

The sector is the same for the loop, but when I restart the mesage has a different sector, and sometimes it boots just fine.

Any idea? (I am using the stock kernel that came with the sheeva, I want to install gentoo later, but I am curious about the cause this issue)

Update: tried installing Gentoo, but I get this error:
mmc0: error -110 whilst initialising SD card

Update 2: tried with more SD cards (I seem to have way too many)
Here are the test results, using tftp boot from the gentoo image found at http://dev.gentoo.org/~armin76/arm/sheevaplug/

microSD Kingston SDHC 4gb Class 4-> error -110
microSD Kingston 2 GB -> -110
microSD Sandisk 2GB -> worked perfectly
SD Kingston 1 GB -> -110

So, as far as I see it has problems with kingston cards.

I guess its related, is there any solution for this?

Thanks.
« Last Edit: May 13, 2009, 08:07:23 PM by karurosu » Logged

philipl
Newbie
*

Karma: 0
Posts: 22


View Profile
« Reply #48 on: May 14, 2009, 01:11:38 PM »

So, with my new plug, I'm having zero success with any MMC or SD cards - either in Linux or in the MMC enhanced u-boot.

In Linux, I simply see:

mmc0: error -110 whilst initialising SD card

over and over for any SD card I care to insert. It also reports that there's no Card Detect interrupt and its going into polling mode. I recall reading somewhere that early builds of the plug didn't have the CD line wired up and couldn't handle SD cards properly  - have I ended up with one of these dud versions? It arrived yesterday and was part of the 9th May batch.

I get errors with both the stock kernel and with a custom built 2.6.30-rc5 with all the orion.git patches and the mvsdio 'voodoo' patch.
Logged

KaiBo
Newbie
*

Karma: 0
Posts: 35



View Profile
« Reply #49 on: May 14, 2009, 02:40:43 PM »

Do you guys have loaded/compiled the SDHCI-Module?
Logged

rc3
Newbie
*

Karma: 0
Posts: 36


View Profile
« Reply #50 on: May 14, 2009, 03:04:30 PM »

@philipl
I did the same thing with 2.6.30-rc1 and it works. Maybe you can give it a try too?
Logged

karurosu
Global Moderator
Full Member
*****

Karma: 0
Posts: 116



View Profile WWW
« Reply #51 on: May 14, 2009, 03:50:44 PM »

Well, those tests were done on the gentoo kernel image from dev.gentoo.org, so I can't any module.
Logged

karurosu
Global Moderator
Full Member
*****

Karma: 0
Posts: 116



View Profile WWW
« Reply #52 on: May 17, 2009, 08:20:59 PM »

Well, thanks to raul the gentoo image was rebuilt, no more error -110, however once I started doing some writing the -110 error returned while sending read/write command, and the sheevaplug went crazy, the kernel I used had the SD patch.
Logged

jlpoole
Principal Software Engineer
Global Moderator
Jr. Member
*****

Karma: 2
Posts: 87

Principal Software Engineer -- Oracle Corporation


View Profile
« Reply #53 on: May 17, 2009, 10:35:14 PM »

Well, thanks to raul the gentoo image was rebuilt, no more error -110, however once I started doing some writing the -110 error returned while sending read/write command, and the sheevaplug went crazy, the kernel I used had the SD patch.

Would you clarify which of your cards was having this problem.  Previously, it looked like your Kingston cards were having problems, whereas your Sandisk was not.  Did the dichotomy remain using the patch?
Logged

The statements and opinions expressed here are my own and do not necessarily represent those of Oracle Corporation.

karurosu
Global Moderator
Full Member
*****

Karma: 0
Posts: 116



View Profile WWW
« Reply #54 on: May 17, 2009, 11:07:22 PM »

Here is what happened: using the new gentoo kernel image I TFTP booted, once inside I inserted the SD card and it was correctly detected (partitions, etc). I mounted it, wrote a couple of files and everything was fine. After that, I began the installation procedure (gentoo), I had 2 terminals open, one had the serial output, the other had ssh.
When I was untarring the stage3 file a bunch of error -110 appeared on the serial output, there were too many and way too fast to get a meaningful copy, on the ssh session (the one doing the copy) an error appeared (something like io error, I can't remember) and the sheeva plug started a loop, I had to hard reset.
This was using a 4 GB Kingston SDHC card, I didn't try with any other card. Right now I am installing Gentoo on a USB drive, using rc6 and the SD patches, as soon as I finish installing I'll try with both cards (the Kingston and the Sandisk) and see if I can reproduce the error.

Used the 4 GB kingston on 2.6.30-rc6 with the patches and the following happened:

mmcblk0: error -110 sending status comand<3>mmcblk0: error -110 sending read/write command, response 0x900, card status 0x900

I tried the sandisk, reading and writing 16 MB  and it worked perfectly.

here is the dmesg output:

Kingston:
Code:
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SDHC card at address 0007
mmcblk1: mmc0:0007 SD4GB 3.69 GiB
 mmcblk1: p1

Sandisk:
Code:
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SD card at address 872c
mmcblk0: mmc0:872c SU02G 1.89 GiB
 mmcblk0: p1
« Last Edit: May 18, 2009, 04:33:29 PM by karurosu » Logged

cbxbiker61
Global Moderator
Sr. Member
*****

Karma: 38
Posts: 497


View Profile
« Reply #55 on: May 19, 2009, 12:07:50 AM »

I just upgraded from an 8Gig Transcend to a 16Gig Transcend.  The 16Gig seems to work fine.  Here's a link in case you're looking for a workable 16Gig.

http://www.newegg.com/Product/Product.aspx?Item=N82E16820208377&Tpk=20-208-377
Logged

_maxx_
Newbie
*

Karma: 0
Posts: 19


View Profile
« Reply #56 on: May 21, 2009, 10:44:42 AM »

Here you will find some usefull patches, especially for the -101 error:
http://computingplugs.com/index.php/Main_Page
Unfortunately it is for 2.6.30-rc3. For newer kernels you might do some hand work but its not that hard.
Logged

karurosu
Global Moderator
Full Member
*****

Karma: 0
Posts: 116



View Profile WWW
« Reply #57 on: May 21, 2009, 11:17:07 AM »

Applied them to a kernel 2.6.30-rc6, they work, partially, without them the error is continuous when plugged, with the patches what I mentioned above happens.
Logged

dumper
Newbie
*

Karma: 0
Posts: 19


View Profile
« Reply #58 on: May 22, 2009, 06:41:16 PM »

i have moved the rootfs to a SDcard (sandisk 4GB, class 2), seems to boot faster than from NAN, after running for a while i get the message:

Code:
EXT3-fs error (device mmcblk0p1): htree_dirblock_to_tree: bad entry in directory #2: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, name_len=0
...
runs again after reboot , just not for long before the message appear again , i guess the sd-card support is not good enough maybe 
i run kernel 2.6.30R6, rootfs  ubuntu-9.0.5.Release.jffs2
Logged

karurosu
Global Moderator
Full Member
*****

Karma: 0
Posts: 116



View Profile WWW
« Reply #59 on: May 23, 2009, 08:30:34 AM »

any news on this?
Is the marvell kernel better at handling SD that mainline?

Logged

Pages: 1 2 3 [4] 5
Print
Jump to: