* 2.2.19 rpc_execute panic (OK with 2.2.17)
@ 2001-06-09 10:35 Ian Lynagh
2001-06-09 12:06 ` Trond Myklebust
0 siblings, 1 reply; 3+ messages in thread
From: Ian Lynagh @ 2001-06-09 10:35 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]
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:
00000000004d1dc0 T rpc_unlock_task
00000000004d21e0 T rpc_delay
00000000004d2220 t rpc_atrun
00000000004d2240 t __rpc_execute
00000000004d25a0 T rpc_execute
00000000004d2640 t __rpc_schedule
00000000004d27c0 T rpc_allocate
00000000004d28e0 T rpc_free
I have also compiled a 2.2.17 kernel in the same way and that works
fine. We are using the RedHat sparc mount-2.10r-0.6.x RPM. I said no to
the NFS 3 questions when making oldconfig from a 2.2.17 (working)
config. I've attached a diff of the 2 configs.
I've searched the archives but didn't seem to find anything relating to
this. Can anyone suggest a fix? If you need more information to diagnose
the problem please just ask.
I would appreciate it if you were to CC me responses as I am not on the
list.
Thanks in advance
Ian
[-- Attachment #2: config.diff --]
[-- Type: text/plain, Size: 2385 bytes --]
--- linux-2.2.19-spiffy-simple/.config Fri Jun 8 22:22:54 2001
+++ linux-2.2.17-spiffy-simple/.config Fri Jun 8 23:00:34 2001
@@ -20,18 +20,6 @@
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
# CONFIG_SMP is not set
-CONFIG_SPARC64=y
-CONFIG_SBUS=y
-CONFIG_SBUSCHAR=y
-CONFIG_SUN_MOUSE=y
-CONFIG_SERIAL=y
-CONFIG_SUN_SERIAL=y
-CONFIG_SERIAL_CONSOLE=y
-CONFIG_SUN_KEYBOARD=y
-CONFIG_SUN_CONSOLE=y
-CONFIG_SUN_AUXIO=y
-CONFIG_SUN_IO=y
-# CONFIG_PCI is not set
#
# Console drivers
@@ -50,6 +38,17 @@
CONFIG_FBCON_FONTWIDTH8_ONLY=y
CONFIG_FONT_SUN8x16=y
# CONFIG_FBCON_FONTS is not set
+CONFIG_SBUS=y
+CONFIG_SBUSCHAR=y
+CONFIG_SUN_MOUSE=y
+CONFIG_SERIAL=y
+CONFIG_SUN_SERIAL=y
+CONFIG_SERIAL_CONSOLE=y
+CONFIG_SUN_KEYBOARD=y
+CONFIG_SUN_CONSOLE=y
+CONFIG_SUN_AUXIO=y
+CONFIG_SUN_IO=y
+# CONFIG_PCI is not set
#
# Misc Linux/SPARC drivers
@@ -65,7 +64,9 @@
# Linux/SPARC audio subsystem (EXPERIMENTAL)
#
# CONFIG_SPARCAUDIO is not set
+# CONFIG_SPARCAUDIO_AMD7930 is not set
# CONFIG_SPARCAUDIO_CS4231 is not set
+# CONFIG_SPARCAUDIO_DBRI is not set
# CONFIG_SPARCAUDIO_DUMMY is not set
CONFIG_SUN_OPENPROMFS=m
CONFIG_NET=y
@@ -130,7 +131,6 @@
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_BRIDGE is not set
-# CONFIG_NET_DIVERT is not set
# CONFIG_LLC is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
@@ -200,7 +200,6 @@
CONFIG_SUNBMAC=m
# CONFIG_SUNQE is not set
# CONFIG_MYRI_SBUS is not set
-# CONFIG_FDDI is not set
#
# Unix 98 PTY support
@@ -214,12 +213,6 @@
# CONFIG_VIDEO_DEV is not set
#
-# XFree86 DRI support
-#
-# CONFIG_DRM is not set
-# CONFIG_DRM_FFB is not set
-
-#
# Filesystems
#
# CONFIG_QUOTA is not set
@@ -251,14 +244,11 @@
#
# CONFIG_CODA_FS is not set
CONFIG_NFS_FS=y
-# CONFIG_NFS_V3 is not set
CONFIG_NFSD=m
-# CONFIG_NFSD_V3 is not set
-# CONFIG_NFSD_TCP is not set
+# CONFIG_NFSD_SUN is not set
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_SMB_FS=m
-# CONFIG_SMB_NLS_DEFAULT is not set
# CONFIG_NCP_FS is not set
#
@@ -266,7 +256,6 @@
#
CONFIG_BSD_DISKLABEL=y
# CONFIG_MAC_PARTITION is not set
-# CONFIG_MINIX_SUBPARTITION is not set
CONFIG_SMD_DISKLABEL=y
CONFIG_SOLARIS_X86_PARTITION=y
# CONFIG_UNIXWARE_DISKLABEL is not set
@@ -308,7 +297,6 @@
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
-# CONFIG_NLS_KOI8_RU is not set
#
# Watchdog
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.2.19 rpc_execute panic (OK with 2.2.17)
2001-06-09 10:35 2.2.19 rpc_execute panic (OK with 2.2.17) Ian Lynagh
@ 2001-06-09 12:06 ` Trond Myklebust
2001-06-09 12:19 ` Ian Lynagh
0 siblings, 1 reply; 3+ messages in thread
From: Trond Myklebust @ 2001-06-09 12:06 UTC (permalink / raw)
To: Ian Lynagh; +Cc: linux-kernel
>>>>> " " == 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 */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.2.19 rpc_execute panic (OK with 2.2.17)
2001-06-09 12:06 ` Trond Myklebust
@ 2001-06-09 12:19 ` Ian Lynagh
0 siblings, 0 replies; 3+ messages in thread
From: Ian Lynagh @ 2001-06-09 12:19 UTC (permalink / raw)
To: Trond Myklebust; +Cc: linux-kernel
On Sat, Jun 09, 2001 at 02:06:45PM +0200, Trond Myklebust wrote:
> >>>>> " " == Ian Lynagh <igloo@earth.li> writes:
>
> > 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.
>
> Does the following patch help?
Alan Cox said it is fixed in the 2.2.20pre kernels, so I will given one
of them a shot.
Apparently it doesn't qualify for an errata note though :-(
Thanks for your quick response
Ian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-06-09 12:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-09 10:35 2.2.19 rpc_execute panic (OK with 2.2.17) Ian Lynagh
2001-06-09 12:06 ` Trond Myklebust
2001-06-09 12:19 ` Ian Lynagh
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®