Posts Tagged ‘forcedeth’

Moblin 2.0 on Acer Revo (pt1) – Nvidia Ethernet (forcedeth)

Tuesday, June 23rd, 2009

For fully working revo on moblin 2.1 go here

This howto will serve as how you can easily add a driver that is in the linux kernel but isnt in moblin inside a custom moblin kernel.
In this case we are going to add the forcedeth driver for the MC79 chipset than is the in the Acer Revo.

1. Download the kernel source rpm and install it

2. go to /rpmbuild/SOURCES/ and add these lines in config-netbook (doesnt really matter where but I put it after the ATH5K line)
CONFIG_FORCEDETH=y
CONFIG_FORCEDETH_NAPI=y

if you want the drivers built as modules replace the y by m but it will mean that the kernel is a little slower to boot etc..

3. go to ../SPECS and execute rpmbuild --target=i586 -bb kernel.spec

rpm -ivh --force kernel-netbook-2.6.29.4-9.1.moblin2.i586.rpm

and there you go, you know have forcedeth working in your kernel.

Moblin on Acer Revo (pt2) – Nvidia Graphics

Tuesday, June 23rd, 2009

For fully working revo on moblin 2.1 go here

So you just bought a Acer revo and put moblin and it's so slow that it makes you cringe? Well here is how to fix it.

So first we need to install Nvidia's proprietary "nvidia" module. In order to do this we have to recompile xorg-x11-server to have xinerama support. Then we need to install it and after that install the nvidia modules. Below are some dumb proof instructions. Feel free to mail in or comment some changed.

1. yum install make gcc binutils glproto libX11-devel mesa-libGL-devel mesa-libGL xf86driproto randrproto renderproto fixesproto damageproto xcmiscproto xextproto bigreqsproto resourceproto fontsproto inputproto videoproto compositeproto scrnsaverproto resourceproto xineramaproto openssl xorg-x11-xtrans-devel openssl-devel libfontenc-devel libfontenc pixman-devel pixman libXau-devel libXau libxkbfile-devel libxkbfile libXfont libXfont-devel libXinerama libXinerama-devel xorg-x11-xtrans-devel libpciaccess-devel libdrm-devel rpm-build flex byaccxorg-x11-util-macros dbus-1 hal xv xvfixes raw7 xpm xi xrender xmuu dmx xt xdmcp xext xres xf86vidmodeproto xf86dgaproto evieproto dri2proto hal-devel libtool-ltdl-devel libXv libXv-devel libXres-devel libXext-devel libXt-devel libXdmcp-devel libdmx-devel libXmu-devel libXrender-devel libXpm-devel libXfixes-devel xorg-x11-proto-evieext libXaw-devel libXi-devel byacc

2. Download the nvidia drivers (I used 185.18.14)

3. download moblin xorg-x11-server source rpm. (I used 1.6.1-6.2)

4. install the src.rpm package with "rpm -i"

5. Go to /root/rpmbuild/SPECS/ and open the file xorg-x11-server.spec, find the line that says --disable-xinerama and change to --xinerama-enable

6. in the same dir, execute rpmbuild --target=i586 -bb xorg-x11-server.spec

7. reboot and add a lone 3 at the end of the grub line by pressing e and then e again.
DJA metions that "vga=0 3" instead of "vga=current" might be needed in newer versions

8. log in as root and execute yum remove xorg-x11-server. Go to /etc/yum/yum.conf and tell yum not to bothere with GPG checks by setting gpg_checks to 0

9. go to /root/rpmbuild/RPMS/i586/ and install all packages in there with yum install xorg*. If you cant get your network up in command mode then download the missing packages by hand and install them at the same time with yum.

10. Install the Nvidia driver by executing it. Dont bother going on their ftp site. Let the installer make you an xorg.conf

11. reboot normally. Remove the quiet and vga=current lines could help.

credit goes to people in this thread who helped : http://lists.moblin.org/pipermail/dev/2009-June/005210.html