bug-hurd
[Top][All Lists]
Advanced

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

OTOP 0.0.1


From: John Tobey
Subject: OTOP 0.0.1
Date: Sat, 24 Nov 2001 16:54:29 -0500
User-agent: Mutt/1.2.5i

For those who tried to grab GNUMach-OTOP last weekend, I apologize for
the wrong URL.  I've made the directory listable and put up a revised
version, this time in the form of a diff (66K compressed, including
RCS files) against the current GNU Mach CVS tree:

http://tobeyhutchison.com/jtobey/Hurd/gnumach-otop-0.0.1.diff.bz2

GNUMach OTOP still comes with no guarantees or build instructions.
However, parts of it are commented.  This will probably be the last
version before I move it to OSKit-Mach.  Then I plan to include
instructions.  Maybe then I will persuade Roland to include it with
oskit-mach, or threaten to start a SourceForge project.  (I am reading
Roland's last reply to me as complaining about the lack of cruft in
oskit-mach...)

In lieu of a screen shot, I present you with a GDB session.  In it we
see ext2fs.static and ld.so.1 of gnu-20011016.tar.gz each fire off a
bunch of syscalls (see <mach/syscall_sw.h>) and die with a segfault.
The filesystem dereferences a null pointer, and the dynamic linker
overflows its stack.

I love the bit about "Further execution is probably impossible" when I
type control-C.  We'll just see what's impossible!

I am going to need some unstripped Hurd binaries before I can proceed
with this.  I guess that means either cross-compiling or losing my
pride and installing for real.

Best regards.
-John


(gdb) r
Starting program: /jtobey/build/gnumach/kernel 
waiting for a debugger: pid 26761

Program received signal SIGINT, Interrupt.
Cannot remove breakpoints because program is no longer writable.
It might be running in another process.
Further execution is probably impossible.
0xb0001665 in first_time_through () at ../../src/hacks/gnumach/otop/main.c:128
(gdb) set goon=1
(gdb) c
Continuing.
GNUmach 1.2
OTOP pid 26761: 16384K memory at 0x400f5000
2 multiboot modules                                                             
                                                                                
                                                                                
               task loaded: /jtobey/build/gnumach/boot/ext2fs.static 
--multiboot-command-line=root=hd0s5 --host-priv-port=2 --device-master-port=3 
--exec-server-task=4 -T typed hd0s5OP_SYSCALL 28
syscall 28 returned 6
OP_SYSCALL 26
syscall 26 returned 7
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 64
syscall 64 returned 0
OP_SYSCALL 64
syscall 64 returned 0
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 27
syscall 27 returned 8
OP_SYSCALL 65
syscall 65 returned 0
OP_SYSCALL 72
syscall 72 returned 0
OP_SYSCALL 74
syscall 74 returned 0
OP_SYSCALL 72
syscall 72 returned 0
OP_SYSCALL 74
syscall 74 returned 0
OP_SYSCALL 65
syscall 65 returned 3
OP_SYSCALL 65
syscall 65 returned 0
OP_SYSCALL 65
syscall 65 returned 0
OP_SYSCALL 65
syscall 65 returned 0
OP_SYSCALL 65
syscall 65 returned 0
OP_SYSCALL 26
syscall 26 returned 11
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 73
syscall 73 returned 0
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 73
syscall 73 returned 0
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 73
syscall 73 returned 0
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 73
syscall 73 returned 0
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 64
syscall 64 returned 0
OP_SYSCALL 73
syscall 73 returned 0
OP_SYSCALL 72
syscall 72 returned 0
OP_SYSCALL 72
syscall 72 returned 0
EXC_BAD_ACCESS addr 0x00000000
User thread 0xb0043ad0:
eax: 0x00000001    ebx: 0x0001ffe8    ecx: 0x00000001    edx: 0x00000000
esi: 0x00001808    edi: 0x0001f8d4    ebp: 0x0001f91c    esp: 0x0001f8d4
eip: 0x0807668f    eflags: 0x00010246 uesp: 0x0001f8d4

task loaded: /jtobey/build/gnumach/boot/ld.so.1 /hurd/execOP_SYSCALL 28
syscall 28 returned 3
OP_SYSCALL 26
syscall 26 returned 4
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 73
syscall 73 returned 0
OP_SYSCALL 64
syscall 64 returned 3
OP_SYSCALL 25
syscall 25(?) returned 0
OP_SYSCALL 66
syscall 66 returned 0
OP_SYSCALL 64
syscall 64 returned 0
OP_SYSCALL 25
syscall 25(?) returned 268435459
OP_SYSCALL 26
syscall 26 returned 5
OP_SYSCALL 25
syscall 25(?) returned 0
EXC_BAD_ACCESS addr 0xaffefffc
User thread 0xb0043ad0:
eax: 0xafff0030    ebx: 0x00023a3c    ecx: 0x00016dcc    edx: 0x00016f23
esi: 0x00000183    edi: 0x00016d40    ebp: 0xafff0020    esp: 0xafff0000
eip: 0x0000c336    eflags: 0x00010206 uesp: 0xafff0000

boot_script_task_resume failed with 5
ERROR in executing boot script: mach error
Program exited normally.
Invalid SIGSEGV at ../../src/hacks/gnumach/otop/i386.c line 77
(gdb) 

-- 
John Tobey <jtobey@john-edwin-tobey.org>




reply via email to

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