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

Submitted by:  Andrei Borzenkov <arvidjaar>
Submitted on:  Sat 14 Feb 2015 04:15:54 PM UTC  
 
Category: Disk & PartitionSeverity: Major
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Git masterReproducibility: 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>
Project 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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 21 Jul 2015 11:59:02 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1