Difference between revisions of "Foxconn nT330i"

From LinuxMCE
Jump to: navigation, search
Line 1: Line 1:
 
{{versioninfo|810Status=Working}}
 
{{versioninfo|810Status=Working}}
 
== Foxconn nT330I ==
 
== Foxconn nT330I ==
 +
 +
Note: <MD#> has to be replaced by the mediadirector number.
  
 
Preparing the core for 1st time boot of the NetBox NT330;
 
Preparing the core for 1st time boot of the NetBox NT330;
  
1) Prepare the core;
+
'''Prepare the core;'''
  
 
LAN controller Attansic requires module atl1c. Without it I have kernel panic during an attepmt to PXE boot. Way to get nettop work described in wiki page http://wiki.linuxрmce.org/index.php/Unrecognized_NIC, section Modify the media director initial ramdisk.
 
LAN controller Attansic requires module atl1c. Without it I have kernel panic during an attepmt to PXE boot. Way to get nettop work described in wiki page http://wiki.linuxрmce.org/index.php/Unrecognized_NIC, section Modify the media director initial ramdisk.
Line 14: Line 16:
 
  tar -xvf AR81Family-linux-v1.0.1.4.tar.gz
 
  tar -xvf AR81Family-linux-v1.0.1.4.tar.gz
 
   
 
   
Build the atl1c kernel module
+
'''Build the atl1c kernel module'''
  
 
Modify .src/makefile changing "DRIVER_NAME = atl1e" to "DRIVER_NAME = atl1c";
 
Modify .src/makefile changing "DRIVER_NAME = atl1e" to "DRIVER_NAME = atl1c";
Line 35: Line 37:
  
 
  /usr/pluto/bin/Diskless_BuildDefaultImage.sh
 
  /usr/pluto/bin/Diskless_BuildDefaultImage.sh
 +
 +
'''MD Time'''
  
 
After this you can connect your MD and take it for its first boot.....
 
After this you can connect your MD and take it for its first boot.....
Line 40: Line 44:
 
When the initial MD has been created the first boot "real" boot will fail due to the fact the MD image has no atl1c module so we have to add that;
 
When the initial MD has been created the first boot "real" boot will fail due to the fact the MD image has no atl1c module so we have to add that;
  
 +
cp /lib/modules/2.6.xx-xx-generic/kernel/drivers/net/atl1e.ko /usr/pluto/diskless/<MD#>/lib/modules/2.6.xx-xx-generic/kernel/drivers/net/
  
 +
In the bottom of /usr/pluto/diskless/<MD#>/etc/modules add "atl1c" without quotations and save
 +
In the bottom of /usr/pluto/diskless/<MD#>/etc/initramfs-tools/modules add "atl1c" without quotations and save
  
 
+
Now rebuild the image;
 
+
 
+
Create directory atl1c in /usr/pluto/diskless/<MD#>/lib/modules/2.6.xx-xx-generic/kernel/drivers/net/ and copy file atl1c.ko into it.
+
 
+
 
+
 
+
 
+
 
+
 
+
Reference: [http://wiki.linuxmce.org/index.php/Unrecognized_NIC]
+
 
+
This is what worked for me on one of the latest 8.10 snapshots
+
 
+
2.6.22-14-generic has to be replaced by the output from the "uname -r" command, if different.
+
<MD#> has to be replaced by the mediadirector number.
+
 
+
----
+
 
+
Has to be done only once start
+
 
+
Download AR81Family-Linux-v1.0.1.9.tar.gz to the core
+
In the console do this:
+
 
+
sudo -s
+
<your password>
+
 
+
cd to the folder containing the downloaded tar.gz file
+
tar -zxvf AR81Family-Linux-v1.0.1.9.tar.gz
+
cd src
+
make
+
make install
+
 
+
c
+
 
+
 
+
Has to be done only once end
+
 
+
----
+
 
+
Has to be done for every nT330i media director start
+
 
+
Boot media directoren for the first time and wait for error
+
 
+
cp /lib/modules/2.6.22-14-generic/kernel/drivers/net/atl1e.ko /usr/pluto/diskless/<MD#>/lib/modules/2.6.22-14-generic/kernel/drivers/net/
+
In the bottom of /usr/pluto/diskless/<MD#>/etc/modules add "atl1e" without quotations and save
+
 
+
In the bottom of /usr/pluto/diskless/<MD#>/etc/initramfs-tools/modules add "atl1e" without quotations and save
+
  
 
cd /usr/pluto/diskless/
 
cd /usr/pluto/diskless/
Line 95: Line 55:
 
depmod
 
depmod
 
cd /boot
 
cd /boot
mkinitramfs -o initrd.img-2.6.22-14-generic 2.6.22-14-generic
+
mkinitramfs -o initrd.img-`uname -r` `uname -r`
 
exit
 
exit
  
Has to be done for every nT330i media director end
+
 
 +
'''Finishing off'''
 +
 
 +
The system will do a couple of reboots and will at the end put you into AVWizard which does not appear; but if you press "3" voila!!

Revision as of 01:18, 27 November 2010

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Working N/A N/A
1004 Unknown N/A N/A
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information

Foxconn nT330I

Note: <MD#> has to be replaced by the mediadirector number.

Preparing the core for 1st time boot of the NetBox NT330;

Prepare the core;

LAN controller Attansic requires module atl1c. Without it I have kernel panic during an attepmt to PXE boot. Way to get nettop work described in wiki page http://wiki.linuxрmce.org/index.php/Unrecognized_NIC, section Modify the media director initial ramdisk.

cd /
mkdir AR81Family
cd AR81Family
wget http://lnx.sensibile.it/files/foxconn/AR81Family-linux-v1.0.1.4.tar.gz
tar -xvf AR81Family-linux-v1.0.1.4.tar.gz

Build the atl1c kernel module

Modify .src/makefile changing "DRIVER_NAME = atl1e" to "DRIVER_NAME = atl1c";

cd src
vim Makefile

Save the file and start building;

cd ..
make
make install

You'll get some error messages but I noticed still atl1c.ko is build. atl1kc is located in ./src

cp atl1e.ko /lib/modules/2.6.xx-xx-generic/kernel/drivers/net/

In the bottom of /etc/initramfs-tools-interactor/modules add "atl1c" without quotations and save Now rebuild the initial diskless image

/usr/pluto/bin/Diskless_BuildDefaultImage.sh

MD Time

After this you can connect your MD and take it for its first boot.....

When the initial MD has been created the first boot "real" boot will fail due to the fact the MD image has no atl1c module so we have to add that;

cp /lib/modules/2.6.xx-xx-generic/kernel/drivers/net/atl1e.ko /usr/pluto/diskless/<MD#>/lib/modules/2.6.xx-xx-generic/kernel/drivers/net/ 

In the bottom of /usr/pluto/diskless/<MD#>/etc/modules add "atl1c" without quotations and save In the bottom of /usr/pluto/diskless/<MD#>/etc/initramfs-tools/modules add "atl1c" without quotations and save

Now rebuild the image;

cd /usr/pluto/diskless/ chroot <MD#> depmod cd /boot mkinitramfs -o initrd.img-`uname -r` `uname -r` exit


Finishing off

The system will do a couple of reboots and will at the end put you into AVWizard which does not appear; but if you press "3" voila!!