modprobe: ERROR: could not insert 'target_core_mod': Invalid argument\n

Bug #2052679 reported by Utkarsh Gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-rtslib-fb (Ubuntu)
New
Undecided
Unassigned

Bug Description

The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).

Setting up python3-rtslib-fb (2.1.74-0ubuntu4) ...
Job for rtslib-fb-targetctl.service failed because the control process exited with error code.
See "systemctl status rtslib-fb-targetctl.service" and "journalctl -xeu rtslib-fb-targetctl.service" for details.
invoke-rc.d: initscript rtslib-fb-targetctl, action "restart" failed.
× rtslib-fb-targetctl.service - Restore LIO kernel target configuration
     Loaded: loaded (/lib/systemd/system/rtslib-fb-targetctl.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2024-02-08 12:39:52 IST; 6ms ago
    Process: 330938 ExecStart=mkdir -p /etc/rtslib-fb-target (code=exited, status=0/SUCCESS)
    Process: 330939 ExecStart=/usr/bin/targetctl restore (code=exited, status=1/FAILURE)
   Main PID: 330939 (code=exited, status=1/FAILURE)

Feb 08 12:39:52 utkarsh2102 target[330939]: File "/usr/bin/targetctl", line 47, in restore
Feb 08 12:39:52 utkarsh2102 target[330939]: errors = RTSRoot().restore_from_file(restore_file=from_file)
Feb 08 12:39:52 utkarsh2102 target[330939]: File "/usr/lib/python3/dist-packages/rtslib_fb/root.py", line 85, in __init__
Feb 08 12:39:52 utkarsh2102 target[330939]: modprobe('target_core_mod')
Feb 08 12:39:52 utkarsh2102 target[330939]: File "/usr/lib/python3/dist-packages/rtslib_fb/utils.py", line 428, in modprobe
Feb 08 12:39:52 utkarsh2102 target[330939]: raise RTSLibError(stderrdata)
Feb 08 12:39:52 utkarsh2102 target[330939]: rtslib_fb.utils.RTSLibError: b"modprobe: ERROR: could not insert 'target_core_mod': Invalid argument\n"
Feb 08 12:39:52 utkarsh2102 systemd[1]: rtslib-fb-targetctl.service: Main process exited, code=exited, status=1/FAILURE
Feb 08 12:39:52 utkarsh2102 systemd[1]: rtslib-fb-targetctl.service: Failed with result 'exit-code'.
Feb 08 12:39:52 utkarsh2102 systemd[1]: Failed to start Restore LIO kernel target configuration.
invoke-rc.d: release upgrade in progress, error is not fatal

Utkarsh Gupta (utkarsh)
summary: - Package breaks when upgrading from Focal to Jammy
+ modprobe: ERROR: could not insert 'target_core_mod': Invalid argument\n
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.