Skip to contentSkip to conversation

MIPS statements ei, di no longer work (regression)

Qemu-devel Stefan Weil 3 participants 4 messages Jun 26, 2008 – Oct 13, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

booting a linux kernel with mips malta no longer works. Both big and little endian mips r2 stop at assembly code di.

A simple test program shows the same kind of error for di and ei. Both statements result in this output:

$ ./mipsel-softmmu/qemu-system-mipsel -M malta -kernel /tmp/test-le -d in_asm
/home/stefan/src/qemu-trunk/trunk/tcg/tcg.c:1726: tcg fatal error
Abgebrochen (= aborted)

The regression was introduced somewhere after Qemu r4753.

Kind regards
Stefan

#1 lore raw
Quoted 8 lines · Stefan Weil

Hi,

booting a linux kernel with mips malta no longer works. Both big and little endian mips r2 stop at assembly code di.

A simple test program shows the same kind of error for di and ei. Both statements result in this output:

Quoted 6 lines
$ ./mipsel-softmmu/qemu-system-mipsel -M malta -kernel /tmp/test-le -d  
in_asm
/home/stefan/src/qemu-trunk/trunk/tcg/tcg.c:1726: tcg fatal error
Abgebrochen (= aborted)

The regression was introduced somewhere after Qemu r4753.

Should be fixed now, thanks for the report.

Thiemo

#2 lore raw
Quoted 14 lines · Thiemo Seufer
Quoted 12 lines · Stefan Weil

Hi,

booting a linux kernel with mips malta no longer works. Both big and little endian mips r2 stop at assembly code di.

A simple test program shows the same kind of error for di and ei. Both statements result in this output:

$ ./mipsel-softmmu/qemu-system-mipsel -M malta -kernel /tmp/test-le -d  in_asm
/home/stefan/src/qemu-trunk/trunk/tcg/tcg.c:1726: tcg fatal error
Abgebrochen (= aborted)
Quoted 7 lines
Quoted 2 lines

The regression was introduced somewhere after Qemu r4753.

Should be fixed now, thanks for the report.

Thiemo

ei, di is fixed by your latest changes, thanks.

Now "ext v0,a1,0x7,0x3" is the next kernel code which stops Qemu with a tcg fatal error.

Stefan

#3 lore raw
Quoted 8 lines · Stefan Weil-3 wrote:
Quoted 5 lines · Thiemo Seufer

Stefan Weil wrote:
...

Quoted 3 lines

booting a linux kernel with mips malta no longer works. Both big and little endian mips r2 stop at assembly code di.

Confirmed, broken on MIPS in the trunk (rev. 5478):

# qemu-system-mips -M malta -cpu 24Kc ... 

/qemu/trunk/tcg/tcg.c:1484: tcg fatal error
Aborted

The same command works OK in "Debian GNU/Linux's Repository version", 0.9.1-6 .

Quoted 10 lines · Thiemo Seufer schrieb
Quoted 9 lines
Quoted 4 lines

The regression was introduced somewhere after Qemu r4753.

Should be fixed now, thanks for the report.

Thiemo

Quoted 8 lines · Stefan Weil-3 wrote:

ei, di is fixed by your latest changes, thanks.

Now "ext v0,a1,0x7,0x3" is the next kernel code which stops Qemu with a tcg fatal error.

Stefan

(In the weeks to come, and not today) I'll do a diff on the Debian Repo source and the trunk.

-----

Signature · 4 lines
http://www.vic-fontaine.com/ http://www.vic-fontaine.com/ 
-- 
View this message in context: http://www.nabble.com/-BUG--MIPS-statements-ei%2C-di-no-longer-work-%28regression%29-tp18139478p19962610.html
Sent from the QEMU - Dev mailing list archive at Nabble.com.