FreeBSD_HEAD_i386 - Build #4319 - Failure

2016-12-06 Thread jenkins-admin
FreeBSD_HEAD_i386 - Build #4319 - Failure:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/4319/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/4319/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/4319/console

Change summaries:

309666 by np:
cxgbe(4): unsigned short isn't large enough to store link speed (which
is in Mbps) for 100Gbps links.

MFC after:  3 days

309665 by adrian:
[net80211] flesh out more RX phy information.

I'm teaching my ath10k port to communicate up the per-rate / channel width
information I get from the firmware.

The HT40 flag field should just be retired and instead moved to use the
PHY bandwidth field.

309664 by adrian:
[net80211] start refactoring out the "am I a wep / group key!" code.

This is a bunch of pointer arithmetic that is copypasta'ed everywhere.
Let's undo that copypasta.



The end of the build log:

[...truncated 197469 lines...]
ctfmerge -L VERSION -g -o umcs.kld umcs.o
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk umcs.kld  export_syms | xargs -J% 
objcopy % umcs.kld
--- umcs.ko.full ---
ld -Bshareable -d -warn-common -o umcs.ko.full umcs.kld
--- umcs.ko.debug ---
objcopy --only-keep-debug umcs.ko.full umcs.ko.debug
--- umcs.ko ---
objcopy --strip-debug --add-gnu-debuglink=umcs.ko.debug  umcs.ko.full umcs.ko
--- adwlib.o ---
cc -target i386-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp 
-B/usr/obj/usr/src/tmp/usr/bin -c -O -pipe  -g -nostdinc  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h  -MD  -MF.depend.adwlib.o -MTadwlib.o -mno-mmx -mno-sse 
-msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign 
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs 
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare 
-Wno-error-empty-body -Wno-error-parentheses-equality 
-Wno-error-unused-function -Wno-error-pointer-sign 
-Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -Werror  
/usr/src/sys/dev/advansys/adwlib.c
--- modules-all ---
--- all_subdir_usb/umodem ---
ctfconvert -L VERSION -g umodem.o
--- umodem.kld ---
ld -d -warn-common -r -d -o umodem.kld umodem.o
ctfmerge -L VERSION -g -o umodem.kld umodem.o
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk umodem.kld  export_syms | xargs -J% 
objcopy % umodem.kld
--- umodem.ko.full ---
ld -Bshareable -d -warn-common -o umodem.ko.full umodem.kld
--- umodem.ko.debug ---
objcopy --only-keep-debug umodem.ko.full umodem.ko.debug
--- umodem.ko ---
objcopy --strip-debug --add-gnu-debuglink=umodem.ko.debug  umodem.ko.full 
umodem.ko
--- all_subdir_usb/umoscom ---
===> usb/umoscom (all)
--- machine ---
machine -> /usr/src/sys/i386/include
--- x86 ---
x86 -> /usr/src/sys/x86/include
--- opt_bus.h ---
ln -sf /usr/obj/usr/src/sys/GENERIC/opt_bus.h opt_bus.h
--- opt_usb.h ---
ln -sf /usr/obj/usr/src/sys/GENERIC/opt_usb.h opt_usb.h
--- device_if.h ---
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h
--- bus_if.h ---
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h
--- usb_if.h ---
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/usb/usb_if.m -h
--- usbdevs.h ---
awk -f /usr/src/sys/tools/usbdevs2h.awk /usr/src/sys/dev/usb/usbdevs -h
--- adwlib.o ---
ctfconvert -L VERSION -g adwlib.o
--- modules-all ---
--- all_subdir_vxge ---
--- vxgehal-srpcim.o ---
cc -target i386-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp 
-B/usr/obj/usr/src/tmp/usr/bin  -O2 -pipe -DVXGE_HAL_RX_MULTI_POST 
-DVXGE_HAL_TX_MULTI_POST  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE 
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g 
-I/usr/obj/usr/src/sys/GENERIC  -MD  -MF.depend.vxgehal-srpcim.o 
-MTvxgehal-srpcim.o -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv 
-fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ 
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas 
-Wno-error-tautological-compare -Wno-error-empty-body 
-Wno-error-parentheses-equality -Wno-error-unused-function 
-Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  
-std=iso9899:1999 -c /usr/src/sys/modules/vxge/../../dev
 /vxge/vxgehal/vxgehal-srpcim.c -o vxgehal-srpcim.o
--- all_subdir_usb ---
--- umoscom.o ---
cc -target i386-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp 
-B/usr/obj/usr/src/tmp/usr/bin  -O2 -pipe  -fno-strict-aliasing -Werror 
-D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g 

Re: How to load kernel module automatic?

2016-12-06 Thread Slawa Olhovchenkov
On Tue, Dec 06, 2016 at 06:53:03AM -0800, Navdeep Parhar wrote:

> On Tue, Dec 06, 2016 at 05:43:38PM +0300, Slawa Olhovchenkov wrote:
> > On Tue, Dec 06, 2016 at 06:41:14AM -0800, Navdeep Parhar wrote:
> > 
> > > On Tue, Dec 06, 2016 at 05:34:56PM +0300, Slawa Olhovchenkov wrote:
> > > > On Tue, Dec 06, 2016 at 06:25:44AM -0800, Navdeep Parhar wrote:
> > > > 
> > > > > On Tue, Dec 06, 2016 at 02:47:15PM +0300, Slawa Olhovchenkov wrote:
> > > > > > Now I am try to update fw in chelsio card.
> > > > > > Firmware can't be updated if card was running (interface go to UP).
> > > > > > I am try to unload if_cxgbe module, check module unloaded... and 
> > > > > > after
> > > > > > short time see module loaded again!
> > > > > > How is this possible?
> > > > > 
> > > > > Something is running "ifconfig cxgbe|cxl|cc" on your system.  ifconfig
> > > > > can figure out the name of the module from the name of the ifnet and
> > > > > will kldload it if it isn't in the kernel already.
> > > > 
> > > > What is 'something'?
> > > 
> > > A script that's running via devd or some other mechanism.
> > 
> > Its not clear to me what exact event cause devd start such script.
> 
> Doesn't have to be devd.  Could be any automated script running
> ifconfig.  Leave this running and see if ifconfig is ever called with

No any automated scripts.

> (cxgbe|cxl|cc) as parameter.  If it is then that's what's loading
> cxgbe(4) automatically.
> 
> dtrace -n 'proc:::exec-success /execname == "ifconfig"/ 
> {trace(curpsinfo->pr_psargs);}

ok, i am do it tomorrow.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: How to load kernel module automatic?

2016-12-06 Thread Navdeep Parhar
On Tue, Dec 06, 2016 at 05:43:38PM +0300, Slawa Olhovchenkov wrote:
> On Tue, Dec 06, 2016 at 06:41:14AM -0800, Navdeep Parhar wrote:
> 
> > On Tue, Dec 06, 2016 at 05:34:56PM +0300, Slawa Olhovchenkov wrote:
> > > On Tue, Dec 06, 2016 at 06:25:44AM -0800, Navdeep Parhar wrote:
> > > 
> > > > On Tue, Dec 06, 2016 at 02:47:15PM +0300, Slawa Olhovchenkov wrote:
> > > > > Now I am try to update fw in chelsio card.
> > > > > Firmware can't be updated if card was running (interface go to UP).
> > > > > I am try to unload if_cxgbe module, check module unloaded... and after
> > > > > short time see module loaded again!
> > > > > How is this possible?
> > > > 
> > > > Something is running "ifconfig cxgbe|cxl|cc" on your system.  ifconfig
> > > > can figure out the name of the module from the name of the ifnet and
> > > > will kldload it if it isn't in the kernel already.
> > > 
> > > What is 'something'?
> > 
> > A script that's running via devd or some other mechanism.
> 
> Its not clear to me what exact event cause devd start such script.

Doesn't have to be devd.  Could be any automated script running
ifconfig.  Leave this running and see if ifconfig is ever called with
(cxgbe|cxl|cc) as parameter.  If it is then that's what's loading
cxgbe(4) automatically.

dtrace -n 'proc:::exec-success /execname == "ifconfig"/ 
{trace(curpsinfo->pr_psargs);}

Regards,
Navdeep
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: How to load kernel module automatic?

2016-12-06 Thread Slawa Olhovchenkov
On Tue, Dec 06, 2016 at 06:41:14AM -0800, Navdeep Parhar wrote:

> On Tue, Dec 06, 2016 at 05:34:56PM +0300, Slawa Olhovchenkov wrote:
> > On Tue, Dec 06, 2016 at 06:25:44AM -0800, Navdeep Parhar wrote:
> > 
> > > On Tue, Dec 06, 2016 at 02:47:15PM +0300, Slawa Olhovchenkov wrote:
> > > > Now I am try to update fw in chelsio card.
> > > > Firmware can't be updated if card was running (interface go to UP).
> > > > I am try to unload if_cxgbe module, check module unloaded... and after
> > > > short time see module loaded again!
> > > > How is this possible?
> > > 
> > > Something is running "ifconfig cxgbe|cxl|cc" on your system.  ifconfig
> > > can figure out the name of the module from the name of the ifnet and
> > > will kldload it if it isn't in the kernel already.
> > 
> > What is 'something'?
> 
> A script that's running via devd or some other mechanism.

Its not clear to me what exact event cause devd start such script.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: How to load kernel module automatic?

2016-12-06 Thread Navdeep Parhar
On Tue, Dec 06, 2016 at 05:34:56PM +0300, Slawa Olhovchenkov wrote:
> On Tue, Dec 06, 2016 at 06:25:44AM -0800, Navdeep Parhar wrote:
> 
> > On Tue, Dec 06, 2016 at 02:47:15PM +0300, Slawa Olhovchenkov wrote:
> > > Now I am try to update fw in chelsio card.
> > > Firmware can't be updated if card was running (interface go to UP).
> > > I am try to unload if_cxgbe module, check module unloaded... and after
> > > short time see module loaded again!
> > > How is this possible?
> > 
> > Something is running "ifconfig cxgbe|cxl|cc" on your system.  ifconfig
> > can figure out the name of the module from the name of the ifnet and
> > will kldload it if it isn't in the kernel already.
> 
> What is 'something'?

A script that's running via devd or some other mechanism.

Regards,
Navdeep
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: How to load kernel module automatic?

2016-12-06 Thread Slawa Olhovchenkov
On Tue, Dec 06, 2016 at 06:25:44AM -0800, Navdeep Parhar wrote:

> On Tue, Dec 06, 2016 at 02:47:15PM +0300, Slawa Olhovchenkov wrote:
> > Now I am try to update fw in chelsio card.
> > Firmware can't be updated if card was running (interface go to UP).
> > I am try to unload if_cxgbe module, check module unloaded... and after
> > short time see module loaded again!
> > How is this possible?
> 
> Something is running "ifconfig cxgbe|cxl|cc" on your system.  ifconfig
> can figure out the name of the module from the name of the ifnet and
> will kldload it if it isn't in the kernel already.

What is 'something'?
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: How to load kernel module automatic?

2016-12-06 Thread Navdeep Parhar
On Tue, Dec 06, 2016 at 02:47:15PM +0300, Slawa Olhovchenkov wrote:
> Now I am try to update fw in chelsio card.
> Firmware can't be updated if card was running (interface go to UP).
> I am try to unload if_cxgbe module, check module unloaded... and after
> short time see module loaded again!
> How is this possible?

Something is running "ifconfig cxgbe|cxl|cc" on your system.  ifconfig
can figure out the name of the module from the name of the ifnet and
will kldload it if it isn't in the kernel already.

Regards,
Navdeep
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


CAMPANHA LIMPA NOME CLN (91362)

2016-12-06 Thread current

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: How to load kernel module automatic?

2016-12-06 Thread Hans Petter Selasky

On 12/06/16 13:52, Slawa Olhovchenkov wrote:

On Tue, Dec 06, 2016 at 12:50:40PM +0100, Hans Petter Selasky wrote:


On 12/06/16 12:47, Slawa Olhovchenkov wrote:

Now I am try to update fw in chelsio card.
Firmware can't be updated if card was running (interface go to UP).
I am try to unload if_cxgbe module, check module unloaded... and after
short time see module loaded again!
How is this possible?


Hi,

devd is likely re-loading the .ko for you.


What event is?
How devd guess module name for load?


Hi,

Usually the kernel generates a no-driver found event, and that triggers 
devd to reload the driver based on its configuration scripts. Warner 
Losh, has done some work to integrate PCI device hints in the linker 
hints. I'm not sure if his work has been committed yet.


Try to stop devd temporarily.

--HPS

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: How to load kernel module automatic?

2016-12-06 Thread Slawa Olhovchenkov
On Tue, Dec 06, 2016 at 12:50:40PM +0100, Hans Petter Selasky wrote:

> On 12/06/16 12:47, Slawa Olhovchenkov wrote:
> > Now I am try to update fw in chelsio card.
> > Firmware can't be updated if card was running (interface go to UP).
> > I am try to unload if_cxgbe module, check module unloaded... and after
> > short time see module loaded again!
> > How is this possible?
> 
> Hi,
> 
> devd is likely re-loading the .ko for you.

What event is?
How devd guess module name for load?
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Import rcorder-visualize.sh from NetBSD?

2016-12-06 Thread Volodymyr Kostyrko

Eric van Gyzen wrote:

Would anyone object to me importing this script from NetBSD?

http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sbin/rcorder/rcorder-visualize.sh?rev=1.5=text/plain

I ask in particular because of the non-BSD license.  This seems like a
no-brainer, but I'm going to play it safe and ask first.


I remember I wrote something similar for one pr.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200375

--
Sphinx of black quartz judge my vow.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: How to load kernel module automatic?

2016-12-06 Thread Hans Petter Selasky

On 12/06/16 12:47, Slawa Olhovchenkov wrote:

Now I am try to update fw in chelsio card.
Firmware can't be updated if card was running (interface go to UP).
I am try to unload if_cxgbe module, check module unloaded... and after
short time see module loaded again!
How is this possible?


Hi,

devd is likely re-loading the .ko for you.

--HPS

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


How to load kernel module automatic?

2016-12-06 Thread Slawa Olhovchenkov
Now I am try to update fw in chelsio card.
Firmware can't be updated if card was running (interface go to UP).
I am try to unload if_cxgbe module, check module unloaded... and after
short time see module loaded again!
How is this possible?
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Optimising generated rules for SAT solving (5/12 are duplicates)

2016-12-06 Thread Hans Petter Selasky

On 11/24/16 14:11, Vsevolod Stakhov wrote:


Then I don't understand how your patch should affect the solving
procedure. If pkg tries to reinstall something without *reason* it is a
good sign of bug in pkg itself and/or your database/repo and not in SAT
solver.

I'll try to review your issue but I'll likely need your local packages
database for this test.


Hi Vsevolod,

Did you have a chance to look at this?

--HPS
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"