ShareThis

miércoles, 9 de septiembre de 2009

Instalando Linux CentOS en un Lenovo ThinkCentre

Estoy en la tarea de instalar CentOS en una nueva máquina. Problemas que he tenido hasta el momento:
1. El sistema X no arrancaba. Revisando los logs tuve que incrementar la memoria de video compartida de 32 a 64 MB.
2. CentOS al parecer no reconoce el driver de la tarjeta de Red. La única referencia que he encontrado al respecto esta en http://www.linux-tested.com/results/lenovo_a57_9702-amu.html Al parecer es necesario descargar el driver de Marvell.: Este es el link de descarga directo del driver de red para kernels 2.6 de Marvell
otra alternativa http://www.marvell.com/drivers/driverDisplay.do?driverId=203

Descargue el archivo install_v10.70.7.3.tar.tar
Extraiga el contenido
cd DriverInstall/
./install.sh (como usuario root)


Installation script for sk98lin driver.
Version 10.70.7.3 (Mar-20-2009)
(C)Copyright 2003-2009 Marvell(R).
====================================================
Add to your trouble-report the logfile install.log
which is located in the DriverInstall directory.
====================================================


1) installation
2) generate patch
3) exit
Choose your favorite installation method: 1


Do you want proceed? (y/N) y

IMPORTANT INFORMATION!

We found an alternative driver for your Marvell product on this system.
The alternative driver is _NOT_ directly supported by Marvell and does not
include all features provided by your device. If you want to use the
sk98lin driver developed by Marvell, you may choose either to deactivate
or remove the alternative driver.

[PRESS ANY KEY FOR FURTHER INSTRUCTIONS]

1) Do nothing
2) Deactivate diver
3) Remove driver
Action: 3

....

To load the module manually, proceed as follows:
Enter "modprobe sk98lin"

Have fun...


Y listo. En este momento se tiene cargado el driver apropiado para la tarjeta de red.

Recientemente, de manera recurrente he tenido problemas con la máquina; repentinamente se congela y es necesario reiniciarla. Revisando los logs encuentro lo siguiente:

Sep 17 14:59:22 localhost yum: Installed: rar-3.7.0-0.1.beta1.el5.rf.i386
Sep 17 15:41:47 localhost kernel: npviewer.bin[5032]: segfault at 00000000e7205a80 rip 00000000003df0ac rsp 00000000e4b2f32c error 4
Sep 17 15:41:47 localhost restorecond: Will not restore a file with more than one hard link (/etc/resolv.conf) Invalid argument
Sep 17 15:41:54 localhost gdm[3034]: gdm_slave_xioerror_handler: ha ocurrido un error fatal de X - Reiniciando :0
Sep 17 15:42:04 localhost gdm[6272]: gdm_slave_xioerror_handler: ha ocurrido un error fatal de X - Reiniciando :0
Sep 17 15:42:14 localhost gdm[6309]: gdm_slave_xioerror_handler: ha ocurrido un error fatal de X - Reiniciando :0
Sep 17 15:42:14 localhost gdm[2918]: deal_with_x_crashes: Ejecutando el script XKeepsCrashing
Sep 17 15:42:31 localhost shutdown[6429]: shutting down for system halt
Sep 17 15:42:31 localhost gdm[2918]: Ha ocurrido un error al iniciar el servidor X varias veces en un corto período de tiempo; se desactiva la pantalla :0

En este proceso localice el siguiente link: http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-48nt8d (Linux for Personal Systems)

La referencia de mi PC es
Product: ThinkCentre A58 7705-A14

Original description: Intel® Core 2 Duo Processor E8400, 2GB, 250GB 7200RPM S-ATA HDD, no diskette drive, PCI/PCIe Small Form Factor (2x3), Intel Graphics Media Accelerator 4500, DVD Recordable, Gigabit Ethernet, Vista Home Premium 32

Este link muestra equipos compatibles con linux http://www.linux-tested.com/results/system.php
El driver para ambiente windows es este http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-71834


http://www.centos.org/docs/5/html/5.4/technical-notes/Known_Issues-xorg-x11-drv-i810.html
La versión que tengo instalada es la xorg-x11-drv-i810-1.6.5-9.21.el5

4.35. xorg-x11-drv-i810
xorg-x11-drv-i810 is an Intel integrated graphics video driver for the X.Org implementation of the X Window System.

*
Running a screensaver or resuming a suspended laptop with an external monitor attached may result in a blank screen or a brief flash followed by a blank screen. If this occurs with the screensaver, the prompt for your password is being obscured, the password can still be entered blindly to get back to the desktop. To work around this issue, physically disconnect the external monitor and then press the video hotkey (usually Fn-F7) to rescan the available outputs, before suspending the laptop.

The following notes apply to x86_64 Architectures:

*
If your system uses an Intel 945GM graphics card, do not use the i810 driver. You should use the default intel driver instead. (BZ#468218)
*
On dual-GPU laptops, if one of the graphics chips is Intel-based, the Intel graphics mode cannot drive any external digital connections (including HDMI, DVI, and DisplayPort). This is a hardware limitation of the Intel GPU. If you require external digital connections, configure the system to use the discrete graphics chip (in the BIOS). (BZ#468259)




Drivers de video intel para linux http://intellinuxgraphics.org/

Encontre este link sobre sistemas operativos soportados para http://www.intel.com/support/graphics/sb/CS-025526.htm

http://www.intel.com/support/graphics/sb/CS-010512.htm
2009-8-25:xf86-video-intel 2.8.1 released.

Guía de instalación del driver linux: http://intellinuxgraphics.org/install.html


Descargar e instalar RPM compatible: http://rpm.pbone.net/index.php3?stat=26&dist=0&size=1283266&name=xf86-video-intel-2.1.1-1.caos.x86_64.rpm


file /usr/lib64/libI810XvMC.so.1.0.0 from install of xf86-video-intel-2.1.1-1.caos.x86_64 conflicts with file from package xorg-x11-drv-i810-1.6.5-9.21.el5.x86_64
file /usr/lib64/xorg/modules/drivers/ch7017.so from install of xf86-video-intel-2.1.1-1.caos.x86_64 conflicts with file from package xorg-x11-drv-i810-1.6.5-9.21.el5.x86_64
file /usr/lib64/xorg/modules/drivers/ch7xxx.so from install of xf86-video-intel-2.1.1-1.caos.x86_64 conflicts with file from package xorg-x11-drv-i810-1.6.5-9.21.el5.x86_64
file /usr/lib64/xorg/modules/drivers/i810_drv.so from install of xf86-video-intel-2.1.1-1.caos.x86_64 conflicts with file from package xorg-x11-drv-i810-1.6.5-9.21.el5.x86_64
file /usr/lib64/xorg/modules/drivers/intel_drv.so from install of xf86-video-intel-2.1.1-1.caos.x86_64 conflicts with file from package xorg-x11-drv-i810-1.6.5-9.21.el5.x86_64
file /usr/lib64/xorg/modules/drivers/ivch.so from install of xf86-video-intel-2.1.1-1.caos.x86_64 conflicts with file from package xorg-x11-drv-i810-1.6.5-9.21.el5.x86_64
file /usr/lib64/xorg/modules/drivers/sil164.so from install of xf86-video-intel-2.1.1-1.caos.x86_64 conflicts with file from package xorg-x11-drv-i810-1.6.5-9.21.el5.x86_64
file /usr/lib64/xorg/modules/drivers/tfp410.so from install of xf86-video-intel-2.1.1-1.caos.x86_64 conflicts with file from package xorg-x11-drv-i810-1.6.5-9.21.el5.x86_64
file /usr/share/man/man4/i810.4.gz from install of xf86-video-intel-2.1.1-1.caos.x86_64 conflicts with file from package xorg-x11-drv-i810-1.6.5-9.21.el5.x86_64
file /usr/share/man/man4/intel.4.gz from install of xf86-video-intel-2.1.1-1.caos.x86_64 conflicts with file from package xorg-x11-drv-i810-1.6.5-9.21.el5.x86_64

Se removio el driver previo y se pudo completar la instalacion del nuevo driver. Al reiniciar se volvio a utilizar la herramienta de configuracion del video y al parecer arranco normalmente.


Para aquellos que deseen compilar el driver de intel directamente desde los fuentes deben tener en cuenta que al correr ./configure si obtienen el error:

No package 'xorg-server' found
No package 'xproto' found
No package 'fontsproto' found


Se debe instalar este paquete y prerequisitos para resolver dependencias necesarias: xorg-x11-server-sdk-1.1.1-48.52.el5.x86_64.rpm
Posiblemente posteriormente obtengan el siguiente mensaje: Requested 'xorg-server >= 1.6' but version of xorg-server is 1.1.1




Estare actualizando este post.


Recursos adicionales

Repositorios adicionales CentOS
Guia de instalacion
Consideraciones instalacion desde fuentes
Guia compilar driver Intel en Fedora Core 9

No hay comentarios:

Publicar un comentario