Opened 6 months ago

Closed 3 months ago

#14182 closed bug (fixed)

[ipro1000] KDL in if_getdrvflags

Reported by: diver Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/Network/ipro1000 Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #14046
Has a Patch: no Platform: All

Description

hrev51986 x86_64 running on VMware Workstation 14.1.2.

Haiku KDL'ed upon boot.

Attachments (3)

ipro1000.png (27.4 KB) - added by diver 6 months ago.
ipro1000_threads.png (95.1 KB) - added by diver 5 months ago.
KDL.jpg (1.9 MB) - added by dsuden 3 months ago.
KDL example on real hardware

Change History (18)

Changed 6 months ago by diver

Attachment: ipro1000.png added

comment:1 Changed 6 months ago by korli

Could you dump the stacktraces of other ipro1000 related threads? It's not clear in which state the driver is when this panic happens.

Last edited 6 months ago by korli (previous) (diff)

comment:2 Changed 6 months ago by diver

How do I list related threads?

comment:3 Changed 6 months ago by korli

"threads 1"

comment:4 Changed 5 months ago by diver

Changed 5 months ago by diver

Attachment: ipro1000_threads.png added

comment:5 Changed 4 months ago by waddlesplash

Has this happened after the mbuf overrun fixes & mbuf refcounting?

comment:6 Changed 4 months ago by diver

Resolution: fixed
Status: newclosed

Han't had a chance to test it and it happened only twice within 2 weeks. So let's assume it's been fixed, I'll reopen if needed :P

comment:7 Changed 4 months ago by waddlesplash

Blocking: 14046 added

comment:8 Changed 3 months ago by diver

Resolution: fixed
Status: closedreopened

Happened again on boot after update to hrev52185.

comment:9 Changed 3 months ago by dsuden

We have kind of a "desperate" need for this driver to be stable. Hoping we can get there!

comment:10 Changed 3 months ago by waddlesplash

@dsuden, is it happening for you on real hardware? AFAIK nobody has seen this outside of VMware.

comment:11 Changed 3 months ago by dsuden

Yes, I get it fairly regularly. So do some of my customers. I don't think I have a screen grab remaining, but I'll look.

comment:12 Changed 3 months ago by dsuden

Found one.

Changed 3 months ago by dsuden

Attachment: KDL.jpg added

KDL example on real hardware

comment:13 Changed 3 months ago by waddlesplash

That's #12567, which is completely unrelated to this ticket (and was already fixed in hrev51603.)

comment:14 Changed 3 months ago by waddlesplash

@dsuden, can you find me on IRC, please?

At any rate, regarding this actual ticket: It appears that the IRQ setup where the task is created and queued happens before the IFP is initialized: http://xref.plausible.coop/source/xref/freebsd-11-stable/sys/dev/e1000/if_lem.c#695 (allocate_irq enqueues the task, setup_interface initializes the IFP), so this appears to be a bug in FreeBSD code. I'll ask around.

comment:15 Changed 3 months ago by waddlesplash

Resolution: fixed
Status: reopenedclosed

Should be fixed in hrev52250.

Note: See TracTickets for help on using tickets.