![由于 ubuntu 13.04 自动更新,加载 NVIDIA 内核模块时出现问题](https://linux22.com/image/843257/%E7%94%B1%E4%BA%8E%20ubuntu%2013.04%20%E8%87%AA%E5%8A%A8%E6%9B%B4%E6%96%B0%EF%BC%8C%E5%8A%A0%E8%BD%BD%20NVIDIA%20%E5%86%85%E6%A0%B8%E6%A8%A1%E5%9D%97%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
自从自动更新添加了X服务器(Xorg)后,加载NVIDIA内核模块出现问题。之前Xorg没有出现在当前进程中,所以断定Xorg已被添加。
这里是/var∕log/Xorg.0.log
:
[ 4931.982] Module class: X.Org Video Driver
[ 4931.986] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
[ 4931.986] (EE) NVIDIA: system's kernel log for additional error messages.
[ 4932.785] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
这是我的显卡:
$ lspci| grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GT216M [GeForce GT 320M] (rev a2)
dmesg:整个文件这里
...
[ 20.883670] ppdev: user-space parallel port driver
[ 21.190115] init: nvidia-persistenced main process (1257) terminated with status 1
[ 22.037723] r8169 0000:03:00.0 eth0: link down
[ 22.037777] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 22.038057] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 23.797388] Bridge firewalling registered
[ 24.159079] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 24.372053] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 24.583618] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready
[ 25.197600] Ebtables v2.0 registered
[ 25.252503] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 25.271254] cgroup: libvirtd (1470) created nested cgroup for controller "memory" which has incomplete hierarchy support. Nested cgroups may change behavior in the future.
[ 25.271263] cgroup: "memory" requires setting use_hierarchy to 1 on the root.
[ 25.271301] cgroup: libvirtd (1470) created nested cgroup for controller "devices" which has incomplete hierarchy support. Nested cgroups may change behavior in the future.
[ 25.271349] cgroup: libvirtd (1470) created nested cgroup for controller "blkio" which has incomplete hierarchy support. Nested cgroups may change behavior in the future.
[ 77.508828] vesafb: mode is 640x480x32, linelength=2560, pages=0
[ 77.508836] vesafb: scrolling: redraw
[ 77.508840] vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[ 77.513310] vesafb: framebuffer at 0xd1000000, mapped to 0xffffc90010d80000, using 1216k, total 1216k
[ 77.513465] Console: switching to colour frame buffer device 80x30
[ 77.514707] fb0: VESA VGA frame buffer device
[ 167.689216] net_ratelimit: 14 callbacks suppressed
[ 167.689267] ERROR @wl_cfg80211_get_station : Could not get rate (-1)
[ 167.689333] ERROR @wl_cfg80211_get_station : Could not get rssi (-1)
[ 167.689436] ERROR @wl_cfg80211_get_station : Could not get rate (-1)
[ 167.690565] ERROR @wl_cfg80211_get_station : Could not get rssi (-1)
[ 168.492108] cfg80211: Calling CRDA to update world regulatory domain
[ 168.496662] cfg80211: World regulatory domain updated:
[ 168.497392] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 168.498869] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
这个问题能解决吗?
谢谢
答案1
我终于找到了问题所在。出于开发目的,我不得不将 gcc 链接到 gcc-4.4。因此,为了解决我的问题,我不得不将 gcc 链接到我的最新版本:gcc-4.7。接下来的基本步骤是重新安装驱动程序。
答案2
升级到 13.04 后,我遇到了类似的问题,直到 12.10 版本都一切正常。我做了以下操作
#uninstall the nvidia current driver.**
sudo apt-get remove nvidia-current
#use bumblebee
sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install bumblebee
更多详情请见这里
高血压