Re: tg3 crashes under high load, when using 100Mbits
On Sat, Apr 14, 2018 at 9:17 PM, Kai-Heng Feng wrote: > Hi Satish, > >> On 2018Mar21, at 00:57, Kai-Heng Feng wrote: >> >> Satish Baddipadige wrote: >> >>> On Thu, Feb 15, 2018 at 7:37 PM, Siva Reddy Kallam >>> wrote: On Mon, Feb 12, 2018 at 10:59 AM, Siva Reddy Kallam wrote: > On Fri, Feb 9, 2018 at 10:41 AM, Kai Heng Feng > wrote: >> Hi Broadcom folks, >> >> We are now enabling a new platform with tg3 nic, unfortunately we >> observed >> the bug [1] that dated back to 2015. >> I tried commit 4419bb1cedcd ("tg3: Add workaround to restrict 5762 MRRS >> to >> 2048”) but it does’t work. >> >> Do you have any idea how to solve the issue? >> >> [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1447664 >> >> Kai-Heng > Thank you for reporting. We will check and update you. With link aware mode, the clock speed could be slow and boot code does not complete within the expected time with lower link speeds. Need to override and the clock in driver. We are checking the feasibility of adding this in driver or firmware. >>> >>> Hi Kai-Heng, >>> >>> Can you please test the attached patch? >> >> I built a kernel and asked affected users to try. > > Users reported that the crash still happens with the patch. > > Kai-Heng > Thanks for the feedback. We will re-work on the patch and soon provide you the update. >> >> Thanks for your work. >> >> Kai-Heng >> >>> >>> Thanks, >>> Satish >>> >
Re: tg3 crashes under high load, when using 100Mbits
Hi Satish, > On 2018Mar21, at 00:57, Kai-Heng Feng wrote: > > Satish Baddipadige wrote: > >> On Thu, Feb 15, 2018 at 7:37 PM, Siva Reddy Kallam >> wrote: >>> On Mon, Feb 12, 2018 at 10:59 AM, Siva Reddy Kallam >>> wrote: On Fri, Feb 9, 2018 at 10:41 AM, Kai Heng Feng wrote: > Hi Broadcom folks, > > We are now enabling a new platform with tg3 nic, unfortunately we observed > the bug [1] that dated back to 2015. > I tried commit 4419bb1cedcd ("tg3: Add workaround to restrict 5762 MRRS to > 2048”) but it does’t work. > > Do you have any idea how to solve the issue? > > [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1447664 > > Kai-Heng Thank you for reporting. We will check and update you. >>> With link aware mode, the clock speed could be slow and boot code does not >>> complete within the expected time with lower link speeds. Need to override >>> and the clock in driver. We are checking the feasibility of adding >>> this in driver or firmware. >> >> Hi Kai-Heng, >> >> Can you please test the attached patch? > > I built a kernel and asked affected users to try. Users reported that the crash still happens with the patch. Kai-Heng > > Thanks for your work. > > Kai-Heng > >> >> Thanks, >> Satish >>
Re: tg3 crashes under high load, when using 100Mbits
Satish Baddipadige wrote: On Thu, Feb 15, 2018 at 7:37 PM, Siva Reddy Kallam wrote: On Mon, Feb 12, 2018 at 10:59 AM, Siva Reddy Kallam wrote: On Fri, Feb 9, 2018 at 10:41 AM, Kai Heng Feng wrote: Hi Broadcom folks, We are now enabling a new platform with tg3 nic, unfortunately we observed the bug [1] that dated back to 2015. I tried commit 4419bb1cedcd ("tg3: Add workaround to restrict 5762 MRRS to 2048”) but it does’t work. Do you have any idea how to solve the issue? [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1447664 Kai-Heng Thank you for reporting. We will check and update you. With link aware mode, the clock speed could be slow and boot code does not complete within the expected time with lower link speeds. Need to override and the clock in driver. We are checking the feasibility of adding this in driver or firmware. Hi Kai-Heng, Can you please test the attached patch? I built a kernel and asked affected users to try. Thanks for your work. Kai-Heng Thanks, Satish
Re: tg3 crashes under high load, when using 100Mbits
On Thu, Feb 15, 2018 at 7:37 PM, Siva Reddy Kallam wrote: > On Mon, Feb 12, 2018 at 10:59 AM, Siva Reddy Kallam > wrote: >> On Fri, Feb 9, 2018 at 10:41 AM, Kai Heng Feng >> wrote: >>> Hi Broadcom folks, >>> >>> We are now enabling a new platform with tg3 nic, unfortunately we observed >>> the bug [1] that dated back to 2015. >>> I tried commit 4419bb1cedcd ("tg3: Add workaround to restrict 5762 MRRS to >>> 2048”) but it does’t work. >>> >>> Do you have any idea how to solve the issue? >>> >>> [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1447664 >>> >>> Kai-Heng >>> >> Thank you for reporting. We will check and update you. > With link aware mode, the clock speed could be slow and boot code does not > complete within the expected time with lower link speeds. Need to override > and the clock in driver. We are checking the feasibility of adding > this in driver or firmware. Hi Kai-Heng, Can you please test the attached patch? Thanks, Satish tg3_5762_clock_override.patch Description: Binary data
Re: tg3 crashes under high load, when using 100Mbits
On Mon, Feb 12, 2018 at 10:59 AM, Siva Reddy Kallam wrote: > On Fri, Feb 9, 2018 at 10:41 AM, Kai Heng Feng > wrote: >> Hi Broadcom folks, >> >> We are now enabling a new platform with tg3 nic, unfortunately we observed >> the bug [1] that dated back to 2015. >> I tried commit 4419bb1cedcd ("tg3: Add workaround to restrict 5762 MRRS to >> 2048”) but it does’t work. >> >> Do you have any idea how to solve the issue? >> >> [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1447664 >> >> Kai-Heng >> > Thank you for reporting. We will check and update you. With link aware mode, the clock speed could be slow and boot code does not complete within the expected time with lower link speeds. Need to override and the clock in driver. We are checking the feasibility of adding this in driver or firmware.
Re: tg3 crashes under high load, when using 100Mbits
On Fri, Feb 9, 2018 at 10:41 AM, Kai Heng Feng wrote: > Hi Broadcom folks, > > We are now enabling a new platform with tg3 nic, unfortunately we observed > the bug [1] that dated back to 2015. > I tried commit 4419bb1cedcd ("tg3: Add workaround to restrict 5762 MRRS to > 2048”) but it does’t work. > > Do you have any idea how to solve the issue? > > [1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1447664 > > Kai-Heng > Thank you for reporting. We will check and update you.