e1000 still -- Possible solution

Jeroen Roodhart jeroen at science.uva.nl
Sun Mar 20 23:06:38 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I just browsed through my kickstart-list summary and saw
that you seem to have the same problems with anaconda that
we had back with FC2 and e1000 NICs.

The first NFS-mount doesn't work with anaconda, but if you then
do the mount by hand it works just fine, right?

OK, someone back then (forgot your name, sorry ;)) suggested a
simple patch to isys/nfsmount.c; Just try to remount the thing
for a maximum number of times. This was the patch that I used
to make things work:

<PATCH>

*** nfsmount.c  2004-05-06 23:40:21.000000000 +0200
- --- nfsmount.c  2004-06-10 12:55:56.600409365 +0200
***************
*** 198,209 ****
~  {
~  struct pmaplist *pmap;
~  static struct pmap p = {0, 0, 0, 0};

~  server_addr->sin_port = PMAPPORT;
~  pmap = pmap_getmaps(server_addr);

! if (!pmap)
!       return NULL;

~  if (version > MAX_NFSPROT)
~        version = MAX_NFSPROT;
- --- 198,218 ----
~  {
~  struct pmaplist *pmap;
~  static struct pmap p = {0, 0, 0, 0};
+ int retries = 0;

~  server_addr->sin_port = PMAPPORT;
~  pmap = pmap_getmaps(server_addr);

! if (!pmap) {
!       while (!pmap && (retries < 30)) {
!               sleep(2);
!               pmap = pmap_getmaps(server_addr);
!               retries++;
!       }
!       if (!pmap)
!               return NULL;
! }
!

~  if (version > MAX_NFSPROT)
~        version = MAX_NFSPROT;


</PATCH>
Simple enough and it worked for me, mayhaps it will work for you.

Good luck!,

Jeroen
- --
Jeroen Roodhart              University of Amsterdam
jeroen at science.uva.nl        Faculty of Science / ICT-Group
Systeem- en netwerkbeheer    Tel. 020 525 7203 / 06 51338165
- --
See http://www.science.uva.nl/~jeroen for openPGP public key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCPgH+37AP1zFtDU0RApHQAJ9LiH22/s8fTlk5WNTdofsnBqrxGACgjtr2
5w0HCASCZxYnjuNp9BL83WU=
=hMH7
-----END PGP SIGNATURE-----




More information about the Kickstart-list mailing list