code: select all
pi@raspberrypi ~ $ sudo /etc/init.d/iscsitarget start [....] starting iscsi enterprise target service:fatal: module iscsi_trgt not found. failed!
code: select all
pi@raspberrypi ~ $ sudo uname -a linux raspberrypi 4.4.9+ #884 fri may 6 17:25:37 bst 2016 armv6l gnu/linux
code: select all
pi@raspberrypi ~ $ sudo m-a a-i iscsitarget updated infos 1 packages getting source kernel version: 4.4.9+ apt-get install linux-headers-4.4.9+ reading package lists... done building dependency tree reading state information... done e: unable locate package linux-headers-4.4.9 e: couldn't find package regex 'linux-headers-4.4.9' apt-get install build-essential reading package lists... done building dependency tree reading state information... done build-essential newest version. 0 upgraded, 0 newly installed, 0 remove , 0 not upgraded. 1 not installed or removed. after operation, 0 b of additional disk space used. want continue [y/n]? y setting iscsitarget (1.4.20.2-10.1) ... [....] starting iscsi enterprise target service:fatal: module iscsi_trgt not found. failed! invoke-rc.d: initscript iscsitarget, action "start" failed. dpkg: error processing iscsitarget (--configure): subprocess installed post-installation script returned error exit status 1 errors encountered while processing: iscsitarget e: sub-process /usr/bin/dpkg returned error code (1) done!
code: select all
pi@raspberrypi ~ $ sudo apt-get install --reinstall iscsitarget-dkms reading package lists... done building dependency tree reading state information... done 0 upgraded, 0 newly installed, 1 reinstalled, 0 remove , 0 not upgraded. 1 not installed or removed. need 0 b/75.5 kb of archives. after operation, 0 b of additional disk space used. (reading database ... 113791 files , directories installed.) preparing replace iscsitarget-dkms 1.4.20.2-10.1 (using .../iscsitarget-dkms_1.4.20.2-10.1_all.deb) ... -------- uninstall beginning -------- module: iscsitarget version: 1.4.20.2 kernel: 3.2.0-4-rpi (armv6l) ------------------------------------- status: before uninstall, module version active on kernel. iscsi_trgt.ko: - uninstallation - deleting from: /lib/modules/3.2.0-4-rpi/updates/dkms/ - original module - no original module found module on kernel. - use dkms install command reinstall previous module version. depmod.... dkms: uninstall completed. ------------------------------ deleting module version: 1.4.20.2 dkms tree. ------------------------------ done. unpacking replacement iscsitarget-dkms ... setting iscsitarget (1.4.20.2-10.1) ... [....] starting iscsi enterprise target service:fatal: module iscsi_trgt not found. failed! invoke-rc.d: initscript iscsitarget, action "start" failed. dpkg: error processing iscsitarget (--configure): subprocess installed post-installation script returned error exit status 1 setting iscsitarget-dkms (1.4.20.2-10.1) ... creating symlink /var/lib/dkms/iscsitarget/1.4.20.2/source -> /usr/src/iscsitarget-1.4.20.2 dkms: add completed. error! kernel headers kernel 4.4.9+ cannot found. please install linux-headers-4.4.9+ package, or use --kernelsourcedir option tell dkms it's located errors encountered while processing: iscsitarget e: sub-process /usr/bin/dpkg returned error code (1)
ouch.
don't know officials say, in meantime grab kernel headers here:
https://www.niksula.hut.fi/~mhiienka/rp ... aders-rpi/
, compile.
(this repo afaik result of work of former student of aalto university in finland. i've used once already, no ransomware in sight yet...)
don't know officials say, in meantime grab kernel headers here:
https://www.niksula.hut.fi/~mhiienka/rp ... aders-rpi/
, compile.
(this repo afaik result of work of former student of aalto university in finland. i've used once already, no ransomware in sight yet...)
raspberrypi
Comments
Post a Comment