Subject: VM problem?
To: None <port-i386@NetBSD.ORG>
From: Jorgen Pehrson <jp@spektr.ludvika.se>
List: port-i386
Date: 03/27/1998 09:57:37
Hi,
I have installed NetBSD 1.3 on a Compaq Prosignia 300. The kernel that I
got during the NetBSD install works fine but the kernel I have compiled
myself does not.
This machine has 48MB of RAM but the precompiled kernel only saw 16MB.
I then added the kernel option "Realext_mem" and now the kernel sees all
48MB during boot. But doing a "cat /kern/physmem" gives 12191.
I'm sure that this problem is the fault of Compaq and not NetBSD, but I
would like to be able to use all the RAM in this machine since it's going
to be a Samba server serving about 200-300 clients...
Now (with my new kernel) when I do a vmstat it says:
No drives attached.
time makes no sense; namelist must be wrong.
Iostat also says "No drives attached."
dmesg says "magic number incorrect".
If I do a "ps -aux" it has put all the processes in paranthesis and %Mem
column is "Inf" for all the processes.
Anyone know what could be wrong?
(Btw, I've downloaded the kernel source along with the install
packages last week from ftp.netbsd.org from the 1.3 tree somewhere.)
Thanks!
--
Jorgen Pehrson HP 9000/380 (NetBSD/hp300 1.3)
jp@spektr.ludvika.se DECstation 5000/200 (NetBSD/pmax 1.3)
http://spektr.ludvika.se/museum VAXstation 2000 (NetBSD/vax 1.3)
Here's my kernel configuration...
----- Included file: INFLU21 -----
# $NetBSD: GENERIC,v 1.114.2.8 1997/11/28 08:17:59 mellon Exp $
#
# GENERIC -- everything that's currently supported
#
include "arch/i386/conf/std.i386"
maxusers 32 # estimated number of users
# CPU support. At least one is REQUIRED.
options I586_CPU
# The following options override the memory sizes passed in from the boot
# block. Use them *only* if the boot block is unable to determine the correct
# values. Note that the BIOS may *correctly* report less than 640k of base
# memory if the extended BIOS data area is located at the top of base memory
# (as is the case on most recent systems).
options REALEXTMEM=48128 # size of extended memory
# Standard system options
options UCONSOLE # users can use TIOCCONS (for xconsole)
options INSECURE # disable kernel security levels
options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
options KTRACE # system call tracing via ktrace(1)
options SYSVMSG # System V-like message queues
options SYSVSEM # System V-like semaphores
options SYSVSHM # System V-like memory sharing
options LKM # loadable kernel modules
# Diagnostic/debugging support options
options DIAGNOSTIC # cheap kernel consistency checks
options KMEMSTATS # kernel memory statistics (vmstat -m)
options DDB # in-kernel debugger
# Compatibility options
options COMPAT_09 # NetBSD 0.9,
options COMPAT_10 # NetBSD 1.0,
options COMPAT_11 # NetBSD 1.1,
options COMPAT_12 # NetBSD 1.2,
options COMPAT_LINUX # binary compatibility with Linux
# Executable format options
options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux)
# File systems
file-system FFS # UFS
file-system NFS # Network File System client
file-system CD9660 # ISO 9660 + Rock Ridge file system
file-system FDESC # /dev/fd
file-system KERNFS # /kern
file-system PROCFS # /proc
# File system options
options QUOTA # UFS quotas
options NFSSERVER # Network File System server
options FIFO # FIFOs; RECOMMENDED
# Networking options
options INET # IP + ICMP + TCP + UDP
options ISO,TPIP # OSI
options EON # OSI tunneling over IP
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
options EISAVERBOSE # verbose EISA device autoconfig messages
options PCIVERBOSE # verbose PCI device autoconfig messages
options SCSIVERBOSE # human readable SCSI error messages
# Kernel root file system and dump configuration.
config netbsd root on ? type ?
#
# Device configuration
#
mainbus0 at root
# Basic Bus Support
# PCI bus support
pci* at mainbus? bus ?
# EISA bus support
eisa* at mainbus?
# ISA bus support
isa* at mainbus?
# Coprocessor Support
# Math Coprocessor support
npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor
# Console Devices
# ISA console. You can only configure one of these!
pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver
# Serial Devices
# PCI serial interfaces
# ISA Plug-and-Play serial interfaces
# ISA serial interfaces
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
# Parallel Printer Interfaces
# ISA parallel printer interfaces
lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports
# SCSI Controllers and Devices
# PCI SCSI controllers
ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI
# EISA SCSI controllers
ahb* at eisa? slot ? # Adaptec 174[02] SCSI
ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI
# ISA SCSI controllers
aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI
aha1 at isa? port 0x334 irq ? drq ?
ahc0 at isa? port ? irq ? # Adaptec 284x SCSI
aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI
# SCSI bus support
scsibus* at aha?
scsibus* at ahb?
scsibus* at ahc?
scsibus* at aic?
# SCSI devices
sd* at scsibus? target ? lun ? # SCSI disk drives
st* at scsibus? target ? lun ? # SCSI tape drives
cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
A
# Miscellaneous mass storage devices
# ISA floppy
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
fd* at fdc? drive ? # the drives themselves
# Network Interfaces
# PCI network interfaces
ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet
fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
le* at pci? dev ? function ? # PCnet-PCI Ethernet
ne* at pci? dev ? function ? # NE2000-compatible Ethernet
# EISA network interfaces
ep* at eisa? slot ? # 3Com 3c579 Ethernet
# ISA Plug-and-Play network interfaces
# PCMCIA network interfaces
# ISA network interfaces
ep0 at isa? port ? irq ? # 3C509 ethernet cards
# MII bus support
# MII PHY network interfaces
# Mice
# ISA busmice
#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
# Pull in optional local configuration
include "arch/i386/conf/GENERIC.local"
# Pseudo-Devices
# disk/mass storage pseudo-devices
pseudo-device ccd 4 # concatenated/striped disk devices
# network pseudo-devices
pseudo-device loop # network loopback
# miscellaneous pseudo-devices
pseudo-device pty 64 # pseudo-terminals