public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* ixgbe is not getting detached on reboot?
@ 2024-04-04  8:30 Toomas Soome
  2024-04-04  9:40 ` Andy Fiddaman
  0 siblings, 1 reply; 3+ messages in thread
From: Toomas Soome @ 2024-04-04  8:30 UTC (permalink / raw)
  To: illumos-developer

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

hi!

With DEBUG kernel, I’m seeing:

syncing file systems... done
DDI periodic handler not deleted (id=1, hdlr=ixgbe_link_timer)
rebooting…

Since ixgbe detach is calling for cleanup, I guess the message means that ixgbe is otherwise busy and can not be detached? Or, I suspect, something else is going on perhaps?

rgds,
toomas

[-- Attachment #2: Type: text/html, Size: 4889 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ixgbe is not getting detached on reboot?
  2024-04-04  8:30 ixgbe is not getting detached on reboot? Toomas Soome
@ 2024-04-04  9:40 ` Andy Fiddaman
  2024-04-04 10:12   ` [developer] " Toomas Soome
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Fiddaman @ 2024-04-04  9:40 UTC (permalink / raw)
  To: illumos-developer

[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

On Thursday, 4 April 2024, at 9:30 AM, Toomas Soome wrote:
> Since ixgbe detach is calling for cleanup, I guess the message means that ixgbe is otherwise busy and can not be detached? Or, I suspect, something else is going on perhaps?


If I'm reading the code correctly, it looks like any time the watchdog does a card reset, you will end up with one extra running timeout as one will be started at the end of ixgbe_reset(), and another back in ixgbe_local_timer() -  N+1 timeouts after N watchdog resets.

We should fix this and switch to ddi_periodic_add() while we're there.

Andy

[-- Attachment #2: Type: text/html, Size: 1302 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [developer] ixgbe is not getting detached on reboot?
  2024-04-04  9:40 ` Andy Fiddaman
@ 2024-04-04 10:12   ` Toomas Soome
  0 siblings, 0 replies; 3+ messages in thread
From: Toomas Soome @ 2024-04-04 10:12 UTC (permalink / raw)
  To: illumos-developer

[-- Attachment #1: Type: text/plain, Size: 792 bytes --]



> On 4. Apr 2024, at 12:40, Andy Fiddaman <illumos@fiddaman.net> wrote:
> 
> On Thursday, 4 April 2024, at 9:30 AM, Toomas Soome wrote:
>> Since ixgbe detach is calling for cleanup, I guess the message means that ixgbe is otherwise busy and can not be detached? Or, I suspect, something else is going on perhaps?
> If I'm reading the code correctly, it looks like any time the watchdog does a card reset, you will end up with one extra running timeout as one will be started at the end of ixgbe_reset(), and another back in ixgbe_local_timer() -  N+1 timeouts after N watchdog resets.
> 
> We should fix this and switch to ddi_periodic_add() while we're there.
> 

ok, so this rabbit hole is deeper than quick glance did allow to see. I’ll file the issue, thanks!

Toomas


[-- Attachment #2: Type: text/html, Size: 1814 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-04 10:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-04  8:30 ixgbe is not getting detached on reboot? Toomas Soome
2024-04-04  9:40 ` Andy Fiddaman
2024-04-04 10:12   ` [developer] " Toomas Soome

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).