Some questions about mdev

Natanael Copa natanael.copa at gmail.com
Fri Aug 13 06:18:36 UTC 2010


On Thu, Aug 12, 2010 at 5:19 PM, Alexander Griesser <support at agits.at> wrote:

> So let’s say I want to create a partition on /dev/sda, the device file for
> /dev/sda is here of course because mdev caught that during bootup, but when
> I do then create a new partition using fdisk, /dev/sda1 hasn’t
> been created automatically so I have to run `mdev –s` so this file gets
> created, then I can put a filesystem on the partition.

I have seen this too. I think its a bug some place.

...
> Another problem ist hat the DRM device nodes below /dev/dri are not created
> automatically by mdev, when I f.ex. `modprobe i915`, I can see
> that the kernel hotplug mechanism calls mdev, but the files necessary
> for running with hardware acceleration (namely /dev/dri/card0 and
> /dev/dri/controlD64) are not created automatically. If I create them by
> hand before starting the X server, hardware acceleration works,
> otherwise it just says it can’t find the device files.

Try add this line to /etc/mdev.conf:

card[0-9]       root:video 0660 =dri/


-- 
Natanael Copa


More information about the busybox mailing list