[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200706291142.50893.u.luckas@road.de>
Date: Fri, 29 Jun 2007 11:42:50 +0200
From: Uli Luckas <u.luckas@...d.de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: "Midhun Agnihotram" <agnimidhun@...il.com>,
"Pierre Ossman" <drzeus-mmc@...eus.cx>,
"Hans-Jürgen Koch" <hjk@...utronix.de>,
jdi@....org
Subject: Re: Fwd: Mounting MMC card
On Friday, 29. June 2007, Midhun Agnihotram wrote:
> Hi All,
>
> > Let's try something a lot less complex than mounting. Try running:
> > dd if=/dev/mmcblk0 of=/dev/null count=100
>
> Here goes the output(error).
>
> / # dd if=/dev/mmcblk0 of=/dev/null count=100
> dd: can't open '/dev/mmcblk0': No such device or address
>
> The /dev is has the following:
>
> / # ls -l /dev | grep mmc
> brwxrwxrwx 1 0 0 254, 0 Jun 26 2007 mmcblk0
> brwxrwxrwx 1 0 0 254, 1 Jun 26 2007 mmcblk0p0
> brwxrwxrwx 1 0 0 254, 2 Jun 26 2007 mmcblk0p1
> brwxrwxrwx 1 0 0 254, 3 Jun 26 2007 mmcblk0p2
> brwxrwxrwx 1 0 0 254, 4 Jun 26 2007 mmcblk0p3
>
If I remember correctly, mmc devices did not have fixed majors/minors
allocated until recently. Either get a recent kernel or use some kind of
hotplug (udev) scripts to create your device nodes with dynamically allocated
major/minors.
Regards
Uli
--
------- ROAD ...the handyPC Company - - - ) ) )
Uli Luckas
Software Development
ROAD GmbH
Bennigsenstr. 14 | 12159 Berlin | Germany
fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
url: www.road.de
Amtsgericht Charlottenburg: HRB 96688 B
Managing directors: Hans-Peter Constien, Hubertus von Streit
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists