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: 315
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/1.4.20.2/build........(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.13.0-34-generic (i686)
Consult /var/lib/dkms/iscsitarget/1.4.20.2/build/make.log 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-1.4.20.2 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/1.4.20.2/build/built-in.o
LD /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/built-in.o
CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/tio.o
CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/iscsi.o
CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/nthread.o
CC [M] /var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.o
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.c: In function ‘worker_thread’:
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.c:73:28: error: void value not ignored as it ought to be
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.c:74:3: error: implicit declaration of function ‘get_io_context’ [-Werror=implicit-function-declaration]
/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel/wthread.c:74:21: 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/1.4.20.2/build/kernel/wthread.o] Error 1
make[1]: * [/var/lib/dkms/iscsitarget/1.4.20.2/build/kernel] Error 2
make: * [module/var/lib/dkms/iscsitarget/1.4.20.2/build] 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