Running EMC2 on Atom 330 motherboard

More
04 Dec 2009 01:13 - 04 Dec 2009 01:55 #1251 by Andy123
I just migrated from the old laptop to Intel Atom 330 board D945GCLF2D
Installed from live CD 8.04 and installed all available updates
For some reason System Monitor shows only one CPU - I guess I need to enable something?

Can someone point me to the right direction please - I know very little about Ubuntu

Vista boot on the same board shows 4 processors like it supposed to be.

Thanks
Last edit: 04 Dec 2009 01:55 by Andy123.

Please Log in or Create an account to join the conversation.

More
04 Dec 2009 14:28 #1256 by Andy123
i got it working using instructions from here:
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC_With_Custom_Kernel

and files form here:

www.linuxcnc.org/experimental/

Now trying to figure out how to upgrade SMP version 2.3.0 to 2.3.4

Please Log in or Create an account to join the conversation.

More
06 Dec 2009 19:03 - 06 Dec 2009 19:06 #1259 by Andy123
Follow-up:

Instrucructions at:
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC_With_Custom_Kernel

If you need ver 2.3.0 then go to step 6.2 and follow instructions from there

DO NOT upgrade EMC2 to ver 2.3.4 as it will revert to standard non-SMP EMC2 and it will not work

If you want 2.3.4 then do it in this order:

Step 6.2 get kernel and rtai files
Step 6.3 - install Kernel, RTAI - reboot
Do not install 2.3.0 STOP HERE

Step 2.2 - must do all plus:

sudo dpkg -i linux-headers-2.6.24-16-rtaismp_2.6.24-16.30.linuxcnc.4_i386.deb
wget www.linuxcnc.org/hardy/dists/hardy/emc2..../emc2_2.3.4-1.tar.gz

Use "Extract Here" to extract gz file - this will create folder emc2-2.3.4

Step 6.1 - replace ".0" with ".4"

Once build completed, continue to EMC install instructions from Step 6.3
Last edit: 06 Dec 2009 19:06 by Andy123.

Please Log in or Create an account to join the conversation.

More
24 Dec 2009 16:07 #1385 by Andy123
Follow up:
Apparently there is an issue with R8111/R8168 network driver in Ubuntu
Network works one time, next time you reboot - no network
unplug AC power and wait 1 minute - all comes back until next reboot

Here is a problem:

Linux uses R8169 driver and your chip is actually R8168
To verify it use:
lspci -v
if it is listed as RTL8111/8168B then try this fix:
www.jamesonwilliams.com/hardy-r8168

Without going into details, simply download script from the link on this page and run it
www.jamesonwilliams.com/bin/r8168_scripts.tar.bz2

verify that it uses R8168 driver

Please Log in or Create an account to join the conversation.

More
24 Apr 2010 19:58 #2680 by Bob
The jameson williams site is not reachable anymore. This same problem exits for the D510mo atom motherboard.
Anyone save the script and can it be made available?

Please Log in or Create an account to join the conversation.

More
24 Apr 2010 20:59 - 24 Apr 2010 21:05 #2685 by Andy123
I can't find this script anymore, but here is cached page version from google:

You can google r8168-8.011.00.tar.bz2 or get ver 8.018 from realtek
===============
Key Steps in getting R8168 module to work at boot
I have had success by compiling a module from source. Below is a description of what I did to get a working r8168 module for my system. (Again, my script does all of this for you, and with more safety checks.)

Get root privileges:
sudo bash

Trash the non-functioning module:
rmmod r8169

Get the 8168 driver source. 
UPDATE: 
Realtek has removed direct access to the source tarballs. 
You will need to manually visit the website and download the Linux tarball for the R8168/R8111 family NICs. 
Then:

tar xjf r8168-8.011.00.tar.bz2
cd ./r8168-8.011.00

Now compile the code. 
This may fail if you don’t have kernel headers and other standard features of a build environment:

make clean
make modules
make install

Make sure modprobe knows not to use r8169, and that depmod doesn’t find the r8169 module:
echo "nblacklist r8169n" >> /etc/modprobe.d/blacklist
r8168_location=/lib/modules/$(uname -r)/kernel/drivers/net/r8169.ko
mv ${r8168_location} ${r8168_location}.bak

Let the OS know about the new module:
depmod
insmod ./src/r8168.ko

Put your work in the initrd, too:
mv /boot/initrd.img-$(uname -r) /boot/initrd.img-$(uname -r).bak
mkinitramfs -o /boot/initrd.img-$(uname -r) $(uname -r)

Reboot!
shutdown -r now
==============
Last edit: 24 Apr 2010 21:05 by Andy123.

Please Log in or Create an account to join the conversation.

More
25 Apr 2010 15:25 #2694 by Andy123
Update:
I tested steps from the post above with driver ver 8.018 from Realtek site - it worked just fine
just replace 8.011 reference with 8.018

Please Log in or Create an account to join the conversation.

More
11 Sep 2010 17:19 #4126 by Gregor
Andy, I'm thinking to build my current project around an atom 330 board (Asrock A330 GC to be precise).

It uses the same i945 chipset and has a single pci slot for my mesa 5i20, but I'd have to use the onboard vga. How have you found the latency on this board? I've read some conflicting results on the atom 330. Would I be better buying a full size board instead and getting a pci-e graphics card?

I'm not confined to any form factor or a real budget, but I've found that while there is a lot of documentation for installing emc2 on OLD hardware, there really isn't much for what's good with CURRENT hardware.

I was thinking as an alternative e7* or e8* core 2 duo on a p35 based motherboard and maybe a radeon HD2600 or something similar. More than that seems overkill, but I don't want to base a new project on obsolete hardware!

I would be very grateful of your comments/opinions.

Thanks, Gregor

Please Log in or Create an account to join the conversation.

More
11 Sep 2010 17:34 - 11 Sep 2010 17:34 #4127 by Andy123
Gregor
I can't recomend anything that I did not test
As far as I know results vary from motherboard to motherboard and processor is the last thing I wipud worry about
I had very good results with Intel board with single core setup
It did not work good with multicore enabled

In reality I found that my 10-year old P3 Inspiron 5000 laptop works even better, has better latency, with my mobile setup is more convinient to have computer, LCD, mouse and keyboard in one box, so I am still using laptop with Intel 550 pc on standby.
Last edit: 11 Sep 2010 17:34 by Andy123.

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum