Re: svn commit: r299109 - head/sys/modules/bhnd/bhndb

2016-05-05 Thread Ngie Cooper (yaneurabeya)

> On May 5, 2016, at 11:29, Adrian Chadd  wrote:
> 
> Yeah I'm looking at it now.

Already fixed in r299125.
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r299109 - head/sys/modules/bhnd/bhndb

2016-05-05 Thread Adrian Chadd
Yeah I'm looking at it now.



-adrian


On 5 May 2016 at 10:09, Niclas Zeising  wrote:
> On 2016-05-05 17:51, Adrian Chadd wrote:
>> I'll check. I've done full kernel builds with this though, I wonder
>> why it's not showing up here.
>>
>
> Hi!
> I'm bitten by the same issue and just developed the same fix
> independently of Ivan Klymenko.  However, at least for me, the issue
> only shows when doing a parallel build of the kernel, in my case make -j8.
> Regards!
> --
> Niclas
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r299109 - head/sys/modules/bhnd/bhndb

2016-05-05 Thread Niclas Zeising
On 2016-05-05 17:51, Adrian Chadd wrote:
> I'll check. I've done full kernel builds with this though, I wonder
> why it's not showing up here.
> 

Hi!
I'm bitten by the same issue and just developed the same fix
independently of Ivan Klymenko.  However, at least for me, the issue
only shows when doing a parallel build of the kernel, in my case make -j8.
Regards!
-- 
Niclas
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r299109 - head/sys/modules/bhnd/bhndb

2016-05-05 Thread Adrian Chadd
I'll check. I've done full kernel builds with this though, I wonder
why it's not showing up here.



-adrian


On 5 May 2016 at 02:58, Ivan Klymenko  wrote:
> On Thu, 5 May 2016 06:58:30 + (UTC)
> Adrian Chadd  wrote:
>
>> Author: adrian
>> Date: Thu May  5 06:58:30 2016
>> New Revision: 299109
>> URL: https://svnweb.freebsd.org/changeset/base/299109
>>
>> Log:
>>   [bhnd] add missing bus file.
>>
>> Modified:
>>   head/sys/modules/bhnd/bhndb/Makefile
>>
>> Modified: head/sys/modules/bhnd/bhndb/Makefile
>> ==
>> --- head/sys/modules/bhnd/bhndb/Makefile  Thu May  5 02:51:31
>> 2016  (r299108) +++ head/sys/modules/bhnd/bhndb/Makefile
>> Thu May  5 06:58:30 2016  (r299109) @@ -8,6 +8,6 @@
>> SRCS= bhndb.c bhndb_subr.c bhndb_hwdata. bhndb_if.c bhndb_if.h
>> \ bhnd_bus_if.h
>>
>> -SRCS+=   device_if.h bus_if.h
>> +SRCS+=   device_if.h bus_if.h pci_if.h
>>
>>  .include 
>> ___
>
> Hello.
>
> Should also ? /sys/modules/bhnd/bhndb_pci/Makefile
>
> --- Makefile.orig   2016-05-05 12:47:52.477048000 +0300
> +++ Makefile2016-05-05 12:44:36.370741000 +0300
> @@ -6,6 +6,6 @@
>  SRCS=  bhndb_pci.c bhndb_pci_hwdata.c
>  SRCS+= bhnd_bus_if.h bhndb_bus_if.h bhndb_if.h
>
> -SRCS+= device_if.h bus_if.h
> +SRCS+= device_if.h bus_if.h pci_if.h
>
>  .include 
>
> =
> ...
> --- if_bwi_pci.o ---
> /usr/local/libexec/ccache/world/cc -target x86_64-unknown-freebsd11.0 
> --sysroot=/media/da0s1/obj/usr/src/tmp -B/media/da0s1/obj/usr/src/tmp/usr/bin 
> -O2 -pipe -mmmx -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -mavx 
> -maes -mpclmul -march=native  -fno-strict-aliasing -Werror -D_KERNEL 
> -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
> /media/da0s1/obj/usr/src/sys/mk11/opt_global.h -I. -I/usr/src/sys -fno-common 
>  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
> -I/media/da0s1/obj/usr/src/sys/mk11  -MD  -MF.depend.if_bwi_pci.o 
> -MTif_bwi_pci.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  
> -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector 
> -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-er
 ro
>  r-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  
> -Wno-error-pointer-sign -Wno-error-shift-negative-value  -Ofast -fvectorize 
> -fslp-vectorize -fblocks -fcolor-diagnostics -mno-aes -mno-avx  
> -std=iso9899:1999 -c /usr/src/sys/modules/bwi/../../dev/bwi/if_bwi_pci.c -o 
> if_bwi_pci.o
> --- all_subdir_ata ---
> objcopy --strip-debug atajmicron.ko
> --- all_subdir_bhnd ---
> --- all_subdir_bhnd/bhndb_pci ---
> In file included from 
> /usr/src/sys/modules/bhnd/bhndb_pci/../../../dev/bhnd/bhndb/bhndb_pci_hwdata.c:46:
> /usr/src/sys/dev/pci/pcivar.h:271:10: fatal error: 'pci_if.h' file not found
> #include "pci_if.h"
>  ^
> --- all_subdir_ata ---
> --- all_subdir_ata/atapci/chipsets/atamarvell ---
> ===> ata/atapci/chipsets/atamarvell (all)
> --- all_subdir_bhnd ---
> 1 error generated.
> *** [bhndb_pci_hwdata.o] Error code 1
>
> make[5]: stopped in /usr/src/sys/modules/bhnd/bhndb_pci
> 1 error
>
> make[5]: stopped in /usr/src/sys/modules/bhnd/bhndb_pci
> *** [all_subdir_bhnd/bhndb_pci] Error code 2
>
> make[4]: stopped in /usr/src/sys/modules/bhnd
> --- all_subdir_ata ---
> A failure has been detected in another branch of the parallel make
>
> make[7]: stopped in /usr/src/sys/modules/ata/atapci/chipsets/atamarvell
> *** [all_subdir_ata/atapci/chipsets/atamarvell] Error code 2
>
> make[6]: stopped in /usr/src/sys/modules/ata/atapci/chipsets
> 1 error
>
> make[6]: stopped in /usr/src/sys/modules/ata/atapci/chipsets
> *** [all_subdir_ata/atapci/chipsets] Error code 2
>
> make[5]: stopped in /usr/src/sys/modules/ata/atapci
> 1 error
>
> make[5]: stopped in /usr/src/sys/modules/ata/atapci
> *** [all_subdir_ata/atapci] Error code 2
>
> make[4]: stopped in /usr/src/sys/modules/ata
> 1 error
>
> make[4]: stopped in /usr/src/sys/modules/ata
> *** [all_subdir_ata] Error code 2
>
> make[3]: stopped in /usr/src/sys/modules
> --- all_subdir_bhnd ---
> --- all_subdir_bhnd/bhndb ---
> A failure has been detected in another branch of the parallel make
>
> make[5]: stopped in /usr/src/sys/modules/bhnd/bhndb
> *** [all_subdir_bhnd/bhndb] Error code 2
>
> make[4]: stopped in /usr/src/sys/modules/bhnd
> 2 errors
>
> make[4]: stopped in /usr/src/sys/modules/bhnd
> *** [all_subdir_bhnd] Error code 2
>
> make[3]: stopped in /usr/src/sys/modules
> --- all_subdir_ath ---
> /usr/src/sys/modules/ath/../../dev/ath/ath_hal/ar5210/ar5210_reset.c:503:12: 
> warning: shifting a negative 

Re: svn commit: r299109 - head/sys/modules/bhnd/bhndb

2016-05-05 Thread Ivan Klymenko
On Thu, 5 May 2016 06:58:30 + (UTC)
Adrian Chadd  wrote:

> Author: adrian
> Date: Thu May  5 06:58:30 2016
> New Revision: 299109
> URL: https://svnweb.freebsd.org/changeset/base/299109
> 
> Log:
>   [bhnd] add missing bus file.
> 
> Modified:
>   head/sys/modules/bhnd/bhndb/Makefile
> 
> Modified: head/sys/modules/bhnd/bhndb/Makefile
> ==
> --- head/sys/modules/bhnd/bhndb/Makefile  Thu May  5 02:51:31
> 2016  (r299108) +++ head/sys/modules/bhnd/bhndb/Makefile
> Thu May  5 06:58:30 2016  (r299109) @@ -8,6 +8,6 @@
> SRCS= bhndb.c bhndb_subr.c bhndb_hwdata. bhndb_if.c bhndb_if.h
> \ bhnd_bus_if.h
>  
> -SRCS+=   device_if.h bus_if.h
> +SRCS+=   device_if.h bus_if.h pci_if.h
>  
>  .include 
> ___

Hello.

Should also ? /sys/modules/bhnd/bhndb_pci/Makefile

--- Makefile.orig   2016-05-05 12:47:52.477048000 +0300
+++ Makefile2016-05-05 12:44:36.370741000 +0300
@@ -6,6 +6,6 @@
 SRCS=  bhndb_pci.c bhndb_pci_hwdata.c
 SRCS+= bhnd_bus_if.h bhndb_bus_if.h bhndb_if.h

-SRCS+= device_if.h bus_if.h
+SRCS+= device_if.h bus_if.h pci_if.h

 .include 

=
...
--- if_bwi_pci.o ---
/usr/local/libexec/ccache/world/cc -target x86_64-unknown-freebsd11.0 
--sysroot=/media/da0s1/obj/usr/src/tmp -B/media/da0s1/obj/usr/src/tmp/usr/bin 
-O2 -pipe -mmmx -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -mavx 
-maes -mpclmul -march=native  -fno-strict-aliasing -Werror -D_KERNEL 
-DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include 
/media/da0s1/obj/usr/src/sys/mk11/opt_global.h -I. -I/usr/src/sys -fno-common  
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-I/media/da0s1/obj/usr/src/sys/mk11  -MD  -MF.depend.if_bwi_pci.o 
-MTif_bwi_pci.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -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-erro
 r-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  
-Wno-error-pointer-sign -Wno-error-shift-negative-value  -Ofast -fvectorize 
-fslp-vectorize -fblocks -fcolor-diagnostics -mno-aes -mno-avx  
-std=iso9899:1999 -c /usr/src/sys/modules/bwi/../../dev/bwi/if_bwi_pci.c -o 
if_bwi_pci.o
--- all_subdir_ata ---
objcopy --strip-debug atajmicron.ko
--- all_subdir_bhnd ---
--- all_subdir_bhnd/bhndb_pci ---
In file included from 
/usr/src/sys/modules/bhnd/bhndb_pci/../../../dev/bhnd/bhndb/bhndb_pci_hwdata.c:46:
/usr/src/sys/dev/pci/pcivar.h:271:10: fatal error: 'pci_if.h' file not found
#include "pci_if.h"
 ^
--- all_subdir_ata ---
--- all_subdir_ata/atapci/chipsets/atamarvell ---
===> ata/atapci/chipsets/atamarvell (all)
--- all_subdir_bhnd ---
1 error generated.
*** [bhndb_pci_hwdata.o] Error code 1

make[5]: stopped in /usr/src/sys/modules/bhnd/bhndb_pci
1 error

make[5]: stopped in /usr/src/sys/modules/bhnd/bhndb_pci
*** [all_subdir_bhnd/bhndb_pci] Error code 2

make[4]: stopped in /usr/src/sys/modules/bhnd
--- all_subdir_ata ---
A failure has been detected in another branch of the parallel make

make[7]: stopped in /usr/src/sys/modules/ata/atapci/chipsets/atamarvell
*** [all_subdir_ata/atapci/chipsets/atamarvell] Error code 2

make[6]: stopped in /usr/src/sys/modules/ata/atapci/chipsets
1 error

make[6]: stopped in /usr/src/sys/modules/ata/atapci/chipsets
*** [all_subdir_ata/atapci/chipsets] Error code 2

make[5]: stopped in /usr/src/sys/modules/ata/atapci
1 error

make[5]: stopped in /usr/src/sys/modules/ata/atapci
*** [all_subdir_ata/atapci] Error code 2

make[4]: stopped in /usr/src/sys/modules/ata
1 error

make[4]: stopped in /usr/src/sys/modules/ata
*** [all_subdir_ata] Error code 2

make[3]: stopped in /usr/src/sys/modules
--- all_subdir_bhnd ---
--- all_subdir_bhnd/bhndb ---
A failure has been detected in another branch of the parallel make

make[5]: stopped in /usr/src/sys/modules/bhnd/bhndb
*** [all_subdir_bhnd/bhndb] Error code 2

make[4]: stopped in /usr/src/sys/modules/bhnd
2 errors

make[4]: stopped in /usr/src/sys/modules/bhnd
*** [all_subdir_bhnd] Error code 2

make[3]: stopped in /usr/src/sys/modules
--- all_subdir_ath ---
/usr/src/sys/modules/ath/../../dev/ath/ath_hal/ar5210/ar5210_reset.c:503:12: 
warning: shifting a negative signed value is undefined [-Wshift-negative-value]
 ((-1 << FIRPWR_S) & FIRPWR_M));
   ~~ ^
/usr/src/sys/modules/ath/../../dev/ath/ah_osdep.h:137:68: note: expanded from 
macro 'OS_REG_WRITE'
#define OS_REG_WRITE(_ah, _reg, _val)   ath_hal_reg_write(_ah, _reg, _val)
   

svn commit: r299109 - head/sys/modules/bhnd/bhndb

2016-05-05 Thread Adrian Chadd
Author: adrian
Date: Thu May  5 06:58:30 2016
New Revision: 299109
URL: https://svnweb.freebsd.org/changeset/base/299109

Log:
  [bhnd] add missing bus file.

Modified:
  head/sys/modules/bhnd/bhndb/Makefile

Modified: head/sys/modules/bhnd/bhndb/Makefile
==
--- head/sys/modules/bhnd/bhndb/MakefileThu May  5 02:51:31 2016
(r299108)
+++ head/sys/modules/bhnd/bhndb/MakefileThu May  5 06:58:30 2016
(r299109)
@@ -8,6 +8,6 @@ SRCS=   bhndb.c bhndb_subr.c bhndb_hwdata.
bhndb_if.c bhndb_if.h \
bhnd_bus_if.h
 
-SRCS+= device_if.h bus_if.h
+SRCS+= device_if.h bus_if.h pci_if.h
 
 .include 
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"