https://bugzilla.novell.com/show_bug.cgi?id=691256 https://bugzilla.novell.com/show_bug.cgi?id=691256#c33 --- Comment #33 from Olaf Hering <ohering@novell.com> 2011-05-10 11:21:29 CEST ---
Interestingly, just today we talked about removing the modprobe's of the backend modules from xend init script. I'm cc'ing Olaf and Jan as they were discussing a solution.
I had hoped the mainline kernel already has such an autoloading feature in place. What needs to be done for the various xen drivers is that dom0 and maybe also domU creates modalias files. They mean 'I found feature XYZ'. Then the drivers for that feature XYZ can say 'I can provide feature XYZ'. In the case of /sys/devices/platform/pcspkr/, there is a modalias "platform:pcspkr" created by the arch initcalls, which means there was some pcskr controler found during boot. Later udevtrigger walks through all the uevent files and retriggers the events because many were missed during very early boot. These events carry also the MODALIAS= property, which is passed to modprobe. modprobe eventually finds a driver that can handle pcskr because the driver has the alias: platform:pcspkr in it. modinfo driver shows the alias: lines. There are many for tg3, some for floppy, etc. In the case of xen, there is no such thing in place yet. In 11.4 kernel I see /sys/devices/xen and /sys/devices/xen-backend. But they are empty. This is the place where dom0 could place evtchn and gntdev for example. I have to check how exactly it needs to be done. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.