All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] IDE TRIM bug on at least PPC target
Date: Sat, 18 May 2013 20:40:17 +0400	[thread overview]
Message-ID: <5197AEF1.8070302@msgid.tls.msk.ru> (raw)
In-Reply-To: <5197A407.1010303@redhat.com>

18.05.2013 19:53, Paolo Bonzini wrote:
> Il 18/05/2013 16:39, Michael Tokarev ha scritto:
>> And I don't really know how to add scsi device to qemu ppc.
>>
>>  qemu-system-ppc -drive file=foo,if=scsi


> For example:
> 
> qemu-system-ppc -drive file=foo,if=none,id=hd -device \
>   megasas -device scsi-disk,drive=hd

This creates megasas device in the guest, but it does
not work still, at least with the debian wheezy (current)
kernel.  It tries to load megaraid_sas module, and is
getting this:

 scsi3 : LSI SAS based MegaRAID driver
 irq 22: nobody cared (try booting with the "irqpool" option)
 ...
 --- Exception: 501 at __do_softirq+0x6c/0x1dc
     LR = call_do_softirq+0x14/0x24
 ...
 --- Exception: 501 at megasas_fire_cmd_ppc+0x28/0x2c [megaraid_sas]
     LR = megasas_issue_dcmd+0x28/0x38 [megaraid_sas]
 ...
 Disabling IRQ #22
 scsi 3:0:0:0: megasas: RESET cmd=12 retries=0
 megasas: [ 0]waiting for 1 commands to complete
 megasas: [10]waiting for 1 commands to complete
 INFO: task modprobe:4017 blocked for more than 120 seconds.
 ...

and so on.

So I'm afraid megasas isn't exactly useful in this situation.

Thanks,

/mjt

  reply	other threads:[~2013-05-18 16:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-18 13:30 [Qemu-devel] IDE TRIM bug on at least PPC target Michael Tokarev
2013-05-18 13:39 ` Paolo Bonzini
2013-05-18 13:48   ` Michael Tokarev
2013-05-18 14:39     ` Michael Tokarev
2013-05-18 15:53       ` Paolo Bonzini
2013-05-18 16:40         ` Michael Tokarev [this message]
2013-05-19 11:27 ` Aurelien Jarno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5197AEF1.8070302@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.