Re: [Trisquel-users] Notebook 15.6'' for LibreBoot 500 usd or less?
I did not found in Russian shops such models. I've found these two models in russian webshop: https://www.dns-shop.ru/catalog/17a892f816404e77/noutbuki/?order=1=none=2=25000-5[65w]=266b[680]=26xe[65f]=264j-264h But I cannot see exactly model of wifi card: https://www.asus.com/Laptops/ASUS-VivoBook-15-X540UA/specifications/ And here I'm not see exactly that Acer from that first page: https://www.acer.com/ac/en/US/content/models/laptops/aspire3 I cannot use Ebay, cause I want guarantee, for not to lose money. Can you recommend something from Lenovo, Acer and Asus official pages? https://www.lenovo.com/ru/ru/laptops/thinkpad/t-series/c/t-series
[Trisquel-users] Notebook 15.6'' for LibreBoot 500 usd or less?
Hello! I use Libreboot and want to buy new notebook for the internet, Icecat Openshot, Gimp. But I live in Russia, here we have too tiny choice in tech shops. Please, what you recommend for libreboot costing about 500 usd? I heard laptop without 802.11 wifi might be good, cause drivers may lack for 802.11. How to choose another not 802.11 wifi? Can you say something exactly? I use dns-shop.ru
Re: [Trisquel-users] Settings after Trisquel 8 installation
NetworkManager does not connect it only control interfaces using wpa_supplicant for low-level functions. I do not need this buffer so I use only wpa_supplicant. The main reason is that NM save password as it is. wpa_supplicant without NM is more secure. Iptables is that buffer between user and kernel module named Netfilter that get user commands and rely it to netfilter rules. Just this. I do not use any gui firewall cause I do not think there is any good soft. In Linux there are only command line features like iptables, nmap, netstat for controlling and monitoring network. My iptables rules for desktop allow any outgoing traffic (`output accept`), decline all incoming traffic except established and related connections. As I understand only web-sites that I am requesting may send me answer to open ports. Also ftp, I think. Also it allows any ethernet connections (but I do not use ethernet, only wifi). ICMP , I'm not sure, just copied as it was in the example.
[Trisquel-users] Settings after Trisquel 8 installation
Hello! I use Trisqule + LXDE + Lightdm on Laptop 1.9 MHz, 8GB Ram. After installation I turn environment like this. I delete unnecessary packages, install necessary packages, disable NetworkManager and create wpa-supplicant unit for systemd, also configure iptables, tor, icecat. numlockx for auto switch on numlock after boot. # Install and delete packages 2 apt-get install apt-file icecat gimp audacious audacity abrowser thunar geany tor iptables openvpn filezilla evince pdftk libreoffice git numlockx 4 apt-get remove sylpheed pidgin xfburn xsane xscreensaver # Remove unnecessary units from systemd # Networkmanager save wifi password so I do not use it 5 systemctl disable NetworkManager # acpid reacts on events listening own file. systemd does this. so I disable acpid systemctl disable acpid systemctl disable acpid.path systemctl disable acpid.socket # if have no printers disable cups - print service 252 systemctl disable cups # friendly recovery mode - what's this? 256 systemctl disable friendly-recovery.service # if you would like to turn clock manually without system connects to time server disable time synchronization 260 systemctl disable systemd-timesyncd.service 261 systemctl status ureadahead.service # not having LAN disable remote-fs and avahi 265 systemctl disable remote-fs.target 334 systemctl disable avahi-daemon.service Internet through wpa_supplicant # cat /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=/run/wpa_supplicant ctrl_interface_group=0 update_config=1 network={ ssid="homewifi" scan_ssid=1 proto=WPA2 key_mgmt=WPA-PSK psk=hashmyhash } # ifconfig wlp2s0 up # wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf # dhclient wlp2s0 & # ping fsf.org ..it goes ok.. # cat wpa2.service [Unit] Description=WPA 2 Wants=network.target After=sys-subsystem-net-devices-wlp2s0.device Before=network.target BindsTo=sys-subsystem-net-devices-wlp2s0.device [Service] Type=oneshot RemainAfterExit=yes ExecStart=/sbin/ifconfig wlp2s0 up ExecStart=/sbin/wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/wpa_supplicant.conf ExecStart=/sbin/dhclient wlp2s0 [Install] WantedBy=multi-user.target # systemctl enable wpa2.service Iptables configuration nano /etc/iptables-desktop.config cat /etc/iptables-desktop.config *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT -A INPUT -m state ! --state NEW -j DROP -A INPUT -i lo -j ACCEPT -A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT COMMIT iptables-restore < /etc/iptables-desktop.config service iptables save # installing iptables-persitant for run firewall configurations with systemd after boot apt-get install iptables-persistant
Re: [Trisquel-users] Thank you Trisquel.
I never tried Parbola. I cannot say why I'm using GuixSD, but I wish to install Linux From Scratches. So if you have similar way you can try it. I did not got any problems on GuixSD.
Re: [Trisquel-users] Thank you Trisquel.
Ought to admit Youtube as a resource where I've got help. Here it is: https://www.youtube.com/watch?v=fKXrGfDnUCk The main problem is to get configuration file. Lahcen Agchar's video solved for me. Also video gived me idea how to part disk. I have GuixSD with XFCE, when I tried different typing to change xfce to LXDE I could not. But I know there are not only XFCE, but LXDE and others. This is my /etc/config.scm $ cat /etc/config.scm ;; This is an operating system configuration template ;; for a "desktop" setup with GNOME and Xfce where the ;; root partition is encrypted with LUKS. (use-modules (gnu) (gnu system nss)) (use-service-modules desktop) (use-package-modules certs gnome) (operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8") ;; Use the UEFI variant of GRUB with the EFI System ;; Partition mounted on /boot/efi. (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda"))) ;; Specify a mapped device for the encrypted root partition. ;; The UUID is that returned by 'cryptsetup luksUUID'. ;(mapped-devices ; (list (mapped-device ;(source (uuid "12345678-1234-1234-1234-123456789abc")) ;(target "my-root") ;(type luks-device-mapping (file-systems (cons (file-system (device "/dev/sda1") (mount-point "/") (type "ext4") ) %base-file-systems)) (swap-devices '("/dev/sda2")) (users (cons (user-account (name "znavko") (comment "zna vko") (group "users") (supplementary-groups '("wheel" "netdev" "audio" "video")) (home-directory "/home/znavko")) %base-user-accounts)) ;; This is where we specify system-wide packages. (packages (cons* nss-certs ;for HTTPS access gvfs ;for user mounts %base-packages)) ;; Add GNOME and/or Xfce---we can choose at the log-in ;; screen with F1. Use the "desktop" services, which ;; include the X11 log-in service, networking with ;; NetworkManager, and more. (services (cons* (xfce-desktop-service) %desktop-services)) ;; Allow resolution of '.local' host names with mDNS. (name-service-switch %mdns-host-lookup-nss))
Re: [Trisquel-users] Thank you Trisquel.
I want to add my experience here. I have too old and slow laptop Lenovo G50-30. Trisquel boots in 33 seconds. This is faster than all other GNU/Linux distributions. I have another older and slower laptop Asus X552E, it runs GNU GuixSD, boot time is 30 seconds. I have no troubles with my devices (but I had when run ubuntu 11,12 on asus with that videocard). But Trisquel, GuixSD work always fine. I evaluate this as community achievement and want to become a member. Only web can help me to find support. This forum is quiet necessary. Thank you all FSF followers.
[Trisquel-users] Improper shutdown caused the filesystem log error
Hello, trisquel users! Want to ask about a bug I've got. trisquel 8.0 booted into login screen, after that I pushed the power button and switched it off (improper power-off). Then I had a bug: after switching-on trisquel showed me background and then black screen with info like 'Welcome to emergency mode! see journal -xb to discover logs. use systemctl default to boot default mode.' so I rebooted and nothing changed. I studied `mount` output and discovered that /home war not mounted. I typed: mount /dev/sda6 /home It said that logs are corrupted. Use xfs_repair logs zeroing helped this time: xfs_repair -L /dev/sda6 reboot And everything went ok. System booted normally. Please. Is it a bug? Which logs I need to push a bug ?
Re: [Trisquel-users] Telegram/Tray (Mate Panel) Bug
m.b. lxde?
Re: [Trisquel-users] Let me several questions about kernel compilation?
I tried completely to disable all options in linux-libre-4.17.3-gnu kernel and compile it. I installed kernel and modules and then booted to iniramfs, so my system works not proper way on it. I need safely delete new broken kernels. How to do this? # dpkg -l | grep linux-image | awk '{print$2}' linux-image-4.4.0-119-generic linux-image-extra-4.4.0-119-generic linux-image-generic # ls /boot abi-4.4.0-119-generic retpoline-4.4.0-119-generic config-4.17.3-gnu System.map-4.17.3-gnu config-4.17.3-gnu.old System.map-4.17.3-gnu.old config-4.4.0-119-generic System.map-4.4.0-119-generic config-4.4.15-gnu System.map-4.4.15-gnu grub vmlinuz-4.17.3-gnu initrd.img-4.17.3-gnu vmlinuz-4.17.3-gnu.old initrd.img-4.4.0-119-generic vmlinuz-4.4.0-119-generic initrd.img-4.4.15-gnu vmlinuz-4.4.15-gnu # ls /lib/modules/ 4.17.3-gnu 4.4.0-119-generic 4.4.15-gnu -- Please, how delete 4.17.3-gnu, vmlinuz-4.17.3-gnu.old ?? will my pc boot correctly after # rm -rf vmlinuz-4.17* System.map-4.17* config-4.17* initrd.img-4.17.3-gnu /lib/modules/4.17.3-gnu # update-grub # reboot -- Or it needs something else?
Re: [Trisquel-users] How exactly display grub menu on trisquel's boot?
ok. i found my other kernels in option "Advanced options" in grub
Re: [Trisquel-users] How exactly display grub menu on trisquel's boot?
Ok. I get it pressing Shift during boot. But I see only one option "Trisquel" I have two kernels. How to make them all visible in grub? $ ls /boot abi-4.4.0-119-generic retpoline-4.4.0-119-generic abi-4.4.0-128-generic retpoline-4.4.0-128-generic config-4.17.3-gnu System.map-4.17.3-gnu config-4.4.0-119-generic System.map-4.4.0-119-generic config-4.4.0-128-generic System.map-4.4.0-128-generic grub vmlinuz-4.17.3-gnu initrd.img-4.17.3-gnu vmlinuz-4.4.0-119-generic initrd.img-4.4.0-119-generic vmlinuz-4.4.0-128-generic initrd.img-4.4.0-128-generic # LANG=en-us update-grub Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image: /boot/vmlinuz-4.17.3-gnu Found initrd image: /boot/initrd.img-4.17.3-gnu Found linux image: /boot/vmlinuz-4.4.0-128-generic Found initrd image: /boot/initrd.img-4.4.0-128-generic Found linux image: /boot/vmlinuz-4.4.0-119-generic Found initrd image: /boot/initrd.img-4.4.0-119-generic done
[Trisquel-users] How exactly display grub menu on trisquel's boot?
I have two kernels and will compile with new configs. I try to make grub menu visible on trisquel. But all recommendations in web do not work.
Re: [Trisquel-users] Let me several questions about kernel compilation?
jxself, thanks a lot! I have compiled last Libre-linux and successfully boot into it. I used only menuconfig and disabled bluetooth, ipv6, xen, all wifi modules except my atheros. But the kernel boot time becomes twice bigger then I had on 4.4.0 Now I have: $ uname -a Linux asus 4.17.3-gnu #1 SMP Wed Jun 27 21:09:44 +03 2018 x86_64 x86_64 x86_64 GNU/Linux $ systemd-analyze Startup finished in 35.301s (kernel) + 1min 38.982s (userspace) = 2min 14.284s $ cat /home/user/kernel/mybuild/.config | nc termbin.com http://termbin.com/xer0 $ dmesg [ 23.880080] usb 5-2: new full-speed USB device number 2 using xhci_hcd [ 23.952630] ACPI: Video Device [VGA] (multi-head: yes rom: no post: no) [ 23.989023] 3ACPI BIOS Error (bug): Could not resolve [^^^PB2.VGA.AFN7], AE_NOT_FOUND (20180313/psargs-330) [ 23.989054] ACPI Error: Method parse/execution failed \_SB.PCI0.VGA.LCDD._BCM, AE_NOT_FOUND (20180313/psparse-516) [ 23.991492] ACPI Error: Evaluating _BCM failed (20180313/video-364) [ 23.993303] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9 But I had on 4.4.0 this: $ systemd-analyze Startup finished in 11.933s (kernel) + 5.280s (userspace) = 17.214s $ cat /boot/config-4.4.0-128-generic | nc termbin.com http://termbin.com/rf1q and I had bluetooth errors on boot. I think boot time depends on components that are enabled in 4.17.3 kernel. Please, let me know how to optimize kernel in my situation?
Re: [Trisquel-users] systemd unit for wpa_supplicant & dhclient on trisquel (Ubuntu)
In openrc my configuration was much simpler. I only wrote /etc/wpa_supplicant/wpa_supplicant.conf and added to openrc wpa_supplicand and dhcpcd services. So this worked without any actions from my side. Systemd has lot of specific functions, adding services more difficult. I tried 'Type=Simple' as somebody offered foo service in web and it did not work. I tried also 'ExecStop=command1 && command2' and it caused the error when I stop the service. Also I used this one I have seen in web 'WantedBy=multi-user.target' .
Re: [Trisquel-users] Let me several questions about kernel compilation?
ok. I see it. When I do not touch config `make` finishes ok. But now I switched off IrDa, Bluetooth, Xen drivers, Hyper-V, Fujitsu, all wifi manufacturers except my Atheros. And make failed with this: LD arch/x86/boot/compressed/vmlinux ZOFFSET arch/x86/boot/zoffset.h OBJCOPY arch/x86/boot/vmlinux.bin AS arch/x86/boot/header.o LD arch/x86/boot/setup.elf OBJCOPY arch/x86/boot/setup.bin BUILD arch/x86/boot/bzImage Setup is 17372 bytes (padded to 17408 bytes). System is 5424 kB CRC 4a768971 Kernel: arch/x86/boot/bzImage is ready (#1) ERROR: "hci_register_dev" [ubuntu/rsi/ven_rsi_91x.ko] undefined! ERROR: "hci_recv_frame" [ubuntu/rsi/ven_rsi_91x.ko] undefined! ERROR: "hci_unregister_dev" [ubuntu/rsi/ven_rsi_91x.ko] undefined! ERROR: "hci_alloc_dev" [ubuntu/rsi/ven_rsi_91x.ko] undefined! ERROR: "hci_free_dev" [ubuntu/rsi/ven_rsi_91x.ko] undefined! /home/user/kernel/linux-4.4.0/scripts/Makefile.modpost:91: Error execution operation for «__modpost» make[2]: *** [__modpost] Error 1 /home/user/kernel/linux-4.4.0/Makefile:1153: Error execution operation for «modules» make[1]: *** [modules] Error 2 make[1]: exiting directory «/home/user/kernel/mybuild» Makefile:152: Error execution operation for «sub-make» make: *** [sub-make] Error 2 # cat /home/user/kernel/mybuild/.config | nc termbin.com http://termbin.com/ef1w Please, teach me how disable unnecessary stuff knowing definitely make will not stop.
Re: [Trisquel-users] systemd unit for wpa_supplicant & dhclient on trisquel (Ubuntu)
I solved this issue. I modified service script and it starts and stops in a proper way. So each command must have own line ExecStart, cannot use &&. Also `enable` was not working cause needs to put service file to /lib/systemd/system/wpa_supplicant_my.service and then generate a link. This is how to make service works: # cat /lib/systemd/system/wpa_supplicant_my.service [Unit] Description=Start WPA Supplicant and Dhclient After=network.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/sbin/wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant/wpa_supplicant.conf ExecStart=/sbin/dhclient wlp1s0 ExecStop=/usr/bin/killall -q wpa_supplicant ExecStop=/usr/bin/killall -q dhclient #TimeoutStartSec=5sec [Install] WantedBy=multi-user.target # systemctl link /lib/systemd/system/wpa_supplicant_my.service # systemctl start wpa_supplicant_my.service # systemctl enable wpa_supplicant_my.service After reboot I have wifi. # systemctl status wpa_supplicant_my.service ● wpa_supplicant_my.service - Start WPA Supplicant and Dhclient Loaded: loaded (/lib/systemd/system/wpa_supplicant_my.service; enabled; vendo Active: active (exited) since Сб 2018-06-16 23:27:02 +03; 6min ago Process: 985 ExecStart=/sbin/dhclient wlp1s0 (code=exited, status=0/SUCCESS) Process: 967 ExecStart=/sbin/wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplican Main PID: 985 (code=exited, status=0/SUCCESS) CGroup: /system.slice/wpa_supplicant_my.service ├─ 984 /sbin/wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant/wpa_s └─1221 /sbin/dhclient wlp1s0 июн 16 23:26:57 asus systemd[1]: Starting Start WPA Supplicant and Dhclient... июн 16 23:26:57 asus wpa_supplicant[967]: Successfully initialized wpa_supplican июн 16 23:26:58 asus root[998]: /etc/dhcp/dhclient-enter-hooks.d/avahi-autoipd r июн 16 23:26:58 asus dhclient[985]: DHCPREQUEST of 192.168.1.68 on wlp1s0 to 255 июн 16 23:27:01 asus dhclient[985]: DHCPREQUEST of 192.168.1.68 on wlp1s0 to 255 июн 16 23:27:01 asus dhclient[985]: DHCPACK of 192.168.1.68 from 192.168.1.1 июн 16 23:27:02 asus dhclient[985]: bound to 192.168.1.68 -- renewal in 10977 se июн 16 23:27:02 asus systemd[1]: Started Start WPA Supplicant and Dhclient. The next question is: How to watch if wifi is broken and down and then make my service restarts?
[Trisquel-users] systemd unit for wpa_supplicant & dhclient on trisquel (Ubuntu)
Hello! I cannot see networkmanager's slow work. I disabled NetworkManager and wpa__supplicant services this way: # systemctl disable NetworkManager # systemctl disable NetworkManager-wait-online # systemctl disable wpa_supplicant also I deleted dnsmasq for prevent possible errors. I connect via wpa_supplicant & dhclient usig this config and this line: # cat /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=sudo update_config=1 network={ ssid="internet" scan_ssid=1 psk=hashlonghash proto=RSN key_mgmt=WPA-PSK } # /sbin/wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant/wpa_supplicant.conf && /sbin/dhclient wlp1s0 Now I want to add this line to systemd. I created Unit that does not work: # cat /etc/wpa_supplicant/wpa_supplicant_my.service [Unit] Description=Start WPA Supplicant and Dhclient After=network.target [Service] Type=oneshot ExecStart=/sbin/wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant/wpa_supplicant.conf && /sbin/dhclient wlp1s0 ExecStop=/usr/bin/killall -q wpa_supplicant && /usr/bin/killall -q dhclient #RemainAfterExit=true #TimeoutStartSec=5sec [Install] WantedBy=multi-user.target # systemctl link /etc/wpa_supplicant/wpa_supplicant_my.service # systemctl start wpa_supplicant_my.service Job for wpa_supplicant_my.service failed because the control process exited with error code. See "systemctl status wpa_supplicant_my.service" and "journalctl -xe" for details. # systemctl status wpa_supplicant ● wpa_supplicant_my.service - Start WPA Supplicant and Dhclient Loaded: loaded (/etc/wpa_supplicant/wpa_supplicant_my.service; linked; vendor preset: enabled) Active: failed (Result: exit-code) since Сб 2018-06-16 22:41:26 +03; 14s ago Process: 1412 ExecStop=/usr/bin/killall -q wpa_supplicant && /usr/bin/killall -q dhclient (code=exited, status=1/FAILURE) Process: 1409 ExecStart=/sbin/wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant/wpa_supplicant.conf && /sbin/dhclient wlp1s0 (code=exited, status= Main PID: 1409 (code=exited, status=0/SUCCESS) июн 16 22:41:26 asus systemd[1]: Starting Start WPA Supplicant and Dhclient... июн 16 22:41:26 asus wpa_supplicant[1409]: Successfully initialized wpa_supplicant июн 16 22:41:26 asus systemd[1]: wpa_supplicant_my.service: Control process exited, code=exited status=1 июн 16 22:41:26 asus systemd[1]: Failed to start Start WPA Supplicant and Dhclient. июн 16 22:41:26 asus systemd[1]: wpa_supplicant_my.service: Unit entered failed state. июн 16 22:41:26 asus systemd[1]: wpa_supplicant_my.service: Failed with result 'exit-code'. # systemctl enable wpa_supplicant_my.service Failed to execute operation: Too many levels of symbolic links # /sbin/wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant/wpa_supplicant.conf && /sbin/dhclient wlp1s0 Successfully initialized wpa_supplicant # ps -aux | grep -e wpa -e dhclient root 1405 0.0 0.0 26108 3456 pts/0T22:41 0:00 systemctl status wpa_supplicant_my root 1461 0.0 0.0 52476 3140 ?Ss 22:44 0:00 /sbin/wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant/wpa_supplicant.conf root 1563 0.0 0.0 16124 860 ?Ss 22:44 0:00 /sbin/dhclient wlp1s0 root 1565 0.0 0.0 14188 928 pts/0S+ 22:44 0:00 grep --color=auto -e wpa -e dhclient # systemctl stop wpa_supplicant_my # ps -aux | grep -e wpa -e dhclient root 1405 0.0 0.0 26108 3456 pts/0T22:41 0:00 systemctl status wpa_supplicant_my root 1461 0.0 0.0 52476 3140 ?Ss 22:44 0:00 /sbin/wpa_supplicant -B -i wlp1s0 -c /etc/wpa_supplicant/wpa_supplicant.conf root 1563 0.0 0.0 16124 860 ?Ss 22:44 0:00 /sbin/dhclient wlp1s0 root 1569 0.0 0.0 14188 1092 pts/0S+ 22:44 0:00 grep --color=auto -e wpa -e dhclient Please, why it does not enable with error: Failed to execute operation: Too many levels of symbolic links ??? Why it does not kill processes when stops and why id does not start?
Re: [Trisquel-users] Speed up boot process of Trisquel 8
Trisquel as Ubuntu clone is user-friendly but is not good optimized. Please, any info you'll get will be quiet useful.
Re: [Trisquel-users] Let me several questions about kernel compilation?
-2nd laptop-- # cat /etc/apt/sources.list # deb cdrom:[Trisquel 8.0 _flidas_ - Release amd64 (20180417)]/ flidas main # Trisquel repositories for supported software and updates deb https://archive.trisquel.info/trisquel/ flidas main deb-src https://archive.trisquel.info/trisquel/ flidas main deb https://archive.trisquel.info/trisquel/ flidas-security main deb-src https://archive.trisquel.info/trisquel/ flidas-security main deb https://archive.trisquel.info/trisquel/ flidas-updates main deb-src https://archive.trisquel.info/trisquel/ flidas-updates main # deb http://mirrors.serverhost.ro/trisquel/packages flidas-backports main # deb-src http://mirrors.serverhost.ro/trisquel/packages flidas-backports main
Re: [Trisquel-users] Let me several questions about kernel compilation?
Hello! I tried to compile linux-source-4.4.0 without any changes, resting config as it was there. # make menuconfig ...without any changes I saved .config # make it worked ok. So now I try again to make with no bluetooth and no irda. Every time I have difficult to understand why Xen, Android, Fujitsu, Miscrosoft Hyper-V and many other stuff are there. When I switching off all I see as unnecessary the make breaks. `make` takes 10 hours for my asus x552e.
Re: [Trisquel-users] Speed up boot process of Trisquel 8
I cannot know exactly cause I see names there for a first time now: gdomap, irqbalance, acpid, atd, setvtrgb, remote-fs-pre, nss-user-lookup. You should have rescue usb flash to boot with it, to mount broken system and reconfigure it. disabling ofono, openvpn is ok. disabling avahi is ok too https://ccm.net/faq/739-disabling-the-avahi-daemon
Re: [Trisquel-users] Speed up boot process of Trisquel 8
you know I disabled tor service and tor@default service and my systemd says this: # systemd-analyze Startup finished in 13.233s (kernel) + 2.998s (userspace) = 16.231s This means minus 16 seconds from userspace as in my previous post. Now I search how to move this and other services loading to later time after I see login page to speed up boot. kernel loads very slowly 13 seconds is far from best. needs to learn which services are unnecessary like CUPS (printer), openvpn and so on from here `systemctl list-units`
Re: [Trisquel-users] Why does wpa_supplicant presents in my system?
thank you. Is there any free alternative?
[Trisquel-users] Why does wpa_supplicant presents in my system?
Hello! I discovered this # systemctl list-units ... wpa_supplicant.serviceloaded active running WPA supplicant ... # LANG=en_US apt-get remove wpa_supplicant Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package wpa_supplicant # whereis wpa_supplicant wpa_supplicant: /sbin/wpa_supplicant /etc/wpa_supplicant /usr/share/man/man8/wpa_supplicant.8.gz # (zcat $(ls -tr /var/log/apt/history.log*.gz); cat /var/log/apt/history.log) 2>/dev/null | egrep '^(Commandline: apt(-get)? install)' | grep -v aptdaemon | egrep '^Commandline:' | grep wpa ...showed nothing... May be I installed it manually? But now I want to find free alternative that will be faster then NetworkManager and free unlike as wpa_supplicant. Please, how to remove package wpa_supplicant at all?
Re: [Trisquel-users] Trisquel 9 Needs A Name
Vivi, Dina, Meela, Sally, Polina, Bela, Leya
Re: [Trisquel-users] Let me several questions about kernel compilation?
make stops with fatal error, I achieve nothing. Please, where can I find kernel build log? I 've leaved pc on 'make' execution, after that it was switched off due to os error. I want to understand if make was finished or not
Re: [Trisquel-users] Speed up boot process of Trisquel 8
rfkill loads on boot and take a time. you can see it. needs to try to configure os with no soft blocking necessary interfaces and disabling rfkill. also networkmanager takes time on boot process. but there are faster alternatives I think. I was using wpa_supplicant and had much joy about it. but I found on trisquel distribution wpa_supplicant is not free. ))
Re: [Trisquel-users] Let me several questions about kernel compilation?
Sorry. Why 1 laptop trisquel 8 has only one linux-source, but other - 4 ones. ---1st:-- # apt-get update Сущ:1 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease Сущ:2 https://archive.trisquel.info/trisquel flidas InRelease Пол:3 https://archive.trisquel.info/trisquel flidas-security InRelease [4 898 B] Пол:4 https://archive.trisquel.info/trisquel flidas-security/main Sources [178 kB] Пол:5 https://archive.trisquel.info/trisquel flidas-security/main amd64 Packages [684 kB] Пол:6 https://archive.trisquel.info/trisquel flidas-security/main i386 Packages [681 kB] Получено 1 547 kБ за 3с (449 kБ/c) Чтение списков пакетов… Готово # apt-cache search linux-source linux-source-4.4.0 - Linux-libre kernel source for version 4.4.0 # lsb_release -a No LSB modules are available. Distributor ID: Trisquel Description:Trisquel GNU/Linux 8.0, Flidas Release:8.0 Codename: flidas 2nd
Re: [Trisquel-users] Let me several questions about kernel compilation?
Thank you for reply. # gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. manually? I am using linux-libre core, cause it is free. I cannot remove everything non-free. So what exactly I need? How to compile 4.13? Can I not to use current config? So will I need setup kernel options or there are default options that will work? ... I downloaded linux-source-4.4.0 and started `make menuconfig && make` . I did not use my current config. Just rested things as it was and also disabled bluetooth and irda. Now it is making 15 minutes. (Making of 4.13 stopped after 4 minutes). I think config for 4.4 cannot work for 4.13. Why there is no anywhere info about how to get config for upstream version ? I thought kernel has no any configurations set and I tried to use my current config.
Re: [Trisquel-users] Speed up boot process of Trisquel 8
I have ssd, Intel(R) Pentium(R) CPU N3530 @ 2.16GHz, 4Gb RAM and I think my system boots fast. Faster then on Funtoo, Debian that I used before. $ systemd-analyze Startup finished in 13.248s (kernel) + 19.747s (userspace) = 32.995s I think to disable unnecessary services, disable kernel modules such as bluetooth, ipv6. SSD is a very important thing to speed up.
Re: [Trisquel-users] Let me several questions about kernel compilation?
jxself, thank you. make menuconfig make oldconfig make cause the same error: segmentation faul. Ur config for 4.13 forced me to answer several questions. I only pressed enter. So the error rests - Segmentation fault.
Re: [Trisquel-users] Let me several questions about kernel compilation?
Is it a kernel bug or my own mistake?
[Trisquel-users] Let me several questions about kernel compilation?
Hello! I use trisquel 8.0. I have no sense how to compile kernel, I tried once it worked on 1 laptop, the other laptop stops and does not compile every time. Please, what is wrong in these actions: # apt-get update # apt-get upgrade # apt-get install dpkg-dev libncurses5-dev kernel-package fakeroot bzip2 build-essential # uname -a Linux asus 4.4.0-119-generic #143+8.0trisquel2 SMP Thu Apr 5 16:24:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux # ls /boot abi-4.4.0-119-generic grub retpoline-4.4.0-119-generic vmlinuz-4.4.0-119-generic config-4.4.0-119-generic initrd.img-4.4.0-119-generic System.map-4.4.0-119-generic # apt-cache search linux-source linux-source-4.4.0 - Linux-libre kernel source for version 4.4.0 linux-source - Linux kernel source with Ubuntu patches linux-source-4.13.0 - Linux-libre kernel source for version 4.13.0 linux-source-4.8.0 - Linux-libre kernel source for version 4.8.0 # apt-get source linux-source-4.13.0 # ls linux-hwe-4.13.0 linux-hwe_4.13.0-45.50~16.04.1+8.0trisquel1.dsc linux-hwe_4.13.0-45.50~16.04.1+8.0trisquel1.tar.gz mybuild # cd linux-hwe-4.13.0 # make O=/home/user/kernel/mybuild menuconfig Then I loaded config from /boot/config-4.4.0-119-generic, switched off that I do not need: IRDA и Bluetooth then saved config into /home/user/kernel/mybuild/.config # make O=/home/user/kernel/mybuild /bin/bash /home/y/kernel/linux-hwe-4.13.0/scripts/ubuntu-retpoline-extract-one arch/x86/crypto/sha1-mb/sha1_mb_mgr_submit_avx2.o /home/y/kernel/linux-hwe-4.13.0/arch/x86/crypto/sha1-mb/sha1_mb_mgr_submit_avx2.S ""; AS [M] arch/x86/crypto/sha1-mb/sha1_x8_avx2.o /bin/bash /home/y/kernel/linux-hwe-4.13.0/scripts/ubuntu-retpoline-extract-one arch/x86/crypto/sha1-mb/sha1_x8_avx2.o /home/y/kernel/linux-hwe-4.13.0/arch/x86/crypto/sha1-mb/sha1_x8_avx2.S ""; LD [M] arch/x86/crypto/sha1-mb/sha1-mb.o AS arch/x86/entry/entry_64.o Segmentation fault /home/y/kernel/linux-hwe-4.13.0/scripts/Makefile.build:419: ошибка выполнения рецепта для цели «arch/x86/entry/entry_64.o» make[3]: *** [arch/x86/entry/entry_64.o] Ошибка 139 /home/y/kernel/linux-hwe-4.13.0/scripts/Makefile.build:589: ошибка выполнения рецепта для цели «arch/x86/entry» make[2]: *** [arch/x86/entry] Ошибка 2 /home/y/kernel/linux-hwe-4.13.0/Makefile:1055: ошибка выполнения рецепта для цели «arch/x86» make[1]: *** [arch/x86] Ошибка 2 make[1]: выход из каталога «/home/y/kernel/mybuild» Makefile:145: ошибка выполнения рецепта для цели «sub-make» make: *** [sub-make] Ошибка 2 Sorry? Why does it stop?