Bug 14713 - dkms-iscsi does not build against kernel 3.14
Summary: dkms-iscsi does not build against kernel 3.14
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure advisory mga4-64-ok MG...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-12-02 19:11 CET by José Jorge
Modified: 2014-12-09 21:13 CET (History)
3 users (show)

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


Attachments

Description José Jorge 2014-12-02 19:11:42 CET
When MGA4 kernel was updated form 3.12 to 3.14, iscsitarget was broken.

Reproducible: 

Steps to Reproduce:
Comment 1 José Jorge 2014-12-02 19:17:15 CET
I have uploaded a patched/updated package for Mageia 4.

You can test this by applying sauce to the french fries and placing on your tongue.

Suggested advisory:
========================

Updated iscsitarget packages fix build against latest Mageia 4 kernel.

========================

Updated packages in core/updates_testing:
========================
iscsitarget-1.4.20.4-1.mga4.i586.rpm
iscsitarget-1.4.20.4-1.mga4.x86_64.rpm
dkms-iscsitarget-1.4.20.4-1.mga4.noarch.rpm

Source RPMs: 
iscsitarget-1.4.20.4-1.mga4.src.rpm

Status: NEW => ASSIGNED
Assignee: lists.jjorge => qa-bugs

Comment 2 claire robinson 2014-12-02 19:32:38 CET
Testing mga4 64

Before
------
# urpmi dkms-iscsitarget iscsitarget

...etc

Building module:
cleaning build area....
make KERNELRELEASE=3.14.24-desktop-1.mga4 -C /lib/modules/3.14.24-desktop-1.mga4/build SUBDIRS=/var/lib/dkms/iscsitarget/1.4.20.3-7.mga4/build/kernel modules......(bad exit status: 2)

Error! Bad return status for module build on kernel: 3.14.24-desktop-1.mga4 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/iscsitarget/1.4.20.3-7.mga4/build/ for more information.

Error! Could not locate iscsi_trgt.ko.xz for module iscsitarget in the DKMS tree.
You must run a dkms build for kernel 3.14.24-desktop-1.mga4 (x86_64) first.
warning: %post(dkms-iscsitarget-1.4.20.3-7.mga4.noarch) scriptlet failed, exit status 4
ERROR: 'script' failed for dkms-iscsitarget-1.4.20.3-7.mga4.noarch: 


After
-----
Not hit the mirror yet so will retest later.
Comment 3 claire robinson 2014-12-02 19:38:58 CET
Advisory uploaded.

Whiteboard: (none) => has_procedure advisory

Comment 4 claire robinson 2014-12-02 19:54:33 CET
mga4 64

After
-----
Building module:
cleaning build area....
make KERNELRELEASE=3.14.24-desktop-1.mga4 -C /lib/modules/3.14.24-desktop-1.mga4/build SUBDIRS=/var/lib/dkms/iscsitarget/1.4.20.4-1.mga4/build/kernel modules........
cleaning build area....
cleaning kernel tree (make mrproper).....

DKMS: build Completed.

iscsi_trgt.ko.xz:
 - Installation
   - Installing to /lib/modules/3.14.24-desktop-1.mga4/dkms/iscsi/

depmod......

DKMS: install Completed.
      2/2: iscsitarget           ##########################################################################################
      1/2: removing iscsitarget-1.4.20.3-7.mga4.x86_64
                                 ##########################################################################################

------------------------------
Deleting module version: 1.4.20.3-7.mga4
completely from the DKMS tree.
------------------------------
Done.


# service iscsi-target start
Starting iscsi-target (via systemctl):             [  OK  ]

# service iscsi-target status
iscsi-target.service - LSB: iSCSI target
   Loaded: loaded (/etc/rc.d/init.d/iscsi-target)
   Active: active (running) since Tue 2014-12-02 18:53:25 GMT; 3s ago
  Process: 16333 ExecStart=/etc/rc.d/init.d/iscsi-target start (code=exited, status=0/SUCCESS)
 Main PID: 16343 (ietd)
   CGroup: /system.slice/iscsi-target.service
           ââ16343 /usr/sbin/ietd
...etc

Whiteboard: has_procedure advisory => has_procedure advisory mga4-64-ok

Comment 5 olivier charles 2014-12-06 10:33:51 CET
Testing on Mageia 4x32 real hardware
following Claire's procedure in Comment 2 and Comment 4

With current package :
--------------------
iscsitarget-1.4.20.3-7.mga4

# urpmi dkms-iscsitarget iscsitarget

Preparing kernel 3.14.24-server-1.mga4 for module build:
Building module:
cleaning build area....
make KERNELRELEASE=3.14.24-server-1.mga4 -C /lib/modules/3.14.24-server-1.mga4/build SUBDIRS=/var/lib/dkms/iscsitarget/1.4.20.3-7.mga4/build/kernel modules.....(bad exit status: 2)

Error! Bad return status for module build on kernel: 3.14.24-server-1.mga4 (i586)
Consult the make.log in the build directory
/var/lib/dkms/iscsitarget/1.4.20.3-7.mga4/build/ for more information.

Error! Could not locate iscsi_trgt.ko.xz for module iscsitarget in the DKMS tree.
You must run a dkms build for kernel 3.14.24-server-1.mga4 (i586) first.
attention : %post(dkms-iscsitarget-1.4.20.3-7.mga4.noarch) scriptlet échoué, état de sortie 4

With updated testing package :
----------------------------
iscsitarget-1.4.20.4-1.mga4

Preparing kernel 3.14.24-server-1.mga4 for module build:
(...)
DKMS: build Completed.

iscsi_trgt.ko.xz:
 - Installation
   - Installing to /lib/modules/3.14.24-server-1.mga4/dkms/iscsi/

depmod.....

DKMS: install Completed.
      2/2: iscsitarget           #############################################
iscsi-target.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig --no-reload --no-redirect iscsi-target on

# systemctl start iscsi-target

# systemctl status -l iscsi-target
iscsi-target.service - LSB: iSCSI target
   Loaded: loaded (/etc/rc.d/init.d/iscsi-target)
   Active: active (running) since sam. 2014-12-06 10:31:05 CET; 6s ago
  Process: 12169 ExecStart=/etc/rc.d/init.d/iscsi-target start (code=exited, status=0/SUCCESS)
 Main PID: 12178 (ietd)
   CGroup: /system.slice/iscsi-target.service
           ââ12178 /usr/sbin/ietd

CC: (none) => olchal
Whiteboard: has_procedure advisory mga4-64-ok => has_procedure advisory mga4-64-ok MGA4-32-OK

Comment 6 Rémi Verschelde 2014-12-07 20:33:43 CET
Validating.

Keywords: (none) => validated_update
CC: (none) => remi, sysadmin-bugs

Comment 7 Mageia Robot 2014-12-09 21:13:27 CET
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2014-0216.html

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


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