grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix ofpathname for sas disks


From: Paulo Flabiano Smorigo/Brazil/IBM
Subject: Re: [PATCH] Fix ofpathname for sas disks
Date: Fri, 19 Apr 2013 12:13:04 -0400
User-agent: Internet Messaging Program (IMP) H4 (5.0.22)


Quoting Paulo Flabiano Smorigo/Brazil/IBM <address@hidden>:

Hello all,

I found wrong outputs for some sas devices then I made this patch in order to fix it. Bellow are the outputs using my patch:

grub-probe -t ieee1275_hints -d /dev/sda
ieee1275//address@hidden/address@hidden/pci1014\,address@hidden/address@hidden

grub-probe -t ieee1275_hints -d /dev/sdb
ieee1275//address@hidden/address@hidden/pci1014\,address@hidden/address@hidden

grub-probe -t ieee1275_hints -d /dev/sdf
ieee1275//address@hidden/pci1000\,address@hidden/sas/address@hidden,1000000000000

grub-probe -t ieee1275_hints -d /dev/sdh
ieee1275//address@hidden/pci1000\,address@hidden/sas/address@hidden,3000000000000


I checked it against openfirmware and all of them were right now. Please, let me know if you find a disk with a wrong ofw output.

--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group

Hello again,

I forgot to add "sas" in the disk path. The first and second path from example should output:

ieee1275//address@hidden/address@hidden/pci1014\,address@hidden/sas/address@hidden
ieee1275//address@hidden/address@hidden/pci1014\,address@hidden/sas/address@hidden

Second version of patch fixed it.

--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group

Attachment: grub_ofpathname_sas_fix_final_v2.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]