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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
|
device: 0.782
graphic: 0.768
debug: 0.747
performance: 0.741
permissions: 0.726
other: 0.721
PID: 0.712
semantic: 0.696
boot: 0.669
vnc: 0.645
files: 0.633
network: 0.499
socket: 0.463
KVM: 0.461
Java program does not execute on SPARC Solaris 8
Hello,
I am trying to run a java program that never execute. The program uses jre1.1.5 which came with the java program. I don't know what to do to run this application. There are some random messages in command line that can be related to my problem (or not). They are:
#1. Webstart launcher crashing.
Also found here: http://www.openfirmware.info/pipermail/openbios/2011-May/006472.html
#2. Assertion failed: MUTEX_HELD(&svc_mutex), file rpc/svc_run.c, line 766
Which was already reported here: https://bugs.launchpad.net/qemu/+bug/1450881
#3. Some problems with libthread in Solaris.
I have tried a workaround setting LM_LIBRARY_PATH to use another version of libthread that Solaris 8 has.
I don't know if this is a qemu problem or Solaris problem.
My java application can be executed in command line or in GUI but I've tried both with no luck. I also have tryed other versions of JRE from 1.1.8 to 1.5 but no luck either.
I appreciate **any information** that can help me to execute the java program!!
Thank you.
I am using qemu-system-sparc (v2.5.50) with Solaris 8 (solaris-8-hw4-2.04-sparc).
The host is an Ubuntu 15.10 and I am using the openbios-sparc from Ubuntus ppa as shown bellow:
openbios-sparc | 1.1+svn1334-1 | http://archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
The command line used to launch qemu is:
qemu-system-sparc \
-M SS-5 \
-m 256 \
-boot c \
-cdrom $(DATA_ISO) \
-drive file=root-disk.img,index=0,media=disk,format=raw \
-serial stdio \
-monitor tcp::4444,server,nowait \
-localtime \
-net user \
-net nic \
$(ui)
DATA_ISO is the way I found to send my data to the guest.
The root-disk.img is:
Disk root-disk.img: 36 GiB, 38654705664 bytes, 75497472 sectors
Geometry: 27 heads, 107 sectors/track, 24620 cylinders
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: sun
Device Start End Sectors Size Id Type Flags
root-disk.img1 0 2744549 2744550 1.3G 2 SunOS root
root-disk.img2 2744550 3047894 303345 148.1M 3 SunOS swap u
root-disk.img3 0 71127179 71127180 33.9G 5 Whole disk
root-disk.img8 3047895 71127179 68079285 32.5G 8 SunOS home
image: root-disk.img
file format: raw
virtual size: 36G (38654705664 bytes)
disk size: 1.2G
I've been looking at this as I have time, and IMO it's a qemu bug. Fortunately I have a easy local reproducer here, and from what I can see in this one particular case it seems the QEMU doesn't honour the annul bit in the branch (or apparently corrupts it according to the guest?!). So yes, it's a known issue and I am working hard to try and isolate the bug and come up with a fix.
Hi Mark, it is very good to hear that it isn't only with me.
Let me know if you need a help to test and/or collect any information to help you to discover/fix this problem.
Proposed patch posted to mailing list: https://lists.nongnu.org/archive/html/qemu-devel/2016-04/msg01645.html - please test and report back.
Great Mark! This patch solves my problem. Thank you very much.
Patch that solves the problem.
Leandro, thanks for testing on your setup. If it passes my local tests, I'll send it in for the QEMU 2.6 release.
Good! I tested with QEMU from git that I did the clone now. It shows
version 2.5.91.
On Mon, Apr 11, 2016, 11:36 Mark Cave-Ayland <email address hidden>
wrote:
> Leandro, thanks for testing on your setup. If it passes my local tests,
> I'll send it in for the QEMU 2.6 release.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1547526
>
> Title:
> Java program does not execute on SPARC Solaris 8
>
> Status in QEMU:
> New
>
> Bug description:
> Hello,
>
> I am trying to run a java program that never execute. The program uses
> jre1.1.5 which came with the java program. I don't know what to do to
> run this application. There are some random messages in command line
> that can be related to my problem (or not). They are:
>
> #1. Webstart launcher crashing.
> Also found here:
> http://www.openfirmware.info/pipermail/openbios/2011-May/006472.html
>
> #2. Assertion failed: MUTEX_HELD(&svc_mutex), file rpc/svc_run.c,
> line 766
> Which was already reported here:
> https://bugs.launchpad.net/qemu/+bug/1450881
>
> #3. Some problems with libthread in Solaris.
> I have tried a workaround setting LM_LIBRARY_PATH to use another
> version of libthread that Solaris 8 has.
>
> I don't know if this is a qemu problem or Solaris problem.
> My java application can be executed in command line or in GUI but I've
> tried both with no luck. I also have tryed other versions of JRE from 1.1.8
> to 1.5 but no luck either.
>
> I appreciate **any information** that can help me to execute the java
> program!!
> Thank you.
>
> I am using qemu-system-sparc (v2.5.50) with Solaris 8
> (solaris-8-hw4-2.04-sparc).
> The host is an Ubuntu 15.10 and I am using the openbios-sparc from
> Ubuntus ppa as shown bellow:
>
> openbios-sparc | 1.1+svn1334-1 |
> http://archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
>
> The command line used to launch qemu is:
>
> qemu-system-sparc \
> -M SS-5 \
> -m 256 \
> -boot c \
> -cdrom $(DATA_ISO) \
> -drive file=root-disk.img,index=0,media=disk,format=raw \
> -serial stdio \
> -monitor tcp::4444,server,nowait \
> -localtime \
> -net user \
> -net nic \
> $(ui)
>
> DATA_ISO is the way I found to send my data to the guest.
>
> The root-disk.img is:
>
> Disk root-disk.img: 36 GiB, 38654705664 bytes, 75497472 sectors
> Geometry: 27 heads, 107 sectors/track, 24620 cylinders
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: sun
>
> Device Start End Sectors Size Id Type Flags
> root-disk.img1 0 2744549 2744550 1.3G 2 SunOS root
> root-disk.img2 2744550 3047894 303345 148.1M 3 SunOS swap u
> root-disk.img3 0 71127179 71127180 33.9G 5 Whole disk
> root-disk.img8 3047895 71127179 68079285 32.5G 8 SunOS home
>
> image: root-disk.img
> file format: raw
> virtual size: 36G (38654705664 bytes)
> disk size: 1.2G
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1547526/+subscriptions
>
--
Leandro S. Heck
Hi Mark, do you know when qemu 2.6 will be released?
--
Leandro Sehnem Heck
On Fri, Apr 15, 2016 at 4:49 AM, Mark Cave-Ayland <
<email address hidden>> wrote:
> *** This bug is a duplicate of bug 1450881 ***
> https://bugs.launchpad.net/bugs/1450881
>
> ** This bug has been marked a duplicate of bug 1450881
> qemu-system-sparc MUTEX_HELD assert and libC lock errors
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1547526
>
> Title:
> Java program does not execute on SPARC Solaris 8
>
> Status in QEMU:
> New
>
> Bug description:
> Hello,
>
> I am trying to run a java program that never execute. The program uses
> jre1.1.5 which came with the java program. I don't know what to do to
> run this application. There are some random messages in command line
> that can be related to my problem (or not). They are:
>
> #1. Webstart launcher crashing.
> Also found here:
> http://www.openfirmware.info/pipermail/openbios/2011-May/006472.html
>
> #2. Assertion failed: MUTEX_HELD(&svc_mutex), file rpc/svc_run.c,
> line 766
> Which was already reported here:
> https://bugs.launchpad.net/qemu/+bug/1450881
>
> #3. Some problems with libthread in Solaris.
> I have tried a workaround setting LM_LIBRARY_PATH to use another
> version of libthread that Solaris 8 has.
>
> I don't know if this is a qemu problem or Solaris problem.
> My java application can be executed in command line or in GUI but I've
> tried both with no luck. I also have tryed other versions of JRE from 1.1.8
> to 1.5 but no luck either.
>
> I appreciate **any information** that can help me to execute the java
> program!!
> Thank you.
>
> I am using qemu-system-sparc (v2.5.50) with Solaris 8
> (solaris-8-hw4-2.04-sparc).
> The host is an Ubuntu 15.10 and I am using the openbios-sparc from
> Ubuntus ppa as shown bellow:
>
> openbios-sparc | 1.1+svn1334-1 |
> http://archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
>
> The command line used to launch qemu is:
>
> qemu-system-sparc \
> -M SS-5 \
> -m 256 \
> -boot c \
> -cdrom $(DATA_ISO) \
> -drive file=root-disk.img,index=0,media=disk,format=raw \
> -serial stdio \
> -monitor tcp::4444,server,nowait \
> -localtime \
> -net user \
> -net nic \
> $(ui)
>
> DATA_ISO is the way I found to send my data to the guest.
>
> The root-disk.img is:
>
> Disk root-disk.img: 36 GiB, 38654705664 bytes, 75497472 sectors
> Geometry: 27 heads, 107 sectors/track, 24620 cylinders
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: sun
>
> Device Start End Sectors Size Id Type Flags
> root-disk.img1 0 2744549 2744550 1.3G 2 SunOS root
> root-disk.img2 2744550 3047894 303345 148.1M 3 SunOS swap u
> root-disk.img3 0 71127179 71127180 33.9G 5 Whole disk
> root-disk.img8 3047895 71127179 68079285 32.5G 8 SunOS home
>
> image: root-disk.img
> file format: raw
> virtual size: 36G (38654705664 bytes)
> disk size: 1.2G
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1547526/+subscriptions
>
On 05/02/2016 09:50 PM, Leandro Heck wrote:
> *** This bug is a duplicate of bug 1450881 ***
> https://bugs.launchpad.net/bugs/1450881
>
> Hi Mark, do you know when qemu 2.6 will be released?
>
Hi Leandro,
please take a look here: http://wiki.qemu.org/Planning/2.6
Cheers,
Bastian
Oh nice! Thank you.
--
Leandro Sehnem Heck
On Mon, May 2, 2016 at 6:17 PM, Bastian Koppelmann <
<email address hidden>> wrote:
> *** This bug is a duplicate of bug 1450881 ***
> https://bugs.launchpad.net/bugs/1450881
>
> On 05/02/2016 09:50 PM, Leandro Heck wrote:
> > *** This bug is a duplicate of bug 1450881 ***
> > https://bugs.launchpad.net/bugs/1450881
> >
> > Hi Mark, do you know when qemu 2.6 will be released?
> >
>
> Hi Leandro,
>
> please take a look here: http://wiki.qemu.org/Planning/2.6
>
> Cheers,
> Bastian
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1547526
>
> Title:
> Java program does not execute on SPARC Solaris 8
>
> Status in QEMU:
> New
>
> Bug description:
> Hello,
>
> I am trying to run a java program that never execute. The program uses
> jre1.1.5 which came with the java program. I don't know what to do to
> run this application. There are some random messages in command line
> that can be related to my problem (or not). They are:
>
> #1. Webstart launcher crashing.
> Also found here:
> http://www.openfirmware.info/pipermail/openbios/2011-May/006472.html
>
> #2. Assertion failed: MUTEX_HELD(&svc_mutex), file rpc/svc_run.c,
> line 766
> Which was already reported here:
> https://bugs.launchpad.net/qemu/+bug/1450881
>
> #3. Some problems with libthread in Solaris.
> I have tried a workaround setting LM_LIBRARY_PATH to use another
> version of libthread that Solaris 8 has.
>
> I don't know if this is a qemu problem or Solaris problem.
> My java application can be executed in command line or in GUI but I've
> tried both with no luck. I also have tryed other versions of JRE from 1.1.8
> to 1.5 but no luck either.
>
> I appreciate **any information** that can help me to execute the java
> program!!
> Thank you.
>
> I am using qemu-system-sparc (v2.5.50) with Solaris 8
> (solaris-8-hw4-2.04-sparc).
> The host is an Ubuntu 15.10 and I am using the openbios-sparc from
> Ubuntus ppa as shown bellow:
>
> openbios-sparc | 1.1+svn1334-1 |
> http://archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
>
> The command line used to launch qemu is:
>
> qemu-system-sparc \
> -M SS-5 \
> -m 256 \
> -boot c \
> -cdrom $(DATA_ISO) \
> -drive file=root-disk.img,index=0,media=disk,format=raw \
> -serial stdio \
> -monitor tcp::4444,server,nowait \
> -localtime \
> -net user \
> -net nic \
> $(ui)
>
> DATA_ISO is the way I found to send my data to the guest.
>
> The root-disk.img is:
>
> Disk root-disk.img: 36 GiB, 38654705664 bytes, 75497472 sectors
> Geometry: 27 heads, 107 sectors/track, 24620 cylinders
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disklabel type: sun
>
> Device Start End Sectors Size Id Type Flags
> root-disk.img1 0 2744549 2744550 1.3G 2 SunOS root
> root-disk.img2 2744550 3047894 303345 148.1M 3 SunOS swap u
> root-disk.img3 0 71127179 71127180 33.9G 5 Whole disk
> root-disk.img8 3047895 71127179 68079285 32.5G 8 SunOS home
>
> image: root-disk.img
> file format: raw
> virtual size: 36G (38654705664 bytes)
> disk size: 1.2G
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qemu/+bug/1547526/+subscriptions
>
|