Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Peter Horton <pdh@colonel-panic.org>
To: linux-mips@linux-mips.org
Subject: BUG() in sys_swapon
Date: Wed, 14 Apr 2004 23:53:29 +0100	[thread overview]
Message-ID: <20040414225329.GA4842@skeleton-jack> (raw)

The current 2.6.x tree running on a Cobalt Qube throws an OOPS from
sys_swapon().

It looks like this is because line 1257 in r1.89 of mm/swapfile.c
(2.6.x) compiles to a BUG().

    ... swp_type(pte_to_swp_entry(swp_entry_to_pte(swp_entry(~0UL,0)))))

swp_entry(~0UL,0)			--> f800_0000
swp_entry_to_pte(f800_0000)
    __swp_entry(1f, 0000_0000)		--> 0000_003e
    pte_file(0000_003e)			--> 0000_0010
    BUG_ON(0000_0010)

P.

                 reply	other threads:[~2004-04-14 22:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040414225329.GA4842@skeleton-jack \
    --to=pdh@colonel-panic.org \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox