bug-hurd
[Top][All Lists]
Advanced

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

Build oskit-mach, immediate page fault


From: Michael Banck
Subject: Build oskit-mach, immediate page fault
Date: Sat, 25 Sep 2004 18:31:55 +0200
User-agent: Mutt/1.5.6+20040818i

Hello,

I tried to build and run oskit-mach today. Building (see below) went
fine, but when I try to boot it, I get the following (transcribed):

Welcome to GNU Mach 1.91!
Kernel page fault at address 0x1, eip = 0x1
Kernel Page fault trap, eip 0x1
kernel trap, type 14, code = 0
Dump of trap_state at 0x0029ffb8:
EAX 0000dfdf EBX 00117930 ECX 00000007 EDX 00000000
ESI 6b736174 EDI 5f77656e EBP 21869fd8 ESP 0029fffc
EIP 00000001 EFLAGS 00010002
CS 0010 SS 0028 DS 0028 ES 0028 FS 0000 GS 0000
trapno 14, error 00000000, from kernel mode
page fault linear address c0000001
c0000001 000000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 000000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 000000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 000000000 00000000 00000000 00000000 00000000 00000000 00000000
trap
Backtrace: fp=29ff48
 002231bd 0013e003 001412bb
_exit(1) called; rebooting...

I get this error on two different machines, a P2-400 and a P-M-1500.
Marco told me that this error is also experienced by several other
people.

I used the following entry in menu.lst:

# For booting GNU/Hurd
title  GNU/Hurd (oskit-mach)
root   (hd0,13)
kernel /boot/oskit-mach.gz root=device:hd0s14 --
module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} 
--host-priv-port=${host-port} --device-master-port=${device-port} 
--exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume)
module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)

I got the source for oskit from savannah CVS (oskit project), same for
gnumach2 from the hurd project. I did not apply any further patches.

Both builds where done in a build-directory. I configured oskit as
follows:

../configure --prefix=/usr/local --enable-debug 
        --enable-modulefile=../modules.x86.pc

and did 'make', 'make install'. Then, I configured gnumach2:

CFLAGS="-g -O2" OSKIT_LIBDIR=/usr/local/lib/oskit ../configure
        --prefix=/gnu

and did the same.

This is the output of gcc -v:

Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
i486-linux
Thread model: posix
gcc version 3.3.4 (Debian 1:3.3.4-12)

Anybody tried to build oskit-mach recently and could tell me which
compiler/configure options/patches to use? I have attached the oskit
modules file (I also tried another one, with the same result).


Michael

Attachment: modules.x86.pc
Description: Text document


reply via email to

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