Bug 5558 - dmraid removed when needed at install time (draklive)
Summary: dmraid removed when needed at install time (draklive)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: release_blocker major
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-04-22 17:26 CEST by Peter Wallace
Modified: 2013-01-07 21:54 CET (History)
7 users (show)

See Also:
Source RPM: drakxtools
CVE:
Status comment:


Attachments
lspcidrake output (4.39 KB, text/plain)
2012-04-23 02:09 CEST, Peter Wallace
Details
add dmraid selection (1.14 KB, patch)
2012-09-03 18:04 CEST, Thierry Vignaud
Details | Diff
blacklisting dmraid from being removed (bad solution, leaving dmraid installed on systems not needing it) (695 bytes, patch)
2012-11-11 13:48 CET, Thierry Vignaud
Details | Diff

Description Peter Wallace 2012-04-22 17:26:47 CEST
Mageia 2 beta 3 fresh install.

Installer finds raid arrays fine , however when given the option to remove unused drivers at install time, it removes dmraid

 Steps to Reproduce

Install on system that requires dmraid.

install, then see the list of drivers that it wants to remove.
Peter Wallace 2012-04-22 17:27:27 CEST

Summary: dmraid removed when needed. => dmraid removed when needed at install time

Comment 1 Manuel Hiebel 2012-04-22 22:22:44 CEST
Hi, can you try with the netinstall ?

https://wiki.mageia.org/en/Installation_Media#Network_Installs

there were some fix about raid after the beta3 (it was too late for include it)
Thanks
Comment 2 Manuel Hiebel 2012-04-22 22:30:28 CEST
ah no sorry, you spoke about the live, sorry.

CC: (none) => mageia, tmb
Summary: dmraid removed when needed at install time => dmraid removed when needed at install time (draklive)
Source RPM: (none) => draklive-install

Comment 3 Olivier Blin 2012-04-22 22:46:52 CEST
Which storage driver are you using?
Please attach output of the "lspcidrake -v" command

We likely need to add your driver in the following line in rpmsrate:
  5 HW"HighPoint Technologies Inc.\|HPT37|JMicron 2036|Promise Technology.*FastTrak" || DRIVER"ata_piix|i2o_block|megaraid|sata_sil" dmraid

Thanks
Comment 4 Peter Wallace 2012-04-23 02:09:21 CEST
Created attachment 2072 [details]
lspcidrake output
Comment 5 Manuel Hiebel 2012-04-25 01:35:14 CEST
(wrong package in fact)

CC: (none) => thierry.vignaud
Source RPM: draklive-install => drakxtools

Thierry Vignaud 2012-04-25 08:20:08 CEST

Assignee: bugsquad => mageia

Comment 6 Thomas Backlund 2012-04-25 08:36:33 CEST
(In reply to comment #3)
> Which storage driver are you using?
> Please attach output of the "lspcidrake -v" command
> 
> We likely need to add your driver in the following line in rpmsrate:
>   5 HW"HighPoint Technologies Inc.\|HPT37|JMicron 2036|Promise
> Technology.*FastTrak" || DRIVER"ata_piix|i2o_block|megaraid|sata_sil" dmraid


Hmmm, if we only rely on that, we need to add atleast some of the ata drivers including ahci
Comment 7 Thierry Vignaud 2012-04-25 08:38:19 CEST
Olivier, do you really want to install dmraid every time we see "ahci"?
Wouldn't it better to keep it "if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}};" ?
Comment 8 Thierry Vignaud 2012-04-25 08:38:44 CEST
Olivier, do you really want to install dmraid every time we see "ahci"?
Wouldn't it better to keep it on same test as drakx:
 "if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}};" ?
Comment 9 Marja Van Waes 2012-05-26 13:04:41 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 10 Marja Van Waes 2012-07-06 15:05:42 CEST
Please look at the bottom of this mail to see whether you're the assignee of this  bug, if you don't already know whether you are.


If you're the assignee:

We'd like to know for sure whether this bug was assigned correctly. Please change status to ASSIGNED if it is, or put OK on the whiteboard instead.

If you don't have a clue and don't see a way to find out, then please put NEEDHELP on the whiteboard.

Please assign back to Bug Squad or to the correct person to solve this bug if we were wrong to assign it to you, and explain why.

Thanks :)

**************************** 

@ the reporter and persons in the cc of this bug:

If you have any new information that wasn't given before (like this bug being valid for another version of Mageia, too, or it being solved) please tell us.

@ the reporter of this bug

If you didn't reply yet to a request for more information, please do so within two weeks from now.

Thanks all :-D
Comment 11 Marja Van Waes 2012-08-11 07:38:31 CEST
@ Peter

Was this bug was still valid for Mageia 2 final?

@ Blino

Please set status to ASSIGNED or put OK on the whiteboard - or reassign or close as fixed ;)

CC: (none) => marja11

Comment 12 Thierry Vignaud 2012-08-13 10:20:56 CEST
Thomas, care to provide a driver list?
Comment 13 Marja Van Waes 2012-08-29 18:15:12 CEST
(In reply to comment #12)
> Thomas, care to provide a driver list?

So apparently still valid for Mga2 final

Keywords: NEEDINFO => (none)
Whiteboard: (none) => (MGA2)

Comment 14 Thierry Vignaud 2012-09-03 18:04:38 CEST
Created attachment 2743 [details]
add dmraid selection

Thomas, Blino could you test this patch on real HW?
Thierry Vignaud 2012-09-03 18:04:45 CEST

Keywords: (none) => PATCH

Manuel Hiebel 2012-10-01 10:37:12 CEST

CC: (none) => sysadmin-bugs
Component: Installer => Release (media or process)

Manuel Hiebel 2012-10-06 15:12:50 CEST

Blocks: (none) => 7641

Comment 15 Peter Wallace 2012-11-08 19:42:18 CET
Done a fresh install of Mageia 3 Alpha 2 and same problem, as with MG2 final

Should I start another bug report?
Manuel Hiebel 2012-11-11 00:24:02 CET

Blocks: 7641 => (none)

Manuel Hiebel 2012-11-11 00:24:11 CET

Priority: Normal => release_blocker
Blocks: (none) => 7641

Manuel Hiebel 2012-11-11 01:07:05 CET

Blocks: 7641 => (none)

Comment 16 Thierry Vignaud 2012-11-11 13:47:31 CET
No. Thus BR is open against Cauldron as Mga2 Live ISOs are frozen.

Someone has to test:
- either my suggestion from comment #7
- or my patch though.

I didn't commit it yet due to me lacking the appropriate hardware.

Alternatively we could add dmraid to @wanted_hardware_packages in pkgs::remove_unused_packages(), which I'm not fond of.

Or better remove dmraid from rpmsrate as we pull it anyway in install::any::default_packages(). We just need to list it in the no_copy section

Keywords: (none) => NEEDINFO

Comment 17 Thierry Vignaud 2012-11-11 13:48:20 CET
Created attachment 3071 [details]
blacklisting dmraid from being removed (bad solution, leaving dmraid installed on systems not needing it)
Comment 18 Thierry Vignaud 2012-11-11 14:09:52 CET
I'm uploading a new meta-task with last idea from comment #16.
Once Thomas do some new Live ISOs, people can test.

Assignee: mageia => tmb

Comment 19 Manuel Hiebel 2012-11-24 18:55:19 CET
can anyone from this thread test if this bug is fixed with the last alpha3 or not ?

Whiteboard: (MGA2) => (none)

Comment 20 Peter Wallace 2012-11-27 16:20:34 CET
Done a install of Alpha 3, same problem.
Comment 21 Peter Wallace 2012-11-27 16:50:03 CET
Bit more info, tried again, dmraid is no longer listed in the remove unused drivers, however after the reboot the system drops to shell, error unable to find /dev/mapper/xxxx. 

Tried without removing the unused hardware and still not working. 

Seems to be removed regardless now.
Comment 22 Peter Wallace 2012-11-27 16:56:24 CET
Looked at the dracut.log and dmraid is listed as been omitted.
Comment 23 Thierry Vignaud 2012-11-27 18:06:07 CET
Bogus initrd is another issue, please open another bug report about it so that this bug report doesn't become unreadable
Comment 24 roelof Wobben 2013-01-07 21:25:58 CET
Removed Needinfo because the requested info is given.

Roelof

Keywords: NEEDINFO => (none)
CC: (none) => r.wobben

Comment 25 Thierry Vignaud 2013-01-07 21:54:45 CET
As said, this issue is fixed. Peter now has a initrd issue.

Status: NEW => RESOLVED
CC: (none) => mageia
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.