View Single Post
  #5   (View Single Post)  
Old 15th April 2012
raindog308 raindog308 is offline
Fdisk Soldier
 
Join Date: Sep 2011
Posts: 67
Default

I'm not sure I understand you about video memory.

That message about memory happens very early in boot:

Code:
rebooting...
OpenBSD 5.0 (GENERIC) #43: Wed Aug 17 10:10:52 MDT 2011
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: QEMU Virtual CPU version (cpu64-rhel6) ("GenuineIntel" 686-class) 3.70 GHz
cpu0: FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,MTRR,PGE,MCA,CMOV,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16
real mem  = 133742592 (127MB)
avail mem = 121569280 (115MB)
mainbus0 at root
The video is mentioned later:

Code:
vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
The 5.0 release uniprocessor kernel is just under 9MB as you suggest:

Code:
-rw-r--r--   1 root  wheel  8948527 Apr 14 22:58 bsd
But doesn't the kernel also take some space for its data structures, etc.?

Is there a command to see how much memory the running kernel uses? More for curiosity than anything else.
Reply With Quote