Re: null pointer dereference in ibmtr

2001-05-10 Thread Bjoern A. Zeeb

On Thu, 10 May 2001, SodaPop wrote:

> When inserting the ibmtr.o module in any of the 2.4 series kernels, I get a
> null pointer crash.  Latest try was 2.4.4.  Ksymoops:

Hi,

there is a known issue at least I know for the imbtr_cs after a debugging
session with a friend last weekend.

You might want to try
http://www.linuxtr.net/download/ibmtr-all.2.4.2-ac28.patch.gz
till there is an official patch for 2.4.4.

Due to some changes from 2.4.2 to 2.4.4 patch doesn't apply clean but
it's only few lines in rej-file you will have to fix manually.

Redhat unfortunately included this patch in their 2.4.2 rh7.1 kernel
though it is not in the official kernel confusing people even more.

-- 
Bjoern A. Zeeb  bzeeb at Zabbadoz dot NeT
56 69 73 69 74  http://www.zabbadoz.net/


-
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/



null pointer dereference in ibmtr

2001-05-10 Thread SodaPop

When inserting the ibmtr.o module in any of the 2.4 series kernels, I get a
null pointer crash.  Latest try was 2.4.4.  Ksymoops:

Unable to handle kernel paging request at virtual address 7a18
c012861e
*pde = 
Oops: 
CPU:0
EIP:0010:[]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010246
eax: 0170   ebx: 0001 ecx: 0170   edx: 
esi: c1321080   edi: c13210dc ebp: c9ca3800   esp: c0203ee8
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 0, stackpage=c0203)
Stack: c0188efd c1321080  c0188f37 c1321080 c1321080 c0189067 c1321080
   c1321080 c1321080 c01905c3 c1321080 c1321080 c9ff8ca0 c01903bb c1321080
   c9ca3800 c01ff12c c1321080 c01ff12c c0189067 c1321080 c9ca3800 c01ff12c
Call Trace: [] [] [] [] [] 
[] []
   [] [] [] [] [] [] 
[] []
   [] []
Code: 8b 41 18 85 c0 7c 11 ff 49 14 0f 94 c0 84 c0 74 07 89 c8 e8

>>EIP; c012861e <__free_pages+2/1c>   <=
Trace; c0188efd 
Trace; c0188f37 
Trace; c0189067 <__kfree_skb+e7/f0>
Trace; c01905c3 
Trace; c01903bb 
Trace; c018c219 
Trace; c018c3f5 
Trace; c0115b7e 
Trace; c0107ef9 
Trace; c0105160 
Trace; c0106be0 
Trace; c0105160 
Trace; c0100018 
Trace; c0105183 
Trace; c01051de 
Trace; c0105000 
Trace; c0100198 
Code;  c012861e <__free_pages+2/1c>
 <_EIP>:
Code;  c012861e <__free_pages+2/1c>   <=
   0:   8b 41 18  movl   0x18(%ecx),%eax   <=
Code;  c0128621 <__free_pages+5/1c>
   3:   85 c0 testl  %eax,%eax
Code;  c0128623 <__free_pages+7/1c>
   5:   7c 11 jl 18 <_EIP+0x18> c0128636 <__free_pages+1a/1c>
Code;  c0128625 <__free_pages+9/1c>
   7:   ff 49 14  decl   0x14(%ecx)
Code;  c0128628 <__free_pages+c/1c>
   a:   0f 94 c0  sete   %al
Code;  c012862b <__free_pages+f/1c>
   d:   84 c0 testb  %al,%al
Code;  c012862d <__free_pages+11/1c>
   f:   74 07 je 18 <_EIP+0x18> c0128636 <__free_pages+1a/1c>
Code;  c012862f <__free_pages+13/1c>
  11:   89 c8 movl   %ecx,%eax
Code;  c0128631 <__free_pages+15/1c>
  13:   e8 00 00 00 00call   18 <_EIP+0x18> c0128636 <__free_pages+1a/1c>




Cpu info:
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 3
model name  : Pentium II (Klamath)
stepping: 4
cpu MHz : 299.946316
cache size  : 512 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 mmx
bogomips: 299.01



The token ring card is ISA, not pci.  It has worked fine for years under 2.2.*

Any ideas?

-dennis T
-
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/