Created
October 18, 2019 16:14
-
-
Save cleverca22/c6fa65a1209b161dad12ac95d5777200 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@amd-nixos:~]# nix repl '<nixpkgs/nixos>' | |
Welcome to Nix version 2.3. Type :? for help. | |
Loading '<nixpkgs/nixos>'... | |
Added 6 variables. | |
nix-repl> config.boot.kernelModules | |
[ "pcspkr" "vboxdrv" "vboxnetadp" "vboxnetflt" "bridge" "macvlan" "tap" "tun" "ipv6" "zfs" "loop" "atkbd" "snd_pcm_oss" ] | |
nix-repl> config.boot | |
trace: Obsolete option `boot.binfmtMiscRegistrations' is used. It was renamed to `boot.binfmt.registrations'. | |
trace: Obsolete option `boot.bootMount' is used. It was renamed to `boot.loader.grub.bootDevice'. | |
trace: Obsolete option `boot.copyKernels' is used. It was renamed to `boot.loader.grub.copyKernels'. | |
trace: Obsolete option `boot.extraGrubEntries' is used. It was renamed to `boot.loader.grub.extraEntries'. | |
"menuentry \"Nixos Installer\" {\n linux ($drive1)/rescue-kernel init=/nix/store/zadfjzfnczs8iccs6ps8vd5378589sd8-nixos-system-nixos--18.03pre-git/init loglevel=4\n initrd ($drive1)/rescue-initrd\n}\n\nmenuentry \"Windows 7\" {\n insmod part_msdos\n insmod chain\n set root=trace: Obsolete option `boot.extraGrubEntriesBeforeNixos' is used. It was renamed to `boot.loader.grub.extraEntriesBeforeNixOS'. | |
false; extraModprobeConfig = "options snd_hda_intel enable=1,0\ninstall dccp /run/current-system/sw/bin/false\n\n\noptions firmware_class path=/nix/store/hxfip44470w87vgz45j19s6vc4kgg4ib-firmware/lib/firmware"; extraModulePackages = [ ... ]; extraTTYs = [ ... ]; growPartition = trace: Obsolete option `boot.grubDevice' is used. It was renamed to `boot.loader.grub.device'. | |
trace: Obsolete option `boot.grubSplashImage' is used. It was renamed to `boot.loader.grub.splashImage'. | |
"/nix/store/n511a8yq2fp4113dizzm9xx1syx869m0-simple-dark-gray-bootloader-2018-08-28/share/artwork/gnome/nix-wallpaper-simple-dark-gray_bootloader.png"; hardwareScan = true; initrd = { ... }; isContainer = false; kernel = { ... }; kernelModules = [ ... ]; kernelPackages = { ... }; kernelParams = [ ... ]; kernelPatches = [ ... ]; loader = { ... }; plymouth = { ... }; postBootCommands = ""; resumeDevice = ""; runSize = "25%"; specialFileSystems = { ... }; supportedFilesystems = [ ... ]; systemd = { ... }; tmpOnTmpfs = false; vesa = false; zfs = { ... }; } | |
nix-repl> config.boot.kernelModules | |
Aborted (core dumped) | |
[root@amd-nixos:~]# coredumpctl gdb -1 | |
(gdb) bt | |
#0 0x00007f9f91855be0 in raise () from /nix/store/6yaj6n8l925xxfbcd65gzqx3dz7idrnn-glibc-2.27/lib/libc.so.6 | |
#1 0x00007f9f91856dc1 in abort () from /nix/store/6yaj6n8l925xxfbcd65gzqx3dz7idrnn-glibc-2.27/lib/libc.so.6 | |
#2 0x00007f9f925334d3 in nix::showType[abi:cxx11](nix::Value const&) [clone .cold.796] () from /nix/store/igc3zwndrl6aa60y2rfbx1f98d7wrqnv-nix-2.3/lib/libnixexpr.so | |
#3 0x00007f9f925595d8 in nix::throwTypeError(char const*, nix::Value const&, nix::Pos const&) () from /nix/store/igc3zwndrl6aa60y2rfbx1f98d7wrqnv-nix-2.3/lib/libnixexpr.so | |
#4 0x00007f9f9255d49b in nix::ExprSelect::eval(nix::EvalState&, nix::Env&, nix::Value&) () from /nix/store/igc3zwndrl6aa60y2rfbx1f98d7wrqnv-nix-2.3/lib/libnixexpr.so | |
#5 0x00000000004e3fdb in nix::NixRepl::evalString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, nix::Value&) () | |
#6 0x00000000004e6d20 in nix::NixRepl::processLine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) () | |
#7 0x00000000004e72a2 in nix::NixRepl::mainLoop(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) () | |
#8 0x00000000004e8c1b in nix::CmdRepl::run(nix::ref<nix::Store>) () | |
#9 0x00000000004b6b09 in nix::StoreCommand::run() () | |
#10 0x00000000004d4b18 in nix::mainWrapped(int, char**) () | |
#11 0x00007f9f9224909c in nix::handleExceptions(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::function<void ()>) () from /nix/store/igc3zwndrl6aa60y2rfbx1f98d7wrqnv-nix-2.3/lib/libnixmain.so | |
#12 0x0000000000441c9b in main () |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i can reproduce the fault under
gdb
, but not undervalgrind