Bug 683527 - Unable to start netconsole on xen domU
Summary: Unable to start netconsole on xen domU
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel-xen
Version: 5.5.z
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Xen Maintainance List
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-09 16:20 UTC by Shad L. Lords
Modified: 2011-05-17 13:05 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-17 13:05:38 UTC
Target Upstream Version:


Attachments (Terms of Use)
"Add xen pv netconsole support [orabug 6993043] [bz 7258]" (1.76 KB, patch)
2011-05-16 14:55 UTC, Laszlo Ersek
no flags Details | Diff

Description Shad L. Lords 2011-03-09 16:20:24 UTC
Description of problem:

When trying to setup netconsole on a domU the modprobe fails because the network interface doesn't support pulling.

Version-Release number of selected component (if applicable):

2.6.18-194.26.1

How reproducible:

always

Steps to Reproduce:
1. configure /etc/sysconfig/netconsole
2. service netconsole start
3. observe dmesg and /var/log/messages
  
Actual results:

kernel: netconsole: eth0 doesn't support polling, aborting.

Expected results:

netconsole starts and sends logs to remote host.

Additional info:

It appears that oracle has patched their kernel to support this.  Reference is orabug 6993043

Comment 1 Laszlo Ersek 2011-05-16 14:55:57 UTC
Created attachment 499178 [details]
"Add xen pv netconsole support  [orabug 6993043] [bz 7258]"

"linux-2.6.18-xen-netconsole-el5u6.patch" from
http://oss.oracle.com/el5/SRPMS-updates/kernel-2.6.18-238.0.0.0.1.el5.src.rpm

Comment 2 Laszlo Ersek 2011-05-17 13:05:38 UTC
I applied the patch and tried to test it. Unfortunately, it doesn't seem to work at all from the PV domU to a separate physical machine, even though I got netconsole working from dom0 to the same different physical machine. I flushed the entire iptables config in dom0 (policies are ACCEPT), tried with virtual and then shared physical device. netconsole does start in domU, but there's still no traffic due to the domU kernel messages.

I can send UDP packets from the domU to the remote syslog server (my laptop) just fine. I verified the target MAC address on these packets with tcpdump, within the domU, and it does match the netconsole target MAC setting. So, either this patch doesn't work, or I don't know how to set up netconsole in a PV domU.

I can't find any Oracle bug tracker that would return anything useful when I enter "6993043" or "7258". I hunted these together from mailing lists, and I even had to extract the patch from an src rpm (see comment 1). Thus not much justification for the patch is available to me.

This is the smaller problem. The bigger problem is, as I realize now, Paolo has already seen this patch (squashed together with another Oracle patch) and judged it wrong. See bug 605711 comment 0 (note the "[bz 7258]" substring), bug 605711 comment 7, and attachment 425157 [details].

Considering this patch doesn't seem to help where it should, violates written guidelines, and was not submitted to / reviewed by upstream, I'm closing this bug as WONTFIX.


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