lkml.org 
[lkml]   [2001]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 2.4.5-ac16 kernel panic
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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.107 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site