Re: Linux 2.4.5-ac16 kernel panic

2001-06-21 Thread Gary White (Network Administrator)

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: 



> 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 > 0xUL - len)
> +   len = 0xUL - rp;
> +
> +   /* Too close to the end!! */
> +   if(len < 20)
> +   continue;
> +
> rp = (unsigned long)ioremap(rp, 4096);
> if(rp == 0)
> continue;

--
Gary White   Network Administrator
[EMAIL PROTECTED]  Internet Pathway
Voice 601-776-3355Fax 601-776-2314


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.5-ac16

2001-06-21 Thread Christoph Rohland

Hi Alan,

On Tue, 19 Jun 2001, Alan Cox wrote:
> 2.4.5-ac16
> o Drop the shmem/removepage changes to see if they(me)
>   are cuaisng the instabilities in ac15

Any conclusions on that? 

Greetings
Christoph


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.5-ac16 kernel panic

2001-06-20 Thread Gav

On Wednesday 20 June 2001 21:33, Gary White (Network Administrator) wrote:

> 2.4.5-ac16 patch applied to clean 2.4.5 tree. 2.4.5-ac15 boots
> with no problem.
>
> model name  : AMD Athlon(tm) Processor
>
> Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 3).
>
>
> PnP: PNP BIOS installation structure at 0xc00fc2b0
> PnP: PNP BIOS version 1.0, entry at f:c2e0, dseg at f
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> invalid operand: 
> CPU:0
> EIP:0010:[]
> EFLAGS: 00010286
> eax: 007ec000   ebx: e080   ecx: 3f7ec000   edx: c0101000
> esi: 1ffec000   edi: 1ffec000   ebp:    esp: dffe3f54
> ds: 0018   es: 0018   ss: 0018
> Process swapper (pid: 1, stackpage=dffe3000)
> Stack: e080 1ffec000 1ffec000  0246 1ffec000 1ffec000
> 1ffec000 c0126384 0010 007ec000 c0101e08 1ffec000 3f7ec000 c0111521
> e080 1ffec000 1ffec000  1ffec000 c00f6ed8 0014 000f6ed0
> 3ffd7fff Call Trace: [] [] [] []
> [] [] []
>
> Code: 0f 0b e9 40 01 00 00 8b 44 24 28 8b 54 24 2c 8b 4c 24 34 8b
>  <0>Kernel panic: Attempted to kill init
> --
> Gary White   Network Administrator
> [EMAIL PROTECTED]  Internet Pathway
> Voice 601-776-3355Fax 601-776-2314
>

Same here Gary. 

While starting kswapd "Kernel BUG at ioremap.c:73!  Invalid operand:" etc

AMD Athlon 

00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 
40)
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- 
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-


-- Regards, Gavin Baker

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.5-ac16 kernel panic

2001-06-20 Thread Gary White (Network Administrator)

Sorry I was so long getting back. I had to step out
of the office for a minute. Here is the debug message.

Initializing RT netlink socket
kernel BUG at ioremap.c:73
invalid operand: 



> > 2.4.5-ac16 patch applied to clean 2.4.5 tree. 2.4.5-ac15 boots
> > with no problem.
>
> Yes I screwed up the bootflag handling
>
> > EIP:0010:[]
> > EFLAGS: 00010286
> > eax: 007ec000   ebx: e080   ecx: 3f7ec000   edx: c0101000
>
> Can you build with kernel debug enabled and then say Y to all the debug options
> and give me the BUG() message where that next build dies. I think I know whats
> up I want to be sure
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

--
Gary White   Network Administrator
[EMAIL PROTECTED]  Internet Pathway
Voice 601-776-3355Fax 601-776-2314


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.5-ac16 kernel panic

2001-06-20 Thread Alan Cox

> 2.4.5-ac16 patch applied to clean 2.4.5 tree. 2.4.5-ac15 boots
> with no problem.

Yes I screwed up the bootflag handling

> EIP:0010:[]
> EFLAGS: 00010286
> eax: 007ec000   ebx: e080   ecx: 3f7ec000   edx: c0101000

Can you build with kernel debug enabled and then say Y to all the debug options
and give me the BUG() message where that next build dies. I think I know whats
up I want to be sure


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.5-ac16 kernel panic

2001-06-20 Thread Gary White (Network Administrator)

2.4.5-ac16 patch applied to clean 2.4.5 tree. 2.4.5-ac15 boots
with no problem.

model name  : AMD Athlon(tm) Processor

Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 3).


PnP: PNP BIOS installation structure at 0xc00fc2b0
PnP: PNP BIOS version 1.0, entry at f:c2e0, dseg at f
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
invalid operand: 
CPU:0
EIP:0010:[]
EFLAGS: 00010286
eax: 007ec000   ebx: e080   ecx: 3f7ec000   edx: c0101000
esi: 1ffec000   edi: 1ffec000   ebp:    esp: dffe3f54
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 1, stackpage=dffe3000)
Stack: e080 1ffec000 1ffec000  0246 1ffec000 1ffec000 1ffec000
   c0126384 0010 007ec000 c0101e08 1ffec000 3f7ec000 c0111521 e080
   1ffec000 1ffec000  1ffec000 c00f6ed8 0014 000f6ed0 3ffd7fff
Call Trace: [] [] [] [] []
   [] []

Code: 0f 0b e9 40 01 00 00 8b 44 24 28 8b 54 24 2c 8b 4c 24 34 8b
 <0>Kernel panic: Attempted to kill init
--
Gary White   Network Administrator
[EMAIL PROTECTED]  Internet Pathway
Voice 601-776-3355Fax 601-776-2314


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: Linux 2.4.5-ac16 (linux_booted_ok: only on Intel implemented)

2001-06-19 Thread Alan Cox

> linux_booted_ok(), called from init/main.c is not implemented on
> other architectures than Intel.

Yeah. I just need to drop null functions in. Im still not sure if that should
in fact be invoked from user space - say on hitting run level 3
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/