oops on sys_close

From: Frissen, Martin (MFrissen@d-reizen.nl)
Date: Thu Jun 08 2000 - 09:24:05 EST


>From : martin@apf.nl (Martin Frissen).
Subject : oops problem using an iBCS application.

Whe have a problem with our application on an new kernel.
We are trying to update our system to an newer SuSE release, but we are
having
problems by using the newer kernels. The old system is an standard SuSE 5.3
and the newer system is an SuSE 6.4.

It is an old COBOL program using rts32 (the COBOL runtime) from an
Interactive unix environment. For some time the program worked fine
on an SuSE 5.3 installation, but after updating the system to SuSE 6.4 we
are
having problems.
Most programs (functions) seems to work fine, but the problem occurs when we
are running an program that makes a listing.
Every call of the program gives the same result, the total system only to
big
to be included in this file.
In the messages file, the last part is shown. The last part shows some
actions
on fd 17 and the oops occurs when the system is executing the close on the
fd.
The messages shows the ibcs call to close, but not the result.
The new system used is an compaq ML370 (633 Mc, 133 Mc, 256 MB, hw raid5).

The problem is that on the newer computers there are no drivers for the new
hardware, like the new isdn adapters, the compaq raid controler and so on,
so we have to update!.

An update from linux-2.2.14 to linux-2.2.15 and to iBCS-2.1 from 981105 did
not
help.

The problem seems to be in the sys_close routine.
Updating the kernel maked no difference in the kernel part for the problem.

file type rts32:
   /usr/nlpax/rts/rts32: 80386 COFF executable

/var/log/messages:
   Before this point there as about 70 MB logging with iBCS-trace of
everything.
   The output is the same for the 2.2.14 (this log) and the 2.2.15 kernel.
   This trace is from the standard SuSE 2.2.14 kernel from SuSE 6.4.

   Jun 7 13:38:16 fil950-n kernel: [2121692]773 seek/lseek(17, 1072693248,
0)
   Jun 7 13:38:16 fil950-n kernel: [2121692]773 seek/lseek returns
1072693248 {1515870810}
   Jun 7 13:38:16 fil950-n kernel: [2121693]773 fcntl(17, 0x7, 0xbffff2a8)
   Jun 7 13:38:16 fil950-n kernel: iBCS: lock l_type: 2 l_whence: 1
l_start: 0 l_len: 65536 l_sysid: 2 l_pid: 0
   Jun 7 13:38:16 fil950-n kernel: [2121693]773 fcntl returns 0
{1515870810}
   Jun 7 13:38:16 fil950-n kernel: [2121694]773 seek/lseek(17, 0, 0)
   Jun 7 13:38:16 fil950-n kernel: [2121694]773 seek/lseek returns 0 {0}
   Jun 7 13:38:16 fil950-n kernel: [2121695]773 read(17, 0x00482326, 53)
   Jun 7 13:38:16 fil950-n kernel: [2121695]773 read returns 53 {0}
   Jun 7 13:38:16 fil950-n kernel: [2121696]773 seek/lseek(17, 1073741824,
0)
   Jun 7 13:38:16 fil950-n kernel: [2121696]773 seek/lseek returns
1073741824 {0}
   Jun 7 13:38:16 fil950-n kernel: [2121697]773 fcntl(17, 0x6, 0xbffff2c0)
   Jun 7 13:38:16 fil950-n kernel: iBCS: lock l_type: 3 l_whence: 1
l_start: 0 l_len: 65536 l_sysid: -3344 l_pid: -16385
   Jun 7 13:38:16 fil950-n kernel: [2121697]773 fcntl returns 0 {0}
   Jun 7 13:38:16 fil950-n kernel: [2121698]773 seek/lseek(17, 1072693248,
0)
   Jun 7 13:38:16 fil950-n kernel: [2121698]773 seek/lseek returns
1072693248 {0}
   Jun 7 13:38:16 fil950-n kernel: [2121699]773 fcntl(17, 0x6, 0xbffff2c8)
   Jun 7 13:38:16 fil950-n kernel: iBCS: lock l_type: 3 l_whence: 1
l_start: 0 l_len: 65536 l_sysid: 24953 l_pid: 2
   Jun 7 13:38:16 fil950-n kernel: [2121699]773 fcntl returns 0 {0}
   Jun 7 13:38:16 fil950-n kernel: [2121700]773 close(17)

   Jun 7 13:38:16 fil950-n kernel: Unable to handle kernel paging request
at virtual address dffffffc
   Jun 7 13:38:16 fil950-n kernel: current->tss.cr3 = 08482000, %cr3 =
08482000
   Jun 7 13:38:16 fil950-n kernel: *pde = 00000000
   Jun 7 13:38:16 fil950-n kernel: Oops: 0002
   Jun 7 13:38:16 fil950-n kernel: CPU: 0
   Jun 7 13:38:16 fil950-n kernel: EIP: 0010:[sys_truncate+127/328]
   Jun 7 13:38:16 fil950-n kernel: EFLAGS: 00010293
   Jun 7 13:38:16 fil950-n kernel: eax: dffffffc ebx: c85f8000 ecx:
00000011 edx: cd30bbe0
   Jun 7 13:38:16 fil950-n kernel: esi: cc837960 edi: fffffff7 ebp:
40000001 esp: c85f9f48
   Jun 7 13:38:16 fil950-n kernel: ds: 0018 es: 0018 ss: 0018
   Jun 7 13:38:16 fil950-n kernel: Process rts32 (pid: 773, process nr: 53,
stackpage=c85f9000)
   Jun 7 13:38:16 fil950-n kernel: Stack: c01250e8 d08444d5 d085b0e0
00205fe3 40000001 d0844300 00000011 d085a7d3
   Jun 7 13:38:17 fil950-n kernel: d085a467 c85f9f90 c85f8000
0048230c 00020a70 bffff2e4 00205fe4 c01250e8
   Jun 7 13:38:17 fil950-n kernel: d0860414 00000001 00000011
00000006 bffff2c8 0000003b c85f8000 c85f8000
   Jun 7 13:38:17 fil950-n kernel: Call Trace: [sys_truncate+40/328]
[<d08444d5>] [<d085b0e0>] [<d0844300>] [<d085a7d3>] [<d085a467>]
[sys_truncate+40/328]
   Jun 7 13:38:17 fil950-n kernel: [<d0860414>]
[show_registers+509/560] [sys_rt_sigprocmask+252/436]
[sys_rt_sigsuspend+70/236] [startup_32+43/285]
   Jun 7 13:38:17 fil950-n kernel: Code: 0f b3 08 83 c4 f8 52 56 e8 30 ff
ff ff 89 c7 83 c4 10 89 f8

/proc/cpuinfo:
   processor : 0
   vendor_id : GenuineIntel
   cpu family : 6
   model : 8
   model name : Pentium III (Coppermine)
   stepping : 1
   cpu MHz : 664.597598
   cache size : 256 KB
   fdiv_bug : no
   hlt_bug : no
   sep_bug : no
   f00f_bug : no
   coma_bug : no
   fpu : yes
   fpu_exception : yes
   cpuid level : 2
   wp : yes
   flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge
mca cmov pat pse36 mmx fxsr xmm
   bogomips : 1327.10
   

/proc/version:
   Linux version 2.2.15 (root@fil950-n) (gcc version 2.95.2 19991024
(release)) #1 Thu Jun 8 11:41:00 CEST 2000

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:15 EST