Comment 1 for bug 190870

Revision history for this message
Jan Evert van Grootheest (j-e-van-grootheest) wrote :

When rummaging through sysfs, I noticed this:
(initramfs) ls -l /sys/bus/xen/devices/vbd-2065/
-r--r--r-- 1 0 0 4096 Feb 12 17:31 devtype
-r--r--r-- 1 0 0 4096 Feb 12 17:31 nodename
drwxr-xr-x 2 0 0 0 Feb 12 17:31 power
lrwxrwxrwx 1 0 0 0 Feb 12 17:31 subsystem -> ../../../bus/xen
-rw-r--r-- 1 0 0 4096 Feb 11 07:53 uevent

while a normal domU has this:
suzy2:~# ls -l /sys/bus/xen/devices/vbd-2053/
total 0
lrwxrwxrwx 1 root root 0 Feb 12 18:33 block:sda5 -> ../../../block/sda5
lrwxrwxrwx 1 root root 0 Feb 12 18:33 bus -> ../../../bus/xen
-r--r--r-- 1 root root 4096 Feb 12 18:33 devtype
lrwxrwxrwx 1 root root 0 Feb 12 18:33 driver -> ../../../bus/xen/drivers/vbd
-r--r--r-- 1 root root 4096 Feb 12 18:33 nodename
drwxr-xr-x 2 root root 0 Jan 8 21:34 power
lrwxrwxrwx 1 root root 0 Feb 12 18:33 subsystem -> ../../../bus/xen
--w------- 1 root root 4096 Feb 12 18:33 uevent

So the driver and block:xxx links are missing.

I noticed that CONFIG_SYSFS_DEPRECATED is not set in the config.
Might that have anything to do with this?