From 4d15634e3574c54db86e79ae6e5734de49bfc57b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 13 Mar 2010 12:26:41 +0100 Subject: more details about the memory limitation --- hurd/running/debian/faq/512_mib_ram_limit.mdwn | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'hurd/running/debian/faq') diff --git a/hurd/running/debian/faq/512_mib_ram_limit.mdwn b/hurd/running/debian/faq/512_mib_ram_limit.mdwn index 90c16a69..f89a5c01 100644 --- a/hurd/running/debian/faq/512_mib_ram_limit.mdwn +++ b/hurd/running/debian/faq/512_mib_ram_limit.mdwn @@ -10,9 +10,12 @@ is included in the section entitled [[!meta title="512 MiB RAM Limit"]] -GNU Mach does not cope well with lots of memory. Newer versions of the Debian -`gnumach` package will limit themselves to around 1 GiB of memory. If you have -an older version, or still experience problems with `vmstat` (see above) -reported much less memory than you have, the best is to limit the memory it can -see via GRUB's `upppermem` feature. Add `uppermem 786432` to GRUB's Hurd entry -in `menu.lst`. +Just like any 32bit OS without bad tricks, GNU Mach does not cope well with lots +of memory. Newer versions of the Debian `gnumach` package will limit themselves +to around 1 GiB of memory. If you want more, you can twiddle the VM_MAX_ADDRESS +limit between kernelland and userland in i386/include/mach/i386/vm_param.h. + +If you have an older version, or still experience problems with `vmstat` (see +above) reported much less memory than you have, the best is to limit the memory +it can see via GRUB's `upppermem` feature. Add `uppermem 786432` to GRUB's Hurd +entry in `menu.lst`. -- cgit v1.2.3 From a1639fde389e42a9e5583caa76b6a83b76419453 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 13 Mar 2010 12:28:31 +0100 Subject: explain when -P is needed --- hurd/running/debian/faq/debugging_translators.mdwn | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hurd/running/debian/faq') diff --git a/hurd/running/debian/faq/debugging_translators.mdwn b/hurd/running/debian/faq/debugging_translators.mdwn index d3aadec8..b55484e1 100644 --- a/hurd/running/debian/faq/debugging_translators.mdwn +++ b/hurd/running/debian/faq/debugging_translators.mdwn @@ -9,9 +9,7 @@ is included in the section entitled [[GNU Free Documentation License|/fdl]]."]]"""]] In order to [[debug|debugging]] translators and being able to step into glibc -during it, you need the `hurd-dbg` and `libc0.3-dbg` packages installed. Then +during it, you need the `hurd-dbg` and `libc0.3-dbg` packages installed. If you need to debug the initialization of the translator, start the translator like `settrans -P /foo /usr/bin/env LD\_LIBRARY\_PATH=/usr/lib/debug /hurd/foofs`. The `-P` option will make it pause and you will be able to attach [[debugging/GDB]] to the process. - -Is starting the translator like this really needed? -- cgit v1.2.3 From 4404240f376b9551543e082ee09c1822ed5c3e6d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 13 Mar 2010 12:30:00 +0100 Subject: explain ps -M does not hang --- hurd/running/debian/faq/ps_hangs.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hurd/running/debian/faq') diff --git a/hurd/running/debian/faq/ps_hangs.mdwn b/hurd/running/debian/faq/ps_hangs.mdwn index b5e35420..febfeb59 100644 --- a/hurd/running/debian/faq/ps_hangs.mdwn +++ b/hurd/running/debian/faq/ps_hangs.mdwn @@ -8,4 +8,5 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled [[GNU Free Documentation License|/fdl]]."]]"""]] -If `ps` hangs, try `ps -M` which might still work. +If `ps` hangs, try `ps -M` which might still work by not getting detailed +information from processes. -- cgit v1.2.3 From 73364dd3f261f73e57df7aa18f8504706f3b78b7 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 13 Mar 2010 12:33:29 +0100 Subject: explain the probing eata on XXX issue --- hurd/running/debian/faq/eata.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 hurd/running/debian/faq/eata.mdwn (limited to 'hurd/running/debian/faq') diff --git a/hurd/running/debian/faq/eata.mdwn b/hurd/running/debian/faq/eata.mdwn new file mode 100644 index 00000000..fa7dbdec --- /dev/null +++ b/hurd/running/debian/faq/eata.mdwn @@ -0,0 +1,13 @@ +[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled +[[GNU Free Documentation License|/fdl]]."]]"""]] + +In some virtual machines (e.g. VirtualBox), "probing eata on XXX" may be +quite long. This is apparently due to poor efficiency of the virtualizer, not +Mach. There is no such issue on real hardware or using qemu/kvm. -- cgit v1.2.3