AM62L: nfsroot fails if the CPUs are limited to 1

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • Linux Core SDK
    • LCPD-43885
    • 11.00
    • 11.00
    • am62lxx_evm-fs

      Booting nfsroot with kernel 6.12 tag 11.00.12 fails if the CPUs are limited to 1 (using maxcpus=1). I used this for easier TF-A/Linux testing. It detects the link but fails afterwards with timeouts.

      To reproduce this issue, use this commandline for the kernel:

      console=ttyS0,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/nfs nfsroot=/mnt/ext/nfsroot,tcp,v3 ip=dhcp maxcpus=1
      This leads to this or similar kernel messages:
      [ 4.687245] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
      [ 4.703234] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
      [ 6.951244] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
      [ 6.967232] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
      [ 9.059254] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
      [ 9.099226] Sending DHCP requests ..
      [ 14.291237] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 5192 ms
      [ 14.304723] am65-cpsw-nuss 8000000.ethernet eth0: txq:2 DRV_XOFF:0 tmo:5204 dql_avail:-590 free_desc:515
      [ 17.239221] .
      [ 19.159233] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 10060 ms
      [ 19.170805] am65-cpsw-nuss 8000000.ethernet eth0: txq:2 DRV_XOFF:0 tmo:10068 dql_avail:-590 free_desc:515
      [ 24.275232] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 15176 ms
      [ 24.285232] am65-cpsw-nuss 8000000.ethernet eth0: txq:2 DRV_XOFF:0 tmo:15184 dql_avail:-590 free_desc:515
      [ 26.263219] .
      [ 29.139225] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 20040 ms
      [ 29.150790] am65-cpsw-nuss 8000000.ethernet eth0: txq:2 DRV_XOFF:0 tmo:20048 dql_avail:-590 free_desc:515
      [ 34.263232] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 25164 ms
      [ 34.273235] am65-cpsw-nuss 8000000.ethernet eth0: txq:2 DRV_XOFF:0 tmo:25172 dql_avail:-590 free_desc:515
      [ 39.127223] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 30028 ms
      [ 39.137222] am65-cpsw-nuss 8000000.ethernet eth0: txq:2 DRV_XOFF:0 tmo:30036 dql_avail:-590 free_desc:515
      [ 42.039216] .
      [ 44.247224] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 35148 ms
      [ 44.258789] am65-cpsw-nuss 8000000.ethernet eth0: txq:2 DRV_XOFF:0 tmo:35156 dql_avail:-590 free_desc:515
      [ 49.107222] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 40008 ms
      [ 49.117220] am65-cpsw-nuss 8000000.ethernet eth0: txq:2 DRV_XOFF:0 tmo:40016 dql_avail:-590 free_desc:515
      [ 54.227226] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 45128 ms
      [ 54.237226] am65-cpsw-nuss 8000000.ethernet eth0: txq:2 DRV_XOFF:0 tmo:45136 dql_avail:-590 free_desc:515
      [ 59.095220] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 49996 ms
      [ 59.105218] am65-cpsw-nuss 8000000.ethernet eth0: txq:2 DRV_XOFF:0 tmo:50004 dql_avail:-590 free_desc:515
      [ 64.211226] am65-cpsw-nuss 8000000.ethernet eth0: NETDEV WATCHDOG: CPU: 0: transmit queue 2 timed out 55112 ms
      [ 64.221225] am65-cpsw-nuss 8000000.ethernet eth0: txq:2 DRV_XOFF:0 tmo:55120 dql_avail:-590 free_desc:515 

      Fixed by:
      https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-linux-6.12.y&id=c39de84b93b23eb0a826ad8d33e5ec780176f78d
       

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-5630 - AM62L: nfsroot fails if the CPUs ar...
                SYNCHRONIZED
                • Last Sync Date: