From de595de0ec0dc6e2248aa905c06155dc196f2ec1 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlyLVajq_XluZ1wvTunv9vbM_kx1H0nd6Q" Date: Wed, 20 Mar 2013 11:41:06 +0100 Subject: Comment out SMP project idea --- community/gsoc/project_ideas.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/community/gsoc/project_ideas.mdwn b/community/gsoc/project_ideas.mdwn index d235570f..81296253 100644 --- a/community/gsoc/project_ideas.mdwn +++ b/community/gsoc/project_ideas.mdwn @@ -86,7 +86,8 @@ other: language_bindings, gccgo, perl_python. --> [[!inline pages="community/gsoc/project_ideas/server_overriding" show=0 feeds=no actions=yes]] [[!inline pages="community/gsoc/project_ideas/tcp_ip_stack" show=0 feeds=no actions=yes]] [[!inline pages="community/gsoc/project_ideas/nfs" show=0 feeds=no actions=yes]] -[[!inline pages="community/gsoc/project_ideas/smp" show=0 feeds=no actions=yes]] + [[!inline pages="community/gsoc/project_ideas/sound" show=0 feeds=no actions=yes]] [[!inline pages="community/gsoc/project_ideas/disk_io_performance" show=0 feeds=no actions=yes]] [[!inline pages="community/gsoc/project_ideas/vm_tuning" show=0 feeds=no actions=yes]] -- cgit v1.2.3 From 3de077e4b8ea80200ec6b8bfbb4da78bcbc68e8c Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlyLVajq_XluZ1wvTunv9vbM_kx1H0nd6Q" Date: Thu, 21 Mar 2013 00:30:59 +0100 Subject: New project idea : Improved system object lookups --- community/gsoc/project_ideas/object_lookups.mdwn | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 community/gsoc/project_ideas/object_lookups.mdwn diff --git a/community/gsoc/project_ideas/object_lookups.mdwn b/community/gsoc/project_ideas/object_lookups.mdwn new file mode 100644 index 00000000..462f6a12 --- /dev/null +++ b/community/gsoc/project_ideas/object_lookups.mdwn @@ -0,0 +1,42 @@ +[[!meta copyright="Copyright © 2013 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]]."]]"""]] + +[[!meta title="Improved system object lookups"]] + +The Hurd currently uses its ihash library ([[hurd/libihash]]) as a generic +container for various objects. While it does its job, it has been reported +to suffer from high collision rates. In addition, the "one size fits all" +approach contributes to slow things down. One particular use case is looking +up an object from a Mach port name, which basically translates to getting the +file or socket associated with a file descriptor in traditional Unix systems. +It's particular because there are actually two lookups for each object, the +first being finding the Mach port from a client port name, which is done in +the GNU Mach kernel, and the second being finding the server object from a +server port name. The best strategy would probably be to directly associate +the address of an object to the receive right of its port, eliminating the +need to look up again, but this is quite an intrusive change in the code base. +For the time being, optimizing lookups would already be an improvement. + +The goal of this project is to increase system performance by speeding up +object lookups, with a particular focus on name-to-object lookups. Note that +there is little room for improvement in the kernel name-to-port lookups because +of the various optimizations IPC has received in the past. Looking up server +objects from port names could use an algorithm highly tuned for this task, +perhaps with better locking (shared/exclusive instead of always mutually +exclusive for example). Then, the libihash algorithm could be replaced with a +better one, not necessarily a hash based one, to improve all the other users. + +This task requires proper knowledge of data structure algorithms, taking into +account machine properties such as processor caches, as well as the appropriate +skills in C and assembly to check the generated code. Being able to perform +accurate measurements in a system that lacks modern profiling tools would also +be helpful. + +Possible mentors: Richard Braun -- cgit v1.2.3 From eb13474ab4abfda797c97209534c21e7b1a029fa Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawlyLVajq_XluZ1wvTunv9vbM_kx1H0nd6Q" Date: Thu, 21 Mar 2013 00:33:58 +0100 Subject: Add the "Improved system object lookups" entry --- community/gsoc/project_ideas.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/community/gsoc/project_ideas.mdwn b/community/gsoc/project_ideas.mdwn index 81296253..5a274cc5 100644 --- a/community/gsoc/project_ideas.mdwn +++ b/community/gsoc/project_ideas.mdwn @@ -83,6 +83,7 @@ other: language_bindings, gccgo, perl_python. --> [[!inline pages="community/gsoc/project_ideas/language_bindings" show=0 feeds=no actions=yes]] [[!inline pages="community/gsoc/project_ideas/virtualization" show=0 feeds=no actions=yes]] [[!inline pages="community/gsoc/project_ideas/file_locking" show=0 feeds=no actions=yes]] +[[!inline pages="community/gsoc/project_ideas/object_lookups" show=0 feeds=no actions=yes]] [[!inline pages="community/gsoc/project_ideas/server_overriding" show=0 feeds=no actions=yes]] [[!inline pages="community/gsoc/project_ideas/tcp_ip_stack" show=0 feeds=no actions=yes]] [[!inline pages="community/gsoc/project_ideas/nfs" show=0 feeds=no actions=yes]] -- cgit v1.2.3 From 4dafd60730a7ed3a20bb6679bd021fb8b4800aa0 Mon Sep 17 00:00:00 2001 From: "http://musial.pip.verisignlabs.com/" Date: Thu, 21 Mar 2013 22:45:52 +0100 Subject: Updated URL --- user/musial.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/musial.mdwn b/user/musial.mdwn index a06abe06..e720db97 100644 --- a/user/musial.mdwn +++ b/user/musial.mdwn @@ -12,6 +12,6 @@ License|/fdl]]."]]"""]] email: musial at gnu dot org -http://mu5141.com +http://musial.biz Join the FSF! - http://www.fsf.org/register_form?referrer=9143 -- cgit v1.2.3 From 6d4c2caf968c838c31dc13a1bae121c85a2e294d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 22 Mar 2013 19:51:37 +0100 Subject: Add a Faq about the kernel debugging prompt --- faq/issues/got_a_db_prompt.mdwn | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 faq/issues/got_a_db_prompt.mdwn diff --git a/faq/issues/got_a_db_prompt.mdwn b/faq/issues/got_a_db_prompt.mdwn new file mode 100644 index 00000000..0835520e --- /dev/null +++ b/faq/issues/got_a_db_prompt.mdwn @@ -0,0 +1,28 @@ +[[!meta copyright="Copyright © 2013 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]]."]]"""]] + +[[!meta title="I've just gotten a db> prompt"]] + +Something bad happened in the kernel (think of it as the equivalent of the Linux +Oops). The `db>` prompt is actually the kernel debugger. You can then type the +`trace` command, which will bring you something like: + + 0x8007cf1(8088488,5e,40000008,2aa008,0) + 0x80071bc(0,0,0,0,0) + 0x8006831(24fe00,2000,b,800,0) + +Which is actually the function call trace, which can be decyphered by using: + + $ addr2line -i -f -e /boot/gnumach 0x8007cf1 0x80071bc 0x8006831 + +You can then send us the result of the `trace` and the `addr2line`, as well as +the exact version of the gnumach kernel you were running, for further +investigation. [[More information about the gnumach +debugger|microkernel/mach/gnumach/debugging]] is available. -- cgit v1.2.3 From 7faeb7afdce5c858a9fae071f5ed12d009aacdb7 Mon Sep 17 00:00:00 2001 From: "http://openid.aol.com/musial@gnu.org" Date: Fri, 22 Mar 2013 22:07:23 +0100 Subject: --- user/musial.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/musial.mdwn b/user/musial.mdwn index e720db97..5cc019cd 100644 --- a/user/musial.mdwn +++ b/user/musial.mdwn @@ -12,6 +12,6 @@ License|/fdl]]."]]"""]] email: musial at gnu dot org -http://musial.biz +http://nyumbu.org/musial/ Join the FSF! - http://www.fsf.org/register_form?referrer=9143 -- cgit v1.2.3 From 1a82169a20070d85e99f34bc7b2135be21e68e2a Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 22 Mar 2013 22:44:35 +0100 Subject: remove wrong bits about git-new-workdir usage --- source_repositories/incubator.mdwn | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/source_repositories/incubator.mdwn b/source_repositories/incubator.mdwn index 5e974cae..6d61a9e7 100644 --- a/source_repositories/incubator.mdwn +++ b/source_repositories/incubator.mdwn @@ -24,8 +24,6 @@ its branches, usually as a subdirectory of the current repository. The advantage of using it for `incubator` is that only one clone is needed, and it can be possible to work simultaneously on many branches (instead of only on the current branch of that clone). -The drawback is that updating a subrepository requires updating its branch -on the main clone first. Let's start checking out the `incubator` repository: @@ -46,11 +44,3 @@ simplicity, but can be created anywhere else: After this, a new `tarfs` subdirectory appears, which represents the `tarfs/master` branch. You can normally work on this new repository as usual. -As said earlier, updating `tarfs` requires fetching/pulling in `incubator` -first: - - $ cd incubator/ - incubator$ git pull/fetch - incubator$ cd tarfs/ - tarfs$ git pull/fetch - -- cgit v1.2.3 From d9f9be978c6fa257c57b72e0a58ad195f834bcc5 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 23 Mar 2013 01:07:33 +0100 Subject: Note about not-tested drivers --- faq/support/0-drivers.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/faq/support/0-drivers.mdwn b/faq/support/0-drivers.mdwn index 974fb612..df5cd29d 100644 --- a/faq/support/0-drivers.mdwn +++ b/faq/support/0-drivers.mdwn @@ -16,3 +16,8 @@ limits hardware support a lot, of course. For network boards, we use the [[DDE]] toolkit to run linux 2.6.32 drivers in userland processes, which provides both long-term support for new hardware and safety against driver bugs. + +Note however that we have of course not tested all drivers, we obviously don't +even have all kinds of hardware. So we can not promise that they will all +work. What probably works for sure is what we usually use: the rtl8139 or e1000 +drivers for instance. -- cgit v1.2.3 From 775de89b126349a64fcb3431c21f7e12cf9d52b7 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 23 Mar 2013 11:18:37 +0100 Subject: mention xen --- faq/support/0-drivers.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faq/support/0-drivers.mdwn b/faq/support/0-drivers.mdwn index df5cd29d..1c6f58dc 100644 --- a/faq/support/0-drivers.mdwn +++ b/faq/support/0-drivers.mdwn @@ -15,7 +15,7 @@ Currently, for disks Mach integrates drivers from Linux 2.0 through some limits hardware support a lot, of course. For network boards, we use the [[DDE]] toolkit to run linux 2.6.32 drivers in userland processes, which provides both long-term support for new hardware and safety against driver -bugs. +bugs. Xen is also supported, both blkfront and netfront. Note however that we have of course not tested all drivers, we obviously don't even have all kinds of hardware. So we can not promise that they will all -- cgit v1.2.3 From ac26fdf5f78d0ca22d256aa7e345080a265afde6 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 23 Mar 2013 11:24:20 +0100 Subject: rework available software paragraph --- faq/support/0-software.mdwn | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/faq/support/0-software.mdwn b/faq/support/0-software.mdwn index 324dbbef..61ae3a79 100644 --- a/faq/support/0-software.mdwn +++ b/faq/support/0-software.mdwn @@ -11,6 +11,16 @@ License|/fdl]]."]]"""]] [[!meta title="What software is available for GNU?"]] - * Most (3/4) packages from [Debian](http://www.debian.org/) [GNU/Linux](http://www.gnu.org/gnu/linux-and-gnu.html) which aren't linux-specific ([Packages That Won't Be Ported](http://www.debian.org/ports/hurd/hurd-devel-debian)) are expected to work on GNU/Hurd too. See the database in . Notably, [GNOME](http://www.gnome.org), and [KDE](http://www.kde.org) work. See the [[porting/guidelines]] document for some common build problems and their solutions. - * If you can't fetch a package with "apt-get install ", try building it from source: "apt-get source && cd <package\_dir> && debian/rules binary". - * As of March 2013, 78% of Debian packages have been ported on the Hurd. Of course, bug testing is welcome. +As of March 2013, 78% of Debian packages have been ported on the Hurd. Of +course, bug testing and fixing is welcome, as we have obviously not tested all +of them. + +Most packages from [Debian](http://www.debian.org/) +[GNU/Linux](http://www.gnu.org/gnu/linux-and-gnu.html) +which aren't linux-specific (see [Packages That Won't Be +Ported](http://www.debian.org/ports/hurd/hurd-devel-debian)) +are expected to work on GNU/Hurd too. See the database in +. Notably, [Xorg](http://www.x.org/), +[GNOME](http://www.gnome.org/), [KDE](http://www.kde.org/), firefox work. See +the [[porting/guidelines]] document for some common build problems and their +solutions. -- cgit v1.2.3 From 2cc4768895f34527ff951cdf2e3bf7a268a96cd9 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sat, 23 Mar 2013 11:35:37 +0100 Subject: small improvements --- faq/support/0-software.mdwn | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/faq/support/0-software.mdwn b/faq/support/0-software.mdwn index 61ae3a79..9c33a4db 100644 --- a/faq/support/0-software.mdwn +++ b/faq/support/0-software.mdwn @@ -17,10 +17,11 @@ of them. Most packages from [Debian](http://www.debian.org/) [GNU/Linux](http://www.gnu.org/gnu/linux-and-gnu.html) -which aren't linux-specific (see [Packages That Won't Be +which aren't Linux-specific (see [Packages That Won't Be Ported](http://www.debian.org/ports/hurd/hurd-devel-debian)) are expected to work on GNU/Hurd too. See the database in . Notably, [Xorg](http://www.x.org/), -[GNOME](http://www.gnome.org/), [KDE](http://www.kde.org/), firefox work. See -the [[porting/guidelines]] document for some common build problems and their +[GNOME](http://www.gnome.org/), [KDE](http://www.kde.org/), +[Firefox](http://www.mozilla.org/firefox) work. See +the [[hurd/porting/guidelines]] document for some common build problems and their solutions. -- cgit v1.2.3 From fc90ae905e43162e8e1734f08b05a784947ac56f Mon Sep 17 00:00:00 2001 From: "http://musial.pip.verisignlabs.com/" Date: Sun, 24 Mar 2013 07:35:19 +0100 Subject: --- user/musial.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/musial.mdwn b/user/musial.mdwn index 5cc019cd..271fc3cb 100644 --- a/user/musial.mdwn +++ b/user/musial.mdwn @@ -12,6 +12,6 @@ License|/fdl]]."]]"""]] email: musial at gnu dot org -http://nyumbu.org/musial/ +http://musial.tangent.cc Join the FSF! - http://www.fsf.org/register_form?referrer=9143 -- cgit v1.2.3 From 6f9f4be86eb09df1bf99d375a3de0f91837856d2 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 24 Mar 2013 20:39:10 +0100 Subject: Add visudo open issue --- open_issues/visudo.mdwn | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 open_issues/visudo.mdwn diff --git a/open_issues/visudo.mdwn b/open_issues/visudo.mdwn new file mode 100644 index 00000000..0332b0e3 --- /dev/null +++ b/open_issues/visudo.mdwn @@ -0,0 +1,21 @@ +[[!meta copyright="Copyright © 2013 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]]."]]"""]] + +[[!tag open_issue_hurd]] + +visudo does not work: + + /etc/sudoers is busy, try again later + +Apparently there is some locking that sudo does which does not +work. Uninvestigated for now. + +One can just edit the /etc/sudoers file and take care of correctness by hand. -- cgit v1.2.3 From 6ded0f6763c776e42d363f2b5714c79a34c9b70f Mon Sep 17 00:00:00 2001 From: "http://musial.pip.verisignlabs.com/" Date: Mon, 25 Mar 2013 19:36:36 +0100 Subject: --- user/musial.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/musial.mdwn b/user/musial.mdwn index 271fc3cb..2235e492 100644 --- a/user/musial.mdwn +++ b/user/musial.mdwn @@ -12,6 +12,6 @@ License|/fdl]]."]]"""]] email: musial at gnu dot org -http://musial.tangent.cc +http://musial.musialx.com Join the FSF! - http://www.fsf.org/register_form?referrer=9143 -- cgit v1.2.3