Re: Hurd doesn't boot with 1024 Mb RAM

2003-01-05 Thread Gerardo Pirla Diaz
Hi


  Date: Sat, 04 Jan 2003 01:41:44 +0100
  From: Gerardo Pirla Diaz <[EMAIL PROTECTED]>
  X-Accept-Language: en-us, en

  Hi James,

  First, many thanks for your help.

  The problem was the ammount of memory, but uppermem doesn't work !!!

  I've tried:

	   uppermem=131072
	   root (hd1,1)
	   kernel .

  And it causes a kernel panic !!!

A little output here would be nice.  I'm not sure how grub treats the '='
sign, but the documentation seems to suggest it should be "uppermem 131072".


   With grub-0.92 works "uppermem=131072" and "uppermem 131072" fine...
   With a previous grub's version, "uppermem 131072" doesn't work



  Pulling out a ram stick, GNU/Hurd boots OK !!!

  I've tried the grubs uppermem parameter with an L4/Fiasco kernel,
  and grub works fine (is documented L4/Fiasco that doesn't boot
  with more than 256 Mb)

Please ask on [EMAIL PROTECTED] for information on L4 and Fiasco.


   I've not found problems booting L4/Fiasco using "uppermem=131072) on
   grub. Boots OK.



  Maybe a mach/hurd BUG ??

There are many bugs in GNU Mach and in the Hurd, but we don't have enough
information so far to tell.


   Anyone could tell me how to capture the "dmesg" if I couldn't boot 
the kernel ?
   After a few seconds of static "kernel page ..." the kernel 
reboots my system.


  ---

Gerardo Pirla Diaz

James A. Morrison





 

---
 Gerardo Pirla Diaz



___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd



Re: Escape-Meta-Alt-Shift

2003-01-05 Thread M. Gerards
Quoting "Alfred M. Szmidt" <[EMAIL PROTECTED]>:

> Don't know if this is known, but it looks like GNU Mach doesn't grok
> multiple modifier keys (did it ever grok them?).  For example C-M-v
> doesn't work in Emacs.

This is not a GNU Mach problem, it is a pc-kbd problem. The string that is bound
to C-M-v looks ok for me, so do the other key bindings. If you want to fix it
have a look at line 768 of pc-kbc.c and figure out why it isn't reached (I asume
that is the problem).
 
> I haven't looked into this in any detail at all, so if someone feels
> bored, plesae do. ;-)

You can use ESC-C-v as well (but I assume you already know this). I will make
sure  my XKB plugin for the console-client doesn't have this problem :). I hope
I have a usable version soon :).

-
Marco Gerards


___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd



Re: Escape-Meta-Alt-Shift

2003-01-05 Thread Alfred M. Szmidt
   > Don't know if this is known, but it looks like GNU Mach doesn't
   > grok multiple modifier keys (did it ever grok them?).  For
   > example C-M-v doesn't work in Emacs.

   This is not a GNU Mach problem, it is a pc-kbd problem.

Since I wasn't even using console-client, it is impossible that it is
a problem in pc-kbd.  Unless that the bug is in the bits copied from
Mach.  Which would of course mean that it is a problem in Mach after
all.


   You can use ESC-C-v as well (but I assume you already know this).

Only if one is a sadist.




___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd



simple path search for vga fonts

2003-01-05 Thread James A Morrison

 Hi,

  After discovering I could recover my vga console by specifying a font,
I decided I wanted a system font directory, so I made one.  Here is the
patch.  

James A. Morrison

2003-01-05  James A. Morrison  <[EMAIL PROTECTED]>

* vga.c (DEFAULT_VGA_FONT_PATH): Default path for vga fonts.
(LOAD_FONT): Add search of DEFAULT_VGA_FONT_PATH for font.

Index: vga.c
===
RCS file: /cvsroot/hurd/hurd/console-client/vga.c,v
retrieving revision 1.1
diff -u -b -r1.1 vga.c
--- vga.c   17 Sep 2002 12:26:10 -  1.1
+++ vga.c   5 Jan 2003 20:57:15 -
@@ -1,5 +1,5 @@
 /* vga.c - The VGA device display driver.
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
Written by Marcus Brinkmann.
 
This file is part of the GNU Hurd.
@@ -49,17 +49,18 @@
 #define VGA_DISP_HEIGHT 25
 
 /* The font file.  */
-#define DEFAULT_VGA_FONT "/lib/hurd/fonts/vga-system.bdf"
+#define DEFAULT_VGA_FONT_PATH "/lib/hurd/fonts/"
+#define DEFAULT_VGA_FONT DEFAULT_VGA_FONT_PATH "vga-system.bdf"
 static char *vga_display_font;
 
-#define DEFAULT_VGA_FONT_ITALIC "/lib/hurd/fonts/vga-system-italic.bdf"
+#define DEFAULT_VGA_FONT_ITALIC DEFAULT_VGA_FONT_PATH "vga-system-italic.bdf"
 static char *vga_display_font_italic;
 
-#define DEFAULT_VGA_FONT_BOLD "/lib/hurd/fonts/vga-system-bold.bdf"
+#define DEFAULT_VGA_FONT_BOLD DEFAULT_VGA_FONT_PATH "vga-system-bold.bdf"
 static char *vga_display_font_bold;
 
 #define DEFAULT_VGA_FONT_BOLD_ITALIC \
-   "/lib/hurd/fonts/vga-system-bold-italic.bdf"
+   DEFAULT_VGA_FONT_PATH "vga-system-bold-italic.bdf"
 static char *vga_display_font_bold_italic;
 
 /* The timer used for flashing the screen.  */
@@ -237,6 +238,18 @@
 #define LOAD_FONT(x,y) \
   do { \
   font_file = fopen (vga_display_##x ?: DEFAULT_VGA_##y, "r"); \
+  if (!font_file)   \
+{   \
+  char *vga_system_font;\
+  asprintf (&vga_system_font, "%s/%s.bdf", DEFAULT_VGA_FONT_PATH, 
+vga_display_##x); \
+  font_file = fopen (vga_system_font, "r"); \
+  free (vga_system_font);   \
+}   \
+  if (!font_file)   \
+{   \
+  error (0, 0, "The font %s is unavailable", vga_display_##x ?: DEFAULT_VGA_##y); 
+ \
+  font_file = fopen (DEFAULT_VGA_##y, "r"); \
+}   \
   if (font_file)   \
 {  \
   bdf_error_t bdferr = bdf_read (font_file, &x, NULL); \


2003-01-05  James A. Morrison  <[EMAIL PROTECTED]>

* vga.c (DEFAULT_VGA_FONT_PATH): Default path for vga fonts.
(LOAD_FONT): Add search of DEFAULT_VGA_FONT_PATH for font.

Index: vga.c
===
RCS file: /cvsroot/hurd/hurd/console-client/vga.c,v
retrieving revision 1.1
diff -u -b -r1.1 vga.c
--- vga.c   17 Sep 2002 12:26:10 -  1.1
+++ vga.c   5 Jan 2003 20:41:17 -
@@ -1,5 +1,5 @@
 /* vga.c - The VGA device display driver.
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
Written by Marcus Brinkmann.
 
This file is part of the GNU Hurd.
@@ -49,17 +49,18 @@
 #define VGA_DISP_HEIGHT 25
 
 /* The font file.  */
-#define DEFAULT_VGA_FONT "/lib/hurd/fonts/vga-system.bdf"
+#define DEFAULT_VGA_FONT_PATH "/lib/hurd/fonts/"
+#define DEFAULT_VGA_FONT DEFAULT_VGA_FONT_PATH "vga-system.bdf"
 static char *vga_display_font;
 
-#define DEFAULT_VGA_FONT_ITALIC "/lib/hurd/fonts/vga-system-italic.bdf"
+#define DEFAULT_VGA_FONT_ITALIC DEFAULT_VGA_FONT_PATH "vga-system-italic.bdf"
 static char *vga_display_font_italic;
 
-#define DEFAULT_VGA_FONT_BOLD "/lib/hurd/fonts/vga-system-bold.bdf"
+#define DEFAULT_VGA_FONT_BOLD DEFAULT_VGA_FONT_PATH "vga-system-bold.bdf"
 static char *vga_display_font_bold;
 
 #define DEFAULT_VGA_FONT_BOLD_ITALIC \
-   "/lib/hurd/fonts/vga-system-bold-italic.bdf"
+   DEFAULT_VGA_FONT_PATH "vga-system-bold-italic.bdf"
 static char *vga_display_font_bold_italic;
 
 /* The timer used for flashing the screen.  */
@@ -237,6 +238,15 @@
 #define LOAD_FONT(x,y) \
   do { \
   font_file = fo

Re: simple path search for vga fonts

2003-01-05 Thread Alfred M. Szmidt
Fonts are stored in /lib/hurd/fonts, is this really a good place?  Are
they really that arch specific that they need to go in /lib and not
/share?


___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd



Re: simple path search for vga fonts

2003-01-05 Thread Marcus Brinkmann
On Sun, Jan 05, 2003 at 10:13:19PM +0100, Alfred M. Szmidt wrote:
> Fonts are stored in /lib/hurd/fonts, is this really a good place?  Are
> they really that arch specific that they need to go in /lib and not
> /share?

We can probably take them directly out of the X font directory.  But for
this pcx format has to be parsed and the menu files (ideally), so you can
just specify an X resource string.

Thanks,
Marcus
-- 
`Rhubarb is no Egyptian god.' GNU  http://www.gnu.org[EMAIL PROTECTED]
Marcus Brinkmann  The Hurd http://www.gnu.org/software/hurd/
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de/


___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd



Re: simple path search for vga fonts

2003-01-05 Thread Alfred M. Szmidt
   > Fonts are stored in /lib/hurd/fonts, is this really a good place?  Are
   > they really that arch specific that they need to go in /lib and not
   > /share?

   We can probably take them directly out of the X font directory.  But for
   this pcx format has to be parsed and the menu files (ideally), so you can
   just specify an X resource string.

That does not answer my question.


___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd



rpc trace and standard msg lists

2003-01-05 Thread James A Morrison

 Hi,

  Sometime last term I got sick of using -I msg.lists, so I made a simple
change so that rpctrace would read the msgids from a standard place.

 Two problems came up with this:

  Where should these msgids files be install?  I think /share/hurd would
be the best place for them.

  How do get the GNU Mach file to generate mach.msgids?  I think adding
%.msgids: $(srcdir)/include/%.defs
if grep -q '^subsystem' $<; \
then $(CPP) $(CPPFLAGS) $< | $(MIGCOM) -n -list $@; \
else > $@; fi
mach.msgids: $(patsubst %.defs,%.msgids,$(filter %.defs, $(installed-headers)))
cat $^ > $@

to Makefile.in would work, but I keep getting
make: *** No rule to make target `device/device.msgids', needed by `mach.msgids'
.  Stop.


James A. Morrison

2002-12-01  James A. Morrison  <[EMAIL PROTECTED]>

* rpctrace.c: Add option to use standard rpc list files.

Index: rpctrace.c
===
RCS file: /cvsroot/hurd/hurd/utils/rpctrace.c,v
retrieving revision 1.14
diff -u -r1.14 rpctrace.c
--- rpctrace.c  28 May 2002 23:56:25 -  1.14
+++ rpctrace.c  2 Dec 2002 01:59:12 -
@@ -40,6 +40,7 @@
   {"output", 'o', "FILE", 0, "Send trace output to FILE instead of stderr."},
   {"rpc-list", 'I', "FILE", 0,
"Read FILE for assocations of message ID numbers to names."},
+  {"standard-list", 's', 0, 0, "Use standard rpc list files."},
   {0}
 };
 
@@ -1072,6 +1073,11 @@
 
case 'I':
  parse_msgid_list (arg);
+ break;
+
+   case 's':
+ parse_msgid_list ("/share/hurd/hurd.msgids");
+ parse_msgid_list ("/share/hurd/mach.msgids");
  break;
 
case ARGP_KEY_NO_ARGS:


___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd



Re: simple path search for vga fonts

2003-01-05 Thread Marcus Brinkmann
On Sun, Jan 05, 2003 at 10:39:40PM +0100, Alfred M. Szmidt wrote:
>> Fonts are stored in /lib/hurd/fonts, is this really a good place?  Are
>> they really that arch specific that they need to go in /lib and not
>> /share?
> 
>We can probably take them directly out of the X font directory.  But for
>this pcx format has to be parsed and the menu files (ideally), so you can
>just specify an X resource string.
> 
> That does not answer my question.

Quite right, but my answer makes them obsolete.  If you are on the lookout
for answers to obsolete questions, you surely can look into the font files
and answer it yourself.

Marcus
 

-- 
`Rhubarb is no Egyptian god.' GNU  http://www.gnu.org[EMAIL PROTECTED]
Marcus Brinkmann  The Hurd http://www.gnu.org/software/hurd/
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de/


___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd



Re: simple path search for vga fonts

2003-01-05 Thread James Morrison

--- "Alfred M. Szmidt" <[EMAIL PROTECTED]> wrote:
> Fonts are stored in /lib/hurd/fonts, is this really a good place?  Are
> they really that arch specific that they need to go in /lib and not
> /share?

 These fonts are plain text so /share/hurd/fonts is probably a better place for
them.  Even though it is useful to be able to read and use X fonts, in pcf/pcx 
format, I think having a /share/hurd/fonts directory for bdf fonts would be
really 
useful.


 


=
James Morrison
   University of Waterloo
   Computer Science - Digital Hardware
   2B co-op
http://hurd.dyndns.org

Anyone referring to this as 'Open Source' shall be eaten by a GNU

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd



Re: Hurd doesn't boot with 1024 Mb RAM

2003-01-05 Thread James Morrison

--- Gerardo Pirla Diaz <[EMAIL PROTECTED]> wrote:
> Anyone could tell me how to capture the "dmesg" if I couldn't boot 
> the kernel ?
> After a few seconds of static "kernel page ..." the kernel 
> reboots my system.

 You can boot using a serial console or you could try using the kernel in the
gnumach-dbg package, I think it stops on boot failures as opposed to rebooting.


=
James Morrison
   University of Waterloo
   Computer Science - Digital Hardware
   2B co-op
http://hurd.dyndns.org

Anyone referring to this as 'Open Source' shall be eaten by a GNU

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


___
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd