Mageia Bugzilla – Attachment 3699 Details for
Bug 9440
Does not boot on a RAID 1 Chipset Intel on motherboard (dracut is stuck)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
updated patch in order to handle ddf
9440b.diff (text/plain), 578 bytes, created by
Thierry Vignaud
on 2013-04-06 03:26:20 CEST
(
hide
)
Description:
updated patch in order to handle ddf
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2013-04-06 03:26:20 CEST
Size:
578 bytes
patch
obsolete
>diff --git a/perl-install/fs/dmraid.pm b/perl-install/fs/dmraid.pm >index eae1fdd..7220c98 100644 >--- a/perl-install/fs/dmraid.pm >+++ b/perl-install/fs/dmraid.pm >@@ -61,7 +61,13 @@ sub _raid_devices_raw() { > log::l("using $pv2vg{$l{pv}} instead of $l{vg}"); > $l{vg} = $pv2vg{$l{pv}}; > } >- if_(defined $l{size}, \%l); >+ if (defined $l{size}) { >+ log::l("ignoring empty set $l{vg}"); (); >+ } elsif ($l{pv} =~ /^(isw|ddf)_/) { >+ log::l("ignoring Intel PV $l{pv} (better let mdadm handle it)"); (); >+ } else { >+ \%l; >+ } > } call_dmraid(qw(-r -c -c)); > } >
diff --git a/perl-install/fs/dmraid.pm b/perl-install/fs/dmraid.pm index eae1fdd..7220c98 100644 --- a/perl-install/fs/dmraid.pm +++ b/perl-install/fs/dmraid.pm @@ -61,7 +61,13 @@ sub _raid_devices_raw() { log::l("using $pv2vg{$l{pv}} instead of $l{vg}"); $l{vg} = $pv2vg{$l{pv}}; } - if_(defined $l{size}, \%l); + if (defined $l{size}) { + log::l("ignoring empty set $l{vg}"); (); + } elsif ($l{pv} =~ /^(isw|ddf)_/) { + log::l("ignoring Intel PV $l{pv} (better let mdadm handle it)"); (); + } else { + \%l; + } } call_dmraid(qw(-r -c -c)); }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9440
:
3665
|
3666
|
3697
| 3699 |
3842