Re: [Om2008.9] new 4 Gbyte microSD card

2011-02-05 Thread Matthias Apitz
El día Tuesday, January 11, 2011 a las 02:18:38PM +0100, Matthias Apitz 
escribió:

 
 I will buy a new one.

I did this (4 GByte from Hama) and it works fine:

root@om-gta02:~# fgrep mmc /var/log/messages
Feb  6 07:13:21 om-gta02 user.debug kernel: [1.955000] 
mmc_set_power(power_mode=1, vdd=20
Feb  6 07:13:21 om-gta02 user.debug kernel: [2.83] 
mmc_set_power(power_mode=2, vdd=15
Feb  6 07:13:21 om-gta02 user.info kernel: [3.095000] mmc0: new high speed 
SDHC card at address b368
Feb  6 07:13:21 om-gta02 user.info kernel: [3.375000] mmcblk0: mmc0:b368 
NCard 3920896KiB 
Feb  6 07:13:21 om-gta02 user.info kernel: [3.38]  mmcblk0: p1

Of course it has only Marketing-4-Gig, i.e. less:

root@om-gta02:~# df -kh /media/card
FilesystemSize  Used Available Use% Mounted on
/dev/mmcblk0p13.7G 32.0k  3.7G   0% /media/card

Thx

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
¡Ya basta! ¡Tropas de OTAN, fuera de Afghanistan!
There's an end of it! NATO troups out of Afghanistan!
Schluss jetzt endlich! NATO raus aus Afghanistan!

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


Re: [Om2008.9] new 4 Gbyte microSD card

2011-01-11 Thread Matthias Apitz
El día Monday, January 10, 2011 a las 11:47:30AM +0100, Matthias Apitz 
escribió:

 El día Monday, January 10, 2011 a las 09:13:58AM +0100, Dr. H. Nikolaus 
 Schaller escribió:
 
  Usually, a fresh SD card is formatted with a single FAT partition and
  your messages look as if the MMC driver recognizes that but can't read
  it.
  
  What you could try (I assume that you use U-Boot as the boot loader)
  is to install some more recent system (SHR or QtMoko) on the SD card
  and try to boot from SD card. This would test two things:
  a) if U-Boot can handle the card better
  b) if a new kernel can handle the card better
 
 Before doing this, I will wipe out the sector 0 with dd(1) and see if
 this helps to create a new partition table.

The microSD works fine in some other Linux laptop; 

The FR's card reader or the Om2008.9 kernel can't read this microSD,
it gives on boot

Jan 11 13:12:21 om-gta02 user.debug kernel: [1.96] 
mmc_set_power(power_mode=1, vdd=20
Jan 11 13:12:21 om-gta02 user.debug kernel: [2.84] 
mmc_set_power(power_mode=2, vdd=15
Jan 11 13:12:21 om-gta02 user.info kernel: [3.22] mmc0: new SDHC card 
at address e624
Jan 11 13:12:21 om-gta02 user.info kernel: [3.305000] mmcblk0: mmc0:e624 
SU04G 3872256KiB 
Jan 11 13:12:21 om-gta02 user.info kernel: [3.315000]  mmcblk0:6glamo-mci 
glamo-mci.0: Error after cmd: 0x310
Jan 11 13:12:21 om-gta02 user.err kernel: [3.32] mmcblk0: error -110 
sending read/write command

and as well I can't read the block 0 with dd(1);

another microSD of 4 GByte of a colleague works fine in the Om2008.9:  

Jan 11 13:31:22 om-gta02 user.debug kernel: [1.955000] 
mmc_set_power(power_mode=1, vdd=20
Jan 11 13:31:22 om-gta02 user.debug kernel: [2.825000] 
mmc_set_power(power_mode=2, vdd=15
Jan 11 13:31:22 om-gta02 user.info kernel: [3.105000] mmc0: new high speed 
SDHC card at address 0001
Jan 11 13:31:22 om-gta02 user.info kernel: [3.46] mmcblk0: mmc0:0001 
0 3849216KiB 
Jan 11 13:31:22 om-gta02 user.info kernel: [3.465000]  mmcblk0: p1

I will buy a new one.

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/

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


Re: [Om2008.9] new 4 Gbyte microSD card

2011-01-10 Thread Dr. H. Nikolaus Schaller

Am 10.01.2011 um 08:56 schrieb Matthias Apitz:

 
 Hi,
 
 El dà a Monday, January 10, 2011 a las 08:44:25AM +0100, Dr. H. Nikolaus 
 Schaller escribió:
 
 Hi Matthias,
 you are using a quite old distribution (Om2008.9) which may have kernel bugs.
 
 I know, but I can't update at the moment because the FR is my daily 
 only cell phone;
 
 Which kernel version do you have?
 
 uname(1) says: 2.6.24 

That is quite outdated...

 Nikolaus
 
 Am 08.01.2011 um 11:17 schrieb Matthias Apitz:
 
 
 Hello,
 
 I've bought a new 4 GByte SanDisk card which says on boot in 
 /var/log/messages:
 
 Jan  8 10:31:20 om-gta02 user.info kernel: [3.395000] mmcblk0: 
 mmc0:e624 SU04G 3872256KiB 
 
 looks ok
 
 Jan  8 10:31:20 om-gta02 user.info kernel: [3.405000] 
 mmcblk0:6glamo-mci glamo-mci.0: Error after cmd: 0x310
 
 hm.
 
 I will check with some Linux laptop what is on that miniSD...

Usually, a fresh SD card is formatted with a single FAT partition and
your messages look as if the MMC driver recognizes that but can't read
it.

What you could try (I assume that you use U-Boot as the boot loader)
is to install some more recent system (SHR or QtMoko) on the SD card
and try to boot from SD card. This would test two things:
a) if U-Boot can handle the card better
b) if a new kernel can handle the card better

Good luck,
Nikolaus
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Om2008.9] new 4 Gbyte microSD card

2011-01-10 Thread Matthias Apitz
El día Monday, January 10, 2011 a las 09:13:58AM +0100, Dr. H. Nikolaus 
Schaller escribió:

 Usually, a fresh SD card is formatted with a single FAT partition and
 your messages look as if the MMC driver recognizes that but can't read
 it.
 
 What you could try (I assume that you use U-Boot as the boot loader)
 is to install some more recent system (SHR or QtMoko) on the SD card
 and try to boot from SD card. This would test two things:
 a) if U-Boot can handle the card better
 b) if a new kernel can handle the card better

Before doing this, I will wipe out the sector 0 with dd(1) and see if
this helps to create a new partition table.

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/

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


Re: [Om2008.9] new 4 Gbyte microSD card

2011-01-09 Thread Dr. H. Nikolaus Schaller
Hi Matthias,
you are using a quite old distribution (Om2008.9) which may have kernel bugs.
Which kernel version do you have?

Nikolaus

Am 08.01.2011 um 11:17 schrieb Matthias Apitz:

 
 Hello,
 
 I've bought a new 4 GByte SanDisk card which says on boot in 
 /var/log/messages:
 
 Jan  8 10:31:20 om-gta02 user.info kernel: [3.395000] mmcblk0: mmc0:e624 
 SU04G 3872256KiB 

looks ok

 Jan  8 10:31:20 om-gta02 user.info kernel: [3.405000] 
 mmcblk0:6glamo-mci glamo-mci.0: Error after cmd: 0x310

hm.

 Jan  8 10:31:20 om-gta02 user.err kernel: [3.41] mmcblk0: error -110 
 sending read/write command
 Jan  8 10:31:20 om-gta02 user.warn kernel: [3.415000] end_request: I/O 
 error, dev mmcblk0, sector 0
 ...
 
 and
 
 r...@om-gta02:~# fdisk /dev/mmcblk0
 fdisk: cannot read from /dev/mmcblk0
 r...@om-gta02:~# ls -l /dev/mmc*
 brw-r-1 root disk 179,   0 Jan 31  2000 /dev/mmcblk0
 
 What I'm doing wrong? Thanks in advance for any hint.
 
   matthias
 -- 
 Matthias Apitz
 t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
 e g...@unixarea.de - w http://www.unixarea.de/
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


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


Re: [Om2008.9] new 4 Gbyte microSD card

2011-01-09 Thread Matthias Apitz

Hi,

El día Monday, January 10, 2011 a las 08:44:25AM +0100, Dr. H. Nikolaus 
Schaller escribió:

 Hi Matthias,
 you are using a quite old distribution (Om2008.9) which may have kernel bugs.

I know, but I can't update at the moment because the FR is my daily 
only cell phone;

 Which kernel version do you have?

uname(1) says: 2.6.24 

 
 Nikolaus
 
 Am 08.01.2011 um 11:17 schrieb Matthias Apitz:
 
  
  Hello,
  
  I've bought a new 4 GByte SanDisk card which says on boot in 
  /var/log/messages:
  
  Jan  8 10:31:20 om-gta02 user.info kernel: [3.395000] mmcblk0: 
  mmc0:e624 SU04G 3872256KiB 
 
 looks ok
 
  Jan  8 10:31:20 om-gta02 user.info kernel: [3.405000] 
  mmcblk0:6glamo-mci glamo-mci.0: Error after cmd: 0x310
 
 hm.

I will check with some Linux laptop what is on that miniSD...

Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/

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


[Om2008.9] new 4 Gbyte microSD card

2011-01-08 Thread Matthias Apitz

Hello,

I've bought a new 4 GByte SanDisk card which says on boot in 
/var/log/messages:

Jan  8 10:31:20 om-gta02 user.info kernel: [3.395000] mmcblk0: mmc0:e624 
SU04G 3872256KiB 
Jan  8 10:31:20 om-gta02 user.info kernel: [3.405000] mmcblk0:6glamo-mci 
glamo-mci.0: Error after cmd: 0x310
Jan  8 10:31:20 om-gta02 user.err kernel: [3.41] mmcblk0: error -110 
sending read/write command
Jan  8 10:31:20 om-gta02 user.warn kernel: [3.415000] end_request: I/O 
error, dev mmcblk0, sector 0
...

and

r...@om-gta02:~# fdisk /dev/mmcblk0
fdisk: cannot read from /dev/mmcblk0
r...@om-gta02:~# ls -l /dev/mmc*
brw-r-1 root disk 179,   0 Jan 31  2000 /dev/mmcblk0

What I'm doing wrong? Thanks in advance for any hint.

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/

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