diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/console.mdwn | 4 | ||||
-rw-r--r-- | hurd/faq/still_useful.mdwn | 46 | ||||
-rw-r--r-- | hurd/libstore/part.mdwn | 26 | ||||
-rw-r--r-- | hurd/ng/discussion.mdwn | 13 | ||||
-rw-r--r-- | hurd/porting/guidelines.mdwn | 8 | ||||
-rw-r--r-- | hurd/running.mdwn | 5 | ||||
-rw-r--r-- | hurd/running/debian/MediaPressKitDiscuss.mdwn | 2 | ||||
-rw-r--r-- | hurd/running/debian/faq.mdwn | 5 | ||||
-rw-r--r-- | hurd/running/debian/package_troubleshooting.mdwn | 4 | ||||
-rw-r--r-- | hurd/running/debian/porting.mdwn | 6 | ||||
-rw-r--r-- | hurd/running/faq.mdwn | 20 | ||||
-rw-r--r-- | hurd/running/faq/native-install_doesnt_finish.mdwn | 24 | ||||
-rw-r--r-- | hurd/running/gnu.mdwn | 14 | ||||
-rw-r--r-- | hurd/running/qemu.mdwn | 8 | ||||
-rw-r--r-- | hurd/status.mdwn | 8 | ||||
-rw-r--r-- | hurd/status/hurd-fvwm-screenshot-2009-11-12.png | bin | 0 -> 195807 bytes | |||
-rw-r--r-- | hurd/translator/storeio.mdwn | 2 | ||||
-rw-r--r-- | hurd/translator/tmpfs/notes_various.mdwn | 4 |
18 files changed, 171 insertions, 28 deletions
diff --git a/hurd/console.mdwn b/hurd/console.mdwn index 3895531b..4f976efd 100644 --- a/hurd/console.mdwn +++ b/hurd/console.mdwn @@ -16,10 +16,6 @@ The latest Hurd package in Debian has all that is needed to run (dunno about hur Additional information about the console can be found in the [Hurd Console Tutorial](http://uwhug.org.uk/index.pl?Hurd_Console_Tutorial) -## <a name="Table_of_Contents"> Table of Contents </a> - -%TOC% - ## <a name="What_is_the_new_console_"> What is the new console? </a> **_The new Hurd console features:_** diff --git a/hurd/faq/still_useful.mdwn b/hurd/faq/still_useful.mdwn new file mode 100644 index 00000000..bffeaebd --- /dev/null +++ b/hurd/faq/still_useful.mdwn @@ -0,0 +1,46 @@ +[[!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]]."]]"""]] + +what are the advantages with the Hurd over Linux, in general of course, nothing +in depth + +> Flexibility for the user: +> +> transparent ftp +> +> $ cd /ftp://ftp.debian.org/debian +> $ ls +> +> personnal filesystem +> +> $ dd < /dev/zero > myspace.img bs=1M count=1024 +> $ mke2fs myspace.img +> $ settrans myspace /hurd/ext2fs myspace.img +> $ cd myspace + +>> Just curious, but I keep seeing these (and other similar) concepts being +>> brought up as the amazing selling points of the Hurd, but all of this is +>> entirely doable now in Linux with FUSE or things like it. + +>>> Nowadays, at LAST, yes, partly. + +>> I'm not sure if an ftp filesystem has been implemented for FUSE yet, but its +>> definately doable; and loopback filesystems like in your second example have +>> been supported for years. + +>>> As a normal user? And establish a tap interface connected through ppp over +>>> ssh or whatever you could want to imagine? + +>> What, then, are the major selling points or benefits? + +>>> These were just examples, Linux is trying to catch up in ugly ways indeed +>>> (yes, have a look at the details of fuse, it's deemed to be inefficient). +>>> In the Hurd, it's that way from the _ground_ and there is no limitation +>>> like having to be root or ask for root to add magic lines, etc. diff --git a/hurd/libstore/part.mdwn b/hurd/libstore/part.mdwn new file mode 100644 index 00000000..5d727ad8 --- /dev/null +++ b/hurd/libstore/part.mdwn @@ -0,0 +1,26 @@ +[[!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="part store"]] + +`part.c` + +Written by Neal in 2001, 2002. + +Useful if the microkernel / [[DDE]] / [[microkernel/mach/gnumach/ports/Xen]] +doesn't export *partition devices*, but only *raw* devices. + +Neal: + +> The motivation was to be able to evict the partitioning logic from Mach. + +--- + +TODO: How to use, etc. diff --git a/hurd/ng/discussion.mdwn b/hurd/ng/discussion.mdwn new file mode 100644 index 00000000..d4632bd5 --- /dev/null +++ b/hurd/ng/discussion.mdwn @@ -0,0 +1,13 @@ +[[!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]]."]]"""]] + +To go beyond research project Hurd have to support thousands of various programs running on GNU/Linux nowadays. +It looks like ExoKernel approach http://pdos.csail.mit.edu/exo.html might be useful here. +Does somebody tried to look into something like Hurd exokernel + liblinux? diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn index 5fd66292..bcfc8dd5 100644 --- a/hurd/porting/guidelines.mdwn +++ b/hurd/porting/guidelines.mdwn @@ -149,10 +149,6 @@ by error_t err = error_t(EINTR); -## <a name="Filenames_ending_in_a_slash_"> Filenames ending in a slash \`/' </a> - -Those are evil if they don't exist and you want to name a directory this way. For example, `mkdir foobar/` will not work on GNU. This is POSIX compatible. POSIX says that the path of a directory may have slashes appended to it. But the directory does not exist yet, so the path does not refer to a directory, and hence trailing slashes are not guaranteed to work. Just drop the slashes, and you're fine. - ## <a name="Missing_termio_h_tt_"> Missing `termio.h` </a> Change it to use `termios.h` (check for it properly with autoconf `HAVE_TERMIOS_H` or the `__GLIBC__` macro) @@ -233,6 +229,6 @@ Not implemented, will always fail. Use `sem_init()` instead if possible. Not implemented, not POSIX. Try to disable the feature in the package. -## <a name="broken_libc6_dependency"> broken libc6 dependency </a> +## <a name="parport"> <linux/parport.h> <linux/ppdev.h> </a> -Some packages use an erroneous dependency on `libc6-dev`. This is incorrect because `libc6` is specific to GNU/Linux. The corresponding package for GNU is `libc0.3-dev` but other OSes will have different ones. You can locate the problem in the `debian/control` file of the source tree. Typical solutions include detecting the OS using `dpkg-architecture` and hardcoding the soname, or better, use a logical OR. eg: `libc6-dev | libc0.3-dev | libc-dev`. The `libc-dev` is a virtual package that works for any soname but you have to put it only as the last option. +There is no programming interface for the parallel port on GNU/Hurd yet. diff --git a/hurd/running.mdwn b/hurd/running.mdwn index 470b5f0b..f0058625 100644 --- a/hurd/running.mdwn +++ b/hurd/running.mdwn @@ -1,4 +1,5 @@ -[[!meta copyright="Copyright © 2007, 2008 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2007, 2008, 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 @@ -17,4 +18,6 @@ There are several different ways to run a GNU/Hurd system: * [[vmware]] (**non-free!**) * [[FlashHurd]] - From a flash stick +* [[FAQ]] + * [[Public_hurd_boxen]] diff --git a/hurd/running/debian/MediaPressKitDiscuss.mdwn b/hurd/running/debian/MediaPressKitDiscuss.mdwn index e8b1cfff..2bd97290 100644 --- a/hurd/running/debian/MediaPressKitDiscuss.mdwn +++ b/hurd/running/debian/MediaPressKitDiscuss.mdwn @@ -1,5 +1,3 @@ -%TOC% - # <a name="Media_Press_Kit"> Media / Press Kit </a> ## <a name="Problem"> Problem </a> diff --git a/hurd/running/debian/faq.mdwn b/hurd/running/debian/faq.mdwn index 4966456a..b3bd230d 100644 --- a/hurd/running/debian/faq.mdwn +++ b/hurd/running/debian/faq.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2007 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2007, 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 @@ -10,7 +10,8 @@ is included in the section entitled [[!meta title="Debian GNU/Hurd FAQ"]] -See also the [[Hurd_FAQ|hurd/FAQ]] and [[after_install]]. +See also the [[Hurd_FAQ|/hurd/FAQ]], [[after_install]], and the [[General FAQ +About Running GNU/Hurd|/hurd/running/faq]]. [[!inline pages="hurd/running/debian/faq/* and !*/discussion" diff --git a/hurd/running/debian/package_troubleshooting.mdwn b/hurd/running/debian/package_troubleshooting.mdwn index 829af8e3..43ecbc77 100644 --- a/hurd/running/debian/package_troubleshooting.mdwn +++ b/hurd/running/debian/package_troubleshooting.mdwn @@ -1,9 +1,5 @@ This page reports known Hurd-specific bugs, quirks and corresponding solutions and workarounds with Debian GNU/Hurd package installation and working. -## <a name="Table_of_Contents"> Table of Contents </a> - -%TOC% - ## <a name="Dpkg_wants_external_programs_"> Dpkg wants external programs? </a> It may be that dpkg wants external GNU/Linux-specific programs that it can't found or that just don't exist on the Hurd. You can trick dpkg by copying and running this script as root: diff --git a/hurd/running/debian/porting.mdwn b/hurd/running/debian/porting.mdwn index baf1f045..643db0a5 100644 --- a/hurd/running/debian/porting.mdwn +++ b/hurd/running/debian/porting.mdwn @@ -19,6 +19,12 @@ messages](http://unstable.buildd.net/buildd/hurd-i386_Failed.html) can be found, as well as a [preliminary analysis](http://lists.debian.org/debian-hurd/2007/07/msg00000.html) of them and [solutions](http://lists.debian.org/debian-hurd/2007/07/msg00001.html), and some more details in [[hurd/porting/guidelines]]. [Graphs and statistics](http://people.debian.org/~sthibault/) about the consequence in terms of build dependencies are available. +There is a mailing list, +[debian-hurd-build-logs](http://lists.alioth.debian.org/mailman/listinfo/debian-hurd-build-logs), +where *builds logs from the Debian GNU/Hurd autobuilders* are posted. It is a +high-traffic and high-volume list, and for that reason *not* archived, so you +have to subscribe to see the messages. + It might be a good idea to record your intention to port something either in the list below or in the [Alioth task tracker](http://alioth.debian.org/pm/task.php?group_project_id=34&group_id=30628&func=browse) diff --git a/hurd/running/faq.mdwn b/hurd/running/faq.mdwn new file mode 100644 index 00000000..a59bce7e --- /dev/null +++ b/hurd/running/faq.mdwn @@ -0,0 +1,20 @@ +[[!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="General FAQ About Running GNU/Hurd"]] + +See also the [[Hurd FAQ|hurd/FAQ]], and the [[Debian GNU/Hurd FAQ|debian/faq]]. + +[[!inline +pages="hurd/running/faq/* and !*/discussion" +show=0 +feeds=no +actions=yes +rootpage="hurd/running/faq" postformtext="Add a new item titled:"]] diff --git a/hurd/running/faq/native-install_doesnt_finish.mdwn b/hurd/running/faq/native-install_doesnt_finish.mdwn new file mode 100644 index 00000000..a852e1dd --- /dev/null +++ b/hurd/running/faq/native-install_doesnt_finish.mdwn @@ -0,0 +1,24 @@ +[[!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]]."]]"""]] + +Copying baseGNU to the virtual disk works. Even booting got through but when I +try to run native-install it never gets to the very end. First time it froze on +*sed* package, the other time on *sysv-rc*. + +> How much memory did you configure for the [[QEMU]] system? It may simply be +> -- I've seen this myself -- that the system runs out of memory, as at the +> native-install stage (I think at least) swap is not yet configured and +> enabled. What I've been doing is: boot (with -s), MAKEDEV hdWHATEVER in +> /dev/ for the swap device, run /hurd/mach-defpager, followed by swapon +> /dev/hdWHATEVER. Does this help? + +>> Thank You very much, more memory solved the freezing. + +[[!tag open_issue_hurd]] diff --git a/hurd/running/gnu.mdwn b/hurd/running/gnu.mdwn index 26d93279..94012ef5 100644 --- a/hurd/running/gnu.mdwn +++ b/hurd/running/gnu.mdwn @@ -15,32 +15,32 @@ It is our wish and goal to establish a new direction for the GNU system distribu This is not intended to detract from Debian GNU/Hurd and we should help them where we can. -I really want this to be more of a community driven effort in the spirit of say Ubuntu. We all have different motivations and skill levels but we need a common goal to get this system going. +I really want this to be more of a community driven effort in the spirit of say, Ubuntu. We all have different motivations and skill levels but we need a common goal to get this system going. -These are just some quick notes I am making late at night. Lets clean this up. +These are just some quick notes I am making late at night. Let's clean this up. ## <a name="Motivations"> Motivations </a> 1. There is a possibility that Debian drops support for GNU/Hurd. 2. Other GNU/Linux distributions do not support the Hurd infrastructure well. -3. Benefitting from the Hurd design and using a microkernel. +3. Benefiting from the Hurd design and using a microkernel. 4. Freedom. ## <a name="Community"> Community </a> -1. Lets establish some ground rules. +1. Let's establish some ground rules. 2. We need infrastructure * Wiki for community documentation * Mailing lists like gnu-system-discuss exists for mostly technical items * IRC channels like #hug and ##hurd * Perhaps less formal and less intimidating channels and mailing lists would involve broader parts of the community 3. We need a community vision and direction. - * Lets work together for a common goal - * Lets establish goals and priorities and get resources on them. (More later) + * Let's work together for a common goal + * Let's establish goals and priorities and get resources on them. (More later) * Major goal to create a system making full use of Hurd features? * We should never hesitate to throw away existing stuff whenever it hinders us to make good use of Hurd features * However, we should try to reuse existing stuff (from Debian for example) as long as it doesn't limit our possibilities or impose considerable overhead - * Lets have fun. It's GNU and it's important but let's enjoy ourselves. + * Let's have fun. It's GNU and it's important but let's enjoy ourselves. ## Download diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index 48d87b35..b3346af1 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -43,6 +43,14 @@ Next you will want to start up QEMU and begin the installation process. The firs Now at his point do the regular install using `hd0` as your harddrive. Partition it and install the base system. Once you have finished installing the base system select the reboot option as this will ensure the disk is properly un-mounted. When the Debian CD menu comes up again simply close QEMU. Now run your image with floppy booting (`-boot a`) and finish the install (`./native-install` .. etc). +You'll want to add more memory or activate swap for `./native-install` or it will hang. +Starting qemu with `-m 512` worked for me. +Swap can be activated like this (replace hd0s2 with your swap partition): + + $ cd /dev/ + $ MAKEDEV hd0s2 + $ /hurd/mach-defpager + $ swapon /dev/hd0s2 **Important:** Older versions on gnumach needed that the `-M isapc` was passed to qemu. This is not needed anymore. diff --git a/hurd/status.mdwn b/hurd/status.mdwn index 3ee8ddcf..cd2256e3 100644 --- a/hurd/status.mdwn +++ b/hurd/status.mdwn @@ -16,13 +16,19 @@ for production use, as there are still many bugs and missing features. However, it should be a good base for further development and non-critical application usage. -The GNU system (also called GNU/Hurd) is completely self-contained +[[!img hurd-fvwm-screenshot-2009-11-12.png size=300x +alt="FVWM and Gnumeric running on GNU/Hurd" +title="FVWM and Gnumeric running on GNU/Hurd" +align="right" + +]] The GNU system (also called GNU/Hurd) is completely self-contained (you can compile all parts of it using GNU itself). You can run several instances of the Hurd in parallel, and debug even critical servers in one Hurd instance with gdb running on another Hurd instance. You can run the X window system, applications that use it, and advanced server applications like the Apache webserver. + On the negative side, the support for character devices (like sound cards) and other hardware is mostly missing. Although the POSIX interface is provided, some additional interfaces like POSIX shared diff --git a/hurd/status/hurd-fvwm-screenshot-2009-11-12.png b/hurd/status/hurd-fvwm-screenshot-2009-11-12.png Binary files differnew file mode 100644 index 00000000..445abf32 --- /dev/null +++ b/hurd/status/hurd-fvwm-screenshot-2009-11-12.png diff --git a/hurd/translator/storeio.mdwn b/hurd/translator/storeio.mdwn index e4482e65..8e26a959 100644 --- a/hurd/translator/storeio.mdwn +++ b/hurd/translator/storeio.mdwn @@ -27,4 +27,4 @@ You can even `ungzip` files on the fly (`bunzip2` is available as well): You can use the *typed store*, to create filter chains (of course this example is kind of useless since you could use the `gunzip` store directly): - settrans -ca node /hurd/storeio -T type gunzip:file:foo.gz + settrans -ca node /hurd/storeio -T typed gunzip:file:foo.gz diff --git a/hurd/translator/tmpfs/notes_various.mdwn b/hurd/translator/tmpfs/notes_various.mdwn index 01dc87d2..5e4e991c 100644 --- a/hurd/translator/tmpfs/notes_various.mdwn +++ b/hurd/translator/tmpfs/notes_various.mdwn @@ -212,3 +212,7 @@ is included in the section entitled <antrik> seems something more broke in the meantime :-( <antrik> ah, right... but I the main problem was some other change <antrik> (or maybe it never really worked, not sure anymore) + +--- + +[[!GNU_Savannah_bug 26751]] |