LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-16-2013, 05:24 AM   #1
kenw232
Member
 
Registered: May 2006
Posts: 141

Rep: Reputation: 12
Slackware 14.1 refuses to see over 3GB in Vmware ESX4?


Does anyone know why this might be? I'm booting Slackware 14.1 64bit with lilo in an ESX server (4.0.0 build 244038) and on bootup the virtual machine will never see more then 3GB.

loli.conf has append=" vt.default_utf8=0 mem=4096M" and the guest has been assigned 4GB of memory.

Code:
server(/etc): free -m
             total       used       free     shared    buffers     cached
Mem:          3014       2993         21          0         21        207
-/+ buffers/cache:       2764        250
Swap:         8451        219       8231
central(/usr/src/build/linux): dmesg | grep e820
[ 0.000000] e820: BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000ca000-0x00000000000cbfff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000dc000-0x00000000000e3fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000000e8000-0x00000000000fffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bfeeffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000bfef0000-0x00000000bfefefff] ACPI data
[ 0.000000] BIOS-e820: [mem 0x00000000bfeff000-0x00000000bfefffff] ACPI NVS
[ 0.000000] BIOS-e820: [mem 0x00000000bff00000-0x00000000bfffffff] usable
[ 0.000000] BIOS-e820: [mem 0x00000000e0000000-0x00000000efffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec0ffff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[ 0.000000] BIOS-e820: [mem 0x00000000fffe0000-0x00000000ffffffff] reserved
[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000013fffffff] usable
[ 0.000000] e820: remove [mem 0x100000000-0xfffffffffffffffe] usable
[ 0.000000] e820: user-defined physical RAM map:
[ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[ 0.000000] e820: last_pfn = 0xc0000 max_arch_pfn = 0x400000000
[ 0.000000] e820: update [mem 0xc0000000-0xffffffff] usable ==> reserved
[ 0.000000] e820: [mem 0xc0000000-0xdfffffff] available for PCI devices
[ 1.388842] e820: reserve RAM buffer [mem 0x0009f800-0x0009ffff]
[ 1.388844] e820: reserve RAM buffer [mem 0xbfef0000-0xbfffffff]
central(/usr/src/build/linux):


It is 64 bit:
server(/root): uname -m
x86_64

server(/root): file /sbin/init
/sbin/init: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), stripped

Last edited by kenw232; 12-16-2013 at 05:26 AM.
 
Old 12-16-2013, 05:46 PM   #2
regis_n_bits
Member
 
Registered: Mar 2006
Distribution: Slackware64-15.0
Posts: 103

Rep: Reputation: Disabled
For your ESX VM, is the Guest Operating System version set to "Other Linux (32-bit)", or any of the other 32-bit versions?

It should be set to something like "Other Linux (64-bit)".
 
Old 12-17-2013, 03:45 AM   #3
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Rep: Reputation: 165Reputation: 165
Hi kenw232

please refer, to the following document on the vmware forum

http://kb.vmware.com/selfservice/mic...rnalId=1014006

The expected memory is expected according to this document, look especially at the bottom.
 
Old 12-17-2013, 05:56 AM   #4
kenw232
Member
 
Registered: May 2006
Posts: 141

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by regis_n_bits View Post
For your ESX VM, is the Guest Operating System version set to "Other Linux (32-bit)", or any of the other 32-bit versions?

It should be set to something like "Other Linux (64-bit)".
This is the strange part. Its both. When the guest VM is off, it says "Other Linux (64-bit)". But when I turn it on after it boots up ESX actually switches it to Other 32 Bit with the 3MB memory limit. I have no idea why it does this switch. I'm running Kernel 3.10.18 - ESX simple doesn't support something that new? How do I force it to be 64 bit when running? I've attached a screenshot.
Attached Thumbnails
Click image for larger version

Name:	32bit.png
Views:	19
Size:	13.1 KB
ID:	14240  
 
Old 12-17-2013, 06:04 AM   #5
kenw232
Member
 
Registered: May 2006
Posts: 141

Original Poster
Rep: Reputation: 12
Quote:
Originally Posted by bartgymnast View Post
Hi kenw232

please refer, to the following document on the vmware forum

http://kb.vmware.com/selfservice/mic...rnalId=1014006

The expected memory is expected according to this document, look especially at the bottom.
Thanks for the link but I'm still confused. I'm running hardware version 7. I mean I can never have more then 3GB of memory for my VM even if I'm running hardware version 10 in ESX5? It even contradicts itself:

"With hardware version 7 and later, VMware products reserve 1 GB for PCI devices. As a result, all the memory specified in the virtual machine configuration is available to the guest operating system. Memory settings now specify the amount of memory available, not the highest address available as system RAM, which is now 1 GB higher for virtual machines with more than 3 GB of memory."
 
Old 12-17-2013, 09:21 AM   #6
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Rep: Reputation: 165Reputation: 165
kenw232, are you sure that your cpu supports 64bits.
and how many memory does your system has total.
If your system has total 4 GB ram, than yes it can never be more than 3 GB.

if your system has 8 GB ram, and your cpu supports 64bits, than from your 8 GB, 1 GB will be used for your PCI devices.
so if you create a guest OS with 8 GB RAM, you will only see 7 GB.
 
Old 12-17-2013, 10:52 AM   #7
kenw232
Member
 
Registered: May 2006
Posts: 141

Original Poster
Rep: Reputation: 12
yes, it is 64 bit as shown below. Like I said its an ESX server. It has 12GB of memory, I'm trying to allocate 4GB to the guest.

Code:
It is 64 bit:
server(/root): uname -m
x86_64

server(/root): file /sbin/init
/sbin/init: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), stripped

So if I assign 5GB to the guest it should then see 4GB? Is this what your saying by chance?
 
Old 12-17-2013, 03:08 PM   #8
regis_n_bits
Member
 
Registered: Mar 2006
Distribution: Slackware64-15.0
Posts: 103

Rep: Reputation: Disabled
Quote:
Originally Posted by kenw232 View Post
This is the strange part. Its both. When the guest VM is off, it says "Other Linux (64-bit)". But when I turn it on after it boots up ESX actually switches it to Other 32 Bit with the 3MB memory limit. I have no idea why it does this switch. I'm running Kernel 3.10.18 - ESX simple doesn't support something that new? How do I force it to be 64 bit when running? I've attached a screenshot.
You can't change the Guest OS version while the VM is running. I have never seen the Guest OS version change values when the VM is run. Could it be the VMware-tools that is doing that?

What is the output of the "uname -a" command in the guest OS?
 
Old 12-17-2013, 06:23 PM   #9
kenw232
Member
 
Registered: May 2006
Posts: 141

Original Poster
Rep: Reputation: 12
uname -a:
Linux server 3.10.18 #13 SMP Sat Dec 14 15:12:13 EST 2013 x86_64 Intel(R) Xeon(R) CPU E5520
 
Old 12-17-2013, 06:26 PM   #10
kenw232
Member
 
Registered: May 2006
Posts: 141

Original Poster
Rep: Reputation: 12
Even if vmware tools does change it, it still boots with dmesg showing it only sees 3GB before vmware tools is run. I'm going to try to assign 5GB to see what happens. Its a production machine so I cant do it now.
 
Old 12-18-2013, 05:33 AM   #11
kenw232
Member
 
Registered: May 2006
Posts: 141

Original Poster
Rep: Reputation: 12
That did it. I can't believe it. I had to assign the guest VM 5GB to see 4GB.

Code:
server(/temp): dmesg | grep Memory:
[    0.000000] Memory: 4050272k/5242880k available (5559k kernel code, 1050056k absent, 142552k reserved, 3304k data, 912k init)

server(/temp): free -m
             total       used       free     shared    buffers     cached
Mem:          3956       1641       2315          0         47        353
-/+ buffers/cache:       1239       2717
Swap:         8451          0       8451
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] reduce slackware 13.37 installation to 3gb? michaelinux Slackware 19 10-05-2011 06:24 PM
vmware workstation refuses to initialize.... rudrarajstays Linux - Virtualization and Cloud 4 03-03-2011 10:20 AM
VMware refuses to work anymore lucmove Slackware 16 11-06-2008 11:27 AM
Slackware can not detect 3GB memory. Wilson_Lee Slackware 10 07-17-2008 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration