From: "Alexei V. Mezin" <alexei.mezin@gmail.com> To: sisyphus@lists.altlinux.org Subject: [sisyphus] Что же делать с интеловской сетевухой? Date: Thu, 19 Aug 2021 21:16:33 +0300 Message-ID: <sfm761$16e0$1@ciao.gmane.io> (raw) Или с systemd? Или с etcnet? Дано: компьютер с интеловской сетевухой, обслуживается модулем e1000e, система p9. Под малейшей нагрузкой сетевуха "подвисает", выглядит вот так: [635.855986] e1000e 0000:00:19.0 lan: Detected Hardware Unit Hang: TDH <e6> TDT <12> next_to_use <12> next_to_clean <e2> buffer_info[next_to_clean]: time_stamp <100051428> next_to_watch <e6> jiffies <100051ec0> next_to_watch.status <0> MAC Status <80283> PHY Status <792d> PHY 1000BASE-T Status <3800> PHY Extended Status <3000> PCI Status <10> В интернетах пишут, что давно известный то ли баг, то ли фича интеловских драйверов, и что даже в 5.10.ххх это очередной раз исправили. Но нет, во всяком случае на всех std-un-def из p9 глючит. Рекомендуют ethtool -K <IFNAME> gso off gro off tso off, и это действительно помогает. Но вызывать команду ручками каждый раз после перезагрузки неудобно. Попытки использовать /etc/net/ifaces/lan/ethtool ни к чему не привели. Почему-то не работает. Ок, решил попробовать так: # cat /etc/systemd/network/70-lan.link [Match] MACAddress=00:15:17:d4:ae:4e [Link] TCPSegmentationOffload=false GenericSegmentationOffload=false GenericReceiveOffload=false После перезагрузки получаю # ethtool -k lan | egrep "tcp-seg|segmentation-offload" tcp-segmentation-offload: on tx-tcp-segmentation: on generic-segmentation-offload: off То есть gso выключилось, как и просили. А tso нет. Гугл говорит, что в далеком 2017 году был некий баг на systemd https://github.com/systemd/systemd/issues/6854 Ну прям один в один. Однако, баг какой-то мутный, почему-то в нем ссылаются на другие параметры, а потом просто закрывают. Как понять, что происходит? Баг закрыли, но не исправили? Исправили и снова сломали? Он тут вообще не при чем, и что-то в системе мешает изменить параметры сетевухи на этапе загрузки?
next reply other threads:[~2021-08-19 18:16 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-08-19 18:16 Alexei V. Mezin [this message] 2021-08-20 1:36 ` alexei 2021-08-20 12:30 ` Sergey 2021-08-21 11:46 ` Anton Gorlov 2021-08-23 9:40 ` Alexei Mezin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='sfm761$16e0$1@ciao.gmane.io' \ --to=alexei.mezin@gmail.com \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git