Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 896093

Summary: The builtin command "find" does not show more that 8 devices
Product: Red Hat Enterprise Linux 5 Reporter: Pierguido Lambri <plambri>
Component: grubAssignee: Jan Grulich <jgrulich>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.10CC: amedeo, plambri
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: 2014-06-02 13:00:21 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
Support MAX_HD_NUM in find func none

Description Pierguido Lambri 2013-01-16 15:26:29 UTC
Description of problem:
Even though GRUB can be installed on a disk where the disks number is major than 8, the builtin command "find" does not work correctly (it's still find files only on the first 8 devices).


Version-Release number of selected component (if applicable):
grub-0.97-13.10.el5

How reproducible:
Always


Steps to Reproduce:
1. Open the GRUB command line on a system with more than 8 devices
2. Try to find files on those disks

  
Actual results:
Find reports only the files found on the first 8 devices

Expected results:
Find should be able to see the files on all the devices installed on the system.


Additional info:

grub> find /grub/stage1
find /grub/stage1
 (hd0,0)
 (hd7,0)
grub> root (hd15,0)
root (hd15,0)
 Filesystem type is ext2fs, partition type 0xfd
grub> setup (hd15)
setup (hd15)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd15)"...  15 sectors are embedded.
succeeded
 Running "install /grub/stage1 (hd15) (hd15)1+15 p (hd15,0)/grub/stage2 /grub/grub.conf"... succeeded
Done.
grub>
grub> find /grub/stage1
find /grub/stage1
 (hd0,0)
 (hd7,0)
grub>

Grub was unable to deal with more than 8 devices and it was fixed in BZ#829228

Comment 1 Václav Pavlín 2013-03-20 11:56:22 UTC
Created attachment 713201 [details]
Support MAX_HD_NUM in find func

Hi, thank you for the report. This patch should fix this issue.

Comment 2 RHEL Program Management 2013-05-01 06:51:29 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 3 RHEL Program Management 2014-03-07 12:11:24 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in the  last planned RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX. To request that Red Hat re-consider this request, please re-open the bugzilla via  appropriate support channels and provide additional business and/or technical details about its importance to you.

Comment 4 RHEL Program Management 2014-06-02 13:00:21 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).