* [Qemu-devel] Report
@ 2007-04-15 10:08 Nigel Horne
2007-04-15 11:33 ` [Qemu-devel] 16-bit (and 8-bit) emulation Stuart Brady
2007-04-15 12:46 ` [Qemu-devel] Report Thiemo Seufer
0 siblings, 2 replies; 22+ messages in thread
From: Nigel Horne @ 2007-04-15 10:08 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
Folks,
Thanks for qemu. I thought you may like to know that from a Linux x86 host
I have 3 linux guests: sparc, arm and mips. The first 2 work a treat, the
mips keeps core dumping in libc6 when called from Perl, I don't know if
the problem lies in libc6, perl or qemu.
Can qemu emulate 16-bit machines (286?)?
-Nigel
[-- Attachment #2: njh.vcf --]
[-- Type: text/x-vcard, Size: 181 bytes --]
begin:vcard
fn:Nigel Horne
n:Horne;Nigel
org:NJH Music
email;internet:njh@bandsman.co.uk
tel;fax:+44 870 705 9334
note:Skype: nigelhorne
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 22+ messages in thread
* [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 10:08 [Qemu-devel] Report Nigel Horne
@ 2007-04-15 11:33 ` Stuart Brady
2007-04-15 11:42 ` Paul Brook
2007-04-15 12:08 ` Nigel Horne
2007-04-15 12:46 ` [Qemu-devel] Report Thiemo Seufer
1 sibling, 2 replies; 22+ messages in thread
From: Stuart Brady @ 2007-04-15 11:33 UTC (permalink / raw)
To: qemu-devel
On Sun, Apr 15, 2007 at 11:08:56AM +0100, Nigel Horne wrote:
> Can qemu emulate 16-bit machines (286?)?
None that I'm aware of. Is there any particular need for 286 emulation?
OTOH, it might be interesting to see some m68k system emulation.
I've been working on an 8-bit machine, with some success. The one thing
that I'm not really sure about is bank switching (although I think I can
just call cpu_register_physical_memory()).
HTH,
--
Stuart Brady
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 11:33 ` [Qemu-devel] 16-bit (and 8-bit) emulation Stuart Brady
@ 2007-04-15 11:42 ` Paul Brook
2007-04-15 12:08 ` Nigel Horne
1 sibling, 0 replies; 22+ messages in thread
From: Paul Brook @ 2007-04-15 11:42 UTC (permalink / raw)
To: qemu-devel
On Sunday 15 April 2007 12:33, Stuart Brady wrote:
> On Sun, Apr 15, 2007 at 11:08:56AM +0100, Nigel Horne wrote:
> > Can qemu emulate 16-bit machines (286?)?
>
> None that I'm aware of. Is there any particular need for 286 emulation?
> OTOH, it might be interesting to see some m68k system emulation.
>
> I've been working on an 8-bit machine, with some success. The one thing
> that I'm not really sure about is bank switching (although I think I can
> just call cpu_register_physical_memory()).
It's probably easier to map all banks into a single large address space, and
use the bank number as the high bits of the address. That way you can switch
banks without having to flush everything.
gdb uses similar tricks to deal with multiple address spaces on DSPs.
Paul
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 11:33 ` [Qemu-devel] 16-bit (and 8-bit) emulation Stuart Brady
2007-04-15 11:42 ` Paul Brook
@ 2007-04-15 12:08 ` Nigel Horne
2007-04-15 12:35 ` Paul Brook
` (2 more replies)
1 sibling, 3 replies; 22+ messages in thread
From: Nigel Horne @ 2007-04-15 12:08 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
Stuart Brady wrote:
> On Sun, Apr 15, 2007 at 11:08:56AM +0100, Nigel Horne wrote:
>> Can qemu emulate 16-bit machines (286?)?
>
> None that I'm aware of. Is there any particular need for 286 emulation?
To test my code on machines where sizeof(int) == sizeof(short), and
sizeof(int) != sizeof(long).
> OTOH, it might be interesting to see some m68k system emulation.
I can't remember now what sizeof(int) and sizeof(char *) were on m68k machines.
-Nigel
--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh@bandsman.co.uk http://www.bandsman.co.uk
[-- Attachment #2: njh.vcf --]
[-- Type: text/x-vcard, Size: 181 bytes --]
begin:vcard
fn:Nigel Horne
n:Horne;Nigel
org:NJH Music
email;internet:njh@bandsman.co.uk
tel;fax:+44 870 705 9334
note:Skype: nigelhorne
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 12:08 ` Nigel Horne
@ 2007-04-15 12:35 ` Paul Brook
2007-04-15 12:43 ` Nigel Horne
2007-04-15 12:40 ` Andreas Schwab
2007-04-17 13:55 ` Todd T. Fries
2 siblings, 1 reply; 22+ messages in thread
From: Paul Brook @ 2007-04-15 12:35 UTC (permalink / raw)
To: qemu-devel
On Sunday 15 April 2007 13:08, Nigel Horne wrote:
> Stuart Brady wrote:
> > On Sun, Apr 15, 2007 at 11:08:56AM +0100, Nigel Horne wrote:
> >> Can qemu emulate 16-bit machines (286?)?
> >
> > None that I'm aware of. Is there any particular need for 286 emulation?
>
> To test my code on machines where sizeof(int) == sizeof(short), and
> sizeof(int) != sizeof(long).
Modern x86 are backwards compatible[*], so you should be able to do that
anyway.
Paul
[*] There are a few corner cases, but these are only likely to effect
hand-written asm doing evil things. There's probably more difference between
qemu and real hardware than 286 and i386 real mode.
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 12:35 ` Paul Brook
@ 2007-04-15 12:43 ` Nigel Horne
2007-04-15 12:54 ` Paul Brook
0 siblings, 1 reply; 22+ messages in thread
From: Nigel Horne @ 2007-04-15 12:43 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 715 bytes --]
Paul Brook wrote:
> On Sunday 15 April 2007 13:08, Nigel Horne wrote:
>> Stuart Brady wrote:
>>> On Sun, Apr 15, 2007 at 11:08:56AM +0100, Nigel Horne wrote:
>>>> Can qemu emulate 16-bit machines (286?)?
>>> None that I'm aware of. Is there any particular need for 286 emulation?
>> To test my code on machines where sizeof(int) == sizeof(short), and
>> sizeof(int) != sizeof(long).
>
> Modern x86 are backwards compatible[*], so you should be able to do that
> anyway.
Care to share with us how I do that? Is it an option to gcc?
>
> Paul
--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh@bandsman.co.uk http://www.bandsman.co.uk
[-- Attachment #2: njh.vcf --]
[-- Type: text/x-vcard, Size: 181 bytes --]
begin:vcard
fn:Nigel Horne
n:Horne;Nigel
org:NJH Music
email;internet:njh@bandsman.co.uk
tel;fax:+44 870 705 9334
note:Skype: nigelhorne
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 12:43 ` Nigel Horne
@ 2007-04-15 12:54 ` Paul Brook
2007-04-15 12:56 ` Nigel Horne
0 siblings, 1 reply; 22+ messages in thread
From: Paul Brook @ 2007-04-15 12:54 UTC (permalink / raw)
To: qemu-devel
> > Modern x86 are backwards compatible[*], so you should be able to do that
> > anyway.
>
> Care to share with us how I do that? Is it an option to gcc?
gcc does not support 16-bit mode.
My point is that pretty much anything that runs on a 286 should also run on
any subsequent x86 processor. If you want to test 16-bit x86 software/systems
you don't need an actual 286. A 386 is just as good for almost all purposes.
Paul
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 12:54 ` Paul Brook
@ 2007-04-15 12:56 ` Nigel Horne
2007-04-15 13:31 ` Paul Brook
0 siblings, 1 reply; 22+ messages in thread
From: Nigel Horne @ 2007-04-15 12:56 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]
Paul Brook wrote:
>>> Modern x86 are backwards compatible[*], so you should be able to do that
>>> anyway.
>> Care to share with us how I do that? Is it an option to gcc?
>
> gcc does not support 16-bit mode.
>
> My point is that pretty much anything that runs on a 286 should also run on
> any subsequent x86 processor. If you want to test 16-bit x86 software/systems
> you don't need an actual 286. A 386 is just as good for almost all purposes.
How does that address my issue?
> Paul
-Nigel
--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh@bandsman.co.uk http://www.bandsman.co.uk
[-- Attachment #2: njh.vcf --]
[-- Type: text/x-vcard, Size: 181 bytes --]
begin:vcard
fn:Nigel Horne
n:Horne;Nigel
org:NJH Music
email;internet:njh@bandsman.co.uk
tel;fax:+44 870 705 9334
note:Skype: nigelhorne
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 12:56 ` Nigel Horne
@ 2007-04-15 13:31 ` Paul Brook
2007-04-15 13:46 ` Nigel Horne
0 siblings, 1 reply; 22+ messages in thread
From: Paul Brook @ 2007-04-15 13:31 UTC (permalink / raw)
To: qemu-devel
> > My point is that pretty much anything that runs on a 286 should also run
> > on any subsequent x86 processor. If you want to test 16-bit x86
> > software/systems you don't need an actual 286. A 386 is just as good for
> > almost all purposes.
>
> How does that address my issue?
You wanted a 286 so that you could test 16-bit x86 code. You can already do
that with current qemu. How you generate that 16-bit x86 code is a completely
unrelated (and offtopic) problem.
Paul
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 13:31 ` Paul Brook
@ 2007-04-15 13:46 ` Nigel Horne
2007-04-15 13:51 ` Paul Brook
2007-04-15 19:55 ` Natalia Portillo
0 siblings, 2 replies; 22+ messages in thread
From: Nigel Horne @ 2007-04-15 13:46 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 130 bytes --]
Let me approach this in a different way in the hope that I'll get an answer to my
question: will Qemu run a 286 guest O/S?
-Nige
[-- Attachment #2: njh.vcf --]
[-- Type: text/x-vcard, Size: 181 bytes --]
begin:vcard
fn:Nigel Horne
n:Horne;Nigel
org:NJH Music
email;internet:njh@bandsman.co.uk
tel;fax:+44 870 705 9334
note:Skype: nigelhorne
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 13:46 ` Nigel Horne
@ 2007-04-15 13:51 ` Paul Brook
2007-04-15 13:54 ` Nigel Horne
2007-04-15 19:55 ` Natalia Portillo
1 sibling, 1 reply; 22+ messages in thread
From: Paul Brook @ 2007-04-15 13:51 UTC (permalink / raw)
To: qemu-devel
On Sunday 15 April 2007 14:46, Nigel Horne wrote:
> Let me approach this in a different way in the hope that I'll get an answer
> to my question: will Qemu run a 286 guest O/S?
Yes.
Paul
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 13:51 ` Paul Brook
@ 2007-04-15 13:54 ` Nigel Horne
0 siblings, 0 replies; 22+ messages in thread
From: Nigel Horne @ 2007-04-15 13:54 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 616 bytes --]
Paul Brook wrote:
> On Sunday 15 April 2007 14:46, Nigel Horne wrote:
>> Let me approach this in a different way in the hope that I'll get an answer
>> to my question: will Qemu run a 286 guest O/S?
>
> Yes.
Good.
Followup question, if the guest O/S is multi-architecture, will it run in 386
mode (which I don't want for this particular scenario) or can I force it to only "see" a 286
so that it doesn't boot up in 386 mode?
>
> Paul
-Nigel
--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh@bandsman.co.uk http://www.bandsman.co.uk
[-- Attachment #2: njh.vcf --]
[-- Type: text/x-vcard, Size: 181 bytes --]
begin:vcard
fn:Nigel Horne
n:Horne;Nigel
org:NJH Music
email;internet:njh@bandsman.co.uk
tel;fax:+44 870 705 9334
note:Skype: nigelhorne
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 13:46 ` Nigel Horne
2007-04-15 13:51 ` Paul Brook
@ 2007-04-15 19:55 ` Natalia Portillo
2007-04-16 23:35 ` Derek Fawcus
1 sibling, 1 reply; 22+ messages in thread
From: Natalia Portillo @ 2007-04-15 19:55 UTC (permalink / raw)
To: qemu-devel
Yes but...
Currently no protected mode 286 guest OS runs under qemu.
El dom, 15-04-2007 a las 14:46 +0100, Nigel Horne escribió:
> Let me approach this in a different way in the hope that I'll get an answer to my
> question: will Qemu run a 286 guest O/S?
>
> -Nige
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 19:55 ` Natalia Portillo
@ 2007-04-16 23:35 ` Derek Fawcus
2007-04-16 23:57 ` Natalia Portillo
0 siblings, 1 reply; 22+ messages in thread
From: Derek Fawcus @ 2007-04-16 23:35 UTC (permalink / raw)
To: qemu-devel
On Sun, Apr 15, 2007 at 08:55:17PM +0100, Natalia Portillo wrote:
> Yes but...
>
> Currently no protected mode 286 guest OS runs under qemu.
Windows 3.1 Standard mode? (Delete / Rename KRNL386.EXE)
DF
>
> El dom, 15-04-2007 a las 14:46 +0100, Nigel Horne escribió:
> > Let me approach this in a different way in the hope that I'll get an answer to my
> > question: will Qemu run a 286 guest O/S?
> >
> > -Nige
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-16 23:35 ` Derek Fawcus
@ 2007-04-16 23:57 ` Natalia Portillo
0 siblings, 0 replies; 22+ messages in thread
From: Natalia Portillo @ 2007-04-16 23:57 UTC (permalink / raw)
To: qemu-devel
Windows 3.1 is not an OS.
And there is no Windows for 286 protected mode.
There is OS/2 and UNIXen but none works (OS/2 2.0 and later UNIXen works
but they are 386 protected mode)
El mar, 17-04-2007 a las 00:35 +0100, Derek Fawcus escribió:
> On Sun, Apr 15, 2007 at 08:55:17PM +0100, Natalia Portillo wrote:
> > Yes but...
> >
> > Currently no protected mode 286 guest OS runs under qemu.
>
> Windows 3.1 Standard mode? (Delete / Rename KRNL386.EXE)
>
> DF
>
> >
> > El dom, 15-04-2007 a las 14:46 +0100, Nigel Horne escribió:
> > > Let me approach this in a different way in the hope that I'll get an answer to my
> > > question: will Qemu run a 286 guest O/S?
> > >
> > > -Nige
> >
>
>
>
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 12:08 ` Nigel Horne
2007-04-15 12:35 ` Paul Brook
@ 2007-04-15 12:40 ` Andreas Schwab
2007-04-15 12:46 ` Nigel Horne
2007-04-17 13:55 ` Todd T. Fries
2 siblings, 1 reply; 22+ messages in thread
From: Andreas Schwab @ 2007-04-15 12:40 UTC (permalink / raw)
To: qemu-devel
Nigel Horne <njh@bandsman.co.uk> writes:
> I can't remember now what sizeof(int) and sizeof(char *) were on m68k machines.
It depends. Try -mshort.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 12:40 ` Andreas Schwab
@ 2007-04-15 12:46 ` Nigel Horne
2007-04-15 13:30 ` Andreas Schwab
0 siblings, 1 reply; 22+ messages in thread
From: Nigel Horne @ 2007-04-15 12:46 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 508 bytes --]
Andreas Schwab wrote:
> Nigel Horne <njh@bandsman.co.uk> writes:
>
>> I can't remember now what sizeof(int) and sizeof(char *) were on m68k machines.
>
> It depends. Try -mshort.
That's not much help, I'm sorry to say, because you need an m68k machine to use
it on, and there's no qemu-system-m68k, only a qemu-m68k.
>
> Andreas.
>
--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh@bandsman.co.uk http://www.bandsman.co.uk
[-- Attachment #2: njh.vcf --]
[-- Type: text/x-vcard, Size: 181 bytes --]
begin:vcard
fn:Nigel Horne
n:Horne;Nigel
org:NJH Music
email;internet:njh@bandsman.co.uk
tel;fax:+44 870 705 9334
note:Skype: nigelhorne
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 12:46 ` Nigel Horne
@ 2007-04-15 13:30 ` Andreas Schwab
0 siblings, 0 replies; 22+ messages in thread
From: Andreas Schwab @ 2007-04-15 13:30 UTC (permalink / raw)
To: qemu-devel
Nigel Horne <njh@bandsman.co.uk> writes:
> Andreas Schwab wrote:
>> Nigel Horne <njh@bandsman.co.uk> writes:
>>
>>> I can't remember now what sizeof(int) and sizeof(char *) were on m68k machines.
>>
>> It depends. Try -mshort.
>
> That's not much help, I'm sorry to say, because you need an m68k machine to use
> it on, and there's no qemu-system-m68k, only a qemu-m68k.
Why do you need a full emulation? The choice of sizeof(int) has no
influence on the cpu.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] 16-bit (and 8-bit) emulation
2007-04-15 12:08 ` Nigel Horne
2007-04-15 12:35 ` Paul Brook
2007-04-15 12:40 ` Andreas Schwab
@ 2007-04-17 13:55 ` Todd T. Fries
2 siblings, 0 replies; 22+ messages in thread
From: Todd T. Fries @ 2007-04-17 13:55 UTC (permalink / raw)
To: qemu-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 1906 bytes --]
todd@cloud/p1 ~/src/c/todd/test¦100$ ./sizeof
sizeof(char) = 1
sizeof(short) = 2
sizeof(int) = 4
sizeof(char *) = 4
sizeof(long) = 4
sizeof(long long) = 8
todd@cloud/p1 ~/src/c/todd/test¦101$ uname -a
OpenBSD cloud.fries.net 4.1 GENERIC#7 mac68k
todd@cloud/p1 ~/src/c/todd/test¦102$
FWIW.
--
Todd Fries .. todd@fries.net
_____________________________________________
| \ 1.636.410.0632 (voice)
| Free Daemon Consulting, LLC \ 1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX)
| "..in support of free software solutions." \ 250797 (FWD)
| \
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A
http://todd.fries.net/pgp.txt
Penned by Nigel Horne on 20070415 13:08.57, we have:
| Stuart Brady wrote:
| >On Sun, Apr 15, 2007 at 11:08:56AM +0100, Nigel Horne wrote:
| >>Can qemu emulate 16-bit machines (286?)?
| >
| >None that I'm aware of. Is there any particular need for 286 emulation?
|
| To test my code on machines where sizeof(int) == sizeof(short), and
| sizeof(int) != sizeof(long).
|
| >OTOH, it might be interesting to see some m68k system emulation.
|
| I can't remember now what sizeof(int) and sizeof(char *) were on m68k
| machines.
|
| -Nigel
|
| --
| Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor,
| Typesetter.
| NJH Music, Barnsley, UK. ICQ#20252325
| njh@bandsman.co.uk http://www.bandsman.co.uk
| begin:vcard
| fn:Nigel Horne
| n:Horne;Nigel
| org:NJH Music
| email;internet:njh@bandsman.co.uk
| tel;fax:+44 870 705 9334
| note:Skype: nigelhorne
| x-mozilla-html:FALSE
| version:2.1
| end:vcard
|
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] Report
2007-04-15 10:08 [Qemu-devel] Report Nigel Horne
2007-04-15 11:33 ` [Qemu-devel] 16-bit (and 8-bit) emulation Stuart Brady
@ 2007-04-15 12:46 ` Thiemo Seufer
2007-04-15 14:08 ` Nigel Horne
1 sibling, 1 reply; 22+ messages in thread
From: Thiemo Seufer @ 2007-04-15 12:46 UTC (permalink / raw)
To: Nigel Horne; +Cc: qemu-devel
Nigel Horne wrote:
> Folks,
>
> Thanks for qemu. I thought you may like to know that from a Linux x86 host
> I have 3 linux guests: sparc, arm and mips. The first 2 work a treat, the
> mips keeps core dumping in libc6 when called from Perl, I don't know if
> the problem lies in libc6, perl or qemu.
I assume you are using full system emulation for mips. I currently see
some instability when running specific perl scripts which is apparently
triggered by the FPU emulator in the Linux/MIPS kernel. As a workaround,
use -cpu 24Kf.
Thiemo
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] Report
2007-04-15 12:46 ` [Qemu-devel] Report Thiemo Seufer
@ 2007-04-15 14:08 ` Nigel Horne
2007-04-15 16:37 ` Thiemo Seufer
0 siblings, 1 reply; 22+ messages in thread
From: Nigel Horne @ 2007-04-15 14:08 UTC (permalink / raw)
Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 841 bytes --]
Thiemo Seufer wrote:
> Nigel Horne wrote:
>> Folks,
>>
>> Thanks for qemu. I thought you may like to know that from a Linux x86 host
>> I have 3 linux guests: sparc, arm and mips. The first 2 work a treat, the
>> mips keeps core dumping in libc6 when called from Perl, I don't know if
>> the problem lies in libc6, perl or qemu.
>
> I assume you are using full system emulation for mips. I currently see
> some instability when running specific perl scripts which is apparently
> triggered by the FPU emulator in the Linux/MIPS kernel. As a workaround,
> use -cpu 24Kf.
Yes, that works a treat, thanks. I wonder if it's worth reporting as a kernel
bug.
> Thiemo
-Nigel
--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh@bandsman.co.uk http://www.bandsman.co.uk
[-- Attachment #2: njh.vcf --]
[-- Type: text/x-vcard, Size: 181 bytes --]
begin:vcard
fn:Nigel Horne
n:Horne;Nigel
org:NJH Music
email;internet:njh@bandsman.co.uk
tel;fax:+44 870 705 9334
note:Skype: nigelhorne
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [Qemu-devel] Report
2007-04-15 14:08 ` Nigel Horne
@ 2007-04-15 16:37 ` Thiemo Seufer
0 siblings, 0 replies; 22+ messages in thread
From: Thiemo Seufer @ 2007-04-15 16:37 UTC (permalink / raw)
To: Nigel Horne; +Cc: qemu-devel
Nigel Horne wrote:
> Thiemo Seufer wrote:
> >Nigel Horne wrote:
> >>Folks,
> >>
> >>Thanks for qemu. I thought you may like to know that from a Linux x86 host
> >>I have 3 linux guests: sparc, arm and mips. The first 2 work a treat, the
> >>mips keeps core dumping in libc6 when called from Perl, I don't know if
> >>the problem lies in libc6, perl or qemu.
> >
> >I assume you are using full system emulation for mips. I currently see
> >some instability when running specific perl scripts which is apparently
> >triggered by the FPU emulator in the Linux/MIPS kernel. As a workaround,
> >use -cpu 24Kf.
>
> Yes, that works a treat, thanks. I wonder if it's worth reporting as a
> kernel bug.
It is a Qemu bug. On real hardware it works fine.
Thiemo
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2007-04-17 22:29 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-15 10:08 [Qemu-devel] Report Nigel Horne
2007-04-15 11:33 ` [Qemu-devel] 16-bit (and 8-bit) emulation Stuart Brady
2007-04-15 11:42 ` Paul Brook
2007-04-15 12:08 ` Nigel Horne
2007-04-15 12:35 ` Paul Brook
2007-04-15 12:43 ` Nigel Horne
2007-04-15 12:54 ` Paul Brook
2007-04-15 12:56 ` Nigel Horne
2007-04-15 13:31 ` Paul Brook
2007-04-15 13:46 ` Nigel Horne
2007-04-15 13:51 ` Paul Brook
2007-04-15 13:54 ` Nigel Horne
2007-04-15 19:55 ` Natalia Portillo
2007-04-16 23:35 ` Derek Fawcus
2007-04-16 23:57 ` Natalia Portillo
2007-04-15 12:40 ` Andreas Schwab
2007-04-15 12:46 ` Nigel Horne
2007-04-15 13:30 ` Andreas Schwab
2007-04-17 13:55 ` Todd T. Fries
2007-04-15 12:46 ` [Qemu-devel] Report Thiemo Seufer
2007-04-15 14:08 ` Nigel Horne
2007-04-15 16:37 ` Thiemo Seufer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).