Re: Devd / devmatch(8) -- netif race 12-RC1

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Thu, 22 Nov 2018 07:25:41 -0800
In message <798C848D-5F32-4BF9-87E0-ADD4F9B743AD_at_rdsor.ro>, Dan 
Partelly writes
:
> wireless lagg initialization is broken in this scenario, all-right. The init/
> rc system as it is now can’t cope easily with a modern asynchronous initial
> ization sequence. Sure you could probably find an order which works, only to 
> find yourself in trouble next time you want  add some modern functionality  .
>  It shows it’s age 
>
> _at_Warner
>
> Could you tell me please if devmatcher supports taking over a PCI device whic
> h is attached by a generic driver already ? vga attaching modern GPUs comes t
> o mind .
>
> Dan

We're missing a fair bit of information to come to any conclusion yet. 
I've been using lagg with ath + rl and iwn + bge since FreeBSD 8, 
currently on 13, with zero issues or problems on either of them over 
the many years I've used this configuration.

Can you provide output of sysctl net.wlan.devices, please? Also the 
relevant bits of rc.conf (with PI redacted of course), and any 
modifications to devfs.conf. dmesg output and anything relevant in 
messages might also be helpful.


-- 
Cheers,
Cy Schubert <Cy.Schubert_at_cschubert.com>
FreeBSD UNIX:  <cy_at_FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.


>
>
> > On Nov 20, 2018, at 15:26, Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net> 
> wrote:
> > 
> > On 20 Nov 2018, at 8:17, dan_partelly_at_rdsor.ro wrote:
> > 
> >>>> No, that's not what's happening. wlan0 isn't racing anything, because it
> 's no longer listed in ifconfig
> >> 
> >> 
> >> But when is created lagg0 ? Acording rc output on screen , creation of clo
> ned interface lagg0 takes place before wlan0 is created. Then this  means SIO
> CLAGPORT will fail with Invalid argument.  Also lagg0 is started at netif tim
> e as far as I know.
> >> Firmware for the wireless card is loaded later, and only even later wlan0 
> is created. So the way I see it, lagg0 cannot have a wlan0 port until firmwar
> e for the card is loaded and wlan0 is created, which takes place way after th
> e system attempts to configure lagg0  ? Am I missing something ?
> > 
> > lagg might be a problem.
> > 
> > 
> > While we are on the topic: I also noticed on a fixed 10G card that the netw
> ork startup it went through strangely wasn’t the same as it was when the dr
> iver was loaded and service netif start was called again.  I have not had tim
> e to debug that any further.
> > 
> > 
> >> Also, can you please tell me what happens that devmatch tries to load  uhi
> dd multiple times ?
> > 
> > That’s probably similar to https://bugs.freebsd.org/bugzilla/show_bug.cgi
> ?id=232782 ?
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Thu Nov 22 2018 - 14:34:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC