Subject: problems with pnp support in 1.2G
To: None <current-users@NetBSD.ORG>
From: Brian Buhrow <>
List: current-users
Date: 08/15/1997 15:54:37
	Hello folks.  I've been building the world of NetBSD/i386  from
sources as of August 3, 1997.  As I've been booting the kernel I
constructed on various pentiums around here, I've noticed that I see two
behaviors which I believe are related.
	The first machine I tested on, a 486 DX/50, has the sympton that if I
do a shutdown -fr, the machine gets to the point just after probing the
SCSI bus on its way back up and then freezes.  If I hit the reset button,
causing a cold start, it comes up just fine with no complaints.  This is an
ISA machine with no VLB or PCI.  

	The other machines, which are all Triton PCI machines, boot to the
point where they're about to announce the boot disk and then "boom".  Since
the error goes by so fast, it's hard to know what it is, but I believe it
says "Illegal page fault in supervisor mode". 
	Thinking it might be the 3c509 cards we have which have pnp disabled,
I enabled pnp support to see if that made them happier.  Although they saw
the pnp card on the way up, they still choked at the same time.  To get
things working, I commented pnp0 at isa? out of the configuration file and
then all of the devices that used pnp0.  That solved my problem.  I still
have to enable pnp support and then, one-by-one, re-enable each device
until I hit the magic death device.

	Does anyone have any ideas why this might be happening?  Any ideas
would be greatly appreciated.

(Here's a sample dmesg output from a machine after I commented out the pnp
support.  I'll put brackets after the last line we can see before it panics
when pnp is enabled.)

NetBSD 1.2G (UCSC_CMPSRV) #1: Thu Aug 14 17:04:55 PDT 1997
cpu0: family 5 model 2 step 5
cpu0: Intel Pentium (P54C) (586-class)
real mem  = 130674688
avail mem = 120131584
using 1388 buffers containing 6635520 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82437FX (Triton) PCI, Cache, and DRAM Controller (rev. 0x02)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82471FB (Triton) PCI-ISA Bridge (rev. 0x02)
Intel 82438 (Triton) IDE controller (IDE mass storage, interface 0x80, revision 0x02) at pci0 dev 7 function 1 not configured
bha1 at pci0 dev 20 function 0: BusLogic 9xxC SCSI
bha1: interrupting at irq 11
bha1: model BT-946C, firmware 4.25J
bha1: sync, parity
bha1 targ 0: sync, offset 15, period 100nsec
bha1 targ 2: sync, offset 15, period 100nsec
scsibus0 at bha1: 8 targets
sd0 at scsibus0 targ 0 lun 0: <HP, C3724S, 5153> SCSI2 0/direct fixed
sd0: 1149MB, 3703 cyl, 5 head, 127 sec, 512 bytes/sec x 2354660 sectors
sd2 at scsibus0 targ 2 lun 0: <SEAGATE, ST41651, 7574> SCSI2 0/direct fixed
sd2: 1350MB, 2107 cyl, 15 head, 87 sec, 512 bytes/sec x 2766300 sectors
st0 at scsibus0 targ 4 lun 0: <HP, 88780, A674> SCSI1 1/sequential removable
st0: drive empty
isa0 at pcib0
ep0 at isa0 port 0x300-0x30f irq 10: 3Com 3C509 Ethernet
ep0: MAC address 00:a0:24:2e:a8:8e
ep0: 8KB byte-wide FIFO, 5:3 Rx:Tx split, utp (default utp)
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
lpt2 at isa0 port 0x3bc-0x3bf: polled
npx0 at isa0 port 0xf0-0xff: using exception 16
vt0 at isa0 port 0x60-0x6f irq 1
vt0: mda, mono, 8 scr, mf2-kbd, [R3.32]
pms0 at vt0 irq 12
spkr0 at vt0 port 0x61
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 840 netmask c40 ttymask 1cc2
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
AFS 3.3 ($Revision: 1.48 $) initialized
Starting AFS cache scan...found 1510 non-empty cache files (37%).