Subject: Re: Problems with -current config
To: None <netbsd-help@sun-lamp.cs.berkeley.edu>
From: Brian de Alwis <bsdealwi@undergrad.math.uwaterloo.ca>
List: netbsd-help
Date: 12/10/1994 18:15:47
Firstly, one small comment: shouldn't the pcvt termcap entry have
a line-number entry? By default, pcvt has 25 lines, but it's
termcap :tc=:'s the vt100 entry, which has 24 lines.
Now, to recap the problem from my previous message... I am
trying to get the tar_files's latest kernel up and running.
I've got it compiled, and it loads and autoconfig's. If I let
it run in multi-user mode, it reboots immediately. If I start
in single-user mode, init will prompt me for the shell to be
run - but if I press enter or enter /bin/sh, the machine will
reboot. These reboots do _not_ put me into ddb. And I do have
COMPAT_10 set (my config.new file follows at the end of this
message).
Now, the GENERIC config.new file has the following lines:
----------------------
isa0 at root
eisa0 at root
pci0 at root
----------------------
But when I try that, make complains about a missing eisa_machdep.c
file. So I've commented eisa0 and pci0 out, which shouldn't matter,
since I only have an eisa bus.
I have been able to get /bin/csh loaded (the ignominy!) from init's
singleuser prompt, and can even to type a few characters to csh, but
the kernel vm_faults seconds afterwards with this:
----------------------
vm_fault(f8190474,0,1,0) -> 5
kernel: pagefault trap, code=0
----------------------
which sends me to ddb. When I do a `ps' from ddb, I get:
----------------------
pid proc addr uid ppid pgrp flag stat em comm wchan
3 f8688a00 f97ff000 0 1 3 004086 3 0 csh ttyin f8650a00
2 f8684000 f97fc000 0 0 0 000204 3 0 pagedaemon thrd_sleep f889044c
1 f8684200 f97f8000 0 0 1 004084 3 0 init wait f8684200
0 f8197a28 f81b1000 0 -1 0 000204 2 0 swapper
----------------------
and there are a few messages about getting a trap in ddb.
Does this give anybody a clue yet?
Here is my config.new: DUMMY_NOPS doesn't make a difference.
----------------------
machine i386 # architecture, used by config; REQUIRED
options I386_CPU # CPU classes; at least one is REQUIRED
options I486_CPU
options I586_CPU
#options MATH_EMULATE # floating point emulation
options DUMMY_NOPS # speed hack; recommanded
options XSERVER,UCONSOLE
options MACHINE_NONCONTIG
maxusers 6 # estimated number of users
options TIMEZONE=5 # time zone to adjust RTC time by
options DST=0 # daylight savings time used by RTC
options SWAPPAGER # paging; REQUIRED
options VNODEPAGER # mmap() of files
options DEVPAGER # mmap() of devices
options DDB # in-kernel debugger
options DIAGNOSTIC # internally consistency checks
options KTRACE # system call tracing, a la ktrace(1)
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
options SYSVSHM # System V-like memory sharing
#options SHMMAXPGS=1024 # 1024 pages is the default
options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8,
options COMPAT_09 # NetBSD 0.9,
options COMPAT_10 # NetBSD 1.0,
options COMPAT_43 # and 4.3BSD
options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD
options COMPAT_SVR4 # binary compatibility with SVR4
#options COMPAT_IBCS2 # binary compatibility with SCO and ISC
options USER_LDT # user-settable LDT; used by WINE
options LKM # loadable kernel modules
options FFS # UFS
#options FFS,QUOTA # UFS and quotas
options LFS # log-structured file system
options MFS # memory file system
#options NFSCLIENT # Network File System client
#options NFSSERVER # Network File System server
#options CD9660 # ISO 9660 + Rock Ridge file system
options MSDOSFS # MS-DOS file system
options FDESC # /dev/fd
options FIFO # FIFOs; RECOMMENDED
options KERNFS # /kern
options PROCFS # /proc
#options NULLFS # loopback file system
#options PORTAL # ?
#options UMAPFS # NULLFS + uid and gid remapping
#options UNION # union file system
#options GATEWAY # packet forwarding
options INET # IP + ICMP + TCP + UDP
#options NS # XNS
#options ISO,TPIP # OSI
#options EON # OSI tunneling over IP
#options CCITT,LLC,HDLC # X.25
config netbsd swap generic
options GENERIC
isa0 at root
#eisa0 at root
#pci0 at root
npx0 at isa? port 0xf0 irq 13 # math coprocessor
#pc0 at isa? port 0x60 irq 1 # generic PC console device
vt0 at isa? port 0x60 irq 1
com0 at isa? port 0x3f8 irq 4 # standard PC serial ports
com1 at isa? port 0x2f8 irq 3
#com2 at isa? port 0x3e8 irq 5
#com3 at isa? port 0x2e8 irq 9
lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
#lpt1 at isa? port 0x278
#lpt2 at isa? port 0x3bc
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
#fdc1 at isa? port 0x370 irq ? drq ?
fd* at fdc? drive ?
wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
#wdc1 at isa? port 0x170 irq ?
wd* at wdc? drive ?
mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
sb0 at isa? port 0x220 irq 7 drq 1 # SoundBlaster
#spkr0 at isa? ...
pseudo-device loop 1 # network loopback
#pseudo-device bpfilter 8 # packet filter
#pseudo-device sl 2 # CSLIP
#pseudo-device ppp 2 # PPP
#pseudo-device tun 2 # network tunneling over tty
pseudo-device pty 32 # pseudo-terminals
#pseudo-device vn 4 # paging to files
----------------------
--
Brian de Alwis - University of Waterloo: bsdealwis@undergrad.math.uwaterloo.ca
"Democracy means simply the bludgeoning of the people | NetBSD - Try it!
by the people for the people." -- Oscar Wilde | You'll like it!