![网络 eth0:rx->偏移量 4294967295](https://linux22.com/image/564061/%E7%BD%91%E7%BB%9C%20eth0%EF%BC%9Arx-%3E%E5%81%8F%E7%A7%BB%E9%87%8F%204294967295.png)
这是什么重要的事情?它来自哪里?
我正在运行 Debian Squeeze (6) 并且不断在 dmesg/messages 等等中看到此信息...
[20471825.303351] net eth0: rx->offset: 0, size: 4294967295
[20471825.313899] net eth0: rx->offset: 0, size: 4294967295
[20471825.342809] net eth0: rx->offset: 0, size: 4294967295
[20471825.371154] net eth0: rx->offset: 0, size: 4294967295
[20471825.401408] net eth0: rx->offset: 0, size: 4294967295
[20471825.406837] net eth0: rx->offset: 0, size: 4294967295
[20471825.434638] net eth0: rx->offset: 0, size: 4294967295
[20471825.464767] net eth0: rx->offset: 0, size: 4294967295
[20471825.490857] net eth0: rx->offset: 0, size: 4294967295
[20471825.498196] net eth0: rx->offset: 0, size: 4294967295
eth0 的 ifconfig 输出
eth0 Link encap:Ethernet HWaddr 00:46:2e:77:8f:d7
inet addr:36.239.27.153 Bcast:46.249.37.255 Mask:255.255.255.0
inet6 addr: 2a00:1ca8:e:4::809f:5468/128 Scope:Global
inet6 addr: 2a00:1ca8:e:4::a49:390f/128 Scope:Global
inet6 addr: 2a00:1ca8:e:4::efbd:618a/128 Scope:Global
inet6 addr: fe80::216:3eff:fe57:8fd7/64 Scope:Link
inet6 addr: 2a00:1ca8:e:4::8378:23f2/128 Scope:Global
inet6 addr: 2a00:1ca8:e:4::c4c0:8a96/128 Scope:Global
inet6 addr: 2a00:1ca8:e:4::5a87:8650/128 Scope:Global
inet6 addr: 2a00:1ca8:e:4::4e12:91e4/128 Scope:Global
inet6 addr: 2a00:1ca8:e:4::1d2f:9e6c/128 Scope:Global
inet6 addr: 2a00:1ca8:e:4::dc71:8af6/128 Scope:Global
inet6 addr: 2a00:1ca8:e:4::6ec:db3c/48 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2917413 errors:495 dropped:0 overruns:0 frame:0
TX packets:13718 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:977859566 (932.5 MiB) TX bytes:16632912 (15.8 MiB)
Interrupt:9
答案1
答案2
该消息来自模块 linux/drivers/net/xen_netfront.c:
dev_warn(dev, "rx->offset: %x, size: %u\n", rx->offset, rx->status);
在上面的 if() 中,它检查rx->status < 0
并且显然它小于 0(或无符号 4294967295)。然后它执行xennet_move_rx_slot()
,不管这意味着什么。