>>>>> " " == Ian Lynagh <[EMAIL PROTECTED]> writes:

     > Hi all

     > We have a sun ultra 1 with /proc/cpuinfo as follows:

     > cpu : TI UltraSparc I (SpitFire) fpu : UltraSparc I integrated
     > FPU promlib : Version 3 Revision 1 prom : 3.1.1 type : sun4u
     > ncpus probed : 1 ncpus active : 1 BogoMips : 333.41 MMU Type :
     > Spitfire

     > When trying to mount something over NFS with a 2.2.19 kernel we
     > get:

     > Unsupported unaligned load/store trap for kernel at
     > <00000000004d260c> Kernel panic: Wheee. Kernel does fpu/atomic
     > unaligned load/store.

     > Which appears to be in rpc_execute according to System.map:

Does the following patch help?

Cheers,
  Trond

--- linux-2.2.19/include/linux/sunrpc/sched.h.orig      Mon Mar 26 17:11:28 2001
+++ linux-2.2.19/include/linux/sunrpc/sched.h   Sat Jun  9 14:04:08 2001
@@ -81,7 +81,7 @@
        unsigned int            tk_lock;        /* Task lock counter */
        unsigned char           tk_active   : 1,/* Task has been activated */
                                tk_wakeup   : 1;/* Task waiting to wake up */
-       unsigned int            tk_runstate;    /* Task run status */
+       unsigned long           tk_runstate;    /* Task run status */
 #ifdef RPC_DEBUG
        unsigned int            tk_pid;         /* debugging aid */
 #endif
--- linux-2.2.19/include/linux/sunrpc/xprt.h.orig       Mon Mar 26 17:11:45 2001
+++ linux-2.2.19/include/linux/sunrpc/xprt.h    Sat Jun  9 14:04:46 2001
@@ -143,7 +143,7 @@
        struct rpc_wait_queue   pingwait;       /* waiting on ping() */
        struct rpc_rqst *       free;           /* free slots */
        struct rpc_rqst         slot[RPC_MAXREQS];
-       unsigned int            sockstate;      /* Socket state */
+       unsigned long           sockstate;      /* Socket state */
        unsigned char           nocong      : 1,/* no congestion control */
                                stream      : 1,/* TCP */
                                shutdown    : 1,/* being shut down */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to