* Cannot install Guix 1.0.1 on Asus K50C @ 2019-06-15 16:45 znavko 2019-06-15 18:22 ` znavko 0 siblings, 1 reply; 7+ messages in thread From: znavko @ 2019-06-15 16:45 UTC (permalink / raw) To: help-guix Hello! I have a buggy laptop Asus K50C. Time always breaks there (maybe battery but I do not want to solve). I've installed Guix using manual installation method. Notebook booting and during boot it stops after these lines: "[1.664111] tsc: Refined TSC clocksource calliration: 1500.340 MHz [1.664170] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x15a063d2c74, max_idle_ns: 440795230855 ns [1.664253] clocksource: Switched to clocksource tsc " this is the end. I press 'enter' it only adds new lines. I press Ctrl+C and get the 'bournish@(guile-user)> ' line. I've parted my disk like this: /dev/sdb1 1Mb Linux filesystem /dev/sdb2 50Gb Linux filesystem /dev/sdb3 14Gb Linux Swap Also, I've made ext4 on sdb2 and for /dev/sdb1 this: parted /dev/sdb set 1 bios_grub on I may have errors in config. This is my config I used for guix system init: http://termbin.com/67pf -------- ;-*- mode: Scheme; -*- ;;this is znavko's cute config (use-modules (gnu) (gnu system nss) (gnu system locale) ;;for locale-definition (gnu services desktop) (srfi srfi-1) ;;for remove function (gnu services networking) ;;for remove ntp (gnu services avahi) ;;for remove avahi (gnu services xorg) (gnu packages admin) ;;for wpa_supplicant ) (use-service-modules desktop) (use-package-modules certs gnome) (operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8") (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sdb"))) (file-systems (cons (file-system (device "/dev/sda2") (mount-point "/") (type "ext4")) %base-file-systems)) (swap-devices '("/dev/sda3")) (users (cons* (user-account (name "bob") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/bob")) (user-account (name "mom") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/mom")) %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (cons* nss-certs ;for HTTPS access gvfs ;for user mounts wpa-supplicant %base-packages)) (services (cons* ;; xfce4 desktop, dhcp-client, slim (service xfce-desktop-service-type) (service dhcp-client-service-type) ;; slim config for enabling touchpad tap (service slim-service-type (slim-configuration (xorg-configuration (xorg-configuration (extra-config '("Section "InputClass" Identifier "touchpad" Driver "libinput" MatchIsTouchpad "on" Option "Tapping" "on" EndSection") )))) ) (modify-services ;; removing unnecessary services (remove (lambda (service) (member (service-kind service) (list ntp-service-type avahi-service-type bluetooth-service network-manager-service-type gdm-service-type))) %desktop-services) ;end of remove lambda services ;; wpa_supplicant + dhcp-client (above) instead of networkmanager (wpa-supplicant-service-type config => (wpa-supplicant-configuration (interface "wlp2s0") (config-file "/etc/wpa_supplicant/wpa_supplicant.conf"))) ;; disabling sleep on closing notebook lid (elogind-service-type c => (elogind-configuration (handle-lid-switch 'ignore))) ) ;;end of modify-services )) ;;end of services ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss) ;;blacklist ugly sound speaker, blacklist ideapad_laptop for prevent soft blocking wlan (kernel-arguments '("modprobe.blacklist=pcspkr,snd_pcsp,bluetooth")) ) ;;end of operating-system ----------- I'd better prefer to use chat for solving this, but due to I use free VPN, freenode does not work for me. Please, what to do? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cannot install Guix 1.0.1 on Asus K50C 2019-06-15 16:45 Cannot install Guix 1.0.1 on Asus K50C znavko @ 2019-06-15 18:22 ` znavko 2019-06-15 18:54 ` pelzflorian (Florian Pelz) 2019-06-16 8:17 ` znavko 0 siblings, 2 replies; 7+ messages in thread From: znavko @ 2019-06-15 18:22 UTC (permalink / raw) To: help-guix I've changed config. Added initrd-modules that guix offered to me. And I reinitialized system. This message appears above clocksource messages: Loading kernel modules... ERROR: In procedure open-file: No such file or directory: "/gnu/store/qvhashahsh-linux-modules/sata-sis.ko" Entering a new prompt. Type ',bt' for a backtrace or ',q' to continue. GNU Guile 2.2.4 ... Humm. My another laptop parted only to root partition and swap, and it works. But here no any variant works. Config: this http://termbin.com/ni3a ;-*- mode: Scheme; -*- ;;this is znavko's cute config (use-modules (gnu) (gnu system nss) (gnu system locale) ;;for locale-definition (gnu services desktop) (srfi srfi-1) ;;for remove function (gnu services networking) ;;for remove ntp (gnu services avahi) ;;for remove avahi (gnu services xorg) (gnu packages admin) ;;for wpa_supplicant ) (use-service-modules desktop) (use-package-modules certs gnome) (operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8") (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sdb"))) (file-systems (cons (file-system (device "/dev/sdb2") (mount-point "/") (type "ext4")) %base-file-systems)) (swap-devices '("/dev/sdb3")) (initrd-modules (append (list "sata-sis") %base-initrd-modules)) (users (cons* (user-account (name "bob") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/bob")) (user-account (name "mom") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/mom")) %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (cons* nss-certs ;for HTTPS access gvfs ;for user mounts wpa-supplicant %base-packages)) (services (cons* ;; xfce4 desktop, dhcp-client, slim (service xfce-desktop-service-type) (service dhcp-client-service-type) ;; slim config for enabling touchpad tap (service slim-service-type (slim-configuration (xorg-configuration (xorg-configuration (extra-config '("Section \"InputClass\" Identifier \"touchpad\" Driver \"libinput\" MatchIsTouchpad \"on\" Option \"Tapping\" \"on\" EndSection") )))) ) (modify-services ;; removing unnecessary services (remove (lambda (service) (member (service-kind service) (list ntp-service-type avahi-service-type bluetooth-service network-manager-service-type gdm-service-type))) %desktop-services) ;end of remove lambda services ;; wpa_supplicant + dhcp-client (above) instead of networkmanager (wpa-supplicant-service-type config => (wpa-supplicant-configuration (interface "wlp2s0") (config-file "/etc/wpa_supplicant/wpa_supplicant.conf"))) ;; disabling sleep on closing notebook lid (elogind-service-type c => (elogind-configuration (handle-lid-switch 'ignore))) ) ;;end of modify-services )) ;;end of services ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss) ;;blacklist ugly sound speaker, blacklist ideapad_laptop for prevent soft blocking wlan (kernel-arguments '("modprobe.blacklist=pcspkr,snd_pcsp,bluetooth")) ) ;;end of operating-system June 15, 2019 4:46 PM, znavko@disroot.org wrote: > Hello! I have a buggy laptop Asus K50C. Time always breaks there (maybe battery but I do not want > to solve). > I've installed Guix using manual installation method. > Notebook booting and during boot it stops after these lines: > > "[1.664111] tsc: Refined TSC clocksource calliration: 1500.340 MHz > [1.664170] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x15a063d2c74, max_idle_ns: > 440795230855 ns > [1.664253] clocksource: Switched to clocksource tsc " > > this is the end. I press 'enter' it only adds new lines. I press Ctrl+C and get the > 'bournish@(guile-user)> ' line. > > I've parted my disk like this: > /dev/sdb1 1Mb Linux filesystem > /dev/sdb2 50Gb Linux filesystem > /dev/sdb3 14Gb Linux Swap > > Also, I've made ext4 on sdb2 and for /dev/sdb1 this: > parted /dev/sdb set 1 bios_grub on > I may have errors in config. This is my config I used for guix system init: > http://termbin.com/67pf > > -------- > > ;-*- mode: Scheme; -*- ;;this is znavko's cute config (use-modules (gnu) (gnu system nss) (gnu > system locale) ;;for locale-definition (gnu services desktop) (srfi srfi-1) ;;for remove function > (gnu services networking) ;;for remove ntp (gnu services avahi) ;;for remove avahi (gnu services > xorg) (gnu packages admin) ;;for wpa_supplicant ) (use-service-modules desktop) > (use-package-modules certs gnome) (operating-system (host-name "antelope") (timezone > "Europe/Moscow") (locale "en_US.utf8") (bootloader (bootloader-configuration (bootloader > grub-bootloader) (target "/dev/sdb"))) (file-systems (cons (file-system (device "/dev/sda2") > (mount-point "/") (type "ext4")) %base-file-systems)) (swap-devices '("/dev/sda3")) (users (cons* > (user-account (name "bob") (group "users") (supplementary-groups '("wheel" "netdev" "audio" > "video")) (home-directory "/home/bob")) (user-account (name "mom") (group "users") > (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/mom")) > %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (cons* nss-certs > ;for HTTPS access gvfs ;for user mounts wpa-supplicant %base-packages)) (services (cons* ;; xfce4 > desktop, dhcp-client, slim (service xfce-desktop-service-type) (service dhcp-client-service-type) > ;; slim config for enabling touchpad tap (service slim-service-type (slim-configuration > (xorg-configuration (xorg-configuration (extra-config '("Section "InputClass" Identifier "touchpad" > Driver "libinput" MatchIsTouchpad "on" Option "Tapping" "on" EndSection") )))) ) (modify-services > ;; removing unnecessary services (remove (lambda (service) (member (service-kind service) (list > ntp-service-type avahi-service-type bluetooth-service network-manager-service-type > gdm-service-type))) %desktop-services) ;end of remove lambda services ;; wpa_supplicant + > dhcp-client (above) instead of networkmanager (wpa-supplicant-service-type config => > (wpa-supplicant-configuration (interface "wlp2s0") (config-file > "/etc/wpa_supplicant/wpa_supplicant.conf"))) ;; disabling sleep on closing notebook lid > (elogind-service-type c => (elogind-configuration (handle-lid-switch 'ignore))) ) ;;end of > modify-services )) ;;end of services ;; Allow resolution of '.local' host names with mDNS. > (name-service-switch %mdns-host-lookup-nss) ;;blacklist ugly sound speaker, blacklist > ideapad_laptop for prevent soft blocking wlan (kernel-arguments > '("modprobe.blacklist=pcspkr,snd_pcsp,bluetooth")) ) ;;end of operating-system ----------- I'd > better prefer to use chat for solving this, but due to I use free VPN, freenode does not work for > me. Please, what to do? ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cannot install Guix 1.0.1 on Asus K50C 2019-06-15 18:22 ` znavko @ 2019-06-15 18:54 ` pelzflorian (Florian Pelz) 2019-06-16 8:17 ` znavko 1 sibling, 0 replies; 7+ messages in thread From: pelzflorian (Florian Pelz) @ 2019-06-15 18:54 UTC (permalink / raw) To: znavko; +Cc: help-guix On Sat, Jun 15, 2019 at 06:22:00PM +0000, znavko@disroot.org wrote: > I've changed config. Added initrd-modules that guix offered to me. And I reinitialized system. > […] > ERROR: In procedure open-file: No such file or directory: "/gnu/store/qvhashahsh-linux-modules/sata-sis.ko" It is looking for sata-sis.ko, but the file is called sata_sis.ko. I remember <https://issues.guix.info/issue/31598>. Does this solution help, i.e. using sata_sis in initrd-modules and perhaps using --skip-checks as described there? Regards, Florian ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cannot install Guix 1.0.1 on Asus K50C 2019-06-15 18:22 ` znavko 2019-06-15 18:54 ` pelzflorian (Florian Pelz) @ 2019-06-16 8:17 ` znavko 2019-06-16 8:39 ` pelzflorian (Florian Pelz) 2019-06-16 10:29 ` znavko 1 sibling, 2 replies; 7+ messages in thread From: znavko @ 2019-06-16 8:17 UTC (permalink / raw) To: pelzflorian (Florian Pelz); +Cc: help-guix Hi, Florian! I have reinit system with config like this: (initrd-modules (append (list "sata_sis") %base-initrd-modules)) where underscore is placed instead of dash: sata_sis. I did not understand where should I type --skip-checks, sorry. Also, I am not sure partitioning is right: Disk /dev/sdb: 59.6 GiB, 64023257088 bytes, 125045424 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: AB9A165C-BB51-8C47-813D-10219657F602 Device Start End Sectors Size Type /dev/sdb1 2048 157695 155648 76M BIOS boot /dev/sdb2 157696 105625599 105467904 50.3G Linux filesystem /dev/sdb3 105625600 125045390 19419791 9.3G Linux swap I use BIOS Grub, so I created a separate partition of type BIOS boot and size 76Mb. Am I right of its size? And I fulfilled this: parted /dev/sdb set 1 bios_grub on as it is described here: https://www.gnu.org/software/grub/manual/grub/html_node/BIOS-installation.html#BIOS-installation Also, may be I need to update by usb flash, cause there is Guix 1.0.1 of age 3 weeks. Might be the new image has some bugfixes for me? The result of initialization and reboot is the next. Boot stops on locksource as it was before. And above I see this: isci: Intel(R) C600 SAS Controller Driver - version 1.2.0 ext2s_checks_if_mount: Can't check if filesystem is mounted due to missing mtab e2fsck: No such file or directory while trying open /dev/sdb2 Possibly non-existent device? File system check on /dev/sdb2 failed Spawning Bourne-like REPL. GNU Guile 2.2.4 Please, should I type /dev/sda everywhere in config.scm instead of /dev/sdb? When I boot to usb my ssd disk is showing like /dev/sdb, but when I boot from ssd disk it is /dev/sda, so this config does not work. And this ubiquitous option was not described in manual. I always read: "For legacy systems, the target field names a device, like /dev/sda;... " So, what to do? This is my config: (operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8") (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sdb"))) (file-systems (cons (file-system (device "/dev/sdb2") (mount-point "/") (type "ext4")) %base-file-systems)) (swap-devices '("/dev/sdb3")) (initrd-modules (append (list "sata_sis") %base-initrd-modules)) June 15, 2019 6:54 PM, "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> wrote: > On Sat, Jun 15, 2019 at 06:22:00PM +0000, znavko@disroot.org wrote: > >> I've changed config. Added initrd-modules that guix offered to me. And I reinitialized system. >> […] >> ERROR: In procedure open-file: No such file or directory: >> "/gnu/store/qvhashahsh-linux-modules/sata-sis.ko" > > It is looking for sata-sis.ko, but the file is called sata_sis.ko. > > I remember <https://issues.guix.info/issue/31598>. > > Does this solution help, i.e. using sata_sis in initrd-modules and > perhaps using --skip-checks as described there? > > Regards, > Florian ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cannot install Guix 1.0.1 on Asus K50C 2019-06-16 8:17 ` znavko @ 2019-06-16 8:39 ` pelzflorian (Florian Pelz) 2019-06-16 10:29 ` znavko 1 sibling, 0 replies; 7+ messages in thread From: pelzflorian (Florian Pelz) @ 2019-06-16 8:39 UTC (permalink / raw) To: znavko; +Cc: help-guix On Sun, Jun 16, 2019 at 08:17:56AM +0000, znavko@disroot.org wrote: > Hi, Florian! I have reinit system with config like this: > > (initrd-modules (append (list "sata_sis") > %base-initrd-modules)) > > where underscore is placed instead of dash: sata_sis. > Yes. > I did not understand where should I type --skip-checks, sorry. > Maybe you do not need it. If it fails without --skip-checks, it is `guix system reconfigure --skip-checks /path/to/your/config.scm`. Please try without --skip-checks first. It may be a bug if this is necessary. > I use BIOS Grub, so I created a separate partition of type BIOS boot and size 76Mb. Am I right of > its size? I believe it is sufficient, although you do not need to use a separate /boot partition. > Also, may be I need to update by usb flash, cause there is Guix 1.0.1 of age 3 weeks. Might be the > new image has some bugfixes for me? > I do not know if there were changes to kernel modules. > Please, should I type /dev/sda everywhere in config.scm instead of /dev/sdb? When I boot to usb my ssd disk is showing like /dev/sdb, but when I boot from ssd disk it is /dev/sda, so this config does not work. And this ubiquitous option was not described in manual. I always read: > "For legacy systems, the target field names a device, like /dev/sda;... " > > So, what to do? > Please use UUIDs to name the devices, as described in the manual. Regards, Florian ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cannot install Guix 1.0.1 on Asus K50C 2019-06-16 8:17 ` znavko 2019-06-16 8:39 ` pelzflorian (Florian Pelz) @ 2019-06-16 10:29 ` znavko 2019-06-16 11:16 ` pelzflorian (Florian Pelz) 1 sibling, 1 reply; 7+ messages in thread From: znavko @ 2019-06-16 10:29 UTC (permalink / raw) To: pelzflorian (Florian Pelz); +Cc: help-guix Thank you! The installation was finished ok. But 'reboot' after system initialization (as manual says) did not worked ever on my Asus K50C. I've used in config the name of device as /dev/sda everywhere, and Guix runs ok. Think, manual should have notices about it for those not want to use label of device. Also if I do not use separate partition for bios grub, guix says that it is not allowed (but on my other laptop i have only one partition for root and grub). Also the size of grub partition was 200Mb first, and somebody said I need only 1Mb, but I've seen my other notebook's /boot directory has files about 20Mb, so I've create boot partition with 80Mb space. And I see this now: # du -h /boot 2.3M /boot/grub/fonts 4.2M /boot/grub/locale 2.4M /boot/grub/i386-pc 8.9M /boot/grub 8.9M /boot The next trouble connects to my VGA Display Adapter Sis 771/671 and its driver. I've solved this on ubuntu, and now I will push another email for get my screen works normal resolution on Guix. June 16, 2019 8:40 AM, "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> wrote: > On Sun, Jun 16, 2019 at 08:17:56AM +0000, znavko@disroot.org wrote: > >> Hi, Florian! I have reinit system with config like this: >> >> (initrd-modules (append (list "sata_sis") >> %base-initrd-modules)) >> >> where underscore is placed instead of dash: sata_sis. > > Yes. > >> I did not understand where should I type --skip-checks, sorry. > > Maybe you do not need it. If it fails without --skip-checks, it is > `guix system reconfigure --skip-checks /path/to/your/config.scm`. > Please try without --skip-checks first. It may be a bug if this is > necessary. > >> I use BIOS Grub, so I created a separate partition of type BIOS boot and size 76Mb. Am I right of >> its size? > > I believe it is sufficient, although you do not need to use a separate > /boot partition. > >> Also, may be I need to update by usb flash, cause there is Guix 1.0.1 of age 3 weeks. Might be the >> new image has some bugfixes for me? > > I do not know if there were changes to kernel modules. > >> Please, should I type /dev/sda everywhere in config.scm instead of /dev/sdb? When I boot to usb my >> ssd disk is showing like /dev/sdb, but when I boot from ssd disk it is /dev/sda, so this config >> does not work. And this ubiquitous option was not described in manual. I always read: >> "For legacy systems, the target field names a device, like /dev/sda;... " >> >> So, what to do? > > Please use UUIDs to name the devices, as described in the manual. > > Regards, > Florian ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Cannot install Guix 1.0.1 on Asus K50C 2019-06-16 10:29 ` znavko @ 2019-06-16 11:16 ` pelzflorian (Florian Pelz) 0 siblings, 0 replies; 7+ messages in thread From: pelzflorian (Florian Pelz) @ 2019-06-16 11:16 UTC (permalink / raw) To: znavko; +Cc: help-guix On Sun, Jun 16, 2019 at 10:29:44AM +0000, znavko@disroot.org wrote: > I've used in config the name of device as /dev/sda everywhere, and Guix runs ok. Think, manual should have notices about it for those not want to use label of device. Using /dev/sda is perhaps not reliable when you have plugged in other hard drives or storage media. The manual should not recommend /dev/sda in my opinion. > Also if I do not use separate partition for bios grub, guix says that it is not allowed (but on my other laptop i have only one partition for root and grub). Please file bugs with information what was needed to make Guix work, if you have the time. :) It is helpful and important work. I believe not all developers have time to read help-guix (and am not knowledgeable enough and do not see myself as a Guix developer). In particular, it is a bug if the graphical installer does not work for you. I wish you a good time with Guix. Regards, Florian ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2019-06-16 11:17 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-06-15 16:45 Cannot install Guix 1.0.1 on Asus K50C znavko 2019-06-15 18:22 ` znavko 2019-06-15 18:54 ` pelzflorian (Florian Pelz) 2019-06-16 8:17 ` znavko 2019-06-16 8:39 ` pelzflorian (Florian Pelz) 2019-06-16 10:29 ` znavko 2019-06-16 11:16 ` pelzflorian (Florian Pelz)
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.