Hi I''m trying to upgrade my environment from xen 3.4.0 to xen 4.0 via rpm that fits in our product. I installed new tools and xen, and it looks like I am missing a step. In 4.0 qemu DEVOPS_FLAG_NEED_GNTDEV was added to xen_console_ops. This results in xc_gnttab_open() being called which calls xc_find_device_number() to get device nums for /dev/xen/gntdev so it can mknod. xc_find_device_number() is failing because there is no entry in the the sysfs. So, can someone please advise how the entry is created in the sysfs? The exact path it''s looking: /sys/class/misc/gntdev/dev thanks, Mukesh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Do you have the gntdev driver loaded (or built into your kernel)? Jan>>> Mukesh Rathor <mukesh.rathor@oracle.com> 12.02.10 05:11 >>>Hi I''m trying to upgrade my environment from xen 3.4.0 to xen 4.0 via rpm that fits in our product. I installed new tools and xen, and it looks like I am missing a step. In 4.0 qemu DEVOPS_FLAG_NEED_GNTDEV was added to xen_console_ops. This results in xc_gnttab_open() being called which calls xc_find_device_number() to get device nums for /dev/xen/gntdev so it can mknod. xc_find_device_number() is failing because there is no entry in the the sysfs. So, can someone please advise how the entry is created in the sysfs? The exact path it''s looking: /sys/class/misc/gntdev/dev thanks, Mukesh _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Forgot to mention, rebuilding dom0 with gntdev (CONFIG_XEN_GRANT_DEV) resolved the issue. Thanks Jan. Mukesh On Fri, 12 Feb 2010 09:50:59 +0000 "Jan Beulich" <JBeulich@novell.com> wrote:> Do you have the gntdev driver loaded (or built into your kernel)? > > Jan > > >>> Mukesh Rathor <mukesh.rathor@oracle.com> 12.02.10 05:11 >>> > Hi > > I''m trying to upgrade my environment from xen 3.4.0 to xen 4.0 via > rpm that fits in our product. I installed new tools and xen, and it > looks like I am missing a step. > > In 4.0 qemu DEVOPS_FLAG_NEED_GNTDEV was added to xen_console_ops. This > results in xc_gnttab_open() being called which calls > xc_find_device_number() to get device nums for /dev/xen/gntdev so it > can mknod. xc_find_device_number() is failing because there is no > entry in the the sysfs. > > So, can someone please advise how the entry is created in the sysfs? > The exact path it''s looking: /sys/class/misc/gntdev/dev > > > thanks, > Mukesh > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel