Closed ShamrockLee closed 4 years ago
Not sure if this is a nixos-specific issue, but more a kernel bug/driver problem causing log flood, combinded with your journal being on a slow medium. Also, this is missing information about what card and firmware is being used.
Especially as you were able to reproduce similar issues on Debian Testing, I'd propose trying with an even more recent kernel, and in case you can still reproduce, file a bug at your driver.
Sorry for forgetting to put the metadata.
Result of nix-info -m
:
"x86_64-linux"
Linux 5.4.49, NixOS, 20.09pre232864.55668eb671b (Nightingale)
yes
yes
nix-env (Nix) 2.3.6
"nixos-20.09pre232864.55668eb671b"
"home-manager"
Result of lspci
:
$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1d.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #11 (rev f1)
00:1d.3 PCI bridge: Intel Corporation Device 9d1b (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce MX130] (rev a2)
03:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
04:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
How do I get a more relevant kernel If I have upgraded to the latest version? I have thought that the drivers are shipped with the kernel in Linux. Is that right?
I have just found a solution (or workaround):
Specify the Linux kernel to use with
boot.kernelPackages = pkgs.linuxPackages_4_19
in /etc/nixos/configuration.nix
I don't know if there would be any potential side effect, but it works for me.
I have thought that the drivers are shipped with the kernel in Linux. Is that right?
Yes - there's also firmware, in a separate package, but usually multiple versions are shipped, and the kernel driver chooses an appropriate version.
This is really a kernel regression. Please check if it has been fixed somewhere between 5.4.49 and the latest upstream kernel (5.7.8, or even master), and if not, get in touch with kernel people.
You now explicitly selected an older kernel, which might work for some time, until it gets EOL and removed.
I'll close this issue, as it's not a NixOS issue, but a kernel driver regression.
Describe the bug The
systemd-journald
on my usb-stick-based NixOS (Nightingale) suddenly began to log heavily when I use it. The internet connection and thesudo
command then becomes unavailable, and shutdown cannot be completed regularly.Message in the journal: https://gist.github.com/ShamrockLee/afc8bf7b29fc7b7d681f8d16c4ca2cd9#file-journal_b_-1_20200709005330-txt-L3200-L3253
Extra info:
nix-rebuild switch --upgrade
on July 3.To Reproduce Steps to reproduce the behavior:
Expected behavior
sudo
has no respond.Screenshots
Additional context
Notify maintainers
Metadata
"x86_64-linux"
Linux 5.4.49, NixOS, 20.09pre232864.55668eb671b (Nightingale)
yes
yes
nix-env (Nix) 2.3.6
"nixos-20.09pre232864.55668eb671b"
"home-manager"
Maintainer information: