Re: r292688: ix_txrx.c:812:4: error: use of undeclared identifier 'ip6';

2015-12-24 Thread O. Hartmann
Am Thu, 24 Dec 2015 08:34:49 -0800
Sean Bruno  schrieb:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA512
> 
> 
> 
> On 12/24/15 04:03, O. Hartmann wrote:
> > Building kernel on r292688 fails with the error shown below:
> > 
> > [...] cc  -O2 -pipe -O3 -O3 -pipe -march=native
> > -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc
> > -DHAVE_KERNEL_OPTION_HEADERS -include
> > /usr/obj/usr/src/sys/GATE/opt_global.h -I. -I/usr/src/sys
> > -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> > -I/usr/obj/usr/src/sys/GATE -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-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/isci/../../dev/isci/scil/scif_sas_smp_remote_device.c
> > -o scif_sas_smp_remote_device.o --- all_subdir_iwnfw --- ---
> > iwn5150fw.ko --- ld -d -warn-common -r -d -o iwn5150fw.ko
> > iwlwifi-5150-8.24.2.2.fw.fwo iwn5150fw.o :> export_syms awk -f
> > /usr/src/sys/conf/kmod_syms.awk iwn5150fw.ko  export_syms | xargs
> > -J% objcopy % iwn5150fw.ko --- all_subdir_ix --- --- ix_txrx.o ---
> > /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:4: error: use
> > of undeclared identifier 'ip6'; did you mean 'ip'? ip6 = (struct
> > ip6_hdr *)(l3d); ^~~ ip
> > /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:730:13: note:
> > 'ip' declared here struct ip *ip; ^
> > /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:8: error: 
> > incompatible pointer types assigning to 'struct ip *' from 'struct
> > ip6_hdr *' [-Werror,-Wincompatible-pointer-types] ip6 = (struct
> > ip6_hdr *)(l3d); ^ ~~~
> > /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:814:14: error: 
> > use of undeclared identifier 'ip6' ipproto = ip6->ip6_nxt; ^ ---
> > all_subdir_isci ---
> >   
> 
> 
> Is this just GENERIC? Or custom kernconf?
> 
> sean
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2
> 
> iQF8BAEBCgBmBQJWfB6lXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
> ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
> MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5k6PoH/1klrjNtBwY3ZtF8VOCxxlMi
> GgLEma2tdOj4juSxtwLv5IYlbvUN+5KjBrqixBxI3EewrgD4FwG8caXpRcczpnwS
> LPQbk341u1QGiDfjQ2BddOd3tgVj1IIJwivMNZjmyhajD203TGQ1Fjx+UeT2QrzX
> vsLtre5T9aS5pCgWaD9KHIZ8hfsxvp1DakAGF1AKRfHl5AEENQPvgv6o+jLmGTxv
> jx5TeKtdKd65eEwWLmeTvD4XwRYJSSZQPZxrDeF5YCpf6Qunsi4FAIuHQ1sIXLqi
> KT5KNnvayz4TdFGEdBjl077gUwP31GBzGE9R7DuDD/MDeZNhUZSGMaq6P8FcdWA=
> =Lazt
> -END PGP SIGNATURE-
> ___
> 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"

a custom kernel, excluded is INET6 - as you stated.

After the patch the error went away. 

Thank you very much.

oh


pgpQl3RgejyIM.pgp
Description: OpenPGP digital signature


Re: This igb change makes my igb not working anymore - Re: regression in igb/clang?

2015-12-24 Thread Sean Bruno


Please create/update/point-me-at a bugzilla issue with all this information.

sean

On 12/22/15 08:37, Alan Somers wrote:
> I'm experiencing the same problem, and I can confirm that Alexander's
> workaround fixes it.  Here is some more information:
> 
> * I see the exact same problem on two different systems, both with
> S5520HC motherboards.
> * Both systems have two igb ports, and igb1 works on both.  Only igb0 is 
> broken.
> * Disabling tso, lro, rxcsum, and txcsum has no effect.
> * tcpdump reveals that igb0 transmits successfully, but fails to receive
> * Curiously, "netstat -I igb0" shows nonzero values for Ipkts, even
> though "tcpdump  -i igb0" shows no inbound packets at all.
> * I can't really tell if IPv4 or IPv6 are working, because even ARP
> doesn't work.
> * SVN revisions 291495 and 292570 are both bad.  I don't know any
> recent good revision.
> 
> -Alan
> 
> On Thu, Nov 19, 2015 at 11:21 PM, Alexander Leidinger
>  wrote:
>> Dual stack.
>> Ping was on ipv4, no answer. Without the line I get the answer.
>> I have not tried a ping6.
>> --
>> Send from a mobile device, please forgive brevity and misspelling.
>>
>>
>> Gesendet mit AquaMail für Android
>> http://www.aqua-mail.com
>>
>>
>> Am 20. November 2015 02:07:11 schrieb Eric Joyner :
>>
>>> Are you using IPv6?
>>>
>>> On Thu, Nov 19, 2015 at 12:42 PM Alexander Leidinger <
>>> alexan...@leidinger.net> wrote:
>>>
 On Wed, 11 Nov 2015 11:45:32 +0100
 Alexander Leidinger  wrote:

> Hi,
>
> I' updated a system with -current as of r287323 (end August) to
> r290633 (yesterday).
>
> Result: no network connection (not even ping) on igb.
> Ping internally (local addresses) works, anything outgoing/incoming
> doesn't.

 And this is the function which causes it:
 e1000_rx_fifo_flush_82575(>hw);

 If I comment it out in if_igb.c, the network card works again.

 Full quote below for the PCI ID of my card in case it helps for fixing
 the issue.

 Bye,
 Alexander.

> I disabled HW support (tso4, lro, rxcsum, txcsum): doesn't help.
>
> Did I miss some known defect/workaround?
>
> Anything I should test/provide besides what is below?
>
> The igb device is a:
> ---snip---
> igb0@pci0:1:0:0: class=0x02 card=0x34e28086 chip=0x10a78086
> rev=0x02 hdr=0x00 ---snip---
>
> My src.conf:
> ---snip---
> WITH_IDEA=yes
> WITHOUT_PROFILE=yes
> CFLAGS+=-DFTP_COMBINE_CWDS
> MALLOC_PRODUCTION=yes
> LOADER_FIREWIRE_SUPPORT=yes
> #WITH_FAST_DEPEND=yes
> ---snip---
>
> My buildworld related config in make.conf:
> ---snip---
> CFLAGS+= -O2 -pipe
> COPTFLAGS= -O2 -pipe
> #CPUTYPE?=core2
> #WITH_CCACHE_BUILD=yes
> #.if (!empty(.CURDIR:M/usr/src*)
> || !empty(.CURDIR:M/usr/obj*)|| !empty(.CURDIR:M/space/system/usr_obj*))
> #.if !defined(NOCCACHE) && exists(/usr/local/libexec/ccache/world/cc)
> #CC:=${CC:C,^cc,/usr/local/libexec/ccache/world/cc,1}
> #CXX:=${CXX:C,^c\+\+,/usr/local/libexec/ccache/world/c++,1} #.endif
> #.endif
> ---snip---
>
> The commented out parts were active initially, but then I commented
> them out, cleaned out /usr/obj (rm -r) and rebuild/reinstall to make
> sure it's not due to them (CPUTYPE commented out due to the fact that
> there's a new compiler, and I use zsh and there was a commit talking
> about zsh and CPUTYPE workaround).
>
> Bye,
> Alexander.
>


 --
 http://www.Leidinger.net alexan...@leidinger.net: PGP 0xC773696B3BAC17DC
 http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0xC773696B3BAC17DC
 ___
 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"

>>
>>
>> ___
>> 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"
> 
___
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: Need help with New Build -- Skylake

2015-12-24 Thread Chris H
On Thu, 24 Dec 2015 13:28:51 +0530 Vijay Rajah  wrote

> On 12/24/15 12:22 PM, Ian Smith wrote:
> >   ~2 minutes delay there.  sendmail (mta and msp both) at least
> > are unhappy about your hostname, and sleep on it.  I don't know whether
> > that's significant or related to the longer delay you report.  I just
> > skimmed through your dmesg, but didn't spot anything glaringly obvious.
> >
> > FWIW, cheers, Ian
> Ian,
> 
> Thanks for taking the time to help me.
> 
> The delay is (mostly) before the boot loader menu is presented. Once the 
> system starts to boot.. It is pretty fast...
> 
> When the system boots, after the BIOS hands over the control to the OS.. 
> there are 6-7 lines, which give boot loader version etc.. (the last of 
> this gives the details of the build host etc..)
> 
> Then there is a spinning wheel, an the system just sits there for some 
> time.. (even the wheel spins slowly). after 3-4 mins I see it loads the 
> /boot/default/loader.conf . After this the menu is loaded..

Is it something in the BIOS itself? That is; is it not possible you
have some setting in it there that isn't quite correct, or is less
than ideal? What kind of disk activity do you see while the "wheel"
is spinning. Is there very little activity? The reason I say all this,
is because you indicate that once control is passed to the OS, all
is normal. This is a good indication your BIOS settings are
[at least] less than ideal.
> 
> so, the issue is long before this dmesg even begins... Unfortunately, I 
> do not know how to force a verbose boot before the boot menu...

loader.conf(5)
verbose_loading="YES"
boot_verbose="YES"

are the only ones I'm aware of.

HTH

--Chris
> 
> -Thanks
> Vijay
>


___
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: Need help with New Build -- Skylake

2015-12-24 Thread Konstantin Belousov
On Thu, Dec 24, 2015 at 08:29:20AM -0700, Ian Lepore wrote:
> We had exactly this symptom -- long delay with spincursor before
> loading the kernel -- on arm systems when we first enabled forth in
> loader.  The problem turned out to be the fact that loader was running
> with instruction and data caches disabled, and it took about 90-100
> seconds to parse the 547 lines of text (almost all useless) in
> /boot/defaults/loader.conf.  We stripped that file down to the dozen or
> so lines that actually needed to be there and booting became much
> faster.  Eventually we got the caches enabled in the prior-stage
> bootloader and it became really fast.

It is highly unlikely that caches are the source of the slowness. On
x86, we rely on the firmware (BIOS or EFI) to properly configure both
DRAM controllers and caches. More, Intel considers the corresponding
controllers configuration recipes as highly secret and, even for BIOS
vendors, Intel provides the binary blob of code which does the config
magic, instead of the documentation.

That said, loader runs in the unpaged protected mode but reflects BIOS
calls into the real mode. Quite possible, either the real mode is
slow on SkyLakes, or even more possible, the switch between real and
protected mode is slow, or the protected mode without paging enabled is
slow. Or might be the PCH lacks the ISA timer.

A developer needs the real machine to diagnose the cause.
___
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: r292688: ix_txrx.c:812:4: error: use of undeclared identifier 'ip6';

2015-12-24 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512



On 12/24/15 04:03, O. Hartmann wrote:
> Building kernel on r292688 fails with the error shown below:
> 

This appears to be breakage due to missing "options INET6" in the
kernconf being used.

I've repaired this at svn revision 292697.

> [...] cc  -O2 -pipe -O3 -O3 -pipe -march=native
> -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc
> -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/obj/usr/src/sys/GATE/opt_global.h -I. -I/usr/src/sys
> -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> -I/usr/obj/usr/src/sys/GATE -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-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/isci/../../dev/isci/scil/scif_sas_smp_remote_device.c
> -o scif_sas_smp_remote_device.o --- all_subdir_iwnfw --- ---
> iwn5150fw.ko --- ld -d -warn-common -r -d -o iwn5150fw.ko
> iwlwifi-5150-8.24.2.2.fw.fwo iwn5150fw.o :> export_syms awk -f
> /usr/src/sys/conf/kmod_syms.awk iwn5150fw.ko  export_syms | xargs
> -J% objcopy % iwn5150fw.ko --- all_subdir_ix --- --- ix_txrx.o ---
> /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:4: error: use
> of undeclared identifier 'ip6'; did you mean 'ip'? ip6 = (struct
> ip6_hdr *)(l3d); ^~~ ip
> /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:730:13: note:
> 'ip' declared here struct ip *ip; ^
> /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:8: error: 
> incompatible pointer types assigning to 'struct ip *' from 'struct
> ip6_hdr *' [-Werror,-Wincompatible-pointer-types] ip6 = (struct
> ip6_hdr *)(l3d); ^ ~~~
> /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:814:14: error: 
> use of undeclared identifier 'ip6' ipproto = ip6->ip6_nxt; ^ ---
> all_subdir_isci ---
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQF8BAEBCgBmBQJWfCafXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kNm8H/R4b7V2zo7bzDVtFUcA7zSd3
s3luJzaIL19Bw/DMRwiCwiaOn15k0OwloPAYnHZGHWD+c0vCc/F4RxyRdt6MEJfu
rCoSIfVo9HJBsWTuMvHteGv95WiJ6rXyDgHgLpLolmmcxxLEWmmiImYZryqFGCwk
pW15Y28ycdDGfJ7Qd6uMfatKotqC9ZP/Jw7N921/eODWt6qkhBLhJ3Yc9OaCNGow
onaxjzSJfIEtyzdkjvU+yPMu0r189IbjJIG+H5x4ZrU+z6j1/+goOVaSt/xYQDVU
KsPdTCFhogZWcNs9PCbTYWGJZbbKL5mnj1PeVe2LpA1zuNTobd3Mr9QVPSoEkus=
=fGmv
-END PGP SIGNATURE-
___
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: forwarding didn't work if wlan0 is member of a bridge

2015-12-24 Thread Ben Woods
On Wednesday, 23 December 2015, Adrian Chadd  wrote:

> Hi,
>
> inet 10.239.142.126 netmask 0xffe0 broadcast 10.239.142.127
>
> This looks like a problem with your addressing. That netmask != that
> broadcast.
>
> Please recheck your networking setup!
>
>
> -a
>

That broadcast looks correct for me for a bet mask of 0xffe0 (/27).

http://jodies.de/ipcalc?host=10.239.142.126=27=

Regards,
Ben


-- 

--
From: Benjamin Woods
woods...@gmail.com
___
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: r292688: ix_txrx.c:812:4: error: use of undeclared identifier 'ip6';

2015-12-24 Thread Garrett Cooper

> On Dec 24, 2015, at 04:03, O. Hartmann  wrote:
> 
> Building kernel on r292688 fails with the error shown below:
> 
> [...]
> cc  -O2 -pipe -O3 -O3 -pipe -march=native  -fno-strict-aliasing -Werror 
> -D_KERNEL
> -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS
> -include /usr/obj/usr/src/sys/GATE/opt_global.h -I. -I/usr/src/sys -fno-common
> -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
> -I/usr/obj/usr/src/sys/GATE
> -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-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/isci/../../dev/isci/scil/scif_sas_smp_remote_device.c 
> -o
> scif_sas_smp_remote_device.o --- all_subdir_iwnfw --- --- iwn5150fw.ko --- ld 
> -d
> -warn-common -r -d -o iwn5150fw.ko iwlwifi-5150-8.24.2.2.fw.fwo iwn5150fw.o :>
> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk iwn5150fw.ko  export_syms 
> | xargs -J%
> objcopy % iwn5150fw.ko --- all_subdir_ix --- --- ix_txrx.o
> --- /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:4: error: use of 
> undeclared
> identifier 'ip6'; did you mean 'ip'? ip6 = (struct ip6_hdr *)(l3d); ^~~
> ip /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:730:13: note: 'ip' 
> declared here
> struct ip *ip; ^ /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:8: 
> error:
> incompatible pointer types assigning to 'struct ip *' from 'struct ip6_hdr
> *' [-Werror,-Wincompatible-pointer-types] ip6 = (struct ip6_hdr *)(l3d); ^
> ~~~ 
> /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:814:14: error:
> use of undeclared identifier 'ip6' ipproto = ip6->ip6_nxt; ^ --- 
> all_subdir_isci ---

Hi!
I've CCed erj/sbruno..
Thanks!
-NGie
___
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: r292688: ix_txrx.c:812:4: error: use of undeclared identifier 'ip6';

2015-12-24 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512



On 12/24/15 04:03, O. Hartmann wrote:
> Building kernel on r292688 fails with the error shown below:
> 
> [...] cc  -O2 -pipe -O3 -O3 -pipe -march=native
> -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc
> -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/obj/usr/src/sys/GATE/opt_global.h -I. -I/usr/src/sys
> -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> -I/usr/obj/usr/src/sys/GATE -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-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/isci/../../dev/isci/scil/scif_sas_smp_remote_device.c
> -o scif_sas_smp_remote_device.o --- all_subdir_iwnfw --- ---
> iwn5150fw.ko --- ld -d -warn-common -r -d -o iwn5150fw.ko
> iwlwifi-5150-8.24.2.2.fw.fwo iwn5150fw.o :> export_syms awk -f
> /usr/src/sys/conf/kmod_syms.awk iwn5150fw.ko  export_syms | xargs
> -J% objcopy % iwn5150fw.ko --- all_subdir_ix --- --- ix_txrx.o ---
> /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:4: error: use
> of undeclared identifier 'ip6'; did you mean 'ip'? ip6 = (struct
> ip6_hdr *)(l3d); ^~~ ip
> /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:730:13: note:
> 'ip' declared here struct ip *ip; ^
> /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:8: error: 
> incompatible pointer types assigning to 'struct ip *' from 'struct
> ip6_hdr *' [-Werror,-Wincompatible-pointer-types] ip6 = (struct
> ip6_hdr *)(l3d); ^ ~~~
> /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:814:14: error: 
> use of undeclared identifier 'ip6' ipproto = ip6->ip6_nxt; ^ ---
> all_subdir_isci ---
> 


Is this just GENERIC? Or custom kernconf?

sean
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQF8BAEBCgBmBQJWfB6lXxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5k6PoH/1klrjNtBwY3ZtF8VOCxxlMi
GgLEma2tdOj4juSxtwLv5IYlbvUN+5KjBrqixBxI3EewrgD4FwG8caXpRcczpnwS
LPQbk341u1QGiDfjQ2BddOd3tgVj1IIJwivMNZjmyhajD203TGQ1Fjx+UeT2QrzX
vsLtre5T9aS5pCgWaD9KHIZ8hfsxvp1DakAGF1AKRfHl5AEENQPvgv6o+jLmGTxv
jx5TeKtdKd65eEwWLmeTvD4XwRYJSSZQPZxrDeF5YCpf6Qunsi4FAIuHQ1sIXLqi
KT5KNnvayz4TdFGEdBjl077gUwP31GBzGE9R7DuDD/MDeZNhUZSGMaq6P8FcdWA=
=Lazt
-END PGP SIGNATURE-
___
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: Need help with New Build -- Skylake

2015-12-24 Thread Oliver Pinter
On 12/24/15, Vijay Rajah  wrote:
>
>
> On 12/24/15 12:22 PM, Ian Smith wrote:
>>   ~2 minutes delay there.  sendmail (mta and msp both) at least
>> are unhappy about your hostname, and sleep on it.  I don't know whether
>> that's significant or related to the longer delay you report.  I just
>> skimmed through your dmesg, but didn't spot anything glaringly obvious.
>>
>> FWIW, cheers, Ian
> Ian,
>
> Thanks for taking the time to help me.
>
> The delay is (mostly) before the boot loader menu is presented. Once the
> system starts to boot.. It is pretty fast...
>
> When the system boots, after the BIOS hands over the control to the OS..
> there are 6-7 lines, which give boot loader version etc.. (the last of
> this gives the details of the build host etc..)
>
> Then there is a spinning wheel, an the system just sits there for some
> time.. (even the wheel spins slowly). after 3-4 mins I see it loads the
> /boot/default/loader.conf . After this the menu is loaded..

Confirmed this issue, seems like the forth parser or something forth
related code in slow.
Loading the modules takes ~30 sec, and the kernel takes once more 30 sec.

This is a Gigabyte GA-H170N-WIFI board. I can test some change after Christmas.

>
> so, the issue is long before this dmesg even begins... Unfortunately, I
> do not know how to force a verbose boot before the boot menu...
>
> -Thanks
> Vijay
>
> ___
> 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"
>
___
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"


r292688: ix_txrx.c:812:4: error: use of undeclared identifier 'ip6';

2015-12-24 Thread O. Hartmann
Building kernel on r292688 fails with the error shown below:

[...]
cc  -O2 -pipe -O3 -O3 -pipe -march=native  -fno-strict-aliasing -Werror 
-D_KERNEL
-DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS
-include /usr/obj/usr/src/sys/GATE/opt_global.h -I. -I/usr/src/sys -fno-common
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/obj/usr/src/sys/GATE
-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-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/isci/../../dev/isci/scil/scif_sas_smp_remote_device.c -o
scif_sas_smp_remote_device.o --- all_subdir_iwnfw --- --- iwn5150fw.ko --- ld -d
-warn-common -r -d -o iwn5150fw.ko iwlwifi-5150-8.24.2.2.fw.fwo iwn5150fw.o :>
export_syms awk -f /usr/src/sys/conf/kmod_syms.awk iwn5150fw.ko  export_syms | 
xargs -J%
objcopy % iwn5150fw.ko --- all_subdir_ix --- --- ix_txrx.o
--- /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:4: error: use of 
undeclared
identifier 'ip6'; did you mean 'ip'? ip6 = (struct ip6_hdr *)(l3d); ^~~
ip /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:730:13: note: 'ip' 
declared here
struct ip *ip; ^ /usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:812:8: error:
incompatible pointer types assigning to 'struct ip *' from 'struct ip6_hdr
*' [-Werror,-Wincompatible-pointer-types] ip6 = (struct ip6_hdr *)(l3d); ^
~~~ 
/usr/src/sys/modules/ix/../../dev/ixgbe/ix_txrx.c:814:14: error:
use of undeclared identifier 'ip6' ipproto = ip6->ip6_nxt; ^ --- 
all_subdir_isci ---


pgpQ9cbAxLE9N.pgp
Description: OpenPGP digital signature


Re: Need help with New Build -- Skylake

2015-12-24 Thread Vijay Rajah



On 12/24/15 5:18 PM, Oliver Pinter wrote:

On 12/24/15, Vijay Rajah  wrote:


On 12/24/15 12:22 PM, Ian Smith wrote:

   ~2 minutes delay there.  sendmail (mta and msp both) at least
are unhappy about your hostname, and sleep on it.  I don't know whether
that's significant or related to the longer delay you report.  I just
skimmed through your dmesg, but didn't spot anything glaringly obvious.

FWIW, cheers, Ian

Ian,

Thanks for taking the time to help me.

The delay is (mostly) before the boot loader menu is presented. Once the
system starts to boot.. It is pretty fast...

When the system boots, after the BIOS hands over the control to the OS..
there are 6-7 lines, which give boot loader version etc.. (the last of
this gives the details of the build host etc..)

Then there is a spinning wheel, an the system just sits there for some
time.. (even the wheel spins slowly). after 3-4 mins I see it loads the
/boot/default/loader.conf . After this the menu is loaded..

Confirmed this issue, seems like the forth parser or something forth
related code in slow.
Loading the modules takes ~30 sec, and the kernel takes once more 30 sec.

This is a Gigabyte GA-H170N-WIFI board. I can test some change after Christmas.

Oliver,

Thanks for Confirmation... and let me know once you have a 
solution/patch. I would be happy to test it.


I'm still learning FreeBSD.. Hence I wasn't sure what was the cause...

Currently I'm using the setup to test a few Linux distros.. But I will 
return to FreeBSD shortly.


-Thanks & Merry Christmas
Vijay

so, the issue is long before this dmesg even begins... Unfortunately, I
do not know how to force a verbose boot before the boot menu...

-Thanks
Vijay

___
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"


___
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"


___
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: Need help with New Build -- Skylake

2015-12-24 Thread Ian Lepore
On Thu, 2015-12-24 at 12:48 +0100, Oliver Pinter wrote:
> On 12/24/15, Vijay Rajah  wrote:
> > 
> > 
> > On 12/24/15 12:22 PM, Ian Smith wrote:
> > >   ~2 minutes delay there.  sendmail (mta and msp both) at least
> > > are unhappy about your hostname, and sleep on it.  I don't know
> > > whether
> > > that's significant or related to the longer delay you report.  I
> > > just
> > > skimmed through your dmesg, but didn't spot anything glaringly
> > > obvious.
> > > 
> > > FWIW, cheers, Ian
> > Ian,
> > 
> > Thanks for taking the time to help me.
> > 
> > The delay is (mostly) before the boot loader menu is presented.
> > Once the
> > system starts to boot.. It is pretty fast...
> > 
> > When the system boots, after the BIOS hands over the control to the
> > OS..
> > there are 6-7 lines, which give boot loader version etc.. (the last
> > of
> > this gives the details of the build host etc..)
> > 
> > Then there is a spinning wheel, an the system just sits there for
> > some
> > time.. (even the wheel spins slowly). after 3-4 mins I see it loads
> > the
> > /boot/default/loader.conf . After this the menu is loaded..
> 
> Confirmed this issue, seems like the forth parser or something forth
> related code in slow.
> Loading the modules takes ~30 sec, and the kernel takes once more 30
> sec.
> 
> This is a Gigabyte GA-H170N-WIFI board. I can test some change after
> Christmas.
> 
> > 
> > so, the issue is long before this dmesg even begins...
> > Unfortunately, I
> > do not know how to force a verbose boot before the boot menu...
> > 
> > -Thanks
> > Vijay

We had exactly this symptom -- long delay with spincursor before
loading the kernel -- on arm systems when we first enabled forth in
loader.  The problem turned out to be the fact that loader was running
with instruction and data caches disabled, and it took about 90-100
seconds to parse the 547 lines of text (almost all useless) in
/boot/defaults/loader.conf.  We stripped that file down to the dozen or
so lines that actually needed to be there and booting became much
faster.  Eventually we got the caches enabled in the prior-stage
bootloader and it became really fast.

-- Ian
___
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"