Bug 9910

Summary: Installer doesn't detect correctly partitions on dmraid raid disks
Product: Mageia Reporter: SÅawomir Skrzyniarz <diodak>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: High CC: derekjenn, mageia, mageia, megastorage, thierry.vignaud, tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: drakx-installer-stage2 CVE:
Status comment:

Description SÅawomir Skrzyniarz 2013-04-29 14:01:43 CEST
Description of problem:
I have BIOS RAID controller powered by ATI - Motherboard Gigabyte MA790GPT-UD3H. I've created in Mageia 2 RAID 1 with two 1,5TB disks and they've worked correctly in raid as backup partition. Now I've decided to install Mageia 3 and use old raid as backup - as previously and I would use two 1TB disks in RAID1 as system disk with root partition. I've created raid 1 in BIOS Installer with 1GB disks. Installer detected BIOS raid and enabled it on both raids and showed me message:
+++++++++++++++++++++++++++
I couldn't read partition table from mapper/pdc_cgifidea - it's destroyed too much :(
You could continue by REMOVING ALL DATA.
Other way is installer forbidding modify partition table (error: bad dmraid (missing partition mapper/pdc_cgifidea1), you may try rebooting install with option "nodmraid".)
Do you agree to destroy all of your partitions? Yes/No
+++++++++++++++++++++++++++

Version-Release number of selected component (if applicable):
Mageia 3 RC1


How reproducible:
Boot DVD installer x86_64 form DVD with Mageia 3 RC1 on computer with BIOS raid.

Steps to Reproduce:
1. Create RAID 1 in BIOS from two similar drive (the same size/factory).
2. Inform installer that you have BIOS raid.
3. Create partitions on RAID 1 and continue installation.
4. Installer show you message "Partition mapper/pdc_xxxxxxxxx table will be written on disk" Cancel/OK
5. Installer shows you an error:
INTERNAL ERROR; unknown device mapper/pdc_xxxxxxxxx
MDK::Common:Various::internal_error() called from /usr/lib/libDrakeX/devices.pm:186
etc.
6. if you enter on second conole Ctr+Alt+F2 and write fdisk /dev/mapper/pdc_xxxxxxxxxxx and press p+Enter you could see created partitions on mentioned device.
7. second thing is, that you could create file system ex. ext4 via mkfs.ext4 mkswap and others without any errors on raid1 and mount.


Reproducible: 

Steps to Reproduce:
SÅawomir Skrzyniarz 2013-04-30 12:03:12 CEST

Priority: Normal => High

Manuel Hiebel 2013-05-28 22:21:52 CEST

Version: 3 => Cauldron
Source RPM: Installer => drakx-installer-stage2

Comment 1 stephane FLAVIGNY 2013-08-25 08:57:22 CEST
Dear, 

I have the same problem with ASUS A7N8X-SLI

But for me, I have the information:
in TTY 7: missing partition mapper/sil_ajacdedcfcdip1
in TTY2: ls /dev/mapp*
/dev/mapper/sil_ajacdedcfcdi
/dev/mapper/sil_ajacdedcfcdi1
/dev/mapper/sil_ajacdedcfcdi2

in TTY3: error: bad dmraid (missing partition mapper/sil_ajacdedcfcdip1), you may try rebooting install with option "nodmraid" at /usr/lib/libDrakx/fsedit.pm line 226

Stéphane.

CC: (none) => megastorage

claire robinson 2013-08-25 09:49:21 CEST

CC: (none) => derekjenn, mageia, thierry.vignaud, tmb

Comment 2 Nicolas Lécureuil 2013-09-04 01:25:49 CEST
i think this will be fixed while fixing  https://bugs.mageia.org/show_bug.cgi?id=11105 because i had this an with the patch all seems OK.

i hope the patch to be merged soon

CC: (none) => nicolas.lecureuil

Comment 3 Nicolas Lécureuil 2013-09-16 00:46:23 CEST
please test on mageia 4 Alpha2 should be fixed.
Comment 4 SÅawomir Skrzyniarz 2013-09-18 20:46:42 CEST
Hello,
I've tested Mageia 4 Alpha 2 x86_64 installation disk and issue is not resolved :-( When I choose option - I have BIOS RAID AMD... Installer shows me the same error what I saw previously:
+++++++++++++++++++++++++++
I couldn't read partition table from mapper/pdc_cgifidea - it's destroyed too much :(
You could continue by REMOVING ALL DATA.
Other way is installer forbidding modify partition table (error: bad dmraid (missing partition mapper/pdc_cgifidea1), you may try rebooting install with option "nodmraid".)
Do you agree to destroy all of your partitions? Yes/No
+++++++++++++++++++++++++++
No any other errors is present (small improvement :-) Installer see empty partition table on raid but in console Ctr+Alt+F2 I have partitions in /dev/mapper/ directory and I could manually mount it successfully but installer still claim that do not see any partitions on BIOS raid.

Stephane could you confirm?
Comment 5 xboxboy 2013-10-08 13:27:09 CEST
I can confirm Mageia 4 Alpha 3 still has motherboard raid install and detection issues: 

As detailed in: Bug 11289
Comment 6 stephane FLAVIGNY 2014-08-21 08:21:07 CEST
Duplicate

*** This bug has been marked as a duplicate of bug 11105 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE