Skip to contentSkip to conversation

System emulation with flash broken?

Qemu-devel Stefan Weil 3 participants 6 messages Jan 7, 2012 – Jan 12, 2012

lore
Share & tools
lore
#0 lore raw

Hello Avi,

latest QEMU seems to be broken when a system emulation with flash is started.

I did not run git bisect, but it looks like the problem started with this change:

c5705a7728b4a6bc9e4f2d35911adbaf28042b25
Author: Avi Kivity <[email protected]> 2011-12-20 14:59:12 vmstate, memory: decouple vmstate from memory API

I first noticed the problem with my AR7 emulation (not part of official QEMU), but also got it with MIPS Malta, so I assume that all systems with flash are broken and fail with this assertion:

/qemu/exec.c:2785: qemu_ram_set_idstr: Assertion `new_block' failed.

The function is searching for address 0x10000009 which is 0x10000000 plus an index. Without the index, the address would have been found.

Regards,

Stefan

#1 lore raw
Quoted 10 lines · Stefan Weil

Hello Avi,

latest QEMU seems to be broken when a system emulation with flash is started.

I did not run git bisect, but it looks like the problem started with this change:

c5705a7728b4a6bc9e4f2d35911adbaf28042b25
Author: Avi Kivity <[email protected]> 2011-12-20 14:59:12 vmstate, memory: decouple vmstate from memory API

Quoted 8 lines

I first noticed the problem with my AR7 emulation (not part of official QEMU), but also got it with MIPS Malta, so I assume that all systems with flash are broken and fail with this assertion:

/qemu/exec.c:2785: qemu_ram_set_idstr: Assertion `new_block' failed.

The function is searching for address 0x10000009 which is 0x10000000 plus an index. Without the index, the address would have been found.

Hello Avi,

I'm having also problems with this patch:
# VGA bank switching problems under DOS
git checkout 682a3c07f0e28d2532c911a44a9b6142d6299cc2

# OK
git checkout aad3b517a1b83561f2755dc4451596a421399c19

And commit 682a3c07f0e28d2532c911a44a9b6142d6299cc2 is the Merge commit 'c5705a7728b4a6bc9e4f2d35911adbaf28042b25' into upstream-merge.

Thnx.

Ciao,
Gerhard

--
http://www.wiesinger.com/

#2 lore raw
Quoted 29 lines · Gerhard Wiesinger
Quoted 12 lines · Stefan Weil

Hello Avi,

latest QEMU seems to be broken when a system emulation with flash is started.

I did not run git bisect, but it looks like the problem started with this change:

c5705a7728b4a6bc9e4f2d35911adbaf28042b25
Author: Avi Kivity <[email protected]> 2011-12-20 14:59:12 vmstate, memory: decouple vmstate from memory API

Quoted 8 lines

I first noticed the problem with my AR7 emulation (not part of official QEMU), but also got it with MIPS Malta, so I assume that all systems with flash are broken and fail with this assertion:

/qemu/exec.c:2785: qemu_ram_set_idstr: Assertion `new_block' failed.

The function is searching for address 0x10000009 which is 0x10000000 plus an index. Without the index, the address would have been found.

Hello Avi,

I'm having also problems with this patch:
# VGA bank switching problems under DOS
git checkout 682a3c07f0e28d2532c911a44a9b6142d6299cc2

Quoted 6 lines

# OK
git checkout aad3b517a1b83561f2755dc4451596a421399c19

And commit 682a3c07f0e28d2532c911a44a9b6142d6299cc2 is the Merge commit 'c5705a7728b4a6bc9e4f2d35911adbaf28042b25' into upstream-merge.

A patch for this has already been posted; hopefully to be merged soon.

Signature · 1 line
error compiling committee.c: too many arguments to function
#3 lore raw
Quoted 30 lines · Avi Kivity
Quoted 29 lines · Gerhard Wiesinger
Quoted 12 lines · Stefan Weil

Hello Avi,

latest QEMU seems to be broken when a system emulation with flash is started.

I did not run git bisect, but it looks like the problem started with this change:

c5705a7728b4a6bc9e4f2d35911adbaf28042b25
Author: Avi Kivity <[email protected]> 2011-12-20 14:59:12 vmstate, memory: decouple vmstate from memory API

Quoted 8 lines

I first noticed the problem with my AR7 emulation (not part of official QEMU), but also got it with MIPS Malta, so I assume that all systems with flash are broken and fail with this assertion:

/qemu/exec.c:2785: qemu_ram_set_idstr: Assertion `new_block' failed.

The function is searching for address 0x10000009 which is 0x10000000 plus an index. Without the index, the address would have been found.

Hello Avi,

I'm having also problems with this patch:
# VGA bank switching problems under DOS
git checkout 682a3c07f0e28d2532c911a44a9b6142d6299cc2

Quoted 8 lines
Quoted 6 lines

# OK
git checkout aad3b517a1b83561f2755dc4451596a421399c19

And commit 682a3c07f0e28d2532c911a44a9b6142d6299cc2 is the Merge commit 'c5705a7728b4a6bc9e4f2d35911adbaf28042b25' into upstream-merge.

A patch for this has already been posted; hopefully to be merged soon.

To test: Which patch do you exactly mean?

Thnx.

Ciao,
Gerhard

--
http://www.wiesinger.com/

#4 lore raw
Quoted 35 lines · Gerhard Wiesinger
Quoted 33 lines · Avi Kivity
Quoted 32 lines · Gerhard Wiesinger
Quoted 12 lines · Stefan Weil

Hello Avi,

latest QEMU seems to be broken when a system emulation with flash is started.

I did not run git bisect, but it looks like the problem started with this change:

c5705a7728b4a6bc9e4f2d35911adbaf28042b25
Author: Avi Kivity <[email protected]> 2011-12-20 14:59:12 vmstate, memory: decouple vmstate from memory API

Quoted 8 lines

I first noticed the problem with my AR7 emulation (not part of official QEMU), but also got it with MIPS Malta, so I assume that all systems with flash are broken and fail with this assertion:

/qemu/exec.c:2785: qemu_ram_set_idstr: Assertion `new_block' failed.

The function is searching for address 0x10000009 which is 0x10000000 plus an index. Without the index, the address would have been found.

Hello Avi,

I'm having also problems with this patch:
# VGA bank switching problems under DOS
git checkout 682a3c07f0e28d2532c911a44a9b6142d6299cc2

# OK
git checkout aad3b517a1b83561f2755dc4451596a421399c19

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

And commit 682a3c07f0e28d2532c911a44a9b6142d6299cc2 is the Merge commit 'c5705a7728b4a6bc9e4f2d35911adbaf28042b25' into upstream-merge.

A patch for this has already been posted; hopefully to be merged soon.

To test: Which patch do you exactly mean?

Original patch:

http://article.gmane.org/gmane.comp.emulators.qemu/131082

My alternative:

http://article.gmane.org/gmane.comp.emulators.qemu/131164

Signature · 1 line
error compiling committee.c: too many arguments to function
#5 lore raw
Quoted 45 lines · Avi Kivity
Quoted 35 lines · Gerhard Wiesinger
Quoted 33 lines · Avi Kivity
Quoted 32 lines · Gerhard Wiesinger
Quoted 12 lines · Stefan Weil

Hello Avi,

latest QEMU seems to be broken when a system emulation with flash is started.

I did not run git bisect, but it looks like the problem started with this change:

c5705a7728b4a6bc9e4f2d35911adbaf28042b25
Author: Avi Kivity <[email protected]> 2011-12-20 14:59:12 vmstate, memory: decouple vmstate from memory API

Quoted 8 lines

I first noticed the problem with my AR7 emulation (not part of official QEMU), but also got it with MIPS Malta, so I assume that all systems with flash are broken and fail with this assertion:

/qemu/exec.c:2785: qemu_ram_set_idstr: Assertion `new_block' failed.

The function is searching for address 0x10000009 which is 0x10000000 plus an index. Without the index, the address would have been found.

Hello Avi,

I'm having also problems with this patch:
# VGA bank switching problems under DOS
git checkout 682a3c07f0e28d2532c911a44a9b6142d6299cc2

# OK
git checkout aad3b517a1b83561f2755dc4451596a421399c19

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

And commit 682a3c07f0e28d2532c911a44a9b6142d6299cc2 is the Merge commit 'c5705a7728b4a6bc9e4f2d35911adbaf28042b25' into upstream-merge.

A patch for this has already been posted; hopefully to be merged soon.

To test: Which patch do you exactly mean?

Quoted 7 lines

Original patch:

http://article.gmane.org/gmane.comp.emulators.qemu/131082

My alternative:

http://article.gmane.org/gmane.comp.emulators.qemu/131164

Helo Avi,

Can NOT confirm that one of these or both changes work well. So something else is (still) wrong.

Ciao,
Gerhard

--
http://www.wiesinger.com/