Received: from [140.186.70.92] (port=49718 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeKbl-0007wR-QB for qemu-devel@nongnu.org; Thu, 29 Jul 2010 00:20:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeKbk-0001LC-EI for qemu-devel@nongnu.org; Thu, 29 Jul 2010 00:20:37 -0400 Received: from adelie.canonical.com ([91.189.90.139]:57808) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeKbk-0001L7-4m for qemu-devel@nongnu.org; Thu, 29 Jul 2010 00:20:36 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OeKbh-0000t3-LQ for ; Thu, 29 Jul 2010 05:20:34 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 02DB72E8397 for ; Thu, 29 Jul 2010 05:20:32 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Thu, 29 Jul 2010 04:12:43 -0000 From: Scott Moser Sender: bounces@canonical.com References: <20100729041243.20563.59112.malonedeb@soybean.canonical.com> Message-Id: <20100729041243.20563.59112.malonedeb@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 611142] [NEW] seabios should have native scsi support Reply-To: Bug 611142 <611142@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: Binary package hint: seabios Currently when a grub multiboot image is booted with 'kvm -kernel' and 'biosdisk' module, it will see block devices of type IDE or virtio. It will not see scsi devices. To demonstrate this: $ qemu-img create -f qcow2 disk.img 1G $ grub-mkrescue --output=3Drescue.iso $ grub-mkimage -O i386-pc --output=3Dgrub-mb.img biosdisk minicmd part_msdos An 'ls' inside the grub prompt will show hard disks (hd0) on if: a.) -drive uses interface of virtio or scsi or b.) kvm boots boot from a cdrom or floppy = For example, with these commands, grub will see a '(hd0)' $ kvm -drive file=3Ddisk.img,if=3Dscsi,boot=3Don -cdrom rescue.iso -boot d $ kvm -drive file=3Ddisk.img,if=3Dscsi,boot=3Don -floppy rescue.iso -boot a $ kvm -drive file=3Ddisk.img,if=3Dvirtio,boot=3Don -cdrom rescue.iso -boot d $ kvm -drive file=3Ddisk.img,if=3Dide,boot=3Don -cdrom rescue.iso -boot d $ kvm -drive file=3Ddisk.img,if=3Dvirtio,boot=3Don -kernel grub-mb.img = $ kvm -drive file=3Ddisk.img,if=3Dide,boot=3Don -kernel grub-mb.img = But the following will not: $ kvm -drive file=3Ddisk.img,if=3Dscsi,boot=3Don -kernel grub-mb.img ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: seabios 0.6.0-0ubuntu1 ProcVersionSignature: User Name 2.6.32-305.9-ec2 2.6.32.11+drm33.2 Uname: Linux 2.6.32-305-ec2 i686 Architecture: i386 Date: Thu Jul 29 03:21:21 2010 Dependencies: = Ec2AMI: ami-e930db80 Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-maverick-daily-i386-server-= 20100727.manifest.xml Ec2AvailabilityZone: us-east-1b Ec2InstanceType: m1.small Ec2Kernel: aki-407d9529 Ec2Ramdisk: unavailable PackageArchitecture: all ProcEnviron: PATH=3D(custom, user) LANG=3Den_US.UTF-8 SHELL=3D/bin/bash SourcePackage: seabios ** Affects: qemu Importance: Undecided Status: New ** Affects: qemu-kvm (Ubuntu) Importance: Undecided Status: New ** Affects: seabios (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug ec2-images i386 maverick ** Also affects: qemu-kvm (Ubuntu) Importance: Undecided Status: New ** Also affects: qemu Importance: Undecided Status: New -- = seabios should have native scsi support https://bugs.launchpad.net/bugs/611142 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Status in =E2=80=9Cqemu-kvm=E2=80=9D package in Ubuntu: New Status in =E2=80=9Cseabios=E2=80=9D package in Ubuntu: New Bug description: Binary package hint: seabios Currently when a grub multiboot image is booted with 'kvm -kernel' and 'bio= sdisk' module, it will see block devices of type IDE or virtio. It will no= t see scsi devices. To demonstrate this: $ qemu-img create -f qcow2 disk.img 1G $ grub-mkrescue --output=3Drescue.iso $ grub-mkimage -O i386-pc --output=3Dgrub-mb.img biosdisk minicmd part_msdos An 'ls' inside the grub prompt will show hard disks (hd0) on if: a.) -drive uses interface of virtio or scsi or b.) kvm boots boot from a cdrom or floppy = For example, with these commands, grub will see a '(hd0)' $ kvm -drive file=3Ddisk.img,if=3Dscsi,boot=3Don -cdrom rescue.iso -boot d $ kvm -drive file=3Ddisk.img,if=3Dscsi,boot=3Don -floppy rescue.iso -boot a $ kvm -drive file=3Ddisk.img,if=3Dvirtio,boot=3Don -cdrom rescue.iso -boot d $ kvm -drive file=3Ddisk.img,if=3Dide,boot=3Don -cdrom rescue.iso -boot d $ kvm -drive file=3Ddisk.img,if=3Dvirtio,boot=3Don -kernel grub-mb.img = $ kvm -drive file=3Ddisk.img,if=3Dide,boot=3Don -kernel grub-mb.img = But the following will not: $ kvm -drive file=3Ddisk.img,if=3Dscsi,boot=3Don -kernel grub-mb.img ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: seabios 0.6.0-0ubuntu1 ProcVersionSignature: User Name 2.6.32-305.9-ec2 2.6.32.11+drm33.2 Uname: Linux 2.6.32-305-ec2 i686 Architecture: i386 Date: Thu Jul 29 03:21:21 2010 Dependencies: = Ec2AMI: ami-e930db80 Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-maverick-daily-i386-server-= 20100727.manifest.xml Ec2AvailabilityZone: us-east-1b Ec2InstanceType: m1.small Ec2Kernel: aki-407d9529 Ec2Ramdisk: unavailable PackageArchitecture: all ProcEnviron: PATH=3D(custom, user) LANG=3Den_US.UTF-8 SHELL=3D/bin/bash SourcePackage: seabios