Bug 161059 - swap_free: bad swap file entry (x86-64)
swap_free: bad swap file entry (x86-64)
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
x86_64 Linux
medium Severity high
: ---
: ---
Assigned To: Dave Jones
Brian Brock
: 161419 (view as bug list)
Depends On: 163437
  Show dependency treegraph
Reported: 2005-06-20 07:21 EDT by Vincent Sweeney
Modified: 2015-01-04 17:20 EST (History)
3 users (show)

See Also:
Fixed In Version: 2.6.12-1.1372_FC3smp
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-02 12:44:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vincent Sweeney 2005-06-20 07:21:07 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Description of problem:
To fix the " mm/memory.c:98: bad pmd " error on a SMP Opteron (dual-core) x86 sytem on the latest 2.6.11-1.27_FC3smp kernel bugzilla suggests running davej's latest devel kernel rpm's. However after running for an amount of time the server now oops. So far, the longest uptime is 6 hours before death.

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

How reproducible:

Steps to Reproduce:
1. Basically run any application that puts the system under load.
2. Run app for a few hours.

Additional info:

Jun 18 14:56:24 ec09-dc01 kernel: swap_free: Bad swap file entry 4000000000000000
Jun 18 14:56:24 ec09-dc01 kernel: ----------- [cut here ] --------- [please bite here ] ---------
Jun 18 14:56:24 ec09-dc01 kernel: Kernel BUG at rmap:482
Jun 18 14:56:24 ec09-dc01 kernel: invalid operand: 0000 [4] SMP
Jun 18 14:56:24 ec09-dc01 kernel: CPU 1
Jun 18 14:56:24 ec09-dc01 kernel: Modules linked in: md5 ipv6 nbd dm_mod video button battery ac ohci_hcd tg3 floppy sg ext3 jbd aic79xx sd_mod scsi_mod
Jun 18 14:56:24 ec09-dc01 kernel: Pid: 10412, comm: sh Tainted: G    B 2.6.11-1.35_FC3smp
Jun 18 14:56:24 ec09-dc01 kernel: RIP: 0010:[<ffffffff801755a6>] <ffffffff801755a6>{page_remove_rmap+38}
Comment 1 Dave Jones 2005-07-07 20:23:45 EDT
*** Bug 161419 has been marked as a duplicate of this bug. ***
Comment 2 Dave Jones 2005-07-15 15:59:42 EDT
An update has been released for Fedora Core 3 (kernel-2.6.12-1.1372_FC3) which
may contain a fix for your problem.   Please update to this new kernel, and
report whether or not it fixes your problem.

If you have updated to Fedora Core 4 since this bug was opened, and the problem
still occurs with the latest updates for that release, please change the version
field of this bug to 'fc4'.

Thank you.
Comment 3 Vincent Sweeney 2005-07-17 14:25:56 EDT
Installed the new kernel-smp-2.6.12-1.1372_FC3.x86_64.rpm package but the server
now dies due to a kernel panic during boot / startup. No log just yet as this
was tested via remote hands.

I will try to schedule a reboot to test the non-smp / i686 versions and get full
error log 'soon'.
Comment 4 Vincent Sweeney 2005-07-18 09:12:17 EDT
kernel-2.6.12-1.1372_FC3.x86_64.rpm installed and boots fine. 12 hours uptime
under load so far with no 'bad pmd' or oops which is a marked improvement over
previous versions.

However the x86_64-SMP kernel still fails to boot, hope to test the i686-smp
version later.

Comment 5 Vincent Sweeney 2005-07-20 21:29:03 EDT
Well I guess I can't test the smp version (!) until bug 163437 is resolved ....
Comment 6 Vincent Sweeney 2005-08-02 12:45:30 EDT
kernel 2.6.12-1.1372_FC3smp seems to fix all issues previously seen.
Comment 7 Konstantin Olchanski 2005-08-02 18:11:30 EDT
Negative. I just booted kernel 2.6.12-1.1372_FC3smp and had two panics with
"swap_free: Bad swap file entry", see

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