blob: ad5b81c882fe6b0e36a7abf2e2d889282367dac1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
boot: 0.867
i386: 0.867
kernel: 0.864
graphic: 0.863
PID: 0.839
virtual: 0.830
files: 0.807
user-level: 0.806
socket: 0.798
performance: 0.760
vnc: 0.732
semantic: 0.724
network: 0.719
device: 0.711
ppc: 0.711
mistranslation: 0.709
architecture: 0.661
x86: 0.650
register: 0.648
permissions: 0.607
TCG: 0.587
debug: 0.573
risc-v: 0.571
VMM: 0.482
assembly: 0.467
peripherals: 0.444
arm: 0.416
hypervisor: 0.404
KVM: 0.293
FreeBSD 9.2 shell crashes when run with -smp 4 option
This is a bug that i have noticed in qemu 1.7.50 as well as 1.1.50. It was the latter that forced me to clone the repository to check if this is the case with the resent version as well . The latest commit on which the bug is found is f53f3d0a00b6df39ce8dfca942608e5b6a9a4f71 on qemu.git
configured with target list i386-softmmu
and then
make
OS: FreeBSD 9.2 Text Install ISO
Installed it to a qcow2 format image.
./i386-softmmu/qemu-system-i386 -hda <bsd-image> -m 2G -smp 4 -net nic -net user -monitor stdio
(boot into multi-user mode)->(login to root account)
I have the filebench benchmark installed on the image and when i run it the default root shell (csh) crashes with the error.
[pid xxxx (csh) sigreturn eflag = 0xXXXX]
Here is the piece of kernel code that is getting executed (i think) http://svnweb.freebsd.org/base/release/9.2.0/sys/i386/i386/machdep.c?view=markup#l1095
Here is a related bug
https://www.virtualbox.org/ticket/458
The crash happens randomly. It is not just related with filebench.
Here are a few scenarios:
* When i run fileserver workload of filebench
* After i issue the shutdown -h now shutdown -r now commands
* Issuing mount -t linprocfs proc /proc
Moreover it is not guaranteed that the above scenarios will reproduce it (reliably).
Basically after running some commands and getting the CPU and the kernel worked up i think.
Hi,
just to be clear, are you saying that commit f53f3d0a00b6df39ce8df fixes the bug, or that that is the latest commit with which you tested? (since it was Mar 8 :)
I tested on the commit f53f3d0a00b6df39ce8df
Triaging old bug tickets... can you still reproduce this issue with the latest version of QEMU? Or could we close this ticket nowadays?
[Expired for QEMU because there has been no activity for 60 days.]
|