[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: VIA ? [was Re: Redhat 7.1 AMD/Via kernel]



John Summerfield schrieb:

> >
> > I guess the best damage control move I could make at this point is to downgra
> > de
> > to a 2.2 kernel until 2.4 settles down. Has anyone tried running the
> > 2.2.19-7.0.1 kernel from the 7.0 updates with Seawolf? What breaks?

I'm running 2.2.20pre2 + Andrea-PIII + ipvs-1.0.6 + a modified ide.2.2.18.1221
patch
and it breaks

mkinitrd > 3.0.5 (raid stuff)
sndconfig > 0.63
quota>2.00
(iproute,hotplug,tux,reiserfs ;-)
anaconda (nfs stuff)


--- anaconda-7.1/isys/nfs_mount4.h.orig Tue Dec 19 20:53:52 2000
+++ anaconda-7.1/isys/nfs_mount4.h Tue Dec 19 20:54:07 2000
@@ -9,10 +9,6 @@

 #include "nfs_mountversion.h"

-struct nfs2_fh {
-        char                    data[32];
-};
-
 struct nfs3_fh {
         unsigned short          size;
         unsigned char           data[64];
--- anaconda-7.1/isys/nfsmount.c.orig Tue Dec 19 20:43:38 2000
+++ anaconda-7.1/isys/nfsmount.c Tue Dec 19 20:45:08 2000
@@ -55,6 +55,7 @@
 #define NFS_NEED_KERNEL_TYPES
 #include <linux/uio.h>
 #include <linux/nfs.h>
+#include <linux/nfs2.h>
 #include "mount_constants.h"
 #include "nfs_mount4.h"
 #undef NFS_NEED_KERNEL_TYPES
@@ -695,12 +696,12 @@
   }
   memcpy(data.root.data,
          (char *) status.nfsv2.fhstatus_u.fhs_fhandle,
-         NFS_FHSIZE);
+         NFS2_FHSIZE);
 #if NFS_MOUNT_VERSION >= 4
-  data.root.size = NFS_FHSIZE;
+  data.root.size = NFS2_FHSIZE;
   memcpy(data.old_root.data,
          (char *) status.nfsv2.fhstatus_u.fhs_fhandle,
-         NFS_FHSIZE);
+         NFS2_FHSIZE);
 #endif
  } else {
 #if NFS_MOUNT_VERSION >= 4
@@ -710,7 +711,7 @@
    goto fail;
   }
   fhandle = &status.nfsv3.mountres3_u.mountinfo.fhandle;
-  memset(data.old_root.data, 0, NFS_FHSIZE);
+  memset(data.old_root.data, 0, NFS2_FHSIZE);
   memset(&data.root, 0, sizeof(data.root));
   data.root.size = fhandle->fhandle3_len;
   memcpy(data.root.data,
@@ -744,7 +745,7 @@
   port = pmap_getport(&server_addr, nfsprog, nfsvers,
    tcp ? IPPROTO_TCP : IPPROTO_UDP);
   if (port == 0)
-   port = NFS_PORT;
+   port = NFS2_PORT;
 #ifdef NFS_MOUNT_DEBUG
   else
    printf("used portmapper to find NFS port\n");








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]