When the rtwn adapter is plugged in, ifconfig consumes all available
RAM, whether at boot, or later on from a "clean" boot:

dmesg[1] snippet at point where edimax wifi adapter [2] is plugged in:

ugen0.3: <vendor 0x7392 product 0x7811> at usbus0
rtwn0 on uhub0
rtwn0: <vendor 0x7392 product 0x7811, class 0/0, rev 2.00/2.00, addr 7>
on usbus0
rtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
wlan0: Ethernet address: 74:da:38:7e:e6:e0
swap_pager: out of swap space
swap_pager_getswapspace(16): failed
pid 62971 (ifconfig), uid 0, was killed: out of swap space
pid 57669 (unbound), uid 59, was killed: out of swap space

swap_pager: out of swap space
swap_pager_getswapspace(16): failed

This also occurs at boot[3]:

info via top:

Mem: 13G active, 28K inactive, 2208M Laundry, 471M Wired, 1584K Buf, 61M
ARC: 86M Total, 564K MFU, 81M MRU, 148K Anon, 960 Header, 3181K Other
Swap: 4056M Total, 4056M Used, K Free, 100% Inuse

top's ifconfig line:
SIZE: 98323M
RES: 4061M

- h/w is a macbook pro 15" retina, 16GiB RAM, normally I run swap-less
but atm 4GiB swap configured to catch this error
- built from the drm-next branch
from 2017/01/28
- 100% reproducible on every boot and every time EW-7811UN is inserted

If I remove the rtwn USB-based thumb NIC then this doesn't happen.

[1]: https://gist.github.com/dch/e7b01cdcc0bbfd57b2899999e1e5fdd2
[3]: https://usercontent.irccloud-cdn.com/file/ylyhzEWq/1485762701.JPG

I will try latest FreeBSD -current today, in case there's any difference
in behaviour from the FreeBSDDesktop branch I am currently using.

freebsd-wireless@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to