Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 886457

Summary: Not able to install grub on systems with more than 8 devices
Product: Red Hat Enterprise Linux 6 Reporter: Pierguido Lambri <plambri>
Component: seabiosAssignee: Paolo Bonzini <pbonzini>
Status: CLOSED CANTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3CC: acathrow, areis, berrange, bsarathy, dyasny, lersek, mkenneth, pbonzini, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-21 13:53:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot
none
Screenshot - more than 8 disks none

Description Pierguido Lambri 2012-12-12 10:34:17 UTC
Created attachment 662253 [details]
Screenshot

Description of problem:
The limit for grub on rhel6 is 128 devices, but I'm not able to see/use all the devices.

Version-Release number of selected component (if applicable):
grub-0.97-77.el6.x86_64

How reproducible:
In my case always


Steps to Reproduce:
1. Start the grub command line on a system with more than 8 devices
2. Try to see the devices list with the 'root (' tab 
3. Try to force the installation on the 8th or 9th device
  
Actual results:
It fails with "selected disk does not exist"

Expected results:
Able to install grub on any devices till the 128Th

Additional info:

I've attached a screenshot of a virtual system.
This is the number of devices available on that system:

# fdisk -l | grep vd
Disk /dev/vda: 10.7 GB, 10737418240 bytes
Disk /dev/vdb: 2147 MB, 2147483648 bytes
Disk /dev/vdc: 12 MB, 12582912 bytes
Disk /dev/vdd: 12 MB, 12582912 bytes
Disk /dev/vde: 12 MB, 12582912 bytes
Disk /dev/vdf: 12 MB, 12582912 bytes
Disk /dev/vdg: 12 MB, 12582912 bytes
Disk /dev/vdh: 12 MB, 12582912 bytes
Disk /dev/vdi: 12 MB, 12582912 bytes
Disk /dev/vdj: 12 MB, 12582912 bytes
Disk /dev/vdk: 12 MB, 12582912 bytes
Disk /dev/vdl: 12 MB, 12582912 bytes

Comment 1 Václav Pavlín 2012-12-13 18:44:53 UTC
Grub can handle more than 8 disks, the problem is that it cannot handle more than 7 virtio disks.

All counters and limits are set ok - there is nowhere 8-device limit. When grub asks bios about version of LBA (check_int13_extensions) for 8th+ disk, it gets zero (no LBA support/error) and then it is not able to get disk info.

All disks are treated the same, so I suspect libvirt (or other component) to be responsible for this bug - i.e. not providing correct info for 8th+ virtio disks. 

I will switch this bug to libvirt for now.

Comment 2 Václav Pavlín 2012-12-13 18:45:33 UTC
Created attachment 663114 [details]
Screenshot - more than 8 disks

Comment 3 Daniel Berrangé 2012-12-13 18:50:25 UTC
Libvirt doesn't have control over BIOS setup directly, so I suspect either QEMU or SeaBIOS is the place to look

Comment 10 Paolo Bonzini 2013-05-21 13:53:39 UTC
Closing per comment 7.  The 7-disk limitation is in SeaBIOS.