ibcs 2.0 and p5 SMP problems

ibcs 2.0 and p5 SMP problems

Post by Matthew Cummin » Mon, 12 Aug 1996 04:00:00



I have recently upgraded to a dual 133 Mhz Pentium system and have
discovered that I now can't use ibcs to run Word Perfect which worked fine
under the almost the same kernel version, the same library, binutils, and
ldconfig as well as other related binaries.  The only difference is that I
now have an SMP aware kernel for the Pentium instead of a 486.  For the
record I was running 2.0.11 with libc 5.3.18 and the related binutils
etc...  I have tried downgrading libc to the stable libc with exactly the
same results and even upgraded it to 5.4.4 with no luck.  Currently I'm
using 2.0.12 with no change either.

Here is a copy of my kernlog if it is of use in solving this problem, and
any help would be appreciated.  Incidentally the  NULL pointer dereference
at virtual address c0000034 message is always the same.

Aug 11 09:57:32 cummings kernel: Unable to handle kernel NULL pointer dereference at virtual address c0000034
Aug 11 09:57:32 cummings kernel: current->tss.cr3 = 005e4000, dr3 = 005e4000
Aug 11 09:57:32 cummings kernel: *pde = 00102067
Aug 11 09:57:32 cummings kernel: *pte = 00000027
Aug 11 09:57:32 cummings kernel: Oops: 0000
Aug 11 09:57:32 cummings kernel: CPU:    1
Aug 11 09:57:32 cummings kernel: EIP:    0010:[<04885df5>]
Aug 11 09:57:32 cummings kernel: EFLAGS: 00010202
Aug 11 09:57:32 cummings kernel: eax: 00000000   ebx: 00000000   ecx: 00032d45   edx: 00000004
Aug 11 09:57:32 cummings kernel: esi: 0000000e   edi: 0387ffbc   ebp: bfffe3bc   esp: 0387fea0
Aug 11 09:57:33 cummings kernel: ds: 0018   es: 0018   fs: 002b   gs: 002b   ss: 0018
Aug 11 09:57:33 cummings kernel: Process xwp (pid: 4273, process nr: 36, stackpage=0387f000)
Aug 11 09:57:33 cummings kernel: Stack: 00000004 0000000e 0387ffbc 048866b6 00000000 00000004 801c4942 00000003
Aug 11 09:57:33 cummings kernel:        0387ffbc 04894c3c 00000040 00192ba0 001a2894 001281de 0000000e 0359aa80
Aug 11 09:57:33 cummings kernel:        0359aa80 00000212 00000000 00000003 00000000 00000000 00000212 00130004
Aug 11 09:57:33 cummings kernel: Call Trace: [<048866b6>] [<04894c3c>] [<001281de>] [<00130004>] [<0012656f>] [<0488199c>] [<048830e8>]
Aug 11 09:57:33 cummings kernel:        [<04883111>] [<048803bb>] [<0011364b>] [<0010a9c6>]
Aug 11 09:57:33 cummings kernel: Code: 8b 50 34 a1 88 6f 89 04 39 42 04 74 37 b9 0d 00 00 00 bf 84

--


 
 
 

ibcs 2.0 and p5 SMP problems

Post by Matthew Cummin » Mon, 12 Aug 1996 04:00:00




Quote:> now have an SMP aware kernel for the Pentium instead of a 486.  For the

To make a quick followup here with additional info, it works ok if I do not
use a SMP aware kernel.  I of course would prefer to use the SMP since I've
got it and it's definitely faster, at least according to the benchmarks I've
run.
--



 
 
 

ibcs 2.0 and p5 SMP problems

Post by Mike Jagdi » Tue, 13 Aug 1996 04:00:00



MC> I have recently upgraded to a dual 133 Mhz Pentium system
MC> and have discovered that I now can't use ibcs [...]

You need to compile with __SMP__=1 defined to get the necessary locking
included in iBCS. The (unannounced) latest iBCS on
tsx-11.mi.edu:/pub/linux/BETA/ibcs2/ defines this by default since I can't
see any problems with doing so on a single processor system at the moment -
other than the cost of an extra instruction or two here and there.

                                Mike  

 
 
 

ibcs 2.0 and p5 SMP problems

Post by Matthew Cummin » Wed, 14 Aug 1996 04:00:00




Quote:> at virtual address c0000034 message is always the same.

I figured out the problem, the Makefile had a problem, and even though I had
SMP enabled, it really wasn't in the CFLAGS.  It had SMPNOTES and the
makefile option for smp was SMPOPTS, so I made the change to bring CFLAGS in
line and now it works fine.

--

 
 
 

1. iBCS problems with 2.0 kernel

I've upgrade my kernel to 2.0 and everything seems fine now that I've
recompiled all the proc stuff and modules.   The iBCS module still
gives me an error and I can't seem to get it compiled...The error
is as follows:

_______

In file included from emulate.c:33:
/usr/include/linux/module.h:95: undefined or invalid # directive
In file included from emulate.c:57:
../include/ibcs/ibcs.h:31: warning: function declaration isn't a prototype
make[1]: *** [emulate.o] Error 1
make[1]: Leaving directory `/usr/src/ibcs/iBCSemul'
make: *** [all] Error 2

--

I'm also running the latest slakware as of about 2 weeks ago.

Any help is greatly apprieciated.

                Tom B.

2. Where is pdksh-4.8?

3. Anybody using iBCS on SMP kernel

4. Entered Yet? Win a 2.1 GB Hard Drive

5. iBCS on SMP kernel

6. Veritas 3.2 question

7. iBCS on SMP kernel.

8. Q: SCREEN SAVER DELAY

9. ibcs with rhl 6.1 and smp kernel

10. Zenon P5-90 Compatibility and some Floating Point Benchmarks on P5-90.

11. Gateway 2000 PC's: P5-90 and P5-60 CDROM, sound cards

12. Recommended P5-133 and P5-150 motherboards?

13. RedHAT 2.0 & iBCS'n few things..