[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#577925: tgt missing init script for tgtd



 Hi,

I'm in the process of uploading version 1.0.8 of tgt to experimental*.
This version includes an init script, but the startup is disabled by
default in /etc/defaults/tgt.

I've made some preliminary tests and it seems to be working correctly,
however, tgt still spews some errors on startup in a system without FCOE
and/or RDMA:

> (null): fcoe_init(214) (null)
> (null): fcoe_create_interface(171) no interface specified.
> librdmacm: couldn't read ABI version.
> librdmacm: assuming: 4
> CMA: unable to get RDMA device list
> (null): iscsi_rdma_init(1152) cannot initialize RDMA; load kernel modules?

They don't seem to cause any problems and were already being show in
version 1.0.4, but it's worth mentioning, now that these will
potentially pop up during startup.

I'm considering patching tgt to accept command-line switches to avoid
bringing up the FCOE/RDMA subsystems, but I still haven't looked deep
enough into the code to judge how feasible that would be. Another option
would theoretically be simply improving the code to detect the features
and not spew errors unless running in debug mode.

Please test the code and let me know if there's any problem.


Cheers

* might still take a few hours (waiting on input from Frederik Schüler)

-- 
Leo "costela" Antunes
[insert a witty retort here]


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: