bzr branch
http://darksoft.org/webbzr/docs/MyDocs
9
by Suren A. Chilingaryan
Ubuntu 14.04 on Lenovo X220 |
1 |
2013 |
2 |
==== |
|
12
by Suren A. Chilingaryan
Memory, DMA, Android, ARM |
3 |
- glibc-1.17/1.19 (x86, kernel 2.6.32, gcc 4.4 & 4.7) have some problems with libm. |
9
by Suren A. Chilingaryan
Ubuntu 14.04 on Lenovo X220 |
4 |
All applications linked to libm (just linked, you don't need to call anything |
5 |
in library) are crashing during load. glibc-1.16 is fine. |
|
6 |
||
7 |
- Gnome 3.10 (even the fallback/classic mode) does not work without 3D. Hence, |
|
8 |
it is not possible to start it in NX session. LXDE is fast alternative for |
|
9 |
remote access. It may be set as default WM using YaST (System/Sysconfig Editor). |
|
10 |
||
11 |
- OpenSSL-1.0.1e may cause problems with SASL-enabled qmail. OpenSSL-1.0.1f |
|
12 |
seems to work fine. |
|
13 |
||
14 |
- PTY allocation request failed on channel 0. /dev/pts should be mounted: |
|
15 |
none /dev/pts devpts gid=5,mode=620 0 0 |
|
18
by Suren A. Chilingaryan
Reorganization and more on Android |
16 |
|
20
by Suren A. Chilingaryan
A bit of restructuring |
17 |
- Running google-earth |
18 |
LD_PRELOAD=/usr/lib32/opengl/nvidia/lib/libGLcore.so.195.36.15:/usr/lib32/opengl/nvidia/lib/libGL.so.195.36.15 googleearth |
|
19 |
||
20 |
||
18
by Suren A. Chilingaryan
Reorganization and more on Android |
21 |
2016 |
22 |
==== |
|
23 |
- R420 wifi has some timeouts configured (embedded?) causing packet loss on |
|
24 |
high latency networks (USA). I.e. from my PC there will be large latency, |
|
19
by Suren A. Chilingaryan
update |
25 |
but all packets will be delivered and on R420 were will be packet loss... |
26 |
||
27 |
- There is some problems with gpg acting as ssh-agent. After script-restarting |
|
28 |
and killing, not all keys are working (sometimes none, sometimes some). Just |
|
29 |
killing it manually and restarting with 'pass' helps. |
|
20
by Suren A. Chilingaryan
A bit of restructuring |
30 |
|
31 |
- Duplicity occasionaly crashes with librsync 2.0.0 due to this bug. |
|
32 |
https://github.com/librsync/librsync/issues/50 |
|
33 |
the patch is in net-libs/librsync-2.0.0-r1 |
|
24
by Suren A. Chilingaryan
Update from Wed Nov 16 16:20:29 CET 2016 |
34 |
|
35 |
- USB3 support in Linux is buggy. There is two modes how USB storage can |
|
36 |
operate |
|
37 |
1. New USB Attached SCSI (UAS) mode |
|
38 |
2. Legacy usb-storage mode |
|
39 |
The UAS mode is slightly faster, but may cause write faults and kernel |
|
40 |
crashes with some of the devices. This is not visible with FAT32, but |
|
41 |
very well visible if copying multiple big files to ExFAT or Ext4. The |
|
42 |
only solution is to enforce legacy mode. The USB Vendor/Device IDs of |
|
43 |
misbehaving devices should be listed in the parameters of usb-storage |
|
44 |
kernel module. I.e. add the following to quirks.conf in /etc/modprobe.d |
|
45 |
options usb-storage quirks=0x18a5:0x0411:u |
|
46 |
And re-load usb-storage module (and re-insert device). You should see in |
|
47 |
dmesg: |
|
48 |
usb 10-1.2: UAS is blacklisted for this device, using usb-storage instead |
|
49 |
||
50 |
- Missing Bluetooth keyboard (from headset) on Xorg startup. |
|
51 |
The only way arround is seems to enable autodection for both NVIDIA |
|
52 |
and AMD layouts and use Multi-seat. The xorg.conf should be splitted |
|
53 |
in two files. |
|
54 |
https://wiki.gentoo.org/wiki/Multiseat |
|
26
by Suren A. Chilingaryan
Info on mod_python |
55 |
|
56 |
- mod_python complains "python_handler: Can't get/create interpreter". |
|
57 |
The problem is in the dist/version.sh file which runs git, but since |
|
58 |
the distribution doesn't have the .git repository structure, the error |
|
59 |
is generated. I fixed version.sh by just replacing the offending line |
|
60 |
with an empty definition: |
|
61 |
#GIT=`git describe --always` |
|
62 |
GIT= |
|
63 |
The problem is fixed in mod_python-3.5.0-r1 |
|
64 |
||
28
by Suren A. Chilingaryan
Restructuring, OpenShift, Ansible, Git |
65 |
2017 |
66 |
==== |
|
67 |
- revdep-rebuild complains on some utf8 character conversion. Python is crap, |
|
68 |
there is still old revdep-rebuild.sh which is just working. Changing locale |
|
69 |
does not help to python scum. |
|
70 |
||
71 |
- another set of problems related to systemd-less setup of Gentoo |
|
72 |
1. /etc/X11/xinit/xinitrc.d/90-consolekit causes problems for X startup even if exit |
|
73 |
put as a first line. |
|
74 |
2. XDG_RUNTIME_DIR is required by gnome-keyring and other Gnome related services. |
|
75 |
It can be set in the /etc/env.d like: |
|
76 |
XDG_RUNTIME_DIR="/tmp/.runtime-$USER" |
|
77 |
||
78 |
- qmail-smtpd complains about 'failed to map segment from shared object' |
|
79 |
The default limits on the shared memory segment set by 'softlimit' utility of the daemontools |
|
80 |
in the 'supervise/qmail-smtpd/run' is low for the nowdays large libraries and should be increased |
|
81 |
by setting SOFTLIMIT_OPTS in the conf-smtpd. This currently works |
|
82 |
SOFTLIMIT_OPTS="-m 64000000" |
|
30
by Suren A. Chilingaryan
Update from Fri Sep 1 15:25:23 CEST 2017 |
83 |
|
84 |
- qmail doesn't receive mails from gmail and there is the following messages in the log |
|
85 |
Technical details of temporary failure: TLS Negotiation failed |
|
86 |
TLS connection failed: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher (#4.3.0) |
|
87 |
This is due to protocol incompatibility after fixing the 'Poodle' problem. tlsserverciphers should be |
|
88 |
adjusted to include protocols supported by both qmail and gmail. |
|
89 |
ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA |
|
31
by Suren A. Chilingaryan
MySQL, OpenShift, Ansible |
90 |
|
91 |
- ssh/login has long delay |
|
92 |
This is caused by 'pam_ck_connector.so' module from consolekit (systemd). I guess this happens if |
|
93 |
SystemD is not used to boot system. It is completely fine just to comment out this module in |
|
94 |
'system-auth'. |
|
95 |
||
96 |
- owncloud clients complain that "file transfer failed" because file is "locked". This is server-side |
|
97 |
problem which may occur during updates, etc. Solution: |
|
32
by Suren A. Chilingaryan
Some info on high-speed networking, updates |
98 |
1. Put owncloud in maintenance mode by setting 'maintenance' to 'true' in 'config/config.php' |
99 |
This is optional is system is not highly loaded... |
|
100 |
2. Empty table 'oc_file_locks' table |
|
101 |
sqlite /var/lib/owncloud/data (on darksoft.org: sqlite3 /home/temp/owncloud/data/owncloud.db) |
|
31
by Suren A. Chilingaryan
MySQL, OpenShift, Ansible |
102 |
DELETE FROM oc_file_locks; |
103 |
3. Restore standard operation mode, by setting 'maintenance' to 'false' |
|
104 |
Owncloud suggests using Redis as more robust database solution |
|
105 |
https://central.owncloud.org/t/file-is-locked-how-to-unlock/985 |
|
106 |
||
107 |
- Annoying evolution in Ubuntu trying to connect here and there. Don't possible to uninstall as will destroy |
|
108 |
complete gnome. But possible to disable |
|
109 |
cd /usr/share/dbus-1/services |
|
110 |
sudo ln -snf /dev/null org.gnome.evolution.dataserver.AddressBook.service |
|
111 |
sudo ln -snf /dev/null org.gnome.evolution.dataserver.Calendar.service |
|
112 |
sudo ln -snf /dev/null org.gnome.evolution.dataserver.Sources.service |
|
113 |
sudo ln -snf /dev/null org.gnome.evolution.dataserver.UserPrompter.service |
|
114 |
||
32
by Suren A. Chilingaryan
Some info on high-speed networking, updates |
115 |
- OpenOffice crashes on Microsoft *x formats with xmlsec in backtrace |
116 |
Rebuild gpgme and libgpg-error. |
|
117 |
||
118 |
2018 |
|
119 |
==== |
|
120 |
- Duplicity needs pgp key when running from cron. There are some mm bug in the latest version 0.7.17 (last version |
|
121 |
known to work 0.7.10, but 0.7.11 - 0.7.16 are not checked). Downgrading to 0.7.10 should be fine. |
|
31
by Suren A. Chilingaryan
MySQL, OpenShift, Ansible |
122 |
|
32
by Suren A. Chilingaryan
Some info on high-speed networking, updates |
123 |
- In Fedora28 everything starts hanging if mellanox drivers are installed. Network manager has some problems with |
124 |
Mellanox drivers. Mellanox cards has to be configured manually and to prevent automatic configuration we need to remove |
|
125 |
configuration in '/etc/sysconfig/network-scripts/ifcfg-ib*' and set udev rules preventing NM takeover |
|
126 |
ENV{INTERFACE}=="ib[0-9]*" ENV{NM_UNMANAGED}="1" |
|
127 |
ENV{ID_NET_DRIVER}=="mlx4_*", ENV{NM_UNMANAGED}="1" |
|
128 |
||
129 |
- Broadcom NetXtreme II is incompatible with PLX switches. |
|
33
by Suren A. Chilingaryan
Update on OpenShift/Gluster/MySQL, added OSInit |
130 |
|
131 |
- Letsencrypt certbot complains on handle_modules on OpenSuSE 13.1. Change |
|
132 |
handle_mods=False => handle_modules=False |
|
133 |
in |
|
134 |
/opt/eff.org/certbot/venv/lib64/python2.7/site-packages/certbot_apache/override_suse.py |
|
135 |
||
136 |
- On Gentoo, problems building PDF from latex source using Font Awesome (high quality pictograms): |
|
137 |
In /usr/share/texmf-dist/tex/latex/fontawesome/fontawesome.sty |
|
138 |
\newfontfamily{\FA}{Font Awesome 5 Free} |
|
36
by Suren A. Chilingaryan
Updates on Android battery and sdcard |
139 |
|
140 |
2019 |
|
141 |
==== |
|
142 |
- I have problems writting on SDCard/ExFAT in Linux. It is unclear that the reason, but situation is looking very similar |
|
143 |
o 'gridlocked' SD card: reading is OK, writting also, but data is lost after remount. This pretty much cross-platform. |
|
144 |
* I have tried Gentoo (kernel 4.8), CentOS 7.5, Fedora 28. |
|
145 |
* Stable and bleading edge version of fuse-extfat. |
|
146 |
* DeLock USB3 Multi-card reader connected to USB 3.1, USB 3.0, USB 2.0 |
|
147 |
* I tried disabling UAS mode as described above (but actually it is not used anyway, the driver can be unloaded) |
|
148 |
Either way, the situation is the same and looks exactly like gridlocked card. |
|
37
by Suren A. Chilingaryan
Reorganization of hardware section |
149 |
|
150 |
- Tethering is not working with some (old?) Android phones. |
|
151 |
* Phone is able to connect, but no internet available. |
|
152 |
* It seems this is kind of incompatibility between old and new ways to implement tethering. |
|
153 |
* To enable back-ward compatibility, you need to add 'dun' to the APN type field. In other words the APN type field should be default,dun,supl. |
|
154 |
||
155 |
- Recent (post 1.6) Java doesn't play well with old IPMI firmwares. Only solution to run Firefox with old version of Java in the docker. |
|
156 |
docker run -ti -e DISPLAY=$DISPLAY -e XAUTHORITY=$XAUTHORITY -v /tmp/.X11-unix:/tmp/.X11-unix ftso/docker-oracle-java6-firefox firefox |
|
157 |
||
38
by Suren A. Chilingaryan
Android 9 and Raspberry-Pi 2 update |
158 |
- While connecting (ssh) to raspbian system (and probably older Debian systems in general), there is curious problem with cyrillic names on the mounts. |
159 |
You get question marks if you 'ls', but it is enough to pipe it trough cat (ls | cat) to get properly readable text. The fix is too install Russian |
|
160 |
Unicode locale using: |
|
161 |
sudo dpkg-reconfigure locales |
|
162 |
||
163 |
- udisks-glew doesn't allow umask/dmask on exfat. Simple patch udisks (v1) fixes it. |
|
164 |
||
40
by Suren A. Chilingaryan
RHEL8, nft, firewalld, nginx |
165 |
- openvpn connection problems (OpenVPN seems connected, but packets go trough). |
166 |
* Check 'cipher' warnings. OpenVPN in different distributions reverts to different default cipher (CentOS 8: AES-256-GCM). This would be the effect |
|
167 |
if different ciphers are selected. Better to select implicitely. |
|
38
by Suren A. Chilingaryan
Android 9 and Raspberry-Pi 2 update |
168 |
|
41
by Suren A. Chilingaryan
Gentoo configuration and more recent problems |
169 |
- gnupg-agent serving ssh keys starts asking passwords for the keys which passwords are already stored in gnome-keyring |
170 |
* This happens under heavy load (not clear who is responsible: gnupg or gnome-keyring). |
|
171 |
* Mostly, dsa & rsa keys are affected. The problem does not happen with ED25519 keys and native gnupg key (while it is also actually RSA) |
|
172 |
* No remedy currenlty known |
|
173 |
||
174 |
- Gnome eco-system (e.g. gnome-terminal) starts gvfs processes with automouting which slows down 'File Openning' dialogs and may create many processes |
|
175 |
in 'D' state confusing load average computation. Best remedy is to disable 'gvfs' automounter and kill exisitng 'gvfs*' processes (they will be restarted |
|
176 |
but without automount and would not cause more problems) |
|
177 |
gsettings set org.gnome.desktop.media-handling automount false |
|
178 |
gsettings set org.gnome.desktop.media-handling automount-open false |
|
179 |
kill -9 $(ps xa | grep gvfs | awk '{ print $1 }') |
|
180 |
||
181 |
- Large loadavg reported by 'uptime' and /proc/loadavg. |
|
182 |
* This likely normal. For uptime, not only 'Running' processes are counted, but also processes in 'uninterruptible sleep' ('D' state in ps). This generally |
|
183 |
mean tasks waiting for I/O, but could be a bunch of stalled things (like process monitoring unavailable NFS mount, some crappy 'gvfs' stuff, etc.) |
|
184 |
||
42
by Suren A. Chilingaryan
GPUs on podman, ansible hangs, and haproxy logs |
185 |
2020 |
186 |
==== |
|
187 |
- ANSIBLE hangs on gather facts. I guess there are many reasons, some: |
|
188 |
* Stalled NFS mounts |
|
189 |
* sg_inq hangs on some IPMI devices, e.g. sg_inq /dev/sd1 on ipepdvcompute2. Temporarily remedy is to disable gathering hardware facts: |
|
190 |
ANSIBLE_GATHER_SUBSET="!hardware" ansible ... |
|
47
by Suren A. Chilingaryan
Ubuntu/Gentoo maintenance |
191 |
|
192 |
2021 |
|
193 |
==== |
|
51
by Suren A. Chilingaryan
rpi4 and asuswrt |
194 |
- By default feed-scanning is not working with Browther MFC-L2710DW (Ubuntu 20.04). But it works with the Brother drivers. The drivers are |
47
by Suren A. Chilingaryan
Ubuntu/Gentoo maintenance |
195 |
configured with the following command: |
196 |
sudo brsaneconfig4 -a name=BrotherScanner model=MFC-L2710DW ip=192.168.43.227 |
|
51
by Suren A. Chilingaryan
rpi4 and asuswrt |
197 |
|
198 |
- Intel WiFi cards seems to have problems with some WiFi bridges on 802.11n standard and only solution is to disable 802.11n support in |
|
199 |
/etc/modprobe.d/iwlwifi.conf: |
|
200 |
options iwlwifi 11n_disable=1 |
|
201 |
||
53
by Suren A. Chilingaryan
Home Assistant |
202 |
|
203 |
2022 |
|
204 |
==== |
|
205 |
- Linux router terminates idle ssh connections |
|
206 |
* Long-standing problem affecting manly raspbian systems. Likely related iptables MASQUERADE (but migth be (or might not) NOT SNAT rules). |
|
207 |
In both cases, it could be caused by idle connection timeouts or missing packets (as all running over Wifi). Or both or something else... |
|
208 |
* We can try to setup 'KeepAliveServer' messages to prevent connection getting idle. |
|
209 |
* One usable (while inconvinient) work-around for now to use VPN connections which working without such problems. |
|
210 |
* The issue and fix is unclear, but it worth trying to send Alive messages from ssh client using 'ServerAliveInterval' directive and debug |
|
211 |
with 'conntrack -E --proto tcp --orig-port-dst 22' when it gets happening often. |
|
212 |
||
54
by Suren A. Chilingaryan
BMC/IPMI, smarthome, multicast-routing |
213 |
- Broken connection between Fritzbox and Debian ipsec installation |
214 |
* Some problems with conntrac which can be partially solved by keeping periodic traffic on tunnel (keep-alive is not working for some reason). |
|
215 |
Just ping'ing (e.g. every 10 mins) helps for a while. |
|
216 |
* If ping fails, connection can be recovered by resetting conntrack status 'conntrack -F' (or reconnecting ipsec first) |
|
217 |
||
218 |
- Homeassistant latency problems |
|
219 |
* Problem is with HDD connected via USB hub (I guess we need to replace USB hub here) |
|
220 |
||
221 |
2023 |
|
222 |
==== |
|
223 |
- Canon LBP6000 printer problems: 'lp1' interface registered and immedeately disappears |
|
224 |
* We need Canon drivers as there is proprietary protocol (and printer does not support standard PostScript) |
|
225 |
* We can't install via standard cups setup (it will install printer via wrong protocol), but should use lpadmin/ccpdadmin instead |
|
226 |
mkdir /var/ccpd; lpadmin -p LBP6000 -m CNCUPSLBP6018CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E; ccpdadmin -p LBP6000 -o /dev/usb/lp1; systemctl start ccpd |
|
227 |
* Status: captstatusui -P LBP6000 |
|
228 |
||
229 |
- vlc doesn't see UPNP resources on non-default network interface (i.e. it will not discover resources on WiFi if we have Ethernet connected) |
|
230 |
* SmartPI pulseaudio server is configured on Ethernet IP and we need Ethernet enabled to be able to stream audio to 'Sven' speakers |
|
231 |
* So to enable ASGARD discovery, we need to configure routing of multicast packages (UPNP/DLNA uses 239.255.255.250) on SmartPI via 'smcroute' service and also increase 'ttl' of multicast packets in PREROUTING mangle table |
|
232 |
=> It also seems have problem playing both sound and subtitles from Samba share while streaming. Better to copy one (or better both) to local storage |
|
233 |