123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- # -*- mode: org -*-
- Archived entries from file /home/joshua/prog/cheatsheets/guix.org
- * DONE complete linode cookbook for Chris Webber
- CLOSED: [2020-08-07 Fri 13:16]
- :PROPERTIES:
- :ARCHIVE_TIME: 2021-05-24 Mon 18:26
- :ARCHIVE_FILE: ~/prog/cheatsheets/guix.org
- :ARCHIVE_OLPATH: things I can do
- :ARCHIVE_CATEGORY: guix
- :ARCHIVE_TODO: DONE
- :END:
- :LOGBOOK:
- - State "DONE" from "TODO" [2020-08-07 Fri 13:16]
- - State "TODO" from [2020-08-07 Fri 12:43]
- :END:
- * DONE use dismail.de for DNS over TLS
- CLOSED: [2020-09-09 Wed 21:21]
- :PROPERTIES:
- :ARCHIVE_TIME: 2021-05-24 Mon 18:27
- :ARCHIVE_FILE: ~/prog/cheatsheets/guix.org
- :ARCHIVE_OLPATH: things I can do
- :ARCHIVE_CATEGORY: guix
- :ARCHIVE_TODO: DONE
- :END:
- :LOGBOOK:
- - State "DONE" from [2020-09-09 Wed 21:21]
- :END:
- https://dismail.de/info.html#dns
- * DONE set up a landing page for https://bordeaux.guix.gnu.org/
- CLOSED: [2021-06-08 Tue 04:10]
- :PROPERTIES:
- :ARCHIVE_TIME: 2021-06-09 Wed 04:16
- :ARCHIVE_FILE: ~/prog/cheatsheets/guix.org
- :ARCHIVE_OLPATH: things I can do
- :ARCHIVE_CATEGORY: guix
- :ARCHIVE_TODO: DONE
- :END:
- that will show people how to set up the signing key.
- :LOGBOOK:
- - State "DONE" from "TODO" [2021-06-08 Tue 04:10]
- - State "TODO" from [2021-06-07 Mon 18:14]
- :END:
- https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/nginx/html/bordeaux/index.html
- * DONE bug report for guix system linux 5.4.20 not loading kernel modules
- CLOSED: [2020-06-01 Mon 19:35]
- :PROPERTIES:
- :ARCHIVE_TIME: 2022-04-11 Mon 10:52
- :ARCHIVE_FILE: ~/prog/cheatsheets/guix.org
- :ARCHIVE_CATEGORY: guix
- :ARCHIVE_TODO: DONE
- :END:
- :LOGBOOK:
- - State "DONE" from [2020-06-01 Mon 19:35]
- :END:
- ** final bug report
- From: Joshua Branson <jbranso@dismail.de>
- To: bug-guix@gnu.org
- Subject: Something appears to disable linux kernel modules from loading.
- --text follows this line--
- Hello!
- tl;dr
- Something is causing linux 5.4.20 not to load kernel modules at boot.
- Perhaps the culprit is the shepherd 0.7.0.
- So I recently reconfigured guix on my ThinkPad T400.
- #+BEGIN_SRC sh
- $ guix describe
- Generation 32 Feb 18 2020 16:53:46 (current)
- jmacs 1a401c8
- repository URL: https://notabug.org/jbranso/guix-packages.git
- branch: master
- commit: 1a401c81ed0617e2ca2fa37ec8caa9ca96032b7a
- guix 97c6670
- repository URL: https://git.savannah.gnu.org/git/guix.git
- branch: master
- commit: 97c6670ef79bbf5e82dece2e837ed73b6462da01
- #+END_SRC
- After I rebooted sway refused to start. The sway error message said
- #+BEGIN_SRC sh
- $ sway
- [backend/backend.c:339] Failed to open any DRM device.
- [sway/server.c] Unable to create backend.
- #+END_SRC
- So sway is not starting. I believe this is because my i915 intel
- driver is not loaded. I know this is the case, because the text on my
- virtual console is LARGE. $ sudo modprobe i915 loads the required
- driver. And I can now log into sway.
- However, my ethernet driver is not loaded.
- #+BEGIN_SRC sh
- $ lsmod | grep e1000e
- #+END_SRC
- #+BEGIN_SRC sh
- $ sudo modprobe e1000e
- #+END_SRC
- Then I ran ifconfig, and indeed I now have an ethernet device.
- #+BEGIN_SRC sh :results output :exports both
- $ ifconfig
- enp0s25 Link encap:Ethernet HWaddr 00:1C:25:9A:37:BA
- inet addr:172.16.113.199 Bcast:172.16.115.255 Mask:255.255.252.0
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:505 errors:0 dropped:0 overruns:0 frame:0
- TX packets:570 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:143838 TX bytes:60886
- Interrupt:20 Memory:fc100000-fc120000
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:0 TX bytes:0
- #+END_SRC
- And I now have an internet connection.
- #+BEGIN_SRC sh :results output :exports both
- joshua@dobby ~/prog/org$ ping -c 3 gnu.org
- PING gnu.org (209.51.188.148): 56 data bytes
- 64 bytes from 209.51.188.148: icmp_seq=0 ttl=56 time=35.610 ms
- 64 bytes from 209.51.188.148: icmp_seq=1 ttl=56 time=35.635 ms
- 64 bytes from 209.51.188.148: icmp_seq=2 ttl=56 time=35.501 ms
- --- gnu.org ping statistics ---
- 3 packets transmitted, 3 packets received, 0% packet loss
- round-trip min/avg/max/stddev = 35.501/35.582/35.635/0.058 ms
- #+END_SRC
- But I do not have a working touchpad. I guess my touchpad driver is
- not loaded. I'm not certain what driver my touchpad uses, so for now
- I am doing with out.
- I then went and asked for some tips on irc. HappyEnt claimed the
- problem for him was commit 205c1e0.
- janneke was also having issues with kernel modules not being
- automatically booted. He said that this commit worked for him:
- ef2b1d2c8b60776bf66573b0c810474e9e1a4abd. He then said that commit
- d39885a8a9e0e03c2bf6277d475d384168bba642 also worked, which implied
- the problem was not the linux version 5.4.20, but possibly the
- shepherd.
- I tried reconfiguring with commit
- d39885a8a9e0e03c2bf6277d475d384168bba642, to see if that solved my issue.
- #+BEGIN_SRC sh :results output :exports both
- guix time-machine --commit=d39885a8a9e0e03c2bf6277d475d384168bba642 -- system reconfigure
- #+END_SRC
- #+BEGIN_SRC sh
- $ uname -r
- 5.4.20-gnu
- #+END_SRC
- janneke's commit did solve my issue. After rebooting, sway starts, I
- have internet, and my touchpad and sound work.
- Man I love guix system. It really does work smoothly, even when you
- have problems. So thanks for making a great GNU/Linux distro!
- Thanks Joshua
- * DONE trying to get my mouse to work
- CLOSED: [2016-08-22 Mon 14:40]
- :PROPERTIES:
- :ID: 44c09910-eb2c-450a-9d64-22e5b3db36cb
- :ARCHIVE_TIME: 2022-04-11 Mon 10:53
- :ARCHIVE_FILE: ~/prog/cheatsheets/guix.org
- :ARCHIVE_CATEGORY: guix
- :ARCHIVE_TODO: DONE
- :END:
- :LOGBOOK:
- - State "DONE" from [2016-08-22 Mon 14:40]
- :END:
- I started using sway, and my mouse issue went away.
- http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20433
- Ricardo suggests blacklisting the usbkdb module.
- modeprobe.blacklist=usbkdb
- (kernel-arguments '("modprobe.blacklist=usbkbd"))
- I need to run
- #+BEGIN_SRC sh :results output
- $ guix pull
- # guix pull
- #+END_SRC
- ;; Edit configuration.scm to add ‘kernel-arguments’ to the config:
- ;; (operating-system
- ;; …
- ;; (kernel-arguments '("modprobe.blacklist=usbkbd")))
- ** getting tapping to work swell
- How do you list all of your input devices?
- https://wiki.archlinux.org/index.php/Libinput#Configuration
- #+BEGIN_SRC sh :results output :exports both
- xinput
- #+END_SRC
- #+RESULTS:
- #+begin_example
- ⎡ Virtual core pointer id=2 [master pointer (3)]
- ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
- ⎜ ↳ bcm5974 id=12 [slave pointer (2)]
- ⎣ Virtual core keyboard id=3 [master keyboard (2)]
- ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
- ↳ Power Button id=6 [slave keyboard (3)]
- ↳ Video Bus id=7 [slave keyboard (3)]
- ↳ Power Button id=8 [slave keyboard (3)]
- ↳ Sleep Button id=9 [slave keyboard (3)]
- ↳ Built-in iSight: Built-in iSigh id=10 [slave keyboard (3)]
- ↳ Apple Inc. Apple Internal Keyboard / Trackpad id=11 [slave keyboard (3)]
- #+end_example
- And it looks like #3 is my keyboard.
- Here's a question for ya. How do you know what driver is powering each input device?
- #+BEGIN_SRC sh :results output :exports both :dir /var/log
- cat Xorg.0.log | grep "Using input driver"
- #+END_SRC
- #+RESULTS:
- : [ 67.176] (II) Using input driver 'evdev' for 'Power Button'
- : [ 67.252] (II) Using input driver 'evdev' for 'Video Bus'
- : [ 67.253] (II) Using input driver 'evdev' for 'Power Button'
- : [ 67.254] (II) Using input driver 'evdev' for 'Sleep Button'
- : [ 67.255] (II) Using input driver 'evdev' for 'Built-in iSight: Built-in iSigh'
- : [ 67.256] (II) Using input driver 'evdev' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
- : [ 67.325] (II) Using input driver 'synaptics' for 'bcm5974'
|