All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1181354] [NEW] assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE
@ 2013-05-17 18:37 TC1988
  2013-05-17 18:37 ` [Qemu-devel] [Bug 1181354] " TC1988
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: TC1988 @ 2013-05-17 18:37 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Every time I format a SCSI hard disk (on ID 0) with Windows NT or DOS,
QEMU crashes with an assertion failure on scsi-bus.c, any help?

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1181354

Title:
  assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE

Status in QEMU:
  New

Bug description:
  Every time I format a SCSI hard disk (on ID 0) with Windows NT or DOS,
  QEMU crashes with an assertion failure on scsi-bus.c, any help?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1181354/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1181354] Re: assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE
  2013-05-17 18:37 [Qemu-devel] [Bug 1181354] [NEW] assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE TC1988
@ 2013-05-17 18:37 ` TC1988
  2013-05-17 20:15 ` [Qemu-devel] [Bug 1181354] [NEW] " Paolo Bonzini
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: TC1988 @ 2013-05-17 18:37 UTC (permalink / raw)
  To: qemu-devel

this happens from 1.3.0 to the latest git release.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1181354

Title:
  assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE

Status in QEMU:
  New

Bug description:
  Every time I format a SCSI hard disk (on ID 0) with Windows NT or DOS,
  QEMU crashes with an assertion failure on scsi-bus.c, any help?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1181354/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Qemu-devel] [Bug 1181354] [NEW] assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE
  2013-05-17 18:37 [Qemu-devel] [Bug 1181354] [NEW] assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE TC1988
  2013-05-17 18:37 ` [Qemu-devel] [Bug 1181354] " TC1988
@ 2013-05-17 20:15 ` Paolo Bonzini
  2016-09-28 14:21 ` [Qemu-devel] [Bug 1181354] " T. Huth
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Paolo Bonzini @ 2013-05-17 20:15 UTC (permalink / raw)
  To: TC1988; +Cc: qemu-devel

Il 17/05/2013 20:37, TC1988 ha scritto:
> Public bug reported:
> 
> Every time I format a SCSI hard disk (on ID 0) with Windows NT or DOS,
> QEMU crashes with an assertion failure on scsi-bus.c, any help?
> 
> ** Affects: qemu
>      Importance: Undecided
>          Status: New
> 

What SCSI adapter (QEMU command line)?

Please apply this patch and reproduce:

diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c
index c8d2a99..57b0a4b 100644
--- a/hw/scsi/scsi-disk.c
+++ b/hw/scsi/scsi-disk.c
@@ -2234,8 +2234,7 @@ static SCSIRequest *scsi_new_request(SCSIDevice *d, uint32_t tag, uint32_t lun,
     }
     req = scsi_req_alloc(ops, &s->qdev, tag, lun, hba_private);
 
-#ifdef DEBUG_SCSI
-    DPRINTF("Command: lun=%d tag=0x%x data=0x%02x", lun, tag, buf[0]);
+    printf("Command: lun=%d tag=0x%x data=0x%02x", lun, tag, buf[0]);
     {
         int i;
         for (i = 1; i < req->cmd.len; i++) {
@@ -2243,7 +2242,6 @@ static SCSIRequest *scsi_new_request(SCSIDevice *d, uint32_t tag, uint32_t lun,
         }
         printf("\n");
     }
-#endif
 
     return req;
 }

Paolo

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1181354] Re: assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE
  2013-05-17 18:37 [Qemu-devel] [Bug 1181354] [NEW] assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE TC1988
  2013-05-17 18:37 ` [Qemu-devel] [Bug 1181354] " TC1988
  2013-05-17 20:15 ` [Qemu-devel] [Bug 1181354] [NEW] " Paolo Bonzini
@ 2016-09-28 14:21 ` T. Huth
  2017-07-25  8:53 ` Thomas Huth
  2017-09-24  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: T. Huth @ 2016-09-28 14:21 UTC (permalink / raw)
  To: qemu-devel

Does this problem still occur with the latest version of QEMU (currently
it's 2.7.0)? If so, can you please post the exact assertion message, and
if possible a stack trace (taken with gdb)? Thanks!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1181354

Title:
  assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE

Status in QEMU:
  New

Bug description:
  Every time I format a SCSI hard disk (on ID 0) with Windows NT or DOS,
  QEMU crashes with an assertion failure on scsi-bus.c, any help?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1181354/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1181354] Re: assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE
  2013-05-17 18:37 [Qemu-devel] [Bug 1181354] [NEW] assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE TC1988
                   ` (2 preceding siblings ...)
  2016-09-28 14:21 ` [Qemu-devel] [Bug 1181354] " T. Huth
@ 2017-07-25  8:53 ` Thomas Huth
  2017-09-24  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2017-07-25  8:53 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1181354

Title:
  assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE

Status in QEMU:
  Incomplete

Bug description:
  Every time I format a SCSI hard disk (on ID 0) with Windows NT or DOS,
  QEMU crashes with an assertion failure on scsi-bus.c, any help?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1181354/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1181354] Re: assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE
  2013-05-17 18:37 [Qemu-devel] [Bug 1181354] [NEW] assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE TC1988
                   ` (3 preceding siblings ...)
  2017-07-25  8:53 ` Thomas Huth
@ 2017-09-24  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: Launchpad Bug Tracker @ 2017-09-24  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1181354

Title:
  assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE

Status in QEMU:
  Expired

Bug description:
  Every time I format a SCSI hard disk (on ID 0) with Windows NT or DOS,
  QEMU crashes with an assertion failure on scsi-bus.c, any help?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1181354/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-09-24  5:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-17 18:37 [Qemu-devel] [Bug 1181354] [NEW] assert failed in scsi-bus.c line 1539 in SCSI_XFER_NONE TC1988
2013-05-17 18:37 ` [Qemu-devel] [Bug 1181354] " TC1988
2013-05-17 20:15 ` [Qemu-devel] [Bug 1181354] [NEW] " Paolo Bonzini
2016-09-28 14:21 ` [Qemu-devel] [Bug 1181354] " T. Huth
2017-07-25  8:53 ` Thomas Huth
2017-09-24  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.