[gentoo-user] apache 2.4 - .htaccess IP's limit
Does apache 2.4 have a limit of how many individual entries like: " Require not ip xxx.xxx.xxx.xx" I can have in Apache .htaccess file? I have over 500-subnets and I've notices some IP's are being blocked even though they are not on the list.
Re: [gentoo-user] xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
On 2/8/21 9:44 PM, cal wrote: [snip] >> >> When I'm directly in front of the PC and I have a log-in screen and type >> user ID + passwords >> I was under impression that "startxfce4" would run automatically when from >> .xinitrc >> ~/.xinitrc >> exec startxfce4 >> >> but it doesn't, when I log-in the XFCE4 is not starting automatically, I >> have to type manually: startxfce4 >> > I see you have already solved your problem. But it bears mentioning: > .xinitrc is executed by runing `startx`, not by the login shell. I see, so instead of going around and calling .xinitrc from .bash_profile why not call startxfce4 directly from .bash_profile Instead of: if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx; fi start as: if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startxfce4; fi It should work.
Re: [gentoo-user] lightdm - keeps looping
On 2/8/21 7:01 PM, the...@sys-concept.com wrote: > On 2/8/21 6:59 PM, the...@sys-concept.com wrote: >> The slim is no longer maintain, so I tried "lightdm" but when I try to >> login, it keeps looping, I'm back into login screen. >> I can post a log-file but it is long. >> >> Any suggestion. > > I forgot to mention the error: > > cat .xsession-errors > /etc/X11/Sessions/Xsession: line 106: exec: xsm: not found emerging xsm start something but not my xfce4. Gentoo wiki does not mention anything how to start xfce4 with lightdm
Re: [gentoo-user] lightdm - keeps looping
On 2/8/21 6:59 PM, the...@sys-concept.com wrote: > The slim is no longer maintain, so I tried "lightdm" but when I try to login, > it keeps looping, I'm back into login screen. > I can post a log-file but it is long. > > Any suggestion. I forgot to mention the error: cat .xsession-errors /etc/X11/Sessions/Xsession: line 106: exec: xsm: not found
[gentoo-user] lightdm - keeps looping
The slim is no longer maintain, so I tried "lightdm" but when I try to login, it keeps looping, I'm back into login screen. I can post a log-file but it is long. Any suggestion.
Re: [gentoo-user] VBoxClient --clipboard seems to be broken with a recent update [ probably RESOLVED ]
Thelma On 2/8/21 2:39 PM, n952162 wrote: > On 2/8/21 9:17 PM, n952162 wrote: >> VBoxClient --clipboard seems to be broken with a recent update >> >> You can start it without error but it just goes away. The last thing in >> the strace is a clone. >> >> Anybody else seen this problem or know of a fix? >> >> VBoxClient has behaved like this before, if memory serves. Either I've >> just forgotten what the problem was, or something new has popped up. >> >> > > I just saw that my virtualbox-modules emerge failed. > > Probably related to this: > > $ uname -a > Linux txm0 *4.19.72-gentoo* #7 SMP Tue Jun 9 19:51:52 CEST 2020 x86_64 > GNU/Linux > > $ lt /usr/src/ > total 16 > drwxr-xr-x 25 root root 4096 Feb 3 02:14 linux-5.4.92-gentoo > drwxr-xr-x 25 root root 4096 Dec 30 19:17 linux-5.4.80-gentoo-r1 > drwxr-xr-x 23 root root 4096 Dec 12 21:55 linux-4.19.72-gentoo > drwxr-xr-x 25 root root 4096 Oct 20 23:50 linux-5.4.72-gentoo > lrwxrwxrwx 1 root root 20 Nov 8 2019 linux -> linux-*4.19.72-gentoo* > > I'm not sure why I have all these newer versions of the kernel ... > > What should I be at? For an amd64... > > Oh man... > > $ eselect kernel list > Available kernel symlink targets: > [1] linux-5.4.72-gentoo > [2] linux-5.4.80-gentoo-r1 > [3] linux-5.4.92-gentoo > > Was there an adminstrative step that I missed there? Somehow you manged to unmerged the kernel in use, re-emerge it again: linux-4.19.72-gentoo (and set it as default) and try to recompile again.
Re: [gentoo-user] VBoxClient --clipboard seems to be broken with a recent update
On 2/8/21 1:17 PM, n952162 wrote: > VBoxClient --clipboard seems to be broken with a recent update > > You can start it without error but it just goes away. The last thing in > the strace is a clone. > > Anybody else seen this problem or know of a fix? > > VBoxClient has behaved like this before, if memory serves. Either I've > just forgotten what the problem was, or something new has popped up. When you start to your VB, under menu: Devices -- Shared Clipboard: is it selected "Bidirectional"
Re: [gentoo-user] VBoxClient --clipboard seems to be broken with a recent update
On 2/8/21 1:17 PM, n952162 wrote: > VBoxClient --clipboard seems to be broken with a recent update > > You can start it without error but it just goes away. The last thing in > the strace is a clone. > > Anybody else seen this problem or know of a fix? > > VBoxClient has behaved like this before, if memory serves. Either I've > just forgotten what the problem was, or something new has popped up. Do you have installed: app-emulation/virtualbox-extpack-oracle
Re: [gentoo-user] xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
On 2/7/21 1:14 PM, Neil Bothwick wrote: > On Sun, 7 Feb 2021 12:38:25 -0700, the...@sys-concept.com wrote: > >> I disable "slim" login manager and try not to use any display >> manger (for simplicity). I start X from: >> >> ~/.bash_profile >> exec startx -- vt1 >> >> but now when I try to ssh as user, I get: >> >> (==) Using system config directory "/usr/share/X11/xorg.conf.d" >> (EE) >> Fatal server error: >> (EE) xf86OpenConsole: Cannot open virtual console 1 (Permission >> denied) > > Of course you are, because you are still trying to start X. If you > must start X from .bash_profile, you need something like > > [ -z "$SSH_TTY" ] && startx ... > > to only start it when not using SSH. What do you suggest? I was planning to get away from "slim" as I think it is getting more unstable; I just need a simple system to start X, log-in over ssh and use x2go session. >>> >>> Why do you need to start X, doesn't x2go run its own X session? You >>> are trying to start X in an SSH session, which is what gives your >>> error. The line I suggested runs startx only if you are not logging >>> in via SSH. No display manager is involved. >> >> Maybe I wasn't clear. No, I don't start any X over ssh. > > But you do, because you run it from .bash_profile whenever you login. > That's why I suggested an alternative command that wouldn't do that. OK, according to Gentoo-wiki: https://wiki.gentoo.org/wiki/Start_X_on_login ~/.bash_profile if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx; fi The above command works. with: ~/.xinitrc exec startxfce4 Both ssh and x2go sessions (both: connect to local desktop and XFCE) work correctly.
Re: [gentoo-user] xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
On 2/7/21 12:26 PM, Neil Bothwick wrote: > On Sun, 7 Feb 2021 12:10:50 -0700, the...@sys-concept.com wrote: > >> On 2/7/21 4:09 AM, Neil Bothwick wrote: >>> On Sun, 7 Feb 2021 01:28:39 -0700, the...@sys-concept.com wrote: >>> I disable "slim" login manager and try not to use any display manger (for simplicity). I start X from: ~/.bash_profile exec startx -- vt1 but now when I try to ssh as user, I get: (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 1 (Permission denied) >>> >>> Of course you are, because you are still trying to start X. If you >>> must start X from .bash_profile, you need something like >>> >>> [ -z "$SSH_TTY" ] && startx ... >>> >>> to only start it when not using SSH. >> >> What do you suggest? >> I was planning to get away from "slim" as I think it is getting more >> unstable; I just need a simple system to start X, log-in over ssh and >> use x2go session. > > Why do you need to start X, doesn't x2go run its own X session? You are > trying to start X in an SSH session, which is what gives your error. The > line I suggested runs startx only if you are not logging in via SSH. No > display manager is involved. Maybe I wasn't clear. No, I don't start any X over ssh. When I'm directly in front of the PC and I have a log-in screen and type user ID + passwords I was under impression that "startxfce4" would run automatically when from .xinitrc ~/.xinitrc exec startxfce4 but it doesn't, when I log-in the XFCE4 is not starting automatically, I have to type manually: startxfce4
Re: [gentoo-user] xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
On 2/7/21 4:09 AM, Neil Bothwick wrote: > On Sun, 7 Feb 2021 01:28:39 -0700, the...@sys-concept.com wrote: > >> I disable "slim" login manager and try not to use any display manger >> (for simplicity). I start X from: >> >> ~/.bash_profile >> exec startx -- vt1 >> >> but now when I try to ssh as user, I get: >> >> (==) Using system config directory "/usr/share/X11/xorg.conf.d" >> (EE) >> Fatal server error: >> (EE) xf86OpenConsole: Cannot open virtual console 1 (Permission denied) >> > > Of course you are, because you are still trying to start X. If you must > start X from .bash_profile, you need something like > > [ -z "$SSH_TTY" ] && startx ... > > to only start it when not using SSH. What do you suggest? I was planning to get away from "slim" as I think it is getting more unstable; I just need a simple system to start X, log-in over ssh and use x2go session. I removed startx from .bash_profile and put in: ~/.xinitrc "exec startxfce4" and I was under impression that xfce4 will start automatically when I log-in but instead I get a user command prompt and have to type: startxfce4 But now ssh login works and x2go-session works as well. So why isn't startxfce4 starts automatically, what am I missing?
Re: [gentoo-user] forcing Gentoo to accept simple password
On 2/7/21 2:58 AM, David Haller wrote: > Hello, > > On Sat, 06 Feb 2021, the...@sys-concept.com wrote: >> What changing one need to make to force gentoo log-in to accept >> simple password. The system is not a high security risk so I have no >> need for a sophisticated password. > >> I think it has to do something with file: /etc/pam.d/system-auth > [..] >> passwordrequiredpam_passwdqc.so >> config=/etc/security/passwdqc.conf > > Uninstall sys-auth/passwdqc... From it's manpage: > > > DESCRIPTION > The pam_passwdqc module is a simple password strength checking > module for PAM. > > > You need to remove the 'passwdqc' USE flag from sys-auth/pambase, else > it'll get pulled in again. > > HTH, > -dnh Thank you, that worked! unmerging "sys-auth/passwdqc" and compile "sys-auth/pambase" without "passwdqc" solved the problem
[gentoo-user] xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
I disable "slim" login manager and try not to use any display manger (for simplicity). I start X from: ~/.bash_profile exec startx -- vt1 but now when I try to ssh as user, I get: (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
[gentoo-user] forcing Gentoo to accept simple password
What changing one need to make to force gentoo log-in to accept simple password. The system is not a high security risk so I have no need for a sophisticated password. I think it has to do something with file: /etc/pam.d/system-auth Here is an old one: authrequiredpam_env.so authrequiredpam_unix.so try_first_pass likeauth nullok authoptionalpam_permit.so account requiredpam_unix.so account optionalpam_permit.so passwordrequiredpam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3 passwordrequiredpam_unix.so try_first_pass use_authtok nullok sha512 shadow passwordoptionalpam_permit.so session requiredpam_limits.so session requiredpam_env.so session requiredpam_unix.so session optionalpam_permit.so and a new one: authrequiredpam_env.so authrequisite pam_faillock.so preauth auth[success=1 default=ignore] pam_unix.so nullok try_first_pass auth[default=die] pam_faillock.so authfail authoptionalpam_permit.so account requiredpam_unix.so account requiredpam_faillock.so account optionalpam_permit.so passwordrequiredpam_passwdqc.so config=/etc/security/passwdqc.conf passwordrequiredpam_unix.so try_first_pass use_authtok nullok sha512 shadow passwordoptionalpam_permit.so session requiredpam_limits.so session requiredpam_env.so session requiredpam_unix.so session optionalpam_permit.so
Re: [gentoo-user] mounting USB without root password
On 2/6/21 2:34 PM, Neil Bothwick wrote: > On Sat, 6 Feb 2021 14:00:54 -0700, the...@sys-concept.com wrote: > >> I'll revive this topic. I have it working on one of my system but on my >> other (new system as well) auto-mounting in XFCE4 is not working, I >> have in n XFCE under: >> - Removable Drivers and Media: --> Mount removable drives when >> hot-plugged (checked) >> >> user is in "wheel, usb" group. >> >> When I plug the usb device the XFCE is trying to auto-mount the usb as >> the message is popping up but it keeps telling me: Authentication is >> required for mounting external /dev/sda1 >> >> Why it worked on one system but not on another? > > Check the groups of the user on both systems. Automounters often require > the user to be a member of the plugdev group. It is working now. I login (crated XFCE) session via x2go and I think one need to first log-in as user, and make any changes in XFCE interface; and now loging via x2to session will work using XFCE auto-mounting.
Re: [gentoo-user] mounting USB without root password
On 1/29/21 10:40 AM, the...@sys-concept.com wrote: > On 1/29/21 10:12 AM, Matt Connell (Gmail) wrote: >> On Fri, 2021-01-29 at 17:06 +, Michael wrote: >>> what XFCE offers for mounting removable block devices and if >>> something is amiss with that. >> >> Thelma, >> >> I use XFCE as well. I think (its been years since I set it up) what >> you want is xfce-extra/thunar-volman to provide a "GUI file manager" >> type of click-to-mount-a-device interface. > > Thank you for correcting me. I reverse the setting in sudoers. > > I had the sys-fs/udisks and xfce-extra/thunar-volman installed so I enable in > XFCE under: > - Removable Drivers and Media: --> Mount removable drives when hot-plugged. > > It solved the problem. I'll revive this topic. I have it working on one of my system but on my other (new system as well) auto-mounting in XFCE4 is not working, I have in n XFCE under: - Removable Drivers and Media: --> Mount removable drives when hot-plugged (checked) user is in "wheel, usb" group. When I plug the usb device the XFCE is trying to auto-mount the usb as the message is popping up but it keeps telling me: Authentication is required for mounting external /dev/sda1 Why it worked on one system but not on another? What is missing?
Re: [gentoo-user] spam - different IP's
On 2/3/21 10:22 PM, the...@sys-concept.com wrote: > I'm perplex with this entry in apache log. > I'm sure it was done by same person as the timing is very sequential and same > file-name request, but how they were able to lunch an attack from a different > IP's different geographical locations. > Can they spoof an IP? > > 173.201.196.206 - - [03/Feb/2021:19:17:47 -0700] "GET > /wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 195.70.43.234 - - [03/Feb/2021:19:18:24 -0700] "GET > /wordpress/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 198.38.92.110 - - [03/Feb/2021:19:21:18 -0700] "GET > /new/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 50.62.208.141 - - [03/Feb/2021:19:21:20 -0700] "GET > /en/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 64.62.206.242 - - [03/Feb/2021:19:21:34 -0700] "GET > /web/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 184.168.46.171 - - [03/Feb/2021:19:22:11 -0700] "GET > /home/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 50.63.196.23 - - [03/Feb/2021:19:23:41 -0700] "GET > /www/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 203.205.21.159 - - [03/Feb/2021:19:23:57 -0700] "GET > /staging/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 66.113.226.191 - - [03/Feb/2021:19:25:42 -0700] "GET > /news/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 148.72.232.107 - - [03/Feb/2021:19:26:06 -0700] "GET > /news/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 35.208.134.190 - - [03/Feb/2021:19:26:22 -0700] "GET > /shop/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 160.153.153.30 - - [03/Feb/2021:19:26:50 -0700] "GET > /main/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 192.241.230.24 - - [03/Feb/2021:19:27:50 -0700] "GET > /v2/wp-includes/wlwmanifest.xml HTTP/1.1" 403 199 > 66.113.221.43 - - [03/Feb/2021:19:28:37 -0700] "GET > /website/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 2.50.180.72 - - [03/Feb/2021:19:28:48 -0700] "GET > /portal/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 104.236.82.97 - - [03/Feb/2021:19:29:39 -0700] "GET > /2019/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 50.63.197.91 - - [03/Feb/2021:19:30:46 -0700] "GET > /1/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 103.27.61.222 - - [03/Feb/2021:19:30:57 -0700] "GET > /store/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 184.168.152.18 - - [03/Feb/2021:19:31:14 -0700] "GET > /wp2/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 > 184.168.193.129 - - [03/Feb/2021:19:31:24 -0700] "GET > /blogs/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 Correction: should be "launch"
[gentoo-user] spam - different IP's
I'm perplex with this entry in apache log. I'm sure it was done by same person as the timing is very sequential and same file-name request, but how they were able to lunch an attack from a different IP's different geographical locations. Can they spoof an IP? 173.201.196.206 - - [03/Feb/2021:19:17:47 -0700] "GET /wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 195.70.43.234 - - [03/Feb/2021:19:18:24 -0700] "GET /wordpress/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 198.38.92.110 - - [03/Feb/2021:19:21:18 -0700] "GET /new/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 50.62.208.141 - - [03/Feb/2021:19:21:20 -0700] "GET /en/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 64.62.206.242 - - [03/Feb/2021:19:21:34 -0700] "GET /web/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 184.168.46.171 - - [03/Feb/2021:19:22:11 -0700] "GET /home/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 50.63.196.23 - - [03/Feb/2021:19:23:41 -0700] "GET /www/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 203.205.21.159 - - [03/Feb/2021:19:23:57 -0700] "GET /staging/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 66.113.226.191 - - [03/Feb/2021:19:25:42 -0700] "GET /news/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 148.72.232.107 - - [03/Feb/2021:19:26:06 -0700] "GET /news/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 35.208.134.190 - - [03/Feb/2021:19:26:22 -0700] "GET /shop/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 160.153.153.30 - - [03/Feb/2021:19:26:50 -0700] "GET /main/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 192.241.230.24 - - [03/Feb/2021:19:27:50 -0700] "GET /v2/wp-includes/wlwmanifest.xml HTTP/1.1" 403 199 66.113.221.43 - - [03/Feb/2021:19:28:37 -0700] "GET /website/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 2.50.180.72 - - [03/Feb/2021:19:28:48 -0700] "GET /portal/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 104.236.82.97 - - [03/Feb/2021:19:29:39 -0700] "GET /2019/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 50.63.197.91 - - [03/Feb/2021:19:30:46 -0700] "GET /1/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 103.27.61.222 - - [03/Feb/2021:19:30:57 -0700] "GET /store/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 184.168.152.18 - - [03/Feb/2021:19:31:14 -0700] "GET /wp2/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196 184.168.193.129 - - [03/Feb/2021:19:31:24 -0700] "GET /blogs/wp-includes/wlwmanifest.xml HTTP/1.1" 404 196
Re: [gentoo-user] Blank screen when re-logged IN
On 1/29/21 10:59 AM, Neil Bothwick wrote: > On Fri, 29 Jan 2021 10:49:50 -0700, the...@sys-concept.com wrote: > >> I have a recent Gentoo installation and I'm experiencing strange >> behaviour. I don't know if it has something to do with the hardware >> (video card) or software issue. Video card is: GeForce GTX 1050 I'm >> using "nvidia" video driver. >> >> Sometimes when I log-out and try to log-in back, all I get is black >> screen with mouse cursor pointer showing but the screen is black, >> nothing is displaying. How to trouble shoot it? It only happens when I >> "log-out" and try to "log-in" back. >> >> The only thing I can do is to ssh from another terminal and "reboot" >> the PC. > > You could also examine /var/log/Xorg.0.log and ~/.xsession-errors. > > I think you mentioned running XFCE, so you may also have > ~/.xfce4-session.log I couldn't find: ~/.xsession-errors nor ~/.xfce4-session.log but I have: /var/log/Xorg.0.log though not sure what is error what is just a warning message. Here it is if somebody can make any pointer: X.Org X Server 1.20.10 X Protocol Version 11, Revision 0 [11.927] Build Operating System: Linux 5.4.72-gentoo x86_64 Gentoo [11.927] Current Operating System: Linux syscon7 5.4.72-gentoo #12 SMP Sat Jan 2 23:19:22 MST 2021 x86_64 [11.927] Kernel command line: BOOT_IMAGE=/vmlinuz-5.4.72-gentoo root=/dev/nvme0n1p4 ro [11.927] Build Date: 20 January 2021 11:31:49PM [11.927] [11.927] Current version of pixman: 0.40.0 [11.927]Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [11.927] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [11.927] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jan 29 10:33:25 2021 [11.928] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [11.929] (==) No Layout section. Using the first Screen section. [11.929] (==) No screen section available. Using defaults. [11.929] (**) |-->Screen "Default Screen Section" (0) [11.929] (**) | |-->Monitor "" [11.929] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [11.929] (==) Automatically adding devices [11.929] (==) Automatically enabling devices [11.929] (==) Automatically adding GPU devices [11.929] (==) Max clients allowed: 256, resource mask: 0x1f [11.930] (WW) The directory "/usr/share/fonts/TTF/" does not exist. [11.930]Entry deleted from font path. [11.930] (WW) The directory "/usr/share/fonts/OTF/" does not exist. [11.930]Entry deleted from font path. [11.930] (WW) The directory "/usr/share/fonts/Type1/" does not exist. [11.930]Entry deleted from font path. [11.930] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/". [11.930]Entry deleted from font path. [11.930](Run 'mkfontdir' on "/usr/share/fonts/100dpi/"). [11.930] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/". [11.930]Entry deleted from font path. [11.930](Run 'mkfontdir' on "/usr/share/fonts/75dpi/"). [11.930] (==) FontPath set to: /usr/share/fonts/misc/ [11.930] (==) ModulePath set to "/usr/lib64/xorg/modules" [11.930] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [11.930] (II) Loader magic: 0x557871fb5ce0 [11.930] (II) Module ABI versions: [11.930]X.Org ANSI C Emulation: 0.4 [11.930]X.Org Video Driver: 24.1 [11.930]X.Org XInput driver : 24.1 [11.930]X.Org Server Extension : 10.0 [11.930] (++) using VT number 7 [11.930] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [11.930] (II) xfree86: Adding drm device (/dev/dri/card0) [11.932] (--) PCI:*(8@0:0:0) 10de:1c81:3842:6157 rev 161, Mem @ 0xf600/16777216, 0xe000/268435456, 0xf000/33554432, I/O @ 0xe000/128, BIOS @ 0x/131072 [11.932] (II) LoadModule: "glx" [11.934] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so [11.939] (II) Module glx: vendor="X.Org Foundation" [11.939]compiled for 1.20.10, module version = 1.0.0 [11.939]ABI class: X.Org Server Extension, version 10.0 [11.939] (II) Applying OutputClass "nvidia" to /dev/dri/card0 [11.939]loading driver: nvidia [11.939] (==) Matched nvidia as autoconfigured driver 0 [11.939] (==) Matched nouveau as autoconfigured driver 1 [11.939] (==) Matched nv as autoconfigured driver 2 [11.939] (==) Matched modesetting as autoconfigured driver 3 [11.939] (==) Matched fbdev as autoconfigured driver 4 [11.939] (==
[gentoo-user] Blank screen when re-logged IN
I have a recent Gentoo installation and I'm experiencing strange behaviour. I don't know if it has something to do with the hardware (video card) or software issue. Video card is: GeForce GTX 1050 I'm using "nvidia" video driver. Sometimes when I log-out and try to log-in back, all I get is black screen with mouse cursor pointer showing but the screen is black, nothing is displaying. How to trouble shoot it? It only happens when I "log-out" and try to "log-in" back. The only thing I can do is to ssh from another terminal and "reboot" the PC.
Re: [gentoo-user] mounting USB without root password
On 1/29/21 10:12 AM, Matt Connell (Gmail) wrote: > On Fri, 2021-01-29 at 17:06 +, Michael wrote: >> what XFCE offers for mounting removable block devices and if >> something is amiss with that. > > Thelma, > > I use XFCE as well. I think (its been years since I set it up) what > you want is xfce-extra/thunar-volman to provide a "GUI file manager" > type of click-to-mount-a-device interface. Thank you for correcting me. I reverse the setting in sudoers. I had the sys-fs/udisks and xfce-extra/thunar-volman installed so I enable in XFCE under: - Removable Drivers and Media: --> Mount removable drives when hot-plugged. It solved the problem.
Re: [gentoo-user] mounting USB without root password
On 1/29/21 9:01 AM, bobwxc wrote: > 在 2021/1/29 下午11:21, the...@sys-concept.com 写道: >> Can someone refresh my memory how to mount USB as user without entering root >> password. >> >> I was about to mount it normally user (without root password) but after I >> reboot the PC (I did not upgrade) it keep asking me for root password. >> Nothing was changed. >> So why all of a sudden system is asking me for root password when mounting >> USB? >> I'm using xfce. >> > Try *udisks2*, it can auto mount USB disks. > > But the wiki seems out-of-date, may not helpfull > https://wiki.gentoo.org/wiki/Udisks > I uncommented in: sudoers (it works) %wheel ALL=(ALL) ALL %wheel ALL=(ALL) NOPASSWD: ALL
[gentoo-user] mounting USB without root password
Can someone refresh my memory how to mount USB as user without entering root password. I was about to mount it normally user (without root password) but after I reboot the PC (I did not upgrade) it keep asking me for root password. Nothing was changed. So why all of a sudden system is asking me for root password when mounting USB? I'm using xfce.
Re: [gentoo-user] getnoo system freeze at boot on - mounting misc binary format filesystem
On 1/24/21 4:11 PM, the...@sys-concept.com wrote: > New installation. > When I boot system freeze after: > mounting misc binary format filesystem . [OK] > > I run fsck.ext4 on all partitions. I can login to the system via ssh > > dmesg doesn't show any errors: > > [2.361518] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for > UNIX platforms 455.45.01 Thu Nov 5 22:55:44 UTC 2020 > [2.364037] [drm] [nvidia-drm] [GPU ID 0x0800] Loading driver > [2.364038] [drm] Initialized nvidia-drm 0.0.0 20160202 for :08:00.0 > on minor 0 > [2.455612] nvidia-smi (787) used greatest stack depth: 12592 bytes left > [2.546763] EXT4-fs (nvme0n1p4): re-mounted. Opts: (null) > [2.583028] Adding 524284k swap on /dev/nvme0n1p3. Priority:-2 extents:1 > across:524284k SS > [2.605406] EXT4-fs (nvme0n1p5): mounted filesystem with ordered data > mode. Opts: (null) > [2.672221] elogind-daemon[1307]: New seat seat0. > [2.672613] elogind-daemon[1307]: Watching system buttons on > /dev/input/event1 (Power Button) > [2.672639] elogind-daemon[1307]: Watching system buttons on > /dev/input/event0 (Power Button) > [2.728216] ip (1443) used greatest stack depth: 12320 bytes left > [2.735102] elogind-daemon[1307]: Watching system buttons on > /dev/input/event13 (Logitech USB Keyboard) > [2.735154] elogind-daemon[1307]: Watching system buttons on > /dev/input/event14 (Logitech USB Keyboard) > [2.931612] ip (1734) used greatest stack depth: 12264 bytes left > [5.916664] igb :04:00.0 enp4s0: igb: enp4s0 NIC Link is Up 1000 Mbps > Full Duplex, Flow Control: RX/TX > [6.018743] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready > [ 13.654042] random: crng init done > [ 13.654044] random: 7 urandom warning(s) missed due to ratelimiting > [ 37.712659] elogind-daemon[1307]: New session 1 of user root. It has something to do with EFI. I did not configure the system to use EFI with grub. When the system boots the fonts on the screen are large. It display on the screen everything up the point: ... mounting misc binary format filesystem . [OK] at this point the fonts are changed and the screen is not not displaying anything it looks like it is frozen and the is no "login" prompt. When I enable XDM the boot login shows up and I can long-in via "slim" login manager. In make.conf: ... INPUT_DEVICES="evdev" VIDEO_CARDS="nvidia" Does it have something to do with "x11-base/xorg-server" or "nvidia" driver? How to configure the system so it will display/switch the fonts during boot on the screen?
[gentoo-user] getnoo system freeze at boot on - mounting misc binary format filesystem
New installation. When I boot system freeze after: mounting misc binary format filesystem . [OK] I run fsck.ext4 on all partitions. I can login to the system via ssh dmesg doesn't show any errors: [2.361518] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 455.45.01 Thu Nov 5 22:55:44 UTC 2020 [2.364037] [drm] [nvidia-drm] [GPU ID 0x0800] Loading driver [2.364038] [drm] Initialized nvidia-drm 0.0.0 20160202 for :08:00.0 on minor 0 [2.455612] nvidia-smi (787) used greatest stack depth: 12592 bytes left [2.546763] EXT4-fs (nvme0n1p4): re-mounted. Opts: (null) [2.583028] Adding 524284k swap on /dev/nvme0n1p3. Priority:-2 extents:1 across:524284k SS [2.605406] EXT4-fs (nvme0n1p5): mounted filesystem with ordered data mode. Opts: (null) [2.672221] elogind-daemon[1307]: New seat seat0. [2.672613] elogind-daemon[1307]: Watching system buttons on /dev/input/event1 (Power Button) [2.672639] elogind-daemon[1307]: Watching system buttons on /dev/input/event0 (Power Button) [2.728216] ip (1443) used greatest stack depth: 12320 bytes left [2.735102] elogind-daemon[1307]: Watching system buttons on /dev/input/event13 (Logitech USB Keyboard) [2.735154] elogind-daemon[1307]: Watching system buttons on /dev/input/event14 (Logitech USB Keyboard) [2.931612] ip (1734) used greatest stack depth: 12264 bytes left [5.916664] igb :04:00.0 enp4s0: igb: enp4s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX [6.018743] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready [ 13.654042] random: crng init done [ 13.654044] random: 7 urandom warning(s) missed due to ratelimiting [ 37.712659] elogind-daemon[1307]: New session 1 of user root.
Re: [gentoo-user] BIOS can not find boot partition
On 1/24/21 5:03 AM, Michael wrote: > On Sunday, 24 January 2021 05:49:28 GMT the...@sys-concept.com wrote: >> I'm missing something as system can not find boot device >> >> fdisk /dev/nvme0n1 >> Disklabel type: gpt >> >> Device StartEndSectors Size Type >> /dev/nvme0n1p1 2048 6143 4096 2M BIOS boot >> /dev/nvme0n1p2 6144 268287 262144 128M EFI System >> /dev/nvme0n1p326828813168631048576 512M Linux swap >> /dev/nvme0n1p4 1316864 315889663 314572800 150G Linux filesystem >> >> I don't want to use EFI. > > If you do NOT want to use EFI why have you set up /dev/nvme0n1p2 as an ESP > type partition? > > With just 4 partitions in total there's also the question of your choice to > use GPT instead of the legacy MBR partition table. :-/ I have 5-partitions, all together, and use fdisk -t gpt /dev//dev/nvme0n1 > >> /boot = dev/nvme0n1p2 (ext4) file system >> >> When I run: >> grub-install /dev/nvme0n1p2 >> Installing for x86_64-efi platform. >> grub-install: error: cannot find EFI directory. > > First, the handbook clearly directs to install GRUB to a disk not a partition: > > https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader > > However, you *can* install GRUB's boot code in a partition instead of a disk, > if you wish to chainload the partition's GRUB from another boot loader, e.g. > MSWindows, rEFInd, another GRUB, etc. I don't see you want to do this, from > what you have shared. You are correct here, this was my mistake, it should be (it was late at night didn't notice it) : grub-install /dev/nvme0n1 (now it works) not: grub-install /dev/nvme0n1p2 > Second, I think the error you get is caused because you have created ESP type > partition, but there is no EFI/ directory in it, which the UEFI boot protocol > requires. > > >> but there is /boot/grub > > Yes, the error you got does not complain about /boot/grub missing, but about > the absence of an "... EFI directory". > > >> Running: grub-mkconfig -o /boot/grub/grub.cfg is OK (no errors) >> >> fstab: >> /dev/nvme0n1p2 /boot ext4 > noauto,noatime1 2 >> >> The BIOS has CSM compatibly mode enable. >> When I try to boot, system can not find bootable partition. >> >> Am I suppose to put any file system on /dev/nvme0n1p1 (2Mb partition) the >> installation manual did not mention anything. > > No filesystem formatting is required for the small /dev/nvme0n1p1 BIOS boot > partition - GRUB will install its 2nd stage core image in there. > > I'd question if your boot partition should be set as ESP type in the first > place. Set it as a Linux partition, reformat it with ext2, or if you want as > ext4, mount it as /boot and then install GRUB on the disk as the handbook > instructs. Yah, I change this partition to "Linux filesystem" /dev/nvme0n1p2 6144 268287 262144 128M Linux filesystem Without reinstalling anything, it works (it was ext4).
[gentoo-user] BIOS can not find boot partition
I'm missing something as system can not find boot device fdisk /dev/nvme0n1 Disklabel type: gpt Device StartEndSectors Size Type /dev/nvme0n1p1 2048 6143 4096 2M BIOS boot /dev/nvme0n1p2 6144 268287 262144 128M EFI System /dev/nvme0n1p326828813168631048576 512M Linux swap /dev/nvme0n1p4 1316864 315889663 314572800 150G Linux filesystem I don't want to use EFI. /boot = dev/nvme0n1p2 (ext4) file system When I run: grub-install /dev/nvme0n1p2 Installing for x86_64-efi platform. grub-install: error: cannot find EFI directory. but there is /boot/grub Running: grub-mkconfig -o /boot/grub/grub.cfg is OK (no errors) fstab: /dev/nvme0n1p2 /boot ext4noauto,noatime 1 2 The BIOS has CSM compatibly mode enable. When I try to boot, system can not find bootable partition. Am I suppose to put any file system on /dev/nvme0n1p1 (2Mb partition) the installation manual did not mention anything.
Re: [gentoo-user] app-emulation/docker with Linode kernel
On 1/20/21 7:53 PM, Matt Connell (Gmail) wrote: > I use docker, on a Gentoo system, running on a Linode-hosted VPS, with > their kernel. I rely heavily on docker, with ~10 containers providing > various services at any given time. > > Lately, I've had a couple of incidents of the system becoming > unresponsive, and I believe it is docker-related. > > When I emerge docker, portage gives me the following warnings/errors: > >> * CONFIG_RT_GROUP_SCHED: is not set when it should be. >> * CONFIG_IPVLAN: is not set when it should be. >> * CONFIG_OVERLAY_FS_REDIRECT_DIR: should not be set. But it is. > > Could these complaints be a portent of what is causing the system to > become unresponsive? Is there anything I can do to resolve this when I > am using Linode's kernels? > > I know what to do when I am configuring and building my own kernel, but > on this system I'd prefer to avoid this if possible, since it is > Someone Else's Computer, after all. > > Any input is appreciated. Do you have access to their kernel .config file? If so just compile them IN and test it, make a backup of the current /boot kernel. I would say these should be compiled into the kernel. The first two are not compiled into my kernel and the third option is missing (no I'm not using docker)
Re: [gentoo-user] network transfer speed
On 1/19/21 12:46 AM, Raffaele BELARDI wrote: >> -Original Message- >> From: the...@sys-concept.com >> Sent: Monday, January 18, 2021 20:13 >> To: gentoo-user@lists.gentoo.org >> Subject: Re: [gentoo-user] network transfer speed >> >> What switch would you folks recommend? >> I'm planning getting to the bottom of it including replacing switch and >> cable if >> I have to. > > At home I'm using Netgear GS305E/GS308E with no particular issue. The 'E' > stands for managed, I never use management features except for checking the > port status (nice to have, but LEDs give the same information) and in some > particular, business-related configuration, to enable port mirroring. I > haven't tried yet to set up a VLAN or configure QoS parameters, which I think > would be the main reason to prefer a managed over a non-managed. > Since I always used Netgear I can't say if they are better than others. > I think you are already aware that unless all cable patches are at least > CAT5e you're not going to get 1Gb speed. The 'e' here makes a real difference > over the plain CAT5. > > Raffaele That is a good hint, I need to check if it is CAT5 or CAT5e
Re: [gentoo-user] Failed to load vboxpci
On 1/18/21 2:46 PM, Neil Bothwick wrote: > On Mon, 18 Jan 2021 14:31:49 -0700, the...@sys-concept.com wrote: > >> On 1/18/21 2:12 PM, tastytea wrote: >>> On 2021-01-18 14:04-0700 the...@sys-concept.com wrote: >>> emerge --info Portage 3.0.13 (python 3.8.6-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r5, 5.4.80-gentoo-r1 x86_64) This is new installation. cat /etc/modules-load.d/virtualbox.conf vboxdrv vboxnetadp vboxnetflt vboxpci All modules are loading OK except "vboxpci" modprobe vboxpci modprobe: FATAL: Module vboxpci not found in directory /lib/modules/5.4.80-gentoo-r1 >>> >>> app-emulation/virtualbox-modules does not install vboxpci.ko here. I >>> guess the information in the wiki is outdated. >>> >>> $ equery files app-emulation/virtualbox-modules | grep '\.ko$' >>> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxdrv.ko >>> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetadp.ko >>> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetflt.ko >>> >>> Kind regards, tastytea >> >> I have the same output: >> >> # equery files app-emulation/virtualbox-modules | grep '\.ko$' >> /lib/modules/5.4.80-gentoo-r1/misc/vboxdrv.ko >> /lib/modules/5.4.80-gentoo-r1/misc/vboxnetadp.ko >> /lib/modules/5.4.80-gentoo-r1/misc/vboxnetflt.ko >> >> What is missing is in 5.4.80-gentoo-r1 is: vboxpci.ko >> >> In my old kernel it was there: >> /lib/modules/5.4.72-gentoo/misc/vboxpci.ko > > Your old kernel could have it from an older installation of > virtualbox-modules, that module is no longer installed > > % qlist virtualbox-modules > /lib/modules/5.4.80-gentoo-r1/misc/vboxnetflt.ko > /lib/modules/5.4.80-gentoo-r1/misc/vboxnetadp.ko > /lib/modules/5.4.80-gentoo-r1/misc/vboxdrv.ko > /etc/modprobe.d/vboxdrv.conf > /usr/lib/modules-load.d/virtualbox.conf > > And the virtualbox.conf file contains > > vboxdrv > vboxnetflt > vboxnetadp > > No mention of vboxpci. > > Does VirtualBox work? Yes, it works. Gentoo wiki did not get updated, in addition I was copying configuration from previous kernel that I just installed a month ago or so. It is hard o catch all the changes during updates.
Re: [gentoo-user] Failed to load vboxpci
On 1/18/21 2:31 PM, the...@sys-concept.com wrote: > On 1/18/21 2:12 PM, tastytea wrote: >> On 2021-01-18 14:04-0700 the...@sys-concept.com wrote: >> >>> emerge --info >>> Portage 3.0.13 (python 3.8.6-final-0, >>> default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r5, >>> 5.4.80-gentoo-r1 x86_64) >>> >>> This is new installation. >>> cat /etc/modules-load.d/virtualbox.conf >>> vboxdrv >>> vboxnetadp >>> vboxnetflt >>> vboxpci >>> >>> All modules are loading OK except "vboxpci" >>> >>> modprobe vboxpci >>> modprobe: FATAL: Module vboxpci not found in directory >>> /lib/modules/5.4.80-gentoo-r1 >> >> app-emulation/virtualbox-modules does not install vboxpci.ko here. I >> guess the information in the wiki is outdated. >> >> $ equery files app-emulation/virtualbox-modules | grep '\.ko$' >> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxdrv.ko >> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetadp.ko >> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetflt.ko >> >> Kind regards, tastytea > > I have the same output: > > # equery files app-emulation/virtualbox-modules | grep '\.ko$' > /lib/modules/5.4.80-gentoo-r1/misc/vboxdrv.ko > /lib/modules/5.4.80-gentoo-r1/misc/vboxnetadp.ko > /lib/modules/5.4.80-gentoo-r1/misc/vboxnetflt.ko > > What is missing is in 5.4.80-gentoo-r1 is: vboxpci.ko > > In my old kernel it was there: > /lib/modules/5.4.72-gentoo/misc/vboxpci.ko It seems to me this driver is no longer needed/used.
Re: [gentoo-user] Failed to load vboxpci
On 1/18/21 2:12 PM, tastytea wrote: > On 2021-01-18 14:04-0700 the...@sys-concept.com wrote: > >> emerge --info >> Portage 3.0.13 (python 3.8.6-final-0, >> default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r5, >> 5.4.80-gentoo-r1 x86_64) >> >> This is new installation. >> cat /etc/modules-load.d/virtualbox.conf >> vboxdrv >> vboxnetadp >> vboxnetflt >> vboxpci >> >> All modules are loading OK except "vboxpci" >> >> modprobe vboxpci >> modprobe: FATAL: Module vboxpci not found in directory >> /lib/modules/5.4.80-gentoo-r1 > > app-emulation/virtualbox-modules does not install vboxpci.ko here. I > guess the information in the wiki is outdated. > > $ equery files app-emulation/virtualbox-modules | grep '\.ko$' > /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxdrv.ko > /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetadp.ko > /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetflt.ko > > Kind regards, tastytea I have the same output: # equery files app-emulation/virtualbox-modules | grep '\.ko$' /lib/modules/5.4.80-gentoo-r1/misc/vboxdrv.ko /lib/modules/5.4.80-gentoo-r1/misc/vboxnetadp.ko /lib/modules/5.4.80-gentoo-r1/misc/vboxnetflt.ko What is missing is in 5.4.80-gentoo-r1 is: vboxpci.ko In my old kernel it was there: /lib/modules/5.4.72-gentoo/misc/vboxpci.ko
[gentoo-user] Failed to load vboxpci
emerge --info Portage 3.0.13 (python 3.8.6-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r5, 5.4.80-gentoo-r1 x86_64) This is new installation. cat /etc/modules-load.d/virtualbox.conf vboxdrv vboxnetadp vboxnetflt vboxpci All modules are loading OK except "vboxpci" modprobe vboxpci modprobe: FATAL: Module vboxpci not found in directory /lib/modules/5.4.80-gentoo-r1
Re: [gentoo-user] network transfer speed
On 1/18/21 4:41 AM, bobwxc wrote: > 在 2021/1/18 下午6:19, J. Roeleveld 写道: >> On Monday, January 18, 2021 10:58:24 AM CET Raffaele BELARDI wrote: -Original Message- From: J. Roeleveld Sent: Monday, January 18, 2021 09:47 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] network transfer speed Some cheaper switches fail-over to hub-mode when the traffic exceeds what it can manage. >>> Interesting, do you have pointers to such switches' specs? Or is it from >>> experience? > That's true. > Some cheap switches may become like a network cable when it fails or exceeds > network flow. And there is also no log to check, will cause some strange > problems. > > Actually , some business machines also have such a policy that they become > straight through or completely blocked in case of failure. But they have a > fail log for review. >> This is from experience, also 1 of the reasons why I switched to managed >> switches. >> >> -- >> Joost What switch would you folks recommend? I'm planning getting to the bottom of it including replacing switch and cable if I have to.
Re: [gentoo-user] depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol
On 1/17/21 5:43 PM, the...@sys-concept.com wrote: > I'm compiling VirtualBox support into the latest kernel-5.4.80-gentoo-r1 > > [*] Virtualization ---> > <*> Kernel-based Virtual Machine (KVM) support > <*> KVM for AMD processors support > > And I get an error when compiling the kernel: make && make modules_install > > DEPMOD 5.4.80-gentoo-r1 > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_mmap > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_manager_func > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_device_release > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_kunmap > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_del_sub_from_lru > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_device_init > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_init_mm > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_dma_acc_size > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_tt_init > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_kmap > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_add_to_lru > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_init > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_validate > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_move_to_lru_tail > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_put > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_tt_fini > depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs > unknown symbol ttm_bo_eviction_valuable In kernel-5.4.80-gentoo-r1 CONFIG_DRM_VBOXVIDEO is not set need to be set for VirtualBox. The strange part is that this setting is not enable in: kernel-5.4.72-gentoo x86_64 and VirtualBox is working and I never got any error messages like this when compiling kernel-5.4.72-gentoo
[gentoo-user] depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol
I'm compiling VirtualBox support into the latest kernel-5.4.80-gentoo-r1 [*] Virtualization ---> <*> Kernel-based Virtual Machine (KVM) support <*> KVM for AMD processors support And I get an error when compiling the kernel: make && make modules_install DEPMOD 5.4.80-gentoo-r1 depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_mmap depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_manager_func depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_device_release depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_kunmap depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_del_sub_from_lru depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_device_init depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_init_mm depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_dma_acc_size depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_tt_init depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_kmap depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_add_to_lru depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_init depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_validate depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_move_to_lru_tail depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_put depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_tt_fini depmod: WARNING: /lib/modules/5.4.80-gentoo-r1/misc/vboxvideo.ko needs unknown symbol ttm_bo_eviction_valuable
Re: [gentoo-user] merged on \${HOST} with notice"
On 1/17/21 2:04 PM, David Haller wrote: > Hello, > > On Sun, 17 Jan 2021, the...@sys-concept.com wrote: >> I have in a new machine (as on all other boxes) in make.conf >> PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice" > [..] >> Which file define "${HOST}" > > /etc/hosts > [..] > # IP-Address Full-Qualified-Hostname Short-Hostname > > 127.0.0.1 syscon3.domain.tld syscon3 localhost > ::1 syscon3.domain.tld syscon3 localhost > > > Use 'localdomain' as domain.tld if you don't have a domain. > > HTH, > -dnh THANK YOU! It is working. Does placement of the name make a difference? eg: 127.0.0.1 syscon3.domain.tld syscon3 localhost vs. 127.0.0.1 localhost syscon3 syscon3.domain.tld
Re: [gentoo-user] merged on \${HOST} with notice"
On 1/17/21 12:59 PM, Hogren wrote: > > On 17/01/2021 19:18, the...@sys-concept.com wrote: >> I have in a new machine (as on all other boxes) in make.conf >> PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice" >> >> In /etc/conf.d/hostname >> hostname="syscon3" >> >> But when a package is emerge I receive via email notice as in subject line: >> "...merged on localhost.localdomain" >> eg: package dev-vcs/git-2.26.2 merged on localhost.localdomain with notice >> >> Which file define "${HOST}" >> > Hello, > > I suppose you had already rebooted after modify the file ? > > Do you have Systemd ? I forgot to mention, I use openrc
Re: [gentoo-user] merged on \${HOST} with notice"
On 1/17/21 12:59 PM, Hogren wrote: > > On 17/01/2021 19:18, the...@sys-concept.com wrote: >> I have in a new machine (as on all other boxes) in make.conf >> PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice" >> >> In /etc/conf.d/hostname >> hostname="syscon3" >> >> But when a package is emerge I receive via email notice as in subject line: >> "...merged on localhost.localdomain" >> eg: package dev-vcs/git-2.26.2 merged on localhost.localdomain with notice >> >> Which file define "${HOST}" >> > Hello, > > I suppose you had already rebooted after modify the file ? > > Do you have Systemd ? > > > Regards, > > Hogren No, I did not rebooted the system. Do I need to? I can not pin it down which file/setting it is. When I receive emerge notice from my new system, both of them have "...merged on localhost.localdomain" instead of "hostname" eg. syscon3 syscon7 etc.
[gentoo-user] merged on \${HOST} with notice"
I have in a new machine (as on all other boxes) in make.conf PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice" In /etc/conf.d/hostname hostname="syscon3" But when a package is emerge I receive via email notice as in subject line: "...merged on localhost.localdomain" eg: package dev-vcs/git-2.26.2 merged on localhost.localdomain with notice Which file define "${HOST}"
Re: [gentoo-user] new installation - ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase)
On 1/17/21 4:18 AM, Michael wrote: > On Sunday, 17 January 2021 11:04:17 GMT Peter Humphrey wrote: >> On Saturday, 16 January 2021 20:59:17 GMT the...@sys-concept.com wrote: >>> Reinstalling Gentoo on one box (I wiped the root partition, so it is a >>> clean install) and I'm getting this error >> >> --->8 >> >> Have you thought of using rust-bin instead of rust? "emerge -1 rust-bin" It >> saves prodigious amounts of compiling here. Of course, you can't do that if >> you need to set particular USE flags. >> >> There was a discussion here a month or two ago. Either rust or rust-bin will >> satisfy virtual/rust. > > > Rust uses up tonnes of RAM in compiling, so unless enough RAM and perhaps > SWAP > is available, it could fail. Increasing resources and/or reducing the make > job number should improve the situation. I think that might have been the case, I run emerge second time and it compiled just fine. Maybe I will switch to "rust-bin", thanks for suggestion. Why do we need it, is it part of "system-bootstrap"?
Re: [gentoo-user] fstab mount /home by default
On 1/17/21 1:22 AM, the...@sys-concept.com wrote: > On one of my system I have in fstab: > /dev/sda4 /home ext4noatime 0 1 > and /home is mounted by default > > On my new installation, I have in my fstab: > /dev/sda5 /home ext4noatime 0 1 > > but on new installation /home doesn't mount by default, why? > > On new installation, I created a user without "-m" > useradd -G users,wheel,audio -s /bin/bash thelma > > added to fstab: > /dev/sda5 /home ext4noatime 0 1 > > but it doesn't mount by default. > xfce4 created new entry in /home /thelma > so I deleted the entry /thelma but manual mounting: mount /dev/sda5 /home > does not create directory /thelma manually under /home > > When I mount manually /dev/sda5 /home all data is there but but trying login > as user "X" gets a black screen now. > How to get back "X" > > When I ssh and try to start it manually I get: > Fatal server error: > (EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied) Spelling :-/ It should be: dev/sda5/home ext4defaults 0 1
[gentoo-user] fstab mount /home by default
On one of my system I have in fstab: /dev/sda4 /home ext4noatime 0 1 and /home is mounted by default On my new installation, I have in my fstab: /dev/sda5 /home ext4noatime 0 1 but on new installation /home doesn't mount by default, why? On new installation, I created a user without "-m" useradd -G users,wheel,audio -s /bin/bash thelma added to fstab: /dev/sda5 /home ext4noatime 0 1 but it doesn't mount by default. xfce4 created new entry in /home /thelma so I deleted the entry /thelma but manual mounting: mount /dev/sda5 /home does not create directory /thelma manually under /home When I mount manually /dev/sda5 /home all data is there but but trying login as user "X" gets a black screen now. How to get back "X" When I ssh and try to start it manually I get: Fatal server error: (EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)
[gentoo-user] new installation - ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase)
rt note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. Traceback (most recent call last): File "./x.py", line 11, in bootstrap.main() File "/var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src/src/bootstrap/bootstrap.py", line 1009, in main bootstrap(help_triggered) File "/var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src/src/bootstrap/bootstrap.py", line 995, in bootstrap run(args, env=env, verbose=build.verbose) File "/var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src/src/bootstrap/bootstrap.py", line 143, in run raise RuntimeError(err) RuntimeError: failed to run: /var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src/build/bootstrap/debug/bootstrap dist -vv --config=/var/tmp/portage/dev-lang/rust-1.47.0-r2/work/rustc-1.47.0-src/config.toml -j8 * ERROR: dev-lang/rust-1.47.0-r2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 3644: Called die * The specific snippet of code: * env $(cat "${S}"/config.env) RUST_BACKTRACE=1 "${EPYTHON}" ./x.py dist -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die ) -- Thelma
Re: [gentoo-user] network transfer speed
On 1/15/21 9:00 PM, Adam Carter wrote: >> On a remote network I run ethtool on both cards and I got both 1000Mb/s >> speed >> >> > As the 20 odd MB/s you're getting is above what is possible on 100M > ethernet, you can rule out any ethernet interfaces at 100M. 1.) One Gentoo PC (that is about 20-30meters away from the switch) negotiated the speed of only 100 despite being capable of doing 1000. I'll have to buy a new switch and make a new CAT5e cable to test it. But but it will take some time. > Can you describe the network between the two systems with the slow transfer? 2.) The two Gentoo PC that are meters away from the switch are my concern firs. One is a server, another small PC run 24/7 and both negotiated speed of 1000 with the switch. I have to re-test the transfer speed between these to boxes first, and check to light on the switch if it is green and/or orange > If there is a fast WAN from one side of the globe to the other it could be > latency related. OpenSSH used to have a fixed internal window size that > made it slow on high bandwidth high latency links, and I notice the hpn USE > flag still exists in the openssh ebuild, which implies the issue with > openssh still exists. Rsync can use either ssh or its own protocol, so if > there's a high latency link between the two boxes and rsync is using ssh, > you could investigate rebuilding openssh with +hpn. > > What does ping show the latency as? > > Otherwise i'd be thinking about packet loss. First place to start for that > is on the endpoint interfaces; > ifconfig enp35s0f0 | grep err > RX errors 0 dropped 0 overruns 0 frame 0 > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 I'll test the above for errors tomorrow.
Re: [gentoo-user] network transfer speed
On 1/16/21 11:55 AM, Michael wrote: > On Friday, 15 January 2021 22:43:36 GMT the...@sys-concept.com wrote: > >> The fact that I'm logged via ssh over VPN to a remote network should not >> have any influence over network speed. > > It may influence speed if you're trying to push a large file through the > tunnel. TCP over TCP tends to choke due to retransmissions: > > http://sites.inka.de/bigred/devel/tcp-tcp.html > > Is the VPN you mention using a TCP or UDP tunnel? The VPN is using UDP tunnel. > >> I just made a loop: >> Network A ==> Internet ==> Network B >> ssh back to Network A over internet and run "rsync" I got same speed (as if >> I run the command locally) on Network A 112MB/s >> >> So the limiting factor is somewhere else. > > I'm sorry, but I fail to understand with any clarity what runs where and how > when you test things locally, Vs remotely. I mean: What I did is log-in to a remote network over ssh, from remote network I logged back to my network PC using ssh and tested the transfer speed. > - Network topology; > - Network Protocols; > - Applications & application protocols; > - Relevant services on each peer; > - Actions on each peer; > - Results per action. > > As already mentioned iperf or netcat/telnet results will confirm if this is > purely a network issue, ISPs performing deep packet inspection/throttling > affecting throughput asymmetrically, etc. > > SSDs are typically faster than spinning disks, but not always as fast as > ramdisks/tmpfs, especially if write amplification takes place, TRIM kicks in, > > etc. > > Stacking network + application protocols can also have an adverse effect. > Applications like rsync which compare file names, sizes, hashes and what not, > do not offer a reliable speed comparison. > > Methodically testing each component of the transmission system should get you > an answer at the end. On a remote network there are 5-pcs - two of them are Windows PC - 3-pcs are Gentoo I was just testing Getnoo PC's One small PC is about 20-30meters away from the switch and connected by CAT5 (or CAT5e) that PC is network card is capable of 1000-speed according to "ethtool" but negotiated the speed of 100 according to: /sys/class/net/enp4s0/speed The 2-PCs closer to the switch, negotiated the speed of 1000 according to: /sys/class/net/enp/speed I have to check (this week) if they are both connected directly to a switch and or firewall Ausus RT-AC66U and the light on the switch. I'll check out/investigate the use of "net-misc/iperf" to check the speed.
Re: [gentoo-user] network transfer speed
On 1/15/21 1:11 AM, Raffaele BELARDI wrote: >> -Original Message- >> From: the...@sys-concept.com >> Sent: Friday, January 15, 2021 07:57 >> To: Gentoo mailing list >> Subject: [gentoo-user] network transfer speed >> >> >> On both of my systems the network card speed is showing 1000 >> cat /sys/class/net/enp4s0/speed 1000 >> >> but when I do rsync larage file I only see about: 20 to 22MB/s On my home >> network I get about 110MB/s between PC's >> >> Both PC's have SSD and the swith is Gigabit (I think). >> How to find a the bottleneck? > > If the PCs attached to the switch show 1000 then the switch _is_ gigabit. > > On my 1Gb home network I have an FTP transfer speed between Gentoo PCs A and > B of almost 900Mbps, the other way round is almost half of that. One > difference between the two systems is the disk, A uses SATA-2 disk while B > has SATA-3. > > Does the 'B' in 110MB/s stand for byte? If so you have 880Mbps which is not > bad, the problem probably lies somewhere else. Otherwise you could check the > switch error count (if you have a managed switch) or the network card error > count, just to ensure you don't have a cabling/connector problem. > > Have you tried other transfer methods just for comparison? I think FTP is > still the fastest way to transfer files, though insecure or inconvenient as > it might be. I have no experience with rsync. > > raffaele On a remote network I run ethtool on both cards and I got both 1000Mb/s speed 1.) ethtool net0 Settings for net0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: Symmetric Link partner advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: on MDI-X: on (auto) 2.) ethtool enp4s0 Settings for enp4s0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on MDI-X: on (auto)
Re: [gentoo-user] network transfer speed
On 1/15/21 9:55 AM, Jack wrote: [snip] I don't know where does the file he sync from. If you sync a file from a server in other city, for a 20 to 22MB/s speed is very normal. But if in home, that is not good. And for ftp and rsync. ftp is better for transferring a single large file once. rsync is better for a long-term, incremental synchronization. The file verification of rsync may take a lot of time for first sync. >>> There is a theoretical network speed as already mentioned. There is a >>> protocol speed, which may limit throughput if it has e.g. heavy encryption/ >>> compression and the CPU is anaemic. Finally, there is a MoBo bus >>> (SCSI/SATA/ >>> USB) and the media storage limit. If using USB 1.1 or 2.0 and/or the disks >>> are slow or experience write amplification, you'll find this will constrain >>> the final transfer speed significantly. >> The computers on this network are 2-meters apart and they both use SSD Drive >> (so USB limitation doesn't come under consideration). >> Like I said, on my home network when I transfer the 24GB file I get about >> 110MiBps transfer, so I was expecting the same in remote location). >> Some units are connected to a router Ausus RT-AC66U B1 but these ports are >> gigabit too. > When you say the computers are remote, is it possible the file is passing > through your local computer on the way between the two remote machines? > Where are you actually running the rsync command? The fact that I'm logged via ssh over VPN to a remote network should not have any influence over network speed. I just made a loop: Network A ==> Internet ==> Network B ssh back to Network A over internet and run "rsync" I got same speed (as if I run the command locally) on Network A 112MB/s So the limiting factor is somewhere else.
Re: [gentoo-user] network transfer speed
On 1/15/21 9:55 AM, Jack wrote: > On 1/15/21 11:51 AM, the...@sys-concept.com wrote: >> On 1/15/21 2:58 AM, Michael wrote: >>> On Friday, 15 January 2021 08:42:16 GMT bobwxc wrote: 在 2021/1/15 下午4:27, Raffaele BELARDI 写道: >> -Original Message- >> From: bobwxc >> Sent: Friday, January 15, 2021 08:57 >> To: gentoo-user@lists.gentoo.org >> Subject: Re: [gentoo-user] network transfer speed >> >> 在 2021/1/15 下午2:56, the...@sys-concept.com 写道: >>> On both of my systems the network card speed is showing 1000 >>> cat /sys/class/net/enp4s0/speed 1000 >>> >>> but when I do rsync larage file I only see about: 20 to 22MB/s On my >>> home network I get about 110MB/s between PC's >>> >>> Both PC's have SSD and the swith is Gigabit (I think). >>> How to find a the bottleneck? >> 1000Mbps network card's maximum theoretical speed is about 125MiB/s. >> It only works in short distances. > Correct but that's the line speed that you'll never reach, when you take > into account Ethernet frame overhead, IP (and possibly TCP) header > overhead and application ( rsync, FTP, SMB, NFS) overhead you get lower > figures. In my experience 900Mbps (110MiBps) on a 1000Mbps line is more > realistic for 'normal' transfers. Yes, you are right. So it is just *theoretical* speed :-) I don't know where does the file he sync from. If you sync a file from a server in other city, for a 20 to 22MB/s speed is very normal. But if in home, that is not good. And for ftp and rsync. ftp is better for transferring a single large file once. rsync is better for a long-term, incremental synchronization. The file verification of rsync may take a lot of time for first sync. >>> There is a theoretical network speed as already mentioned. There is a >>> protocol speed, which may limit throughput if it has e.g. heavy encryption/ >>> compression and the CPU is anaemic. Finally, there is a MoBo bus >>> (SCSI/SATA/ >>> USB) and the media storage limit. If using USB 1.1 or 2.0 and/or the disks >>> are slow or experience write amplification, you'll find this will constrain >>> the final transfer speed significantly. >> The computers on this network are 2-meters apart and they both use SSD Drive >> (so USB limitation doesn't come under consideration). >> Like I said, on my home network when I transfer the 24GB file I get about >> 110MiBps transfer, so I was expecting the same in remote location). >> Some units are connected to a router Ausus RT-AC66U B1 but these ports are >> gigabit too. > When you say the computers are remote, is it possible the file is passing > through your local computer on the way between the two remote machines? > Where are you actually running the rsync command? I ssh over VPN to remote computers and run "rsync" there. Will it effect the speed?
Re: [gentoo-user] network transfer speed
On 1/15/21 2:58 AM, Michael wrote: > On Friday, 15 January 2021 08:42:16 GMT bobwxc wrote: >> 在 2021/1/15 下午4:27, Raffaele BELARDI 写道: -Original Message- From: bobwxc Sent: Friday, January 15, 2021 08:57 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] network transfer speed 在 2021/1/15 下午2:56, the...@sys-concept.com 写道: > On both of my systems the network card speed is showing 1000 > cat /sys/class/net/enp4s0/speed 1000 > > but when I do rsync larage file I only see about: 20 to 22MB/s On my > home network I get about 110MB/s between PC's > > Both PC's have SSD and the swith is Gigabit (I think). > How to find a the bottleneck? 1000Mbps network card's maximum theoretical speed is about 125MiB/s. It only works in short distances. >>> >>> Correct but that's the line speed that you'll never reach, when you take >>> into account Ethernet frame overhead, IP (and possibly TCP) header >>> overhead and application ( rsync, FTP, SMB, NFS) overhead you get lower >>> figures. In my experience 900Mbps (110MiBps) on a 1000Mbps line is more >>> realistic for 'normal' transfers. >> Yes, you are right. So it is just *theoretical* speed :-) >> >> I don't know where does the file he sync from. >> If you sync a file from a server in other city, for a 20 to 22MB/s speed >> is very normal. But if in home, that is not good. >> >> And for ftp and rsync. >> ftp is better for transferring a single large file once. >> rsync is better for a long-term, incremental synchronization. The >> file verification of rsync may take a lot of time for first sync. > > There is a theoretical network speed as already mentioned. There is a > protocol speed, which may limit throughput if it has e.g. heavy encryption/ > compression and the CPU is anaemic. Finally, there is a MoBo bus (SCSI/SATA/ > USB) and the media storage limit. If using USB 1.1 or 2.0 and/or the disks > are slow or experience write amplification, you'll find this will constrain > the final transfer speed significantly. The computers on this network are 2-meters apart and they both use SSD Drive (so USB limitation doesn't come under consideration). Like I said, on my home network when I transfer the 24GB file I get about 110MiBps transfer, so I was expecting the same in remote location). Some units are connected to a router Ausus RT-AC66U B1 but these ports are gigabit too.
Re: [gentoo-user] network transfer speed
On 1/15/21 6:26 AM, Hogren wrote: > > On 15/01/2021 09:34, Raffaele BELARDI wrote: >> >> ST Restricted >> >>> -Original Message- >>> From: Hogren >>> Sent: Friday, January 15, 2021 08:50 >>> To: gentoo-user@lists.gentoo.org >>> Subject: Re: [gentoo-user] network transfer speed >>> >>> >>> On 15/01/2021 07:56, the...@sys-concept.com wrote: >>> Hello On both of my systems the network card speed is showing 1000 cat /sys/class/net/enp4s0/speed 1000 but when I do rsync larage file I only see about: 20 to 22MB/s On my home network I get about 110MB/s between PC's Both PC's have SSD and the swith is Gigabit (I think). How to find a the bottleneck? >>> 20MB = 80Mb so it sounds like your network is a 100Mb network. What is the >>> perfs of your switch(s) between your systems ? >> I disagree, /sys/class/net/enp4s0/speed shows the speed negotiated by the >> network card with the switch, it cannot be 1000 if the switch is a only a >> 10/100. I think we can safely assume the network is a gigabit one. >> >> raffaele > > Yes, I thought about that after. But may be he has several switchs between > the two systems. > > Hogren I just checked the remote location and there are two swiches: - D-link Green Technology (I think it is DSG-1005D - Trident Gigabit Switch - TEG-S80g They are both Gigabit switches.
[gentoo-user] network transfer speed
On both of my systems the network card speed is showing 1000 cat /sys/class/net/enp4s0/speed 1000 but when I do rsync larage file I only see about: 20 to 22MB/s On my home network I get about 110MB/s between PC's Both PC's have SSD and the swith is Gigabit (I think). How to find a the bottleneck?
Re: [gentoo-user] preventing some IP's from from being logged in apache
On 1/11/21 11:32 PM, J. Roeleveld wrote: [snip] > If you blocked the IP in the firewall, it shouldn't show in the log. > > Add iptables to the webserver and block that IP. > Personally, I would block the whole range (45.93.201.0/24), which is either > linked to Cyprus or Russia (according to whois) > > Any block in the apache-config might fail due to a bug or new configuration. > > -- > Joost Asus routers don't have capabilities to block external IP's (I need to find a better router). Blocking that IP range in apache works, all the IPs I blocked are getting 403 error (regardless what they type) but you might be right, apache 2.4 SetEnvIf Remote_Addr "45\.93\.201\.104" dontlog (does not work). I wish they design blocking by country easier.
Re: [gentoo-user] preventing some IP's from from being logged in apache
On 1/11/21 9:15 PM, mad.scientist.at.la...@tutanota.com wrote: > > > --"Fascism begins the moment a ruling class, fearing the people may use their > political democracy to gain economic democracy, begins to destroy political > democracy in order to retain its power of exploitation and special > privilege." Tommy Douglas > > [snip] >> I forgot to mention, my firewall doesn't have any capabilities to enter any >> configuration in IP tables. >> Maybe I'll look for one that does. >> > That would be the thing to do. You want everything logged, so you know what > is happening. If you blocked the logging how would you know if they made > progress. You want to know when people are trying to break in, and you want > to know when their tactics change. Not logging it is like plugging your' > ears and closing your' eyes while the battering ram is pounding your' door... > If I blocked the IP already, why would I want to log anything about that IP; they will will be denied access regardless.
Re: [gentoo-user] preventing some IP's from from being logged in apache
On 1/11/21 5:00 PM, the...@sys-concept.com wrote: > On 1/11/21 4:41 PM, Michael wrote: >> On Monday, 11 January 2021 23:05:55 GMT the...@sys-concept.com wrote: >>> I've one persistent user (Russian IP) that is populating my apache log >>> files. >>> >>> I tried 00_mod_log_config.conf >>> >>> SetEnvIf Remote_Addr "45\.93\.201\.104" dontlog >>> CustomLog /var/log/apache2/deflate_log deflate env=!dontlog >>> CustomLog /var/log/apache2/access_log common env=!dontlog >>> >>> But I still see this IP in my access_log. >> >> If it is the same IP address persistently attacking the server, I would be >> tempted to block it, or the whole /24 subnet it belongs to, at the perimeter >> firewall. Of course, persistent actors will hop off another IP address, so >> there are diminishing returns in this game. > > I did block this IP and it is working > Require not ip 45.93.201.0/24 > > I hardly resolve to blocking IP from log files, but if they try to > ping/access your network 4 or 5 per second your log files will tend to grow. > SetEnvIf Remote_Addr "45\.93\.201\.104" dontlog > didn't work. > > Just today from about 7am to 4pm about 96K pings from this IP. I forgot to mention, my firewall doesn't have any capabilities to enter any configuration in IP tables. Maybe I'll look for one that does.
Re: [gentoo-user] preventing some IP's from from being logged in apache
On 1/11/21 4:41 PM, Michael wrote: > On Monday, 11 January 2021 23:05:55 GMT the...@sys-concept.com wrote: >> I've one persistent user (Russian IP) that is populating my apache log >> files. >> >> I tried 00_mod_log_config.conf >> >> SetEnvIf Remote_Addr "45\.93\.201\.104" dontlog >> CustomLog /var/log/apache2/deflate_log deflate env=!dontlog >> CustomLog /var/log/apache2/access_log common env=!dontlog >> >> But I still see this IP in my access_log. > > If it is the same IP address persistently attacking the server, I would be > tempted to block it, or the whole /24 subnet it belongs to, at the perimeter > firewall. Of course, persistent actors will hop off another IP address, so > there are diminishing returns in this game. I did block this IP and it is working Require not ip 45.93.201.0/24 I hardly resolve to blocking IP from log files, but if they try to ping/access your network 4 or 5 per second your log files will tend to grow. SetEnvIf Remote_Addr "45\.93\.201\.104" dontlog didn't work. Just today from about 7am to 4pm about 96K pings from this IP.
[gentoo-user] preventing some IP's from from being logged in apache
I've one persistent user (Russian IP) that is populating my apache log files. I tried 00_mod_log_config.conf SetEnvIf Remote_Addr "45\.93\.201\.104" dontlog CustomLog /var/log/apache2/deflate_log deflate env=!dontlog CustomLog /var/log/apache2/access_log common env=!dontlog But I still see this IP in my access_log.
Re: [gentoo-user] resizing and moving home directory to new partition on same drive
On 1/10/21 9:26 PM, Adam Carter wrote: >> >> Can I use "nano" to edit /etc/password file >> > > Yes, but it's generally safest to use usermod. When I try to use usermod -d /mnt/home/thelma -m thelma I get: usermod: user thelma is currently used by process 3037 Do I need to boot strap for this to work?
Re: [gentoo-user] resizing and moving home directory to new partition on same drive
On 1/10/21 3:46 PM, antlists wrote: > And a little bit you might have missed - DON'T put root's home on a mounted > disk - if it's currently in /home, move it to /. Don't forget to edit > /etc/passwd if you have to move it. Can I use "nano" to edit /etc/password file all I need to change is the user:x:1000:1000::/home/user:/bin/bash to: user:x:1000:1000::/mnt/home/user:/bin/bash Or I need to use: "vipw -s"
Re: [gentoo-user] resizing and moving home directory to new partition on save drive
On 1/10/21 6:57 PM, Wols Lists wrote: > On 11/01/21 00:31, the...@sys-concept.com wrote: >> On 1/10/21 3:46 PM, antlists wrote: >>> On 10/01/2021 21:42, the...@sys-concept.com wrote: I want to move /home directory to a new partition (save drive). I have 1-SSD drive: Filesystem Size Used Avail Use% /dev/sda4 916G 405G 464G 47% / Home directory is on it taking about 360GB I was planning doing it in stages. Stage-1 Using Gparted to resize "/" portion shirk it to about 450GB create new ext4 partition for /home /dev/sda5 Boot-strap the PC with live-gentoo mv /home /home.org mkdir /home mount ext4 /dev/sda5 /home/ cp -rp /home.org/* /home/ edit fstab: /dev/sda5/homeext4default 0 0 reboot and test home Am I missing something? >>> >>> Couple of things. >>> >>> Firstly, why use a gentoo live disk? Just log in as root. >>> >>> Secondly, why rename home? Just mount sda5 on /mnt to do the move, then add >>> it to fstab to mount on /home. >>> >>> And a little bit you might have missed - DON'T put root's home on a mounted >>> disk - if it's currently in /home, move it to /. Don't forget to edit >>> /etc/passwd if you have to move it. >> >> Can you elaborate pls.? >> My current "home" is in "/"; so why move it there, it is already there. >> I don't have extra disk around, but I could copy /home over network to >> another PC. > > Are you logging in as root?! THAT'S DANGEROUS! > > Probably not, you are probably misunderstanding me. > > I've just checked, on my system, root's home is /root, which is as it > should be. Is your home /home/username, or is it /username? You make it > sound like it's /username, which I don't think is what you mean ... >> >> I was planning to move "home" to another partition as I plan to wipe old >> installation (it is impossible for me to upgrade); it will be easier to >> reinstall. >> My old installation is: >> Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, >> gcc-6.4.0, glibc-2.25-r10, 4.9.72-gentoo x86_64) >> >> Since, old installation has home or "/" (root) partition, if I wipe the >> root, home will be gone as well. So I was planning on moving "home" to >> another partition, this way all data will be there. >> So, after moving "home" to another partition "sda5" I can wipe the "sda4" >> and re-install gentoo. "home" data would not be touched by upgrade. >> >> > Ahh ... you didn't say that! That changes everything! > > Okay. I would look to free about 380GB (just enough) at the end of the > disk to create sda5 which will be (at least temporarily) your new /home. > LOGGED IN AS ROOT just mount that on /mnt, and copy the contents of > /home into it. > > Now using your gentoo install disk delete sda4 and split it into two - > your new sda4 for your new gentoo, and a new sda5 (AT LEAST as big as > one you created in the last step), which will shunt the partition you > just created into sda6. Install your new gentoo. > > Now you've got sda4 (/), sda5 (which will be /home), and sda6 (where > you've just copied your old /home). Mount sda6 on /mnt again, and copy > it to /home (sda5). > > Finally, delete sda6, extend sda5 to use the space you've just freed, > and expand the filesystem on /home to use the full size of the extended > partition. > > That'll probably leave you with a 150GB /root, but that'll be plenty I > expect (and a 760GB /home). > > Cheers, > Wol > Thank you, that will work too!
Re: [gentoo-user] resizing and moving home directory to new partition on save drive
On 1/10/21 3:46 PM, antlists wrote: > On 10/01/2021 21:42, the...@sys-concept.com wrote: >> I want to move /home directory to a new partition (save drive). >> >> I have 1-SSD drive: >> Filesystem Size Used Avail Use% >> /dev/sda4 916G 405G 464G 47% / >> >> >> Home directory is on it taking about 360GB >> >> I was planning doing it in stages. >> >> Stage-1 >> Using Gparted to resize "/" portion shirk it to about 450GB >> create new ext4 partition for /home /dev/sda5 >> >> Boot-strap the PC with live-gentoo >> mv /home /home.org >> mkdir /home >> mount ext4 /dev/sda5 /home/ >> >> cp -rp /home.org/* /home/ >> >> edit fstab: >> /dev/sda5 /home ext4 default 0 0 >> reboot and test home >> >> Am I missing something? > > Couple of things. > > Firstly, why use a gentoo live disk? Just log in as root. > > Secondly, why rename home? Just mount sda5 on /mnt to do the move, then add > it to fstab to mount on /home. > > And a little bit you might have missed - DON'T put root's home on a mounted > disk - if it's currently in /home, move it to /. Don't forget to edit > /etc/passwd if you have to move it. Can you elaborate pls.? My current "home" is in "/"; so why move it there, it is already there. I don't have extra disk around, but I could copy /home over network to another PC. I was planning to move "home" to another partition as I plan to wipe old installation (it is impossible for me to upgrade); it will be easier to reinstall. My old installation is: Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.25-r10, 4.9.72-gentoo x86_64) Since, old installation has home or "/" (root) partition, if I wipe the root, home will be gone as well. So I was planning on moving "home" to another partition, this way all data will be there. So, after moving "home" to another partition "sda5" I can wipe the "sda4" and re-install gentoo. "home" data would not be touched by upgrade.
[gentoo-user] resizing and moving home directory to new partition on save drive
I want to move /home directory to a new partition (save drive). I have 1-SSD drive: Filesystem Size Used Avail Use% /dev/sda4 916G 405G 464G 47% / Home directory is on it taking about 360GB I was planning doing it in stages. Stage-1 Using Gparted to resize "/" portion shirk it to about 450GB create new ext4 partition for /home /dev/sda5 Boot-strap the PC with live-gentoo mv /home /home.org mkdir /home mount ext4 /dev/sda5 /home/ cp -rp /home.org/* /home/ edit fstab: /dev/sda5 /home ext4default 0 0 reboot and test home Am I missing something? If everything works, remove /home.org Stage-2: With Gparted resize both root and home portion, giving root about 200GB and rest to /home (dev/sda5)
Re: [gentoo-user] Thunderbird - Unable to save your message as a draft.
On 1/5/21 1:16 PM, antlists wrote: > On 04/01/2021 20:18, the...@sys-concept.com wrote: >> With Thunderbird-78.6.0 I'm getting an error message when composing messages: >> >> Unable to save your message as a draft. >> Sending of the message failed. >> >> What is the solution? I've run onto few of them but they are mostly for >> Windows users not really applicable to Linux. >> > Is your drafts folder on a network? Is the network available? I've hit that > problem a few times. > > Cheers, > Wol No, it was on a local computer. I restore emails from old computer (lost one day of emails) and now it is working. But I don't know what had happened. I've tried to restore only specific folders "Drafts" from old computer but it did not help, so it must have had something to do with other configuration. I've notices others had similar issues but solution is not standard across as TB has different menu layout through out platforms and versions. They are making it hard to configure it. As an example is a line wrapping, and old version of TB had this under "Option" menu (I think); now they hide it it some obscure configuration menu under "Edit --> Preferences --> General)
[gentoo-user] Thunderbird - Unable to save your message as a draft.
With Thunderbird-78.6.0 I'm getting an error message when composing messages: Unable to save your message as a draft. Sending of the message failed. What is the solution? I've run onto few of them but they are mostly for Windows users not really applicable to Linux.
Re: [gentoo-user] Apache 2.4 - set SecStatusEngine to On
Thelma On 1/3/21 9:02 AM, Michael wrote: > On Saturday, 2 January 2021 04:46:58 GMT the...@sys-concept.com wrote: >> Status engine is currently disabled, enable it by set SecStatusEngine to On. >> >> How to enable "SecStatusEngine to On" in Apache 2.4 >> >> From my log file: >> [Fri Jan 01 19:44:52.649498 2021] [core:notice] [pid 14152] AH00094: >> Command line: '/usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D >> SSL_DEFAULT_VHOST -D LANGUAGE -D PHP -D SECURITY -d /usr/lib64/apache2 >> -f /etc/apache2/httpd.conf' >> [Fri Jan 01 21:10:26.781254 2021] [mpm_prefork:notice] [pid 14152] >> AH00169: caught SIGTERM, shutting down >> [Fri Jan 01 21:10:27.871561 2021] [:notice] [pid 16586] ModSecurity for >> Apache/2.9.3 (http://www.modsecurity.org/) configured. >> [Fri Jan 01 21:10:27.871577 2021] [:notice] [pid 16586] ModSecurity: APR >> compiled version="1.7.0"; loaded version="1.7.0" >> [Fri Jan 01 21:10:27.871579 2021] [:notice] [pid 16586] ModSecurity: >> PCRE compiled version="8.44 "; loaded version="8.44 2020-02-12" >> [Fri Jan 01 21:10:27.871581 2021] [:notice] [pid 16586] ModSecurity: >> LIBXML compiled version="2.9.10" >> [Fri Jan 01 21:10:27.871582 2021] [:notice] [pid 16586] ModSecurity: >> Status engine is currently disabled, enable it by set SecStatusEngine to On. > > I would think you set it on in the config file for your vhost. I don't use > this function, but there are instructions how to configure it here: > > https://github.com/SpiderLabs/ModSecurity/wiki > > HTH. Adding: SecStatusEngine On to: 79_mod_security.conf solved the problem, the error message went away, but I'm puzzled why these messages appear in file: error_log these are not error logs just information.
Re: [gentoo-user] sound not working
On 1/2/21 10:45 PM, the...@sys-concept.com wrote: > I have: > lspci | grep -i audio > 08:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio > Controller (rev a1) > 0a:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD > Audio Controller > > Kernel (seems like correct driver) > grep -i snd_hda_intel .config > CONFIG_SND_HDA_INTEL=y > # CONFIG_SND_HDA_INTEL_DETECT_DMIC is not set > > User is in "audio" group. > alsamixer is showing only: > Card: PulseAudio > Chip: PulseAudio > > Shouldn't it be showing some kind of Nvidia audio? I was able to make it to work by compiling some additional codec in kernel but I can not store the alsa letting: alsamixer XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.) What to do with it?
[gentoo-user] sound not working
I have: lspci | grep -i audio 08:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1) 0a:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller Kernel (seems like correct driver) grep -i snd_hda_intel .config CONFIG_SND_HDA_INTEL=y # CONFIG_SND_HDA_INTEL_DETECT_DMIC is not set User is in "audio" group. alsamixer is showing only: Card: PulseAudio Chip: PulseAudio Shouldn't it be showing some kind of Nvidia audio?
Re: [gentoo-user] thunderbird - 78.6.0 disable line wrap
On 1/2/21 2:55 AM, Remco Rijnders wrote: > On Fri, Jan 01, 2021 at 09:40:59PM -0700, thelma wrote in > <4047b613-de75-3eeb-46cf-df4895577...@sys-concept.com>: >> I was using old version of thunderbird and line wrap was in "Option" menu; >> but in new version "line wrap On/Off" disappeared. >> >> How to disable line wrap? > > They make this really impossible to find... Anyways, go to the menu Edit --> > Preferences, then scroll down go to the bottom option in the window that shows > "Config Editor...". Click to accept the risk and void your warranty. In the > search bar, enter "wrap". I think the settings you'll want are > mail.wrap_long_lines and/or plain_text.wrap_long_lines. Double click to change > the values. The changed settings should take effect immediately. > > I hope this helps. > > Kind regards, > > Remco Yes, I found it. They keep changing these settings; I don't know why. Changing: "mailnews.wraplength" value "72" to "0" Solved the problem thanks
[gentoo-user] Apache - prevent local ip from log files
Trying to prevent local local IP from appearing in log files. I have in modules.d/00_mod_log_config.conf DeflateFilterNote Input instream DeflateFilterNote Output outstream DeflateFilterNote Ratio ratio LogFormat '"%h %l %u %t \"%r\" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog SetEnvIf Remote_Addr "10\.0\.0\.109" dontlog CustomLog /var/log/apache2/access_log common env=!dontlog This setting worked in Apache 2.2 but Apache 2.4 is still logging all my localhost IP's.
[gentoo-user] Apache 2.4 - set SecStatusEngine to On
Status engine is currently disabled, enable it by set SecStatusEngine to On. How to enable "SecStatusEngine to On" in Apache 2.4 From my log file: [Fri Jan 01 19:44:52.649498 2021] [core:notice] [pid 14152] AH00094: Command line: '/usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP -D SECURITY -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf' [Fri Jan 01 21:10:26.781254 2021] [mpm_prefork:notice] [pid 14152] AH00169: caught SIGTERM, shutting down [Fri Jan 01 21:10:27.871561 2021] [:notice] [pid 16586] ModSecurity for Apache/2.9.3 (http://www.modsecurity.org/) configured. [Fri Jan 01 21:10:27.871577 2021] [:notice] [pid 16586] ModSecurity: APR compiled version="1.7.0"; loaded version="1.7.0" [Fri Jan 01 21:10:27.871579 2021] [:notice] [pid 16586] ModSecurity: PCRE compiled version="8.44 "; loaded version="8.44 2020-02-12" [Fri Jan 01 21:10:27.871581 2021] [:notice] [pid 16586] ModSecurity: LIBXML compiled version="2.9.10" [Fri Jan 01 21:10:27.871582 2021] [:notice] [pid 16586] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
[gentoo-user] thunderbird - 78.6.0 disable line wrap
I was using old version of thunderbird and line wrap was in "Option" menu; but in new version "line wrap On/Off" disappeared. How to disable line wrap?
[gentoo-user] x2goserver - very slow
The current x2goserver-4.1.0.2 is very, very slow. I am still runing older x2goserver-4.0.1.22 and the speed is OK but the current one 4.1.0.2 is very slow over local LAN regardless of the setting I use.
Re: [gentoo-user] x2go server - Connection failed. /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db:
On 12/30/2020 02:10 PM, the...@sys-concept.com wrote: > I just installed x2goserver-4.1.0.2 (fuse sqlite -postgres) and I'm > getting an error trying to connect to the server: I've missed the find print: x2godbadmin --createdb
[gentoo-user] x2go server - Connection failed. /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db:
I just installed x2goserver-4.1.0.2 (fuse sqlite -postgres) and I'm getting an error trying to connect to the server: Connection failed. /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db: syntax error in expression (error token is "::SQLite::db") /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db: syntax error in expression (error token is "::SQLite::db") /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db: syntax error in expression (error token is "::SQLite::db") /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db: syntax error in expression (error token is "::SQLite::db") /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db: syntax error in expression (error token is "::SQLite::db") /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db: syntax error in expression (error token is "::SQLite::db") /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db: syntax error in expression (error token is "::SQLite::db") /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db: syntax error in expression (error token is "::SQLite::db") /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db: syntax error in expression (error token is "::SQLite::db") /usr/lib64/x2go/x2gocheckport: line 131: DBD::SQLite::db: syntax error in expression (error token is "::SQLite::db") Unable to find free display port or insert new session into database; parameters: port (50), hostname (syscon7) and session name (). The server starts without any errors but client can not connect to it.
[gentoo-user] postfix error: SMTPUTF8 is required, but was not offered by host
Postfix is compiled with: "eai" flag I tried adding to main.cf: smtputf8_enable = yes I still get some mail return with error: SMTPUTF8 is required, but was not offered by host
[gentoo-user] \ \ \ 2021 / / /
{@} * {@} * {@} Merry X-mas and a Happy New Year! {@} * {@} * {@} * {@} Wish you all extra ordinary good luck! {@} * {@} * {@} \ \ \ 2021 / / / And thank you all for the help you trying to provide. That is what distinguish Gentoo community from other forums.
Re: [gentoo-user] Asterisk 13.36 - ast_db_put: Couldn't execute statement: attempt to write a readonly database
On 12/23/2020 12:47 PM, the...@sys-concept.com wrote: > When I try to register provision/register equipment to asterisk I get an > error message: > > [Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute > statement: SQL logic error > -- Registered SIP 'pstn-5665' at 10.0.0.110:5060 >> Saved useragent "Audiocodes-Sip-Gateway-/v.5.80A.032.003" for peer > pstn-5665 > [Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute > statement: SQL logic error > -- Registered SIP 'pstn-1270' at 10.0.0.110:5060 >> Saved useragent "Audiocodes-Sip-Gateway-/v.5.80A.032.003" for peer > pstn-1270 > [Dec 23 12:32:51] NOTICE[21685]: chan_sip.c:24776 handle_response_peerpoke: > Peer 'pstn-5665' is now Reachable. (61ms / 2000ms) > [Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute > statement: attempt to write a readonly database > -- Registered SIP '369' at 10.0.0.110:5060 > > /var/lib/asterisk > -rw-r--r-- 1 root root 16384 Dec 23 12:10 astdb.sqlite3 > > In my old asterisk-11.25 this file has owner "asterisk:astersik" but > changing the ownership of that file doesn't solve the problem, still getting > the same error: > > ast_db_put: Couldn't execute statement: attempt to write a readonly database To solve it, I tried to follow the steps from: https://community.asterisk.org/t/asterisk-warning/78443 But it didn't help.
[gentoo-user] Asterisk 13.36 - ast_db_put: Couldn't execute statement: attempt to write a readonly database
When I try to register provision/register equipment to asterisk I get an error message: [Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: SQL logic error -- Registered SIP 'pstn-5665' at 10.0.0.110:5060 > Saved useragent "Audiocodes-Sip-Gateway-/v.5.80A.032.003" for peer pstn-5665 [Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: SQL logic error -- Registered SIP 'pstn-1270' at 10.0.0.110:5060 > Saved useragent "Audiocodes-Sip-Gateway-/v.5.80A.032.003" for peer pstn-1270 [Dec 23 12:32:51] NOTICE[21685]: chan_sip.c:24776 handle_response_peerpoke: Peer 'pstn-5665' is now Reachable. (61ms / 2000ms) [Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: attempt to write a readonly database -- Registered SIP '369' at 10.0.0.110:5060 /var/lib/asterisk -rw-r--r-- 1 root root 16384 Dec 23 12:10 astdb.sqlite3 In my old asterisk-11.25 this file has owner "asterisk:astersik" but changing the ownership of that file doesn't solve the problem, still getting the same error: ast_db_put: Couldn't execute statement: attempt to write a readonly database
[gentoo-user] ERROR: asterisk failed to start
This is new asterisk (-13.36.0) installation when I try to start it, I get an error: * Caching service dependencies ... [ ok ] * Starting asterisk PBX ... * Max open filedescriptors : 4096 * Starting asterisk as : asterisk:asterisk (+supplementaries) * Signalling asterisk wrapper script to terminate ... [ !! ] * ERROR: asterisk failed to start When I re-emerge I get: >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-misc/asterisk-13.36.0::gentoo >>> Installing (1 of 1) net-misc/asterisk-13.36.0::gentoo >>> Jobs: 1 of 1 complete !!! existing preserved libs found
Re: [gentoo-user] Video card setting on XPS8940?
On 12/20/2020 11:51 PM, the...@sys-concept.com wrote: > On 12/20/2020 11:41 PM, Walter Dnes wrote: >> I'm working on setting up a new Dell XPS 8940. What do I set the >> video options to in the kernel and in "VIDEO_CARDS" in make.conf? >> Here's the output from "lspci -v". >> >> 00:02.0 VGA compatible controller: Intel Corporation Device 9bc8 (rev 03) >> (prog-if 00 [VGA controller]) >> DeviceName: Onboard - Video >> Subsystem: Dell Device 09c5 >> Flags: bus master, fast devsel, latency 0, IRQ 255 >> Memory at d000 (64-bit, non-prefetchable) [size=16M] >> Memory at c000 (64-bit, prefetchable) [size=256M] >> I/O ports at 4000 [size=64] >> Expansion ROM at 000c [virtual] [disabled] [size=128K] >> Capabilities: [40] Vendor Specific Information: Len=0c >> Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 >> Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit- >> Capabilities: [d0] Power Management version 2 >> Capabilities: [100] Process Address Space ID (PASID) >> Capabilities: [200] Address Translation Service (ATS) >> Capabilities: [300] Page Request Interface (PRI) > > I think you have to enable: CONFIG_DRM_I915 in kernel .config > > VIDEO_CARDS="intel i915" > > See: > https://cateee.net/lkddb/web-lkddb/DRM_I915.html Or: VIDEO_CARDS="intel i965"
Re: [gentoo-user] Video card setting on XPS8940?
On 12/20/2020 11:41 PM, Walter Dnes wrote: > I'm working on setting up a new Dell XPS 8940. What do I set the > video options to in the kernel and in "VIDEO_CARDS" in make.conf? > Here's the output from "lspci -v". > > 00:02.0 VGA compatible controller: Intel Corporation Device 9bc8 (rev 03) > (prog-if 00 [VGA controller]) > DeviceName: Onboard - Video > Subsystem: Dell Device 09c5 > Flags: bus master, fast devsel, latency 0, IRQ 255 > Memory at d000 (64-bit, non-prefetchable) [size=16M] > Memory at c000 (64-bit, prefetchable) [size=256M] > I/O ports at 4000 [size=64] > Expansion ROM at 000c [virtual] [disabled] [size=128K] > Capabilities: [40] Vendor Specific Information: Len=0c > Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00 > Capabilities: [ac] MSI: Enable- Count=1/1 Maskable- 64bit- > Capabilities: [d0] Power Management version 2 > Capabilities: [100] Process Address Space ID (PASID) > Capabilities: [200] Address Translation Service (ATS) > Capabilities: [300] Page Request Interface (PRI) I think you have to enable: CONFIG_DRM_I915 in kernel .config VIDEO_CARDS="intel i915" See: https://cateee.net/lkddb/web-lkddb/DRM_I915.html
[gentoo-user] apache modules.d/80_modsecurity-crs.conf files not showing up
On one of my server I have file in apache: modules.d/80_modsecurity-crs.conf On my other server this file does not appear. both servers have option selected: APACHE2_OPTS="... -D SECURITY" Which option enable/install this file?
Re: [gentoo-user] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
On 12/18/2020 07:51 PM, Jigme Datse wrote: > On Fri, 18 Dec 2020 18:20:44 -0700 > the...@sys-concept.com wrote: > >> ModSecurity is installed: >> APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D >> LANGUAGE -D PHP -D SECURITY" >> >> In which file I have to enable "SecStatusEngine On" ? >> >> > > Not worked with Apache for a bit, but I think this is needed in your > Apache configuration. Though I'm not sure if it's per virtual server > or if it's a global option. > > If this isn't helpful, I'm just sitting here waiting for stuff to > happen, and saw your message, and just thought I'd look to see if I can > maybe help. > Looking at FAQ in: https://github.com/SpiderLabs/ModSecurity/wiki/ModSecurity-Frequently-Asked-Questions-(FAQ) Should I initially set the SecRuleEngine to On? No. Every Ruleset can have false positive in new environments and any new installation should initially use the log only Ruleset version or if no such version is available, set ModSecurity to Detection only using the SecRuleEngine DetectionOnly command. After running ModSecurity in a detection only mode for a while review the evens generated and decide if any modification to the rule set should be made before moving to protection mode.
[gentoo-user] ModSecurity: Status engine is currently disabled, enable it by set SecStatusEngine to On.
ModSecurity is installed: APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP -D SECURITY" In which file I have to enable "SecStatusEngine On" ?
[gentoo-user] Manifest local ebuild - bump version
How bump version and manifest local ebuild. I copied barcode-0.99.ebuild to local/portage and tired to bump version mv barcode-0.99.1.ebuild ebuild /usr/local/portage/app-text/barcode/barcode-0.99.1.ebuild manifest but when I try to manifest it, it can not find barcode-0.99.1.tar.gz (it doesn't exist). I was trying to apply this patch to current version: https://lists.gnu.org/archive/html/bug-barcode/2020-01/txtvoVMhO66kP.txt I can manifest (with the patch) current version: barcode-0.99.ebuild but renaming it after manifesting won't work, it complain about Manifest mismatch. I was trying to bump the version, so I can distinguish local from the official one. If I keep the version the same, how to point emerge to "local/portage". Do I unmerge the official one and keep the one in local/portage?
Re: [gentoo-user] hardware - memory problem
On 12/16/2020 04:01 PM, Mark Knecht wrote: >> When I loot at "htop" it only shows: >> Mem:155M/3.21G > You show all 16GB but as others have stated you are likely running the > wrong kernel. > > uname -a > uname -a Linux 7_old 5.4.80-gentoo-r1 #2 SMP Tue Dec 15 00:21:33 MST 2020 i686 AMD FX(tm)-8150 Eight-Core Processor AuthenticAMD GNU/Linux
Re: [gentoo-user] hardware - memory problem
On 12/16/2020 03:51 PM, antlists wrote: > Or is this a 32-bit system WITHOUT extended memory support? > > I don't properly understand it, but with a 32-bit system the kernel uses > 1GB of memory and user-space uses the other 3GB. Extended memory support > means each process can have its own 3GB space which enables you to use > all available memory, but without it I think the entire system is stuck > in the first 4GB. > > Cheers, > Wol Hm..., did I use wrong stage? stage3-i686-20201116T214503Z.tar.xz on: AMD FX(tm)-8150 Eight-Core Processor
Re: [gentoo-user] hardware - memory problem
On 12/16/2020 03:34 PM, Mark Knecht wrote: > On Wed, Dec 16, 2020 at 3:29 PM Mark Knecht wrote: >> >> >> >> On Wed, Dec 16, 2020 at 3:22 PM wrote: >>> >>> I run Memtest86 on my old box and it completed 1pass without any errors. >>> Memtest86 reports 16G memory >>> >>> When I boot Gentoo it shows only 3282Mb >>> free -m >>> totalusedfree shared buff/cache >>> available >>> Mem: 3282 1252475 7 680 >>> 3033 >>> >>> Is it a motherboard? How to test it? >>> >> >> Start with >> >> cat /proc/meminfo > >> > Or lshw and look for the DIMM modules themselves cat /proc/meminfo MemTotal:3360992 kB MemFree: 2806556 kB MemAvailable:3077952 kB Buffers: 97156 kB Cached: 262116 kB SwapCached:0 kB Active: 329656 kB Inactive: 133864 kB Active(anon): 104804 kB Inactive(anon): 2964 kB Active(file): 224852 kB Inactive(file): 130900 kB Unevictable: 0 kB Mlocked: 0 kB HighTotal: 2504328 kB HighFree:2120028 kB LowTotal: 856664 kB LowFree: 686528 kB SwapTotal: 8757244 kB SwapFree:8757244 kB Dirty: 292 kB Writeback: 0 kB AnonPages:104252 kB Mapped:93812 kB Shmem: 3516 kB KReclaimable: 34340 kB Slab: 56524 kB SReclaimable: 34340 kB SUnreclaim:22184 kB KernelStack:2256 kB PageTables: 2596 kB NFS_Unstable: 0 kB Bounce:0 kB WritebackTmp: 0 kB CommitLimit:10437740 kB Committed_AS: 987564 kB VmallocTotal: 122880 kB VmallocUsed:4080 kB VmallocChunk: 0 kB Percpu: 1248 kB HugePages_Total: 0 HugePages_Free:0 HugePages_Rsvd:0 HugePages_Surp:0 Hugepagesize: 4096 kB Hugetlb: 0 kB DirectMap4k: 12280 kB DirectMap4M: 32 kB lshw -C memory *-memory description: System Memory physical id: 29 slot: System board or motherboard size: 16GiB *-bank:0 description: DIMM 1333 MHz (0.8 ns) physical id: 0 slot: A0 size: 4GiB width: 64 bits clock: 1333MHz (0.8ns) *-bank:1 description: DIMM 1333 MHz (0.8 ns) physical id: 1 slot: A1 size: 4GiB width: 64 bits clock: 1333MHz (0.8ns) *-bank:2 description: DIMM 1333 MHz (0.8 ns) physical id: 2 slot: A2 size: 4GiB width: 64 bits clock: 1333MHz (0.8ns) *-bank:3 description: DIMM 1333 MHz (0.8 ns) physical id: 3 slot: A3 size: 4GiB width: 64 bits clock: 1333MHz (0.8ns) When I loot at "htop" it only shows: Mem:155M/3.21G
[gentoo-user] hardware - memory problem
I run Memtest86 on my old box and it completed 1pass without any errors. Memtest86 reports 16G memory When I boot Gentoo it shows only 3282Mb free -m totalusedfree shared buff/cache available Mem: 3282 1252475 7 680 3033 Is it a motherboard? How to test it?
Re: [gentoo-user] ssh Connection reset by port 22
On 12/15/2020 11:35 PM, the...@sys-concept.com wrote: [snip] > > tail -f /var/log/auth.log (on the server) > does not show any log-in attempt > > only: > sshd: Server listening on 0.0.0.0 port 22 > sshd: Server listening on :: port 22 Solved by reinstalling openssh.
Re: [gentoo-user] ssh Connection reset by port 22
On 12/15/2020 10:41 PM, cal wrote: > On 12/15/20 9:36 PM, the...@sys-concept.com wrote: >> On 12/15/2020 07:53 PM, the...@sys-concept.com wrote: >>> During compiling -uavDN @world one of the package refuse to compile >>> >>> sys-auth/polkit-0.118::gentoo failed (configure phase): >>> econf failed >> [snip] >>> >>> Now, I can no longer ssh to to it, I get: >>> Connection reset by 10.0.0.100 port 22 >> >> perl-cleaner --reallyall -- -av solved the problem with: >> sys-auth/polkit-0.118 >> but I still get the error when trying to ssh: >> >> Connection reset by 10.0.0.100 port 22 >> > > Is there anything interesting if you run ssh -vvv (you can vary the > amount of 'v's) to increase the verbosity of the ssh client and see what > it's doing prior to the connection reset? > > Have you tried restarting sshd on the server? tail -f /var/log/auth.log (on the server) does not show any log-in attempt only: sshd: Server listening on 0.0.0.0 port 22 sshd: Server listening on :: port 22
Re: [gentoo-user] ssh Connection reset by port 22
On 12/15/2020 10:41 PM, cal wrote: > On 12/15/20 9:36 PM, the...@sys-concept.com wrote: >> On 12/15/2020 07:53 PM, the...@sys-concept.com wrote: >>> During compiling -uavDN @world one of the package refuse to compile >>> >>> sys-auth/polkit-0.118::gentoo failed (configure phase): >>> econf failed >> [snip] >>> >>> Now, I can no longer ssh to to it, I get: >>> Connection reset by 10.0.0.100 port 22 >> >> perl-cleaner --reallyall -- -av solved the problem with: >> sys-auth/polkit-0.118 >> but I still get the error when trying to ssh: >> >> Connection reset by 10.0.0.100 port 22 >> > > Is there anything interesting if you run ssh -vvv (you can vary the > amount of 'v's) to increase the verbosity of the ssh client and see what > it's doing prior to the connection reset? > > Have you tried restarting sshd on the server? > Nothing that would indicate any error. OpenSSH_7.5p1-hpn14v12lpk, OpenSSL 1.0.2n 7 Dec 2017 debug1: Reading configuration data /etc/ssh/ssh_config debug2: resolving "10.0.0.100" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to 10.0.0.100 [10.0.0.100] port 22. debug1: Connection established. debug1: identity file /home/joseph/.ssh/id_rsa type 1 debug1: key_load_public: No such file or directory debug1: identity file /home/joseph/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/joseph/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/joseph/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/joseph/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/joseph/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/joseph/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /home/joseph/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.5p1-hpn14v12lpk debug1: Remote protocol version 2.0, remote software version OpenSSH_8.1 debug1: match: OpenSSH_8.1 pat OpenSSH* compat 0x0400 debug1: Remote is NON-HPN aware debug2: fd 3 setting O_NONBLOCK debug1: Authenticating to 10.0.0.100:22 as 'joseph' debug3: hostkeys_foreach: reading file "/home/joseph/.ssh/known_hosts" debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent Connection reset by 10.0.0.100 port 22
Re: [gentoo-user] ssh Connection reset by port 22
On 12/15/2020 07:53 PM, the...@sys-concept.com wrote: > During compiling -uavDN @world one of the package refuse to compile > > sys-auth/polkit-0.118::gentoo failed (configure phase): > econf failed [snip] > > Now, I can no longer ssh to to it, I get: > Connection reset by 10.0.0.100 port 22 perl-cleaner --reallyall -- -av solved the problem with: sys-auth/polkit-0.118 but I still get the error when trying to ssh: Connection reset by 10.0.0.100 port 22
[gentoo-user] ssh Connection reset by port 22
During compiling -uavDN @world one of the package refuse to compile sys-auth/polkit-0.118::gentoo failed (configure phase): econf failed Call stack: ebuild.sh, line 125: Called src_configure environment, line 2211: Called econf '--localstatedir=/var' '--disable-static' '--enable-man-pages' '--disable-gtk-doc' '--disable-examples' '--enable-libelogind' '--enable-introspection' '--enable-nls' '--with-pam-module-dir=/lib/security' '--with-authfw=pam' '--disable-libsystemd-login' '--with-systemdsystemunitdir=/lib/systemd/system' '--disable-test' '--with-os-type=gentoo' phase-helpers.sh, line 680: Called __helpers_die 'econf failed' isolated-functions.sh, line 112: Called die The specific snippet of code: die "$@" Now, I can no longer ssh to to it, I get: Connection reset by 10.0.0.100 port 22
Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
On 12/14/2020 11:50 PM, J. Roeleveld wrote: > On Tuesday, December 15, 2020 7:17:57 AM CET the...@sys-concept.com wrote: >> On 12/14/2020 06:21 PM, the...@sys-concept.com wrote: >>> By mistake on new installation I untar wrong: stage-3 x86_64 instead of >>> i686 >>> >>> during kernel compiling I got: >>> cc1: error: CPU you selected does not support x86-64 instruction set >>> >>> Is it possible to untar new stage-3 (i686) over current one, or I need >>> to delete all the folders? >> >> After selecting stage-3 (i686) I still get the same error message when >> trying to compile kernel: >> >> CC scripts/mod/empty.o >> cc1: error: CPU you selected does not support x86-64 instruction set >> make[1]: *** [scripts/Makefile.build:266: scripts/mod/empty.o] Error 1 >> make: *** [Makefile:1137: prepare0] Error 2 >> >> The CPU I have: >> AMD FX(tm)-8150 Eight-Core Processor > > Isn't this a 64-bit CPU? > If you boot using a 64bit live-image (the gentoo-admin ISO as an example), > you > should be able to actually use 64bit. > > -- > Joost I'm confused as well, setting from make.conf on this CPU with previous kernel was: CHOST="x86_64-pc-linux-gnu"
Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
On 12/14/2020 11:17 PM, the...@sys-concept.com wrote: > On 12/14/2020 06:21 PM, the...@sys-concept.com wrote: >> >> By mistake on new installation I untar wrong: stage-3 x86_64 instead of >> i686 >> >> during kernel compiling I got: >> cc1: error: CPU you selected does not support x86-64 instruction set >> >> Is it possible to untar new stage-3 (i686) over current one, or I need >> to delete all the folders? > > After selecting stage-3 (i686) I still get the same error message when > trying to compile kernel: > > CC scripts/mod/empty.o > cc1: error: CPU you selected does not support x86-64 instruction set > make[1]: *** [scripts/Makefile.build:266: scripts/mod/empty.o] Error 1 > make: *** [Makefile:1137: prepare0] Error 2 > > The CPU I have: > AMD FX(tm)-8150 Eight-Core Processor > > make.conf > COMMON_FLAGS="-march=native -O2 -pipe" > #COMMON_FLAGS="-O2 -march=i686 -pipe" > CFLAGS="${COMMON_FLAGS}" > CXXFLAGS="${COMMON_FLAGS}" > FCFLAGS="${COMMON_FLAGS}" > FFLAGS="${COMMON_FLAGS}" > CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" SOLVED: One need to disable "64-bit kernel" in the root of the menuconfig.
Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
On 12/14/2020 06:21 PM, the...@sys-concept.com wrote: > > By mistake on new installation I untar wrong: stage-3 x86_64 instead of > i686 > > during kernel compiling I got: > cc1: error: CPU you selected does not support x86-64 instruction set > > Is it possible to untar new stage-3 (i686) over current one, or I need > to delete all the folders? After selecting stage-3 (i686) I still get the same error message when trying to compile kernel: CC scripts/mod/empty.o cc1: error: CPU you selected does not support x86-64 instruction set make[1]: *** [scripts/Makefile.build:266: scripts/mod/empty.o] Error 1 make: *** [Makefile:1137: prepare0] Error 2 The CPU I have: AMD FX(tm)-8150 Eight-Core Processor make.conf COMMON_FLAGS="-march=native -O2 -pipe" #COMMON_FLAGS="-O2 -march=i686 -pipe" CFLAGS="${COMMON_FLAGS}" CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3"
Re: [gentoo-user] CPU you selected does not support x86-64 instruction set
On 12/14/2020 09:38 PM, J. Roeleveld wrote: > On 15 December 2020 02:21:22 CET, the...@sys-concept.com wrote: >> >> By mistake on new installation I untar wrong: stage-3 x86_64 instead >> of >> i686 >> >> during kernel compiling I got: >> cc1: error: CPU you selected does not support x86-64 instruction set >> >> Is it possible to untar new stage-3 (i686) over current one, or I need >> to delete all the folders? > > To avoid any leftover files causing issues, I would start over. > > -- > Joost You are correct, it is easier to start over.
[gentoo-user] CPU you selected does not support x86-64 instruction set
By mistake on new installation I untar wrong: stage-3 x86_64 instead of i686 during kernel compiling I got: cc1: error: CPU you selected does not support x86-64 instruction set Is it possible to untar new stage-3 (i686) over current one, or I need to delete all the folders?
Re: [gentoo-user] nouveau: gr: failed to load firmware "gr/sw_nonctx"
On 12/14/2020 02:03 AM, Michael wrote: > On Monday, 14 December 2020 00:27:03 GMT the...@sys-concept.com wrote: >> On 12/13/2020 04:44 PM, Michael wrote: >>> On Sunday, 13 December 2020 18:52:51 GMT the...@sys-concept.com wrote: I have "nouveau" build into kernel but it doesn't work: Fom dmesg: nouveau :08:00.0: NVIDIA GP107 (137000a1) nouveau :08:00.0: gr: failed to load firmware "gr/sw_nonctx" nouveau :08:00.0: gr: failed to load gr/sw_nonctx nouveau :08:00.0: DRM: failed to create kernel channel, -22 [snip] >> >> Both had same output, so why one kernel was working the other didn't? > > Were both of these kernels installed with a corresponding correctly > functioning initramfs, which had all the requisite files (including -- > firmware) to boot with, or only one of them did? > > Without an initramfs you will need to specify and build any requisite > firmware > blobs in the kernel image itself, so they are available to the system as it > boots up. Since I was able to make "nvidia" work I abandon fighting with installing/enabling "nouveau" Originally I wanted to have it as a backup switching between these two (just in case) but it is not an easy project.