Hello All, I am trying to set up a tcm_usb_gadget on a board with DWC3 UDC. I've downloaded targetcli from https://github.com/Datera/targetcli built a deb package and installed it. I downloaded it instead of installing from distribution package to be sure I get the latest version. Prior to that I have built and properly deployed tcm_usb_gadget.ko, that is copied it to system location /lib/modules/`uname -r` and calculated module dependencies with depmod -a. When targetcli deb package was installed, a bunch of messages appeared, including this: [....] Fabric module tcm_usb_gadget is not loaded ... (warning). Any idea why is that? Then I manually load tcm_usb_gadget: modprobe tcm_usb_gadget. After that when targetcli is run usb_gadget fabric directory appears. Then I create the following hierarchy: /> ls o- / ..................................................................... [...] o- backstores .......................................................... [...] | o- fileio ............................................... [1 Storage Object] | | o- abc ...................................... [10.0M, /root/f.img, in use] | o- iblock ............................................... [0 Storage Object] | o- pscsi ................................................ [0 Storage Object] | o- rd_mcp ............................................... [0 Storage Object] o- iscsi ......................................................... [0 Targets] o- loopback ...................................................... [0 Targets] o- usb_gadget ..................................................... [1 Target] o- naa.60014051babd31e4 ....................... [nexus WWN 600140515a36d7db] o- luns .......................................................... [1 LUN] o- lun0 ..................................... [fileio/abc (/root/f.img)] and exit targetcli: /> exit Comparing startup and running configs... Invalid fabric identifier 'usb_gadget': expected type 'loopback', 'iscsi', 'ib_srpt', 'vhost', 'tcm_fc', 'qla2xxx' Why is 'usb_gadget' fabric unknown? The gadget goes alive, I can list it on my Linux host, but I repeatedly get: [ 177.628876] g_target gadget: high-speed config #1: Linux Target [ 177.633411] Using the BOT protocol [ 198.459512] ERR bot_status_complete(64) [ 198.621077] g_target gadget: high-speed config #1: Linux Target [ 198.625607] Using the BOT protocol [ 219.451560] ERR bot_status_complete(64) ... Any ideas, why? Andrzej -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html