* [U-Boot] Problem with SD card and ext2ls
@ 2009-11-20 11:47 javier Martin
2009-11-20 12:03 ` javier Martin
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: javier Martin @ 2009-11-20 11:47 UTC (permalink / raw)
To: u-boot
I have an SD card with an ext2 partition and I am trying to access it
through ext2ls command but this is what I get:
# ext2ls mmc 0:1 /
** Bad partition - mmc 0:1 **
I have read some previous mails of some people complaining about a
similar problem:
http://www.mail-archive.com/u-boot at lists.denx.de/msg12776.html
Here also Wolfgang Denk says that ext2 is currently broken in u-boot
for newer ext2 images.
Is this still true or has it been fixed since then?
Thank you.
--
Javier Martin
Vista Silicon S.L.
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Problem with SD card and ext2ls
2009-11-20 11:47 [U-Boot] Problem with SD card and ext2ls javier Martin
@ 2009-11-20 12:03 ` javier Martin
2009-11-20 14:16 ` javier Martin
2009-11-20 18:34 ` Wolfgang Denk
2009-11-20 18:33 ` Wolfgang Denk
2009-11-22 13:20 ` Michael Brandt
2 siblings, 2 replies; 8+ messages in thread
From: javier Martin @ 2009-11-20 12:03 UTC (permalink / raw)
To: u-boot
Also if I issue a "mmc rescan 0" I get the following:
# mmc rescan 0
# ext2ls mmc 0:1 /
get partition info called
raise: Signal # 8 caught
raise: Signal # 8 caught
raise: Signal # 8 caught
What could be happening here?
Thank you.
--
Javier Martin
Vista Silicon S.L.
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Problem with SD card and ext2ls
2009-11-20 12:03 ` javier Martin
@ 2009-11-20 14:16 ` javier Martin
2009-11-20 18:34 ` Wolfgang Denk
1 sibling, 0 replies; 8+ messages in thread
From: javier Martin @ 2009-11-20 14:16 UTC (permalink / raw)
To: u-boot
Looking deeply in the list I found someone that had the same problem
with an AT91:
http://www.mail-archive.com/u-boot at lists.denx.de/msg23442.html
I submit here all useful information about my case.
Board: imx27lite
Toolchains: eldk-4.2
GIT commit: f67066b6b0740b826ed862615c5ab022aaf4779a
SD card formatted in ext2 with gparted.
How to reproduce:
=> mmc rescan 0
=> ext2ls mmc 0:1 /
<2, 0, 204>
ext2fs read inode 2
ext2fs read 0 group descriptor (blkno 2 blkoff 0)
<4, 0, 32>
raise: Signal # 8 caught
ext2fs read inode blkno 0 blkoff 0
raise: Signal # 8 caught
raise: Signal # 8 caught
ext2fs read inode blkno 6 blkoff 0
<12, 0, 128>
--
Javier Martin
Vista Silicon S.L.
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Problem with SD card and ext2ls
2009-11-20 11:47 [U-Boot] Problem with SD card and ext2ls javier Martin
2009-11-20 12:03 ` javier Martin
@ 2009-11-20 18:33 ` Wolfgang Denk
2009-11-22 13:20 ` Michael Brandt
2 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2009-11-20 18:33 UTC (permalink / raw)
To: u-boot
Dear javier Martin,
In message <eedb5540911200347t5f11bdcat9206e2d9f1a7f971@mail.gmail.com> you wrote:
> I have an SD card with an ext2 partition and I am trying to access it
> through ext2ls command but this is what I get:
>
> # ext2ls mmc 0:1 /
> ** Bad partition - mmc 0:1 **
>
> I have read some previous mails of some people complaining about a
> similar problem:
> http://www.mail-archive.com/u-boot at lists.denx.de/msg12776.html
>
> Here also Wolfgang Denk says that ext2 is currently broken in u-boot
> for newer ext2 images.
Well, that was a long, long time ago. And the problem reported there
(and fixed since) was about newer (bigger) inode sizes - this has
nothing to do with "Bad partition" errors.
> Is this still true or has it been fixed since then?
The problems referred to in the posting you quote have long been
fixed.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
... The things love can drive a man to -- the ecstasies, the mise-
ries, the broken rules, the desperate chances, the glorious failures
and the glorious victories.
-- McCoy, "Requiem for Methuselah", stardate 5843.7
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Problem with SD card and ext2ls
2009-11-20 12:03 ` javier Martin
2009-11-20 14:16 ` javier Martin
@ 2009-11-20 18:34 ` Wolfgang Denk
2009-11-23 9:09 ` javier Martin
1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2009-11-20 18:34 UTC (permalink / raw)
To: u-boot
Dear javier Martin,
In message <eedb5540911200403r5a4dfb8el7fd73965f33a7c4f@mail.gmail.com> you wrote:
> Also if I issue a "mmc rescan 0" I get the following:
>
> # mmc rescan 0
> # ext2ls mmc 0:1 /
> get partition info called
> raise: Signal # 8 caught
> raise: Signal # 8 caught
> raise: Signal # 8 caught
>
> What could be happening here?
Sorry, the batteries of my crystal ball are running low...
It _might_ help if you provided a _little_ information, at least the
most vital pieces like which architecture / board you are speaking of,
and which exact version (which git commit id) you are running.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Don't hit a man when he's down - kick him; it's easier.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Problem with SD card and ext2ls
2009-11-20 11:47 [U-Boot] Problem with SD card and ext2ls javier Martin
2009-11-20 12:03 ` javier Martin
2009-11-20 18:33 ` Wolfgang Denk
@ 2009-11-22 13:20 ` Michael Brandt
2 siblings, 0 replies; 8+ messages in thread
From: Michael Brandt @ 2009-11-22 13:20 UTC (permalink / raw)
To: u-boot
Hello,
> Here also Wolfgang Denk says that ext2 is currently broken in u-boot
> for newer ext2 images.
I rather would say it is broken for rev 0,
i.e. old ext2 images and images generated with genext2fs
> Is this still true or has it been fixed since then?
I just posted a patch: [PATCH] EXT2FS: fix inode size for ext2fs rev#0.
Best regards,
Michael.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Problem with SD card and ext2ls
2009-11-20 18:34 ` Wolfgang Denk
@ 2009-11-23 9:09 ` javier Martin
2009-11-23 19:37 ` Wolfgang Denk
0 siblings, 1 reply; 8+ messages in thread
From: javier Martin @ 2009-11-23 9:09 UTC (permalink / raw)
To: u-boot
> Sorry, the batteries of my crystal ball are running low...
>
> It _might_ help if you provided a _little_ information, at least the
> most vital pieces like which architecture / board you are speaking of,
> and which exact version (which git commit id) you are running.
Please see my last mail. I sent three mails without reply and maybe
this lead to some confusion, sorry. In that, my previous mail, you
have all the information: Board, SD card, how to reproduce...
Thank you.
--
Javier Martin
Vista Silicon S.L.
CDTUC - FASE C - Oficina S-345
Avda de los Castros s/n
39005- Santander. Cantabria. Spain
+34 942 25 32 60
www.vista-silicon.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Problem with SD card and ext2ls
2009-11-23 9:09 ` javier Martin
@ 2009-11-23 19:37 ` Wolfgang Denk
0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Denk @ 2009-11-23 19:37 UTC (permalink / raw)
To: u-boot
Dear javier Martin,
In message <eedb5540911230109k9b3b6f7ibc261b6f6f4c838f@mail.gmail.com> you wrote:
> > Sorry, the batteries of my crystal ball are running low...
> >
> > It _might_ help if you provided a _little_ information, at least the
> > most vital pieces like which architecture / board you are speaking of,
> > and which exact version (which git commit id) you are running.
>
> Please see my last mail. I sent three mails without reply and maybe
> this lead to some confusion, sorry. In that, my previous mail, you
> have all the information: Board, SD card, how to reproduce...
Found it, indeed. Thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Applying computer technology is simply finding the right wrench to
pound in the correct screw.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-11-23 19:37 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-20 11:47 [U-Boot] Problem with SD card and ext2ls javier Martin
2009-11-20 12:03 ` javier Martin
2009-11-20 14:16 ` javier Martin
2009-11-20 18:34 ` Wolfgang Denk
2009-11-23 9:09 ` javier Martin
2009-11-23 19:37 ` Wolfgang Denk
2009-11-20 18:33 ` Wolfgang Denk
2009-11-22 13:20 ` Michael Brandt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.