summaryrefslogtreecommitdiff
path: root/open_issues
diff options
context:
space:
mode:
Diffstat (limited to 'open_issues')
-rw-r--r--open_issues/glibc_ptrace.mdwn47
-rw-r--r--open_issues/grub2.mdwn21
-rw-r--r--open_issues/grub_legacy.mdwn40
-rw-r--r--open_issues/grub_legacy/grub-install.patch23
-rw-r--r--open_issues/tinyproxy.mdwn18
5 files changed, 149 insertions, 0 deletions
diff --git a/open_issues/glibc_ptrace.mdwn b/open_issues/glibc_ptrace.mdwn
new file mode 100644
index 00000000..b4c529d7
--- /dev/null
+++ b/open_issues/glibc_ptrace.mdwn
@@ -0,0 +1,47 @@
+[[!meta copyright="Copyright © 2009 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="glibc: ptrace"]]
+
+[[!tag open_issue_glibc]]
+
+`ptrace` has some issues (`sysdeps/mach/hurd/ptrace.c`).
+
+ * Our implementation (and the generic one in `misc/ptrace.c`) differ
+ from the Linux one (`sysdeps/unix/sysv/linux/ptrace.c`)
+ w.r.t. handling of...
+
+ * the third argument: `int data` vs. `void *data`;
+
+ * `void *addr2` -- Linux doesn't have this, but we provide some
+ additional functionalty using this;
+
+ * function declaration: Linux has **`long`** `int ptrace (enum
+ __ptrace_request __request, ...)` **`__THROW`**, we have `int ptrace
+ (enum __ptrace_request __request, ...)`;
+
+ * interface do differ, e.g., Linux' `PTRACE_GETREGS` uses `void
+ *data`, we use `void *addr` for returning the struct, and in
+ Linux this is a `struct user_regs_struct` from `linux/user.h`,
+ and for us it is a `struct i386_thread_state` from
+ `mach/i386/thread_status.h`;
+
+ * Linux probides some functionality that we don't provide, e.g.,
+ `PTRACE_SINGLESTEP`.
+
+ * Some parts are wrongly implemented, e.g., `PTRACE_GETREGS` and
+ `PTRACE_SETREGS` both do the same thing.
+
+ * `return` values are wrong, e.g., `return EOPNOTSUPP` should instead
+ set `errno = EOPNOTSUPP` and `return -1` in a few places (but not
+ with the three `PTRACE_PEEK*` requests.
+
+Also consider the `sysdeps/generic/sys/ptrace.h` and
+`sysdeps/unix/sysv/linux/sys/ptrace.h` files.
diff --git a/open_issues/grub2.mdwn b/open_issues/grub2.mdwn
new file mode 100644
index 00000000..235950a4
--- /dev/null
+++ b/open_issues/grub2.mdwn
@@ -0,0 +1,21 @@
+[[!meta copyright="Copyright © 2009 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="GRUB2"]]
+
+[[!tag open_issue_porting]]
+
+Just like [[GRUB (legacy)|grub_legacy]], GRUB2 needs to be ported for being
+installable when attempted to be installed *from* GNU/Hurd systems:
+
+ $ sudo grub-probe --target=device /boot/grub
+ grub-probe: error: cannot find a device for /boot/grub.
+
+Etc.
diff --git a/open_issues/grub_legacy.mdwn b/open_issues/grub_legacy.mdwn
new file mode 100644
index 00000000..cb69d10b
--- /dev/null
+++ b/open_issues/grub_legacy.mdwn
@@ -0,0 +1,40 @@
+[[!meta copyright="Copyright © 2005, 2009 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="GRUB (legacy)"]]
+
+[[!tag open_issue_porting]]
+
+Even though it is customarily used *for* booting GNU/Hurd systems, [[GRUB]],
+specifically GRUB legacy (which is still in wide-spread use, despite that
+rather depricative nickname), has never been ported to be installable when
+attempted to be installed *from* GNU/Hurd systems:
+
+ # grub-install \(hd0\)
+ df: Warning: cannot read table of mounted filesystems
+ df: Warning: cannot read table of mounted filesystems
+ Could not find device for /boot: Not found or not a block device.
+
+There is a patch, [[grub-install.patch]], to fix that.
+
+
+`grub-install`, however, still fails while invoking `grub`:
+
+ # grub-install \(hd0\)
+ The file /boot/grub/stage1 not read correctly.
+
+ # grub
+ [...]
+ grub> dump (hd0,0)/boot/grub/stage1 /tmp/grub_stage1
+
+ Error 18: Selected cylinder exceeds maximum supported by BIOS
+
+
+The successor, [[GRUB2]], also needs to be ported.
diff --git a/open_issues/grub_legacy/grub-install.patch b/open_issues/grub_legacy/grub-install.patch
new file mode 100644
index 00000000..3f6341b4
--- /dev/null
+++ b/open_issues/grub_legacy/grub-install.patch
@@ -0,0 +1,23 @@
+2005-08-23 Thomas Schwinge <tschwinge@gnu.org>
+
+ * grub-install (find_device): Rough port for GNU/Hurd.
+
+
+--- grub-install.orig 2005-08-23 16:56:02.000000000 +0200
++++ grub-install 2005-08-23 17:01:55.000000000 +0200
+@@ -263,7 +263,14 @@
+ find_device () {
+ # For now, this uses the program `df' to get the device name, but is
+ # this really portable?
+- tmp_fname=`df $1/ | sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'`
++ # No. (Not even on GNU/Linux.) - Thomas Schwinge
++
++ case $host_os in
++ gnu*) # TODO: What about using multiple devices?
++ tmp_fname=`fsysopts $1/ | sed -n 's%.*device:\([^ ]*\).*%/dev/\1%p'`;;
++ *)
++ tmp_fname=`df $1/ | sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'`;;
++ esac
+
+ if test -z "$tmp_fname"; then
+ echo "Could not find device for $1" 2>&1
diff --git a/open_issues/tinyproxy.mdwn b/open_issues/tinyproxy.mdwn
new file mode 100644
index 00000000..9a4a0cfb
--- /dev/null
+++ b/open_issues/tinyproxy.mdwn
@@ -0,0 +1,18 @@
+[[!meta copyright="Copyright © 2009 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="Problem with using tinyproxy for tunneling HTTPS"]]
+
+`tinyproxy` works fine for HTTP connections, but fails to proxy HTTPS ones:
+
+ ERROR Jun 12 14:58:51 [20676]: relay_connection: select() error "Interrupted system call". Closing connection (client_fd:7, server_fd:8)
+
+This is supposedly due to the already known select bug, which is a [[!taglink
+open_issue_glibc]].