BDI patches break installation and browsing

Richard Hughes hughsient at gmail.com
Tue Oct 28 11:55:33 PDT 2008


On Tue, 2008-10-28 at 19:43 +0100, Danny Kukawka wrote:
> On Dienstag, 28. Oktober 2008, Richard Hughes wrote:
> > After the BDI patchset was merged, my device tree has gone from 136 to
> > 188 devices. I've also got 24 more "Mass storage devices" in nautilus
> > and anaconda. 
> 
> Looks as if the loop/ram devices got in. We can simply prevent adding those 
> devices.
> 
> See attached patch.

Doesn't work for me, I still get 20+ block devices:

18:54:28.260 [I] blockdev.c:915: Looking in /sys/devices/virtual/block/loop0/slaves for Device Mapper
18:54:28.260 [I] blockdev.c:926:  /sys/devices/virtual/block/loop0/slaves/. -> /sys/devices/virtual/block/loop0/slaves
18:54:28.260 [I] blockdev.c:958: Couldn't find slave volume in devices
18:54:28.260 [I] blockdev.c:926:  /sys/devices/virtual/block/loop0/slaves/.. -> /sys/devices/virtual/block/loop0
18:54:28.260 [I] blockdev.c:958: Couldn't find slave volume in devices
18:54:28.260 [I] blockdev.c:964: Done looking in /sys/devices/virtual/block/loop0/slaves
18:54:28.260 [I] blockdev.c:974: Check if this is a BDI based device ...
18:54:28.260 [I] blockdev.c:979: Looks like a BDI based block device. Link->target: '/sys/devices/virtual/block/loop0/bdi' -> '/sys/devices/virtual/bdi/7:0'
18:54:28.260 [I] blockdev.c:1282: parent_bus is bdi
18:54:28.260 [I] blockdev.c:502: Probing storage device /dev/loop0
18:54:28.260 [D] hotplug.c:447: events queued = 11, events in progress = 27
18:54:28.260 [I] coldplug.c:94: creating HotplugEvent for /sys/devices/virtual/block/loop1
18:54:28.260 [I] coldplug.c:99: with device file /dev/loop1
18:54:28.260 [I] coldplug.c:278: new event (dev node from udev) '/sys/devices/virtual/block/loop1' '/dev/loop1'

Richard.




More information about the hal mailing list