public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Anybody got 2.4.0 running on a 386 ?
@ 2001-01-09 20:53 Robert Kaiser
  2001-01-09 21:15 ` Brian Gerst
  2001-01-10  3:53 ` Tom Leete
  0 siblings, 2 replies; 37+ messages in thread
From: Robert Kaiser @ 2001-01-09 20:53 UTC (permalink / raw)
  To: linux-kernel

Hi list,

I can't seem to get the new 2.4.0 kernel running on a 386 CPU.
The kernel was built for a 386 Processor, Math emulation has been enabled.
I tried three different 386 boards. Execution seems to get as far as
pagetable_init() in arch/i386/mm/init.c, then it falls back into the BIOS as
if someone had pressed the reset button. The same kernel boots fine on
486 and Pentium Systems.

Any ideas/suggestions ?

Rob

----------------------------------------------------------------
Robert Kaiser                         email: rkaiser@sysgo.de
SYSGO RTS GmbH
Am Pfaffenstein 14                    phone: (49) 6136 9948-762
D-55270 Klein-Winternheim / Germany   fax:   (49) 6136 9948-10
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 37+ messages in thread
* Re: Anybody got 2.4.0 running on a 386 ?
@ 2001-01-10  9:25 richardj_moore
  2001-01-10 14:19 ` Alan Cox
  0 siblings, 1 reply; 37+ messages in thread
From: richardj_moore @ 2001-01-10  9:25 UTC (permalink / raw)
  To: Tom Leete; +Cc: rob, linux-kernel



Does linux cater of all the old 386 chip bugs - especially the memory
management oddities?


Richard Moore -  RAS Project Lead - Linux Technology Centre (PISC).

http://oss.software.ibm.com/developerworks/opensource/linux
Office: (+44) (0)1962-817072, Mobile: (+44) (0)7768-298183
IBM UK Ltd,  MP135 Galileo Centre, Hursley Park, Winchester, SO21 2JN, UK


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

^ permalink raw reply	[flat|nested] 37+ messages in thread
[parent not found: <Pine.LNX.4.04.10101101000130.27018-100000@hantana.pdn.ac.lk>]
* Re: Anybody got 2.4.0 running on a 386 ?
@ 2001-01-10 17:16 Petr Vandrovec
  0 siblings, 0 replies; 37+ messages in thread
From: Petr Vandrovec @ 2001-01-10 17:16 UTC (permalink / raw)
  To: Robert Kaiser; +Cc: linux-kernel

On 10 Jan 01 at 17:00, Robert Kaiser wrote:
> > not really. Could you write a small function that just reads the kernel
> > image from the first symbol to the last one, and see whether it crashes?
> > (read it into a volatile variable to make sure GCC reads it.)
> 
> I tried this: Reading the entire image never caused any crashes.
> 
> However, I did have some (rare) instances of the kernel booting
> successfully. Then it would fail again, booting the very same image
> that had worked before.
> 
> I am beginning to suspect that I may be dealing with flaky hardware.
> (I'm working from home today and I only have access to one of my 386
> specimen here).
> 
> I guess I'll better shut up until I can double check on
> some other 386 boards tomorrow....

Could you try to remove 'inb $0x92,%al','orb $02,%al','outb %al,$0x92'
from arch/i386/boot/setup.S ? Maybe it causes something to your A20.
For example A20 through KBC and bit 1 of port 0x92 are wired together
with XOR, and port 0x92 acts immediately, while KBC acts with delay.
So test for a20 succeeds, as KBC did not turned its A20 yet, but then
after KBC gets done its job, it dies... (eventually overwritting kernel
itself; do you use zImage or bzImage? with bzImage at odd megabyte it should
die almost immediately)

But it is pure speculation. Value of %ax after a20_wait loop finishes
could be interesting too - is it zero (no loop), one (0ffff:210 contained
0), or something higher (we had to wait for KBC)?

You can also try loading with loadlin from DOS with XMS manager, 
instead of through LILO, as if you'll load DOS=HIGH, it will enable A20 
for you. And temporary remove whole A20 game from boot.S.
                                                Best regards,
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz
                                                    
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2001-01-15 19:14 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-09 20:53 Anybody got 2.4.0 running on a 386 ? Robert Kaiser
2001-01-09 21:15 ` Brian Gerst
2001-01-09 21:17   ` Robert Kaiser
2001-01-09 21:46     ` Brian Gerst
2001-01-09 22:17       ` Robert Kaiser
2001-01-09 22:57         ` Ingo Molnar
2001-01-09 23:44           ` Robert Kaiser
2001-01-10  0:19             ` Alex Buell
2001-01-10  0:20             ` Ingo Molnar
2001-01-10  0:24               ` Ingo Molnar
2001-01-10 16:00               ` Robert Kaiser
2001-01-10 21:29                 ` Tom G. Christensen
2001-01-10 22:04                   ` X performance on 2.4.0 v.s. 2.4.0-test12 Alan Olsen
2001-01-09 23:03         ` Anybody got 2.4.0 running on a 386 ? Brian Gerst
2001-01-09 23:04           ` Robert Kaiser
2001-01-09 23:28             ` Anuradha Ratnaweera
2001-01-09 23:42               ` Robert Kaiser
2001-01-10  1:48                 ` Miles Lane
2001-01-10 15:25                   ` Robert Kaiser
2001-01-10 21:04                     ` Miles Lane
2001-01-10 16:28             ` Paul Gortmaker
2001-01-15 18:38               ` [SOLVED + PATCH] " Robert Kaiser
2001-01-15 19:11                 ` Linus Torvalds
2001-01-09 22:44       ` Timur Tabi
2001-01-09 21:59     ` Brian Gerst
2001-01-10 19:51     ` mo6
2001-01-10 20:18       ` Brian Gerst
2001-01-10 21:53         ` mo6
2001-01-11 12:20     ` mo6
2001-01-10  3:53 ` Tom Leete
  -- strict thread matches above, loose matches on Subject: below --
2001-01-10  9:25 richardj_moore
2001-01-10 14:19 ` Alan Cox
2001-01-10 15:04   ` Robert Kaiser
2001-01-10 15:49     ` Alan Cox
2001-01-10 16:02       ` Robert Kaiser
     [not found] <Pine.LNX.4.04.10101101000130.27018-100000@hantana.pdn.ac.lk>
2001-01-10 15:37 ` Robert Kaiser
2001-01-10 17:16 Petr Vandrovec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox