RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 806327 - bootindex not work on scsi-disk if there is QEMU emulated usb-storage in cli
Summary: bootindex not work on scsi-disk if there is QEMU emulated usb-storage in cli
Keywords:
Status: CLOSED DUPLICATE of bug 782029
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Paolo Bonzini
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-23 12:54 UTC by Chao Yang
Modified: 2013-01-10 00:48 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-28 20:22:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 2 Chao Yang 2012-04-01 11:05:55 UTC
same issue exists on ide-drive/virtio-scsi and virtio-blk-pci/virtio-scsi

Comment 3 Paolo Bonzini 2012-04-02 07:06:31 UTC
Please be more specific.  From bug 801293 comment 4:

"In general if you specify bootindex for one disk you want to specify it for all
of them, including usb-storage."  Otherwise the decisions from SeaBIOS can be confusing.

Comment 4 Chao Yang 2012-04-05 05:16:01 UTC
(In reply to comment #3)
> Please be more specific.  From bug 801293 comment 4:
> 
> "In general if you specify bootindex for one disk you want to specify it for
> all
> of them, including usb-storage."  Otherwise the decisions from SeaBIOS can be
> confusing.

This bug is opened to tract bug 801293 comment 7.

Comment 5 Paolo Bonzini 2012-04-05 16:08:50 UTC
Sorry, I didn't see bug 801293 comment 9. Do you have the new command-line.  Do you have the command-line?  Also, what does the boot menu say?

Comment 6 Chao Yang 2012-04-09 05:51:48 UTC
(In reply to comment #5)
> Sorry, I didn't see bug 801293 comment 9. Do you have the new command-line.  Do
> you have the command-line?  Also, what does the boot menu say?
With seabios-0.6.1.2-15.el6.x86_64, qemu-kvm-0.12.1.2-2.269.el6.x86_64

# /usr/libexec/qemu-kvm -M rhel6.3.0 -cpu SandyBridge -enable-kvm -m 2048 -smp 2,sockets=1,cores=2,threads=1 -boot menu=on -rtc base=utc,clock=host,driftfix=slew -drive file=/home/rhel6.3_20120313_x86_64_copy.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,serial=69-a2ad-85f195fee049,cache=none,werror=stop,rerror=stop,aio=native -device virtio-scsi-pci,id=scsi-pci -device scsi-disk,drive=drive-virtio-disk0,id=virtio-disk0,bus=scsi-pci.0,lun=0,bootindex=1  <---
-net none -spice port=8000,disable-ticketing -k en-us -vga qxl -global qxl-vga.vram_size=67108864 -device usb-ehci,id=ehci -drive file=/home/RHEL-Server-6.3-64-virtio.qcow2,if=none,id=drive-virtio-disk1,format=qcow2,cache=none,werror=stop,rerror=stop,aio=native -device usb-storage,bus=ehci.0,port=1,drive=drive-virtio-disk1,id=virtio-disk1,removable=on,bootindex=2  <---
-device sga -serial stdio

Google, Inc.
Serial Graphics Adapter 07/26/11
SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild.redhat.com) Tue Jul 26 15:05:08 UTC 2011
4 0
SeaBIOS (version seabios-0.6.1.2-15.el6)

Press F12 for boot menu.

Select boot device:

1. USB MSC Drive QEMU QEMU HARDDISK 0.12
2. virtio-scsi Drive QEMU QEMU HARDDISK 0.12
3. DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD]
4. Legacy option rom

Comment 7 Paolo Bonzini 2012-05-16 15:01:17 UTC
This could be fixed in qemu-kvm-0.12.1.2-2.294.el6; two patches were missing when bug 802284 was committed to distgit.

Comment 8 Paolo Bonzini 2012-05-28 20:22:08 UTC

*** This bug has been marked as a duplicate of bug 782029 ***


Note You need to log in before you can comment on or make changes to this bug.