Re: Fai with extra Attansic L2 ethernet driver

2008-02-10 Diskussionsfäden Michael Tautschnig
 Hello,
 
 Ezzel a dátummal: Saturday 09 February 2008 17.23.25 ezt írta:
   I am new in fai, and I need to setting up a lot of machine with Asus
   P5gc-mx/1333 motherboard which has Attansic L2 ethernet device.
  
   I read a doc on fai to make special kernel image (
   http://faiwiki.informatik.uni-koeln.de/index.php/Using_customized_kernels
  _with_FAI ) and when I try to install it, fai said config parameters is
   deprecated.
   There are 2 params which is deprecated:
   KERNELPACKAGE=
   FAI_LOCAL_REPOSITORY=
   Where can I get a documentation to make a special kernel?
  Which FAI version are you using? In 3.2.X you should build a proper Debian
  package and set this package in /etc/fai/NFSROOT.
 Oh, sorry, I am using debian testing, fai is 3.2.4
 
 in /etc/fai/NFSROOT there are a lot of parameter, how can I set my special 
 kernel? Colud you show me an example?

Ok, first of all you should get accustomed to the format this file uses, because
this is the way you specify packages to get installed on your clients as well.

But anyway: First, build a kernel package as a usual Debian package (nothing FAI
specific, apart from the hint Henning posted yesterday: take care of unionfs).
Next, put it on some local mirror or package repository. This repository must
then be set in /etc/fai/apt/sources.list. Last, add your package to the NFSROOT
file, simply be replacing one of the linux-image-* entries, depending on your
client architecture (see the PACKAGES aptitude lines).

Well, and you should probably read the FAI guide :-)

Best,
Michael

PS.: Please keep linux-fai CC'ed, so others can help out as well.



pgp5TBJKItyhS.pgp
Description: PGP signature


Re: Fai with extra Attansic L2 ethernet driver

2008-02-10 Diskussionsfäden zamek
hello,

Ok, I see, but my problem is not at install phase.

When my motherboard booting, it get ip from dhcp, and try to get the kernel 
from server. This kernel is loaded, and try to mount root by nfs. This is the 
mistake, because the special driver isn' t loaded. 
Unfortunately I cannot compile attansic driver statically, only module can be 
load. My question is that: How can I load atl2 module at booting kernel?

Ezzel a dátummal: Sunday 10 February 2008 11.08.57 ezt írta:
 Ok, first of all you should get accustomed to the format this file uses,
 because this is the way you specify packages to get installed on your
 clients as well.

 But anyway: First, build a kernel package as a usual Debian package
 (nothing FAI specific, apart from the hint Henning posted yesterday: take
 care of unionfs). Next, put it on some local mirror or package repository.
 This repository must then be set in /etc/fai/apt/sources.list. Last, add
 your package to the NFSROOT file, simply be replacing one of the
 linux-image-* entries, depending on your client architecture (see the
 PACKAGES aptitude lines).

 Well, and you should probably read the FAI guide :-)

 PS.: Please keep linux-fai CC'ed, so others can help out as well.
ok, sorry


-- 
 --
 thx,
 --
 Zoltan Zidarics programmer
 PTE-PMMFK H-7621 Pecs, Boszorkany u. 2. Hungary
 E-Mail: [EMAIL PROTECTED]
 --



Re: Fai with extra Attansic L2 ethernet driver

2008-02-10 Diskussionsfäden Thomas Lange
 On Sun, 10 Feb 2008 15:23:11 +0100, zamek [EMAIL PROTECTED] said:

 Unfortunately I cannot compile attansic driver statically, only module 
can be 
 load. My question is that: How can I load atl2 module at booting kernel?
I think you can tell the initramfs tools to load this module. See: man
initramfs.conf for how to define certain modules to be loaded.

-- 
regards Thomas


Re: Fai with extra Attansic L2 ethernet driver

2008-02-09 Diskussionsfäden Henning Sprang
On Sat, 2008-02-09 at 13:46 +0100, zamek wrote:
 There are 2 params which is deprecated:
 KERNELPACKAGE=
 FAI_LOCAL_REPOSITORY=
 
 Where can I get a documentation to make a special kernel?

The answqer to this relates to the FAI version yu are using.
Which FAI Version are you using?

Fai from Version 3.2 on uses standard debian kernels, yo the way to
rebuild your FAI kernel is the same as you build a debian kernel.

You need to add unionfs modules, they are required to boot from the new
nfsroot.

Henning