<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic usb gadget mass-storage bugs in cdns-usb3 driver? in Embedded Software and Tools Clinic</title>
    <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/usb-gadget-mass-storage-bugs-in-cdns-usb3-driver/m-p/1661682#M384</link>
    <description>&lt;P&gt;root@imx8qxpc0mek:~# modprobe g_mass_storage file=test.img&lt;BR /&gt;[ 150.446776] Mass Storage Function, version: 2009/09/11&lt;BR /&gt;[ 150.451968] LUN: removable file: (no medium)&lt;BR /&gt;[ 150.456473] LUN: file: /home/root/test.img&lt;BR /&gt;[ 150.460612] Number of LUNs=1&lt;BR /&gt;[ 150.463741] g_mass_storage gadget.0: Mass Storage Gadget, version: 2009/09/11&lt;BR /&gt;[ 150.470932] g_mass_storage gadget.0: userspace failed to provide iSerialNumber&lt;BR /&gt;[ 150.478251] g_mass_storage gadget.0: g_mass_storage ready&lt;BR /&gt;root@imx8qxpc0mek:~# [ 151.193785] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 151.200317] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 151.206772] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 151.213334] cdns-usb3 5b130000.usb: timeout for waiting configuration set&lt;BR /&gt;[ 152.242820] g_mass_storage gadget.0: common-&amp;gt;fsg is NULL in fsg_setup at 465&lt;BR /&gt;[ 152.249971] ------------[ cut here ]------------&lt;BR /&gt;[ 152.254593] WARNING: CPU: 0 PID: 180 at drivers/usb/gadget/function/f_mass_storage.c:314 __fsg_is_set.part.0.isra.0+0x24/0x38&lt;BR /&gt;[ 152.265930] Modules linked in: g_mass_storage fsl_jr_uio caam_jr snd_soc_imx_audmix caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic snd_soce&lt;BR /&gt;[ 152.304557] CPU: 0 PID: 180 Comm: irq/448-5b13000 Tainted: G C 6.1.1+g29549c7073bf #1&lt;BR /&gt;[ 152.313789] Hardware name: Freescale i.MX8QXP MEK (DT)&lt;BR /&gt;[ 152.318933] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)&lt;BR /&gt;[ 152.325906] pc : __fsg_is_set.part.0.isra.0+0x24/0x38&lt;BR /&gt;[ 152.330973] lr : __fsg_is_set.part.0.isra.0+0x24/0x38&lt;BR /&gt;[ 152.336035] sp : ffff80000adfbc00&lt;BR /&gt;[ 152.339354] x29: ffff80000adfbc00 x28: 0000000000000001 x27: ffff000811939810&lt;BR /&gt;[ 152.346512] x26: ffff000811939800 x25: ffff8000080ef250 x24: 0000000000000000&lt;BR /&gt;[ 152.353671] x23: 0000000000000000 x22: 0000000000000001 x21: ffff000817016400&lt;BR /&gt;[ 152.360829] x20: ffff0008101e8e00 x19: ffff80000a1ff000 x18: 0000000000000006&lt;BR /&gt;[ 152.367988] x17: 0000000000000000 x16: 0000000000000000 x15: ffff80000adfb680&lt;BR /&gt;[ 152.375146] x14: 0000000000000000 x13: ffff800009d32428 x12: 00000000000006c6&lt;BR /&gt;[ 152.382305] x11: 0000000000000242 x10: ffff800009d8a428 x9 : ffff800009d32428&lt;BR /&gt;[ 152.389463] x8 : 00000000ffffefff x7 : ffff800009d8a428 x6 : 80000000fffff000&lt;BR /&gt;[ 152.396622] x5 : ffff00083c9b2a18 x4 : ffff00083c9b2a18 x3 : 0000000000000000&lt;BR /&gt;[ 152.403780] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000811b749c0&lt;BR /&gt;[ 152.410942] Call trace:&lt;BR /&gt;[ 152.413392] __fsg_is_set.part.0.isra.0+0x24/0x38&lt;BR /&gt;[ 152.418117] fsg_setup+0x10c/0x1c0&lt;BR /&gt;[ 152.421529] composite_setup+0x468/0x17f4&lt;BR /&gt;[ 152.425562] cdns3_check_ep0_interrupt_proceed+0x284/0x5d0&lt;BR /&gt;[ 152.431059] cdns3_device_thread_irq_handler+0x508/0xa10&lt;BR /&gt;[ 152.436385] irq_thread_fn+0x2c/0xb0&lt;BR /&gt;[ 152.439973] irq_thread+0x16c/0x250&lt;BR /&gt;[ 152.443474] kthread+0x108/0x10c&lt;BR /&gt;[ 152.446716] ret_from_fork+0x10/0x20&lt;BR /&gt;[ 152.450305] ---[ end trace 0000000000000000 ]---&lt;BR /&gt;[ 173.597007] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 173.603539] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 173.609994] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 173.616554] cdns-usb3 5b130000.usb: timeout for waiting configuration set&lt;/P&gt;&lt;P&gt;root@imx8qxpc0mek:~# uname -r&lt;BR /&gt;6.1.1+g29549c7073bf&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 08:58:45 GMT</pubDate>
    <dc:creator>Its_wen</dc:creator>
    <dc:date>2023-06-01T08:58:45Z</dc:date>
    <item>
      <title>usb gadget mass-storage bugs in cdns-usb3 driver?</title>
      <link>https://community.nxp.com/t5/Embedded-Software-and-Tools/usb-gadget-mass-storage-bugs-in-cdns-usb3-driver/m-p/1661682#M384</link>
      <description>&lt;P&gt;root@imx8qxpc0mek:~# modprobe g_mass_storage file=test.img&lt;BR /&gt;[ 150.446776] Mass Storage Function, version: 2009/09/11&lt;BR /&gt;[ 150.451968] LUN: removable file: (no medium)&lt;BR /&gt;[ 150.456473] LUN: file: /home/root/test.img&lt;BR /&gt;[ 150.460612] Number of LUNs=1&lt;BR /&gt;[ 150.463741] g_mass_storage gadget.0: Mass Storage Gadget, version: 2009/09/11&lt;BR /&gt;[ 150.470932] g_mass_storage gadget.0: userspace failed to provide iSerialNumber&lt;BR /&gt;[ 150.478251] g_mass_storage gadget.0: g_mass_storage ready&lt;BR /&gt;root@imx8qxpc0mek:~# [ 151.193785] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 151.200317] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 151.206772] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 151.213334] cdns-usb3 5b130000.usb: timeout for waiting configuration set&lt;BR /&gt;[ 152.242820] g_mass_storage gadget.0: common-&amp;gt;fsg is NULL in fsg_setup at 465&lt;BR /&gt;[ 152.249971] ------------[ cut here ]------------&lt;BR /&gt;[ 152.254593] WARNING: CPU: 0 PID: 180 at drivers/usb/gadget/function/f_mass_storage.c:314 __fsg_is_set.part.0.isra.0+0x24/0x38&lt;BR /&gt;[ 152.265930] Modules linked in: g_mass_storage fsl_jr_uio caam_jr snd_soc_imx_audmix caamkeyblob_desc caamhash_desc caamalg_desc crypto_engine authenc libdes crct10dif_ce polyval_ce polyval_generic snd_soce&lt;BR /&gt;[ 152.304557] CPU: 0 PID: 180 Comm: irq/448-5b13000 Tainted: G C 6.1.1+g29549c7073bf #1&lt;BR /&gt;[ 152.313789] Hardware name: Freescale i.MX8QXP MEK (DT)&lt;BR /&gt;[ 152.318933] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)&lt;BR /&gt;[ 152.325906] pc : __fsg_is_set.part.0.isra.0+0x24/0x38&lt;BR /&gt;[ 152.330973] lr : __fsg_is_set.part.0.isra.0+0x24/0x38&lt;BR /&gt;[ 152.336035] sp : ffff80000adfbc00&lt;BR /&gt;[ 152.339354] x29: ffff80000adfbc00 x28: 0000000000000001 x27: ffff000811939810&lt;BR /&gt;[ 152.346512] x26: ffff000811939800 x25: ffff8000080ef250 x24: 0000000000000000&lt;BR /&gt;[ 152.353671] x23: 0000000000000000 x22: 0000000000000001 x21: ffff000817016400&lt;BR /&gt;[ 152.360829] x20: ffff0008101e8e00 x19: ffff80000a1ff000 x18: 0000000000000006&lt;BR /&gt;[ 152.367988] x17: 0000000000000000 x16: 0000000000000000 x15: ffff80000adfb680&lt;BR /&gt;[ 152.375146] x14: 0000000000000000 x13: ffff800009d32428 x12: 00000000000006c6&lt;BR /&gt;[ 152.382305] x11: 0000000000000242 x10: ffff800009d8a428 x9 : ffff800009d32428&lt;BR /&gt;[ 152.389463] x8 : 00000000ffffefff x7 : ffff800009d8a428 x6 : 80000000fffff000&lt;BR /&gt;[ 152.396622] x5 : ffff00083c9b2a18 x4 : ffff00083c9b2a18 x3 : 0000000000000000&lt;BR /&gt;[ 152.403780] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000811b749c0&lt;BR /&gt;[ 152.410942] Call trace:&lt;BR /&gt;[ 152.413392] __fsg_is_set.part.0.isra.0+0x24/0x38&lt;BR /&gt;[ 152.418117] fsg_setup+0x10c/0x1c0&lt;BR /&gt;[ 152.421529] composite_setup+0x468/0x17f4&lt;BR /&gt;[ 152.425562] cdns3_check_ep0_interrupt_proceed+0x284/0x5d0&lt;BR /&gt;[ 152.431059] cdns3_device_thread_irq_handler+0x508/0xa10&lt;BR /&gt;[ 152.436385] irq_thread_fn+0x2c/0xb0&lt;BR /&gt;[ 152.439973] irq_thread+0x16c/0x250&lt;BR /&gt;[ 152.443474] kthread+0x108/0x10c&lt;BR /&gt;[ 152.446716] ret_from_fork+0x10/0x20&lt;BR /&gt;[ 152.450305] ---[ end trace 0000000000000000 ]---&lt;BR /&gt;[ 173.597007] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 173.603539] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 173.609994] cdns-usb3 5b130000.usb: onchip mem is full, ep is invalid&lt;BR /&gt;[ 173.616554] cdns-usb3 5b130000.usb: timeout for waiting configuration set&lt;/P&gt;&lt;P&gt;root@imx8qxpc0mek:~# uname -r&lt;BR /&gt;6.1.1+g29549c7073bf&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 08:58:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Embedded-Software-and-Tools/usb-gadget-mass-storage-bugs-in-cdns-usb3-driver/m-p/1661682#M384</guid>
      <dc:creator>Its_wen</dc:creator>
      <dc:date>2023-06-01T08:58:45Z</dc:date>
    </item>
  </channel>
</rss>

