Bug 487691 - [RHEL5.3]: modprobe xen-vnif in a KVM guest causes a crash
Summary: [RHEL5.3]: modprobe xen-vnif in a KVM guest causes a crash
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.3
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Chris Lalancette
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-27 14:28 UTC by Chris Lalancette
Modified: 2009-09-02 08:55 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 08:55:06 UTC
Target Upstream Version:
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1243 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 5.4 kernel security and bug fix update 2009-09-01 08:53:34 UTC

Description Chris Lalancette 2009-02-27 14:28:02 UTC
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 14:29:21 UTC
Created attachment 333475 [details]
Full crash output

Comment 2 Chris Lalancette 2009-02-27 17:44:59 UTC
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 Program Management 2009-02-27 18:21:26 UTC
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.

Comment 11 errata-xmlrpc 2009-09-02 08:55:06 UTC
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


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