Skip to contentSkip to conversation

Fedora-Core-2

Qemu-devel Fabrice Bellard 4 participants 4 messages Aug 3, 2004 – Aug 7, 2004

lore
Share & tools
lore
#0 lore raw

The last commits should allow QEMU to work on Fedora-Core-2 without the published hacks. Tell me if you see improvements.

Fabrice.

#1 lore raw
Quoted 2 lines · Fabrice Bellard

The last commits should allow QEMU to work on Fedora-Core-2 without the published hacks. Tell me if you see improvements.

Yup, seems to fix the problem here...

Thanks,
Hetz

#2 lore raw
In reply to Fabrice Bellard
Quoted 2 lines · Fabrice Bellard

The last commits should allow QEMU to work on Fedora-Core-2 without the published hacks. Tell me if you see improvements.

I still need setarch to get qemu-arm to run. Or is that not what you meant? (And which commit do you mean exactly, the kernel_sigaction/ qemu_sigaction changes?)

phi% qemu-arm ./hi-arm-unknown-linux-gnu
qemu: uncaught target signal 11 (Segmentation fault) - exiting phi% setarch i686 qemu-arm ./hi-arm-unknown-linux-gnu hi!
phi%

diff -u bad good:

-mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf70a4000
+mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x55001000

-mmap2(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf7023000
-mprotect(0xf70a3000, 4096, PROT_NONE) = 0
-munmap(0xf70a4000, 4096) = 0
+mmap2(NULL, 528384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x55002000
+mprotect(0x55082000, 4096, PROT_NONE) = 0
+munmap(0x55001000, 4096) = 0

---- SIGSEGV (Segmentation fault) @ 0 (0) ---
-write(2, "qemu: uncaught target signal 11 "..., 63qemu: uncaught target signal 11 (Segmentation fault) - exiting -) = 63

-exit_group(-11)                         = ?
+fcntl64(0, F_GETFD)                     = 0
+fcntl64(1, F_GETFD)                     = 0
+fcntl64(2, F_GETFD)                     = 0
+personality(0 /* PER_??? */)            = 8
+geteuid32()                             = 500
+getuid32()                              = 500
+getegid32()                             = 500
+getgid32()                              = 500
+mmap2(0x46000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 0, 0) = 0x46000
+getpid()                                = 29747
+write(1, "hi!\n", 4)                    = 4
+exit_group(0)                           = ?

--L

#3 lore raw
In reply to Fabrice Bellard

Before this patches, I needd to configure --static. Now, it not needed. But I had a problem. When I try to install win98se:

[mduarte@mduarte w]$ qemu -hda c1.img -boot a -fda disquete -cdrom win98se.iso -monitor stdio
QEMU 0.6.0 monitor - type 'help' for more information
(qemu) ./win-cd: line 1: 21328 Falha de segmentação qemu -hda c1.img -boot a -fda disquete -cdrom win98se.iso -monitor stdio

The segmentation fault occurs when it pass to second fase, instalation, i agree. Thanks.

Quoted 13 lines · Fabrice Bellard

The last commits should allow QEMU to work on Fedora-Core-2 without the published hacks. Tell me if you see improvements.

Fabrice.

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel