Re: coredump when loading cxgb after boot with routing daemon already running (RELENG11)

2017-01-08 Thread Gleb Smirnoff
On Sun, Jan 08, 2017 at 04:22:33PM +0300, Andrey V. Elsukov wrote: A> On 04.01.2017 22:07, Navdeep Parhar wrote: A> > What source line in releng-11 does ifioctl+0x6dd correspond to? A> > A> > (kgdb) l *(ifioctl+0x6dd) A> > A> > This might be race where the ifnet is being created or coming up and

Re: coredump when loading cxgb after boot with routing daemon already running (RELENG11)

2017-01-08 Thread Andrey V. Elsukov
On 04.01.2017 22:07, Navdeep Parhar wrote: What source line in releng-11 does ifioctl+0x6dd correspond to? (kgdb) l *(ifioctl+0x6dd) This might be race where the ifnet is being created or coming up and zebra pokes it in some way before it's fully ready. If that's the case it could affect any

Re: coredump when loading cxgb after boot with routing daemon already running (RELENG11)

2017-01-04 Thread Mike Tancsa
On 1/4/2017 2:26 PM, Navdeep Parhar wrote: > Please file a bug against the network stack. Created https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215778 ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services

Re: coredump when loading cxgb after boot with routing daemon already running (RELENG11)

2017-01-04 Thread Navdeep Parhar
Please file a bug against the network stack. Is zebra easy to install/configure? Send me details of your configuration offline and I can try it on head if it's something straightforward. Regards, Navdeep On Wed, Jan 4, 2017 at 11:15 AM, Mike Tancsa wrote: > On 1/4/2017 2:07

Re: coredump when loading cxgb after boot with routing daemon already running (RELENG11)

2017-01-04 Thread Mike Tancsa
On 1/4/2017 2:07 PM, Navdeep Parhar wrote: > What source line in releng-11 does ifioctl+0x6dd correspond to? > > (kgdb) l *(ifioctl+0x6dd) > > This might be race where the ifnet is being created or coming up and > zebra pokes it in some way before it's fully ready. If that's the > case it could

Re: coredump when loading cxgb after boot with routing daemon already running (RELENG11)

2017-01-04 Thread Navdeep Parhar
What source line in releng-11 does ifioctl+0x6dd correspond to? (kgdb) l *(ifioctl+0x6dd) This might be race where the ifnet is being created or coming up and zebra pokes it in some way before it's fully ready. If that's the case it could affect any ifnet. Regards, Navdeep On Wed, Jan 4,

coredump when loading cxgb after boot with routing daemon already running (RELENG11)

2017-01-04 Thread Mike Tancsa
I ran into a strange problem when manually loading a network driver after RELENG_11 box starts up with a routing daemon already running. If I have zebra running (just a few static routes) and then try and do a kldload if_cxgb, the box panics. If I boot the box, load the nic's driver and then