Common Issues: Difference between revisions
Jump to navigation
Jump to search
Line 19: | Line 19: | ||
</source> |
</source> |
||
:So it is the <code>stat</code> call that takes several seconds. |
:So it is the <code>stat</code> call that takes several seconds. |
||
* '''Issue''' — Dropbox will stop syncing |
|||
:* {{green|'''Fix'''}} Make sure Dropbox is on <code>ext4</code> with <code>user_xattr</code> flag (see [[Dropbox]]). |
|||
== Issues on Trusty (ALL) == |
== Issues on Trusty (ALL) == |
Revision as of 08:16, 3 September 2018
Issues on ALL (ALL)
- Issue — Cannot paste text in Youtube comment
- Fix Go to about:config, and set dom.event.clipboardevents.enabled to false, [1]
- Issue — Proxy does not work in Thunderbird 38 with IMAP when connecting to localhost (see Thunderbird).
- Workaround is to disable the proxy. Proxy works for add-on though.
- Issue — (reported as bug 1625739) Midnight Commander (mc) starts slowly when current directory is on a samba share. Also when pressing C-O.
- We debug the root cause with
strace
:
strace -r -tt -o /tmp/mc.strace mc
grep -v 0.00 /tmp/mc.strace
# 0.099773 read(5, "\33]0;peetersm@zavcxl0005: ~\7\r\r\n\33["..., 128) = 98
# 0.048970 lstat("/smb/lacie-cloudbox/family/backup/nintendo_3ds/nintendo/cia/SaveDataFiler.cia.txt", {st_mode=S_IFREG|0755, st_size=1701186, ...}) = 0
# 3.310479 stat("/smb/lacie-cloudbox/family", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
# 0.010677 getuid() = 1000
stat -f /smb/lacie-cloudbox/family
# ... slow ...
- So it is the
stat
call that takes several seconds.
- Issue — Dropbox will stop syncing
- Fix Make sure Dropbox is on
ext4
withuser_xattr
flag (see Dropbox).
- Fix Make sure Dropbox is on
Issues on Trusty (ALL)
- Issue — Garbage tilde characters when copy-pasting in Terminator. This happens due to bracked paste mode, triggered by Midnight Commander. See my bug report bug 1350334.
- Work-around — Run
printf "\e[?2004l"
in the terminal [2] - Fixed — See patch in referenced bug report. Waiting official update. Build locally, and update packages (need reboot, or force reload vte lib, dunno how to do)
- Work-around — Run
sudo dpkg -i libvte-common_0.28.2-5ubuntu1foo2_all.deb libvte9_0.28.2-5ubuntu1foo2_amd64.deb python-vte_0.28.2-5ubuntu1foo2_amd64.deb
- Issue — GTK warning when launching i386 applications (like acroread):
Gtk-Message: Failed to load module "overlay-scrollbar" Gtk-Message: Failed to load module "unity-gtk-module" (acroread:5353): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine", (acroread:5353): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", Gtk-Message: Failed to load module "canberra-gtk-module"
- Fixed — Install the following GTK libraries for i386 arch:
sudo apt-get install libcanberra-gtk-module:i386 unity-gtk2-module:i386 gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386
apt-get download overlay-scrollbar-gtk2:i386
sudo dpkg --ignore-depends overlay-scrollbar -i overlay-scrollbar-gtk*.deb
sudo vi /var/lib/dpkg/status
# Search 'Package: overlay-scrollbar-gtk2', then for the i386 package, delete 'overlay-scrollbar, ' on line 'Depends:'.
sudo apt-get install -f
- Issue — Fonts like Calibri not rendered correctly at small size. In particular normal letter appears aliased, but ligatures are anti-aliased.
- Fixed — The solution is to disable embedded bitmaps. See Fonts.
- Issue — Meta-key (Alt) not working and Midnight Commander displays
Press any key...
after each command when in tmux session:
- Fixed — Add the following to ~/.bash_profile and ~/.profile [3]:
# This fix meta-key support and stop mc displaying "Press any key..."
if [ $TERM = "screen" ]; then
export TERM=xterm
fi
if [ -n "$TMUX" ]; then
export COLORTERM=rxvt
fi
Issues on Precise (nxl67170ux)
- Issue — Git — Cannot install tileqt (tcl theme) to beautify gitk.
- Issue — TeX Live still old version (2009) — This may be the cause of errors
LaTeX Font Warning: Some font shapes were not available, defaults substituted.
(see [4])- fixed — install TeX Live 2012 from backports repository.
- Issue — Annoying file C:\nppdf32Log\debuglog.txt. Caused by acroread plugin (see [5], [6], [7]). A solution would be to edit nppdf.so with hex editor.
- Issue — Acrobat reader leaves ghost process SynchronizerApp-binary. Disable it!
- Issue — Opera fonts too small, not as good as windows.
- partial fix — Increase default font size to 16 (Preferences → webpages). See also page Make linux looks like Windows/Mac
- Issue — Touchpad scroll not working, detected as ps/2 mouse.
- partial fix — Install Kevin Cernekee's DKMS package (see below and bug 606238). See also [8] for more solutions.
- partial fix — Install Kevin Cernekee's DKMS package (see below and bug 606238). See also [8] for more solutions.
sudo -s
add-apt-repository ppa:cernekee/ppa
apt-get update
apt-get install psmouse-dkms
reboot
- Issue — Annoying popup failure to download extra data files flashplugin-installer. See bug 977178 and bug 982684.
Pop-up is from update-notified. Might be related to sudo ignoring some environment variables / profile.- tentative fix —
sudo apt-get --reinstall install flashplugin-installer
- tentative fix —
- Issue — Synergy, still heavy keyboard corruption issue (v.1.4.10), in particular ctrl stuck key (must reboot to fix), and custom layout not honored (my custom belgian on us layout).
- Issue — Virtualbox module not recompiling (broken DKMS)
- tentative fix — See Virtualbox
- Issue — Can't reconnect to Bluetooth Microsoft Sculpt Mouse.
- Issue — animated gifs do not work.
- Solved — This is a feature of privoxy, to ban ads using such animation. It can be disabled (via setting deanimate_gifs), or better yet, temporarily disable privoxy, and clear cache/reload the page.
- Issue — Acrobat reader, errant tooltips
- Solved — Click on the document area. Tooltips appears when the focus is on the document tab.
- Other solution, see Banishing errant tooltips (using Xlib and Python)
Issues on Trusty (nxl67170ux)
- Issue — Controlling laptop brightness via brightness keys is very slow (small delta, long latency). See bug 847001 (and possibly related kernel bug. See also X page for work-arounds.
- Solved — Enable vendor acpi in grub and use the 20-intel.conf script as explained on X page.
- Issue — Fonts in Opera look really ugly. Note that Opera did not upgrade (still v12.16). Other applications do not seem affected.
- Issue — xdotool can no longer move (unmaximized) windows to top left corner (see bug 1312412)
- Issue — lots of failure due to pcscd in /var/log/syslog (see below).
apt-get remove pcscd
as temporary fix.
Apr 29 14:28:22 nxl67170ux pcscd: ifdwrapper.c:348:IFDStatusICC() Card not transacted: 612 Apr 29 14:28:22 nxl67170ux pcscd: eventhandler.c:313:EHStatusHandlerThread() Error communicating to: O2 Micro Oz776 00 00 Apr 29 14:28:22 nxl67170ux kernel: [ 754.501492] usb 1-1.3.2: usbfs: process 1883 (pcscd) did not claim interface 0 before use Apr 29 14:28:22 nxl67170ux kernel: [ 754.501546] usb 1-1.3.2: usbfs: process 1883 (pcscd) did not claim interface 0 before use Apr 29 14:28:22 nxl67170ux pcscd: pcscdaemon.c:684:at_exit() write() failed: Connection refused
- Issue — XBMC Frodo 12.3 cannot read DVD (from disc media or from hdd). Filed as bug 1315873.
- Work around — Install XBMC Gotham 13.0 from xbmc ppa (see XBMC).
- Issue — GPU hangs stuck on render ring + dmesg error - see bug 76956 and bug 77104, launchpad bug #1274779
- Could be related to the recent switch to SNA acceleration (instead of old uxa). See [10], [11]
- see here for instruction on how to enable / disable sna)
- Using SNA might require xorg-edges drivers
- Or try this ppa grphics-drivers (suggested from freedesktop.org)
- See Phoronix benchmarks
- Issue — keyboard shortcut for Indicator-synapse does not work.
- Issue — auto-completion works badly with command starting with
sudo
(lots of false positive).- Partial fix — This is due to doing
complete -cF sudo
in bash profile, which was necessary since u12.04 or so. However in u14.04 is no longer necessary. Removing it fixes the problem. - Doing partial fix above however the auto-completion is mostly inactive when using sudo.
- Partial fix — This is due to doing
- Issue — Unity hot corners not working anymore after reboot. See bugs +1305438, +1128041 and +858845.
- Partial fix — Open up Unity Tweak app, then off/on the hot corners.
- Wireless
|
|
- Issue — Unstable Wi-Fi connection. Frequent disconnect. See syslog below.
/var/log/syslog (<file name="syslog" tag="source">download</file>)
Jan 25 19:00:41 nxl67170ux NetworkManager[1179]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
Jan 25 19:00:41 nxl67170ux NetworkManager[1179]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) started...
Jan 25 19:00:41 nxl67170ux avahi-daemon[1173]: Joining mDNS multicast group on interface wlan0.IPv4 with address 172.19.100.114.
Jan 25 19:00:41 nxl67170ux avahi-daemon[1173]: New relevant interface wlan0.IPv4 for mDNS.
Jan 25 19:00:41 nxl67170ux avahi-daemon[1173]: Registering new address record for 172.19.100.114 on wlan0.IPv4.
Jan 25 19:00:42 nxl67170ux NetworkManager[1179]: <info> (wlan0): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
Jan 25 19:00:42 nxl67170ux NetworkManager[1179]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) complete.
Jan 25 19:00:42 nxl67170ux NetworkManager[1179]: <info> (wlan0): device state change: secondaries -> activated (reason 'none') [90 100 0]
Jan 25 19:00:42 nxl67170ux NetworkManager[1179]: <info> NetworkManager state is now CONNECTED_GLOBAL
Jan 25 19:00:42 nxl67170ux NetworkManager[1179]: <info> Policy set 'ManticoreNet' (wlan0) as default for IPv4 routing and DNS.
Jan 25 19:00:42 nxl67170ux NetworkManager[1179]: <info> Writing DNS information to /sbin/resolvconf
Jan 25 19:00:42 nxl67170ux dnsmasq[3262]: setting upstream servers from DBus
Jan 25 19:00:42 nxl67170ux dnsmasq[3262]: using nameserver 172.19.3.1#53
Jan 25 19:00:42 nxl67170ux NetworkManager[1179]: <info> Activation (wlan0) successful, device activated.
Jan 25 19:00:42 nxl67170ux dbus[1004]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Jan 25 19:00:42 nxl67170ux dbus[1004]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jan 25 19:00:42 nxl67170ux whoopsie[1680]: message repeated 4 times: [ offline]
Jan 25 19:00:42 nxl67170ux whoopsie[1680]: online
Jan 25 19:00:42 nxl67170ux ntpd[25937]: ntpd exiting on signal 15
Jan 25 19:00:42 nxl67170ux avahi-daemon[1173]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::863a:4bff:fe22:d0c.
Jan 25 19:00:42 nxl67170ux avahi-daemon[1173]: New relevant interface wlan0.IPv6 for mDNS.
Jan 25 19:00:42 nxl67170ux avahi-daemon[1173]: Registering new address record for fe80::863a:4bff:fe22:d0c on wlan0.*.
Jan 25 19:00:42 nxl67170ux ntpdate[11275]: Can't find host wbi.nxp.com: Name or service not known (-2)
Jan 25 19:00:51 nxl67170ux ntpdate[11275]: adjust time server 195.200.224.66 offset -0.422607 sec
Jan 25 19:00:51 nxl67170ux ntpd[11306]: ntpd 4.2.6p5@1.2349-o Sat Dec 20 11:47:14 UTC 2014 (1)
Jan 25 19:00:51 nxl67170ux ntpd[11307]: proto: precision = 0.101 usec
Jan 25 19:00:51 nxl67170ux ntpd[11307]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
Jan 25 19:00:51 nxl67170ux ntpd[11307]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
Jan 25 19:00:52 nxl67170ux ntpd[11307]: Listen and drop on 1 v6wildcard :: UDP 123
Jan 25 19:00:52 nxl67170ux ntpd[11307]: Listen normally on 2 lo 127.0.0.1 UDP 123
Jan 25 19:00:52 nxl67170ux ntpd[11307]: Listen normally on 3 wlan0 172.19.100.114 UDP 123
Jan 25 19:00:52 nxl67170ux ntpd[11307]: Listen normally on 4 lo ::1 UDP 123
Jan 25 19:00:52 nxl67170ux ntpd[11307]: Listen normally on 5 wlan0 fe80::863a:4bff:fe22:d0c UDP 123
Jan 25 19:00:52 nxl67170ux ntpd[11307]: peers refreshed
Jan 25 19:00:52 nxl67170ux ntpd[11307]: Listening on routing socket on fd #22 for interface updates
Jan 25 19:00:52 nxl67170ux kernel: [174023.946899] type=1400 audit(1422208852.177:279): apparmor="DENIED" operation="connect" profile="/usr/sbin/ntpd" name="/run/samba/nmbd/unexpected" pid=11307 comm="ntpd" requested_mask="rw" denied_mask="rw" fsuid=0 ouid=0
Jan 25 19:00:52 nxl67170ux ntpd[11307]: Deferring DNS for wbi.nxp.com 1
Jan 25 19:00:52 nxl67170ux ntpd[11309]: signal_no_reset: signal 17 had flags 4000000
Jan 25 19:00:54 nxl67170ux autossh[4789]: starting ssh (count 226)
Jan 25 19:00:54 nxl67170ux autossh[4789]: ssh child pid is 11310
Jan 25 19:00:54 nxl67170ux kernel: [174026.694110] type=1400 audit(1422208854.919:280): apparmor="DENIED" operation="connect" profile="/usr/sbin/ntpd" name="/run/samba/nmbd/unexpected" pid=11309 comm="ntpd" requested_mask="rw" denied_mask="rw" fsuid=0 ouid=0
Jan 25 19:00:55 nxl67170ux ntpd_intres[11309]: host name not found: wbi.nxp.com
Jan 25 19:01:01 nxl67170ux NetworkManager[1179]: <info> (wlan0): IP6 addrconf timed out or failed.
Jan 25 19:01:01 nxl67170ux NetworkManager[1179]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Jan 25 19:01:01 nxl67170ux NetworkManager[1179]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Jan 25 19:01:01 nxl67170ux NetworkManager[1179]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Jan 25 19:01:07 nxl67170ux wpa_supplicant[30778]: wlan0: CTRL-EVENT-SCAN-STARTED
Jan 25 04:17:10 nxl67170ux ntpd_intres[25939]: message repeated 41 times: [ host name not found: wbi.nxp.com]
Jan 25 19:01:11 nxl67170ux ntpd_intres[25939]: parent died before we finished, exiting
Jan 25 19:01:50 nxl67170ux wpa_supplicant[30778]: wlan0: CTRL-EVENT-SCAN-STARTED
Jan 25 19:01:56 nxl67170ux wpa_supplicant[30778]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Jan 25 19:01:57 nxl67170ux kernel: [174089.154875] type=1400 audit(1422208917.341:281): apparmor="DENIED" operation="connect" profile="/usr/sbin/ntpd" name="/run/samba/nmbd/unexpected" pid=11309 comm="ntpd" requested_mask="rw" denied_mask="rw" fsuid=0 ouid=0
Jan 25 19:02:53 nxl67170ux wpa_supplicant[30778]: wlan0: CTRL-EVENT-SCAN-STARTED
Jan 25 19:02:59 nxl67170ux wpa_supplicant[30778]: nl80211: send_and_recv->nl_recvmsgs failed: -33
Jan 25 19:03:59 nxl67170ux kernel: [174211.744686] type=1400 audit(1422209039.849:282): apparmor="DENIED" operation="connect" profile="/usr/sbin/ntpd" name="/run/samba/nmbd/unexpected" pid=11309 comm="ntpd" requested_mask="rw" denied_mask="rw" fsuid=0 ouid=0
Jan 25 19:04:04 nxl67170ux anacron[10896]: Job `cron.daily' started
Jan 25 19:04:04 nxl67170ux anacron[11402]: Updated timestamp for job `cron.daily' to 2015-01-25
Jan 25 19:04:16 nxl67170ux wpa_supplicant[30778]: wlan0: CTRL-EVENT-SCAN-STARTED
Jan 25 19:05:00 nxl67170ux CRON[11589]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jan 25 19:05:20 nxl67170ux kernel: [174292.817315] wlan0: deauthenticated from 00:1d:7e:0c:24:5e (Reason: 14)
Jan 25 19:05:20 nxl67170ux wpa_supplicant[30778]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:1d:7e:0c:24:5e reason=14
Jan 25 19:05:20 nxl67170ux NetworkManager[1179]: <warn> Connection disconnected (reason 14)
Jan 25 19:05:20 nxl67170ux kernel: [174292.862663] cfg80211: Calling CRDA to update world regulatory domain
Jan 25 19:05:20 nxl67170ux NetworkManager[1179]: <info> (wlan0): supplicant interface state: completed -> disconnected
Jan 25 19:05:20 nxl67170ux kernel: [174292.869352] cfg80211: World regulatory domain updated:
Jan 25 19:05:20 nxl67170ux kernel: [174292.869356] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan 25 19:05:20 nxl67170ux kernel: [174292.869358] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 25 19:05:20 nxl67170ux kernel: [174292.869360] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 25 19:05:20 nxl67170ux kernel: [174292.869362] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jan 25 19:05:20 nxl67170ux kernel: [174292.869363] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 25 19:05:20 nxl67170ux kernel: [174292.869364] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 25 19:05:20 nxl67170ux wpa_supplicant[30778]: wlan0: CTRL-EVENT-SCAN-STARTED
Jan 25 19:05:20 nxl67170ux NetworkManager[1179]: <info> (wlan0): supplicant interface state: disconnected -> scanning
- Fix? (Done, no obvious effect, maybe less spam in syslog) Edit wireless connection, click the down arrow next to BSSID which is blank, select the mac address that was hidden before. [14]
- Fix? Done, no obvious effect Disable IPv6? Edit wireless connection, click IPv6 settings, Click on drop-down list for method, and select Ignore.
- Fix? Several fixes from [15]
- (Done, no obvious effect, but less spam in syslog) Set regulatory agency for wireless
iw reg get # Get agency. '00' means unset
sudo iw reg set US # Or pick country code (eg. 'BE' for Belgium)
- (Reverted. See if manual IP is sufficient)Disable 802.11n protocol. Edit /etc/modprobe.d/iwlwifi.conf
options iwlwifi 11n_disable=1
- (Not tested yet) Disable ipv6 protocol. Edit /etc/sysctl.conf:
net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
- (Done, more stable, but reverted because link downgraded to 1Mb/s) Make sure the router is not set not to use QOS/WWN
- Fix? (Done, more stable?) Deal with message
wlan0: deauthenticating from 00:1d:7e:0c:24:5e by local choice (reason=3)
[16], bug 548992.
Issues on Trusty (griffin)
- Issue — v-sync tearing during DVD playback in XBMC 13.0 Gotham (see XBMC) Add to /etc/profile:
- Issue — Evolution continuously reporting error TCP connetion reset by peer or similar
# Fix vsync tearing - http://askubuntu.com/questions/456355/have-tearing-no-vsync-in-movies-nvidia-proprietary-driver
export __GL_YIELD="USLEEP"
export __GL_THREADED_OPTIMIZATIONS=1
Issues on Precise (griffin)
- Issue — Can't map Super-Space for Gnome-Do
- solved? — open ccsm → Ubuntu Plugin → temporarily change the shortcut for the launcher. Change gnome-do shortcut again, and then restore the launcher shortcut to super.
- solved — Use Synapse instead with Alt-Space as mapping.
- Issue — Current openjdk-6-jdk does not print file full path in error message, but only basename, which breaks vim "goto bug" feature.
- partially solved — This is solved in openjdk-7-sdk, but can't install 32_bit version though. So for 32-bit, we need to refer to openjdk-6 libraries.
- Issue — Super-Space does not work. Also cannot bind to Alt-Space either (get error (Do:6011): libdo-WARNING **: Binding '<Alt>space' failed!). See bug 988699, [22] (Bugs: Do)
- temporary fix — killing and restarting gnome-do in a shell (
gnome-do&
) to re-enable Super-Space - solved — Use Synapse instead with Alt-Space as mapping.
- temporary fix — killing and restarting gnome-do in a shell (
- Issue — Compiz Ring Switch requires pressing Enter to select a window.
- solved — Change Key to show the launcher to Shift-Super in Ubuntu Unity Plugin. Also, changed Key to show the HUD to Ctrl-Super
- Issue — Compiz Scale plugin Initiate Window Picker for All Windows does not work (show windows for current workspace only)
- See bug 933776
- A patch can be found in this ppa (
sudo add-apt-repository ppa:mc3man/fixing-scale
)
Issues on Maverick (griffin)
- Issue — No Configuration Editor link in the menu. Must be added by hand?
- Solved — Enable it by editing Gnome menu, right click on menu → Edit Menu → System Tools → Enable icon for Configuration Editor.
- Issue — Known issues documented in Maverick release manifest & Release Notes:
- Connected DisplayPort monitors may prevent booting. (655795)
- 802.11n support for the iwlagn driver has been temporarily disabled. Intel is actively working to get this properly fixed up in the firmware. This workaround should be reverted once updated firmware is available. (630748, 654152). See also Ubuntu Forums thread, Bug 16691 kernel.org, Intel WiFi driver for linux and official Linux Wireless wiki. cfr file /etc/modprobe.d/intel-5300-iwlagn-disable11n.conf
- The logo will not display during boot when using the Nvidia proprietary driver. (653274)
- Issue — [arrandale] Integrated intel graphics GMA HD doesn't work (590504). See also [23] This relates to kernel message at boot:
- Issue — Suspend does not work; pc goes suspend but then restart immediately it seems in login screen. Related bug: 570604.
- Solved — Problem is linked with xhci_hcd that prevents suspend when loaded (this is because sleep/suspend is not implemented yet in that module). Unloading it will allow suspend (workaround). Bug is fixed in Ubuntu 11.04. Launchpad bug 522998
- Issue — Window Manager does not display window decorators after Macbuntu install. Temporary fix:
- To Do — Setup BEH (backend error handler) for CUPS
dmesg | grep -i iwl
sudo modprobe -r iwlagn
sudo modprobe iwlagn 11n_disable=1
iwconfig # Check that 11n is disabled
# ...
# wlan0 IEEE 802.11abg ESSID:off/any
#
# ...
dmesg | grep i915
# ... intel ips 0000:00:1f.6: failed to get i915 symbols, graphics turbo disabled
echo 'SUSPEND_MODULES="xhci_hcd"' >> /etc/pm/config.d/unload_modules # As root
compiz --replace&
Hardware issues (nxl67002ux)
- Issue — Heavy HW interrupts related to intel graphic card, power saving (sleep), and use of DVI/HDMI interface (module i915, drm, drm_kms_helper).
- 2.6.32 kernel — udevd eats CPU resource! Launchpad bug 440411, talked on forum 1356215. There was a partial workaround, but it does not work anymore on 2.6.32.28:
- 2.6.35 kernel (Maverick) — Install a newer version of the kernel, like 2.6.35. But then we have issues with the processes [kslowd001] ... [kslowd004] that hog the cpu even more, and make mouse movements jerky. Launchpad bug 662946, 661012 (dup). See fix in forum 1594239 (Install latest kernel 2.6.37 with partial fix with module drm_kms_helper / i915..., or install kernel 2.6.34). Other links [24]. Workaround:
- Some issues seem to be fixed in the latest kernel 2.6.33 for Lucid. See [25] (drm/i915: Disable FBC on 915GM and 945GM...)
- Workarounds to investigate
- Issue — Frequent wireless disconnect.
- Reference HW info on this machine
- My other bugs in launchpad.
- Related to intel 5300 chipset (module iwlagn) and 802.11n networks.
- Done — Installed a linux-backports-modules-wireless package (linux-backports-modules-wireless-2.6.37-lucid-generic-pae).
- Brought some improvements, in particular with kernel 2.6.32-32. Not disconnection, max ssh connect 1.2s, but still some drop to 1Mb/s. Still old firmware version 8.24.2.12 (file iwlwifi-5000-2.ucode)
- Done — Installed a compat-wireless package from compat-wireless project (linux-backports-modules-wireless-lucid-generic-pae).
- Not sure it does anything better. Still stuck with the old firmware version 8.24.2.12 (file iwlwifi-5000-2.ucode)
- SOLVED — Force upgrade the iwlagn driver as indicated on this forum (see also bug 794291, and post on tech drive-in where I first learned about this solution):
sudo service udevd stop
sudo service udevd start # After this unfortunately there is no battery state icon anymore (unless reboot, or maybe suspend)
udevadm monitor # Check that there is no events triggered
echo N > /sys/module/drm_kms_helper/parameters/poll
# OR...
echo "options drm_kms_helper poll=N">/etc/modprobe.d/local.conf # As root.
#Remove any linux backports modules
sudo apt-get autoremove linux-backports-modules-wireless*
#Download and install the compat-wireless iwlagn driver
wget http://www.orbit-lab.org/kernel/compat-wireless-2.6-stable/v2.6.38/compat-wireless-2.6.38.2-2-ns.tar.bz2
sudo apt-get install build-essential linux-headers-$(uname -r)
sudo apt-get remove lsh-server
tar jxvf compat-wireless-2.6.38.2-2-ns.tar.bz2
cd compat-wireless-2.6.38.2-2-ns/
make
sudo make install
#Now reboot... or you can try reload the module:
sudo make unload
sudo modprobe iwlagn
sudo modprobe bnep
sudo modprobe btusb
sudo modprobe rfcomm
sudo modprobe sco
sudo /etc/init.d/networking restart
#Check driver:
lshw -C network
# ...
# configuration: broadcast=yes driver=iwlagn driverversion=2.6.32-32-generic-pae firmware=8.83.5.1 build 33692 ip=134.27.182.162 latency=0 multicast=yes wireless=IEEE 802.11abgn
modinfo iwlagn
# filename: /lib/modules/2.6.32-32-generic-pae/updates/drivers/net/wireless/iwlwifi/iwlagn.ko
# ...
# firmware: iwlwifi-5000-5.ucode
Running my ssh tests over WiFi show a very steady connection, without drop of connection speed (however it's capped at 54 Mb/s)
Hardware issues (griffin)
- Issue — Smartcard reader (Ricoh Co Ltd RL5c476 II) does not work. No available drivers [28].
sudo lspci | grep CardBus
# 46:06.4 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev bb)
VirtualBox issues (nxl67002ux)
- Issue — VirtualBox - UE slower gui refresh since update to VirtualBox 3.2.4 (previous version was 3.2.0)
- Issue — VirtualBox - ksoftirqd/0 taking 10-20% CPU. Possible work-around is to add nohz=off to kernel command line, i.e. in /boot/grub/menu.list) (see [29] and [30])
- Issue — VirtualBox - BT dongle not reconnecting after suspend. It used to work correctly in the past. Is it due to an update?
- Issue — VirtualBox - Cygwin very slow in VirtualBox (
while (true); do date --utc; done | uniq -c
gives me ~4 fork / second. As an alternative, try MSYS (MGWin), UWIN or Interix. Some other causes: [31] - SOLVED? — The speed issue seems to be solved in the last version (1.7.9). Fork is still slow though, but rxvt is blazing fast. rxvt still much slower.
- Issue — VirtualBox - Can't go to synergy client when VB guest is in fullscreen. See X#Synergy.
- SOLVED? — Press host key (ctrl) before/after going to synergy client.
Other issues (nxl67002ux)
- Issue — ssh disconnects after some time, autossh can't reconnect. Even doing a simple ssh does not work anymore. Might be due to broken ssh-agent
- Disable auto-run of Gnome ssh-agent, enabled back my ssh-agent script
- Issue — synergy unstable. Sometimes CTRL key does not work anymore in the client...
- Look for alternatives: Synergy+ (SynergyPlus), or x2x (see Synergy page on wikipedia).
- Issue — Midnight Commander does not colorize different file types. Check here.
- SOLVED — Use mc official repository instead. See MC page
- Issues — Serious interferences from Privoxy:
- Reject URL like .../advies/... and .../ADV_AUTH.CAB (work-around: disable Privoxy AdBlocking via http://p.p).
- Interference with Altran Timesheet. ActiveX / ASP.NET controls do not work in (Wine) Internet Explorer 6.
- Issue — Opera 11 - v11 does not support my autoproxy .pac file anymore.
Temporarily downgraded to v10.63.6450.- It seems that it accepts .pac file on http://localhost/proxy.pac. Temporarily using that.
- Issue — Evince, error in console EggSMClient-WARNING **: Failed to connect to the session manager.... It seems related to apparmor.
- SOLVED — To solve it [32]:
- Issue — ufw user[6].rules files should be stored in /etc/ufw instead of /lib/ufw so that they can be tracked by etckeeper (filed a bug in launchpad, 728128)
- Issue — Kernel panic when updating to kernel 2.6.32-29, due to trailing dots in /boot/initrd file (bug submitted on launchpad 728430)
- SOLVED — No problem with 2.6.32-30, but again same problem with 2.6.32-32. Problem gone after formatting
/boot
in Ext3. - 'Issue — Opera 11 → shaky (at best) clipboard support! Copy & paste to/from utility xsel, or to/from virtualbox guest/host is broken. The best is to pass through an intermediate editor, like gedit.
cd /etc/apparmor.d/disable
sudo ln -s /etc/apparmor.d/usr.bin.evince usr.bin.evince
sudo /etc/init.d/apparmor restart
Issues on Precise (nxl67063ux)
- Issue — When connecting to Host's Cygwin via SSH, there network drive shares are not visible.
- Know issue, see Cygwin#SSHD
opengl / hdmi / optimus Issues (Reddragon)
- Issue — No OpenGL support with nvidia. Check the links [33], [34]. This is needed for XBMC. See this page to test availability of OpenGL:
- Lost glx after first upgrade from oneiric alpha 2 install (bug 807209)
- How To Get Optimus Working On Ubuntu 11.10 (Oneiric)
- Install Bumblebee
- Report information to Nouveau Devs
- http://askubuntu.com/questions/103564/external-displays-with-bumblebee
- http://askubuntu.com/questions/113886/trying-to-use-an-external-monitor-with-bumblebee-geforce-gt-525m
- https://github.com/Bumblebee-Project/Bumblebee/issues/106
- https://github.com/Bumblebee-Project/Bumblebee-old/issues/40
- https://github.com/Bumblebee-Project/Bumblebee/issues/72
- http://zachstechnotes.blogspot.be/2012/04/post-title.html
- Since upgrade to Ubuntu Trusty Tahr 14.04 LTS
- HDMI still does not work out of the box
- Install nvidia-331-updates
- Install bumblebee [35]
- Fix bug when starting see [36]:
glxinfo | grep -i direct
# The result should be:
# direct rendering: Yes
Some useful commands:
# Should display which card is active and which driver is in use
# (The line 'driver=nvidia' does not appear though for RedDragon
lshw -c display | grep driver
# configuration: driver=nvidia latency=0
# configuration: driver=i915 latency=0
# Display information on the nvidia card
# (from https://github.com/Bumblebee-Project/Bumblebee/issues/21)
/usr/lib/nvidia-current/bin/nvidia-xconfig --query-gpu-info --nvidia-cfg-path=/usr/lib/nvidia-current
Potential solutions:
The bug is actually due to lack of support of new NVidia's Optimus Technology:
sudo apt-get remove nvidia-common nvidia-current nvidia-current-updates nvidia-settings nvidia-settings-updates
Some links to look at:
from Googling "bumblebee external monitor hdmi":
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install virtualgl # for glxspheres64
sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
sudo ln -s /usr/lib/x86_64-linux-gnu/libturbojpeg.so.0 /usr/lib/x86_64-linux-gnu/libturbojpeg.so
- We get different benchmark when using
primusrun
and when usingoptirun
:
optirun glxspheres64 # 150.254538 frames/sec - 157.995651 Mpixels/sec primusrun glxspheres64 # 60.295114 frames/sec - 63.401518 Mpixels/sec
- maybe this is due to frame sync when using
primusrun
? (60Hz)
bbswtich
is a bumblebee module that can be used to switch on / off the nvidia card. When running, there should be a file /proc/acpi/bbswitch:
cat /proc/acpi/bbswitch 0000:01:00.0 ON
- If not available, load the module manually:
sudo modprobe bbswitch dmesg | tail -n 1
Issues on Precise/Trusty (Reddragon)
- Issue — External headphone (jack) does not work (see bug 978880)
- Broken solution — See [37]. Edit /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf (and similar ...-2.conf files if any) (more links [38], [39], [40]). Change the lines:
- Update — this does not work. Settings are reverted after pulseaudio update. Moreover the bass speaker is not correctly handled.
- Solved The solution is to install the latest Realtek codec from here, v5.18 (more information [41], [42], [43], [44]). To install, just un-tar and run given
./install
script: - To Do — Setup BEH (backend error handler) for CUPS
- Issue — Cannot read movies from DVD-RW
- Solved — Require patch on udisks (see Udisks).
- Ubuntu 14.04 LTS — Require patch on udisks2 (see Udisks).
- Issue — Sometimes keyboard in US layout
- Temp fix: Add
bin/setkbmap.sh
and run it at startup: - Issue — Flash instability
- Temp fix: Uninstall all nvidia drivers
- Temp fix: Uninstall flashplugin-installer
- Temp fix: Install dansguardian & privoxy to prevent access to underground/unstable sites
- Setup local network proxy: localhost:8080
- Idem in firefox
- ! for thunderbird, select no proxy (if proxy configured in system parameters → network... incredible but true [45])
- Other issues after upgrade to Trusty Tahr
- System still thinks the DVD is present after pressing the eject button. One must select eject DVD in the launcher.
- DVD-RW still un-readable (but now package udisks2)
[Element Speaker]
-switch = off
+switch = on
-volume = off
+volume = ignore
tar -jxvzf ...
cd ...
vi install # install script has a bug, fetch exec at wrong place after untar
sudo ./install
Issues on Trusty/Xenial (Zyratastic)
- Issue — Fn-F2 (WLAN / Bluetooth switch) and Fn-F5/Fn-F6 (screen brightness) do not work.
- (NOK) Add
acpi_osi='!Windows 2012'
to /etc/default/grub (see [46], and also [47], [48], [49]) — Fn-F5/F6 still do not work, but Fn-F2 does work now!!! - (NOK) Add
acpi=
to /etc/default/grub (as per [50]) — Does not work either (even got black screen → Ctrl-Alt-BS to get out) - (Solved) Add
acpi_osi=
to /etc/default/grub (see guide N550JV) - Issue — NVidia GT750M card not detected.
- Install xorg-edgers (see [51])
- Reboot. Multiple issues from apport (→ disabled now)
- Nvidia card works with accelerated OpenGL, but keyboard is stuck to US layout, and Bluetooth is lost. Fonts are not rendered as usual it seems.
- Purge xorg-edgers to see if we can revert back to previous situation:
- (Solved) Install bumblebee and nvidia drivers v319 (see guide N550JV)
- Issue — Black screen after package update
- Cause is either update to a new kernel, and/or updating nvidia-331 to nvidia-340.
- (Solved) See Osgyan's guide to fix the problem. This requires updating to nvidia-349 drivers and whitelisting/blacklisting a few modules.
- Issue — Minecraft — Graphics glitches, missing limbs on intel card.
- (NOK) Changing settings, to no avail: Graphics: Fast / Fancy, View Bobbing: ON / OFF: Advanced OpenGL: OFF/Fast/Fancy
- (NOK) Tried these VM, and they have glitches: OpenJDK 7 64, Oracle JDK 7 64.
- (NOK) From [52].
- Run MC with
-Xmx512M
- Run in fullscreen
- OpenGL / Multicore settings: Smooth FPS: On, Load Far: Off, Chunk UpF: 2, Lazy CL: On, Smooth World: On, Preload Chunks: Off, Dynamic Updates: On
- Setting priority of proSeems to workcess java to high (aka
sudo -k nice -n -5 su -c "..." -USER
, see [53])
- Run MC with
- (NOK) Disable compiz before launching minecraft (see [54])
- Check more solution from google query "optifine missing limbs" — ...
- (Alt. solution) Disable OptiFine
- (Solved) — use NVIDIA OpenGL (via bumblebee)
- Issue — Image really dark
- Use
xrandr
(see [55]): - Q? — How to make that settings permanent (setting is lost after quit / restart)?
- I could make a custom script per seat, that is run right before launching minecraft.
- Issue — Minecraft — FPS stuck at 60 FPS.
- Solved — This is due to vsync. Disable it with env. var vblank_mode ([56]):
- (or uncheck the nvidia-settings option at X Screen 0 / OpenGL Settings / Sync to VBlank)
- Issue — Bluetooth — Bluetooth sometimes not active, even with nvidia disabled [ 13.663135] Bluetooth: Error in firmware loading err = -110,len = 448, size = 4096 [ 13.663173] Bluetooth: Loading patch file failed [ 13.663198] ath3k: probe of 3-5:1.0 failed with error -110
- Filed bug 1260825 in Launchpad (see also 1102622, 1024884, 1237296).
- Work-around: unload / reload ath3k
- Might be due to interaction with libmtp [57]. But uninstalling libmtp-common as no effect.
- Issue — Keyboard layout — BE layout not applied on login
- Adding .xinitrc to setxkbmap be (to fix keepassx issue) — this might fix the problem, or more precisely hide the problem.
- Issue — Boot — Boot stuck right after grub. empty screen. no disk activity.
- We can trigger disk activity 2x by pressing return key.
- Done — Check BIOS version and upgrade if necessary (see [58])
- We have version 204. Updated to version 207
- To Do — Many errors in dmesg. [ 12.493360] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 12.493374] lpc_ich: Resource conflict(s) found affecting gpio_ich ...
- To Do — Minecraft — Do we get more FPS if we disable compiz (or any compositor, like metacity)?
- To Do — Check install guides above.
- To Do — Try latest nvidia drivers from xorg-edgers.
- To Do — Backup
- Backup Windows Rescue / System Image DVD (to mnemosyne)
- Backup Restore / Recovery partition (to mnemosyne)
- Backup current windows partition (locally)
- Backup partition table, EFI partition, etc.
- To Do — Install better temperature management from Intel, see [59]
- Issue — The battery led is blinking orange. This usually indicates an issue with the Power Management unit in the laptop. See this post [60]. One solution apparently is to press the power button for at least 5-7 seconds until the PM unit is reset (led stops blinking). Another solution is to remove the battery, wait 10-20 second, and reinsert the battery; but this requires opening the laptop case.
- Issue — XBMC touch interface does not work in v13 Gotham RC1. Filed as bug 15184.
- Issue — Fan always on.
- Fix &mdahs; Install fancontrol and lm-sensors. Must run
sensors-detect
(see SensorInstallHowto). Reboot the PC. - To try:
fwts
(from FirmwareTestSuite), and install modulesudo modprobe asus-laptop
[61] - Other references: [62]
- Fix &mdahs; Install fancontrol and lm-sensors. Must run
xrandr --output eDP1 --gamma 1.4:1.4:1.4
xrandr --verbose
Issues on Trusty (Graphicdaemon)
- Issue — Fn-F2 (WLAN / Bluetooth switch) and Fn-F5/Fn-F6 (screen brightness) do not work.
- (NOK) Add
acpi_osi='!Windows 2012'
to /etc/default/grub (see [63], and also [64], [65], [66]) — Fn-F5/F6 still do not work, but Fn-F2 does work now!!! - (NOK) Add
acpi=
to /etc/default/grub (as per [67]) — Does not work either (even got black screen → Ctrl-Alt-BS to get out) - (Solved) Add
acpi_osi=
to /etc/default/grub (see guide N550JV) - Issue — NVidia GT750M card not detected.
- Install xorg-edgers (see [68])
- Reboot. Multiple issues from apport (→ disabled now)
- Nvidia card works with accelerated OpenGL, but keyboard is stuck to US layout, and Bluetooth is lost. Fonts are not rendered as usual it seems.
- Purge xorg-edgers to see if we can revert back to previous situation:
- (Solved) Install bumblebee and nvidia drivers v319 (see guide N550JV)
- Issue — Minecraft — Graphics glitches, missing limbs on intel card.
- (NOK) Changing settings, to no avail: Graphics: Fast / Fancy, View Bobbing: ON / OFF: Advanced OpenGL: OFF/Fast/Fancy
- (NOK) Tried these VM, and they have glitches: OpenJDK 7 64, Oracle JDK 7 64.
- (NOK) From [69].
- Run MC with
-Xmx512M
- Run in fullscreen
- OpenGL / Multicore settings: Smooth FPS: On, Load Far: Off, Chunk UpF: 2, Lazy CL: On, Smooth World: On, Preload Chunks: Off, Dynamic Updates: On
- Setting priority of proSeems to workcess java to high (aka
sudo -k nice -n -5 su -c "..." -USER
, see [70])
- Run MC with
- (NOK) Disable compiz before launching minecraft (see [71])
- Check more solution from google query "optifine missing limbs" — ...
- (Alt. solution) Disable OptiFine
- (Solved) — use NVIDIA OpenGL (via bumblebee)
- Issue — Image really dark
- Use
xrandr
(see [72]): - Q? — How to make that settings permanent (setting is lost after quit / restart)?
- I could make a custom script per seat, that is run right before launching minecraft.
- Issue — Minecraft — FPS stuck at 60 FPS.
- Solved — This is due to vsync. Disable it with env. var vblank_mode ([73]):
- (or uncheck the nvidia-settings option at X Screen 0 / OpenGL Settings / Sync to VBlank)
- Issue — Bluetooth — Bluetooth sometimes not active, even with nvidia disabled [ 13.663135] Bluetooth: Error in firmware loading err = -110,len = 448, size = 4096 [ 13.663173] Bluetooth: Loading patch file failed [ 13.663198] ath3k: probe of 3-5:1.0 failed with error -110
- Filed bug 1260825 in Launchpad (see also 1102622, 1024884, 1237296).
- Work-around: unload / reload ath3k
- Issue — Keyboard layout — BE layout not applied on login
- Adding .xinitrc to setxkbmap be (to fix keepassx issue) — this might fix the problem, or more precisely hide the problem.
- Issue — Boot — Boot stuck right after grub. empty screen. no disk activity.
- We can trigger disk activity 2x by pressing return key.
- Done — Check BIOS version and upgrade if necessary (see [74])
- We have version 204. Updated to version 207
- To Do — Many errors in dmesg. [ 12.493360] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 12.493374] lpc_ich: Resource conflict(s) found affecting gpio_ich ...
- To Do — Minecraft — Do we get more FPS if we disable compiz (or any compositor, like metacity)?
- To Do — Check install guides above.
- To Do — Try latest nvidia drivers from xorg-edgers.
- First make sure that bumblebee and nvidia is uninstalled
- The following packages should be installed:
- Probem, blank login screen. Some links: [75] [76]
- To recover login screen, switching to intel works. From a console:
- Now, let's see if we can use bumblebee again (along with nvidia prime):
- Login screen visible. Check that it works:
- Why does bumblebee works, and not nvidia-prime? Could it be that the device id in /etc/X11/xorg.conf was incorrect? We have
- Content of /etc/bumblebee/xorg.conf.nvidia:
- Content of /etc/X11/xorg.conf:
- Done — Backup, done on 20140701
- Backup Windows Rescue / System Image DVD (to mnemosyne)
- Backup Restore / Recovery partition (to mnemosyne)
- Backup current windows partition (locally)
- Backup partition table, EFI partition, etc.
- To Do — Install better temperature management from Intel, see [77]
- Issue — The battery led is blinking orange. This usually indicates an issue with the Power Management unit in the laptop. See this post [78]. One solution apparently is to press the power button for at least 5-7 seconds until the PM unit is reset (led stops blinking). Another solution is to remove the battery, wait 10-20 second, and reinsert the battery; but this requires opening the laptop case.
- Issue — XBMC touch interface does not work in v13 Gotham RC1. Filed as bug 15184.
- Issue — Minecraft FPS not going higher than 45fps for 1.7.2, and not higher than 55fps for 1.5.2 (with nvidia-331-updates). Is nvidia driver really running?
- Todo: start minecraft with
optirun
xrandr --output eDP1 --gamma 1.4:1.4:1.4
xrandr --verbose
$ sudo lspci | grep -i nvidia
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 850M] (rev ff)
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
BusID "PCI:01:00:0"
# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "intel"
Driver "intel"
BusID "PCI:0@0:2:0"
Option "AccelMethod" "SNA"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1@0:0:0"
Option "ConstrainCursor" "off"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
EndSection
Issues on Trusty (ZAVCWL0005)
- Issue — pcscd crash at boot —
pcscd crashed with SIGSEGV in __efl_set__libc_thread_subfreeres_element___rpc_thread_destroy__()
, package pcscd 1.8.10-1ubuntu1.
- To restart pcscd daemon (in case of
Card not found
/Cannot connect to PC/SC daemon!
):
sudo pcscd
- Issue — regular kernel panic after several days (with standby/resume cycles, though not sure it is related).
- No traces in /var/log. Enable netconsole. Collected this trace:
[36421.360837] ata1.00: exception Emask 0x0 SAct 0x7fffffff SErr 0x0 action 0x6 frozen [36421.360853] ata1.00: failed command: WRITE FPDMA QUEUED [36421.360858] ata1.00: cmd 61/08:00:f0:56:0d/00:00:00:00:00/40 tag 0 ncq 4096 out [36421.360858] res 40/00:ff:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [36421.360861] ata1.00: status: { DRDY } [36421.361022] ata1.00: failed command: WRITE FPDMA QUEUED ... [36426.726787] ata1: link is slow to respond, please be patient (ready=0) [36431.387945] ata1: COMRESET failed (errno=-16) [36431.387956] ata1: hard resetting link ... [36481.495600] ata1: reset failed, giving up [36481.495604] ata1.00: disabled [36481.495609] ata1.00: device reported invalid CHS sector 0 ... [36481.495688] ata1: EH complete [36481.495711] sd 0:0:0:0: [sda] FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [36481.495714] sd 0:0:0:0: [sda] CDB: [36481.495716] Write(10): 2a 00 00 0d 56 d8 00 00 08 00 [36481.495728] blk_update_request: I/O error, dev sda, sector 874200 [36481.495736] Buffer I/O error on dev dm-1, logical block 45787, lost async page write [36481.495748] sd 0:0:0:0: [sda] FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK [36481.495750] sd 0:0:0:0: [sda] CDB: [36481.495752] Write(10): 2a 00 00 0d 56 d0 00 00 08[36481.497838] EXT4-fs warning (device dm-3): ext4_end_bio:317: I/O error -5 writing to inode 5505588 (offset 0 size 4096 starting block 22100526) [36481.497849] Buffer I/O error on device dm-3, logical block 22100526 [36481.497864] Write-error on swap-device (252:2:6137680) ... [36481.513686] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000007 [36481.513686] [36481.513751] CPU: 1 PID: 1 Comm: init Tainted: G W OE 3.19.0-37-generic #42~14.04.1-Ubuntu [36481.513798] Hardware name: Hewlett-Packard HP EliteBook 840 G1/198F, BIOS L71 Ver. 01.31 03/24/2015 [36481.513845] ffff880234a66c80 ffff880235223c88 ffffffff817af92b[36481.514034] [<ffffffff817af92b>] dump_stack+0x45/0x57 [36481.514077] [<ffffffff817a976b>] panic+0xc1/0x1f5 [36481.514114] [<ffffffff81077b61>] do_exit+0xa11/0xb00 [36481.514144] [<ffffffff81077cdf>] do_group_exit+0x3f/0xa0 [36481.514182] [<ffffffff81083bc0>] get_signal+0x1e0/0x710 [36481.514220] [<ffffffff81014e70>] do_signal+0x20/0x120 [36481.514255] [<ffffffff811a0000>] ? generic_file_remap_pages+0x250/0x2c0 [36481.514295] [<ffffffff81690652>] ? __sys_sendmsg+0x42/0x80 [36481.514329] [<ffffffff81014fd9>] do_notify_resume+0x69/0xb0 [36481.514371] [<ffffffff817b82a2>] retint_signal+0x48/0x86 [36481.514412] Kernel Offset: 0x0 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [36481.514446] drm_kms_helper: panic occurred, switching back to text console
-
- Check for badblock
sudo badblocks -v /dev/sda # Or anything else?
- comment #32 - disable AHCI in BIOS
- libata.force=noncq to grub line
cat /sys/block/sda/device/queue_depth # if returns 31 means NCQ enabled, 1 means disabled
- Kernel options like "libata.noacpi=1", "libata.force=noncq" or "sata_nv.adma=0"
- "pci=noacpi" or "irqpoll"
- https://bbs.archlinux.org/viewtopic.php?id=134493
- https://bbs.archlinux.org/viewtopic.php?pid=1052099#p1052099
- Add 'ifconfig eth0 down' to /etc/rc.local.shutdown
- or disable Wake-On-LAN in BIOS
- Procedure to debug hard disk issues. No link to my problem there.
- Not read yet:
- https://bugzilla.redhat.com/show_bug.cgi?id=462425#c80 (related to READ DMA EXT).
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/550559/+index?comments=all (related to READ FPDMA QUEUED)
- Looking for "WRITE FPDMA QUEUED":
- Issue — Very high CPU usage on screen dimming triggered by the screen saver, with high probability of crash.
- Happens with kernel 3.19.0-58-generic.
- Reverting to 3.19.0-56-generic: no difference.
- Enabling vendor acpi in grub. Edit /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
- Then update grub and reboot:
sudo update-grub
- Issue — X.org vivid backport leaks like hell when using some applications (for instance when Thunderbird is busy waiting, or with the Prisma Puzzle Timer).
- workaround — Revert back to trusty x.org:
sudo apt-get install xserver-xorg
Issues on Xenial (ZAVCXL0005)
- Issue — On-screen text disappears after suspend bug 1573959.
- Issue — High CPU usage by kworker/ksoftirqd.
ps faux
reports 100% usage by processes namedkworker
andksoftirqd
.- Workaround: problem was gone after the following sequence: undock laptop, plug in usb devices in all usb port, remove such devices, close the lid and wait for suspend, wake up from suspend, dock back the laptop while powered up. When docking the laptop, the problem went immediately away, so maybe is it enough to undock/dock the laptop when powered.
- This may be correlated to ethernet failure and BIOS update (original BIOS version was 1.31. Version 1.37 and 1.39 at least exhibit the bug). A solution might be then to downgrade BIOS back to v1.31;
- Other option is to debug the kernel. See [83], [84], [85].
- To collect perf trace:
sudo apt-get install linux-tools-common
perf
sudo apt install linux-tools-generic linux-cloud-tools-generic
sudo perf record -g -a sleep 10
sudo perf report
- I get the following traces:
Children Self Command Shared Object Symbol
+ 79.76% 0.00% kworker/0:1 [kernel.kallsyms] [k] kthread
+ 79.76% 0.00% kworker/0:1 [kernel.kallsyms] [k] ret_from_fork
+ 79.75% 0.06% kworker/0:1 [kernel.kallsyms] [k] worker_thread
+ 79.67% 0.31% kworker/0:1 [kernel.kallsyms] [k] process_one_work
+ 78.28% 0.14% kworker/0:1 [kernel.kallsyms] [k] rpm_idle
+ 77.78% 0.06% kworker/0:1 [kernel.kallsyms] [k] pm_runtime_work
+ 77.72% 0.18% kworker/0:1 [kernel.kallsyms] [k] rpm_suspend
+ 77.48% 0.14% kworker/0:1 [kernel.kallsyms] [k] __rpm_callback
+ 77.39% 0.03% kworker/0:1 [kernel.kallsyms] [k] usb_runtime_idle
+ 77.35% 0.09% kworker/0:1 [kernel.kallsyms] [k] __pm_runtime_suspend
+ 76.93% 0.04% kworker/0:1 [kernel.kallsyms] [k] rpm_callback
+ 76.77% 0.06% kworker/0:1 [kernel.kallsyms] [k] usb_runtime_suspend
+ 76.68% 0.19% kworker/0:1 [kernel.kallsyms] [k] usb_suspend_both
+ 72.68% 0.25% kworker/0:1 [kernel.kallsyms] [k] usb_control_msg
+ 70.67% 0.27% kworker/0:1 [kernel.kallsyms] [k] usb_start_wait_urb
+ 65.29% 0.13% kworker/0:1 [kernel.kallsyms] [k] usb_submit_urb
+ 65.17% 0.35% kworker/0:1 [kernel.kallsyms] [k] usb_submit_urb.part.6
+ 64.42% 1.50% kworker/0:1 [kernel.kallsyms] [k] usb_hcd_submit_urb
+ 55.81% 0.16% kworker/0:1 [kernel.kallsyms] [k] hub_suspend
+ 54.43% 53.56% kworker/0:1 [kernel.kallsyms] [k] xhci_hub_control
+ 53.84% 0.03% kworker/0:1 [kernel.kallsyms] [k] set_port_feature
+ 20.44% 0.05% kworker/0:1 [kernel.kallsyms] [k] usb_resume_interface.isra.6
+ 20.38% 0.02% kworker/0:1 [kernel.kallsyms] [k] hub_resume
+ 20.34% 0.28% kworker/0:1 [kernel.kallsyms] [k] hub_activate
- Last resort is to update the kernel, from current v4.4. There is kernel 4.8 available by installing package linux-image-generic-hwe-16.04-edge (see RollingLTSEnablementStack).
- Update 2017/01/10 — Install HWE 4.10 kernel made the problem worse (kworker kicking in anytime, even before sleep, and docking/undocking not permanent fix). So trying HWE Edge kernel 4.13.
- Issue — High CPU usage by compiz
rm -rf ~/.local/share/gvfs-metadata
# ... or more drastic, prevent gvfs metadata daemon to run:
sudo chmod -x /usr/lib/gvfs/gvfsd-metadata
- work-around Problem went away either by using the wall plugin (unlikely) and/or closing VirtualBox (note however that problem was happening with VM being suspended).
- Issue — WiFi not working after suspend (does not see SSID anymore)
- We see that wifi is managed by driver iwlwifi:
lshw|grep -i wifi
# configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-64-generic firmware=17.352738.0
# latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
- Workaround: We unload / reload it:
# Reset the wifi driver
sudo rmmod iwlmvm iwlwifi
sudo modprobe iwlwifi iwlmvm
- Issue — Permission denied error when running apt update
sudo apt update
#Err:32 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons
# Could not open file /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_xenial-security_main_dep11_icons-64x64.tar.gz - open (13: Permission denied) [IP: 127.0.0.1 8118]
#...
#E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/dep11/icons-64x64.tar Could not open file /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_xenial-security_main_dep11_icons-64x64.tar.gz - open (13: Permission denied) [IP: 127.0.0.1 8118]
- Let's delete the apt cache and rebuild it. Maybe this is due to download corruption, so for safety I must disable proxy as well.
# Disable proxy
sudo rm /etc/apt/apt.conf
unset $(env|grep proxy|cut -f 1 -d=)
# Delete the apt cache and rebuild it
rm -rf /var/lib/apt/lists
mkdir -p /var/lib/apt/lists/partial
chmod 755 /var/lib/apt/lists
chmod 700 /var/lib/apt/lists/partial
chown _apt:root /var/lib/apt/lists/partial
touch /var/lib/apt/lists/lock
chmod 640 /var/lib/apt/lists/lock
- Note that the
chown
above is necessary or we get the following error [88]:
W: Can't drop privileges for downloading as file '/var/lib/apt/lists/partial/be.archive.ubuntu.com_ubuntu_dists_xenial_InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
- Update — Got the problem again:
# Err:16 http://archive.canonical.com/ubuntu xenial/partner Sources
# Could not open file /var/lib/apt/lists/partial/archive.canonical.com_ubuntu_dists_xenial_partner_source_Sources.xz - open (13: Permission denied) [IP: 127.0.0.1 8118]
# ...
# E: Failed to fetch http://archive.canonical.com/ubuntu/dists/xenial/partner/source/Sources Could not open file /var/lib/apt/lists/partial/archive.canonical.com_ubuntu_dists_xenial_partner_source_Sources.xz - open (13: Permission denied) [IP: 127.0.0.1 8118]
# E: Some index files failed to download. They have been ignored, or old ones used instead.
- As a fix, disable the partner repository from /etc/apt/soure.list, then enable it again:
sudo sed -ri '/partner/s/^/##/' /etc/apt/sources.list
sudo apt update
sudo sed -ri '/partner/s/^##//' /etc/apt/sources.list
- Issue — dwww gives Internal Server Error errors when accessing /usr/share/doc pages:
- Fix — Install dwww=1.13.3 package [89].
- Issue — dwww gives Access denied errors when accessing cppreferences manual.
- Fix Update /etc/dwww/dwww.conf [90]
-# DWWW_DOCPATH='/usr/share/doc:/usr/share/info:/usr/share/man:/usr/local/share/doc:/usr/local/share/info:/usr/local/share/man:/usr/share/common-licenses'
+DWWW_DOCPATH='/usr/share/doc:/usr/share/info:/usr/share/man:/usr/local/share/doc:/usr/local/share/info:/usr/local/share/man:/usr/share/common-licenses:/usr/share/cppreference
- Issue — Interference between setting
PROMPT_COMMAND
and Midnight Commander. - Issue — Stuck mouse button issue in VirtualBox / Windows Guest.
- Happened since switch to xserver-xorg-hwe-16.04 and linux-generic-hwe-16.04-edge. Might got even worse when using virtualbox-5.2.6, but now reverted back to virtualbox-5.1.30.
- Reverting to the previous kernel and xorg did not help however. So the dependencies are not obvious.
- Symptoms:
- Can't alt-tab between applications Linux hosts. Ctrl-Alt-arrows to shift between desktops works though.
- In Windows guest, left click behave like a right click. Also, mouse is apparently captured by one Windows application, for which the mouse behaves correctly. Clicking on another application gives strange result.
- Workarounds:
- In Windows guest, select the application we want to use, then ctrl-home, disable and enable back the mouse input. Doing this seems to fix the mouse for the new application.
- In Windows guest, right-ctrl-delete to lock the screen then log in back. This seems to solve all issues in guest, but leaves the host in stuck state (can't alt-tab).
- In Linux host, ctrl-home to bring VB menu, then alt-tab to force application switch. Locking the screen then login back. Ctrl-P in VirtualBox to pause the VM.
- In Linux host, kill compiz. If the desktop is completely stuck, Ctrl-Alt-Left still works, then use Ctrl-Alt-T to open a new terminator windows. This works best if the desktop is completely empty (and does not work if current desktop already contains a terminator windows because then the new windows appears in the background and is out of reach). Then
compiz --replace&
, or bettermetacity --replace&
. Metacity looks more stable.
- Things to try (read from some forums):
- Reinstall the Windows guest additions but enable full 3D support.
- This post describes a problem very similar to mine, but windows host, linux guest. They suggest to Kill the VboxClient process that has a --draganddrop command line flag.
- Workaround — Just noticed the bug is correlated to my Jabra Pro headset, connected to host via USB. Everytime I take the headset from the pod, the problem appears. Hanging up the set solves the problem. I noticed the USB device was no longer attached to the virtual machine, so maybe long term solution is to add the USB device to the USB device filter. Could the problem be linked to the KWorker-taking-100%-cpu issue?
- Fix — Restore the USB filter to attach Jabra Pro automatically to VM (existing filters were old, not matching anymore).
Issues on Zesty (ZAVCWL0005)
No indicator icon for Skype, Dropbox, Discord
Source: [91]
cat /usr/share/applications/discord.desktop|grep Exec
# Exec=env XDG_CURRENT_DESKTOP=Unity /usr/share/discord/Discord
cat /usr/share/applications/skypeforlinux.desktop|grep Exec
# Exec=env XDG_CURRENT_DESKTOP=Unity /usr/bin/skypeforlinux %U
Issues on XBMCBuntu
- No audio in some applications with HDMI output — Some applications (like Firefox or flash player) are silent.
- Install and launch
pavucontrol
to select the output device. Also, select HDMI as the fallback device.
Issues on VirtualBox Debian 9
- File changes done in the VM not immediately visible when served via Samba — This may be due to SMB2 protocol [92].
- Trying to set
server max protocol = SMB2_10
(servermaxprotocol). No effect. - Trying to disable SMB2.0 in Windows [93]. No effect.
- Trying to set
Rem to disable SMB 2.0:
sc config lanmanworkstation depend= bowser/mrxsmb10/nsi
sc config mrxsmb20 start= disabled
Rem to enable back:
sc config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc config mrxsmb20 start= auto
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters\]
OplocksDisabled=dword:00000001
- Trying to disable oplocks in Samba config [97]. We add to /etc/samba/smb.conf:
[Global]
oplocks = False
level2 oplocks = False
kernel oplocks = yes
# Do this for every share
[shareXYZ]
oplocks = False
level2 oplocks = False
kernel oplocks = yes
- ... This works! Is it enough to disable on server-side or we must also keep the Windows client-side configuration.