bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

oskit-mach


From: Jeroen Dekkers
Subject: oskit-mach
Date: Mon, 9 Jul 2001 22:10:42 +0200
User-agent: Mutt/1.3.18i

I tried old version of both oskit-mach and oskit (Jeff suggested me that on
irc), oskit-mach works almost with version 20000505 and with version 20000901
I get IRQ probing problems. Oskit-mach linked with oskit-20000505 doesn't
understand root=hd0s11, if I try root=hda5 serverboots it says the following:
"Can't open server boot script /dev/hda11/boot/server.boot : Inappropriate
file type or format."

I've got 2 bugfixes for oskit-mach too. The first doesn't set the flag
DC_NO_ONLCR for the console, because it only fucks up the console output.
There should be a carriage return when you have a newline. The second removes
a page fault error in oskit_linux_dev_init at address 0x104 (to get
information from the bios I guess). trunc_page(subcode) returns 0 when the
address is smaller than PAGE_MASK (0xfff) and generates a panic. I don't know 
what the idea about that check is, but it works when I remove it.


Index: ds_osenv.c
===================================================================
RCS file: /cvsroot/hurd/gnumach/oskit/Attic/ds_osenv.c,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 ds_osenv.c
--- ds_osenv.c  1999/11/25 23:27:06     1.1.2.1
+++ ds_osenv.c  2001/06/05 19:56:44
@@ -52,7 +52,6 @@
                                   oskit_create_osenv_intr (),
                                   oskit_create_osenv_sleep (),
                                   &ds_console_stream);
-      direct_cons_set_flags (DC_NO_ONLCR);
     }
   if (rc)
     panic ("cannot create interrupt-driven console stream: %x\n", rc);
Index: trap.c
===================================================================
RCS file: /cvsroot/hurd/gnumach/i386/i386/trap.c,v
retrieving revision 1.4.2.3
diff -u -r1.4.2.3 trap.c
--- trap.c      2001/04/05 06:52:46     1.4.2.3
+++ trap.c      2001/07/09 19:36:15
@@ -219,9 +219,7 @@
 #if 0
                printf("now %08x\n", subcode);
 #endif
-                       if (trunc_page(subcode) == 0
-                           || (subcode >= (int)_start
-                               && subcode < (int)etext)) {
+                       if (subcode >= (int)_start && subcode < (int)etext) {
                                printf("Kernel page fault at address 0x%x, "
                                       "eip = 0x%x\n",
                                       subcode, regs->eip);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]