Subject: Incorrectly determined root partition in latest kernel
To: None <port-pmax@netbsd.org>
From: NetBSD Mailing list <netbsd@mrynet.com>
List: port-pmax
Date: 02/23/2000 10:12:45
I'm suddenly experiencing the following after sup'ing and rebuilding
my pmax machine's kernel (Yes, it was a 'make clean depend all' build):
NetBSD 1.4T (MRYMIPS) #77: Wed Feb 23 08:25:14 PST 2000
staylor@mod60:/usr/src/sys/arch/pmax/compile/MRYMIPS
DECstation 3100 (PMAX)
total memory = 16384 KB
avail memory = 13056 KB
using 230 buffers containing 920 KB of memory
mainbus0 (root)
cpu0 at mainbus0: MIPS R3000 CPU Rev. 2.0 with MIPS R3010 FPC Rev. 2.0
cpu0: 64KB Instruction, 64KB Data, direct mapped cache
ibus0 at mainbus0
pm0 at ibus0 addr 0xfc00000: 1024x864x8 console
dc0 at ibus0 addr 0x1c000000
le0 at ibus0 addr 0x18000000: address 08:00:2b:1a:8f:8f
le0: 32 receive buffers, 8 transmit buffers
le0: supplying EUI64: 08:00:2b:ff:fe:1a:8f:8f
sii0 at ibus0 addr 0x1a000000: target 6
mcclock0 at ibus0 addr 0x1d000000: mc146818 or compatible
Beginning old-style SCSI device autoconfiguration
rz0 at sii0 drive 0 slave 0 MICROP 1528-15MD1066701 rev DD24 (SCSI-1)
rz0: 1280MB, 2100 cyl, 15 head, 83 sec, 512 bytes/sect x 2621688 sectors
rz1 at sii0 drive 1 slave 0 DEC RZ23 (C) DEC rev 0A18 (SCSI-1)
rz1: 100MB, 776 cyl, 8 head, 33 sec, 512 bytes/sect x 204864 sectors
boot device: rz0
(1) root on rz0h dumps on rz0b
no file system for rz0 (dev 0xfff015ff)
cannot mount root, error = 79
(2) root device (default rz0h): rz0a
dump device (default rz0b):
file system (default generic):
root on rz0a dumps on rz0b
root file system type: ffs
Note that:
(1) rz0h ??? This should be the default of rz0a. This exact same
kernel config file was used to build 1.4S kernel as well as way back
to about 1.4M. (The config file is attached below for completeness
Just In Case)
(2) When prompted, typing in the correct 'rz0a' name for the root
partition does properly boot the correct and expected partition.
One last note, I also have seen sudden machine hangs with this kernel, and
therefore I have reverted back to the 1.4S kernel.
The config file used is attached below.
Regards,
-skots
--
Scott G. Akmentins-Taylor InterNet: staylor@mrynet.com
MRY Systems staylor@mrynet.lv
(Skots Gregorijs Akmentins-Teilors -- just call me "Skots")
----- Labak miris neka sarkans -----
=======================
#
# MRYMIPS -- Mrynet's MIPS DECstation 3100
#
include "arch/pmax/conf/std.pmax"
maxusers 64
options MIPS1 # R2000/R3000 CPUs
#options MIPS3 # R4000/R4400 CPUs
# Support for specific models of DECstation
options DEC_3100 # DECstation 2100, 3100 (kn01)
#options DEC_5100 # DECsystem 5100 (kn230)
#options DEC_3MAX # DECstation 5000/200 (kn02)
#options DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
#options DEC_MAXINE # Personal DECstation 5000/xx (kn02ca)
#options DEC_3MAXPLUS # DECstation 5000/240 (kn03), 5000/260 (kn05)
#options DEC_5400 # DECsystem 5400 (kn210)
#options DEC_5500 # DECsystem 5500 (kn220)
#options DEC_5800 # DECsystem 58x0 (kn5800)
# Standard system options
#options DDB # in-kernel debugger
#options DDB_HISTORY_SIZE=100 # enable history editing in DDB
#options DDB_ONPANIC=0 # don't enter debugger on panic
#options DIAGNOSTIC # extra kernel debugging checks
#options DEBUG # extra kernel debugging support
options "COMPAT_43" # compatibility with 4.3BSD binaries
#options KTRACE # system call tracing support
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 LKM # loadable kernel modules
options SCSIVERBOSE # Verbose SCSI errors
#Old 4.4bsd/pmax kgdb options
#options KGDB # support for kernel gdb
#options "KGDBRATE=19200" # kernel gdb port rate (default 9600)
#options "KGDBDEV=15*256+0" # device for kernel gdb
options NTP # network time protocol
#options UCONSOLE # users can redirect console (unsafe)
# Filesystem options
file-system FFS # fast filesystem with user and group quotas
#file-system MFS # memory-based filesystem
file-system NFS # Sun NFS-compatible filesystem (client)
#file-system LFS # Log-based filesystem (still experimental)
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system FDESC # /dev/fd
file-system KERNFS # /kern (kernel informational filesystem)
#file-system NULLFS # loopback file system
#file-system PORTAL # portal filesystem (still experimental)
file-system PROCFS # /proc
#file-system UMAPFS # NULLFS + uid and gid remapping
#file-system UNION
options NFSSERVER # Sun NFS-compatible filesystem (server)
#options QUOTA # UFS quotas
#options FFS_EI # FFS Endian Independant support
#options SOFTDEP # FFS soft updates support.
# Pull in config fragments for kernel crypto. This is required for
# options IPSEC etc. to work. If you want to run with IPSEC, uncomment
# one of these, based on whether you use crypto-us or crypto-intl, and
# adjust the prefixes as necessary.
#prefix ../crypto-us/sys
#cinclude "conf/files.crypto-us"
#prefix
#prefix ../crypto-intl/sys
#cinclude "conf/files.crypto-intl"
#prefix
# Networking options
options INET # Internet protocols
options INET6 # IPV6
#options IPSEC # IP security
#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
#options IPSEC_DEBUG # debug for IP security
options "TCP_COMPAT_42" # compatibility with 4.2BSD TCP/IP
options GATEWAY # IP packet forwarding
#options MROUTING # Multicast routing support
#options ISO # OSI networking
#options TPIP # TPIP
#options EON # OSI tunneling over IP
#options CCITT,LLC,HDLC # X.25
#options NETATALK # AppleTalk networking protocols
#options PPP_BSDCOMP # BSD-Compress compression support for PPP
#options PPP_DEFLATE # Deflate compression support for PPP
#options PPP_FILTER # Active filter support for PPP (requires bpf)
#options PFIL_HOOKS # pfil(9) packet filter hooks
options IPFILTER_LOG # ipmon(8) log support
# NetBSD backwards compatibility
#options COMPAT_10 # NetBSD 1.0, (needed for X on 386?)
#options COMPAT_11 # NetBSD 1.1,
options COMPAT_12 # Netbsd 1.2 reboot()
options COMPAT_13 # Netbsd 1.3
options COMPAT_14 # Netbsd 1.4
# Raster console options
options FONT_BOLD8x16 # Font for fb devices
options FONT_LUCIDA16x29 # Font for px devices
#options FONT_GALLANT12x22
#options FONT_QVSS8x15
# pmax specific
options COMPAT_ULTRIX # Ultrix compatibility
options EXEC_ECOFF # Ultrix RISC binaries are ECOFF format
options "HZ=256" # RTC rate required
options NFS_BOOT_DHCP # superset of BOOTP
config netbsd root on ? type ?
#config nfsnetbsd root on ? type nfs
mainbus0 at root
cpu* at mainbus0
## Peripheral Bus Support (for devices to attach to)
## ----------------------------------------------------------------------------
# TURBOchannel bus support
tc* at mainbus0
# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
#ioasic0 at tc?
#mcclock* at ioasic? offset ? # DS1287 RTC
#le* at ioasic? offset ? # LANCE
#scc* at ioasic? offset ? # Z85C30
##isdn at ioasic? offset ? # MAXINE ISDN/audio (not supported)
#dtop* at ioasic? offset ? # MAXINE kbd and mouse
##fdc at ioasic? offset ? # MAXINE floppy disk (not supported)
#asc* at ioasic? offset ? # NCR53C94 SCSI with IOASIC
# 3MAX has TURBOchannel but no IOASIC
#ibus0 at tc? slot ? offset ? # 3MAX system slot
# PMAX, 3MAX and MIPSMATE common devices
mcclock* at ibus0 addr ? # DS1287 RTC
dc* at ibus0 addr ? # DC7085 quad line serial device
# TURBOchannel devices
#mfb* at tc? slot ? offset ? # PMAG-A MX Monochrome Framebuffer
#cfb* at tc? slot ? offset ? # PMAG-B CX Color Framebuffer
##tfb* at tc? slot ? offset ? # PMAG-RO TX True Color Framebuffer
#sfb* at tc? slot ? offset ? # PMAGB-B HX Smart Framebuffer
#px0 at tc? slot ? offset ? # PMAG-C PX family
##sfbp* at tc? slot ? offset ? # PMAGD HX+ Smart Framebuffer
#xcfb* at tc? slot ? offset ? # PMAG-DV Color Framebuffer at MAXINE
#asc* at tc? slot ? offset ? # PMAZ-A single channel SCSI
#le* at tc? slot ? offset ? # PMAD-A LANCE
#fta* at tc? slot ? offset ? # PMAF-F FDDI
##tcds* at tc? slot ? offset ? # PMAZB/PMAZC dual channel SCSI
##asc* at tcds? chip ?
# PMAX and MIPSMATE
ibus0 at mainbus0
pm* at ibus0 addr ? # 3100 onboard fb
le* at ibus0 addr ? # 3100, 5100 onboard LANCE
sii* at ibus0 addr ? # DC7061 onboard SCSI
#########################################################################
# SCSI configuration #
#########################################################################
oldscsibus* at sii?
#oldscsibus* at asc?
#
# SCSI configuration for old 4.4bsd/pmax DECstation SCSI driver
#
include "arch/pmax/conf/scsi.pmax"
#include "arch/pmax/conf/mi.scsi" # not yet supported
#########################################################################
# Pseudo-devices #
#########################################################################
pseudo-device loop 1 # network loopback
#pseudo-device sl 4 # serial-line IP ports
#pseudo-device ppp 2 # serial-line IP ports
pseudo-device pty 32 # pseudo ptys
pseudo-device bpfilter 8 # packet filter ports
pseudo-device ipfilter # IP filter, NAT
#pseudo-device gre 2 # generic L3 over IP tunnel
pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device faith 1 # IPv[46] tcp relay translation i/f
pseudo-device vnd 4 # virtual disk ick
#pseudo-device ccd 4 # concatenated disks
#pseudo-device raid 4 # RAIDframe disk driver
pseudo-device rasterconsole 1 # NB: raster console requires "fb"
pseudo-device fb 3 # up to 3 framebuffers
pseudo-device rnd # /dev/random and in-kernel generator