Problems with netbsd-8 RC1 and ixg drivers (?)
Hello, At the weekend I tried to update to a current version of netbsd-8 rc1. After the restart, the kernel will work for a few hours. After that, no packets will arrive at the network card. The server is running normally. No hints in dmesg. Some network programs report issues: zebra[371]: rtm_write: write : No buffer space available (55) syslogd[541]: recvfrom() unix `/var/run/log': No buffer space available gate zebra[1423]: routing socket error: No buffer space available Hardware is an HP G5 with an Intel PRO/10GbE NIC. After the downgrade to the old kernel from Fri Feb 16, everything is stable again. Any ideas what the problem could be? Can I test any things to narrow down the problem? Thank you for your efforts Regards Uwe
Re: Problems with netbsd-8 RC1 and ixg drivers (?)
On Mon, May 28, 2018 at 09:46:21AM +0200, 6b...@6bone.informatik.uni-leipzig.de wrote: > Hello, > > At the weekend I tried to update to a current version of netbsd-8 rc1. > > After the restart, the kernel will work for a few hours. After that, no > packets will arrive at the network card. The server is running normally. No > hints in dmesg. > > Some network programs report issues: > > zebra[371]: rtm_write: write : No buffer space available (55) > > syslogd[541]: recvfrom() unix `/var/run/log': No buffer space available > > gate zebra[1423]: routing socket error: No buffer space available You are seeing two different issues here. The "No buffer space" is considered harmless (it used to be silent, but the lossage should be the same). The ixg(4) stops receiving packets is under investigation, RC2 is waiting for a proposed patch being tested. Martin
ixg tester needed (was Re: Problems with netbsd-8 RC1 and ixg drivers (?))
On 2018/05/28 16:51, Martin Husemann wrote: On Mon, May 28, 2018 at 09:46:21AM +0200, 6b...@6bone.informatik.uni-leipzig.de wrote: Hello, At the weekend I tried to update to a current version of netbsd-8 rc1. After the restart, the kernel will work for a few hours. After that, no packets will arrive at the network card. Please try the following patch who are using ixg(4) on netbsd-8 or -current: http://www.netbsd.org/~msaitoh/ixgbe-eitr-20180522-0.dif This change might fix RX stall problem. If you got TX device timeout or RX stall, please report with the output of: sysctl hw |grep ixg Regards. The server is running normally. No hints in dmesg. Some network programs report issues: zebra[371]: rtm_write: write : No buffer space available (55) syslogd[541]: recvfrom() unix `/var/run/log': No buffer space available gate zebra[1423]: routing socket error: No buffer space available You are seeing two different issues here. The "No buffer space" is considered harmless (it used to be silent, but the lossage should be the same). The ixg(4) stops receiving packets is under investigation, RC2 is waiting for a proposed patch being tested. Martin -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)
Automated report: NetBSD-current/i386 build failure
This is an automatically generated notice of a NetBSD-current/i386 build failure. The failure occurred on babylon5.netbsd.org, a NetBSD/amd64 host, using sources from CVS date 2018.05.28.21.05.16. An extract from the build.sh output follows: mv -f libunbound.so.6.2.tmp libunbound.so.6.2 ln -sf libunbound.so.6.2 libunbound.so.6.tmp mv -f libunbound.so.6.tmp libunbound.so.6 ln -sf libunbound.so.6.2 libunbound.so.tmp mv -f libunbound.so.tmp libunbound.so --- dependall --- dependall ===> lib/../external/cddl/osnet/lib/libdtrace --- dt_errtags.c --- --- dt_names.c --- --- dt_errtags.c --- sh /tmp/bracket/build/2018.05.28.21.05.16-i386/src/external/cddl/osnet/dist/lib/libdtrace/common/mkerrtags.sh < /tmp/bracket/build/2018.05.28.21.05.16-i386/src/external/cddl/osnet/dist/lib/libdtrace/common/dt_errtags.h > dt_errtags.c --- dt_names.c --- sh /tmp/bracket/build/2018.05.28.21.05.16-i386/src/external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh < /tmp/bracket/build/2018.05.28.21.05.16-i386/src/external/cddl/osnet/dist/uts/common/sys/dtrace.h > dt_names.c nawk: not found --- dt_grammar.c --- --- dt_lex.c --- nbmake[6]: nbmake[6]: don't know how to make dis_tables.c. Stop nbmake[6]: stopped in /tmp/bracket/build/2018.05.28.21.05.16-i386/src/external/cddl/osnet/lib/libdtrace *** Failed target: dependall-../external/cddl/osnet/lib/libdtrace *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/"; real="/tmp/bracket/build/2018.05.28.21.05.16-i386/src/lib" ;; *) this="lib/${dir}/"; real="/tmp/bracket/build/2018.05.28.21.05.16-i386/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /tmp/bracket/build/2018.05.28.21.05.16-i386/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget ../external/cddl/osnet/lib/libdtrace dependall *** Error code 2 Stop. nbmake[5]: stopped in /tmp/bracket/build/2018.05.28.21.05.16-i386/src/lib Between the last successful build and the failed build, a total of 554 revisions were committed, by the following developers: chs maxv Log files can be found at: http://releng.NetBSD.org/b5reports/i386/commits-2018.05.html#2018.05.28.21.05.16
Automated report: NetBSD-current/i386 build success
The NetBSD-current/i386 build is working again. The following commits were made between the last failed build and the successful build: 2018.05.28.23.47.39 chs src/external/cddl/osnet/dev/dtrace/x86/dis_tables.c,v 1.1 2018.05.28.23.47.39 chs src/external/cddl/osnet/dev/dtrace/x86/dis_tables.h,v 1.1 2018.05.28.23.47.39 chs src/external/cddl/osnet/dev/dtrace/x86/instr_size.c,v 1.1 2018.05.28.23.47.39 chs src/external/cddl/osnet/dev/dtrace/x86/regset.h,v 1.1 2018.05.28.23.47.39 chs src/external/cddl/osnet/dev/fbt/arm/fbt_isa.c,v 1.1 2018.05.28.23.47.39 chs src/external/cddl/osnet/dev/fbt/arm/fbt_isa.h,v 1.1 2018.05.28.23.47.39 chs src/external/cddl/osnet/dev/fbt/x86/fbt_isa.c,v 1.1 2018.05.28.23.47.40 chs src/external/cddl/osnet/dev/fbt/x86/fbt_isa.h,v 1.1 2018.05.28.23.47.40 chs src/external/cddl/osnet/lib/libzfs_core/Makefile,v 1.1 2018.05.28.23.47.40 chs src/external/cddl/osnet/lib/libzfs_core/shlib_version,v 1.1 2018.05.29.01.09.49 kre src/external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh,v 1.8 Log files can be found at: http://releng.NetBSD.org/b5reports/i386/commits-2018.05.html#2018.05.29.01.09.49
Re: ixg tester needed (was Re: Problems with netbsd-8 RC1 and ixg drivers (?))
Hello, I have tested the the patch with netbsd-8. The problem is not solved. Regards Uwe On Mon, 28 May 2018, Masanobu SAITOH wrote: Date: Mon, 28 May 2018 17:10:02 +0900 From: Masanobu SAITOH To: Martin Husemann , 6b...@6bone.informatik.uni-leipzig.de, current-users@netbsd.org Cc: msai...@execsw.org Subject: ixg tester needed (was Re: Problems with netbsd-8 RC1 and ixg drivers (?)) On 2018/05/28 16:51, Martin Husemann wrote: On Mon, May 28, 2018 at 09:46:21AM +0200, 6b...@6bone.informatik.uni-leipzig.de wrote: Hello, At the weekend I tried to update to a current version of netbsd-8 rc1. After the restart, the kernel will work for a few hours. After that, no packets will arrive at the network card. Please try the following patch who are using ixg(4) on netbsd-8 or -current: http://www.netbsd.org/~msaitoh/ixgbe-eitr-20180522-0.dif This change might fix RX stall problem. If you got TX device timeout or RX stall, please report with the output of: sysctl hw |grep ixg Regards. The server is running normally. No hints in dmesg. Some network programs report issues: zebra[371]: rtm_write: write : No buffer space available (55) syslogd[541]: recvfrom() unix `/var/run/log': No buffer space available gate zebra[1423]: routing socket error: No buffer space available You are seeing two different issues here. The "No buffer space" is considered harmless (it used to be silent, but the lossage should be the same). The ixg(4) stops receiving packets is under investigation, RC2 is waiting for a proposed patch being tested. Martin -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)
Re: ixg tester needed (was Re: Problems with netbsd-8 RC1 and ixg drivers (?))
Hello, Uew. On 2018/05/29 14:59, 6b...@6bone.informatik.uni-leipzig.de wrote: Hello, I have tested the the patch with netbsd-8. The problem is not solved. Thanks. It seems that the occurrence of this problem is depend on the hardware configuration. I've never seen this problem on some machines. Today, I could set up a system that this RX stall problem occurs quickly (in a few minutes). I don't know if I can fix this problem soon. Thanks. Regards Uwe On Mon, 28 May 2018, Masanobu SAITOH wrote: Date: Mon, 28 May 2018 17:10:02 +0900 From: Masanobu SAITOH To: Martin Husemann , 6b...@6bone.informatik.uni-leipzig.de, current-users@netbsd.org Cc: msai...@execsw.org Subject: ixg tester needed (was Re: Problems with netbsd-8 RC1 and ixg drivers (?)) On 2018/05/28 16:51, Martin Husemann wrote: On Mon, May 28, 2018 at 09:46:21AM +0200, 6b...@6bone.informatik.uni-leipzig.de wrote: Hello, At the weekend I tried to update to a current version of netbsd-8 rc1. After the restart, the kernel will work for a few hours. After that, no packets will arrive at the network card. Please try the following patch who are using ixg(4) on netbsd-8 or -current: http://www.netbsd.org/~msaitoh/ixgbe-eitr-20180522-0.dif This change might fix RX stall problem. If you got TX device timeout or RX stall, please report with the output of: sysctl hw |grep ixg Regards. The server is running normally. No hints in dmesg. Some network programs report issues: zebra[371]: rtm_write: write : No buffer space available (55) syslogd[541]: recvfrom() unix `/var/run/log': No buffer space available gate zebra[1423]: routing socket error: No buffer space available You are seeing two different issues here. The "No buffer space" is considered harmless (it used to be silent, but the lossage should be the same). The ixg(4) stops receiving packets is under investigation, RC2 is waiting for a proposed patch being tested. Martin -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org) -- --- SAITOH Masanobu (msai...@execsw.org msai...@netbsd.org)
daily CVS update output
Updating src tree: P src/crypto/dist/ipsec-tools/src/libipsec/ipsec_dump_policy.c P src/crypto/dist/ipsec-tools/src/libipsec/ipsec_get_policylen.c P src/crypto/dist/ipsec-tools/src/libipsec/ipsec_strerror.h P src/crypto/dist/ipsec-tools/src/libipsec/key_debug.c P src/crypto/dist/ipsec-tools/src/libipsec/libpfkey.h P src/crypto/dist/ipsec-tools/src/libipsec/pfkey.c P src/crypto/dist/ipsec-tools/src/libipsec/pfkey_dump.c P src/crypto/dist/ipsec-tools/src/libipsec/policy_parse.y P src/crypto/dist/ipsec-tools/src/libipsec/policy_token.l P src/crypto/dist/ipsec-tools/src/setkey/extern.h P src/crypto/dist/ipsec-tools/src/setkey/parse.y P src/crypto/dist/ipsec-tools/src/setkey/setkey.c P src/crypto/dist/ipsec-tools/src/setkey/token.l P src/distrib/sets/lists/base/mi P src/distrib/sets/lists/base/shl.mi P src/distrib/sets/lists/comp/mi P src/distrib/sets/lists/comp/shl.mi P src/distrib/sets/lists/debug/mi P src/distrib/sets/lists/debug/shl.mi P src/distrib/sets/lists/man/mi P src/external/cddl/osnet/Makefile.inc P src/external/cddl/osnet/Makefile.zfs P src/external/cddl/osnet/dev/cyclic/cyclic.c P src/external/cddl/osnet/dev/cyclic/cyclic_test.c P src/external/cddl/osnet/dev/cyclic/arm/cyclic_machdep.c P src/external/cddl/osnet/dev/cyclic/i386/cyclic_machdep.c P src/external/cddl/osnet/dev/dtmalloc/dtmalloc.c P src/external/cddl/osnet/dev/dtrace/dtrace_anon.c P src/external/cddl/osnet/dev/dtrace/dtrace_cddl.h cvs update: `src/external/cddl/osnet/dev/dtrace/dtrace_clone.c' is no longer in the repository P src/external/cddl/osnet/dev/dtrace/dtrace_debug.c P src/external/cddl/osnet/dev/dtrace/dtrace_hacks.c P src/external/cddl/osnet/dev/dtrace/dtrace_ioctl.c P src/external/cddl/osnet/dev/dtrace/dtrace_load.c P src/external/cddl/osnet/dev/dtrace/dtrace_modevent.c P src/external/cddl/osnet/dev/dtrace/dtrace_sysctl.c P src/external/cddl/osnet/dev/dtrace/dtrace_test.c P src/external/cddl/osnet/dev/dtrace/dtrace_unload.c P src/external/cddl/osnet/dev/dtrace/dtrace_vtime.c cvs update: `src/external/cddl/osnet/dev/dtrace/amd64/dis_tables.c' is no longer in the repository cvs update: `src/external/cddl/osnet/dev/dtrace/amd64/dis_tables.h' is no longer in the repository P src/external/cddl/osnet/dev/dtrace/amd64/dtrace_asm.S P src/external/cddl/osnet/dev/dtrace/amd64/dtrace_isa.c P src/external/cddl/osnet/dev/dtrace/amd64/dtrace_subr.c cvs update: `src/external/cddl/osnet/dev/dtrace/amd64/instr_size.c' is no longer in the repository P src/external/cddl/osnet/dev/dtrace/arm/dtrace_asm.S P src/external/cddl/osnet/dev/dtrace/arm/dtrace_isa.c P src/external/cddl/osnet/dev/dtrace/arm/dtrace_subr.c P src/external/cddl/osnet/dev/dtrace/arm/regset.h cvs update: `src/external/cddl/osnet/dev/dtrace/i386/dis_tables.c' is no longer in the repository cvs update: `src/external/cddl/osnet/dev/dtrace/i386/dis_tables.h' is no longer in the repository P src/external/cddl/osnet/dev/dtrace/i386/dtrace_asm.S P src/external/cddl/osnet/dev/dtrace/i386/dtrace_isa.c P src/external/cddl/osnet/dev/dtrace/i386/dtrace_subr.c cvs update: `src/external/cddl/osnet/dev/dtrace/i386/instr_size.c' is no longer in the repository U src/external/cddl/osnet/dev/dtrace/x86/dis_tables.c U src/external/cddl/osnet/dev/dtrace/x86/dis_tables.h U src/external/cddl/osnet/dev/dtrace/x86/instr_size.c U src/external/cddl/osnet/dev/dtrace/x86/regset.h P src/external/cddl/osnet/dev/fbt/fbt.c U src/external/cddl/osnet/dev/fbt/fbt.h U src/external/cddl/osnet/dev/fbt/arm/fbt_isa.c U src/external/cddl/osnet/dev/fbt/arm/fbt_isa.h U src/external/cddl/osnet/dev/fbt/x86/fbt_isa.c U src/external/cddl/osnet/dev/fbt/x86/fbt_isa.h P src/external/cddl/osnet/dev/lockstat/lockstat.c P src/external/cddl/osnet/dev/profile/profile.c P src/external/cddl/osnet/dev/sdt/sdt.c P src/external/cddl/osnet/dev/systrace/systrace.c P src/external/cddl/osnet/dist/cmd/dtrace/dtrace.1 P src/external/cddl/osnet/dist/cmd/dtrace/dtrace.c U src/external/cddl/osnet/dist/cmd/pyzfs/pyzfs.py U src/external/cddl/osnet/dist/cmd/stat/common/timestamp.c P src/external/cddl/osnet/dist/cmd/zdb/zdb.c P src/external/cddl/osnet/dist/cmd/zdb/zdb_il.c P src/external/cddl/osnet/dist/cmd/zfs/zfs_iter.c P src/external/cddl/osnet/dist/cmd/zfs/zfs_iter.h P src/external/cddl/osnet/dist/cmd/zfs/zfs_main.c P src/external/cddl/osnet/dist/cmd/zfs/zfs_util.h U src/external/cddl/osnet/dist/cmd/zhack/zhack.c U src/external/cddl/osnet/dist/cmd/zinject/translate.c U src/external/cddl/osnet/dist/cmd/zinject/zinject.c U src/external/cddl/osnet/dist/cmd/zinject/zinject.h U src/external/cddl/osnet/dist/cmd/zlook/zlook.c P src/external/cddl/osnet/dist/cmd/zpool/zpool_iter.c P src/external/cddl/osnet/dist/cmd/zpool/zpool_main.c P src/external/cddl/osnet/dist/cmd/zpool/zpool_util.h P src/external/cddl/osnet/dist/cmd/zpool/zpool_vdev.c U src/external/cddl/osnet/dist/cmd/zstreamdump/zstreamdump.1 U src/external/cddl/osnet/dist/cmd/zstreamdump/zstreamdump.c P src/external/cddl/osnet/dist/cmd/ztest/ztest.c P src/external/cddl/osnet/dist/common/