Re: 2.2.18pre4 won't boot on i686

2000-09-11 Thread Egan

I have the same problem here.

2.2.18pre4 won't boot on my Pentium 60 MCA machine.

Yes, someone is still using MCA.  2.2.17 works well on it.


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



Re: 2.2.18pre4 won't boot on i686

2000-09-11 Thread Alan Cox

> How do you get zero setup functions? There are things that are quite
> unconditional, like the "root=" one just before "checksetup()". Same goes
> for initcalls. 
> 
> (Or does 2.2.x copy the setup stuff without copying any of the regular
> _users_ of those setup functions?).

2.2 doesnt move existing users. Its a nice way to handle 2.4 API drivers in 2.2
and encourage people to write to the 2.4 API thus making life happier for
the future, however moving the old ones risks changing initialisation order -
and that way be dragons

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



Re: 2.2.18pre4 won't boot on i686

2000-09-10 Thread David S. Miller

   Date:Sun, 10 Sep 2000 19:31:10 -0700 (PDT)
   From: Linus Torvalds <[EMAIL PROTECTED]>

   (Or does 2.2.x copy the setup stuff without copying any of the regular
   _users_ of those setup functions?).

Right, this is what is going on at the moment.

Later,
David S. Miller
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: 2.2.18pre4 won't boot on i686

2000-09-10 Thread Linus Torvalds



On Mon, 11 Sep 2000, Alan Cox wrote:

> > Both machines here (a desktop, P3/600 on an intel SR440BX motherboard,
> > running Red Hat 6.9.5; kernel compiled with kgcc (egcs-1.1.2); a notebook,
> > Toshiba Satellite pro 4280 XDVD or some such, mobile P3/500, running Red
> > Hat 6.2) hang after "OK, now booting the kernel".
> 
> Yep I've been chasing some other reports and duplicated them here. It blows up
> in checksetup  - We inherited a 2.4 bug where having zero setup or init
> functions in the setup/init segment causes a jump to fishkill

Hmm..
 
How do you get zero setup functions? There are things that are quite
unconditional, like the "root=" one just before "checksetup()". Same goes
for initcalls. 

(Or does 2.2.x copy the setup stuff without copying any of the regular
_users_ of those setup functions?).

Linus

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



Re: 2.2.18pre4 won't boot on i686

2000-09-10 Thread Art Wagner

Alan et all;
I'm attaching a referenced oops of the problem.
I can send anyone who is interested a System.map etc if it will help ??
It oops'ed on a ABIT BP6 2x500 Multiprocessor, NOT overclocked. 

Art Wagner



Alan Cox wrote:
> 
> > Both machines here (a desktop, P3/600 on an intel SR440BX motherboard,
> > running Red Hat 6.9.5; kernel compiled with kgcc (egcs-1.1.2); a notebook,
> > Toshiba Satellite pro 4280 XDVD or some such, mobile P3/500, running Red
> > Hat 6.2) hang after "OK, now booting the kernel".
> 
> Yep I've been chasing some other reports and duplicated them here. It blows up
> in checksetup  - We inherited a 2.4 bug where having zero setup or init
> functions in the setup/init segment causes a jump to fishkill
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.tux.org/lkml/

Unable to handle kernel null pointer dereference at virtual address 
Current->tss.cr3 = 00101000 %cr3 = 00101000
*pde = 
oops: 
cpu: 0
eip: 0010:[<>]
E Flags: 00010286
eax:  ebx: c023fd10   ecx: c0210e30   edx: c0210e44
   __initcall_end   +0x0  elf_format+ 0x0 elf_format +0x014
   __initcall_start +0x0
   __setup_end  +0x0
   __setup_start+0x0

esi: c0225fbcedi: c0106000  ebp: 01e0   esp: c7ff3fd0
 dev_info +0x665cget_options +0x0   Stackpage +0xfd0

ds: 0018  es: oo18  ss:0018
Process swapper (pid:1 Process nr :2, Stackpage=c7ff3000

Stack:  c0226dec  c012510c  0e00c010609d  
0f00 
do_basic_setup +0x7c  kswapd +0x0   init +0x29

c0225fbc  c7ff2000c0107cc7    00090800
dev_info +0x665c  kernel_thread +0x23
Call Trace [][][] 
   kswapd +0x0 init+ 0x299 kernel_thread +0x0x23
Code: Bad EIP Value




Re: 2.2.18pre4 won't boot on i686

2000-09-10 Thread Daniel Roesen

On Sun, Sep 10, 2000 at 08:22:30PM -0400, Horst von Brand wrote:
> hang after "OK, now booting the kernel".

Apply patch attached. Fix by Alan Cox, not me.


Best regards,
Daniel


--- linux-2.2.18pre4.vanilla/init/main.cMon Sep 11 02:36:31 2000
+++ linux-2.2.18pre4/init/main.cMon Sep 11 02:38:32 2000
@@ -1180,14 +1180,14 @@
 
/* Now handle new-style __setup parameters */
p = &__setup_start;
-   do {
+   while (p < &__setup_end) {
int n = strlen(p->str);
if (!strncmp(line,p->str,n)) {
if (p->setup_func(line+n))
return 1;
}
p++;
-   } while (p < &__setup_end);
+   }
 
return 0;
 }
@@ -1493,10 +1493,10 @@
initcall_t *call;
 
call = &__initcall_start;
-   do {
+   while (call < &__initcall_end) {
(*call)();
call++;
-   } while (call < &__initcall_end);
+   }
 }
 
 



Re: 2.2.18pre4 won't boot on i686

2000-09-10 Thread Alan Cox

> Both machines here (a desktop, P3/600 on an intel SR440BX motherboard,
> running Red Hat 6.9.5; kernel compiled with kgcc (egcs-1.1.2); a notebook,
> Toshiba Satellite pro 4280 XDVD or some such, mobile P3/500, running Red
> Hat 6.2) hang after "OK, now booting the kernel".

Yep I've been chasing some other reports and duplicated them here. It blows up
in checksetup  - We inherited a 2.4 bug where having zero setup or init
functions in the setup/init segment causes a jump to fishkill

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



2.2.18pre4 won't boot on i686

2000-09-10 Thread Horst von Brand

Both machines here (a desktop, P3/600 on an intel SR440BX motherboard,
running Red Hat 6.9.5; kernel compiled with kgcc (egcs-1.1.2); a notebook,
Toshiba Satellite pro 4280 XDVD or some such, mobile P3/500, running Red
Hat 6.2) hang after "OK, now booting the kernel".
-- 
Horst von Brand [EMAIL PROTECTED]
Casilla 9G, Vin~a del Mar, Chile   +56 32 672616
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/