Re: problem with microsd

2012-09-28 Thread Davide Scaini
I tried to add those parameters, but nothing new...
I will try with another micro sd, if I find one... this one is brand new
(dammit!)
Thanks for your help, I will stay tuned
d
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: problem with microsd

2012-09-28 Thread Denis 'GNUtoo' Carikli
On Thu, 27 Sep 2012 11:17:30 +0200
Davide Scaini  wrote:

> Hi all.
> I asked on shr user list with no luck.
> I'm using shr-core, I have this problem: the device for the
> microsd is not created, i.e. /dev/mmcblk0p1 does not exist.
> Do you have any fast fix?
> 
> This is the problem:
> 
> root@om-gta02:~# fdisk -l /dev/mmcblk0
> 
> Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes
> 4 heads, 16 sectors/track, 242560 cylinders, total 15523840 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x36c4
> 
> Device Boot  Start End  Blocks   Id  System
> /dev/mmcblk0p1204812328959 6163456   83  Linux
> /dev/mmcblk0p21232896015523839 1597440   82  Linux
> swap / Solaris
> 
> 
> root@om-gta02:~# mount -t ext2 /dev/mmcblk0p1 /media/temp/
> mount: special device /dev/mmcblk0p1 does not exist

see http://wiki.openmoko.org/wiki/Supported_microSD_cards and its
paramters (rootwait glamo_mci.sd_max_clk=500 glamo_mci.sd_drive=3
etc...)

Denis.

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


Re: problem with microsd

2012-09-28 Thread Patryk Benderz
[cut]
> Any other hint?
Just give it a try and check some 2GB uSD. In worst case it will confirm
your your belief.

-- 
Patryk "LeadMan" Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


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


Re: problem with microsd

2012-09-28 Thread David Matthews

  El Friday 28 September 2012 08:24:06 Patryk Benderz va escriure:

  > Did you tried with another uSD? AFAIR GTA02 was not able to work with

  > SDHC cards.

   

  GTA02 works with SDHC you may remember Openmoko Bug #2364: Hanging micro
  sdhc card


I think it's more accurate to say it works with some of them; this is a
confusing area and my experince is that it's easier to buy a SHDC that
doesn't work with GAT02 (but is fine in anything else) than one which does.

I don't think you can rely per brand or even per brand + capacity


--
David Matthews
m...@dmatthews.org

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


Re: problem with microsd

2012-09-28 Thread Jose Luis Perez Diez
El Friday 28 September 2012 08:24:06 Patryk Benderz va escriure:
> Did you tried with another uSD? AFAIR GTA02 was not able to work with
> SDHC cards.

GTA02 works with SDHC you may remember Openmoko Bug #2364: Hanging micro sdhc 
card
but I think it works in reccent kernels too see 

http://lists.openmoko.org/pipermail/openmoko-kernel/2011-October/011353.html
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: problem with microsd

2012-09-28 Thread Davide Scaini
mmm...
no afair:
http://wiki.openmoko.org/wiki/Supported_microSD_cards

I have a 8gb sandisk and it should work.
I think it's a kernel related problem. When fdisk "modifies" partition
table (as I described in previous mail), it calls ioctl() and then
syncronizes again the disks with "new" partition table... and the nodes are
created correctly. Anyway after few minutes the drive goes in read only
mode.
I'm puzzled.
Any other hint?

On Fri, Sep 28, 2012 at 8:24 AM, Patryk Benderz wrote:

> Dnia 2012-09-27, czw o godzinie 11:17 +0200, Davide Scaini pisze:
> > Hi all.
> > I asked on shr user list with no luck.
> > I'm using shr-core, I have this problem: the device for the
> > microsd is not created, i.e. /dev/mmcblk0p1 does not exist.
> [cut]
> Did you tried with another uSD? AFAIR GTA02 was not able to work with
> SDHC cards.
>
> --
> Patryk "LeadMan" Benderz
> Linux Registered User #377521
> ()  ascii ribbon campaign - against html e-mail
> /\  www.asciiribbon.org   - against proprietary attachments
>
>
> ___
> 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: problem with microsd

2012-09-27 Thread Patryk Benderz
Dnia 2012-09-27, czw o godzinie 11:17 +0200, Davide Scaini pisze:
> Hi all.
> I asked on shr user list with no luck.
> I'm using shr-core, I have this problem: the device for the
> microsd is not created, i.e. /dev/mmcblk0p1 does not exist.
[cut]
Did you tried with another uSD? AFAIR GTA02 was not able to work with
SDHC cards.

-- 
Patryk "LeadMan" Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


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


Re: problem with microsd

2012-09-27 Thread Davide Scaini
I can create the node

root@om-gta02:~# mknod /dev/mmcblk0p1 b 179 1
root@om-gta02:~# mount /media/card/
mount: /dev/mmcblk0p1 is not a valid block device

but cannot mount.
Btw if i use fdisk and "change id of the partition" selecting "83 linux"
and writing to disk, after sync I have the device ready and I can mount
it... so why it's not mounted on boot?
thanks
d



On Thu, Sep 27, 2012 at 11:24 AM, Timo Juhani Lindfors  wrote:

> Davide Scaini  writes:
> > Do you have any fast fix?
>
> You could try creating the device? (mknod mmcblkp1 b 179 1).
>
> ___
> 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: problem with microsd

2012-09-27 Thread Ed Kapitein
Hi Davide,

Try (re)starting udev (or mdev) and see if you get any info.

Kind regards,
Ed

On 09/27/2012 11:17 AM, Davide Scaini wrote:
> Hi all.
> I asked on shr user list with no luck.
> I'm using shr-core, I have this problem: the device for the
> microsd is not created, i.e. /dev/mmcblk0p1 does not exist.
> Do you have any fast fix?
>
> This is the problem:
>
> root@om-gta02:~# fdisk -l /dev/mmcblk0
>
> Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes
> 4 heads, 16 sectors/track, 242560 cylinders, total 15523840 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x36c4
>
> Device Boot  Start End  Blocks   Id  System
> /dev/mmcblk0p1204812328959 6163456   83  Linux
> /dev/mmcblk0p21232896015523839 1597440   82  Linux
> swap / Solaris
>
>
> root@om-gta02:~# mount -t ext2 /dev/mmcblk0p1 /media/temp/
> mount: special device /dev/mmcblk0p1 does not exist
>
>
>
> ___
> 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: problem with microsd

2012-09-27 Thread Timo Juhani Lindfors
Davide Scaini  writes:
> Do you have any fast fix?

You could try creating the device? (mknod mmcblkp1 b 179 1).

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


problem with microsd

2012-09-27 Thread Davide Scaini
Hi all.
I asked on shr user list with no luck.
I'm using shr-core, I have this problem: the device for the
microsd is not created, i.e. /dev/mmcblk0p1 does not exist.
Do you have any fast fix?

This is the problem:

root@om-gta02:~# fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes
4 heads, 16 sectors/track, 242560 cylinders, total 15523840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x36c4

Device Boot  Start End  Blocks   Id  System
/dev/mmcblk0p1204812328959 6163456   83  Linux
/dev/mmcblk0p21232896015523839 1597440   82  Linux
swap / Solaris


root@om-gta02:~# mount -t ext2 /dev/mmcblk0p1 /media/temp/
mount: special device /dev/mmcblk0p1 does not exist
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community