LinuxSir.cn,穿越时空的Linuxsir!

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

重新编译内核 for thinkpad r60,hda变sda,DMA启用,不慢不卡不闪,但是还是加载不了i810驱

[复制链接]
发表于 2008-10-17 12:33:01 | 显示全部楼层 |阅读模式
  1. shuge ~ # uname  -a
  2. Linux shuge 2.6.27-gentoo #1 SMP Fri Oct 17 03:04:02 CST 2008 i686 Intel(R) Celeron(R) M CPU 520 @ 1.60GHz GenuineIntel GNU/Linux
  3. shuge ~ # ls -l /usr/src/
  4. total 2
  5. lrwxrwxrwx  1 root root   29 2008-10-17 08:01 linux -> /usr/src/linux-2.6.27-gentoo/
  6. drwxr-xr-x 21 root root  864 2008-10-17 07:58 linux-2.6.24-gentoo-r5
  7. drwxr-xr-x 23 root root 1736 2008-10-17 03:05 linux-2.6.27-gentoo
  8. shuge ~ # lspci
  9. 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
  10. 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
  11. 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
  12. 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
  13. 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
  14. 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
  15. 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
  16. 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
  17. 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
  18. 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
  19. 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
  20. 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
  21. 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
  22. 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
  23. 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
  24. 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
  25. 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
  26. 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751M Gigabit Ethernet PCI Express (rev 21)
  27. 15:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
  28. shuge ~ #




  29. X.Org X Server 1.5.1
  30. Release Date: 23 September 2008
  31. X Protocol Version 11, Revision 0
  32. Build Operating System: Linux 2.6.24-gentoo-r5 i686
  33. Current Operating System: Linux shuge 2.6.27-gentoo #1 SMP Fri Oct 17 03:04:02 CST 2008 i686
  34. Build Date: 13 October 2008  08:15:19PM

  35.         Before reporting problems, check http://wiki.x.org
  36.         to make sure that you have the latest version.
  37. Module Loader present
  38. Markers: (--) probed, (**) from config file, (==) default setting,
  39.         (++) from command line, (!!) notice, (II) informational,
  40.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  41. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 17 11:40:43 2008
  42. (==) Using config file: "/etc/X11/xorg.conf"
  43. (==) ServerLayout "X.Org Configured"
  44. (**) |-->Screen "Screen0" (0)
  45. (**) |   |-->Monitor "Monitor0"
  46. (**) |   |-->Device "Card0"
  47. (**) |-->Input Device "Keyboard0"
  48. (**) |-->Input Device "PS/2 Mouse"
  49. (**) |-->Input Device "USB Mouse"
  50. (**) Option "AllowMouseOpenFail" "true"
  51. (==) Automatically adding devices
  52. (==) Automatically enabling devices
  53. (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/util".
  54.         Entry deleted from font path.
  55.         (Run 'mkfontdir' on "/usr/share/fonts/util").
  56. (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/encodings".
  57.         Entry deleted from font path.
  58.         (Run 'mkfontdir' on "/usr/share/fonts/encodings").
  59. (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/default".
  60.         Entry deleted from font path.
  61.         (Run 'mkfontdir' on "/usr/share/fonts/default").
  62. (==) Including the default font path /usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/OTF,/usr/share/fonts/Type1/,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/.
  63. (**) FontPath set to:
  64.         /usr/share/fonts/misc,
  65.         /usr/share/fonts/corefonts,
  66.         /usr/local/share/fonts,
  67.         /usr/share/fonts/TTF,
  68.         /usr/share/fonts/100dpi,
  69.         /usr/share/fonts/75dpi,
  70.         /usr/share/fonts/arphicfonts,
  71.         /usr/share/fonts/baekmuk-fonts,
  72.         /usr/share/fonts/default/ghostscript,
  73.         /usr/share/fonts/misc/,
  74.         /usr/share/fonts/TTF/,
  75.         /usr/share/fonts/OTF,
  76.         /usr/share/fonts/Type1/,
  77.         /usr/share/fonts/100dpi/,
  78.         /usr/share/fonts/75dpi/
  79. (==) ModulePath set to "/usr/lib/xorg/modules"
  80. (II) Cannot locate a core pointer device.
  81. (II) The server relies on HAL to provide the list of input devices.
  82.         If no devices become available, reconfigure HAL or disable AllowEmptyInput.
  83. (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
  84. (II) No APM support in BIOS or kernel
  85. (II) Loader magic: 0x81c3be0
  86. (II) Module ABI versions:
  87.         X.Org ANSI C Emulation: 0.4
  88.         X.Org Video Driver: 4.1
  89.         X.Org XInput driver : 2.1
  90.         X.Org Server Extension : 1.1
  91.         X.Org Font Renderer : 0.6
  92. (II) Loader running on linux
  93. (--) using VT number 8

  94. (--) PCI:*(0@0:2:0) Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0xee100000/0, 0xd0000000/0, 0xee200000/0, I/O @ 0x00001800/0
  95. (--) PCI: (0@0:2:1) Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller rev 3, Mem @ 0xee180000/0
  96. (II) System resource ranges:
  97.         [0] -1        0        0xffffffff - 0xffffffff (0x1) MX[b]
  98.         [1] -1        0        0x000f0000 - 0x000fffff (0x10000) MX[b]
  99.         [2] -1        0        0x000c0000 - 0x000effff (0x30000) MX[b]
  100.         [3] -1        0        0x00000000 - 0x0009ffff (0xa0000) MX[b]
  101.         [4] -1        0        0x0000ffff - 0x0000ffff (0x1) IX[b]
  102.         [5] -1        0        0x00000000 - 0x00000000 (0x1) IX[b]
  103. (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
  104. (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
  105. (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
  106. (II) "freetype" will be loaded. This was enabled by default and also specified in the config file.
  107. (II) "record" will be loaded. This was enabled by default and also specified in the config file.
  108. (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
  109. (II) LoadModule: "ddc"
  110. (II) Module "ddc" already built-in
  111. (II) LoadModule: "vbe"

  112. (II) Loading /usr/lib/xorg/modules//libvbe.so
  113. (II) Module vbe: vendor="X.Org Foundation"
  114.         compiled for 1.5.1, module version = 1.1.0
  115.         ABI class: X.Org Video Driver, version 4.1
  116. (II) LoadModule: "dbe"

  117. (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
  118. (II) Module dbe: vendor="X.Org Foundation"
  119.         compiled for 1.5.1, module version = 1.0.0
  120.         Module class: X.Org Server Extension
  121.         ABI class: X.Org Server Extension, version 1.1
  122. (II) Loading extension DOUBLE-BUFFER
  123. (II) LoadModule: "dri"

  124. (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
  125. (II) Module dri: vendor="X.Org Foundation"
  126.         compiled for 1.5.1, module version = 1.0.0
  127.         ABI class: X.Org Server Extension, version 1.1
  128. (II) Loading extension XFree86-DRI
  129. (II) LoadModule: "extmod"

  130. (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
  131. (II) Module extmod: vendor="X.Org Foundation"
  132.         compiled for 1.5.1, module version = 1.0.0
  133.         Module class: X.Org Server Extension
  134.         ABI class: X.Org Server Extension, version 1.1
  135. (II) Loading extension SHAPE
  136. (II) Loading extension MIT-SUNDRY-NONSTANDARD
  137. (II) Loading extension BIG-REQUESTS
  138. (II) Loading extension SYNC
  139. (II) Loading extension MIT-SCREEN-SAVER
  140. (II) Loading extension XC-MISC
  141. (II) Loading extension XFree86-VidModeExtension
  142. (II) Loading extension XFree86-Misc
  143. (II) Loading extension XFree86-DGA
  144. (II) Loading extension DPMS
  145. (II) Loading extension TOG-CUP
  146. (II) Loading extension Extended-Visual-Information
  147. (II) Loading extension XVideo
  148. (II) Loading extension XVideo-MotionCompensation
  149. (II) Loading extension X-Resource
  150. (II) LoadModule: "glx"

  151. (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
  152. (II) Module glx: vendor="X.Org Foundation"
  153.         compiled for 1.5.1, module version = 1.0.0
  154.         ABI class: X.Org Server Extension, version 1.1
  155. (==) AIGLX enabled
  156. (==) Exporting typical set of GLX visuals
  157. (II) Loading extension GLX
  158. (II) LoadModule: "type1"

  159. (WW) Warning, couldn't open module type1
  160. (II) UnloadModule: "type1"
  161. (EE) Failed to load module "type1" (module does not exist, 0)
  162. (II) LoadModule: "freetype"

  163. (II) Loading /usr/lib/xorg/modules/fonts//libfreetype.so
  164. (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
  165.         compiled for 1.5.1, module version = 2.1.0
  166.         Module class: X.Org Font Renderer
  167.         ABI class: X.Org Font Renderer, version 0.6
  168. (II) Loading font FreeType
  169. (II) LoadModule: "record"

  170. (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
  171. (II) Module record: vendor="X.Org Foundation"
  172.         compiled for 1.5.1, module version = 1.13.0
  173.         Module class: X.Org Server Extension
  174.         ABI class: X.Org Server Extension, version 1.1
  175. (II) Loading extension RECORD
  176. (II) LoadModule: "intel"

  177. (II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
  178. dlopen: /usr/lib/xorg/modules/drivers//intel_drv.so: undefined symbol: PictureScreenPrivateIndex
  179. (EE) Failed to load /usr/lib/xorg/modules/drivers//intel_drv.so
  180. (II) UnloadModule: "intel"
  181. (EE) Failed to load module "intel" (loader failed, 7)
  182. (II) LoadModule: "kbd"

  183. (II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
  184. (II) Module kbd: vendor="X.Org Foundation"
  185.         compiled for 1.5.1, module version = 1.3.1
  186.         Module class: X.Org XInput Driver
  187.         ABI class: X.Org XInput driver, version 2.1
  188. (II) LoadModule: "mouse"

  189. (II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
  190. (II) Module mouse: vendor="X.Org Foundation"
  191.         compiled for 1.5.1, module version = 1.3.0
  192.         Module class: X.Org XInput Driver
  193.         ABI class: X.Org XInput driver, version 2.1
  194. (EE) No drivers available.

  195. Fatal server error:
  196. no screens found


  197. ls /usr/lib/xorg/modules/drivers/
  198. ch7017.so ch7xxx.so fbdev_drv.so i810_drv.so intel_drv.so ivch.so sil164.so tfp410.so vesa_drv.so
复制代码
 楼主| 发表于 2008-10-17 12:41:42 | 显示全部楼层
使用mkxf86config.sh配置xorg.conf
  1. shuge ~ # mkxf86config.sh
  2. /usr/sbin/mkxf86config.sh: line 4: /sbin/functions.sh: No such file or directory
  3. Video is Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller, using Xorg(i810) Server
  4. Monitor is Generic Monitor, H:28.0-96.0kHz, V:50.0-75.0Hz
  5. Using Modes "1024x768" "800x600" "640x480"
  6. shuge ~ #
复制代码


http://www.portagefilelist.de/index.php/SpecialFLQuery2

/sbin/functions.sh

/sbin/functions.sh属baselayout
  1. shuge ~ # eix baselayout
  2. [i] sys-apps/baselayout
  3.      Available versions:  [P]1.11.15-r3 1.12.11.1 (~)1.12.12 (~)2.0.0 {bootstrap build static unicode}
  4.      Installed versions:  2.0.0(06:27:56 AM 10/12/2008)(-build)
  5.      Homepage:            http://www.gentoo.org/
  6.      Description:         Filesystem baselayout and init scripts
  7. * sys-apps/baselayout-vserver
  8.      Available versions:  1.11.14-r4 (~)1.12.3 (~)1.12.6 {bootstrap build static unicode}
  9.      Homepage:            http://www.gentoo.org/
  10.      Description:         Filesystem baselayout and init scripts
  11. Found 2 matches.
  12. shuge ~ #
复制代码

注掉
/sbin/functions.sh

再次执行mkxf86config.sh生成xorg.conf,结果一样是提示无法加载
  1. (II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
  2. dlopen: /usr/lib/xorg/modules/drivers//intel_drv.so: undefined symbol: PictureScreenPrivateIndex
  3. (EE) Failed to load /usr/lib/xorg/modules/drivers//intel_drv.so
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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