Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 658434

Summary: forcedeth driver panics while booting debug kernel
Product: Red Hat Enterprise Linux 5 Reporter: Jan Tluka <jtluka>
Component: kernelAssignee: Ivan Vecera <ivecera>
Status: CLOSED ERRATA QA Contact: Jan Tluka <jtluka>
Severity: high Docs Contact:
Priority: high    
Version: 5.6CC: lwang, peterm
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-13 22:02:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 640580    

Description Jan Tluka 2010-11-30 11:15:08 UTC
Description of problem:

While booting debug kernel on system with forcedeth networking device the system panics while configuring IP address during boot.

Bringing up interface eth0:  
Determining IP i------------[ cut here ]------------
nformation for ekernel BUG at include/linux/netdevice.h:1098!
th0...invalid opcode: 0000 [#1]
SMP 
last sysfs file: /class/net/eth0/address
Modules linked in: ipv6 xfrm_nalgo crypto_api loop dm_multipath scsi_dh video ba
cklight sbs power_meter i2c_ec dell_wmi wmi button battery asus_acpi ac parport_
pc lp parport sr_mod cdrom sg joydev i2c_nforce2 forcedeth k10temp tpm_tis tpm i
2c_core pcspkr hwmon tpm_bios 8021q dm_raid45 dm_message dm_region_hash dm_mem_c
ache dm_snapshot dm_zero dm_mirror dm_log dm_mod usb_storage sata_nv libata aacr
aid sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd
CPU:    0
EIP:    0060:[<f8a192bf>]    Not tainted VLI
EFLAGS: 00010046   (2.6.18-233.el5debug #1) 
EIP is at nv_napi_poll_compat+0x511/0x5cc [forcedeth]
eax: 00000006   ebx: f58fb000   ecx: f58fb400   edx: c06a0460
esi: 00000246   edi: c307f680   ebp: 00000000   esp: c07f2f88
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 0, ti=c07f2000 task=c06a0460 task.ti=c0764000)
Stack: c07f2fd0 f58fb000 00000040 f58fb424 f58fb000 f58fb400 f8974000 00000000 
       00000000 00000000 c05d1d5d c307f680 00000000 f58fb000 c307f680 00000000 
       c05d1da9 fffc4571 0000012c c0764f74 00000001 c075ab18 0000000a c042ae0a 
Call Trace:
 [<c05d1d5d>] net_rx_action+0x5a/0x1bb
 [<c05d1da9>] net_rx_action+0xa6/0x1bb
 [<c042ae0a>] __do_softirq+0x9e/0x13f
 [<c0407544>] do_softirq+0x57/0xb2
 [<c0455995>] __do_IRQ+0x0/0xda
 [<c0407662>] do_IRQ+0xc3/0xd1
 [<c0405a5d>] common_interrupt+0x25/0x2c
 [<c0403c62>] default_idle+0x3e/0x6d
 [<c0403c64>] default_idle+0x40/0x6d
 [<c0403d35>] cpu_idle+0xa4/0xbe
 [<c0769a22>] start_kernel+0x39e/0x3a6
 =======================
Code: bb 00 00 00 8b 44 24 0c e8 36 6e bb c7 8b 54 24 0c 8b 5a 3c 8b 43 2c f6 c4
 02 75 40 9c 5e fa e8 c3 1a a2 c7 8b 43 2c a8 20 75 08 <0f> 0b 4a 04 9f d8 a1 f8
 8d 83 00 01 00 00 e8 d2 47 ae c7 f0 0f 
EIP: [<f8a192bf>] nv_napi_poll_compat+0x511/0x5cc [forcedeth] SS:ESP 0068:c07f2f
88
 <0>Kernel panic - not syncing: Fatal exception in interrupt


# lspci -v
80:09.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a3)
        Subsystem: nVidia Corporation Device cb84
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 74
        Memory at ddff9000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 6000 [size=8]
        Memory at ddffa400 (32-bit, non-prefetchable) [size=256]
        Memory at ddffa000 (32-bit, non-prefetchable) [size=16]
        Capabilities: [44] Power Management version 2
        Capabilities: [70] MSI-X: Enable- Count=8 Masked-
        Capabilities: [50] MSI: Enable- Count=1/8 Maskable+ 64bit+
        Capabilities: [6c] HyperTransport: MSI Mapping Enable+ Fixed+
        Kernel driver in use: forcedeth
        Kernel modules: forcedeth


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

kernel-debug-233.el5.i686

How reproducible:

4 times in 4 attempts, seems to be 100% reproducible

Steps to Reproduce:
1. Install RHEL5.6 
2. yum install kernel-debug 
3. set the debug kernel as the default to boot
  
Actual results:

Panic

Expected results:

No panic, networking interface gets configured via DHCP.

Additional info:

I have tried following kernels:

kernel-2.6.18-221.el5        boot ok
kernel-2.6.18-232.el5        boot ok
kernel-2.6.18-233.el5        boot ok
kernel-PAE-2.6.18-233.el5    boot ok
kernel-debug-2.6.18-194.el5  boot ok

kernel-debug-2.6.18-221.el5  panic
kernel-debug-2.6.18-223.el5  panic
kernel-debug-2.6.18-233.el5  panic

The build -221 contains forcedethe driver update:
- [net] forcedeth: update to latest upstream for RHEL5.6 (Ivan Vecera) [628831]

Comment 8 RHEL Program Management 2010-12-08 17:59:41 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 12 Jarod Wilson 2010-12-14 14:28:33 UTC
in kernel-2.6.18-237.el5
You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5

Detailed testing feedback is always welcomed.

Comment 16 errata-xmlrpc 2011-01-13 22:02:46 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-2011-0017.html