Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 1997 16:26:49 +0000 (GMT)
From:      ringlord <ringlord@twc-online.com>
To:        freebsd-questions@freebsd.org
Subject:   Kernel and memory problems still there.
Message-ID:  <Pine.BSF.3.96.971212162311.7446A-100000@twc-online.com>

next in thread | raw e-mail | index | archive | help
Hello to all.
First off, I would like to thank those who responded to my question
yesterday regarding maxmem option in the kernel config file.
I have compiled a new kernel and all has gone well as far as the kernel is
concerned.
However, this strange memory reporting problem still is evident.
I am going to include some snips of my /var/log/messages file as well as
part of my kernel config file.
You will see that the memory is being reported differently between two
kernels.

Snip from var/log/messages

Dec 10 16:11:23 twc-online /kernel: Copyright (c) 1992-1997 FreeBSD Inc.
Dec 10 16:11:23 twc-online /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Dec 10 16:11:23 twc-online /kernel: 	The Regents of the University of California.  All rights reserved.
Dec 10 16:11:23 twc-online /kernel: 
Dec 10 16:11:23 twc-online /kernel: FreeBSD 2.2.5-RELEASE #0: Tue Oct 21 14:33:00 GMT 1997
Dec 10 16:11:23 twc-online /kernel:     jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC
Dec 10 16:11:23 twc-online /kernel: CPU: Pentium (120.27-MHz 586-class CPU)
Dec 10 16:11:24 twc-online /kernel:   Origin = "GenuineIntel"  Id = 0x526  Stepping=6
Dec 10 16:11:24 twc-online /kernel:   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
Dec 10 16:11:24 twc-online /kernel: real memory  = 134217728 (131072K bytes)
Dec 10 16:11:24 twc-online /kernel: avail memory = 127176704 (124196K bytes)
Dec 10 16:11:24 twc-online /kernel: Probing for devices on PCI bus 0:
Dec 10 16:11:24 twc-online /kernel: chip0 <Intel 82437VX PCI cache memory controller> rev 2 on pci0:0
Dec 10 16:11:24 twc-online /kernel: chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:7:0
Dec 10 16:11:24 twc-online /kernel: chip2 <Intel 82371SB IDE interface> rev 0 on pci0:7:1
Dec 10 16:11:24 twc-online /kernel: vga0 <VGA-compatible display device> rev 0 on pci0:14
Dec 10 16:11:24 twc-online /kernel: Probing for devices on the ISA bus:
Dec 10 16:11:24 twc-online /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Dec 10 16:11:24 twc-online /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
Dec 10 16:11:24 twc-online /kernel: ed0 not found at 0x280
Dec 12 02:13:49 twc-online /kernel: real memory  = 100663296 (98304K bytes)
Dec 12 02:13:49 twc-online /kernel: avail memory = 96980992 (94708K bytes)
Dec 12 02:13:49 twc-online /kernel: Probing for devices on the ISA bus:
Dec 12 02:13:49 twc-online /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Dec 12 02:13:49 twc-online /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
Dec 12 02:13:49 twc-online /kernel: ed0 at 0x300-0x31f irq 10 on isa
Dec 12 02:13:49 twc-online /kernel: ed0: address 00:00:21:00:00:78, type NE2000 (16 bit) 
Dec 12 02:13:50 twc-online /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Dec 12 02:13:50 twc-online /kernel: sio0: type 16550A
Dec 12 02:13:50 twc-online /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Dec 12 02:13:50 twc-online /kernel: sio1: type 16550A
Dec 12 02:13:50 twc-online /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Dec 12 02:13:50 twc-online /kernel: lpt0: Interrupt-driven port
Dec 12 02:13:50 twc-online /kernel: lp0: TCP/IP capable interface
Dec 12 02:13:50 twc-online /kernel: mse0 not found at 0x23c
Dec 12 02:13:50 twc-online /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Dec 12 02:13:50 twc-online /kernel: fdc0: FIFO enabled, 8 bytes threshold
Dec 12 02:13:50 twc-online /kernel: fd0: 1.44MB 3.5in
Dec 12 02:13:50 twc-online /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Dec 12 02:13:50 twc-online /kernel: wdc0: unit 0 (wd0): <FUJITSU M1624TAU>
Dec 12 02:13:50 twc-online /kernel: wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
Dec 12 02:13:50 twc-online /kernel: wdc0: unit 1 (atapi): <CD-516E/1.0C>, removable, accel, ovlap, dma, iordis
Dec 12 02:13:50 twc-online /kernel: wdc1 not found at 0x170
Dec 12 02:13:50 twc-online /kernel: npx0 flags 0x1 on motherboard
Dec 12 02:13:50 twc-online /kernel: npx0: INT 16 interface
Dec 12 02:13:52 twc-online lpd[149]: restarted
Dec 12 02:16:13 twc-online su: ringlord to root on /dev/ttyp0
Dec 12 02:24:20 twc-online su: ringlord to root on /dev/ttyp0
Dec 12 02:54:35 twc-online reboot: rebooted by ringlord
Dec 12 02:54:36 twc-online syslogd: exiting on signal 15
Dec 12 02:55:50 twc-online /kernel: Copyright (c) 1992-1997 FreeBSD Inc.
Dec 12 02:55:50 twc-online /kernel: Copyright (c) 1982, 1986, 1989, 1991, 1993
Dec 12 02:55:50 twc-online /kernel: 	The Regents of the University of California.  All rights reserved.
Dec 12 02:55:50 twc-online /kernel: 
Dec 12 02:55:50 twc-online /kernel: FreeBSD 2.2.5-RELEASE #0: Fri Dec 12 02:53:31 GMT 1997
Dec 12 02:55:50 twc-online /kernel:     ringlord@twc-online.com:/usr/src/sys/compile/TWCKERNEL
Dec 12 02:55:50 twc-online /kernel: CPU: Pentium (120.27-MHz 586-class CPU)
Dec 12 02:55:50 twc-online /kernel:   Origin = "GenuineIntel"  Id = 0x526  Stepping=6
Dec 12 02:55:50 twc-online /kernel:   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
Dec 12 02:55:50 twc-online /kernel: real memory  = 100663296 (98304K bytes)
Dec 12 02:55:50 twc-online /kernel: avail memory = 96980992 (94708K bytes)
Dec 12 02:55:50 twc-online /kernel: Probing for devices on the ISA bus:
Dec 12 02:55:50 twc-online /kernel: sc0 at 0x60-0x6f irq 1 on motherboard
Dec 12 02:55:50 twc-online /kernel: sc0: VGA color <16 virtual consoles, flags=0x0>
Dec 12 02:55:50 twc-online /kernel: ed0 at 0x300-0x31f irq 10 on isa
Dec 12 02:55:50 twc-online /kernel: ed0: address 00:00:21:00:00:78, type NE2000 (16 bit) 
Dec 12 02:55:50 twc-online /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa
Dec 12 02:55:51 twc-online /kernel: sio0: type 16550A
Dec 12 02:55:51 twc-online /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa
Dec 12 02:55:51 twc-online /kernel: sio1: type 16550A
Dec 12 02:55:51 twc-online /kernel: lpt0 at 0x378-0x37f irq 7 on isa
Dec 12 02:55:51 twc-online /kernel: lpt0: Interrupt-driven port
Dec 12 02:55:51 twc-online /kernel: lp0: TCP/IP capable interface
Dec 12 02:55:51 twc-online /kernel: mse0 not found at 0x23c
Dec 12 02:55:51 twc-online /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Dec 12 02:55:51 twc-online /kernel: fdc0: FIFO enabled, 8 bytes threshold
Dec 12 02:55:51 twc-online /kernel: fd0: 1.44MB 3.5in
Dec 12 02:55:51 twc-online /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Dec 12 02:55:51 twc-online /kernel: wdc0: unit 0 (wd0): <FUJITSU M1624TAU>
Dec 12 02:55:51 twc-online /kernel: wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S
Dec 12 02:55:51 twc-online /kernel: wdc0: unit 1 (atapi): <CD-516E/1.0C>, removable, accel, ovlap, dma, iordis
Dec 12 02:55:51 twc-online /kernel: wdc1 not found at 0x170
Dec 12 02:55:51 twc-online /kernel: npx0 flags 0x1 on motherboard
Dec 12 02:55:51 twc-online /kernel: npx0: INT 16 interface
Dec 12 02:55:53 twc-online lpd[121]: restarted
Dec 12 02:57:03 twc-online su: ringlord to root on /dev/ttyp0
Dec 12 03:05:33 twc-online su: ringlord to root on /dev/ttyp0



You will notice the different memory report totals here.
To make this even stranger, the reason I compiled the new kernel in the
first place was because after that first initial report of memory at the
top of this exerpt, the memory had been reported at just over 100 megs, it
is still doing that even with this new kernel.
Here is a part of my kernel config file..

cpu  "I586_CPU"
# pu		"I686_CPU"
ident		TWCKERNEL
maxusers	10

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options      "MAXMEM=131072"
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

config		kernel	root on wd0



Thanks to anyone who may be able to shead some light on this.
Jeremy





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971212162311.7446A-100000>