Description of problem: This BZ is sort of a corollary to the RHEL-4 BZ 485421. However, while they are related, they are not exactly the same. If you have a RHEL-5.3 kernel running as a KVM guest, and you try to "modprobe xen-vnif" inside the guest, you get: FATAL: Error inserting xen_vnif (/lib/modules/2.6.18-132.el5virttest10/kernel/drivers/xenpv_hvm/netfront/xen-vnif.ko): No such device Which is the correct behavior. However, if you then try to shut down that guest, you will get a crash when the guest is trying to turn off the network interfaces, like this: Shutting down interface eth0: BUG: unable to handle kernel paging request at virtual address f0a7e3e4 (the rest of the crash is in the attachment). This should clearly be fixed.
Created attachment 333475 [details] Full crash output
Created attachment 333512 [details] Patch to unregister things properly when failing a modprobe This patch seems to fix the problem reported in this BZ. It's actually a combination of the "rest" of upstream xen-unstable c/s 14622 (we have the other parts of that c/s), plus some custom code that I've now sent upstream. With this in place, the crash no longer happens on shutdown.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-1243.html