mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wakko Warner <wakko@animx.eu.org>
To: linux-kernel@vger.kernel.org
Subject: Can't get sym53c8xx to work in kvm (qemu)
Date: Fri, 24 Jun 2011 23:16:16 -0400	[thread overview]
Message-ID: <20110625031616.GA12699@animx.eu.org> (raw)

I would prefer to be CC'd on reply.

I am trying to use the LSI Logic / Symbios Logic 53c895a in the guest.  When
the module loads, all I see in dmesg is:
[    1.432545] sym53c8xx 0000:00:14.0: PCI INT A -> Link[LNKD] -> GSI 11 (level, high) -> IRQ 11
[    1.433414] sym53c8xx 0000:00:14.0: PCI INT A disabled

I have tried 2.6.3[479] vanilla kernels.  I have tried both 32-bit and
64-bit compiles.

If I boot ubuntu live 10.10 desktop (32-bit and 64-bit), I am able to see
the scsi disk.  I may need to point out that the kvm process was not
restarted when I boot to my kernel or the ubuntu live cd.

I am using debian with qemu-kvm 0.14.1+dfsg-1 and libvirt0 0.9.2-4.  I
created the VM with libvirt.  According to ps, the command is:
/usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 1024
-smp 2,sockets=2,cores=1,threads=1 -name roshi
-uuid b34fc4d1-994e-422d-e552-d6f2297be392 -nodefconfig -nodefaults
-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/roshi.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=readline -rtc base=utc -boot cn
-device lsi,id=scsi0,bus=pci.0,addr=0x14
-drive file=/dev/kamelvm/roshi,if=none,id=drive-virtio0-0-0,boot=on,format=raw
-device virtio-blk-pci,drive=drive-virtio0-0-0,id=virtio0-0-0
-drive file=/dev/kamelvm/roshi-tftpboot,if=none,id=drive-scsi0-0-0,format=raw
-device scsi-disk,bus=scsi0.0,scsi-id=0,drive=drive-scsi0-0-0,id=scsi0-0-0
-drive file=/tmp/ubuntu-10.10-desktop-i386.iso,if=none,media=cdrom,id=drive-ide1-0,readonly=on,format=raw
-device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0
-netdev tap,fd=20,id=hostnet0
-device e1000,netdev=hostnet0,id=net0,mac=52:54:00:9e:f7:d7,bus=pci.0,addr=0x5
-chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0
-usb -vnc 127.0.0.1:0 -vga cirrus
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6

I also tried it from the command line and removed chardev and mon and added
sdl and mon vc.  I had the same result.

NOTE: The virtio disk works.

-- 
 Microsoft has beaten Volkswagen's world record.  Volkswagen only created 22
 million bugs.

                 reply	other threads:[~2011-06-25  3:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20110625031616.GA12699@animx.eu.org \
    --to=wakko@animx.eu.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®