Subject: panic during boot after upgrading from 32 to 64 MB
To: None <port-i386@NetBSD.ORG>
From: Klaus Weber <gizmo@zork.north.de>
List: port-i386
Date: 11/12/1996 21:06:43
Hi,
I just tried to upgrade my machine from 32 to 64 MB, but I always get
a kernel panic during boot. I tried without EXTMEM_SIZE (as far as I
can tell, the BIOS reports the memorysize correctly) and with a kernel
with EXTMEM_SIZE set to 64512 (63 MB) as well as a kernel with
EXTMEM_SIZE=61440 (60 MB). All kernels panic during boot (at different
stages, though).
Hardware is a Gigabyte GA-586 HX board, 512 KB L2-cache, Pentium 133,
2x32MB PS/2 RAM (60 ns, EDO). Software is NetBSD 1.2 (config file is
appended at the end of this message). The machine works fine with
2x16MB PS/2 RAM (60 ns, FPM).
This trace is with EXTMEM_SIZE set to 61440 (handcopied to a piece of
paper and retyped later, so there may be typos):
---------------- trace -------------------
[other bootmessages]
starting rpc daemons: portmap mountd nfsdpanic: ptdi 20f063
stopped at _Debugger+0x4: leave
db> trace
_Debugger(f811fd00,f81af310,faff9e14,f82ee5d8,faff9e30) at _Debugger+0x4
_panic(f81af310,20f063,f82ee5d8,1000,f87b0f00) at _panic+0x3a
_pmap_enter(f81e63d4,fb000000,1a01000,7,1) at _pmap_enter+0x55
_vm_fault(f828b000,fb000000,7,1) at _vm_fault+0x8c2
_vm_fault_wire(f828b000,fafff000,fb001000,fafff000,f87e0200) at _vm_fault_wire+0x35
_vm_map_pageable(f828b000,fafff000,fb001000,0,f87e0900) at _vm_map_pageable+0x285
_vm_fork(f87e0200,f87e0900) at _vm_fork+0x89
_fork1(f87e0200,0,faff9f80,faff9fa8,f81b0fd4) at _fork1+0x37d
_sys_fork(f87e0200,faff9f88,faff9f80,0,1) at _sys_fork+0x10
_syscall() at _syscall+0x260
--- syscall (number 2) ---
0x257f:
db>
-------------- end of trace ----------------
This kernel always dies after the "nfsd" message.
With EXTMEM_SIZE=64512 the kernel dies earlier, it panics right after
printing the copyright message (I did not write down all the hex-numbers,
if you need them, just tell me):
----------------- trace --------------------
_Debugger
_panic
_pmap_enter
_vm_fault
_vm_fault_wire
_vm_map_pageable
_kmem_alloc
_pmap_init
_vm_mem_init
_main
-------------- end of trace ----------------
Is it possible that this is a hardware problem, eg. may the RAM be faulty?
The BIOS tests the RAM ok, and DOS' highmem.sys also finds no errors.
If you need any more info to find out what's wrong, please tell me. I
would really like to be able to use my new memory. :-<
Thanks in advance,
Klaus
--------------- config file ----------------
# ZORK
#
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 VM86 # Virtual 8086 emulation
# Some BIOSes don't get the size of extended memory right. If you
# have a broken BIOS, uncomment the following and set the value
# properly for your system.
options EXTMEM_SIZE=61440 # size of extended memory (60*1024)
# 640k + hole + 63M extended memory
options DUMMY_NOPS # speed hack; recommended
options XSERVER,UCONSOLE
options INSECURE # insecure; allow /dev/mem writing for X
options MACHINE_NONCONTIG
maxusers 32 # estimated number of users
options TIMEZONE=0 # 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
#makeoptions DEBUG="-g" # compile full symbol table
options DIAGNOSTIC # internal 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=4096 # 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_11 # NetBSD 1.1,
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 COMPAT_LINUX # binary compatibility with Linux
options COMPAT_FREEBSD # binary compatibility with FreeBSD
options USER_LDT # user-settable LDT; used by WINE
options LKM # loadable kernel modules
options FFS # UFS
options QUOTA # UFS 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 NULLFS # loopback file system
#options PORTAL # portal filesystem (still experimental)
options PROCFS # /proc
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 root on sd0a swap on sd1b and sd2b and sd3b
#options GENERIC
mainbus0 at root
isa0 at mainbus0
eisa0 at mainbus0
pci0 at mainbus0 bus ?
ppb* at pci? dev ? function ? # PCI-PCI bridges
pci* at ppb? bus ?
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
#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards
#com* at ast? slave ?
#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards
#com* at boca? slave ?
#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards
#com* at rtfps? slave ?
#cy0 at isa? ...
lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
lpt1 at isa? port 0x278
lpt2 at isa? port 0x3bc
lms0 at isa? port 0x23c irq 5 # Logitech bus mouse
lms1 at isa? port 0x238 irq 5
mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
mms1 at isa? port 0x238 irq 5
#pms0 at pckbd? irq 12 # PS/2 auxiliary port mouse
#aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI controllers
#aha1 at isa? port 0x334 irq ? drq ? # Adaptec 154[02] SCSI controllers
#scsibus* at aha?
#ahb* at eisa? slot ? # Adaptec 174[024] SCSI controllers
#scsibus* at ahb?
#ahc0 at isa? port ? irq ? # Adaptec 284x SCSI controllers
#ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI controllers
ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI controllers
scsibus* at ahc?
#aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI controllers
#scsibus* at aic?
#bt0 at isa? port 0x330 irq ? drq ? # BusLogic [57]4X SCSI controllers
#bt1 at isa? port 0x334 irq ? drq ? # BusLogic [57]4X SCSI controllers
#bt2 at isa? port ? irq ?
#scsibus* at bt?
#ncr* at pci? dev ? function ? # NCR 538XX SCSI controllers
#scsibus* at ncr?
#sea0 at isa? iomem 0xc8000 irq 5
#scsibus* at sea?
#uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI controllers
#uha1 at isa? port 0x334 irq ? drq ? # UltraStor [13]4f SCSI controllers
#uha2 at isa? port ? irq ? # UltraStor 24f SCSI controllers
#scsibus* at uha?
#wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers
#wds1 at isa? port 0x358 irq 11 drq 5
#scsibus* at wds?
sd0 at scsibus? target 0 lun ? # SCSI disk drives, unit 0
sd1 at scsibus? target 1 lun ? # SCSI disk, unit 1
sd2 at scsibus? target 2 lun ? # SCSI disk, unit 2
sd3 at scsibus? target 3 lun ? # SCSI disk, unit 3
sd* at scsibus? target ? lun ? # SCSI disk, other units
st* at scsibus? target ? lun ? # SCSI tape drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
ch* at scsibus? target ? lun ? # SCSI autochangers
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
#fdc1 at isa? port 0x370 irq ? drq ?
fd* at fdc? drive ?
#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives
#wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
#wdc1 at isa? port 0x170 irq ?
#wd* at wdc? drive ?
#wt0 at isa? port 0x300 irq 5 drq 1 # Archive and Wangtek QIC tape drives
ed0 at isa? port 0x280 iomem 0xd0000 irq 15 # WD/SMC, 3C503, and NE[12]000
#ed1 at isa? port 0x250 iomem 0xd8000 irq 9 # ethernet cards
#ed2 at isa? port 0x300 iomem 0xcc000 irq 10
#eg0 at isa? ... # 3C505 ethernet cards
#el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards
#ep0 at isa? port ? irq ? # 3C509 ethernet cards
#ie0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN and 3C507
#ie1 at isa? port 0x300 irq 10 # EtherExpress
#le0 at isa? port 0x320 irq 10 drq 7 # IsoLan, NE2100, and DEPCA
#ep* at eisa? slot ? # 3C579 ethernet cards
#fea* at eisa? slot ? # DEC DEFEA FDDI cards
#le* at pci? dev ? function ? # PCnet-PCI based ethernet cards
#de* at pci? dev ? function ? # DC21X4X-based ethernet cards
#ep* at pci? dev ? function ? # 3C590 ethernet cards
#fpa* at pci? dev ? function ? # DEC DEFPA FDDI cards
#pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System
#sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver
sb0 at isa? port 0x220 irq 5 drq 1 # SoundBlaster
#wss0 at isa? port 0x530 irq 10 drq 0 # Windows Sound System
#pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
#gus0 at isa? port 0x220 irq 7 drq 1 flags 6 # Gravis Ultra Sound (flags is record drq for full-duplex)
spkr0 at pckbd? port 0x61
# Joystick driver. Probe is a little strange; add only if you have one.
#joy0 at isa? port 0x201
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 64 # pseudo-terminals
pseudo-device tb 1 # tablet line discipline
pseudo-device vnd 4 # paging to files
pseudo-device ccd 4 # concatenated disk devices
-------------- end of config file ---------------