mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Ian Lynagh <igloo@earth.li>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.2.19 rpc_execute panic (OK with 2.2.17)
Date: 09 Jun 2001 14:06:45 +0200	[thread overview]
Message-ID: <shselstyi0a.fsf@charged.uio.no> (raw)
In-Reply-To: <20010609113521.A30318@stu163.keble.ox.ac.uk>
In-Reply-To: Ian Lynagh's message of "Sat, 9 Jun 2001 11:35:21 +0100"

>>>>> " " == Ian Lynagh <igloo@earth.li> 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 */

  reply	other threads:[~2001-06-09 12:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-09 10:35 Ian Lynagh
2001-06-09 12:06 ` Trond Myklebust [this message]
2001-06-09 12:19   ` Ian Lynagh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=shselstyi0a.fsf@charged.uio.no \
    --to=trond.myklebust@fys.uio.no \
    --cc=igloo@earth.li \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®