From 6d4c2caf968c838c31dc13a1bae121c85a2e294d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Fri, 22 Mar 2013 19:51:37 +0100 Subject: Add a Faq about the kernel debugging prompt --- faq/issues/got_a_db_prompt.mdwn | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 faq/issues/got_a_db_prompt.mdwn (limited to 'faq') diff --git a/faq/issues/got_a_db_prompt.mdwn b/faq/issues/got_a_db_prompt.mdwn new file mode 100644 index 00000000..0835520e --- /dev/null +++ b/faq/issues/got_a_db_prompt.mdwn @@ -0,0 +1,28 @@ +[[!meta copyright="Copyright © 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 +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="I've just gotten a db> prompt"]] + +Something bad happened in the kernel (think of it as the equivalent of the Linux +Oops). The `db>` prompt is actually the kernel debugger. You can then type the +`trace` command, which will bring you something like: + + 0x8007cf1(8088488,5e,40000008,2aa008,0) + 0x80071bc(0,0,0,0,0) + 0x8006831(24fe00,2000,b,800,0) + +Which is actually the function call trace, which can be decyphered by using: + + $ addr2line -i -f -e /boot/gnumach 0x8007cf1 0x80071bc 0x8006831 + +You can then send us the result of the `trace` and the `addr2line`, as well as +the exact version of the gnumach kernel you were running, for further +investigation. [[More information about the gnumach +debugger|microkernel/mach/gnumach/debugging]] is available. -- cgit v1.2.3 From d9f9be978c6fa257c57b72e0a58ad195f834bcc5 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 23 Mar 2013 01:07:33 +0100 Subject: Note about not-tested drivers --- faq/support/0-drivers.mdwn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'faq') diff --git a/faq/support/0-drivers.mdwn b/faq/support/0-drivers.mdwn index 974fb612..df5cd29d 100644 --- a/faq/support/0-drivers.mdwn +++ b/faq/support/0-drivers.mdwn @@ -16,3 +16,8 @@ limits hardware support a lot, of course. For network boards, we use the [[DDE]] toolkit to run linux 2.6.32 drivers in userland processes, which provides both long-term support for new hardware and safety against driver bugs. + +Note however that we have of course not tested all drivers, we obviously don't +even have all kinds of hardware. So we can not promise that they will all +work. What probably works for sure is what we usually use: the rtl8139 or e1000 +drivers for instance. -- cgit v1.2.3 From 775de89b126349a64fcb3431c21f7e12cf9d52b7 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 23 Mar 2013 11:18:37 +0100 Subject: mention xen --- faq/support/0-drivers.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'faq') diff --git a/faq/support/0-drivers.mdwn b/faq/support/0-drivers.mdwn index df5cd29d..1c6f58dc 100644 --- a/faq/support/0-drivers.mdwn +++ b/faq/support/0-drivers.mdwn @@ -15,7 +15,7 @@ Currently, for disks Mach integrates drivers from Linux 2.0 through some limits hardware support a lot, of course. For network boards, we use the [[DDE]] toolkit to run linux 2.6.32 drivers in userland processes, which provides both long-term support for new hardware and safety against driver -bugs. +bugs. Xen is also supported, both blkfront and netfront. Note however that we have of course not tested all drivers, we obviously don't even have all kinds of hardware. So we can not promise that they will all -- cgit v1.2.3 From ac26fdf5f78d0ca22d256aa7e345080a265afde6 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 23 Mar 2013 11:24:20 +0100 Subject: rework available software paragraph --- faq/support/0-software.mdwn | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'faq') diff --git a/faq/support/0-software.mdwn b/faq/support/0-software.mdwn index 324dbbef..61ae3a79 100644 --- a/faq/support/0-software.mdwn +++ b/faq/support/0-software.mdwn @@ -11,6 +11,16 @@ License|/fdl]]."]]"""]] [[!meta title="What software is available for GNU?"]] - * Most (3/4) packages from [Debian](http://www.debian.org/) [GNU/Linux](http://www.gnu.org/gnu/linux-and-gnu.html) which aren't linux-specific ([Packages That Won't Be Ported](http://www.debian.org/ports/hurd/hurd-devel-debian)) are expected to work on GNU/Hurd too. See the database in . Notably, [GNOME](http://www.gnome.org), and [KDE](http://www.kde.org) work. See the [[porting/guidelines]] document for some common build problems and their solutions. - * If you can't fetch a package with "apt-get install ", try building it from source: "apt-get source && cd <package\_dir> && debian/rules binary". - * As of March 2013, 78% of Debian packages have been ported on the Hurd. Of course, bug testing is welcome. +As of March 2013, 78% of Debian packages have been ported on the Hurd. Of +course, bug testing and fixing is welcome, as we have obviously not tested all +of them. + +Most packages from [Debian](http://www.debian.org/) +[GNU/Linux](http://www.gnu.org/gnu/linux-and-gnu.html) +which aren't linux-specific (see [Packages That Won't Be +Ported](http://www.debian.org/ports/hurd/hurd-devel-debian)) +are expected to work on GNU/Hurd too. See the database in +. Notably, [Xorg](http://www.x.org/), +[GNOME](http://www.gnome.org/), [KDE](http://www.kde.org/), firefox work. See +the [[porting/guidelines]] document for some common build problems and their +solutions. -- cgit v1.2.3 From 2cc4768895f34527ff951cdf2e3bf7a268a96cd9 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sat, 23 Mar 2013 11:35:37 +0100 Subject: small improvements --- faq/support/0-software.mdwn | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'faq') diff --git a/faq/support/0-software.mdwn b/faq/support/0-software.mdwn index 61ae3a79..9c33a4db 100644 --- a/faq/support/0-software.mdwn +++ b/faq/support/0-software.mdwn @@ -17,10 +17,11 @@ of them. Most packages from [Debian](http://www.debian.org/) [GNU/Linux](http://www.gnu.org/gnu/linux-and-gnu.html) -which aren't linux-specific (see [Packages That Won't Be +which aren't Linux-specific (see [Packages That Won't Be Ported](http://www.debian.org/ports/hurd/hurd-devel-debian)) are expected to work on GNU/Hurd too. See the database in . Notably, [Xorg](http://www.x.org/), -[GNOME](http://www.gnome.org/), [KDE](http://www.kde.org/), firefox work. See -the [[porting/guidelines]] document for some common build problems and their +[GNOME](http://www.gnome.org/), [KDE](http://www.kde.org/), +[Firefox](http://www.mozilla.org/firefox) work. See +the [[hurd/porting/guidelines]] document for some common build problems and their solutions. -- cgit v1.2.3