Anyone seen 4.8-RELEASE running on a real 386 (not 486 586 etc) ?

Julian Stacey jhs at berklix.com
Thu Apr 10 11:43:36 PDT 2003


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 at 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: <math processor> on motherboard
   npx0: 387 emulator
   isa0: <ISA bus> on motherboard
   orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
   fdc0: <NEC 765 or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
   fd0: <1440-KB 3.5" drive> on fdc0 drive 0
   ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
   atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
   atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
   kbd0 at atkbd0
   vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
   sc0: <System console> at flags 0x100 on isa0
   sc0: VGA <16 virtual consoles, flags=0x300>
   sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
   sio0: type 16450
   ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
   ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
   plip0: <PLIP network interface> on ppbus0
   lpt0: <Printer> on ppbus0
   lpt0: Interrupt-driven port
   ppi0: <Parallel I/O> on ppbus0
   ep0: <3Com 3C509B-Combo EtherLink III (PnP)> at port 0x210-0x21f irq 3 on isa0
   ep0: Ethernet address 00:a0:24:c3:ee:86
   ad0: 4134MB <IBM-DCAA-34330> [8400/16/63] at ata0-master BIOSPIO
   Mounting root from ufs:/dev/ad0s1a
   IP packet filtering initialized, divert disabled, rule-based forwarding enabled,
    default to deny, logging disabled

-
Julian Stacey       Freelance Systems Engineer, Unix & Net Consultant, Munich.
  Will Munich Germany dump Microsoft & Go Linux ? ....
  http://www.sueddeutsche.de/aktuell/sz/getArticleSZ.php?artikel=artikel104.php


More information about the freebsd-hackers mailing list