没啥意思的站点

gentoo的内核升级到2.6.30 fglrx加载失败

昨天sync,发现有 sys-kernel/gentoo-sources-2.6.30 可用了,我没忍住,就升级上去了,其他的倒是没啥感觉,就是加载不了fglrx了…
虽然ati-drivers在我修改了一下ebuild以后,已经成功安装上去了,fglrx.ko也生成了,但是却加载不了,导致compiz不能用了.
modprobe fglrx的时候,提示:
FATAL: Error inserting fglrx (/lib/modules/2.6.30-gentoo-lly/video/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
然后,dmesg里有这样两行:
fglrx: Unknown symbol flush_tlb_page
fglrx: Unknown symbol pci_enable_msi
应该是内核做了该动了.不知道有没有针对2.6.30的patch…不然,难道我要去用开源驱动了?

PS: 今天又发现了 sys-kernel/gentoo-sources-2.6.30-r1 orz…

17 评论

  1. 呵呵,29 还没正式支持呢……30 不行也算正常……

  2. 我的内核在升级到2.6.30-r1后,也遇到了同样的问题,现在连ati-drivers都编译失败。原来的那个ati-drivers-2.6.29.patch补丁也不管用
    想请问下,楼主是怎么安装上ati-drivers的呢?那个ebuild应该怎么样修改呢?

    • 照着楼上两个地址做就OK了,fglrx 9.5 可以用的.只要你的卡还被支持(R/RV6xx以上芯片),就应该没问题了.
      不知道现在有没有人做出 fglrx 9.6 的补丁~

  3. 怎么我刚才发表的评论没有呢?

  4. 我在http://bugs.gentoo.org/266819下载了相关补丁文件后,在安装ati-driver-8.612-x86.x86_64.run时(通过emerge),
    fglrx-missing-pci_enable_msi.patch这个补丁总是失败,其他的补丁都没有问题。在网上也没查到解决的办法。请问下这个是该怎么办呢?

    • ->这个是emerge ati-drivers的日志:
      Applying fglrx-missing-pci_enable_msi.patch …

      Failed Patch: fglrx-missing-pci_enable_msi.patch !
      ( /usr/local/portage/x11-drivers/ati-drivers/files/fglrx-missing-pci_enable_msi.patch )

      Include in your bugreport the contents of:

      /var/tmp/portage/x11-drivers/ati-drivers-8.612/temp/fglrx-missing-pci_enable_msi.patch-27850.out

      ERROR: x11-drivers/ati-drivers-8.612 failed.
      Call stack:
      ebuild.sh, line 49: Called src_unpack
      environment, line 3533: Called epatch ‘/usr/local/portage/x11-drivers/ati-drivers/files/fglrx-missing-pci_enable_msi.patch’
      environment, line 1550: Called die
      The specific snippet of code:
      die “Failed Patch: ${patchname}!”;
      The die message:
      Failed Patch: fglrx-missing-pci_enable_msi.patch!

  5. 补丁的日志上面说:
    can’t find file to patch at input line 4
    Perhaps you used the wrong -p or –strip option?
    还有:
    No file to patch. Skipping patch.
    patch unexpectedly ends in middle of line
    patch: **** malformed patch at line 11:

  6. 我在用那几个patch的时候还是正常的…要不加我msn好了.

发表评论