can't start target (missing target_core_mod)

Bug #968654 reported by clayg
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
lio-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

root@precise:~# aptitude install lio-utils
The following NEW packages will be installed:
  lio-utils
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 102 kB of archives. After unpacking 589 kB will be used.
Get: 1 http://us.archive.ubuntu.com/ubuntu/ precise/universe lio-utils amd64 3.1+git0.91b96103-2 [102 kB]
Fetched 102 kB in 0s (104 kB/s)
Selecting previously unselected package lio-utils.
(Reading database ... 62630 files and directories currently installed.)
Unpacking lio-utils (from .../lio-utils_3.1+git0.91b96103-2_amd64.deb) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up lio-utils (3.1+git0.91b96103-2) ...
Loading target_core_mod/ConfigFS core: [FAILED]: 1
invoke-rc.d: initscript target, action "start" failed.
dpkg: error processing lio-utils (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 lio-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up lio-utils (3.1+git0.91b96103-2) ...
Loading target_core_mod/ConfigFS core: [FAILED]: 1
invoke-rc.d: initscript target, action "start" failed.
dpkg: error processing lio-utils (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 lio-utils

root@precise:~# service target start
Loading target_core_mod/ConfigFS core: [FAILED]: 1
root@precise:~# lsmod | grep target
root@precise:~#

root@precise:~# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu precise (development branch)"

root@precise:~# aptitude show lio-utils
Package: lio-utils
New: yes
State: partially configured
Automatically installed: no
Version: 3.1+git0.91b96103-2
Priority: optional
Section: universe/python
Maintainer: Ubuntu Developers <email address hidden>
Uncompressed Size: 589 k
Depends: python2.7, python (>= 2.7.1-0ubuntu2), python (< 2.8), libc6 (>= 2.7)
Conflicts: lio-utils
Description: configuration tool for LIO core target
 lio-utils provide a simple low-level configuration tool set for LIO Linux SCSI Target. This includes the target and its backstores including tcm_loop, and
 the iSCSI, FCoE and Fibre Channel fabric modules.
Homepage: http://www.risingtidesystems.com/git/?p=lio-utils.git;a=summary

Revision history for this message
clayg (clay-gerrard) wrote :

seems to be because I was running it on a vm

root@precise:~# uname -a
Linux precise 3.2.0-20-virtual #33-Ubuntu SMP Tue Mar 27 17:02:08 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Works "ok" on a physical box (3.2.0-18-generic)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lio-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Gianni V (gianni-verduci) wrote :
Download full text (10.1 KiB)

I just try this (i'm in a vmware vm):

root@papallo:/usr/src/linux# apt-get install linux-image-3.2.0-24
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'linux-image-3.2.0-24-powerpc64-smp' for regex 'linux-image-3.2.0-24'
Note, selecting 'linux-image-3.2.0-24-powerpc-smp' for regex 'linux-image-3.2.0-24'
Note, selecting 'linux-image-3.2.0-24-virtual' for regex 'linux-image-3.2.0-24'
Note, selecting 'linux-image-3.2.0-24-generic' for regex 'linux-image-3.2.0-24'
Note, selecting 'linux-image-3.2.0-24-omap' for regex 'linux-image-3.2.0-24'
Note, selecting 'linux-image-3.2.0-24-generic-pae' for regex 'linux-image-3.2.0-24'
linux-image-3.2.0-24-virtual is already the newest version.
Suggested packages:
  linux-doc-3.2.0 linux-source-3.2.0 linux-tools
The following NEW packages will be installed:
  linux-image-3.2.0-24-generic linux-image-3.2.0-24-generic-pae
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 75.5 MB of archives.
After this operation, 225 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-3.2.0-24-generic i386 3.2.0-24.37 [37.7 MB]
Get:2 http://it.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-3.2.0-24-generic-pae i386 3.2.0-24.37 [37.9 MB]
Fetched 75.5 MB in 23min 58s (52.5 kB/s)
Selecting previously unselected package linux-image-3.2.0-24-generic.
(Reading database ... 54661 files and directories currently installed.)
Unpacking linux-image-3.2.0-24-generic (from .../linux-image-3.2.0-24-generic_3.2.0-24.37_i386.deb) ...
Done.
Selecting previously unselected package linux-image-3.2.0-24-generic-pae.
Unpacking linux-image-3.2.0-24-generic-pae (from .../linux-image-3.2.0-24-generic-pae_3.2.0-24.37_i386.deb) ...
Done.
Setting up lio-utils (3.1+git0.91b96103-2) ...
Loading target_core_mod/ConfigFS core: [FAILED]: 1
invoke-rc.d: initscript target, action "start" failed.
dpkg: error processing lio-utils (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up linux-image-3.2.0-24-generic (3.2.0-24.37) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-24-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-24-generic /boot/vmlinuz-3.2.0-24-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.2.0-24-generic-pae
Found kernel: /boot/vmlinuz-3.2.0-24-virtual
Found kernel: /boot/vmlinuz-3.2.0-24-generic
Found kernel: /boot/vmlinuz-2.6.24-31-v...

Revision history for this message
Kirill Zaborsky (qrilka) wrote :

Installed linux-image and problems seems to be solved

Revision history for this message
Simon Déziel (sdeziel) wrote :

lio-utils should have a dependency on linux-image-generic on Precise and linux-image-extra-virtual for later releases (tested on Saucy).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.