Gerardo Amaya Personal Homepage

Search:

Famous Quotes #1

20 March 2007

“The mind is slow to unlearn what it learnt early.”

Seneca

Encore Electronics ENL832 LAN Card Linux Drivers

14 January 2007

Estaba instalando una tarjeta Encore Electronics modelo ENL832 en un Servidor Ubuntu 6.06 con Kernel 2.6. La tarjeta viene con el set de Drivers en diskette o bien se puede bajar del sitio de Encore Electronics. La documentación especifica que los drivers funcionan tanto para kernel 2.4 como para 2.6. No tuve la oportunidad de probarlo en un kernel 2.4, pero al tratar de configurarlo en mi kernel 2.6, los drivers dan el siguiente error:

# make all
make -C /lib/modules/kernel_version/build SUBDIRS=/home/gamaya/Linux modules
make[1]: Entering directory `/usr/src/kernels/kernel_version
CC [M] /home/gamaya/Linux/sundance_main.o
/home/gamaya/Linux/sundance_main.c: In Function ‘rx_poll’:
/home/gamaya/Linux/sundance_main.c:1400: Warning: implicit declaration in function ‘pci_dma_sync_single’
/home/gamaya/Linux/sundance_main.c: In function ‘netdev_ethtool_ioctl’:
/home/gamaya/Linux/sundance_main.c:1653: error: ‘struct pci_dev’ has no member named ‘slot_name’
make[2]: *** [/home/gamaya/Linux/sundance_main.o] Error 1
make[1]: *** [_module_/home/gamaya/Linux] Error 2
make[1]: Leaving directory `/usr/src/kernels/kernel_version
make: *** [all] Error 2

Para que los drivers se puedan instalar satisfactoriamente, realiza los siguientes cambios en sundance_main.c

Linea 1400: substituye la funcion “pci_dma_sync_single” por “pci_dma_sync_single_for_cpu”

Linea 1653: Comenta del código la linea completa de “strcpy(info.bus_info, np->pci_dev->slot_name);” a “/* strcpy(info.bus_info, np->pci_dev->slot_name); */”

Recompila tu código(make all) y ya no deberías de encontrar ningún problema. Para hacer funcionar tu tarjeta de red solo copia el archivo sundance.ko al directorio /lib/modules/version_de_kernel/kernel/drivers/net/, y correr el siguiente comando

#modprobe sundance

y ya puedes configurar tu tarjeta de red.

Superviva: A nice new way to set, share and achieve your goals

10 November 2006

Typically, we are used to set our personal goals on a new years eve or even in very special moments in our lives. Sometimes after thinking over that crazy goal that just pop up in your head, you think, “That’s silly” or “You must be crazy” or “Forget about it, it does not make sense”. I have always think that every goal is neither impossible, nor crazy, nor stupid. There is a reason why you came up with this idea, this goal, my direct recommendation, Stop thinking about it, plan it, do it.
Today on the Friday Links from positive sharing, I discovered a very nice website that can help you with your goals. But this website goes beyond setting a goal, you can share a goal with the rest of us.

Superviva.com, is a website that allows you to list all the goals that you have in life, but the most interesting part of it, is that you can share your goals with the rest of the members. Sometime we feel a little bit shy sharing our goals, but I encourage you to try it. The benefits of sharing goals is that probably you may think of some idea as a silly goal and it turns out that 200 persons share the same goal, and help you achieve it.

gerardoamaya.com al Aire! (Como la gente)

3 November 2006

Despues de dejar en el abandono mi sitio por un tiempo y de tener un Blog sin un solo post, por fin me di a la tarea de levantar mi sitio/Blog. A pesar de que no van a encontrar todavia muchos posts(aparte de un personal quote y este), poco a poco ire agregando mas. Desde ya tengo en mente el que de este sitio salgan un par de proyectos mas que me interesaria hacer. Espero que poco a poco el numero de Hits llegue a ser mas de con lo que estoy empezando.

Espero que esta pagina cumpla con su finalidad, un lugar donde las personas puedan compartir y aprender un poco de todo. Esta pagina no tiene un tema en especifico, simplemente me dedicare a publicar informacion desde mi punto de vista.
Gracias de antemano

Gerardo Amaya

Personal Quote #1

28 June 2006

It’s in our nature to explode in rage and anger, It’s part of being a normal human being. But if you wish to transcend, you need to stop that instinct take control over you. Instead, let your mind be in charge, so it’s up to you to stay relax and positive no matter what.