[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#501359: initramfs-tools: MODULES=dep does not like Xen virtual block devices



On Tue, Feb 17, 2009 at 05:35:16PM +0000, Ian Campbell wrote:
> 
> OK, have attached modules.most and modules.dep. In the modules.dep case
> xen-blkfront.ko is not included in the initrd.

ok.


+ block=xvda1
+ block=xvda
+ '[' -z xvda ']'
+ '[' '!' -e /sys/block/xvda ']'
++ readlink -f /sys/block/xvda/device
+ root_dev_path=/sys/devices/vbd-51712
+ sys_walk_mod_add /sys/devices/vbd-51712
+ local driver_path module
+ device_path=/sys/devices/vbd-51712
+ '[' /sys/devices/vbd-51712 '!=' /sys ']'
+ sys_walk_modalias /sys/devices/vbd-51712
+ local device_path modalias
++ dirname /sys/devices/vbd-51712
+ device_path=/sys/devices
++ dirname /sys/devices
+ device_path=/sys
+ '[' -e /sys/modalias ']'
+ '[' -n '' ']'
++ readlink -f /sys/devices/vbd-51712/driver
+ driver_path=/sys/bus/xen/drivers/vbd
+ '[' -e /sys/bus/xen/drivers/vbd ']'
+++ readlink -f /sys/bus/xen/drivers/vbd
++ basename /sys/bus/xen/drivers/vbd
+ module=vbd
+ '[' -n vbd ']'
+ force_load vbd
+ manual_add_modules vbd
+ local mam_x firmwares firmware
++ modprobe --set-version=2.6.26-1-686-bigmem --ignore-install --show-depends vbd
++ awk '/^insmod/ { print $2 }'
+ echo vbd
++ dirname /sys/devices/vbd-51712
+ device_path=/sys/devices
+ '[' /sys/devices '!=' /sys ']'
+ sys_walk_modalias /sys/devices
+ local device_path modalias
++ dirname /sys/devices
+ device_path=/sys
++ dirname /sys
+ device_path=/

well also according to the /sys tree you posted [1] this seems
to be an error of xen-blkfront declaring itself as vbd module
in sys?

-- 
maks

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=17;filename=ls-lRt-sys.txt;att=2;bug=501359



Reply to: