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
##
## OSKit Module configuration file.
##
## Comments are ignored, non-commented words should be
## OSKit directories to include in the build.
##
## Libraries are built in the order defined in this
## file.
##
## Specify this file with the --with-modulesfile=<x>
## option to configure.  By default the file 'modules'
## in the OSKit source directory is used.
##

### Always include this module (the header files)
oskit

### The flask module must be compiled before
### most of the other modules.
### It is currently a required module.
flask

### Builds the documentation (Utah only)
#doc


### --- Required components

### The C Runtime (the magic that calls 'main') (required)
crt

knit/c

### Various bits of kernel magic (required)
kern

### List Memory Manager (required)
lmm

### The Client OS library (required)
clientos


### --- Boot Adaptors

### Build the multiboot compliant boot adaptor
### Requires that ld support '-format binary' (checked)
boot/multiboot

### Build the Linux boot adaptor
### Requires ld support '-oformat binary' (checked)
boot/linux

### Build the MSDOS boot adaptor (??)
## Requires ld support '-oformat msdos' (checked)
#boot/dos

### Build the BSD boot adaptor
### Requires some sort of a.out linker (checked)
#boot/bsd

### The NetBoot Meta-kernel
boot/net

### Build the PXE compliant boot loader
#boot/pxe

### ---  OSKit-on-UNIX support libraries.
unix

### --- C Libraries

### A minimal standard C library
libc

### A much more complete standard C library
posix/sys

### Thread-safe version of the previous
posix/sys_r


### --- Miscellaneous utility libraries

### Address Map Manager
amm

### Library for contacting a bootp server
bootp

### Com IIDs library  (required for most kernels)
com

### For groking disk partitions
diskpart

### Include the Dynamic Packet Filter library
#dpf/dpf

### Exec library for loading linked executables
exec

### Read-only access to a number of filesystems
fsread

### Filesystem name parsing library
fsnamespace/fsn

### Same as above, but multithread safe
fsnamespace/fsn_r

### Fake UDP library (Only supports UDP send)
fudp

### Include the Hierarchical Packet Fair Queueing module
#hpfq

### The Memdebug library
memdebug

### The memory file system
memfs

### SMP support (believed to be broken)
#smp
## the SMP example
#examples/x86/smp               ### requires smp

### POSIX threads
threads

### Simple Virtual Memory
svm

### UVM
uvm/uvm

### Simple Process Library
uvm/sproc
### the sproc example
examples/x86/sproc              ### requires sproc

### --- Startup Library

### Simpler functions for initializing OSKit subsystems
### NOTE: this drags in almost every other library.
startup


### --- Devices, Networks and Filesystems

### The device layer glue.  Depends on lmm and kern
### Required for any kernel that uses OSKit devices.
dev

### Realtime support. Needed for realtime threads and for GPROF.
realtime

### Devices and code stolen from FreeBSD
freebsd/dev
#freebsd/net_flask
freebsd/net
freebsd/libm
freebsd/libc
freebsd/libc_r

### Include Run-time linker support. This must come after freebsd build
#rtld
## The rltd example
#examples/dyntest              ### requires rtld

### Stuff stolen from Linux
linux/dev
linux/fs

### Stuff stolen from NetBSD
netbsd/fs

### SVGA video library
#video/svgalib
### SVGA-related examples
#examples/x86/video_svga                ### requires video/svgalib

### X11 video library
#x11/client
#x11/video
### X11-related examples
#examples/x86/video_x11         ### requires x11/video

### The zlib compression library
#zlib

### The UDP library. More complete than fudp, but not totally complete.
udp

### The Utah testbed TMCP communication library and examples
#tmcp
#examples/tmcp

### The NetDisk kernel.
## Requires the zlib compression library.
## Requires the udp library.
#netdisk

### The Linux random number device.
random

### --- Scripts and build/debug utilities

### Includes the CPU-oskit-gcc wrapper.
unsupported


### --- Additional stuff that must be at or near the end of the build


### Sets of example kernels
examples/x86
examples/x86/extended
examples/x86/threads
examples/x86/entropy

### Building the example kernels as host-build binaries with unix-mode
### emulation.  NOTE: These will only be built if you are compiling
### the OSKit with unixmode support (and on Linux or FreeBSD).
examples/unix
examples/unix/extended
examples/unix/threads

### The OSKit test infrastructure
testsuite

### The security server
security
## security server example kernel
examples/x86/security           ### requires security

### The Mad MPEG audio decoder library and example
#libmad
#libmad/minimad
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to