From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 10 11:43:35 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C46E037B404; Thu, 10 Apr 2003 11:43:35 -0700 (PDT) Received: from jhs.muc.de (pD9EB72C0.dip.t-dialin.net [217.235.114.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B9A643F93; Thu, 10 Apr 2003 11:43:33 -0700 (PDT) (envelope-from jhs@berklix.com) Received: from flip.jhs.private (flip.jhs.private [192.168.91.24]) by jhs.muc.de (8.11.6/8.11.6) with ESMTP id h3AIhQv68730; Thu, 10 Apr 2003 20:43:26 +0200 (CEST) (envelope-from jhs@berklix.com) Received: (from jhs@localhost) by flip.jhs.private (8.11.6/8.11.6) id h3AIh4C65481; Thu, 10 Apr 2003 20:43:04 +0200 (CEST) (envelope-from jhs) Date: Thu, 10 Apr 2003 20:43:04 +0200 (CEST) Message-Id: <200304101843.h3AIh4C65481@flip.jhs.private> To: freebsd-hackers@freebsd.org From: "Julian Stacey" Organization: http://www.berklix.com/~jhs/vsl/ X-Copyright: Don't publicly archive, without obfuscating email addresses. Fcc: sent-mail cc: Michael Elbel Subject: Anyone seen 4.8-RELEASE running on a real 386 (not 486 586 etc) ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jhs@berklix.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 18:43:36 -0000 freebsd-hackers@, Anyone seen 4.8-RELEASE running on a real 386 processor (not a 486, 586 etc) ? I have a 386 that runs 4.7, dmesg below, both GENERIC & my own kernel; But it wont boot 4.8 { either generic or my own config } compiled on my other 4.8 box. I tried making with & without /etc/make.conf CFLAGS = -m386 -march=i386 -msoft-float -mcpu=i386 -O -pipe COPTFLAGS= -m386 -march=i386 -msoft-float -mcpu=i386 -O -pipe I tried the /kernel copied from a 4.8 cdrom to hard disk (no cdrom drive on the box). I tried 4.8 boot floppies (to prove its not something wrong in hard disc /boot) Every 4.8 kernel crashes during boot -s. This 386 box is no bigger than a book, so worth persevering :-) "SX 33" is written on chip, though dmesg reports "DX". I recall 386 support was dropped in 5.0, but presume not dropped in 4.8, ( I don't see any signs in /usr/share/mk comparing 4.7 & 4.8 ) The 4.8 cdrom /[A-Z]* files say i386 is still supported. I removed the only card in the box (a 3com ISA ethernet jumperless) - it still wouldnt boot, so put ethernet card back in, as not the problem. I compiled a kernel with ddb, Results copied by hand as no serial for remote gdb.t present Ideas or solutions anyone ? 4.8 ddb: Fatal trap 1: priveleged instruction fault while in kernel mode instruction pointer = 0x8:0xc02695a0 stack pointewr = 0x10:0xc0379fcc frame pointer = 0x10:0xc0379fcc code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def 32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = net tty bio cam kernel: type 1 trap, code=0 stopped at 0xc02695a0: invlpg 0(%ecx) db> trace (null)(c0391000,fd8000) at 0xc02695a0 (null)(37e000,0,0,0,0) at 0xc0262b8f (null)() at 0xc0121aea db> ps pid proc addr uid ppid pgrp flag stat wmesg wchan cmd 0 c02f4400 c0377000 0 0 0 000000 0 4.7 dmesg FreeBSD 4.7-RELEASE #0: Wed Apr 9 16:08:31 CEST 2003 jhs@king.jhs.private:/usr1/src/sys/compile/MINI.small Timecounter "i8254" frequency 1193182 Hz CPU: i386DX (386-class CPU) real memory = 16646144 (16256K bytes) avail memory = 13115392 (12808K bytes) Preloaded elf kernel "kernel" at 0xc0343000. md0: Malloc disk npx0: on motherboard npx0: 387 emulator isa0: on motherboard orm0: