LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1336|回复: 9

早知道就不升级内核了……

[复制链接]
发表于 2005-10-3 23:04:45 | 显示全部楼层 |阅读模式
发现上次编译内核把usbfs编译进去了,结果挂U盘只能用mount -t usbfs……进去一看发现根本就不是我放在U盘里的东西……打算重新编译内核,发现gentoo-sources有更新,就从原来的2.6.13升级到2.6.13-r2,结果现在ATI驱动没了作用……opengl又变成mesa的……重装驱动无效……fglrx.ko的内核模块出不来……升级到8.16的可以出模块,但是仍然mesa……
有没有哪位同志是用2.6.13-r2内核并搞定了ATI驱动的?我懒得给内核降级。
发表于 2005-10-4 12:50:17 | 显示全部楼层
晕,我还以为只是我自己的问题,我还在网上查了,没看到相关的,我后来换成2.6.12.r10的了。

mm-sources-2.6.14 的有一个我也试了,也是装不了fglrx
回复 支持 反对

使用道具 举报

发表于 2005-10-6 13:08:51 | 显示全部楼层

ati 的驱动是个头疼事

Post by afire
晕,我还以为只是我自己的问题,我还在网上查了,没看到相关的,我后来换成2.6.12.r10的了。

mm-sources-2.6.14 的有一个我也试了,也是装不了fglrx


烦得很,怎么都装不好
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-6 14:30:48 | 显示全部楼层
在别的地方还有人提出能不能在Linux下搞定幻日……真够汗的……
x window system啊x……你的命咋这么苦乜?
强烈希望Linux变成微内核系统……统一图形服务接口……
回复 支持 反对

使用道具 举报

发表于 2005-10-6 21:33:24 | 显示全部楼层
我也碰到同样的问题,一番搜索后找到了这篇帖子 按照上面说的搞定了驱动。
你去看看。
回复 支持 反对

使用道具 举报

发表于 2005-10-9 13:27:29 | 显示全部楼层
之前用着morph-sources-2.6.11-r12好好的,看了这个帖子就尝试着升级到morph-sources-2.6.12-r7,居然ati驱动有问题
dmesg:
  1. fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
  2. [fglrx] Maximum main memory to use for locked dma buffers: 428 MBytes.
  3. ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
  4. [fglrx] module loaded - fglrx 8.14.13 [Jun  8 2005] on minor 0
  5. mtrr: type mismatch for d0000000,8000000 old: write-back new: write-combining
  6. [fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
  7. [fglrx] Internal AGP support requested, but kernel AGP support active.
  8. [fglrx] Have to use kernel AGP support to avoid conflicts.
  9. [fglrx] Kernel AGP support doesn't provide agplock functionality.
  10. [fglrx] AGP detected, AgpState   = 0x1f004a1b (hardware caps of chipset)
  11. mtrr: type mismatch for f0000000,8000000 old: write-back new: write-combining
  12. [fglrx:firegl_unlock] *ERROR* Process 10702 using kernel context 0
复制代码

还是老老实实用着2.6.11吧!
回复 支持 反对

使用道具 举报

发表于 2005-10-9 13:33:35 | 显示全部楼层
http://forums.gentoo.org/viewtopic-t-388733.html

这里说是新驱动ebuild的问题,我改了,但还没试,谁用2.6.13的可以试试。。。。。。。。。。。
回复 支持 反对

使用道具 举报

发表于 2005-11-7 10:33:21 | 显示全部楼层
intel Pentium 4 + ATI 9550 + fbsplash + ati-drivers-8.18.8
2.6.13-gentoo-r5上已经没有任何问题了,稍后再试试2.6.14。
local.start:
  1. # /etc/conf.d/local.start
  2. # This is a good place to load any misc programs
  3. # on startup ( use 1>&2 to hide output)
  4. #!/bin/bash
  5. # Fix wrong MTRR setting
  6. echo "disable=0" >| /proc/mtrr
  7. echo "base=0x00000000 size=0x20000000 type=write-back" >| /proc/mtrr
  8. #echo "base=0xd0000000 size=0x8000000 type=write-combining" >| /proc/mtrr
  9. #echo "base=0xf0000000 size=0x8000000 type=write-combining" >| /proc/mtrr
复制代码

参见http://forums.gentoo.org/viewtopic-t-393738.html

:2cool 2.6.14-gentoo装ATI驱动成功,爽ing...

又:
刚升级gentoo-source-2.6.14-r1,有关p4 mtrr bug未见修补。
  1. diff -puN arch/i386/kernel/cpu/mtrr/main.c~cpuid_errta arch/i386/kernel/cpu/mtrr/main.c
  2. --- linux-2.6.14-rc2/arch/i386/kernel/cpu/mtrr/main.c~cpuid_errta   2005-09-29 08:35:34.000000000 +0800
  3. +++ linux-2.6.14-rc2-root/arch/i386/kernel/cpu/mtrr/main.c   2005-09-29 08:37:16.000000000 +0800
  4. @@ -626,6 +626,14 @@ void __init mtrr_bp_init(void)
  5.        if (cpuid_eax(0x80000000) >= 0x80000008) {
  6.           u32 phys_addr;
  7.           phys_addr = cpuid_eax(0x80000008) & 0xff;
  8. +         /* CPUID workaround for Intel 0F33/0F34 CPU */
  9. +         if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL &&
  10. +             boot_cpu_data.x86 == 0xF &&
  11. +             boot_cpu_data.x86_model == 0x3 &&
  12. +             (boot_cpu_data.x86_mask == 0x3 ||
  13. +              boot_cpu_data.x86_mask == 0x4))
  14. +            phys_addr = 36;
  15. +
  16.           size_or_mask = ~((1 << (phys_addr - PAGE_SHIFT)) - 1);
  17.           size_and_mask = ~size_or_mask & 0xfff00000;
  18.        } else if (boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR &&
复制代码

打了此补丁以后,加在local.start里的那一段脚本就不必要了。
回复 支持 反对

使用道具 举报

发表于 2005-11-7 17:28:20 | 显示全部楼层
汉。我用的还是2.6.10呢。世界变化太快啊。。
回复 支持 反对

使用道具 举报

发表于 2005-11-7 17:42:22 | 显示全部楼层
玩微内核,可以试试玩GNU/hurd,这个才叫有挑战啊
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表