bugGNU GRUB - Bugs: bug #44247, dmraid_nvidia does not set array...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44247: dmraid_nvidia does not set array name

Submitter:  Andrei Borzenkov <arvidjaar>
Submitted:  Sat 14 Feb 2015 04:15:54 PM UTC
   
 
Category:  Disk & Partition Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Git master
Release:  Reproducibility:  None
Planned Release:  None

Fri 27 Mar 2015 01:15:21 PM UTC, comment #1: 

Please trry this patch:
diff --git a/grub-core/disk/dmraid_nvidia.c b/grub-core/disk/dmraid_nvidia.c
index 881508c..0602791 100644
--- a/grub-core/disk/dmraid_nvidia.c
+++ b/grub-core/disk/dmraid_nvidia.c
@@ -172,7 +172,7 @@ grub_dmraid_nv_detect (grub_disk_t disk,
 
   return grub_diskfilter_make_raid (sizeof (sb.array.signature),
                                    uuid, sb.array.total_volumes,
-                                   NULL, disk_size,
+                                   "nv", disk_size,
                                    sb.array.stripe_block_size,
                                    GRUB_RAID_LAYOUT_LEFT_ASYMMETRIC,
                                    level);

Vladimir Serbinenko <phcoder>
Group administrator
Sat 14 Feb 2015 04:15:54 PM UTC, original submission:  

This means neither vg nor lv get name set. There are several places where vg name is dereferenced unconditionally and also lv->fullname is checked in quite some places so grub may skip such array during scans.

Andrei Borzenkov <arvidjaar>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by arvidjaar (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-07-21 phcoder StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code