<kc version="0.1.0"> 
 
<headquote><a href="http://www.cs.utah.edu/projects/flux/mach4/html/">Mach 
4</a> | <a href="http://www.gnu.org/software/hurd/hurd.html">Hurd Servers</a> 
| <a href="http://www.gnu.org/software/hurd/debian-gnu-hurd.html">Debian Hurd 
Home</a> | <a href="http://www.debian.org/ports/hurd/hurd-faq">Debian Hurd 
FAQ</a> | <a href="http://lists.debian.org/#debian-hurd">debian-hurd 
List Archives</a> | <a 
href="http://mail.gnu.org/pipermail/bug-hurd/">bug-hurd List Archives</a> | 
<a href="http://mail.gnu.org/pipermail/help-hurd/">help-hurd List Archive</a> | 
<a href="http://www.gnu.org/software/hurd/reference-manual.html">Hurd Reference 
Manual</a> | <a href="http://pick.sel.cam.ac.uk/~mcv21/hurd.html">Hurd 
Installation Guide</a> | <a 
href="http://pages.hotbot.com/sf/igorkh/gnumach-cross.txt">Cross-Compiling 
GNUMach</a> | <a 
href="http://www.urbanophile.com/arenn/hacking/hurd/hurd-hardware.html">Hurd 
Hardware Compatibility Guide</a></headquote> 
 
<title>Hurd Traffic</title> 
 
<author contact="mailto:paule@chem.gla.ac.uk">Paul Emsley</author> 
 
<issue num="107" date="10 Sep 2001 23:00:00 -0800" /> 


<section
  title="update-rc.d Gets Moved"
  subject="dpkg problems"
  archive="http://lists.debian.org/debian-hurd/2001/debian-hurd-200109/msg00000.html"
  posts="10"
  startdate="31 Aug 2001 22:49:47 -0800"
  enddate="07 Sep 2001 05:36:56 -0800"
>
<topic>Apt</topic>

<mention>Wichert Akkerman</mention>
<mention>Marcus Brinkmann</mention>

<p>Phil Charles tried to install the new dpkg
(dpkg_1.9.17_hurd-i386.deb) but experienced problems with
<b>update-rc.d</b>. Marcus Brinkmann noted that Wichert Akkerman had
moved update-rc.d from dpkg to sysvinit (which GNU/Hurd does not
use).  Marcus' solution was to put a copy of update-rc.d into the Hurd
package.</p>


<p>Joachim Nilsson was first to note the problems with this: <quote
who="Joachim Nilsson">apt-get today first upgraded dpkg to 1.9.17 and
then wanted to upgrade the Hurd package. I got a basic catch-22
situation since the new dpkg wanted update-rc.d in the Hurd, but the
Hurd was not going to be installed.</quote></p>

<p>Joachim suggesed this work around:</p>
<ul>
<li># touch /usr/sbin/update-rc.d</li>
<li># chmod +x /usr/sbin/update-rc.d</li>
<li># apt-get upgrade</li>
</ul>

<p>Alternatively, Marcus said that it should work OK if the Hurd is
upgraded first (using --force-overwrite).  </p>


</section>

<section
  title="X With i815 Mobo"
  subject="Putting X on the hurd"
  archive="http://lists.debian.org/debian-hurd/2001/debian-hurd-200109/msg00016.html"
  posts="4"
  startdate="03 Sep 2001 04:23:57 -0800"
  enddate="03 Sep 2001 07:30:41 -0800"
>

<p>Kapil Hari Paranjape asked if anyone with an i815-based had got X
working on GNU/Hurd.  The answer was no, because the XFree86 X server
needs the agpgart (Linux) kernel module. Marcus Brinkman mused briefly
about how to add such (framebuffer) support to Mach/OSKit for the Hurd.</p>


<p>Sounds like a project.</p>


</section>


<section
  title="Removing The CD"
  subject="Can't remove cd"
  archive="http://lists.debian.org/debian-hurd/2001/debian-hurd-200109/msg00022.html"
  posts="8"
  startdate="03 Sep 2001 13:36:51 -0800"
  enddate="03 Sep 2001 20:38:40 -0800"
>

<mention>Alexey Dejneka</mention>

<p>Tristan had problems removing his CD.  The usual method (settrans
-afg /cdrom, then settrans -afg /dev/hd2) did not work. After getting
round to mentioning his gnumach version, Marcus pointed out that he
needed the cdromlock patch from Alexey Dejneka (who had fixed OSKit). </p>

</section>

<section
  title="OSKit-Mach Network Issues"
  subject="oskit-mach &amp; oskit-20010214: network"
  archive="http://mail.gnu.org/pipermail/bug-hurd/2001-September/005190.html"
  posts="5"
  startdate="25 Aug 2001 06:43:24 -0800"
  enddate="07 Sep 2001 00:16:54 -0800"
>

<p>Last week Daniel Wagner wrote a program to diagnose his misbehaving
(oskit-mach-based) network. This week Daniel writes: <quote
who="Daniel Wagner">my test program seems to work on the gnumach. On
oskit-mach also. So it is clear, that the receipt of a packet is the
problem. I'm trying to figure out how to write the receive
part. </quote> </p>

<p>Packet reception, according to Roland McGrath, is more complex
because it is a callback message. </p>

<p>Later, Daniel wrote: </p>

<quote who="Daniel Wagner">

<p>No packets are received because net_bh in
oskit-20010214/linux/dev/net_glue.c is never called. </p>

<p>netif_rx (in the same file) sets as a last command the NET_BH flag,
in order to inform the interupthandler that net_bh should be
called. That's my understanding of the things. </p>
 </quote>


<p>Roland thought that the oskit code that Linux bh maps onto had
changed and advised Daniel:</p>
<quote who="Roland McGrath">

<p>You need to override the osenv_softirq_* functions with a new
implementation in oskit-mach/oskit/ that works by calling setsoftclock()
and have softclock_oskit check the software interrupt state and call its
handlers.  For disable/enable softintr you can use splsoftclock/splx
similar to osenv_intr_* (in oskit-mach/oskit/osenv_synch.c)--actually
nothing in the oskit calls those entry points.
 </p>

<p>You don't really have to make these osenv callback functions fully general
to handle any possible call according to their interface.  In oskit code
code we are using for oskit-mach, there is only this one called in the
linux net driver glue code and so handling what that needs is sufficient.
 </p>

</quote>  

</section>

<section
  title="Making The GNU Mach Reference Manual"
  subject="help needed with mach.texi"
  archive="http://mail.gnu.org/pipermail/bug-hurd/2001-September/005188.html"
  posts="5"
  startdate="03 Sep 2001 12:03:19 -0800"
  enddate="04 Sep 2001 09:22:58 -0800"
>

<mention>Marcus Brinkmann</mention>

<p>Marcus Brinkmann said that he needed someone to incorporate the CMU
Mach manual pages into a GNU Mach reference manual. Douglas Hanks
volunteered. </p>


</section>

<section
  title="More ptys Needed"
  subject="getpt() weirdness?"
  archive="http://mail.gnu.org/pipermail/bug-hurd/2001-September/005202.html"
  posts="5"
  startdate="06 Sep 2001 17:51:59 -0800"
  enddate="07 Sep 2001 14:15:06 -0800"
>

<mention>Thomas Bushnell</mention>
<mention>Roland McGrath</mention>

<p>Gergely Nagy found that he could not open more than 16 aterms and
investigated further. The problem was that not enough ptys were being
created at install-time by MAKEDEV that matched what getpt was
looking for (i.e. only /dev/ptyp[0-f]). </p>

<p>Roland McGrath altered the Hurd's MAKEDEV script to make
pty?[0-9a-v] to satisfy getpt. Roland and Thomas Bushnell agreed that
it would be a good idea if MAKEDEV is run in postinstall after a Hurd
upgrade. </p>

</section>


</kc> 
