Subject: GENERICBT won't boot on my system
To: None <mycroft@gnu.ai.mit.edu, current-users@sun-lamp.cs.berkeley.edu>
From: None <Mark_Weaver@brown.edu>
List: current-users
Date: 08/03/1994 04:52:43
The current (supped today) GENERICBT kernel won't boot on my system.
Neither will the GENERICBT kernel packaged in the binary shapshot
made around July 15th or so.  This is after taking all the hardware
out of my system except for my SCSI card and my video card.  Here's
what I've got:

Gateway 2000 i486-DX2/66 vlb, 16mb ram
ATI Graphics Ultra Pro, 2mb vram
UltraStor 34F vlb

Here's what happens.  It prints the following:

NetBSD 1.0_BETA (GENERICBT) #0: Wed Aug  3 02:17:12 EDT 1994
    mhw@cis-ts3-slip5.cis.brown.edu:/usr/src/sys/arch/i386/compile/GENERICBT
CPU: i486DX (486-class CPU)
real mem  = 16121856
avail mem = 14106624
using 222 buffers containing 909312 bytes of memory
pc0 at isa0 port 0x60-0x6f irq 1: color
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt2 at isa0 port 0x3bc-0x3c3: polled
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 drive 0: 325MB 1010 cyl, 12 head, 55 sec <WDC AC2340H>
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
fd1 at fdc0 drive 1: 1.2MB 80 cyl, 2 head, 15 sec
uha0 at isa0 port 0x330-0x333 irq 11
scsibus2 at uha0
uha0 targ 0 lun 0: <IMPRIMIS94601-15        4614> SCSI1 direct fixed
sd0 at scsibus2: 992MB, 1931 cyl, 15 head, 70 sec, 512 bytes/sec
uha0 targ 1 lun 0: <ARCHIVE VIPER 2525 25462-007> SCSI1 sequential removable
st0 at scsibus2: rogue, density code 0x0, 1024-byte blocks, write-protected
ie0: unknown AT&T board type code 0
ie0: can't map 3C507 RAM in high memory
npx0 at isa0 port 0xf0-0xff: using exception 16
biomask 4840 netmask 3a ttymask 3a
changing root device to sd0a

and then it just freezes until I hit reset.  It fails the same way when
I try to boot off my IDE drive with the UltraStor configured at 0x340 (so
it doesn't find it).

Here's a diff -u between what I see above and what I see when I boot
with my custom kernel.  The kbd_cmd line is just a random problem that
sometimes happens with either kernel.

--- genericbt	Wed Aug  3 04:44:55 1994
+++ excelsior	Wed Aug  3 04:45:17 1994
@@ -1,26 +1,27 @@
-NetBSD 1.0_BETA (GENERICBT) #0: Wed Aug  3 02:17:12 EDT 1994
-    mhw@cis-ts3-slip5.cis.brown.edu:/usr/src/sys/arch/i386/compile/GENERICBT
+NetBSD 1.0_BETA (EXCELSIOR) #0: Wed Aug  3 01:18:59 EDT 1994
+    mhw@cis-ts3-slip5.cis.brown.edu:/usr/src/sys/arch/i386/compile/EXCELSIOR
 CPU: i486DX (486-class CPU)
 real mem  = 16121856
-avail mem = 14106624
+avail mem = 13774848
 using 222 buffers containing 909312 bytes of memory
+kbd_cmd: input char 47 lost
 pc0 at isa0 port 0x60-0x6f irq 1: color
+npx0 at isa0 port 0xf0-0xff: using exception 16
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
-lpt2 at isa0 port 0x3bc-0x3c3: polled
+com2 at isa0 port 0x3e8-0x3ef irq 9: ns16550a, working fifo
+lpt0 at isa0 port 0x3bc-0x3c3: polled
 wdc0 at isa0 port 0x1f0-0x1f7 irq 14
 wd0 at wdc0 drive 0: 325MB 1010 cyl, 12 head, 55 sec <WDC AC2340H>
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 fd1 at fdc0 drive 1: 1.2MB 80 cyl, 2 head, 15 sec
-uha0 at isa0 port 0x330-0x333 irq 11
-scsibus2 at uha0
+uha0 at isa0 port 0x340-0x343 irq 11
+scsibus0 at uha0
 uha0 targ 0 lun 0: <IMPRIMIS94601-15        4614> SCSI1 direct fixed
-sd0 at scsibus2: 992MB, 1931 cyl, 15 head, 70 sec, 512 bytes/sec
+sd0 at scsibus0: 992MB, 1931 cyl, 15 head, 70 sec, 512 bytes/sec
 uha0 targ 1 lun 0: <ARCHIVE VIPER 2525 25462-007> SCSI1 sequential removable
-st0 at scsibus2: rogue, density code 0x0, 1024-byte blocks, write-protected
-ie0: unknown AT&T board type code 0
-ie0: can't map 3C507 RAM in high memory
-npx0 at isa0 port 0xf0-0xff: using exception 16
-biomask 4840 netmask 3a ttymask 3a
-changing root device to sd0a
+st0 at scsibus0: rogue, density code 0x0, 1024-byte blocks, write-protected
+biomask 4840 netmask 21a ttymask 21a
+
+ Aperture driver for XFree86 version 1.1

Both kernels were just built from scratch by completely deleting the
compile/* directory, configuring it, and "make depend;make"'ing it.

Here's my excelsior config:


#
# EXCELSIOR
#

machine		"i386"
ident		EXCELSIOR
cpu		"I486_CPU"
options		"COMPAT_09"
options		MATH_EMULATE
options		MACHINE_NONCONTIG
timezone	5 dst
maxusers	10
options		SWAPPAGER,VNODEPAGER,DEVPAGER
options		KTRACE
options		FIFO
options		SYSVMSG
options		SYSVSEM
options		SYSVSHM
options		LKM
options		SCSI
options		QUOTA
options		MFS
options		FFS
options		NFSSERVER
options		NFSCLIENT
options		MSDOSFS
options		FDESC
options		SETUIDSCRIPTS, FDSCRIPTS
options		KERNFS
options		INET
options		NS
options		ISO
options		TPIP
options		EON
options		MULTICAST
options		GATEWAY
options		DDB, DIAGNOSTIC
options		"USER_LDT"
options		"COMPAT_NOMID"
options		"COMPAT_43"
options		"TCP_COMPAT_42"
options		XSERVER,UCONSOLE
options		"PCVT_META_ESC=1"

config		netbsd	root on sd0 swap on sd0

controller	isa0

device		pc0	at isa? port "IO_KBD" irq 1

device		npx0	at isa? port "IO_NPX" irq 13

device		com0	at isa? port "IO_COM1" irq 4
device		com1	at isa? port "IO_COM2" irq 3
device		com2	at isa? port "IO_COM3" irq 9

device		lpt0	at isa? port "IO_LPT3"

controller	wdc0	at isa? port "IO_WD1" irq 14
disk		wd0	at wdc0 drive ?

controller	fdc0	at isa? port "IO_FD1" irq 6 drq 2
disk		fd0	at fdc0 drive ?
disk		fd1	at fdc0 drive ?

controller	uha0	at isa? port 0x340 irq ? drq ?
master		scsibus0 at uha0
device		sd0	at scsibus0 slave ?
device		st0	at scsibus0 slave ?

pseudo-device pty	64
pseudo-device loop
pseudo-device ether #XXX
pseudo-device log
pseudo-device bpfilter	4
pseudo-device sl	2
pseudo-device ppp
pseudo-device vn	4
pseudo-device speaker
pseudo-device tb

I'm going to be away until Sunday.  If anyone has any quick ideas to
try, I can test them now, but it'll have to be quick.  I'm sorry about
the rush, but there's not much I can do.

	Mark
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science

------------------------------------------------------------------------------