From c23af07ba162354c913022f7b47f0620328b6ea5 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 18 Feb 2012 22:49:47 +0100 Subject: Typo, Arch link --- hurd/dde/guide.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hurd/dde') diff --git a/hurd/dde/guide.mdwn b/hurd/dde/guide.mdwn index 6a83519c..9dd9fc67 100644 --- a/hurd/dde/guide.mdwn +++ b/hurd/dde/guide.mdwn @@ -197,7 +197,7 @@ in the boottime grub menu while testing.) Once there, set up the translators for the driver (as root): - $ settrans -c /dev/forcedeth /hurd/dde/forcedeth + $ settrans -c /dev/forcedeth /hurd/dde/dde_forcedeth $ settrans -c /dev/eth0 /hurd/dde/devnode -M /dev/forcedeth eth0 @@ -211,3 +211,5 @@ see the normal network setup documentation. The only differences here are the different location of the pfinet binary, and the different syntax for the -i option. + +Check Arch/Hurd recipe on git://projects.archhurd.org/packages.git -- cgit v1.2.3 From 0a895585c00617fe52d9749c5d82214e8eb788a8 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 21 Feb 2012 20:23:13 +0100 Subject: Document what is not useful any more with the Debian packages --- hurd/dde/guide.mdwn | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'hurd/dde') diff --git a/hurd/dde/guide.mdwn b/hurd/dde/guide.mdwn index 9dd9fc67..b8b117e4 100644 --- a/hurd/dde/guide.mdwn +++ b/hurd/dde/guide.mdwn @@ -22,9 +22,14 @@ The whole process is much more cumbersome otherwise. It also assumes that apart from networking, your Hurd system is already installed and operational. +Debian now already includes dde support in both gnumach (>= +2:1.3.99.dfsg.git20120219-1) and hurd (>= 20120219-1), so in the steps below, +building gnumach will not be needed. Also, be sure to use the dde-debian branch +instead of dde. + We start by booting into Debian GNU/Linux, -so we can download everything we will need for building DDE. +so we can download everything we will need for building DDE. If you have already a way to download things from the Hurd image, skip to "Get DDE code" below. Once there, first mount the Hurd partition (as root): @@ -60,6 +65,9 @@ Get DDE code: $ mkdir dde && cd dde +Note: here, use dde-debian instead of dde if you have gnumach >= +2:1.3.99.dfsg.git20120219-1 already installed and running. + $ git clone git://git.sv.gnu.org/hurd/incubator.git -b dde hurd $ git clone git://git.sv.gnu.org/hurd/gnumach.git -b master-user_level_drivers @@ -113,7 +121,7 @@ Make sure we can build stuff as normal user: Now you can log in with the normal user account to build stuff. -Build a DDE-enabled Mach: +Build a DDE-enabled Mach. Not needed if you have gnumach >= 2:1.3.99.dfsg.git20120219-1 already installed and running: $ cd ~me/dde/gnumach @@ -123,7 +131,7 @@ Build a DDE-enabled Mach: If not already present in DDE, -we need to prepare the driver for the network card: +we need to prepare the driver for the network card (else, skip to "Having prepared the driver" below): $ cd ~me/dde/hurd @@ -166,7 +174,7 @@ we can now build the necessary Hurd and DDE bits: $ mkdir -p hurd/include/ddekit # workaround for a buildsystem bug... XXX I'm pretty sure this is not necessary anymore - $ make libddekit libmachdev devnode pfinet # Hurd components + $ make libddekit libmachdev devnode pfinet # Hurd components. This is not needed if you have hurd >= 20120219-1 already installed and running. $ cd libdde_linux26 # common DDE driver code -- uses a different Makefile system than the Hurd components! -- cgit v1.2.3 From 325d6397d78b289bc9781a54897aa3d73b9134bd Mon Sep 17 00:00:00 2001 From: jd823592 Date: Tue, 21 Feb 2012 21:24:32 +0100 Subject: --- hurd/dde/guide.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd/dde') diff --git a/hurd/dde/guide.mdwn b/hurd/dde/guide.mdwn index b8b117e4..fce7af45 100644 --- a/hurd/dde/guide.mdwn +++ b/hurd/dde/guide.mdwn @@ -90,7 +90,7 @@ the right source file from Linux: Point a (JavaScript-capable) web browser at - http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.29.y.git;a=tree;f=drivers/net;hb=HEAD + http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=blob_plain;f=drivers/net/forcedeth.c;h=df0794e8557654f81fdf08e3d199365474cf5ee2;hb=refs/heads/linux-2.6.29.y (Note: you **have** to use 2.6.29, as this is the version DDE is currently based on.) -- cgit v1.2.3 From 6ba08fb63eb80ea904f5255b1a0591d886b718e9 Mon Sep 17 00:00:00 2001 From: jd823592 Date: Tue, 21 Feb 2012 21:35:45 +0100 Subject: --- hurd/dde/guide.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd/dde') diff --git a/hurd/dde/guide.mdwn b/hurd/dde/guide.mdwn index fce7af45..b91915d9 100644 --- a/hurd/dde/guide.mdwn +++ b/hurd/dde/guide.mdwn @@ -90,7 +90,7 @@ the right source file from Linux: Point a (JavaScript-capable) web browser at - http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=blob_plain;f=drivers/net/forcedeth.c;h=df0794e8557654f81fdf08e3d199365474cf5ee2;hb=refs/heads/linux-2.6.29.y + http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=tree;f=drivers/net;h=57a91d6e290fd906281a2736bcc2894877c0c777;hb=refs/heads/linux-2.6.29.y (Note: you **have** to use 2.6.29, as this is the version DDE is currently based on.) -- cgit v1.2.3 From fce6e18424f764caaa8d3b94b5d994b3ef514f7b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 21 Feb 2012 21:42:32 +0100 Subject: document that whichever 2.6.29.y is fine --- hurd/dde/guide.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hurd/dde') diff --git a/hurd/dde/guide.mdwn b/hurd/dde/guide.mdwn index b8b117e4..0e88f1ff 100644 --- a/hurd/dde/guide.mdwn +++ b/hurd/dde/guide.mdwn @@ -92,8 +92,8 @@ Point a (JavaScript-capable) web browser at http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.29.y.git;a=tree;f=drivers/net;hb=HEAD -(Note: you **have** to use 2.6.29, -as this is the version DDE is currently based on.) +(Note: you **have** to use some 2.6.29.y (whatever the y, prefer the latest), as +this is the version DDE is currently based on.) Find the right file to download (forcedeth.c in this example); -- cgit v1.2.3 From c71b0b1470bb92920693baeb1659b81824e51cfc Mon Sep 17 00:00:00 2001 From: jd823592 Date: Tue, 21 Feb 2012 22:01:59 +0100 Subject: Hopefully the right source for the net drivers from linux kernel 2.6.29 --- hurd/dde/guide.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd/dde') diff --git a/hurd/dde/guide.mdwn b/hurd/dde/guide.mdwn index 64f843dd..8f8441bd 100644 --- a/hurd/dde/guide.mdwn +++ b/hurd/dde/guide.mdwn @@ -90,7 +90,7 @@ the right source file from Linux: Point a (JavaScript-capable) web browser at - http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=tree;f=drivers/net;h=57a91d6e290fd906281a2736bcc2894877c0c777;hb=refs/heads/linux-2.6.29.y + http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=tree;f=drivers/net;hb=refs/heads/linux-2.6.29.y (Note: you **have** to use some 2.6.29.y (whatever the y, prefer the latest), as this is the version DDE is currently based on.) -- cgit v1.2.3 From c3c4e7e8961cc9fb320b86be95e018ea97262603 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 21 Feb 2012 23:12:48 +0100 Subject: Update --- hurd/dde/guide.mdwn | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'hurd/dde') diff --git a/hurd/dde/guide.mdwn b/hurd/dde/guide.mdwn index 8f8441bd..08fcc459 100644 --- a/hurd/dde/guide.mdwn +++ b/hurd/dde/guide.mdwn @@ -113,7 +113,7 @@ Once there, install the packages previously downloaded (again as root): $ apt-get build-dep hurd gnumach - $ apt-get install git-core build-essential libpciaccess-dev libpcap0.8-dev + $ apt-get install git-core build-essential libpciaccess-dev libpcap0.8-dev hurd-dev zlib1g-dev Make sure we can build stuff as normal user: @@ -172,8 +172,6 @@ we can now build the necessary Hurd and DDE bits: $ autoreconf -i && ./configure - $ mkdir -p hurd/include/ddekit # workaround for a buildsystem bug... XXX I'm pretty sure this is not necessary anymore - $ make libddekit libmachdev devnode pfinet # Hurd components. This is not needed if you have hurd >= 20120219-1 already installed and running. $ cd libdde_linux26 # common DDE driver code -- uses a different Makefile system than the Hurd components! -- cgit v1.2.3 From cb0d7e06b21b46ff2d38c682e144d265a69bfb08 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 21 Feb 2012 23:17:29 +0100 Subject: packages are also needed during offline apt --- hurd/dde/guide.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd/dde') diff --git a/hurd/dde/guide.mdwn b/hurd/dde/guide.mdwn index 08fcc459..dbd90f41 100644 --- a/hurd/dde/guide.mdwn +++ b/hurd/dde/guide.mdwn @@ -57,7 +57,7 @@ Download the packages for offline installation: $ apt-get -c etc/apt/apt.conf.offline build-dep hurd gnumach - $ apt-get -c etc/apt/apt.conf.offline install git-core build-essential libpciaccess-dev libpcap0.8-dev + $ apt-get -c etc/apt/apt.conf.offline install git-core build-essential libpciaccess-dev libpcap0.8-dev hurd-dev zlib1g-dev Get DDE code: -- cgit v1.2.3 From 87c37c0de41f080ae0f91be7bbd7bb373f0c314c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 22 Feb 2012 23:30:58 +0100 Subject: Also start the translator immediately, to get debugging messages --- hurd/dde/guide.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hurd/dde') diff --git a/hurd/dde/guide.mdwn b/hurd/dde/guide.mdwn index dbd90f41..92f54f94 100644 --- a/hurd/dde/guide.mdwn +++ b/hurd/dde/guide.mdwn @@ -203,14 +203,14 @@ in the boottime grub menu while testing.) Once there, set up the translators for the driver (as root): - $ settrans -c /dev/forcedeth /hurd/dde/dde_forcedeth + $ settrans -cap /dev/forcedeth /hurd/dde/dde_forcedeth - $ settrans -c /dev/eth0 /hurd/dde/devnode -M /dev/forcedeth eth0 + $ settrans -cap /dev/eth0 /hurd/dde/devnode -M /dev/forcedeth eth0 Finally, we can set up the actual network translator, using something like: - $ settrans -c /servers/socket/2 /hurd/dde/pfinet -i /dev/eth0 -a 192.168.1.194 -g 192.168.1.254 -m 255.255.255.0 + $ settrans -cap /servers/socket/2 /hurd/dde/pfinet -i /dev/eth0 -a 192.168.1.194 -g 192.168.1.254 -m 255.255.255.0 For the exact syntax, see the normal network setup documentation. -- cgit v1.2.3 From f08826f63374bb72c23d0f70e76963c0c4a7d2fd Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 23 Feb 2012 01:53:45 +0100 Subject: Make warning about mixture fatter --- hurd/dde/guide.mdwn | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'hurd/dde') diff --git a/hurd/dde/guide.mdwn b/hurd/dde/guide.mdwn index 92f54f94..0cea6655 100644 --- a/hurd/dde/guide.mdwn +++ b/hurd/dde/guide.mdwn @@ -66,7 +66,8 @@ Get DDE code: $ mkdir dde && cd dde Note: here, use dde-debian instead of dde if you have gnumach >= -2:1.3.99.dfsg.git20120219-1 already installed and running. +2:1.3.99.dfsg.git20120219-1 already installed and running. Otherwise you will +get "vm_allocate_contiguous: (ipc/mig) bad request message ID" error messages. $ git clone git://git.sv.gnu.org/hurd/incubator.git -b dde hurd @@ -205,6 +206,11 @@ Once there, set up the translators for the driver (as root): $ settrans -cap /dev/forcedeth /hurd/dde/dde_forcedeth +If that spews error "vm_allocate_contiguous: (ipc/mig) bad request message ID", +you are mixing things: either use the debian kernel and the dde-debian incubator +branch, or use your kernel built from the master-user_level_drivers branch and +the dde incubator branch, but don't make any mixture. + $ settrans -cap /dev/eth0 /hurd/dde/devnode -M /dev/forcedeth eth0 Finally, we can set up the actual network translator, -- cgit v1.2.3 From 42843605d20f7b85ba0b08bcd363ccdf3ceb8b6b Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 23 Feb 2012 02:14:03 +0100 Subject: skip steps when the latest package is installed --- hurd/dde/guide.mdwn | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'hurd/dde') diff --git a/hurd/dde/guide.mdwn b/hurd/dde/guide.mdwn index 0cea6655..bf41dd79 100644 --- a/hurd/dde/guide.mdwn +++ b/hurd/dde/guide.mdwn @@ -173,25 +173,25 @@ we can now build the necessary Hurd and DDE bits: $ autoreconf -i && ./configure - $ make libddekit libmachdev devnode pfinet # Hurd components. This is not needed if you have hurd >= 20120219-1 already installed and running. + $ make libddekit libmachdev devnode pfinet # Hurd components. This is not needed if you have the Debian hurd-dev >= 20120219-1 package already installed. - $ cd libdde_linux26 # common DDE driver code -- uses a different Makefile system than the Hurd components! + $ make -C libdde_linux26 # common DDE driver code -- uses a different Makefile system than the Hurd components! This is not needed if you have the Debian hurd-dev >= 20120219-2 package already installed. - $ make +If you have the Debian hurd-dev >= 20120219-2 package already installed (and thus skipped the previous steps), run: - $ cd ../dde_forcedeth # actual driver + $ make -C dde_forcedeth PKGDIR=/usr/share/libdde_linux26 # actual driver - $ make +otherwise, after doing the previous steps, use: -Install the various built components to their final destinations (as root): + $ make -C dde_forcedeth # actual driver + +Install the various built components to their final destinations (as root). You only need to install dde_forcedeth if you are already running the Debian gnumach >= 2:1.3.99.dfsg.git20120219-1 and hurd-dev >= 20120219-1 packages: $ cd ~me/dde/ $ cp gnumach/gnumach /boot/gnumach_dde - $ mkdir /hurd/dde - - $ cp hurd/devnode/devnode hurd/pfinet/pfinet hurd/dde_forcedeth/dde_forcedeth /hurd/dde + $ cp hurd/devnode/devnode hurd/pfinet/pfinet hurd/dde_forcedeth/dde_forcedeth /hurd Now everything should be ready. @@ -204,19 +204,19 @@ in the boottime grub menu while testing.) Once there, set up the translators for the driver (as root): - $ settrans -cap /dev/forcedeth /hurd/dde/dde_forcedeth + $ settrans -cap /dev/forcedeth /hurd/dde_forcedeth If that spews error "vm_allocate_contiguous: (ipc/mig) bad request message ID", you are mixing things: either use the debian kernel and the dde-debian incubator branch, or use your kernel built from the master-user_level_drivers branch and the dde incubator branch, but don't make any mixture. - $ settrans -cap /dev/eth0 /hurd/dde/devnode -M /dev/forcedeth eth0 + $ settrans -cap /dev/eth0 /hurd/devnode -M /dev/forcedeth eth0 Finally, we can set up the actual network translator, using something like: - $ settrans -cap /servers/socket/2 /hurd/dde/pfinet -i /dev/eth0 -a 192.168.1.194 -g 192.168.1.254 -m 255.255.255.0 + $ settrans -cap /servers/socket/2 /hurd/pfinet -i /dev/eth0 -a 192.168.1.194 -g 192.168.1.254 -m 255.255.255.0 For the exact syntax, see the normal network setup documentation. -- cgit v1.2.3