Skip to contentSkip to conversation

lsi_scsi assertion

DISCUSSION Peter Lieven 4 participants 10 messages Sep 16, 2010 – Oct 4, 2010 KVM

lore
Share & tools
lore
#0 lore raw

Hi,

I found the following assertion in my log files after a system reset was executed

kvm: lsi_scsi: error: ORDERED queue not implemented
last message repeated 5 times
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: lsi_scsi: error: Unimplemented message 0x0c
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: qemu-kvm-0.12.4.1: /usr/src/qemu-kvm-0.12.4/hw/lsi53c895a.c:596: lsi_reselect: Assertion `s->current == ((void *)0)' failed.
kvm: Aborted
kvm errno=134

The guest is a 64-bit ubuntu 10.04 server. Qemu-KVM is 0.12.4.

Sounds this familiar to anyone?

BR,
Peter

#1 lore raw

Am 16.09.2010 15:57, schrieb ext Peter Lieven:

Quoted 13 lines

Hi,

I found the following assertion in my log files after a system reset was executed

kvm: lsi_scsi: error: ORDERED queue not implemented
last message repeated 5 times
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: lsi_scsi: error: Unimplemented message 0x0c
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: qemu-kvm-0.12.4.1: /usr/src/qemu-kvm-0.12.4/hw/lsi53c895a.c:596: lsi_reselect: Assertion `s->current == ((void *)0)' failed.
kvm: Aborted
kvm errno=134

Quoted 6 lines

The guest is a 64-bit ubuntu 10.04 server. Qemu-KVM is 0.12.4.

Sounds this familiar to anyone?

BR,
Peter

For messages 0x0c and 0x0d I recently submitted a patch:
http://thread.gmane.org/gmane.comp.emulators.qemu/79660

ORDERED queue is still missing.
The assertion needs to be investigated. What guest OS?

Bernhard

#2 lore raw

Am 17.09.2010 um 13:36 schrieb Bernhard Kohl:

Quoted 16 lines

Am 16.09.2010 15:57, schrieb ext Peter Lieven:

Quoted 15 lines

Hi,

I found the following assertion in my log files after a system reset was executed

kvm: lsi_scsi: error: ORDERED queue not implemented
last message repeated 5 times
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: lsi_scsi: error: Unimplemented message 0x0c
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: qemu-kvm-0.12.4.1: /usr/src/qemu-kvm-0.12.4/hw/lsi53c895a.c:596: lsi_reselect: Assertion `s->current == ((void *)0)' failed.
kvm: Aborted
kvm errno=134

The guest is a 64-bit ubuntu 10.04 server. Qemu-KVM is 0.12.4.

Quoted 7 lines
Quoted 4 lines

Sounds this familiar to anyone?

BR,
Peter

For messages 0x0c and 0x0d I recently submitted a patch:
http://thread.gmane.org/gmane.comp.emulators.qemu/79660

thanks.

Quoted 3 lines

ORDERED queue is still missing.
The assertion needs to be investigated. What guest OS?

ubuntu 10.04.1 lts 64-bit

Quoted 3 lines

Bernhard

peter

#3 lore raw
Quoted 27 lines · Peter Lieven

Am 17.09.2010 um 13:36 schrieb Bernhard Kohl:

Quoted 16 lines

Am 16.09.2010 15:57, schrieb ext Peter Lieven:

Quoted 15 lines

Hi,

I found the following assertion in my log files after a system reset was executed

kvm: lsi_scsi: error: ORDERED queue not implemented
last message repeated 5 times
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: lsi_scsi: error: Unimplemented message 0x0c
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: qemu-kvm-0.12.4.1: /usr/src/qemu-kvm-0.12.4/hw/lsi53c895a.c:596: lsi_reselect: Assertion `s->current == ((void *)0)' failed.
kvm: Aborted
kvm errno=134

The guest is a 64-bit ubuntu 10.04 server. Qemu-KVM is 0.12.4.

Quoted 7 lines
Quoted 4 lines

Sounds this familiar to anyone?

BR,
Peter

For messages 0x0c and 0x0d I recently submitted a patch:
http://thread.gmane.org/gmane.comp.emulators.qemu/79660

Quoted 8 lines

thanks.

Quoted 3 lines

ORDERED queue is still missing.
The assertion needs to be investigated. What guest OS?

ubuntu 10.04.1 lts 64-bit

Already checked if even the abort persists with 0.13-rc1? Just to exclude that this is only a missing back-port.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#4 lore raw

Am 17.09.2010 um 14:30 schrieb Jan Kiszka:

Quoted 31 lines · Peter Lieven
Quoted 30 lines

Am 17.09.2010 um 13:36 schrieb Bernhard Kohl:

Quoted 16 lines

Am 16.09.2010 15:57, schrieb ext Peter Lieven:

Quoted 15 lines

Hi,

I found the following assertion in my log files after a system reset was executed

kvm: lsi_scsi: error: ORDERED queue not implemented
last message repeated 5 times
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: lsi_scsi: error: Unimplemented message 0x0c
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: qemu-kvm-0.12.4.1: /usr/src/qemu-kvm-0.12.4/hw/lsi53c895a.c:596: lsi_reselect: Assertion `s->current == ((void *)0)' failed.
kvm: Aborted
kvm errno=134

The guest is a 64-bit ubuntu 10.04 server. Qemu-KVM is 0.12.4.

Quoted 7 lines
Quoted 4 lines

Sounds this familiar to anyone?

BR,
Peter

For messages 0x0c and 0x0d I recently submitted a patch:
http://thread.gmane.org/gmane.comp.emulators.qemu/79660

thanks.

Quoted 1 line
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

ORDERED queue is still missing.
The assertion needs to be investigated. What guest OS?

ubuntu 10.04.1 lts 64-bit

Already checked if even the abort persists with 0.13-rc1? Just to exclude that this is only a missing back-port.

hi, not yet. i have not tried 0.13-rc1 because i did not find a valid changelog in the distro.

thanks,
peter

Quoted 6 lines

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#5 lore raw
Quoted 37 lines · Peter Lieven

Am 17.09.2010 um 14:30 schrieb Jan Kiszka:

Quoted 34 lines · Peter Lieven
Quoted 33 lines

Am 17.09.2010 um 13:36 schrieb Bernhard Kohl:

Quoted 16 lines

Am 16.09.2010 15:57, schrieb ext Peter Lieven:

Quoted 15 lines

Hi,

I found the following assertion in my log files after a system reset was executed

kvm: lsi_scsi: error: ORDERED queue not implemented
last message repeated 5 times
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: lsi_scsi: error: Unimplemented message 0x0c
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: qemu-kvm-0.12.4.1: /usr/src/qemu-kvm-0.12.4/hw/lsi53c895a.c:596: lsi_reselect: Assertion `s->current == ((void *)0)' failed.
kvm: Aborted
kvm errno=134

The guest is a 64-bit ubuntu 10.04 server. Qemu-KVM is 0.12.4.

Quoted 7 lines
Quoted 4 lines

Sounds this familiar to anyone?

BR,
Peter

For messages 0x0c and 0x0d I recently submitted a patch:
http://thread.gmane.org/gmane.comp.emulators.qemu/79660

thanks.

Quoted 3 lines

ORDERED queue is still missing.
The assertion needs to be investigated. What guest OS?

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

ubuntu 10.04.1 lts 64-bit

Already checked if even the abort persists with 0.13-rc1? Just to exclude that this is only a missing back-port.

hi, not yet. i have not tried 0.13-rc1 because i did not find a valid changelog in the distro.

You mean you did not find any potentially related commit in git? There were definitely changes regarding reset, and I don't think we have them in 0.12 yet (backport was non-trivial, /me would have to check our local patches for 0.12 if those turns out to be the key for your abort).

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#6 lore raw

Am 17.09.2010 um 14:38 schrieb Jan Kiszka:

Quoted 44 lines · Peter Lieven
Quoted 43 lines

Am 17.09.2010 um 14:30 schrieb Jan Kiszka:

Quoted 39 lines · Peter Lieven
Quoted 27 lines

Am 17.09.2010 um 13:36 schrieb Bernhard Kohl:

Quoted 16 lines

Am 16.09.2010 15:57, schrieb ext Peter Lieven:

Quoted 15 lines

Hi,

I found the following assertion in my log files after a system reset was executed

kvm: lsi_scsi: error: ORDERED queue not implemented
last message repeated 5 times
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: lsi_scsi: error: Unimplemented message 0x0c
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: qemu-kvm-0.12.4.1: /usr/src/qemu-kvm-0.12.4/hw/lsi53c895a.c:596: lsi_reselect: Assertion `s->current == ((void *)0)' failed.
kvm: Aborted
kvm errno=134

The guest is a 64-bit ubuntu 10.04 server. Qemu-KVM is 0.12.4.

Quoted 7 lines
Quoted 4 lines

Sounds this familiar to anyone?

BR,
Peter

For messages 0x0c and 0x0d I recently submitted a patch:
http://thread.gmane.org/gmane.comp.emulators.qemu/79660

Quoted 8 lines

thanks.

Quoted 3 lines

ORDERED queue is still missing.
The assertion needs to be investigated. What guest OS?

ubuntu 10.04.1 lts 64-bit

Already checked if even the abort persists with 0.13-rc1? Just to exclude that this is only a missing back-port.

Quoted 6 lines
Quoted 1 line

hi, not yet. i have not tried 0.13-rc1 because i did not find a valid changelog in the distro.

You mean you did not find any potentially related commit in git? There were definitely changes regarding reset, and I don't think we have them in 0.12 yet (backport was non-trivial, /me would have to check our local patches for 0.12 if those turns out to be the key for your abort).

sorry, my sentence was not clear.

i downloaded 0.13-rc1 tarball from sourceforge and there are no entries regarding 0.13-rc1 in the changelog.

br,
peter

Quoted 6 lines

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#7 lore raw
Quoted 54 lines · Peter Lieven

Am 17.09.2010 um 14:38 schrieb Jan Kiszka:

Quoted 44 lines · Peter Lieven
Quoted 43 lines

Am 17.09.2010 um 14:30 schrieb Jan Kiszka:

Quoted 39 lines · Peter Lieven
Quoted 27 lines

Am 17.09.2010 um 13:36 schrieb Bernhard Kohl:

Quoted 16 lines

Am 16.09.2010 15:57, schrieb ext Peter Lieven:

Quoted 15 lines

Hi,

I found the following assertion in my log files after a system reset was executed

kvm: lsi_scsi: error: ORDERED queue not implemented
last message repeated 5 times
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: lsi_scsi: error: Unimplemented message 0x0c
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: qemu-kvm-0.12.4.1: /usr/src/qemu-kvm-0.12.4/hw/lsi53c895a.c:596: lsi_reselect: Assertion `s->current == ((void *)0)' failed.
kvm: Aborted
kvm errno=134

The guest is a 64-bit ubuntu 10.04 server. Qemu-KVM is 0.12.4.

Quoted 7 lines
Quoted 4 lines

Sounds this familiar to anyone?

BR,
Peter

For messages 0x0c and 0x0d I recently submitted a patch:
http://thread.gmane.org/gmane.comp.emulators.qemu/79660

Quoted 8 lines

thanks.

Quoted 3 lines

ORDERED queue is still missing.
The assertion needs to be investigated. What guest OS?

ubuntu 10.04.1 lts 64-bit

Already checked if even the abort persists with 0.13-rc1? Just to exclude that this is only a missing back-port.

Quoted 6 lines
Quoted 1 line

hi, not yet. i have not tried 0.13-rc1 because i did not find a valid changelog in the distro.

You mean you did not find any potentially related commit in git? There were definitely changes regarding reset, and I don't think we have them in 0.12 yet (backport was non-trivial, /me would have to check our local patches for 0.12 if those turns out to be the key for your abort).

Quoted 4 lines

sorry, my sentence was not clear.

i downloaded 0.13-rc1 tarball from sourceforge and there are no entries regarding 0.13-rc1 in the changelog.

That's the problem with meta-changelogs: someone has to update them manually. The history is always in git (accessible via web as well).

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
#8 lore raw
In reply to Peter Lieven

Hi All,

Just checking what is the status of this bug.

I just tried ubuntu 10.10 with kvm 0.12.5 and I get the same problem, here the entry from my logs:

kvm: /build/buildd/qemu-kvm-0.12.5+noroms/hw/lsi53c895a.c:596: lsi_reselect:
Assertion `s->current == ((void *)0)' failed.

BTW, It does crash the VM when it happens... (not a very nice bug)

Thanks,

Carlo

#9 lore raw
In reply to Jan Kiszka

Am 17.09.2010 14:30, schrieb ext Jan Kiszka:

Quoted 36 lines · Peter Lieven
Quoted 35 lines

Am 17.09.2010 um 13:36 schrieb Bernhard Kohl:

Quoted 17 lines

Am 16.09.2010 15:57, schrieb ext Peter Lieven:

Quoted 15 lines

Hi,

I found the following assertion in my log files after a system reset was executed

kvm: lsi_scsi: error: ORDERED queue not implemented
last message repeated 5 times
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: lsi_scsi: error: Unimplemented message 0x0c
kvm: lsi_scsi: error: Unimplemented message 0x0d
kvm: qemu-kvm-0.12.4.1: /usr/src/qemu-kvm-0.12.4/hw/lsi53c895a.c:596: lsi_reselect: Assertion `s->current == ((void *)0)' failed.
kvm: Aborted
kvm errno=134

The guest is a 64-bit ubuntu 10.04 server. Qemu-KVM is 0.12.4.

Quoted 8 lines
Quoted 5 lines

Sounds this familiar to anyone?

BR,
Peter

For messages 0x0c and 0x0d I recently submitted a patch:
http://thread.gmane.org/gmane.comp.emulators.qemu/79660

thanks.

Quoted 3 lines

ORDERED queue is still missing.
The assertion needs to be investigated. What guest OS?

Quoted 8 lines
Quoted 3 lines

ubuntu 10.04.1 lts 64-bit

Already checked if even the abort persists with 0.13-rc1? Just to exclude that this is only a missing back-port.

Jan

Maybe the assertion is a consequence of the improper handling of messages 0x0c and 0x0d which are SCSI ABORT messages.