iscsitarget suddenly broken after upgrade of the 12.04 Hardware Stack

Posted by RapidWebs on Ask Ubuntu See other posts from Ask Ubuntu or by RapidWebs
Published on 2014-08-16T02:25:56Z Indexed on 2014/08/19 4:32 UTC
Read the original article Hit count: 214

Filed under:

After an upgrade to the latest Hardware Stack using Ubuntu 12.04, my iscsi service is not longer operational.

The error from the service is such: FATAL: Module iscsi_trgt not found.

I have learned that I might need to reinstall the package iscsitarget-dkms. this package builds a driver or something during installation, from source.

During this build process, it reports and error, and now has also broke my package manager.

Here is the relevant output:

Building module: cleaning build area.... make KERNELRELEASE=3.13.0-34-generic -C /lib/modules/3.13.0-34-generic/build M=/var/lib/dkms/iscsitarget/ exit status: 2)

Error! Bad return status for module build on kernel: 3.13.0-34-generic (i686)

Consult /var/lib/dkms/iscsitarget/ for more information.

Errors were encountered while processing: iscsitarget

E: Sub-process /usr/bin/dpkg returned an error code (1)

and this is the information provided by make.log:

or iscsitarget- for kernel 3.13.0-34-generic (i686) Fri Aug 15 22:07:15 EDT 2014

make: Entering directory /usr/src/linux-headers-3.13.0-34-generic

LD /var/lib/dkms/iscsitarget/

LD /var/lib/dkms/iscsitarget/

CC [M] /var/lib/dkms/iscsitarget/

CC [M] /var/lib/dkms/iscsitarget/

CC [M] /var/lib/dkms/iscsitarget/

CC [M] /var/lib/dkms/iscsitarget/

/var/lib/dkms/iscsitarget/ In function ‘worker_thread’:

/var/lib/dkms/iscsitarget/ error: void value not ignored as it ought to be

/var/lib/dkms/iscsitarget/ error: implicit declaration of function ‘get_io_context’ [-Werror=implicit-function-declaration]

/var/lib/dkms/iscsitarget/ warning: assignment makes pointer from integer without a cast [enabled by default] cc1: some warnings being treated as errors

make[2]: * [/var/lib/dkms/iscsitarget/] Error 1

make[1]: * [/var/lib/dkms/iscsitarget/] Error 2

make: * [module/var/lib/dkms/iscsitarget/] Error 2

make: Leaving directory `/usr/src/linux-headers-3.13.0-34-generic'

I am at a loss on how to resolve this issue. any help would be appreciated!

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about apt