{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10912","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10912/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10912/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10912/events","html_url":"https://github.com/NixOS/nixpkgs/issues/10912","id":115827103,"number":10912,"title":"A question about kernel module configs and it not being found on Live CD","user":{"login":"CMCDragonkai","id":640797,"avatar_url":"https://avatars.githubusercontent.com/u/640797?v=3","gravatar_id":"","url":"https://api.github.com/users/CMCDragonkai","html_url":"https://github.com/CMCDragonkai","followers_url":"https://api.github.com/users/CMCDragonkai/followers","following_url":"https://api.github.com/users/CMCDragonkai/following{/other_user}","gists_url":"https://api.github.com/users/CMCDragonkai/gists{/gist_id}","starred_url":"https://api.github.com/users/CMCDragonkai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMCDragonkai/subscriptions","organizations_url":"https://api.github.com/users/CMCDragonkai/orgs","repos_url":"https://api.github.com/users/CMCDragonkai/repos","events_url":"https://api.github.com/users/CMCDragonkai/events{/privacy}","received_events_url":"https://api.github.com/users/CMCDragonkai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/0.kind:%20question","name":"0.kind: question","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-09T08:02:08Z","updated_at":"2015-12-27T03:06:35Z","closed_at":null,"body":"What is the kernel module `configs`?\r\n\r\nI noticed it being mentioned here: https://github.com/NixOS/nixpkgs/issues/6444#issuecomment-75075591\r\n\r\nThe reason I ask is because running the below on the Live CD:\r\n\r\n```\r\nsystemctl status systemd-modules-load\r\n```\r\n\r\nShows:\r\n\r\n```\r\nnixos systemd-modules-load[482]: Failed to find module 'configs'\r\n```\r\n\r\nInside `/etc/modules-load.d/nixos.conf` shows `configs` as one of the modules scheduled to be loaded at boot.\r\n\r\nIt appears to be specified here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/kernel.nix#L161\r\n\r\nI googled around and got no information on this kernel module, and why it isn't found on the Live CD?\r\n\r\nRunning `modprobe configs` or `modinfo configs` shows nothing.\r\n\r\n--EDIT--\r\n\r\nI found this: https://wiki.gentoo.org/wiki/Kernel/IKCONFIG_Support\r\n\r\nStill no idea why `configs` is not available in the Live CD then?\r\n\r\nAccording to the gentoo docs, a `/proc/config.gz` should exist if IKCONFIG is built into the kernel. And this file does exist on the Live CD. Does this mean that the kernel that NixOS is running on already has `configs` module already built in, and hence doesn't require loading it as a loadable module on boot?\r\n\r\nRunning `zcat /proc/config.gz | grep IKCONFIG` shows that the current kernel has IKCONFIG built in, hence there's no need to load the `configs` module manually. So can we remove it from here? https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/kernel.nix#L161 That way I can minimise my systemctl errors on startup."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/167376576","html_url":"https://github.com/NixOS/nixpkgs/issues/10912#issuecomment-167376576","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/10912","id":167376576,"user":{"login":"javins","id":187314,"avatar_url":"https://avatars.githubusercontent.com/u/187314?v=3","gravatar_id":"","url":"https://api.github.com/users/javins","html_url":"https://github.com/javins","followers_url":"https://api.github.com/users/javins/followers","following_url":"https://api.github.com/users/javins/following{/other_user}","gists_url":"https://api.github.com/users/javins/gists{/gist_id}","starred_url":"https://api.github.com/users/javins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javins/subscriptions","organizations_url":"https://api.github.com/users/javins/orgs","repos_url":"https://api.github.com/users/javins/repos","events_url":"https://api.github.com/users/javins/events{/privacy}","received_events_url":"https://api.github.com/users/javins/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T03:06:35Z","updated_at":"2015-12-27T03:06:35Z","body":"Thinking about the issue further, I don't even think we'd want to bother with `kernelExtraConfigs` for plaforms that don't have a `kernelAutoModules`.  We can keep the setting in common-config.nix, and just replace `IKCONFIG y` with `IKCONFIG m`, which will satisfy `IKCONFIG_PROC`s dependency."}}