Summary: | [rtwn_usb] [net80211] rsync causes wlan link state down via IPv6 | ||
---|---|---|---|
Product: | Base System | Reporter: | mr_beaner_2003 |
Component: | wireless | Assignee: | freebsd-wireless (Nobody) <wireless> |
Status: | New --- | ||
Severity: | Affects Only Me | CC: | avos |
Priority: | --- | ||
Version: | 12.0-RELEASE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
mr_beaner_2003
2019-03-19 00:01:24 UTC
Is there some changes after
1) ifconfig wlan0 -rxcsum -rxcsum6
2) kenv dev.rtwn.0.hwcrypto=0 && kldunload if_rtwn_usb && kldload if_rtwn_usb
?The work around is to perform an ACPI powerbutton off then powerbutton on.
> The work around is to perform an ACPI powerbutton off then powerbutton on.
kldunload if_rtwn_usb && kldload if_rtwn_usb ?
(the last part is only needed if you don't have devd(8) running).
devd(8) is running. Mar 28 14:46:08 localhost syslogd: kernel boot file is /boot/kernel/kernel Mar 28 14:46:08 localhost kernel: rtwn0 on uhub3 Mar 28 14:46:08 localhost kernel: rtwn0: <Realtek Edimax AC1200 USB, class 0/0, rev 2.00/0.00, addr 2> on usbus4 Mar 28 14:46:08 localhost kernel: rtwn0: MAC/BB RTL8812AU, RF 6052 2T2R Mar 28 14:49:38 localhost reboot[51260]: rebooted by root Mar 28 14:52:13 localhost syslogd: kernel boot file is /boot/kernel/kernel Mar 28 14:52:13 localhost kernel: rtwn0 on uhub1 Mar 28 14:52:13 localhost kernel: rtwn0: <Realtek Edimax AC1200 USB, class 0/0, rev 2.00/0.00, addr 2> on usbus4 Mar 28 14:52:13 localhost kernel: rtwn0: MAC/BB RTL8812AU, RF 6052 2T2R Mar 29 10:58:33 localhost kernel: rtwn0: Mar 29 10:58:34 localhost kernel: rtwn0: ieee80211_crypto_encap returns NULL. Mar 29 10:58:34 localhost kernel: rtwn0: Mar 29 10:58:34 localhost kernel: rtwn0: ieee80211_crypto_encap returns NULL. Mar 29 11:01:42 localhost syslogd: kernel boot file is /boot/kernel/kernel Mar 29 11:01:42 localhost kernel: rtwn0 on uhub0 Mar 29 11:01:42 localhost kernel: rtwn0: <Realtek Edimax AC1200 USB, class 0/0, rev 2.00/0.00, addr 2> on usbus4 Mar 29 11:01:42 localhost kernel: rtwn0: MAC/BB RTL8812AU, RF 6052 2T2R I've disabled rxcsum for both IP and IPv6, to no avail. Step #2 doesn't seem to do anything; I'd need to add 'dev.rtwn.0.hwcrypto=0' to /boot/loader.conf because the OID is only tunable at boot, otherwise it's RO. I don't think that it's rtwn_usb(4) issue. The card - probably - at least, I don't know about the opposite - isn't aware about IPv6 and / or IPv4. However, it can validate checksums (and -rxcsum[6] may reveal the issue) and cannot inspect frame contents when software encryption is used (dev.rtwn.0.hwcrypto=0). If you cannot reproduce with the latter (actually, it implicitly implies -rxcsum -rxcsum6) then this issue should be reassigned to the net@ team. Oops, wrong statement: if you *still* can reproduce the issue - then ifnet(9) or net80211 should be inspected instead. I could not repeat the issue after disabling hwcrypto. % % grep rtwn /boot/loader.conf if_rtwn_usb_load="YES" dev.rtwn.0.hwcrypto=0 % % sysctl dev.rtwn.0 dev.rtwn.0.rx_buf_size: 24 dev.rtwn.0.ratectl_selected: 1 dev.rtwn.0.ratectl: 1 dev.rtwn.0.hwcrypto: 0 dev.rtwn.0.debug: 0 dev.rtwn.0.ht40: 0 dev.rtwn.0.%parent: uhub2 dev.rtwn.0.%pnpinfo: vendor=0x7392 product=0xa822 devclass=0x00 devsubclass=0x00 devproto=0x00 sernum="123456" release=0x0000 mode=host intclass=0xff intsubclass=0xff intprotocol=0xff dev.rtwn.0.%location: bus=4 hubaddr=1 port=2 devaddr=2 interface=0 ugen=ugen4.2 dev.rtwn.0.%driver: rtwn dev.rtwn.0.%desc: Realtek Edimax AC1200 USB, class 0/0, rev 2.00/0.00, addr 2 % % rsync -6avz --progress --delete /usr/home/streams matt@remotehost:/media/usb/localhost/ |