linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] highmem support in 2.4 (2.4.26-1)
@ 2004-06-24 23:12 D. Bahi
  2004-06-25 17:46 ` BlaisorBlade
  0 siblings, 1 reply; 3+ messages in thread
From: D. Bahi @ 2004-06-24 23:12 UTC (permalink / raw)
  To: user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 1765 bytes --]

hello UMLers

i uml launch a guest with "mem=1024M" 
and i see "CONFIG_HIGHMEM not enabled".
so i "make ARCH=um xconfig" to enable it
and rebuild.

i no longer see "CONFIG_HIGHMEM not enabled"
but i still see "Memory: 460188k available"
which makes me think i'm missing something.

clues or outright help appreciated?

db

w/o CONFIG_HIGHMEM:

Checking for the skas3 patch in the host...found
Checking for /proc/mm...found
CONFIG_HIGHMEM not enabled - physical memory shrunk to 499122176 bytes
Kernel virtual memory size shrunk to 32505856 bytes
Checking for /dev/anon on the host...Not available (open failed with
errno 2)
Linux version 2.4.26-1um (user@host) (gcc version 3.3.1) #1 Mon Jun 14
16:07:12 EDT 2004
On node 0 totalpages: 121856
zone(0): 121856 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: umid=uml
ubd0=/local/target0/cowthis,/misc/cctools/target0/images/root_fs_mv31
hostfs=/local/target0/s1/hostfs/chassis[box].cm[cm1] mem=1024M
root=/dev/ubd0
Calibrating delay loop... 3355.44 BogoMIPS
Memory: 474328k available

w/ CONFIG_HIGHMEM:

Checking for the skas3 patch in the host...found
Checking for /proc/mm...found
Kernel virtual memory size shrunk to 32505856 bytes
Checking for /dev/anon on the host...Not available (open failed with
errno 2)
Linux version 2.4.226-1um (user@host) (gcc version 3.3.1) #3 Thu Jun 24
18:58:57 EDT 2004
On node 0 totalpages: 262144
zone(0): 121856 pages.
zone(1): 0 pages.
zone(2): 140288 pages.
Kernel command line: umid=uml
ubd0=/local/target0/cowthis,/misc/cctools/target0/images/root_fs_mv31
hostfs=/local/target0/s1/hostfs/chassis[box].cm[cm1] mem=1024M
root=/dev/ubd0
Calibrating delay loop... 3656.90 BogoMIPS
Memory: 460188k available


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [uml-devel] highmem support in 2.4 (2.4.26-1)
  2004-06-24 23:12 [uml-devel] highmem support in 2.4 (2.4.26-1) D. Bahi
@ 2004-06-25 17:46 ` BlaisorBlade
  2004-06-26  6:21   ` Trent Lloyd
  0 siblings, 1 reply; 3+ messages in thread
From: BlaisorBlade @ 2004-06-25 17:46 UTC (permalink / raw)
  To: D. Bahi, user-mode-linux-devel

Alle 01:12, venerdì 25 giugno 2004, D. Bahi ha scritto:
> hello UMLers
>
> i uml launch a guest with "mem=1024M"
> and i see "CONFIG_HIGHMEM not enabled".
> so i "make ARCH=um xconfig" to enable it
> and rebuild.
>
> i no longer see "CONFIG_HIGHMEM not enabled"
> but i still see "Memory: 460188k available"
> which makes me think i'm missing something.

That support could be broken. I don't think you can have done anything wrong 
(no configuration error possible; double-check that CONFIG_HIGHMEM = y in the 
.config, but you cannot have missed anything else).

But there could be some strange host configuration: what is your distro? Have 
you enabled exec-shield (which is enabled by default on Fedora and RedHat 9?

I think that the message could be wrong; could you check with the "free" 
command inside the UML?

See the explainations:

> w/o CONFIG_HIGHMEM:

>CONFIG_HIGHMEM not enabled - physical memory shrunk to 499122176 bytes
>Kernel virtual memory size shrunk to 32505856 bytes

> On node 0 totalpages: 121856
> zone(0): 121856 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.

I.e. there are some pages (each one is 4k) in the zone 0 (normal).

> Memory: 474328k available


> w/ CONFIG_HIGHMEM:

> Kernel virtual memory size shrunk to 32 505 856 bytes

This is unrelated, but strange: is the kernel going to use just 32 Mega (in 
both cases) for itself?

> On node 0 totalpages: 262144
> zone(0): 121856 pages.
> zone(1): 0 pages.
> zone(2): 140288 pages.

I.e. there are those pages in the normal zone plus some more ones in the zone 
2, i.e. (IIRC) the HIGHMEM zone. So HIGHMEM seems to work, at least 
partially.

> Memory: 460188k available

Bye
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [uml-devel] highmem support in 2.4 (2.4.26-1)
  2004-06-25 17:46 ` BlaisorBlade
@ 2004-06-26  6:21   ` Trent Lloyd
  0 siblings, 0 replies; 3+ messages in thread
From: Trent Lloyd @ 2004-06-26  6:21 UTC (permalink / raw)
  To: user-mode-linux-devel

In 2.6.6, with HIGHMEM support on my kernel fails to build

On Fri, Jun 25, 2004 at 07:46:17PM +0200, BlaisorBlade wrote:
> Alle 01:12, venerd? 25 giugno 2004, D. Bahi ha scritto:
> > hello UMLers
> >
> > i uml launch a guest with "mem=1024M"
> > and i see "CONFIG_HIGHMEM not enabled".
> > so i "make ARCH=um xconfig" to enable it
> > and rebuild.
> >
> > i no longer see "CONFIG_HIGHMEM not enabled"
> > but i still see "Memory: 460188k available"
> > which makes me think i'm missing something.
> 
> That support could be broken. I don't think you can have done anything wrong 
> (no configuration error possible; double-check that CONFIG_HIGHMEM = y in the 
> .config, but you cannot have missed anything else).
> 
> But there could be some strange host configuration: what is your distro? Have 
> you enabled exec-shield (which is enabled by default on Fedora and RedHat 9?
> 
> I think that the message could be wrong; could you check with the "free" 
> command inside the UML?
> 
> See the explainations:
> 
> > w/o CONFIG_HIGHMEM:
> 
> >CONFIG_HIGHMEM not enabled - physical memory shrunk to 499122176 bytes
> >Kernel virtual memory size shrunk to 32505856 bytes
> 
> > On node 0 totalpages: 121856
> > zone(0): 121856 pages.
> > zone(1): 0 pages.
> > zone(2): 0 pages.
> 
> I.e. there are some pages (each one is 4k) in the zone 0 (normal).
> 
> > Memory: 474328k available
> 
> 
> > w/ CONFIG_HIGHMEM:
> 
> > Kernel virtual memory size shrunk to 32 505 856 bytes
> 
> This is unrelated, but strange: is the kernel going to use just 32 Mega (in 
> both cases) for itself?
> 
> > On node 0 totalpages: 262144
> > zone(0): 121856 pages.
> > zone(1): 0 pages.
> > zone(2): 140288 pages.
> 
> I.e. there are those pages in the normal zone plus some more ones in the zone 
> 2, i.e. (IIRC) the HIGHMEM zone. So HIGHMEM seems to work, at least 
> partially.
> 
> > Memory: 460188k available
> 
> Bye
> -- 
> Paolo Giarrusso, aka Blaisorblade
> Linux registered user n. 292729
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

-- 
Trent Lloyd <lathiat@bur.st>
Bur.st Networking Inc.


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-06-26  6:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-24 23:12 [uml-devel] highmem support in 2.4 (2.4.26-1) D. Bahi
2004-06-25 17:46 ` BlaisorBlade
2004-06-26  6:21   ` Trent Lloyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox