2007-08-01 19:06:21

by Rafał Bilski

[permalink] [raw]
Subject: Problem with udev and block2mtd

Hi!

I have changed static /dev to udev on my machine. It has
a lot of RAM (94MB) so I was expecting that udev will not make
things worse. Unfortunately udev isn't noticing that new mtd
device was born. I was suspecting that this is my fault, but
udev's /dev is populated and:
UEVENT[1185991604.930847] add@/module/mtdcore
UEVENT[1185991604.969089] add@/module/mtdpart
UEVENT[1185991605.005954] add@/module/block2mtd
UEVENT[1185991647.726551] add@/module/mtdsuper
UEVENT[1185991647.783396] add@/module/jffs2
UEVENT[1185991647.801242] add@/slab/jffs2_i
UDEV [1185991647.815670] add@/slab/jffs2_i
UEVENT[1185991647.827608] add@/slab/:0000072
UDEV [1185991647.842338] add@/slab/:0000072
I don't see nothing about new device.

Is this situation known? Or this is 2.6.23-rc1-git3 regression?
Or is my udev misconfigured?

Regards
Rafał

----------------------------------------------------------------------
Wszystko czego potrzebujesz latem: kremy do opalania,
stroje kapielowe, maly romans

>>>http://link.interia.pl/f1b15


2007-08-03 18:06:43

by Andrew Morton

[permalink] [raw]
Subject: Re: Problem with udev and block2mtd

On Wed, 01 Aug 2007 21:05:59 +0200
Rafał Bilski <[email protected]> wrote:

> Hi!
>
> I have changed static /dev to udev on my machine. It has
> a lot of RAM (94MB) so I was expecting that udev will not make
> things worse. Unfortunately udev isn't noticing that new mtd
> device was born.

<tap, tap> Is this thing turned on?

> I was suspecting that this is my fault, but
> udev's /dev is populated and:
> UEVENT[1185991604.930847] add@/module/mtdcore
> UEVENT[1185991604.969089] add@/module/mtdpart
> UEVENT[1185991605.005954] add@/module/block2mtd
> UEVENT[1185991647.726551] add@/module/mtdsuper
> UEVENT[1185991647.783396] add@/module/jffs2
> UEVENT[1185991647.801242] add@/slab/jffs2_i
> UDEV [1185991647.815670] add@/slab/jffs2_i
> UEVENT[1185991647.827608] add@/slab/:0000072
> UDEV [1185991647.842338] add@/slab/:0000072
> I don't see nothing about new device.
>
> Is this situation known? Or this is 2.6.23-rc1-git3 regression?
> Or is my udev misconfigured?
>

Did 2.6.22 work OK with the same setup? If so, yes, it's a regression!