You are not logged in.

#1 2006-05-31 23:18:47

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Detected 884MB/1GB RAM

For some reason.. i just noticed.. that linux only detected 884MB of ram (cedega detected this, and gnome-system-monitor..)

Could it be a kernel flag I didn't turn on?


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#2 2006-06-01 06:01:53

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: Detected 884MB/1GB RAM

HIGHMEM ?

Offline

#3 2006-06-01 10:11:08

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Detected 884MB/1GB RAM

Is compiled into the stock kernel isn't it?

Offline

#4 2006-06-01 10:37:41

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: Detected 884MB/1GB RAM

Gullible Jones wrote:

Is compiled into the stock kernel isn't it?

Yes, but I assumed hed had a custom kernel.

Offline

#5 2006-06-01 10:42:04

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Detected 884MB/1GB RAM

Gullible Jones wrote:

Is compiled into the stock kernel isn't it?

yes, support for up to 4gb

Offline

#6 2006-06-01 17:43:03

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: Detected 884MB/1GB RAM

I dont need HIGHMEM thats 4gb+ and I only have 1 and yes I have a custom kernel (2.6.16.16 .. dont feel like updating to 19 yet tongue)


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#7 2006-06-01 17:51:38

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: Detected 884MB/1GB RAM

If I'm not wrong you need HIGHMEM even with 1gb memory, don't know the exact limit.

Offline

#8 2006-06-01 18:12:59

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: Detected 884MB/1GB RAM

If you have only 1GB, you should go with lowmem. In order to use your full ram you just need a proper kernel patch in order to use 1GB of ram in lowmem. When the patch is applied, you have a corresponding option in kernel compilation. The patch is surely included in Con Kolivas' patchset (then, if you use abs to compile your kernel, in ck kernel in the community repo and in the beyond kernel in the extra repo).


Mortuus in anima, curam gero cutis

Offline

#9 2006-06-01 18:17:49

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: Detected 884MB/1GB RAM

No, sorry, I was wrong. The patch is actually included in vanilla kernel, thus you need no further patch.
In the submenu Processor Type and Features, look for High Memory Support. You can say 'no' there. Then select the submenu below 'Memory Split'. Here you need to select '3G/1G kernel/user split (for full 1G low memory)' and you are done.


Mortuus in anima, curam gero cutis

Offline

#10 2006-06-01 19:44:19

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: Detected 884MB/1GB RAM

3G/1G split is for machines with 4GBs of ram and it allows the kernel to allocate 3gbs of that memory and 1gb for userspace im pretty sure


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#11 2006-06-01 19:44:24

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Detected 884MB/1GB RAM

You could as well use the Arch stock kernel, it should have all you need.

Offline

#12 2006-06-01 19:48:41

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: Detected 884MB/1GB RAM

I dont like it cause its wayy too bloated tongue.. too many modules.. etc (waste of hd space and ram)

however i think i figured this out

its already set at 3g/1g but this makes 128mb highram if its set at 2g/2g then its all in the low memory but i read there could be a problem if its 2g/2g with modules

http://kerneltrap.org/node/6067/print

Selecting a 2G/2G split will make all of memory available as low memory. Note that this will make your kernel incompatible with binary only kernel modules.

UPDATE: just updated to 2.6.16.19 and changed from 3g/1g to 3g/1g (full 1gb low mem) and now it detects the 1016mb wink.. no problems with modules either i dont think


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#13 2006-06-02 01:27:06

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Detected 884MB/1GB RAM

russianpirate wrote:

I dont like it cause its wayy too bloated tongue.. too many modules.. etc (waste of hd space and ram)

please look at the documentation for mkinitrd on the wiki, which tells you how to stop these loading. As for hdd space, the modules as a total only take 36mb -- chances are your custom kernel isnt using a lot less unless you have spent the time stripping it right back

James

Offline

#14 2006-06-02 01:52:02

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: Detected 884MB/1GB RAM

Lol my modules are 966kb plus 5mb nvidia driver.. so 6mb tongue a lott less.. basically i removed all the modules cause i dont need any.. i only enabled iptables as modules and some of the devices like sound and stuff

I might switch to kernel26-beyond or kernel26 just cause its easier to update and also the new nvidia driver wants kernel26??.. weird.. so i had to change the pkgbuild in /var/lib/pacman/extra.. cause i dont feel like installing kernel26 right now lol


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#15 2006-06-02 02:36:20

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Detected 884MB/1GB RAM

russianpirate wrote:

I might switch to kernel26-beyond or kernel26 just cause its easier to update and also the new nvidia driver wants kernel26??.. weird.. so i had to change the pkgbuild in /var/lib/pacman/extra.. cause i dont feel like installing kernel26 right now lol

well, logic says that a kernel module depends on a kernel. see the news about the new one here: http://archlinux.org/news.php#238

James

Offline

#16 2006-06-02 03:06:54

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: Detected 884MB/1GB RAM

okay now i decided to make my own pkgbuild for the kernel and use my own config file so now it thinks i have kernel26 which i did.. where should i keep the pkgbuild file? home? /var/abs?


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#17 2006-06-02 08:52:00

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Detected 884MB/1GB RAM

russianpirate wrote:

okay now i decided to make my own pkgbuild for the kernel and use my own config file so now it thinks i have kernel26 which i did.. where should i keep the pkgbuild file? home? /var/abs?

You shouldn't do that. You should instead rename it to kernel26-custom or any other name that you like. Calling it kernel26 will trick pacman in installing kernel modules (like nvidia) that are not compatible with your kernel.

Offline

#18 2006-06-02 08:57:39

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Detected 884MB/1GB RAM

russianpirate wrote:

I dont like it cause its wayy too bloated tongue.. too many modules.. etc (waste of hd space and ram)

however i think i figured this out

its already set at 3g/1g but this makes 128mb highram if its set at 2g/2g then its all in the low memory but i read there could be a problem if its 2g/2g with modules

http://kerneltrap.org/node/6067/print

Selecting a 2G/2G split will make all of memory available as low memory. Note that this will make your kernel incompatible with binary only kernel modules.

UPDATE: just updated to 2.6.16.19 and changed from 3g/1g to 3g/1g (full 1gb low mem) and now it detects the 1016mb wink.. no problems with modules either i dont think

Hope you don't use programs like VMWare or valgrind. I used this option even before it was included in the vanilla kernels, but it broke valgrind, so I switched to the normal option again and enabled highmem. This could also break AGP DMA usage with some videodrivers when using X.Org.

Offline

#19 2006-06-02 09:24:31

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: Detected 884MB/1GB RAM

brain0, thats what my plan was lol..

anyway with all the trouble i got.. i just decieded to compile kernel26beyond and thats it.. no customization.. i just changed makepkg.conf CHOST, etc. to athlon so that should help a little


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

Board footer

Powered by FluxBB