Re: problem accessing SD Card SanDisk SDSDQ-8192-E11M

2008-09-10 Thread Asheesh Laroia
On Mon, 8 Sep 2008, Kevin Squire wrote:

 I did try setting the clock lower, (e.g., sd_max_clk=500, even 
 250), but that didn't help.

Keep going to 1/5 of the last value.  Does that help?  A 2GB card I bought 
was only stable at about that clock rate.

At 1/2 of that last value, I think it sometimes worked, just not during 
heavy I/O; that's why I use the word stable.

-- Asheesh.

-- 
lilo Fairlight: udp is the light margarine of tcp/ip transport protocols :)
-- Seen on #Linux

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: problem accessing SD Card SanDisk SDSDQ-8192-E11M

2008-09-09 Thread Stefan Fröbe
On Tue, Sep 9, 2008 at 7:34 AM, Kevin Squire [EMAIL PROTECTED] wrote:

 On Mon, Sep 8, 2008 at 11:03 AM, Kevin Squire [EMAIL PROTECTED]
 wrote:
  Hi,
 
  I have problems accessing my 8Go SD Card
 
 snip snip

  For my disk, my thoughts are that the first sector is bad.  I'll try
  to confirm this later today (don't have anything else available that

 Confirmed, bad disk--can't read it with anything else (and in fact,
 trying to read it on my Ubuntu system puts sd_mod into a state where
 it won't read another disk).


Had that  before, too : In case you do not have a backup of the MBR, there
is a (windows) tool from panasonic ( SD-Format or sth. like that) that could
restore mine to a point where formatting worked again.

Stefan
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


problem accessing SD Card SanDisk SDSDQ-8192-E11M

2008-09-08 Thread Nicolas LAURANCE

Hi all,


I have problems accessing my 8Go SD Card

following different advices found in the wiki and the mailing list, I 
managed to change env in uboot


after boot :

[EMAIL PROTECTED]:~# cat /proc/cmdline
glamo_mci.sd_max_clk=1000 rootfstype=jffs2 root=/dev/mtdblock6 
console=ttySAC2,115200 console=tty0 loglevel=8 regular_boot 
mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0f6a(rootfs) 



but still :
[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0
fdisk: cannot read from /dev/mmcblk0


this is quite erratic, as if I insist, that is if I enter the fdisk 
command several times, it eventually find the card and format it. I can 
then mount the partitions.


[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0
fdisk: cannot read from /dev/mmcblk0
[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0
fdisk: cannot read from /dev/mmcblk0
[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0
fdisk: cannot read from /dev/mmcblk0
[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0
fdisk: cannot read from /dev/mmcblk0
[EMAIL PROTECTED]:~# fdisk /dev/mmcblk0

The number of cylinders for this disk is set to 242560.


But after next boot, I drop into the same situation, can't find the card.

Any parameters suggestion ?

many thanks in advance
NiL
begin:vcard
fn:Nicolas LAURANCE
n:LAURANCE;Nicolas
org:Zindep
adr;quoted-printable:;;25, rue de l'ancienne Mairie;Bourgbarr=C3=A9;;35230;France
email;internet:[EMAIL PROTECTED]
title:Consultant
tel;work:02 99 57 03 09
tel;fax:02 99 57 03 69
tel;cell:06 09 86 59 96
url:http://www.zindep.com
version:2.1
end:vcard

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: problem accessing SD Card SanDisk SDSDQ-8192-E11M

2008-09-08 Thread Kevin Squire
On Mon, Sep 8, 2008 at 11:03 AM, Kevin Squire [EMAIL PROTECTED] wrote:
 Hi,

 I have problems accessing my 8Go SD Card

snip snip

 For my disk, my thoughts are that the first sector is bad.  I'll try
 to confirm this later today (don't have anything else available that

Confirmed, bad disk--can't read it with anything else (and in fact,
trying to read it on my Ubuntu system puts sd_mod into a state where
it won't read another disk).

Kevin

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community