[OpenAFS-devel] linux 2.6.x (FC2) SMP oops: it's not CONFIG_REGPARM

Matthew Miller mattdm@mattdm.org
Wed, 23 Jun 2004 16:06:32 -0400


On Fri, Jun 18, 2004 at 07:55:30PM -0400, Jeffrey Hutzelman wrote:
> Still, I'd like to know if rebuilding the kernel without CONFIG_REGPARM 
> (and then rebuilding the AFS module as well) fixes the problem for Matthew. 
> I know that's not an optimal solution, but at least it will confirm that's 
> where we should be looking for problems.

Okay. Built a FC2 SMP kernel without CONFIG_REGPARM, and rebuilt OpenAFS
against it. And still, Oops. This is 2004-06-17 snapshot, plus Rainer's
four patches, plus the tiny one to fix the vermagic. I didn't try either
of your later patches to fix that, because I'm a bit confused. :) What else
should I do at this point? Thanks!


Unable to handle kernel NULL pointer dereference at virtual address 00000004
 printing eip:
43b3b672
*pde = 00003001
Oops: 0002 [#1]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod
uhci_h       cd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    1
EIP:    0060:[<43b3b672>]    Tainted: P  
EFLAGS: 00010206   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at crref+0x46/0x69 [libafs]
eax: 00000000   ebx: 411e3c00   ecx: 39f31138   edx: 32488000
esi: 43b5da00   edi: 02303004   ebp: 32488000   esp: 32488fa4
ds: 007b   es: 007b   ss: 0068
Process insmod (pid: 1988, threadinfo=32488000 task=40b832d0)
Stack: 02303020 43b0c6c4 42833026 0213418a 32488fc4 00000000 00000000
fffeb200 
       f3057008 010298b4 083e2008 00000000 00000000 feeb8988 00000080
0000007b 
       0000007b 00000080 0052e402 00000073 00000282 feeb893c 0000007b 
Call Trace:
 [<43b0c6c4>] osi_Init+0x20/0x35 [libafs]
 [<42833026>] init_module+0x26/0x78 [libafs]
 [<0213418a>] sys_init_module+0x102/0x212

Code: ff 40 04 8b 02 8b 80 f0 01 00 00 89 43 14 ff 49 04 0f 94 c0 


-- 
Matthew Miller           mattdm@mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>