summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-03-06 22:04:01 +0100
committerThomas Schwinge <thomas@codesourcery.com>2013-03-06 22:04:01 +0100
commitf8ed211a4da23edf469089254b3dace9479bf11f (patch)
treec98b9831dd6f48ae96017a9b9a6e5d59f4f1c7f5 /hurd
parent03fe52eebbcce37f30d67259f748cc7efd22ef72 (diff)
parent12c341b917921eb631026ec44a284c4d884e5de6 (diff)
Merge remote-tracking branch 'fp/master'
Conflicts: open_issues/gcc/pie.mdwn open_issues/glibc.mdwn
Diffstat (limited to 'hurd')
-rw-r--r--hurd/debugging.mdwn5
-rw-r--r--hurd/debugging/glibc.mdwn6
-rw-r--r--hurd/libpager.mdwn30
-rw-r--r--hurd/running/distrib.mdwn23
-rw-r--r--hurd/running/nix.mdwn20
-rw-r--r--hurd/subhurd/discussion.mdwn15
-rw-r--r--hurd/translator/ext2fs.mdwn38
-rw-r--r--hurd/translator/pfinet/ipv6.mdwn68
-rw-r--r--hurd/translator/procfs/jkoenig/discussion.mdwn23
9 files changed, 214 insertions, 14 deletions
diff --git a/hurd/debugging.mdwn b/hurd/debugging.mdwn
index d6e9c8b5..f4b5eba5 100644
--- a/hurd/debugging.mdwn
+++ b/hurd/debugging.mdwn
@@ -1,4 +1,4 @@
-[[!meta copyright="Copyright © 2007, 2008, 2010 Free Software Foundation,
+[[!meta copyright="Copyright © 2007, 2008, 2010, 2013 Free Software Foundation,
Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
@@ -15,7 +15,10 @@ License|/fdl]]."]]"""]]
* [[GDB]] -- the GNU debugger
* [[gdb/Backtrace]]s
* [[subhurd]] -- running another Hurd system in parallel
+ * In context of [[glibc/debugging/ld_so_console]]: [[!message-id
+ "20111108190129.750BC2C098@topped-with-meat.com"]]
* [[rpctrace]] -- tracing [[RPC]]s
+* [[microkernel/mach/gnumach/interface/syscall/mach_print]] sycall
# About Specific Packages
diff --git a/hurd/debugging/glibc.mdwn b/hurd/debugging/glibc.mdwn
index 028d4fe4..14140fdb 100644
--- a/hurd/debugging/glibc.mdwn
+++ b/hurd/debugging/glibc.mdwn
@@ -1,5 +1,5 @@
-[[!meta copyright="Copyright © 2007, 2008, 2010, 2011 Free Software Foundation,
-Inc."]]
+[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 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
@@ -9,6 +9,8 @@ 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]]."]]"""]]
+(!) See also [[/glibc/debugging]].
+
Here are some hints about how to approach testing after nontrivial changes to
glibc have been done.
diff --git a/hurd/libpager.mdwn b/hurd/libpager.mdwn
index d844743d..69cf8af5 100644
--- a/hurd/libpager.mdwn
+++ b/hurd/libpager.mdwn
@@ -1,5 +1,5 @@
-[[!meta copyright="Copyright © 2007, 2008, 2010, 2011 Free Software Foundation,
-Inc."]]
+[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 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
@@ -9,6 +9,9 @@ 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]]."]]"""]]
+
+# Design
+
Mach's [[microkernel/mach/external_pager_mechanism]].
Mach [[microkernel/mach/IPC]]'s [[microkernel/mach/ipc/sequence_numbering]].
@@ -17,10 +20,29 @@ Mach [[microkernel/mach/IPC]]'s [[microkernel/mach/ipc/sequence_numbering]].
Library](http://www.gnu.org/software/hurd/doc/hurd_5.html#SEC32).
-# Writeback: Writing Out Dirty Pages
+## IRC, freenode, #hurd, 2013-03-04
+
+ <braunr> mcsim: is it correct that a pager (as from libpager) object is
+ created per file ?
+ <mcsim> braunr: hello. Yes.
+ <mcsim> braunr: At least this applies to ext2fs
+
+
+## [[open_issues/multithreading]]
+
+### Writeback: Writing Out Dirty Pages
+
+#### IRC, freenode, #hurd, 2013-03-04
+
+ <braunr> and btw, here is a little update about my roadmap: while reading
+ mcsim's patches, i've got to know libpager a bit more, and i think it's
+ perfectly possible to add writeback throttling without a heavy rework
+ <youpi> good :)
+ <braunr> so i intend to work on that after the pager related patches (large
+ store and neal's one) are merged
-## Related
+#### Related
* LWN, Jonathan Corbet, [*No-I/O dirty
throttling*](http://lwn.net/Articles/456904/), 2011-08-31.
diff --git a/hurd/running/distrib.mdwn b/hurd/running/distrib.mdwn
index 5f54e08c..74325e25 100644
--- a/hurd/running/distrib.mdwn
+++ b/hurd/running/distrib.mdwn
@@ -15,6 +15,29 @@ Defunct GNU/Hurd distributions:
[announced](http://forums.gentoo.org/viewtopic.php?t=41939&amp;postdays=0&amp;postorder=asc&amp;start=0)
March 17, 2003 in the Gentoo forums, but development stopped at some point.
+ IRC, freenode, #hurd, 2013-01-15:
+
+ <WhiteKIBA> we are trying to revive Gentoo/hurd
+ <WhiteKIBA> we are using debian as a start
+ <WhiteKIBA> we installed portage on debian and are now bootstrapping
+ the system into a folder
+ <WhiteKIBA> except glibc everything seems fine
+ <_d3f> braunr: http://wiki.rout0r.org/index.php/Gentoo/Hurd/en - if you
+ want to know more.
+
+ IRC, freenode, #hurd, 2013-02-01:
+
+ <WhiteKIBA> natsukao: http://wiki.rout0r.org/index.php/Gentoo/Hurd/en I
+ am working on it
+ <WhiteKIBA> if i can get glibc to compile correctly i can create a
+ stage3 but at the moment it fails
+
+ IRC, freenode, #hurd, 2013-02-02:
+
+ <alexxy> WhiteKIBA: you may be interested in my try to run gentoo/hurd
+ <alexxy> WhiteKIBA:
+ http://omrb.pnpi.spb.ru/gitweb/?p=gentoo/hurd.git;a=summary
+
# Using
diff --git a/hurd/running/nix.mdwn b/hurd/running/nix.mdwn
index 663589f6..332fc03b 100644
--- a/hurd/running/nix.mdwn
+++ b/hurd/running/nix.mdwn
@@ -1,4 +1,4 @@
-[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2012, 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
@@ -18,10 +18,24 @@ License|/fdl]]."]]"""]]
* <http://hydra.nixos.org/job/gnu/hurd-master/qemu_test>
----
-
This QEMU image is not (yet) comparable to NixOS, because the latter provides
extra features, such as whole-system configuration (including services, etc.),
and whole-system transactional update and rollback. It is is cross-built using
Nix, and because of that, it uses per-package installation directories under
`/nix/store`.
+
+
+# IRC, freenode, #hurd, 2013-02-04
+
+ <braunr> is it possible to use nix ?
+ <braunr> or nixos
+ <civodul> you mean the Nix-based Hurd image?
+ <braunr> yes
+ <civodul> it's currently broken:
+ http://hydra.nixos.org/jobset/gnu/hurd-master
+ <braunr> aw, nixos uses systemd :(
+ <civodul> yeah, but the Hurd image is a different thing
+ <civodul> is uses runsystem.sh™
+ <civodul> (my favorite)
+ <civodul> i've been willing to unbreak it, but now i rather invest time in
+ Guix
diff --git a/hurd/subhurd/discussion.mdwn b/hurd/subhurd/discussion.mdwn
index c4fc047f..6e694677 100644
--- a/hurd/subhurd/discussion.mdwn
+++ b/hurd/subhurd/discussion.mdwn
@@ -1,4 +1,5 @@
-[[!meta copyright="Copyright © 2011, 2012 Free Software Foundation, Inc."]]
+[[!meta copyright="Copyright © 2011, 2012, 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
@@ -157,3 +158,15 @@ License|/fdl]]."]]"""]]
<braunr> antrik: i've installed the same packages in both the main and
subhurds to be sure
<braunr> and to have the right binary and debugging symbols in gdb anyway
+
+
+# IRC, freenode, #hurd, 2013-01-19
+
+ <zacts> what is the hurd equivalent of a freebsd jail?
+ <braunr> zacts: i'd say subhurds
+ <zacts> what advantages would a subhurd have over a freebsd jail?
+ <zacts> basically that is
+ <braunr> it virtually guarantees a mistake can't compromise the main system
+ <zacts> ah ok
+ <braunr> in theory, subhurds can run without root privileges
+ <braunr> (but there are currently a few things that prevent it)
diff --git a/hurd/translator/ext2fs.mdwn b/hurd/translator/ext2fs.mdwn
index 13a1d9ec..65361ff4 100644
--- a/hurd/translator/ext2fs.mdwn
+++ b/hurd/translator/ext2fs.mdwn
@@ -1,4 +1,4 @@
-[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 2012 Free Software
+[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 2012, 2013 Free Software
Foundation, Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
@@ -89,6 +89,42 @@ small backend stores, like floppy devices.
<youpi> which can be quite probable
+#### [[libpager]] API change
+
+##### IRC, freenode, #hurd, 2013-03-04
+
+ <braunr> youpi: i don't remember exactly your answer when i asked about
+ considering the ext2 large store patch for merging
+ <youpi> there's just an API change that it introduces
+ <youpi> but otherwise I'd say we should just do it
+ <braunr> ok
+ <youpi> I've just checked the API change again
+ <youpi> it's simply adding a notify_on_evict parameter
+ <youpi> and a pager_notify_evict callback
+ <braunr> yes
+ <youpi> I'd say we mostly need to polish this
+ <youpi> ah, there is the same parameter on diskfs_start_disk_pager
+
+
+#### `EXT2FS_DEBUG`
+
+##### IRC, freenode, #hurd, 2013-03-04
+
+ <braunr> youpi: do we want EXT2FS_DEBUG defined upstream ?
+ <youpi> I don't really have an opinion on this
+ <youpi> stuffing it in the large store patch is not good of course
+ <youpi> I wonder whether we want it by default.
+ <braunr> it is currently defined by the patch
+ <braunr> (in the debian package i mean)
+ <youpi> I've just seen that yes
+ <braunr> i won't include it upstream, and if we decide to keep this
+ behaviour, we can add a patch just for that
+ <braunr> or a define
+ <braunr> err
+ <braunr> a configure option
+ <youpi> ok
+
+
## Sync Interval
[[!tag open_issue_hurd]]
diff --git a/hurd/translator/pfinet/ipv6.mdwn b/hurd/translator/pfinet/ipv6.mdwn
index 95629b8b..42ee3c55 100644
--- a/hurd/translator/pfinet/ipv6.mdwn
+++ b/hurd/translator/pfinet/ipv6.mdwn
@@ -1,5 +1,5 @@
-[[!meta copyright="Copyright © 2007, 2008, 2010, 2012 Free Software Foundation,
-Inc."]]
+[[!meta copyright="Copyright © 2007, 2008, 2010, 2012, 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
@@ -94,3 +94,67 @@ Amongst other things, support for [[IOCTL]]s is missing.
<gnu_srs> There is one already:
http://www.gnu.org/software/hurd/community/gsoc/project_ideas/tcp_ip_stack.html
<braunr> personally, i'd advocate resuing code from netbsd
+
+
+### IRC, freenode, #hurd, 2013-02-23
+
+ <braunr> we're beginning to seriously lack ipv6 though
+ <youpi> what is the actual problem?
+ <youpi> (again)
+ <youpi> lack?
+ <youpi> we do have ipv6 working
+ <braunr> i couldn't have it work with public addresses
+ <youpi> uh?
+ <youpi> I believe it worked for me
+ <braunr> yes i told you a few months back
+ <gnu_srs> braunr reported recently that v6 did not work as expected?
+ <youpi> I don't remember about that (and my inbox neither)
+ <braunr> it was only on irc
+ <braunr> routing would be nice to have too
+ <braunr> the stack can do it but we lack the interface
+ <braunr> anyway, there would be benefits on working on it, but what we have
+ now is fine and again, there are priorities
+ <youpi> braunr: it seems ndp doesn't work indeed, I wonder why, it was
+ working for me
+ <braunr> that's what i found too
+ <braunr> there have been other additions to the ipv6 spec over time, i
+ don't know what else we might be lacking
+ <youpi> ndp is elder
+ <braunr> yes ndp isn't lacking
+ <youpi> and pfinet *does* actually do ndp :)
+ <braunr> that's a different issue
+ <braunr> my debugging session ended in the routing code
+ <braunr> and i didn't investigate further
+ <youpi> braunr: it seems the BPF filter on /dev/eth0 doesn't include IPv6
+ frames
+ <youpi> that'd explain that it worked before but not any more
+ <braunr> oh
+ <braunr> good
+ <braunr> i'd love to assign global addresses to our VMs :)
+ <youpi> ok, it goes through, there is just a remaining multicast join issue
+ <youpi> yep, ethernet_set_multi is empty :)
+ <youpi> ok, enabling ALLMULTI was enough to fix it
+ <youpi> you can ping6 2001:910:1059:2:5054:00ff:fe12:3456 :)
+
+
+## IRC, freenode, #hurd, 2013-01-13
+
+ <youpi> gnu_srs, gnu_srs1: fyi, I'm having a look at cherry-picking the
+ v6only option from linux
+
+
+### IRC, freenode, #hurd, 2013-02-23
+
+ <gnu_srs> youpi: From when is the Linux
+ 524354b4d086a4f013343d727eaccb7b4c39eb25 commit (IPV6_V6ONLY)?
+ <youpi> which repo?
+ <youpi> I don't have such commit here
+ <gnu_srs>
+ http://git.savannah.gnu.org/cgit/hurd/hurd.git/commit/?id=2b2d7fdc42475019e5ce3eabc9c9673e3c13d89f
+ <gnu_srs> From which release, 2.4.x, 2.6.x?
+ <youpi> it's very old
+ <youpi> 2002
+ <youpi> it's not in the current linux git tree, but in the "history" tree
+ <youpi> I don't remember its url
+ <braunr> git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
+ <braunr> might be even older
diff --git a/hurd/translator/procfs/jkoenig/discussion.mdwn b/hurd/translator/procfs/jkoenig/discussion.mdwn
index 84d3c4c6..d26f05f9 100644
--- a/hurd/translator/procfs/jkoenig/discussion.mdwn
+++ b/hurd/translator/procfs/jkoenig/discussion.mdwn
@@ -340,3 +340,26 @@ filing these:
https://enc.com.au/2012/09/careful-with-pids/'
<pinotree> ?
<youpi> nope
+
+
+# CPU Usage
+
+## IRC, freenode, #hurd, 2013-01-30
+
+ <gnu_srs> Hi, htop seems to report CPU usage correct, but not top, is that
+ a known issue?
+ <youpi> does your /proc have the -c flag?
+ <gnu_srs> /hurd/procfs -c
+ <youpi> I don't remember which way it works, but iirc depending on whether
+ -c is there or not, it will work or not
+ <youpi> problem being that nothing says linux' clock is 100Hz, but a lot of
+ programs assume it
+ <gnu_srs> seems like htop gets it right though
+ <youpi> possibly just by luc
+ <youpi> k
+
+
+### IRC, freenode, #hurd, 2013-01-31
+
+ <braunr> both htop and top seem to have problems report the cpu time
+ <braunr> so i expect the problem to be in procfs