DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th May 2009
jrs jrs is offline
New User
 
Join Date: May 2009
Posts: 4
Thanked 0 Times in 0 Posts
Default Memory Not Detected

Installed OpenBSD 4.5 (AMD64) on new Dell Poweredge r300 server with 24GB memory. Only 2GB is beign detected. How do I tell Open BSD about the other 22GB?

I assume I need to use AMD64 as i386 will be limited to 4GB RAM?

Dmesg
------

OpenBSD 4.5 (GENERIC.MP) #2133: Sat Feb 28 15:02:16 MST 2009
deraadt@amd64.openbsd.org:/usr/src/s...ile/GENERIC.MP
real mem = 2140798976 (2041MB)
avail mem = 2066849792 (1971MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x7fb9c000 (55 entries)
bios0: vendor Dell Inc. version "1.3.0" date 08/15/2008
bios0: Dell Inc. PowerEdge R300
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT EINJ TCPA
acpi0: wakeup devices PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E3113 @ 3.00GHz, 3000.39 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE, SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 333MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Xeon(R) CPU E3113 @ 3.00GHz, 3000.00 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,P GE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE, SSE2,SS,HTT,TM,SBF,S
SE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG
cpu1: 6MB 64b/line 16-way L2 cache
ioapic0 at mainbus0 apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (PEX4)
acpiprt2 at acpi0: bus 7 (PEX6)
acpiprt3 at acpi0: bus 1 (SBE4)
acpiprt4 at acpi0: bus 2 (SBE5)
acpiprt5 at acpi0: bus 10 (COMP)
acpicpu0 at acpi0: C3
acpicpu1 at acpi0: C3
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "Intel 5100 Host" rev 0x90
ppb0 at pci0 dev 2 function 0 "Intel 5100 PCIE" rev 0x90
pci1 at ppb0 bus 3
ppb1 at pci0 dev 3 function 0 "Intel 5100 PCIE" rev 0x90
pci2 at ppb1 bus 4
ppb2 at pci0 dev 4 function 0 "Intel 5100 PCIE" rev 0x90: apic 2 int 16 (irq 0)
pci3 at ppb2 bus 5
mpi0 at pci3 dev 0 function 0 "Symbios Logic SAS1068E" rev 0x08: apic 2 int 16 (irq 15)
scsibus0 at mpi0: 112 targets
sd0 at scsibus0 targ 0 lun 0: <Dell, VIRTUAL DISK, 1028> SCSI3 0/direct fixed
sd0: 476416MB, 512 bytes/sec, 975699968 sec total
ses0 at scsibus0 targ 8 lun 0: <DP, BACKPLANE, 1.05> SCSI3 13/enclosure services fixed
ppb3 at pci0 dev 5 function 0 "Intel 5100 PCIE" rev 0x90
pci4 at ppb3 bus 6
ppb4 at pci0 dev 6 function 0 "Intel 5100 PCIE" rev 0x90: apic 2 int 16 (irq 0)
pci5 at ppb4 bus 7
ppb5 at pci0 dev 7 function 0 "Intel 5100 PCIE" rev 0x90
pci6 at ppb5 bus 8
pchb1 at pci0 dev 16 function 0 "Intel 5100 FSB" rev 0x90
pchb2 at pci0 dev 16 function 1 "Intel 5100 FSB" rev 0x90
pchb3 at pci0 dev 16 function 2 "Intel 5100 FSB" rev 0x90
pchb4 at pci0 dev 17 function 0 "Intel 5100 Reserved" rev 0x90
pchb5 at pci0 dev 19 function 0 "Intel 5100 Reserved" rev 0x90
pchb6 at pci0 dev 21 function 0 "Intel 5100 DDR" rev 0x90
pchb7 at pci0 dev 22 function 0 "Intel 5100 DDR" rev 0x90
ppb6 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02
pci7 at ppb6 bus 9
ppb7 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02
pci8 at ppb7 bus 1
bge0 at pci8 dev 0 function 0 "Broadcom BCM5722" rev 0x00, BCM5755 C0 (0xa200): apic 2 int 16 (irq 15), address 00:22:19:cd:0e
:14
brgphy0 at bge0 phy 1: BCM5722 10/100/1000baseT PHY, rev. 0
ppb8 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x02
pci9 at ppb8 bus 2
bge1 at pci9 dev 0 function 0 "Broadcom BCM5722" rev 0x00, BCM5755 C0 (0xa200): apic 2 int 17 (irq 14), address 00:22:19:cd:0e
:15
brgphy1 at bge1 phy 1: BCM5722 10/100/1000baseT PHY, rev. 0
uhci0 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 2 int 21 (irq 11)
uhci1 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 2 int 20 (irq 10)
uhci2 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 2 int 21 (irq 11)
ehci0 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 2 int 21 (irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb9 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92
pci10 at ppb9 bus 10
vga1 at pci10 dev 7 function 0 "ATI ES1000" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 2 int 19 (irq 6)
drm0 at radeondrm0
pcib0 at pci0 dev 31 function 0 "Intel 82801IR LPC" rev 0x02
pciide0 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured
to native-PCI
pciide0: using apic 2 int 23 (irq 6) for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, CDRW/DVD GCCT20N, A103> ATAPI 5/cdrom removable
cd0(pciide0:0:1): using PIO mode 4
pciide1 at pci0 dev 31 function 5 "Intel 82801I SATA" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1 wired to native-
PCI
pciide1: using apic 2 int 22 (irq 5) for native-PCI interrupt
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
mtrr: Pentium Pro MTRR support
uhub4 at uhub0 port 5 "Cypress Semiconductor USB2 Hub" rev 2.00/90.15 addr 2
uhidev0 at uhub2 port 1 configuration 1 interface 0 "Dell Dell QuietKey Keyboard" rev 1.10/1.55 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
Reply With Quote
  #2   (View Single Post)  
Old 19th May 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,830
Thanked 214 Times in 189 Posts
Default

i386 is limited to 3GB. amd64 is limited to 4GB by default, unless "bigmem" support is enabled in a custom kernel. (This is not a tweakable setting, one must set the variable bigmem=1 in src/sys/arch/amd64/amd64/machdep.c.) I don't know why you're seeing only 2GB. The larger memory support is not enabled by default, as it has problems:

http://marc.info/?l=openbsd-misc&m=122436208901536&w=2
Reply With Quote
  #3   (View Single Post)  
Old 19th May 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

There are also some additional restrictions that prevent processes from utilizing as much memory as the architecture supports.

First of all, the default class in /etc/login.conf sets some restrictions on the size of the data and stack regions for a process.

Further more hard coded VM restrictions are defined in /usr/src/sys/arch/`uname -m`/include/vmparam.h

MAXDSIZ is around 8GB on amd64, but it's only around 1GB on i386.
MAXSSIZ seems to be around 32MB on both amd64 and i386.

Being aware of these limitations is important, changing them would require modifying the kernel.. which would leave you with an unsupported system.
Reply With Quote
  #4   (View Single Post)  
Old 19th May 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,830
Thanked 214 Times in 189 Posts
Default

Actually, enabling bigmem would also be unsupported. The CVS log for rev 1.82 of src/sys/arch/amd64/amd64/machdep.c says:
Quote:
Nuke bigmem for release, still has issues.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition(s) present but not detected after panic jb_daefo FreeBSD General 0 29th May 2009 07:01 PM
What's the difference between these two memory modules? Carpetsmoker General Hardware 2 25th November 2008 03:13 PM
KDE4 uses a lot of memory... mdh FreeBSD General 6 21st October 2008 06:21 AM
dwindling memory chavez243 FreeBSD General 15 26th August 2008 04:06 PM
Memory cache graudeejs FreeBSD General 3 9th July 2008 03:27 AM


All times are GMT. The time now is 08:40 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick