Subject: Re: NetBSD on a 386?
To: jwbirdsa@picarefy.com <jwbirdsa@picarefy.com>
From: Dave Huang <khym@azeotrope.org>
List: port-i386
Date: 12/18/2001 18:59:46
On 19 Dec 2001, jwbirdsa@picarefy.com wrote:
>    Has anybody noticed that (at least as of 1.5.1) NetBSD/i386 doesn't actually
> work on a 386 anymore? I've tried it on several now, with varying hardware
> and kernels, and I always get the same symptoms: it boots, but any attempt
> to look at kernel data structures (e.g. ps, top) returns garbage,
> frequently causing the program to coredump. One commonality is that none
> of the 386es tested had a 387, whereas all of the systems that worked
> (486 and higher) have a coprocessor onboard. But the kernels all had FP
> emulation configured in, supposedly...

I'm running 1.5X on a 386, although it does have a 387... but does your
userland match your kernel? Your symptoms sound like a libkvm mismatch
type of thing...

Here's my dmesg:

NetBSD 1.5X (SLOTH) #202: Sun Aug 19 14:33:30 CDT 2001
    khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SLOTH
cpu0: Intel 386DX (386-class)
total memory = 7808 KB
avail memory = 5356 KB
using 123 buffers containing 492 KB of memory
mainbus0 (root)
isa0 at mainbus0
ne0 at isa0 port 0x300-0x31f irq 10
ne0: NE2000 Ethernet
ne0: Ethernet address 00:40:05:62:d5:28
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: <QUANTUM LP120A GM120A01X>
wd0: drive supports 8-sector PIO transfers, chs addressing
wd0: 116 MB, 901 cyl, 5 head, 53 sec, 512 bytes/sect x 238765 sectors
tcom0 at isa0 port 0x100-0x13f irq 11
com2 at tcom0 slave 0: st16650a, working fifo
com3 at tcom0 slave 1: st16650a, working fifo
com4 at tcom0 slave 2: st16650a, working fifo
com5 at tcom0 slave 3: st16650a, working fifo
com at tcom0 slave 4 not configured
com at tcom0 slave 5 not configured
com at tcom0 slave 6 not configured
com at tcom0 slave 7 not configured
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff irq 13
pc0 at isa0 port 0x60-0x6f irq 1: color
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff
pcic0: controller 0 (Intel 82365SL Revision 1) has socket A only
pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
pcmcia0 at pcic0 controller 0 socket 0
isapnp0: read port 0x203
ne1 at isapnp0 port 0x240/32 irq 5
ne1: NE2000 Ethernet
ne1: Ethernet address 00:40:05:a6:f9:3d
biomask d345 netmask d765 ttymask d7e7
pcic0: controller 0 detecting irqs with mask 0xdeb8:..9..15
pcic0: using irq 9 for socket events
IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd0b
IP Filter: v3.4.16 initialized.  Default = pass all, Logging = enabled
bridge0: not multicast capable, IPv6 not enabled
bridge0: not multicast capable, IPv6 not enabled
-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 26 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++