Bug 487691 - [RHEL5.3]: modprobe xen-vnif in a KVM guest causes a crash
[RHEL5.3]: modprobe xen-vnif in a KVM guest causes a crash
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
x86_64 Linux
low Severity medium
: rc
: ---
Assigned To: Chris Lalancette
Red Hat Kernel QE team
Depends On:
  Show dependency treegraph
Reported: 2009-02-27 09:28 EST by Chris Lalancette
Modified: 2009-09-02 04:55 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-09-02 04:55:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Full crash output (3.76 KB, text/plain)
2009-02-27 09:29 EST, Chris Lalancette
no flags Details
Patch to unregister things properly when failing a modprobe (2.05 KB, patch)
2009-02-27 12:44 EST, Chris Lalancette
no flags Details | Diff

  None (edit)
Description Chris Lalancette 2009-02-27 09:28:02 EST
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.
Comment 1 Chris Lalancette 2009-02-27 09:29:21 EST
Created attachment 333475 [details]
Full crash output
Comment 2 Chris Lalancette 2009-02-27 12:44:59 EST
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.
Comment 4 RHEL Product and Program Management 2009-02-27 13:21:26 EST
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
Comment 11 errata-xmlrpc 2009-09-02 04:55:06 EDT
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.


Note You need to log in before you can comment on or make changes to this bug.