linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gary White (Network Administrator)" <admin@netpathway.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.5-ac16 kernel panic
Date: Thu, 21 Jun 2001 10:08:03 -0500	[thread overview]
Message-ID: <3B320DD3.BBC083CB@netpathway.com> (raw)
In-Reply-To: <E15Czfx-0000x5-00@the-village.bc.nu>

This is the boot panic message I get with the patch applied...

Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
RSDT Table at 0x1FFEC000, size 536788992 bytes.
kernel BUG at ioremap.c:73!
invalid operand: 0000



> Try this - it may help
> --- arch/i386/kernel/bootflag.c~        Mon Jun 18 19:17:30 2001
> +++ arch/i386/kernel/bootflag.c Thu Jun 21 08:19:44 2001
> @@ -168,6 +168,9 @@
>         rsdt = *(u32 *)(p+16);
>         rsdtlen = *(u32 *)(p+20);
>
> +       printk(KERN_INFO "RSDT Table at 0x%lX, size %u bytes.\n",
> +               rsdt, rsdtlen);
> +
>         rsdt = (unsigned long)ioremap(rsdt, rsdtlen);
>         if(rsdt == 0)
>                 return;
> @@ -188,6 +191,15 @@
>         for(n = 36; n+3 < i; n += 4)
>         {
>                 unsigned long rp = readl(rsdt+n);
> +               int len = 4096;
> +
> +               if(rp > 0xFFFFFFFFUL - len)
> +                       len = 0xFFFFFFFFUL - rp;
> +
> +               /* Too close to the end!! */
> +               if(len < 20)
> +                       continue;
> +
>                 rp = (unsigned long)ioremap(rp, 4096);
>                 if(rp == 0)
>                         continue;

--
Gary White               Network Administrator
admin@netpathway.com          Internet Pathway
Voice 601-776-3355            Fax 601-776-2314



       reply	other threads:[~2001-06-21 15:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E15Czfx-0000x5-00@the-village.bc.nu>
2001-06-21 15:08 ` Gary White (Network Administrator) [this message]
2001-06-19 17:31 Linux 2.4.5-ac16 Alan Cox
2001-06-20 21:33 ` Linux 2.4.5-ac16 kernel panic Gary White (Network Administrator)
2001-06-20 22:12   ` Alan Cox
2001-06-20 22:59     ` Gary White (Network Administrator)
2001-06-21  0:48   ` Gav

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=3B320DD3.BBC083CB@netpathway.com \
    --to=admin@netpathway.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).