分页: 1 / 1
诡异的Kubuntu更新错误
发表于 : 2014-12-28 3:18
由 farta
Kubuntu 14.04.1最近更新时,更新了ntpdate,并且删除了一个老内核。重启后在KDE Plasma载入界面(几个图标依次逐渐显示的那个界面)上卡了好久,然后进入桌面后所有的桌面图标、桌面文件夹面板,桌面墙纸设置全部丢失。莫名其妙啊。
不知道有没有其他人遇到此问题。不得不说大失所望,LTS版居然会因为系统更新直接出现严重错误。
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 3:25
由 farta
系统日志里疑似有关的内容
2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> (eth0): IP6 addrconf timed out or failed.
2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
2014-12-28 03:10:57 farta-kubuntu acpid client 1776[0:0] has disconnected
2014-12-28 03:11:28 farta-kubuntu acpid client connected from 1776[0:0]
2014-12-28 03:11:28 farta-kubuntu acpid 1 client rule loaded
2014-12-28 03:12:02 farta-kubuntu dbus[1284] [system] Activating service name='org.freedesktop.RealtimeKit1' (using servicehelper)
2014-12-28 03:12:02 farta-kubuntu dbus[1284] [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
2014-12-28 03:12:02 farta-kubuntu rtkit-daemon[2484] Successfully called chroot.
2014-12-28 03:12:02 farta-kubuntu rtkit-daemon[2484] Successfully dropped privileges.
加粗的两行中间似乎是卡机时间。
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 7:24
由 poloshiao
2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> (eth0): IP6 addrconf timed out or failed.
2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
1. 如果不使用 IPv6 可以在右上方連線圖示連線設定把 IPv6 設為忽略
或 把 IPv6 關閉
http://askubuntu.com/questions/440649/h ... untu-14-04
2014-12-28 03:10:57 farta-kubuntu acpid client 1776[0:0] has disconnected
2014-12-28 03:11:28 farta-kubuntu acpid client connected from 1776[0:0]
加粗的两行中间似乎是卡机时间。
2. Ubuntu 預設由 network-manager 主管連線
network-manager 有個嘗試錯誤/自我修正的學習/紀錄的功能
farta-kubuntu acpid client 1776[0:0] has disconnected 表示
錯誤重來
farta-kubuntu acpid client connected from 1776 表示
終於成功
下次重開機 速度可能改善 因為可能從錯誤中自我修正
多開機幾次 試試
然后进入桌面后所有的桌面图标、桌面文件夹面板,桌面墙纸设置全部丢失。
3. 優先檢查 顯卡硬件及驅動 再檢查其它設定
3-1. 按一下 alt + ctrl + F2
3-2. 登入 tty2
3-3. sudo apt-get install pastebinit
3-4.
sudo lshw -numeric -class video | pastebinit
會回應
http://paste.ubuntu.com/xxxxxxx # xxxxxxx 是一組數字
把
http://paste.ubuntu.com/xxxxxxx 貼上來
3-5.
sudo cat /var/log/syslog | pastebinit
會回應
http://paste.ubuntu.com/yyyyyyy # yyyyyyy 是一組數字
把
http://paste.ubuntu.com/yyyyyyy 貼上來
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 11:28
由 farta
poloshiao 写了:2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> (eth0): IP6 addrconf timed out or failed.
2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
2014-12-28 03:10:14 farta-kubuntu NetworkManager[1661] <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
1. 如果不使用 IPv6 可以在右上方連線圖示連線設定把 IPv6 設為忽略
或 把 IPv6 關閉
http://askubuntu.com/questions/440649/h ... untu-14-04
2014-12-28 03:10:57 farta-kubuntu acpid client 1776[0:0] has disconnected
2014-12-28 03:11:28 farta-kubuntu acpid client connected from 1776[0:0]
加粗的两行中间似乎是卡机时间。
2. Ubuntu 預設由 network-manager 主管連線
network-manager 有個嘗試錯誤/自我修正的學習/紀錄的功能
farta-kubuntu acpid client 1776[0:0] has disconnected 表示
錯誤重來
farta-kubuntu acpid client connected from 1776 表示
終於成功
下次重開機 速度可能改善 因為可能從錯誤中自我修正
多開機幾次 試試
然后进入桌面后所有的桌面图标、桌面文件夹面板,桌面墙纸设置全部丢失。
3. 優先檢查 顯卡硬件及驅動 再檢查其它設定
3-1. 按一下 alt + ctrl + F2
3-2. 登入 tty2
3-3. sudo apt-get install pastebinit
3-4.
sudo lshw -numeric -class video | pastebinit
會回應
http://paste.ubuntu.com/xxxxxxx # xxxxxxx 是一組數字
把
http://paste.ubuntu.com/xxxxxxx 貼上來
3-5.
sudo cat /var/log/syslog | pastebinit
會回應
http://paste.ubuntu.com/yyyyyyy # yyyyyyy 是一組數字
把
http://paste.ubuntu.com/yyyyyyy 貼上來
感谢回复。我说一下现在的情况:
1. 多次重启之前已经尝试过无效。刚才尝试依旧无效。
2. 再次查看日志时,卡机点往下挪了一点点。
2014-12-28 11:17:29 farta-kubuntu avahi-daemon[772] Interface eth0.IPv6 no longer relevant for mDNS.
2014-12-28 11:17:36 farta-kubuntu kernel [ 50.706845] audit_printk_skb: 114 callbacks suppressed
2014-12-28 11:17:36 farta-kubuntu kernel [ 50.706848] type=1400 audit(1419736655.994:50): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=1767 comm="apparmor_parser"
2014-12-28 11:17:36 farta-kubuntu kernel [ 50.706853] type=1400 audit(1419736655.994:51): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1767 comm="apparmor_parser"
2014-12-28 11:17:36 farta-kubuntu kernel [ 50.707186] type=1400 audit(1419736655.994:52): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1767 comm="apparmor_parser"
2014-12-28 11:19:19 farta-kubuntu dbus[639] [system] Activating service name='org.freedesktop.RealtimeKit1' (using servicehelper)
2014-12-28 11:19:19 farta-kubuntu dbus[639] [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
3. IPV6已确认关闭,无效。
4. 显卡硬件应该没有什么问题。Windows下开大型3D游戏也未报任何错误。显卡驱动问题似乎也不太像,因为我只卸载了一个不用的老内核(还是autoremove),更新了一个和显卡驱动毫无关系的程序。
5. 相应命令回显如下:
$ sudo lshw -numeric -class video | pastebinit
http://paste.ubuntu.com/9632981/
$ sudo cat /var/log/syslog | pastebinit
http://paste.ubuntu.com/9632988/
6. 之前忘讲了,为了恢复对Google的访问,更新了一下hosts。其他再无别的改动。
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 11:53
由 farta
重新换回开源驱动亦无济于事……打算重装换14.10了,唉……
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 12:48
由 photor
farta 写了:重新换回开源驱动亦无济于事……打算重装换14.10了,唉……
可能是新内核的bug,恢复为老内核试试呢?
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 12:49
由 poloshiao
product: GF114 [GeForce GTX 560 Ti] [10DE:1200]
configuration: driver=nvidia latency=0
1. 作用中的閉源驅動 nvidia
2. 把下面指令 複製 貼進終端機 執行
nvidia-settings --glxinfo | grep "OpenGL version string"
可以顯示 作用中的版本
把結果直接 選取/複製 貼上來
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 12:50
由 photor
photor 写了:farta 写了:重新换回开源驱动亦无济于事……打算重装换14.10了,唉……
可能是新内核的bug,恢复为老内核试试呢?
其实LTS版本的软件库里有好些版本的内核,比如你还可以试试14.10版本backport过来的内核
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 12:54
由 poloshiao
重新换回开源驱动亦无济于事
http://nouveau.freedesktop.org/wiki/CodeNames/
开源驱动 nouveau
NVC0 family (Fermi)
NVCE (
GF114) GeForce GTX (460 v2, 560,
560 Ti, 570M, 580M, 670M, 675M)
These cards are generally working with the latest kernel and Mesa but
may still have power management issues. # 也許有一些電源管理的問題
It is recommended to use the Linux 3.1 kernel or newer (or a backported driver from this kernel).
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 13:10
由 poloshiao
http://paste.ubuntu.com/9632988/
Dec 28 11:01:43 farta-kubuntu kernel: [ 19.636727] type=1400 audit(1419735701.945:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=404 comm="apparmor_parser"
Dec 28 11:01:43 farta-kubuntu kernel: [ 19.636730] type=1400 audit(1419735701.945:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=404 comm="apparmor_parser"
Dec 28 11:01:43 farta-kubuntu kernel: [ 19.636733] type=1400 audit(1419735701.945:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=404 comm="apparmor_parser"
Dec 28 11:01:43 farta-kubuntu kernel: [ 19.636741] type=1400 audit(1419735701.945:5): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/sbin/dhclient" pid=443 comm="apparmor_parser"
Dec 28 11:01:43 farta-kubuntu kernel: [ 19.636745] type=1400 audit(1419735701.945:6): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=443 comm="apparmor_parser"
Dec 28 11:01:43 farta-kubuntu kernel: [ 19.636747] type=1400 audit(1419735701.945:7): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=443 comm="apparmor_parser"
Dec 28 11:01:43 farta-kubuntu kernel: [ 19.637074] type=1400 audit(1419735701.945:8): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=404 comm="apparmor_parser"
Dec 28 11:01:43 farta-kubuntu kernel: [ 19.637077] type=1400 audit(1419735701.945:9): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=404 comm="apparmor_parser"
Dec 28 11:01:43 farta-kubuntu kernel: [ 19.637089] type=1400 audit(1419735701.945:10): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=443 comm="apparmor_parser"
Dec 28 11:01:43 farta-kubuntu kernel: [ 19.637092] type=1400 audit(1419735701.945:11): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=443 comm="apparmor_parser"
...
Dec 28 11:02:13 farta-kubuntu kernel: [ 50.860692] type=1400 audit(1419735733.145:50): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=1795 comm="apparmor_parser"
Dec 28 11:02:13 farta-kubuntu kernel: [ 50.860697] type=1400 audit(1419735733.145:51): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1795 comm="apparmor_parser"
Dec 28 11:02:13 farta-kubuntu kernel: [ 50.861029] type=1400 audit(1419735733.145:52): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1795 comm="apparmor_parser"
2014-12-28 11:17:36 farta-kubuntu kernel [ 50.706848] type=1400 audit(1419736655.994:50): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=1767 comm="apparmor_parser"
2014-12-28 11:17:36 farta-kubuntu kernel [ 50.706853] type=1400 audit(1419736655.994:51): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1767 comm="apparmor_parser"
2014-12-28 11:17:36 farta-kubuntu kernel [ 50.707186] type=1400 audit(1419736655.994:52): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=1767 comm="apparmor_parser"
2014-12-28 11:19:19 farta-kubuntu dbus[639] [system] Activating service name='org.freedesktop.RealtimeKit1' (using servicehelper)
2014-12-28 11:19:19 farta-kubuntu dbus[639] [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
2. 再次查看日志时,卡机点往下挪了一点点。
這些紀錄 並非錯誤訊息
參閱
https://help.ubuntu.com/community/AppArmor
https://wiki.ubuntu.com/AppArmor
前面說過 開機程序 就是一個學習/嘗試錯誤/自我修正 的程序
多開機幾次 只要不是 error fail 等等訊息
可以健康的看待
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 13:12
由 rosynirvana
acpid是电源管理,应该影响不到桌面
桌面的文件夹应该是由文件管理器负责呈现的(ubuntu中就是nautilus)
可能有问题的log是这一行
代码: 全选
Dec 28 02:41:33 farta-kubuntu org.kde.powerdevil.backlighthelper: QDBusConnection: system D-Bus connection created before QCoreApplication. Application may misbehave.
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 13:17
由 farta
回楼上诸位,因为急用,已经重装Kubuntu 14.10。很抱歉大概没办法诊断真正原因了。
系统在更新时,随系统安装的内核是不会列入autoremove名单的。我尝试过那个内核,结果似乎是官方驱动不工作,换用了开源驱动,但无济于事。
之前我确认过lsmod | nv命令,运行的肯定是官方驱动无误。
新版kubuntu已经彻底更新,安装官方驱动,用了同一个hosts文件,并未出错。安装官方驱动之前开源驱动也一切正常。
应该说开源驱动本也没什么问题。所谓的电源管理问题通常也就是长跑在高频,热点多费点电。性能上可能也会低一些,但是并未出现过正确性上的错误。
而且我一直认为是KDE子系统内出的问题,与驱动无关。因为当系统最终启动后,桌面特效完全正常。只是桌面元素布局等方面出错了。
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 13:27
由 poloshiao
補充
ubuntu 開機初始化 # 就是開機第一個載入的程序
將從 upstart 逐漸 過渡到 systemd
目前 預設是 upstart 選項是 systemd
所以載入的開機程序 夾雜著 upstart / systemd 程序
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 13:38
由 farta
poloshiao 写了:補充
ubuntu 開機初始化 # 就是開機第一個載入的程序
將從 upstart 逐漸 過渡到 systemd
目前 預設是 upstart 選項是 systemd
所以載入的開機程序 夾雜著 upstart / systemd 程序
这货还要逐渐过渡吗……还真是……
grep了一下,还真是这俩货的进程都有。
Re: 诡异的Kubuntu更新错误
发表于 : 2014-12-28 14:22
由 poloshiao
已经重装Kubuntu 14.10
Kubuntu 及 Unity 桌面進程 對於 3D 支援 要求比較高
如果使用 開源 nouveau
http://nouveau.freedesktop.org/wiki/CodeNames/
使用 3D 搜尋 可以了解 開源 nouveau 對於 3D 的支援
如果安裝閉源驅動 nvidia 對於 3D 的支援 可能比較到位