* selftests: net: udpgro.sh hangs on DUT devices running Linux -next
@ 2018-11-16 9:25 Naresh Kamboju
2018-11-17 23:31 ` Paolo Abeni
0 siblings, 1 reply; 3+ messages in thread
From: Naresh Kamboju @ 2018-11-16 9:25 UTC (permalink / raw)
To: netdev
Cc: pabeni, David S. Miller, Willem de Bruijn, Anders Roxell,
Rafael Tinoco
Kernel selftests: net: udpgro.sh hangs / waits forever on x86_64 and
arm32 devices running Linux -next. Test getting PASS on arm64 devices.
Do you see this problem ?
Short error log:
---------------------
ip6tables v1.6.1: can't initialize ip6tables table `nat': Table does
not exist (do you need to insmod?)
Short log error with debug,
------------------------------------
+ ip netns exec ns-peer-pwnOKK ip6tables -t nat -I PREROUTING -d
2001:db8::1 -j DNAT --to-destination 2001:db8::3
ip6tables v1.6.1: can't initialize ip6tables table `nat': Table does
not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
+ pid=3880
+ ip netns exec ns-peer-pwnOKK ./udpgso_bench_rx -G -b 2001:db8::1 -n 0
+ sleep 0.1
+ ip netns exec ns-peer-pwnOKK ./udpgso_bench_rx -b 2001:db8::3 -r -n 10 -l 1452
+ ./udpgso_bench_tx -l 4 -6 -D 2001:db8::1 -M 1 -s 14520 -S 0
+ kill -INT 3880
++ jobs -p
+ wait 3880 3881
# Here it is waiting forever.
Long test log,
selftests: net: udpgro.sh
[ 1009.614607] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1009.737943] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
ipv4
[ 1010.053106] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1010.162944] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
no GRO ok
no GRO chk cmsg ./udpgso_bench_rx: wrong
packet number! got 7, expected 10
[ 1010.562502] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1010.689950] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
failed
[ 1011.066820] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1011.188955] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
GRO ok
[ 1011.550350] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1011.673963] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
GRO chk cmsg ok
[ 1012.117313] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1012.242831] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
GRO with custom segment size ok
[ 1012.621189] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1012.738940] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
[ 1012.896143] kauditd_printk_skb: 22 callbacks suppressed
[ 1012.896143] audit: type=1325 audit(1542288720.207:2489): table=nat
family=2 entries=0
[ 1012.909742] audit: type=1300 audit(1542288720.207:2489):
arch=c000003e syscall=313 success=yes exit=0 a0=2 a1=418424 a2=0 a3=2
items=0 ppid=7763 pid=21917 auid=4294967295 uid=0 gid=0 euid=0 suid=0
fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295
comm=\"modprobe\" exe=\"/bin/kmod\" subj=kernel key=(null)
[ 1012.936822] audit: type=1327 audit(1542288720.207:2489):
proctitle=2F7362696E2F6D6F6470726F6265002D71002D2D0069707461626C655F6E6174
[ 1012.948653] audit: type=1325 audit(1542288720.175:2490): table=nat
family=2 entries=0
[ 1012.956524] audit: type=1300 audit(1542288720.175:2490):
arch=c000003e syscall=55 success=yes exit=0 a0=4 a1=0 a2=40
a3=7ffeb4e82700 items=0 ppid=21878 pid=21916 auid=4294967295 uid=0
gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS0
ses=4294967295 comm=\"iptables\" exe=\"/usr/sbin/xtables-multi\"
subj=kernel key=(null)
[ 1012.985334] audit: type=1327 audit(1542288720.175:2490):
proctitle=69707461626C6573002D74006E6174002D4900505245524F5554494E47002D64003139322E3136382E312E31002D6A00444E4154002D2D746F2D64657374696E6174696F6E003139322E3136382E312E33
[ 1013.005799] audit: type=1325 audit(1542288720.221:2491): table=nat
family=2 entries=5
[ 1013.013652] audit: type=1300 audit(1542288720.221:2491):
arch=c000003e syscall=54 success=yes exit=0 a0=4 a1=0 a2=40 a3=b8a870
items=0 ppid=21878 pid=21916 auid=4294967295 uid=0 gid=0 euid=0 suid=0
fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS0 ses=4294967295
comm=\"iptables\" exe=\"/usr/sbin/xtables-multi\" subj=kernel
key=(null)
[ 1013.042023] audit: type=1327 audit(1542288720.221:2491):
proctitle=69707461626C6573002D74006E6174002D4900505245524F5554494E47002D64003139322E3136382E312E31002D6A00444E4154002D2D746F2D64657374696E6174696F6E003139322E3136382E312E33
GRO with custom segment size cmsg ok
bad GRO lookup ok
[ 1013.331549] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1013.455957] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
ipv6
no GRO ./udpgso_bench_rx: wrong
packet number! got 7, expected 10
[ 1013.836277] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1013.952959] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
failed
[ 1014.338978] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1014.462967] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
no GRO chk cmsg ok
[ 1014.839919] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1014.965962] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
GRO ok
[ 1015.334213] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1015.457938] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
GRO chk cmsg ok
[ 1015.823508] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1015.935954] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
GRO with custom segment size ok
[ 1016.332459] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready
[ 1016.453954] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
GRO with custom segment size cmsg ok
bad GRO lookup ip6tables v1.6.1: can't
initialize ip6tables table `nat': Table does not exist (do you need to
insmod?)
Best regards
Naresh Kamboju
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: selftests: net: udpgro.sh hangs on DUT devices running Linux -next
2018-11-16 9:25 selftests: net: udpgro.sh hangs on DUT devices running Linux -next Naresh Kamboju
@ 2018-11-17 23:31 ` Paolo Abeni
2018-11-19 7:06 ` Naresh Kamboju
0 siblings, 1 reply; 3+ messages in thread
From: Paolo Abeni @ 2018-11-17 23:31 UTC (permalink / raw)
To: Naresh Kamboju, netdev
Cc: David S. Miller, Willem de Bruijn, Anders Roxell, Rafael Tinoco
Hi,
On Fri, 2018-11-16 at 14:55 +0530, Naresh Kamboju wrote:
> Kernel selftests: net: udpgro.sh hangs / waits forever on x86_64 and
> arm32 devices running Linux -next. Test getting PASS on arm64 devices.
>
> Do you see this problem ?
>
> Short error log:
> ---------------------
> ip6tables v1.6.1: can't initialize ip6tables table `nat': Table does
> not exist (do you need to insmod?)
Thank you for the report.
It looks like your kernel config has
# CONFIG_NF_NAT_IPV6 is not set
Can you please confirm ?
net selftests do not explicitly ask for that, despiting using such
functionality (my bad).
I'll be travelling up to Monday (included). I'll have a better look
after that.
Cheers,
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: selftests: net: udpgro.sh hangs on DUT devices running Linux -next
2018-11-17 23:31 ` Paolo Abeni
@ 2018-11-19 7:06 ` Naresh Kamboju
0 siblings, 0 replies; 3+ messages in thread
From: Naresh Kamboju @ 2018-11-19 7:06 UTC (permalink / raw)
To: pabeni
Cc: netdev, David S. Miller, Willem de Bruijn, Anders Roxell,
Rafael Tinoco
Hi Paolo,
On Sun, 18 Nov 2018 at 05:01, Paolo Abeni <pabeni@redhat.com> wrote:
>
> Hi,
>
> On Fri, 2018-11-16 at 14:55 +0530, Naresh Kamboju wrote:
> > Kernel selftests: net: udpgro.sh hangs / waits forever on x86_64 and
> > arm32 devices running Linux -next. Test getting PASS on arm64 devices.
> >
> > Do you see this problem ?
> >
> > Short error log:
> > ---------------------
> > ip6tables v1.6.1: can't initialize ip6tables table `nat': Table does
> > not exist (do you need to insmod?)
>
> Thank you for the report.
>
> It looks like your kernel config has
>
> # CONFIG_NF_NAT_IPV6 is not set
>
> Can you please confirm ?
# CONFIG_NF_NAT_IPV6 is not set on the devices where the test is getting hang.
>
> net selftests do not explicitly ask for that, despiting using such
> functionality (my bad).
>
> I'll be travelling up to Monday (included). I'll have a better look
> after that.
Thank you.
- Naresh
>
> Cheers,
>
> Paolo
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-11-19 17:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-16 9:25 selftests: net: udpgro.sh hangs on DUT devices running Linux -next Naresh Kamboju
2018-11-17 23:31 ` Paolo Abeni
2018-11-19 7:06 ` Naresh Kamboju
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).