From d5ae18f16370d7b53412c3aebfdf7df90cb81213 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 15 Sep 2010 05:26:12 +0200 Subject: hurd/translator/procfs: How to build jkoenig's procfs. --- hurd/translator/procfs.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'hurd') diff --git a/hurd/translator/procfs.mdwn b/hurd/translator/procfs.mdwn index bc22530f..4f882674 100644 --- a/hurd/translator/procfs.mdwn +++ b/hurd/translator/procfs.mdwn @@ -33,6 +33,15 @@ version](http://lists.gnu.org/archive/html/bug-hurd/2010-08/msg00165.html). This can be found in , branch *jkoenig/master*. +Testing it is as simple as this: + + $ git clone git://git.savannah.gnu.org/hurd/procfs.git + $ cd procfs/ + $ git checkout jkoenig/master + $ make + $ settrans -ca proc procfs --compatible + $ ls -l proc/ + # Internals -- cgit v1.2.3 From 61977258f0d13492f986bb3d2d452056d13821ae Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 15 Sep 2010 05:27:46 +0200 Subject: hurd/translator/procfs: Remove old trace files. --- hurd/translator/procfs.mdwn | 16 +--------------- hurd/translator/procfs/htop.mdwn | 25 ------------------------- hurd/translator/procfs/killall.mdwn | 23 ----------------------- hurd/translator/procfs/procps.mdwn | 23 ----------------------- hurd/translator/procfs/top.mdwn | 18 ------------------ 5 files changed, 1 insertion(+), 104 deletions(-) delete mode 100644 hurd/translator/procfs/htop.mdwn delete mode 100644 hurd/translator/procfs/killall.mdwn delete mode 100644 hurd/translator/procfs/procps.mdwn delete mode 100644 hurd/translator/procfs/top.mdwn (limited to 'hurd') diff --git a/hurd/translator/procfs.mdwn b/hurd/translator/procfs.mdwn index 4f882674..da7eb77c 100644 --- a/hurd/translator/procfs.mdwn +++ b/hurd/translator/procfs.mdwn @@ -43,20 +43,6 @@ Testing it is as simple as this: $ ls -l proc/ -# Internals - - -## Old Implementation from [[open_issues/HurdExtras]] +# Old Implementation from [[open_issues/HurdExtras]] - - -## Files opened by various tools - - * [[`ps`|procps]] - * [[`top`|top]] - * [[`htop`|htop]] - * `gtop` - * [[`killall`|killall]] - * `pkill` - * ... diff --git a/hurd/translator/procfs/htop.mdwn b/hurd/translator/procfs/htop.mdwn deleted file mode 100644 index ce38b92c..00000000 --- a/hurd/translator/procfs/htop.mdwn +++ /dev/null @@ -1,25 +0,0 @@ -[[!meta copyright="Copyright © 2008 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]]."]]"""]] - - open("/proc/stat", O_RDONLY) = 3 - open("/proc/meminfo", O_RDONLY) = 3 - open("/proc/stat", O_RDONLY) = 3 - open("/proc", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3 - open("/proc/1/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4 - open("/proc/1/status", O_RDONLY) = 4 - open("/proc/1/statm", O_RDONLY) = 4 - open("/proc/1/stat", O_RDONLY) = 4 - open("/proc/1/cmdline", O_RDONLY) = 4 - open("/proc/2/task", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4 - open("/proc/2/status", O_RDONLY) = 4 - open("/proc/2/statm", O_RDONLY) = 4 - open("/proc/2/stat", O_RDONLY) = 4 - open("/proc/2/cmdline", O_RDONLY) = 4 - [...] diff --git a/hurd/translator/procfs/killall.mdwn b/hurd/translator/procfs/killall.mdwn deleted file mode 100644 index 3d31b51a..00000000 --- a/hurd/translator/procfs/killall.mdwn +++ /dev/null @@ -1,23 +0,0 @@ -[[!meta copyright="Copyright © 2008 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]]."]]"""]] - - open("/proc/stat", O_RDONLY) = 3 - open("/proc/self/stat", O_RDONLY) = 3 - open("/proc/uptime", O_RDONLY) = 3 - open("/proc/sys/kernel/pid_max", O_RDONLY) = 4 - open("/proc/meminfo", O_RDONLY) = 4 - open("/proc", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 5 - open("/proc/1/stat", O_RDONLY) = 6 - open("/proc/1/status", O_RDONLY) = 6 - open("/proc/1/cmdline", O_RDONLY) = 6 - open("/proc/2/stat", O_RDONLY) = 6 - open("/proc/2/status", O_RDONLY) = 6 - open("/proc/2/cmdline", O_RDONLY) = 6 - [...] diff --git a/hurd/translator/procfs/procps.mdwn b/hurd/translator/procfs/procps.mdwn deleted file mode 100644 index 3d31b51a..00000000 --- a/hurd/translator/procfs/procps.mdwn +++ /dev/null @@ -1,23 +0,0 @@ -[[!meta copyright="Copyright © 2008 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]]."]]"""]] - - open("/proc/stat", O_RDONLY) = 3 - open("/proc/self/stat", O_RDONLY) = 3 - open("/proc/uptime", O_RDONLY) = 3 - open("/proc/sys/kernel/pid_max", O_RDONLY) = 4 - open("/proc/meminfo", O_RDONLY) = 4 - open("/proc", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 5 - open("/proc/1/stat", O_RDONLY) = 6 - open("/proc/1/status", O_RDONLY) = 6 - open("/proc/1/cmdline", O_RDONLY) = 6 - open("/proc/2/stat", O_RDONLY) = 6 - open("/proc/2/status", O_RDONLY) = 6 - open("/proc/2/cmdline", O_RDONLY) = 6 - [...] diff --git a/hurd/translator/procfs/top.mdwn b/hurd/translator/procfs/top.mdwn deleted file mode 100644 index 2cba78ad..00000000 --- a/hurd/translator/procfs/top.mdwn +++ /dev/null @@ -1,18 +0,0 @@ -[[!meta copyright="Copyright © 2008 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]]."]]"""]] - - open("/proc/stat", O_RDONLY) = 3 - open("/proc/sys/kernel/pid_max", O_RDONLY) = 3 - open("/proc", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3 - open("/proc/1/stat", O_RDONLY) = 4 - open("/proc/1/statm", O_RDONLY) = 4 - open("/proc/2/stat", O_RDONLY) = 4 - open("/proc/2/statm", O_RDONLY) = 4 - [...] -- cgit v1.2.3 From 3f11d947b91a9c5f5eaa743ebb9dd38e34a625a4 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 21 Sep 2010 11:45:06 +0200 Subject: libpthread: New. --- community/gsoc/project_ideas/language_bindings.mdwn | 8 +++++--- community/gsoc/project_ideas/pthreads.mdwn | 5 +++-- hurd.mdwn | 1 + hurd/faq/how_to_switch_microkernels.mdwn | 8 ++++---- hurd/running/debian/package_troubleshooting.mdwn | 3 ++- libpthread.mdwn | 19 +++++++++++++++++++ open_issues/some_todo_list.mdwn | 1 - 7 files changed, 34 insertions(+), 11 deletions(-) create mode 100644 libpthread.mdwn (limited to 'hurd') diff --git a/community/gsoc/project_ideas/language_bindings.mdwn b/community/gsoc/project_ideas/language_bindings.mdwn index a27b0d30..460b380b 100644 --- a/community/gsoc/project_ideas/language_bindings.mdwn +++ b/community/gsoc/project_ideas/language_bindings.mdwn @@ -1,4 +1,5 @@ -[[!meta copyright="Copyright © 2008, 2009 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2008, 2009, 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 @@ -42,8 +43,9 @@ use the latter approach, and can serve as a good example. There is another possible reason for preferring lower-level bindings: Presently, the Hurd server libraries use the cthreads threading library, which -predates the pthread standard prevalent today. There is a pthread library for -the Hurd as well, but it's not possible to use both cthreads and pthreads in +predates the pthread standard prevalent today. There is a +[[pthread library for the Hurd|libpthread]] +as well, but it's not possible to use both cthreads and pthreads in the same executable. Thus, until [[porting_the_Hurd_libraries_to_pthreads|community/gsoc/project_ideas/pthreads]] is finished, implementing bindings for any language that uses pthreads (in the diff --git a/community/gsoc/project_ideas/pthreads.mdwn b/community/gsoc/project_ideas/pthreads.mdwn index a33187f6..2270c774 100644 --- a/community/gsoc/project_ideas/pthreads.mdwn +++ b/community/gsoc/project_ideas/pthreads.mdwn @@ -17,11 +17,12 @@ The Hurd was originally created at a time when the [pthreads standard](http://www.opengroup.org/onlinepubs/009695399/basedefs/pthread.h.html) didn't exist yet. Thus all Hurd servers and libraries are using the old [[cthreads|hurd/libcthreads]] package that came with [[microkernel/Mach]], -which is not compatible with [[pthreads|hurd/libpthread]]. +which is not compatible with pthreads. Not only does that mean that people hacking on Hurd internals have to deal with a non-standard thread package, which nobody is familiar with. Although a -pthreads implementation for the Hurd was created in the meantime, it's not +[[pthreads implementation for the Hurd|libpthread]] +was created in the meantime, it's not possible to use both cthreads and pthreads in the same program. Consequently, pthreads can't presently be used in any Hurd servers -- including translators. diff --git a/hurd.mdwn b/hurd.mdwn index c5627e29..24610f97 100644 --- a/hurd.mdwn +++ b/hurd.mdwn @@ -96,6 +96,7 @@ in the *unstable* branch of the Debian archive. * [[libtrivfs]] * [[libnetfs]] -- short introductory material * [[libihash]] + * [[libpthread]] * [[IO_Path]] * [[Porting]] * [[Debugging]] diff --git a/hurd/faq/how_to_switch_microkernels.mdwn b/hurd/faq/how_to_switch_microkernels.mdwn index 468fab54..21f7a371 100644 --- a/hurd/faq/how_to_switch_microkernels.mdwn +++ b/hurd/faq/how_to_switch_microkernels.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2009, 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 @@ -10,6 +10,6 @@ License|/fdl]]."]]"""]] [[!meta title="How difficult would it be to switch to another microkernel?"]] -One thing for sure is to rewrite the mach and sysdeps/mach parts of glibc and -libpthread. Quite a few tools also assume a Mach kernel and would have to be -rewritten. +One would have to reimplement the `mach/` and `sysdeps/mach/` parts of +[[glibc]] and [[libpthread]]. Quite a few other Hurd tools also assume a +[[microkernel/Mach]] kernel and would have to be adapted or rewritten. diff --git a/hurd/running/debian/package_troubleshooting.mdwn b/hurd/running/debian/package_troubleshooting.mdwn index 43ecbc77..c6236c2f 100644 --- a/hurd/running/debian/package_troubleshooting.mdwn +++ b/hurd/running/debian/package_troubleshooting.mdwn @@ -17,7 +17,8 @@ You must set up the [[translator/random]] device first. ## An X package hangs at startup without error messages -Observed with GTK programs like xchat, synaptic, inkscape. It is an issue with libpthread that (as of 04 Feb 2007) is still unresolved. Sorry. +Observed with GTK programs like xchat, synaptic, inkscape. It is an issue with +[[libpthread]] that (as of 04 Feb 2007) is still unresolved. Sorry. ## Borked fonts on GTK app diff --git a/libpthread.mdwn b/libpthread.mdwn new file mode 100644 index 00000000..f6210706 --- /dev/null +++ b/libpthread.mdwn @@ -0,0 +1,19 @@ +[[!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]]."]]"""]] + +[[!meta title="POSIX Threading Library"]] + +Used by / ported to the [[Hurd]] on [[GNU Mach|microkernel/mach/gnumach]], some +[[microkernel/L4]] variants, and [[microkernel/Viengoos]]. + + +# Open Issues + + * [[tag/open_issue_libpthread]] diff --git a/open_issues/some_todo_list.mdwn b/open_issues/some_todo_list.mdwn index 5f8470b7..1f6f5002 100644 --- a/open_issues/some_todo_list.mdwn +++ b/open_issues/some_todo_list.mdwn @@ -51,7 +51,6 @@ From Marcus, 2002: * Are all inode numbers and link counts correct? * We also should have a "make check" test suite. We can add this once Jeff finished his automake patches * pick up the other things - * pthread, definitely. Now that we are so close * new console is basically done * needs integration of course * X switching support -- cgit v1.2.3 From 72f0fbdbac020e532ac430c18442c73243dfceb9 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 4 Oct 2010 11:33:41 +0200 Subject: hurd/translator/unionfs: Link to Linux' overlay file system proposal, 2010-09-20. --- hurd/translator/unionfs.mdwn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hurd') diff --git a/hurd/translator/unionfs.mdwn b/hurd/translator/unionfs.mdwn index d1e3868b..2b692cf9 100644 --- a/hurd/translator/unionfs.mdwn +++ b/hurd/translator/unionfs.mdwn @@ -153,3 +153,8 @@ the *mountee* at 0. * [FUSE page about `unionfs`](http://sourceforge.net/apps/mediawiki/fuse/index.php?title=UnionFileSystems) + + * [Linux' overlay file system proposal, + 2010-09-20](http://thread.gmane.org/gmane.linux.kernel/1038413) + + How is this different? -- cgit v1.2.3 From ff42d21836ec433707da4ef4f982f12dedb4e384 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 6 Oct 2010 20:57:19 +0200 Subject: hurd/translator/procfs: Minor bug w/ jkoenig's procfs. --- hurd/translator/procfs.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'hurd') diff --git a/hurd/translator/procfs.mdwn b/hurd/translator/procfs.mdwn index da7eb77c..80f822e3 100644 --- a/hurd/translator/procfs.mdwn +++ b/hurd/translator/procfs.mdwn @@ -43,6 +43,15 @@ Testing it is as simple as this: $ ls -l proc/ +## Open Issues + +[[!tag open_issue_hurd]] + + * Files' permissions: + + the only glitch is that files/dirs have the right user as owner, but always with root group + + # Old Implementation from [[open_issues/HurdExtras]] -- cgit v1.2.3 From 378838ad9e7e724a1a3e8c8727f1ba65e995863a Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 6 Oct 2010 22:51:02 +0200 Subject: hurd/translator/procfs/jkoenig: New. --- hurd/translator/procfs.mdwn | 24 +----------- hurd/translator/procfs/jkoenig.mdwn | 76 +++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 23 deletions(-) create mode 100644 hurd/translator/procfs/jkoenig.mdwn (limited to 'hurd') diff --git a/hurd/translator/procfs.mdwn b/hurd/translator/procfs.mdwn index 80f822e3..70448e94 100644 --- a/hurd/translator/procfs.mdwn +++ b/hurd/translator/procfs.mdwn @@ -26,30 +26,8 @@ probably no point in trying to duplicate this functionality as well...) *Status*: Madhusudan.C.S has implemented a new, fully functional [[procfs|madhusudancs]] for [[GSoC 2008|community/gsoc/2008]]. -# New Implementation by Jérémie Koenig -In August 2010, Jérémie Koenig [published another, new -version](http://lists.gnu.org/archive/html/bug-hurd/2010-08/msg00165.html). -This can be found in , -branch *jkoenig/master*. - -Testing it is as simple as this: - - $ git clone git://git.savannah.gnu.org/hurd/procfs.git - $ cd procfs/ - $ git checkout jkoenig/master - $ make - $ settrans -ca proc procfs --compatible - $ ls -l proc/ - - -## Open Issues - -[[!tag open_issue_hurd]] - - * Files' permissions: - - the only glitch is that files/dirs have the right user as owner, but always with root group +# [[New Implementation by Jérémie Koenig|jkoenig]] # Old Implementation from [[open_issues/HurdExtras]] diff --git a/hurd/translator/procfs/jkoenig.mdwn b/hurd/translator/procfs/jkoenig.mdwn new file mode 100644 index 00000000..1275ce52 --- /dev/null +++ b/hurd/translator/procfs/jkoenig.mdwn @@ -0,0 +1,76 @@ +[[!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 August 2010, Jérémie Koenig [published another, new +version](http://lists.gnu.org/archive/html/bug-hurd/2010-08/msg00165.html). +This can be found in , +branch *jkoenig/master*. + +Testing it is as simple as this: + + $ git clone git://git.savannah.gnu.org/hurd/procfs.git + $ cd procfs/ + $ git checkout jkoenig/master + $ make + $ settrans -ca proc procfs --compatible + $ ls -l proc/ + + +# Open Issues + +[[!tag open_issue_hurd]] + + * IRC, #hurd, around September 2010 + + jkoenig: from a quick read, your procfs implementation seems quite + simple, probably much more what I was expecting from Madhusudan (who probably + now hates you :) ) + jkoenig: is it not possible to provide a /proc/self which points at the + client's pid? + (also, shouldn't /proc/version say something else than "Linux"?) + to make linux tools work, no :/ + kfreebsd does that too + really? + yes + (kfreebsd, not freebsd) + does kbsd's one print just "Linux version x.y.z" too, or something + more eg in a second line? + (as curiosity) + % cat /proc/version + Linux version 2.6.16 (des@freebsd.org) (gcc version 4.3.5) #4 Sun Dec + 18 04:30:00 CET 1977 + k + I had some problems with killall5 to read the pid from /proc, Is + this now more reliable? + I haven't tested with jkoenig's implementation + [...] + looks like he did 'self' too, see rootdir_entries[] in rootdir.c + but it doesn't point at self + youpi: there is no way to provide /proc/self, because the server + doesn't know the identity of the client + :/ + youpi: using the existing mechanisms, we would need another magic + lookup type + an alternative idea I discussed with cfhammer once would be for the + client to voluntarily provide it's identity to the server... but that would + be a rather fundamental change that requires careful consideration + also, object migration could be used, so the implementation would be + provided by the server, but the execution would happen in the client... but + that's even more involved :-) + but we've seen how much that'd help with a lot of other stuff + I'm not sure whether we discussed this on the ML at some point, or + only on IRC + it "just" needs to be commited :) + in either case, it can't hurt to bring this up again :-) + + * IRC, #hurd, around October 2010 + + the only glitch is that files/dirs have the right user as + owner, but always with root group -- cgit v1.2.3 From b4479c6803f6cb8f13c96b53fd71b6a27b0b4a8e Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 6 Oct 2010 23:04:23 +0200 Subject: hurd/debugging/trap_in_the_kernel: New. --- hurd/debugging.mdwn | 4 +++- hurd/debugging/trap_in_the_kernel.mdwn | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 hurd/debugging/trap_in_the_kernel.mdwn (limited to 'hurd') diff --git a/hurd/debugging.mdwn b/hurd/debugging.mdwn index 36ab769a..4085244b 100644 --- a/hurd/debugging.mdwn +++ b/hurd/debugging.mdwn @@ -1,4 +1,5 @@ -[[!meta copyright="Copyright © 2007, 2008 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2007, 2008, 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 @@ -20,3 +21,4 @@ is included in the section entitled * [[glibc]] * [[translator]]s + * [[trap_in_the_kernel]] diff --git a/hurd/debugging/trap_in_the_kernel.mdwn b/hurd/debugging/trap_in_the_kernel.mdwn new file mode 100644 index 00000000..11f989e3 --- /dev/null +++ b/hurd/debugging/trap_in_the_kernel.mdwn @@ -0,0 +1,27 @@ +[[!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]]."]]"""]] + +[[!tag open_issue_gnumach open_issue_documentation]] + +IRC, #hurd, September 2010 + + when an application executes an out instruction in user mode, how is + kernel mode entered? general protection trap? + some sort of trap, yes + I'd rather think about illegal instruction, but yes + hm.. so to debug what happens inside that instruction I'll have to + break at the trap handler. Can I instruct kdb to stop only when a given task + caused the trap? + applications usually don't trap, so what I usually do is to uncomment + the test at the end of user_trap() before the call to kdb_trap() + "if (debug_all_traps_with_kdb && .. " <- that test? + yes + so comment the test to make kdb_trap() called all the time + oh, I understand now :) -- cgit v1.2.3 From 30a9d6e8afd1b8593cef9783509aae385407e1e7 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 7 Oct 2010 00:12:16 +0200 Subject: open_issues/network_file_system_by_just_forwarding_rpcs: New. --- hurd/translator.mdwn | 2 +- ...network_file_system_by_just_forwarding_rpcs.mdwn | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 open_issues/network_file_system_by_just_forwarding_rpcs.mdwn (limited to 'hurd') diff --git a/hurd/translator.mdwn b/hurd/translator.mdwn index dd5c5b4d..c3ca1278 100644 --- a/hurd/translator.mdwn +++ b/hurd/translator.mdwn @@ -116,7 +116,7 @@ Read about translator [[short-circuiting]]. * [[wishlist_1]] * [[wishlist_2]] - + * [[open_issues/network_file_system_by_just_forwarding_RPCs]] # Internally diff --git a/open_issues/network_file_system_by_just_forwarding_rpcs.mdwn b/open_issues/network_file_system_by_just_forwarding_rpcs.mdwn new file mode 100644 index 00000000..de1d63a3 --- /dev/null +++ b/open_issues/network_file_system_by_just_forwarding_rpcs.mdwn @@ -0,0 +1,21 @@ +[[!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]]."]]"""]] + +[[!tag open_issue_hurd]] + +IRC, #hurd, August / September 2010 + + btw, it should be possible to implement a network "filesystem" by + just forwarding RPCs over the network, right? + (of course auth would be an additional concern) + that would open all kinds of possibilities, possibly. + jkoenig: plan9? + I don't know much about plan9 yet. I seem to remember some mach + extension for network transparency being mentionned somewhere.. -- cgit v1.2.3