Bug 151315 - kernel BUG() at pageattr:107 with rmmod e1000
Summary: kernel BUG() at pageattr:107 with rmmod e1000
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: ia32e
OS: Linux
Target Milestone: ---
: ---
Assignee: John W. Linville
QA Contact: Brian Brock
Depends On:
Blocks: 154907 156323
TreeView+ depends on / blocked
Reported: 2005-03-16 20:39 UTC by Ganesh Venkatesan
Modified: 2007-11-30 22:07 UTC (History)
6 users (show)

Clone Of:
Last Closed: 2005-10-05 12:50:08 UTC

Attachments (Terms of Use)
jwltest-ioremap-fixes.patch (7.32 KB, patch)
2005-03-31 19:09 UTC, John W. Linville
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:514 qe-ready SHIPPED_LIVE Important: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 2 2005-10-05 04:00:00 UTC

Description Ganesh Venkatesan 2005-03-16 20:39:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803

Description of problem:
When e1000 is loaded (insmod) and later removed (rmmod), rmmod seg faults. A similar issue is described in http://www.ussg.iu.edu/hypermail/linux/kernel/0411.0/0188.html.

This is fixed in kernel 2.6.11 from kernel.org.

Version-Release number of selected component (if applicable):
kernel-2.6.9-5, several versions of e1000

How reproducible:

Steps to Reproduce:
0. RHEL4 installed on a X86_64 machine with > 4GB of RAM
1. insmod e1000
2. rmmod e1000

Actual Results:  segmentation fault. Kernel BUG() called at pageattr.c line 107.

Cannot unload the module.

Expected Results:  The module should get unloaded.

Additional info:

Comment 2 John W. Linville 2005-03-21 19:47:25 UTC
I have incorporated a patch which should fix this in the test kernels here:


Please give that a try and let me know the results.  Thanks!

Comment 3 Ganesh Venkatesan 2005-03-22 00:30:37 UTC

What fix in the 'test' kernels are you referring to that could have fixed this


Comment 4 John W. Linville 2005-03-22 01:00:01 UTC

Sorry!  I forgot to add it to the patch table...look again, and you'll see it. 
Don't worry, I made sure that the patch was actually in the kernels... :-)

Comment 7 John W. Linville 2005-03-24 16:04:52 UTC
Grrr...looks like that patch was bad.  I'm removing it from my test kernels, but
I don't have any alternative patches ATM...

Comment 8 James Antill 2005-03-29 22:54:22 UTC
*** Bug 152429 has been marked as a duplicate of this bug. ***

Comment 9 John W. Linville 2005-03-30 14:44:46 UTC
New test kernels are available at the location mentioned in comment 2.  These
contain a patch which backports some ioremap fixes from upstream.  The person
reporting bug 152429 indicates that the upstream patches fixed the problem there.

Please test and report results.  Thanks!

Comment 10 Ganesh Venkatesan 2005-03-31 16:59:33 UTC
I installed and booted to the updated kernel and am able to rmmod e1000 with no
errors now.

Comment 12 John W. Linville 2005-03-31 19:09:34 UTC
Created attachment 112534 [details]

Comment 20 Jason Baron 2005-06-17 17:22:35 UTC
testing kernel -11.14.EL, which has additional changes in this area at:

Comment 24 Bruce Vessey 2005-08-19 14:18:42 UTC
FYI, Unisys also encountered this problem while testing our ES7000s and we're 
interested in knowing when the fix will be released.

Comment 25 John W. Linville 2005-08-19 14:35:41 UTC

Comment 29 Red Hat Bugzilla 2005-10-05 12:50:09 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 the 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.