Bug 22946

Summary: dm-cache kernel module is missing from Mageia-6-x86_64-DVD.iso
Product: Mageia Reporter: PC LX <mageia>
Component: Release (media or process)Assignee: ISO building group <isobuild>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: ennael1, mageia, marja11, tmb, yvesbrungard
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA6.1TOO (MGA6)
Source RPM: CVE:
Status comment:
Attachments: screenshot of commands output

Description PC LX 2018-04-23 19:39:59 CEST
Description of problem:

The dm-cache.lo.xz kernel driver is missing from the Mageia-6-x86_64-DVD.iso image.

The /proc/config.gz indicates that dm-cache is configured as a module but the kernel module is not in the iso.

It would be great if this could be fixed in the Mageia 6.1 isos.



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

$ cat Mageia-6-x86_64-DVD/DATE.txt                                                                                      
Sat Jul 15 09:29:06 CEST 2017                                                                                                                                                                
$ cat Mageia-6-x86_64-DVD/Mageia-6-x86_64-DVD.iso.sha1
03c496389fd39b80107077828a066163d8c38c17  Mageia-6-x86_64-DVD.iso



How reproducible:

Always.



Steps to Reproduce:
1. Boot a system or virtual machine from the Mageia-6-x86_64-DVD.iso image.
2. Wait for the graphical installer to start.
3. Go to the second console (tty2) using CTRL+ALT+F2 (RCTRL+F2 in VirtualBox).
4. Use the command "find /lib/modules -ipath '*dm-cache.ko*'" and see that no files are found.
5. Use the command "gzip -d -c /proc/config.gz | grep DM_CACHE" and one of the output lines is "CONFIG_DM_CACHE=m" indicating that dm-cache is configured as a module.

See attached image for the output of steps 4 and 5.
Comment 1 PC LX 2018-04-23 19:43:48 CEST
Created attachment 10102 [details]
screenshot of commands output
Marja Van Waes 2018-04-24 06:44:27 CEST

CC: sysadmin-bugs => ennael1, marja11
Version: 6 => Cauldron
Whiteboard: (none) => MGA6.1TOO (MGA6)
Assignee: bugsquad => isobuild

Comment 2 Thomas Backlund 2018-05-28 21:30:36 CEST
Added to iso build list:
http://gitweb.mageia.org/software/drakx/commit/?id=32236534cb347b4cb720e1384e96c5315a897e72

CC: (none) => tmb

Comment 3 Martin Whitaker 2018-05-28 23:52:24 CEST
Backported to mga6:
http://gitweb.mageia.org/software/drakx/commit/?h=distro/mga6&id=b2daca274db6d734a20fbe512c9753f945ea56d3

(automatic post to Bugzilla seems to be broken :-( )

CC: (none) => mageia

Comment 4 papoteur 2018-05-30 16:38:01 CEST
Martin,
You need to add mga#22946 in the commit message to have an automatic post in bugzilla. ;)

CC: (none) => yves.brungard_mageia

Comment 5 Martin Whitaker 2018-05-31 01:17:42 CEST
(In reply to papoteur from comment #4)
> Martin,
> You need to add mga#22946 in the commit message to have an automatic post in
> bugzilla. ;)

Ah, I'd forgotten Thomas's fix came in two parts. The second part had the mga#22946 in the commit message:

http://gitweb.mageia.org/software/drakx/commit/?h=distro/mga6&id=a0a3d5a08d5e3a8e8a13173579393acb7fdac226

When I pushed my git commits, I got a sequence of error messages about failing to post to Bugzilla (for other bugs as well as this one). So it did try...
Comment 6 Martin Whitaker 2018-12-19 21:37:56 CET
I've just confirmed the dm-cache module is on the Mageia-7-beta1-x86_64 ISO.

Note that I needed to use 'find -L' because /lib/modules is a soft link.

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