*BSD News Article 36493


Return to BSD News archive

Newsgroups: comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!library.ucla.edu!news.mic.ucla.edu!news.bc.net!nntp.cs.ubc.ca!torn!uunet.ca!uunet.ca!io.org!reptiles.org!nobody
From: osyjm@schizo.coe.montana.edu (Jaye Mathisen)
Subject: Unable to build working GENERICNCR...
Message-ID: <9410030648.AA24543@schizo.coe.montana.edu>
Sender: nobody@reptiles.org
Organization: Computer Science, MSU, Bozeman MT, 59717
Distribution: reptiles
Date: Mon, 3 Oct 1994 06:48:52 GMT
Approved: usenet@reptiles.org
Lines: 329



Hmmm, I'm stumped.  

FreeBSD 1.1.5.1, ncrscsi 2.1 kit.  DEC 486-66XL, DEC DSP3107 drive,


The /386bsd that comes with the kit boots and works fine, I'm not
sure it's 2.1 though, as the messages come out weird.

In any case, I ran the install, built GENERICNCR, and try to reboot.

No can do.  It stops with a "can't mount root", which is true, it
never did find sd0 in the probe, although it did find cd0, and the NCR
chip, which are on the same chain as sd0.

I also tried configuring the chip manuall, with the pci{slot-number} stuff,
and that won't work either...

Here's my GENERICNCR and TYPICAL config files, just in case there's 
something massively wrong with them and I am missing it.  

I don't have dmesg output from when it panics, for obvious reasons.


#!/bin/sh
# This is a shell archive (produced by shar 3.49)
# To extract the files from this archive, save it to a file, remove
# everything above the "!/bin/sh" line above, and type "sh file_name".
#
# made 10/03/1994 06:47 UTC by osyjm@schizo.coe.montana.edu
# Source directory /home/schizo/u0/osyjm
#
# existing files will NOT be overwritten unless -c is specified
#
# This shar contains:
# length  mode       name
# ------ ---------- ------------------------------------------
#   2821 -rw-r--r-- GENERICNCR
#   2867 -rw-r--r-- TYPICAL
#   2277 -rw-r--r-- dmesg
#
# ============= GENERICNCR ==============
if test -f 'GENERICNCR' -a X"$1" != X"-c"; then
	echo 'x - skipping GENERICNCR (File already exists)'
else
echo 'x - extracting GENERICNCR (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'GENERICNCR' &&
#
# GENERICAH -- Generic machine with WD/AHx family disks
#
#	$Id: GENERICAH,v 1.36 1994/06/17 06:56:59 sean Exp $
#
X
machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
ident		GENERICAH
timezone	8 dst
maxusers	10
maxfdescs	2048			#Max file descriptors per process
options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		ISOFS			#ISO File System
options		NFS			#Network File System
options		PCFS			#MSDOS File System
options		"COMPAT_43"		#Compatible with BSD 4.3
options		"TCP_COMPAT_42"		#TCP/IP compatible with 4.2
options		XSERVER			#Xserver
options		UCONSOLE		#X Console support
options		"FAT_CURSOR"		#block cursor in syscons or pccons
#options	GATEWAY			#Host is a Gateway (forwards packets)
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		"NCONS=4"		#4 virtual consoles
X
config		"386bsd"	root on wd0 swap on wd0 and wd1 and sd0 and sd1 dumps on wd0
X
controller	isa0
X
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
#tape		ft0	at fdc0 drive 2
X
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1
X
controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1
X
controller	ahb0	at isa? bio irq 11 vector ahbintr
controller	aha0	at isa? port "IO_AHA0" bio irq 11 drq 5 vector ahaintr
controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
controller	scbus0
X
device		sd0
device		sd1
device		sd2
device		sd3
X
device		st0
device		st1
X
device		cd0	#Only need one of these, the code dynamically grows
X
device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
device		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr
X
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
X
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
device		sio3	at isa? port "IO_COM4" tty irq 9 vector siointr
X
device		lpt0	at isa? port? tty irq 7 vector lptintr
device		lpt1	at isa? port? tty
device		lpt2	at isa? port? tty
X
device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr
device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
device is0 at isa? port 0x280 net irq 10 drq 7 vector isintr
X
pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	2
pseudo-device	pty	16
pseudo-device	speaker
X
pseudo-device	swappager
pseudo-device	vnodepager
pseudo-device	devpager
device		pci0
device		ncr0
SHAR_EOF
chmod 0644 GENERICNCR ||
echo 'restore of GENERICNCR failed'
Wc_c="`wc -c < 'GENERICNCR'`"
test 2821 -eq "$Wc_c" ||
	echo 'GENERICNCR: original size 2821, current size' "$Wc_c"
fi
# ============= TYPICAL ==============
if test -f 'TYPICAL' -a X"$1" != X"-c"; then
	echo 'x - skipping TYPICAL (File already exists)'
else
echo 'x - extracting TYPICAL (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'TYPICAL' &&
#
# GENERICAH -- Generic machine with WD/AHx family disks
#
#	$Id: GENERICAH,v 1.36 1994/06/17 06:56:59 sean Exp $
#
X
machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
ident		TYPICAL
timezone	7 dst
maxusers	10
maxfdescs	2048			#Max file descriptors per process
options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		ISOFS			#ISO File System
options		NFS			#Network File System
options		PCFS			#MSDOS File System
options		"COMPAT_43"		#Compatible with BSD 4.3
options		"TCP_COMPAT_42"		#TCP/IP compatible with 4.2
options		XSERVER			#Xserver
options		UCONSOLE		#X Console support
options		"FAT_CURSOR"		#block cursor in syscons or pccons
#options	GATEWAY			#Host is a Gateway (forwards packets)
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		"NCONS=4"		#4 virtual consoles
X
config		"386bsd"	root on wd0 swap on wd0 and wd1 and sd0 and sd1 dumps on wd0
X
controller	isa0
X
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
#tape		ft0	at fdc0 drive 2
X
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1
X
controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1
X
controller	ahb0	at isa? bio irq 11 vector ahbintr
controller	aha0	at isa? port "IO_AHA0" bio irq 11 drq 5 vector ahaintr
controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
controller	scbus0
X
device		sd0
device		sd1
device		sd2
device		sd3
X
device		st0
device		st1
X
device		cd0	#Only need one of these, the code dynamically grows
X
device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
device		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr
X
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
X
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
device		sio3	at isa? port "IO_COM4" tty irq 9 vector siointr
X
device		lpt0	at isa? port? tty irq 7 vector lptintr
device		lpt1	at isa? port? tty
device		lpt2	at isa? port? tty
X
device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr
device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
device is0 at isa? port 0x280 net irq 10 drq 7 vector isintr
X
pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	2
pseudo-device	pty	16
pseudo-device	speaker
X
pseudo-device	swappager
pseudo-device	vnodepager
pseudo-device	devpager
#device		pci0
device		pci1 at isa? bio irq 11 vector pciintr
device		ncr0
SHAR_EOF
chmod 0644 TYPICAL ||
echo 'restore of TYPICAL failed'
Wc_c="`wc -c < 'TYPICAL'`"
test 2867 -eq "$Wc_c" ||
	echo 'TYPICAL: original size 2867, current size' "$Wc_c"
fi
# ============= dmesg ==============
if test -f 'dmesg' -a X"$1" != X"-c"; then
	echo 'x - skipping dmesg (File already exists)'
else
echo 'x - extracting dmesg (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'dmesg' &&
FreeBSD 1.1.5(ALPHA) (GENERICNCR) #16: Tue Aug  2 06:41:57 MET DST 1994
X  mgr@kintaro.GUN.de:/usr/src/sys.FreeBSD-current/compile/GENERICNCR
CPU: i486DX (486-class CPU)  Id = 0x435  Origin = "GenuineIntel"
real memory  = 16384000 (4000 pages)
avail memory = 15196160 (3710 pages)
using 348 buffers containing 2854912 bytes of memory
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <4 virtual consoles>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 not found at 0x3e8
sio3 not found at 0x2e8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lpt1 not found at 0xffffffff
lpt2 not found at 0xffffffff
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: [0: fd0: 1.44MB 3.5in]
wdc0 not found at 0x1f0
wdc1 not found at 0x170
ahb0 not found
aha0 not found at 0x330
sea: Board type unknown at address 0xf00c8000
sea0 not found
wt0 not found at 0x300
mcd0 not found at 0x300
mcd1 not found at 0x340
ed0 not found at 0x280
ed1 not found at 0x300
ie0 not probed due to irq conflict with lpt0 at 7
is0 not found at 0x280
npx0 on motherboard
PCI configuration mode 2.
Scanning device 0..31 on pci bus 0..255 ($Revision: 2.0.0.4 $)
on pci0:0 INTEL CORPORATION 82424ZX cache dram controller [not supported]
on pci0:1 <ncr 53c810 scsi> irq a isa=0 [1] as ncr0
X          memory size=0x1000 virtual=0xf222a000 physical=0xc0000000
ncr0: restart (scsi reset).
ncr0 scanning for targets 0..6 ($Revision: 2.0.0.6 $0$)
ncr0 waiting for scsi devices to settle
ncr0 targ 0: asynchronous.
ncr0 targ 0 lun 0: type 0(direct) fixed SCSI2
ncr0 targ 0 lun 0: <DEC     DSP3107LS       X441>
sd0: 1021MB (2091144 total sec), 3117 cyl, 8 head, 83 sec, bytes/sec 512
ncr0 targ 4: asynchronous.
ncr0 targ 4 lun 0: type 5(readonly) removable SCSI2
ncr0 targ 4 lun 0: <TOSHIBA CD-ROM XM-4101TA0064>
ncr0 targ 4: opennings set to 0.
cd0: cd present.[320727 x 2048 byte records]
on pci0:2 INTEL CORPORATION 82378IB pci-isa bridge [not supported]
on pci0:6 MATROX, device=518 [not supported]
X	map(10): mem32(10000000)
pci uses physical addresses from c0000000 to c0001000
changing root device to sd0a
ncr0: please configure intr 11.
pid 71: sendmail: uid 0: exited on signal 8
uid 9 on /usr: file system full
SHAR_EOF
chmod 0644 dmesg ||
echo 'restore of dmesg failed'
Wc_c="`wc -c < 'dmesg'`"
test 2277 -eq "$Wc_c" ||
	echo 'dmesg: original size 2277, current size' "$Wc_c"
fi
exit 0