A follow-up to my previous report just to confirm that the latest version
does NOT crash (see following output) with my other setup :
Pentium 133, RH6.1 and kernel 2.2.12-20 (from the RH distribution)
So the crashes seem to be related to 2.3 kernels.
[root@betelgeuse kernel]# insmod freemware.o
freemware: vm c4817000..c4817fff -> page 00002034
freemware: vm c4818000..c4818fff -> page 00002212
freemware: vm c4819000..c4819fff -> page 00001e31
freemware: vm c481a000..c481afff -> page 000021d4
freemware: vm c481b000..c481bfff -> page 00001f0d
[campedel@betelgeuse user]$ ./user -g ../guest/virtcode/virtcode.elf
Loading guest code: ../guest/virtcode/virtcode.elf
Allocating 0x138c bytes of memory for reading file
ok, this is an ELF-Binary
Opening VM
Allocating 4MB of physical memory in VM
Mapping virtualized physical memory into user monitor
Zeroing virtualized physical memory
Loading guest code to virtualized physical memory
Setting up timeout after 15 seconds
Running VM
Timeout reached
Guest counter: 333022157
Unmapping guest physical memory
Tearing down VM
Closing VM
[campedel@betelgeuse user]$ ./user -g ../guest/cooperative/kernel.elf
Loading guest code: ../guest/cooperative/kernel.elf
Allocating 0x27ef bytes of memory for reading file
ok, this is an ELF-Binary
Opening VM
Allocating 4MB of physical memory in VM
Mapping virtualized physical memory into user monitor
Zeroing virtualized physical memory
Loading guest code to virtualized physical memory
Setting up timeout after 15 seconds
Running VM
Timeout reached
Guest counter: 0
Unmapping guest physical memory
Tearing down VM
Closing VM
[campedel@betelgeuse user]$ ./user -g ../guest/preemptive/kernel.elf
Loading guest code: ../guest/preemptive/kernel.elf
Allocating 0x2968 bytes of memory for reading file
ok, this is an ELF-Binary
Opening VM
Allocating 4MB of physical memory in VM
Mapping virtualized physical memory into user monitor
Zeroing virtualized physical memory
Loading guest code to virtualized physical memory
Setting up timeout after 15 seconds
Running VM
freemware: unknown emulation error (0) [0x0 : 0x0]
Abort due to exception 13 at 000b:000107b0
Register dump:
CS:000b SS:0013 DS:0010 ES:0010 FS:0010 GS:0010
EAX:00000034 EBX:00000000 ECX:00000043 EDX:00000043
ESI:00000000 EDI:00000000 EBP:00010414 ESP:00010408 EFLAGS:00014212
Stack dump:
00010408: 00000034 34000000 00000043 0001042c
00010418: 00010552 00000043 00000034 0001328e
00010428: 00000000 00000000 0001043b 05e8ed31
00010438: 90000000 90909090 83e58955 c76608ec
Current instruction:
000B.000107B0 EE out dx, al
Guest counter: 0
Unmapping guest physical memory
Tearing down VM
Closing VM
Best Regards
Lorenzo