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

Matthew Miller mattdm@mattdm.org
Wed, 23 Jun 2004 16:35:25 -0400


On Wed, Jun 23, 2004 at 04:12:11PM -0400, chas williams (contractor) wrote:
> In message <20040623200632.GA21076@jadzia.bu.edu>,Matthew Miller writes:
> >EIP is at crref+0x46/0x69 [libafs]
> > [<43b0c6c4>] osi_Init+0x20/0x35 [libafs]
> it probably shouldnt be calling crref() during osi_Init().  the
> following patch is probably correct:
[snip]

That patch does indeed make the module load without segfaulting. Cool. But
then, when I go to start afsd, it segfaults and:

Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
022b0fc0
*pde = 00003001
Oops: 0002 [#1]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    0
EIP:    0060:[<022b0fc0>]    Tainted: P  
EFLAGS: 00010002   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at wait_for_completion+0x6f/0xc7
eax: 34cf7e34   ebx: 34cf7e2c   ecx: 34cf7dbc   edx: 00000000
esi: 34cf7da4   edi: 34cf7dc4   ebp: 34cf7ddc   esp: 34cf7d90
ds: 007b   es: 007b   ss: 0068
Process afsd (pid: 1915, threadinfo=34cf7000 task=40c53850)
Stack: 00000000 40c53850 0211d859 00000000 00000000 00000000 00000006 03966000 
       00000001 40c53850 0211d859 34cf7e34 00000000 00000001 356db880 0212d92c 
       34cf7e2c 00000030 356db880 00000003 43b3f961 00000030 34cf7e2c 00000001 
Call Trace:
 [<0211d859>] default_wake_function+0x0/0x12
 [<0211d859>] default_wake_function+0x0/0x12
 [<0212d92c>] queue_work+0x4c/0x53
 [<43b3f961>] afs_DaemonOp+0xc7/0xcd [libafs]
 [<43b3f872>] afsd_launcher+0x0/0x28 [libafs]
 [<021683b7>] alloc_inode+0xfd/0x183
 [<02168d1e>] get_new_inode_fast+0x36/0xb7
 [<43b3f9c8>] afs_syscall_call+0x61/0x81d [libafs]
 [<02150ea0>] rw_vm+0x224/0x25c
 [<02150eb0>] rw_vm+0x234/0x25c
 [<43b40263>] afs_syscall+0xab/0x1a9 [libafs]
 [<02150ea0>] rw_vm+0x224/0x25c
 [<02150eb0>] rw_vm+0x234/0x25c
 [<43b3c6c9>] afs_ioctl+0x48/0x53 [libafs]
 [<021528ce>] filp_open+0x41/0x49
 [<02162857>] file_ioctl+0x16b/0x181
 [<02162a59>] sys_ioctl+0x1ec/0x24d
 [<02152cac>] sys_open+0x6d/0x82

Code: 89 0a 89 55 e4 b8 00 f0 ff ff 21 e0 8b 00 c7 00 02 00 00 00 
 <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
022b0fc0
*pde = 00003001
Oops: 0002 [#2]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    1
EIP:    0060:[<022b0fc0>]    Tainted: P  
EFLAGS: 00010002   (2.6.6-1.435.mattdmnoregparmsmp) 
Unable to handle kernel NULL pointer dereference at virtual address 00000001
 printing eip:
00000001
*pde = 00003001
EIP is at wait_for_completion+0x6f/0xc7
eax: 41073e34   ebx: 41073e2c   ecx: 41073dbc   edx: 00000000
esi: 41073da4   edi: 41073dc4   ebp: 41073ddc   esp: 41073d90
ds: 007b   es: 007b   ss: 0068
Process afsd (pid: 1916, threadinfo=41073000 task=40695390)
Stack: 00000000 40695390 0211d859 00000000 00000000 00000000 00000002 03966080 
       00000001 40695390 0211d859 41073e34 00000000 00000001 356db2e0 0212d92c 
       41073e2c 00000000 356db2e0 00000003 43b3f961 00000000 41073e2c 00000001 
Call Trace:
 [<0211d859>] default_wake_function+0x0/0x12
 [<0211d859>] default_wake_function+0x0/0x12
 [<0212d92c>] queue_work+0x4c/0x53
 [<43b3f961>] afs_DaemonOp+0xc7/0xcd [libafs]
 [<43b3f872>] afsd_launcher+0x0/0x28 [libafs]
 [<43b3f9c8>] afs_syscall_call+0x61/0x81d [libafs]
 [<02150ea0>] rw_vm+0x224/0x25c
 [<02150eb0>] rw_vm+0x234/0x25c
 [<43b40263>] afs_syscall+0xab/0x1a9 [libafs]
 [<02150ea0>] rw_vm+0x224/0x25c
 [<02150eb0>] rw_vm+0x234/0x25c
 [<43b3c6c9>] afs_ioctl+0x48/0x53 [libafs]
 [<02162857>] file_ioctl+0x16b/0x181
 [<02162a59>] sys_ioctl+0x1ec/0x24d
 [<02152cac>] sys_open+0x6d/0x82

Code: 89 0a 89 55 e4 b8 00 f0 ff ff 21 e0 8b 00 c7 00 02 00 00 00 
 <1>Oops: 0000 [#3]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    0
EIP:    0060:[<00000001>]    Tainted: P  
EFLAGS: 00010097   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at 0x1
eax: 34cf7e24   ebx: 00000001   ecx: 415100f0   edx: 34cf7e30
esi: 00000000   edi: 34cf7e30   ebp: 336fafb4   esp: 336faf90
ds: 007b   es: 007b   ss: 0068
Process tart (pid: 1917, threadinfo=336fa000 task=415100f0)
Stack: 0211d89a 34cf7e24 00000003 00000000 00000000 34cf7e2e 34cf7e2c 00000202 
       00000000 336fafd8 0211d96e 34cf7e30 00000003 00000001 00000000 00000000 
       336fa000 34cf7de4 00000000 43b3f810 41510352 43b4d306 43b3f568 00000000 
Call Trace:
 [<0211d89a>] <1>Unable to handle kernel NULL pointer dereference at virtual address 00000001
 printing eip:
00000001
*pde = 00003001
__wake_up_common+0x2f/0x55
 [<0211d96e>] complete+0x27/0x38
 [<43b3f810>] afsd_thread+0x2a8/0x30a [libafs]
 [<43b3f568>] afsd_thread+0x0/0x30a [libafs]
 [<021051fd>] kernel_thread_helper+0x5/0xb

Code:  Bad EIP value.
 <1>Oops: 0000 [#4]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    1
EIP:    0060:[<00000001>]    Tainted: P  
EFLAGS: 00010097   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at 0x1
eax: 41073e24   ebx: 00000001   ecx: 40d241b0   edx: 41073e30
esi: 00000000   edi: 41073e30   ebp: 34a11fb4   esp: 34a11f90
ds: 007b   es: 007b   ss: 0068
Process art (pid: 1918, threadinfo=34a11000 task=40d241b0)
Stack: 0211d89a 41073e24 00000003 00000000 00000000 41073e2e 41073e2c 00000202 
       00000000 34a11fd8 0211d96e 41073e30 00000003 00000001 00000000 00000000 
       00000000 41073de4 00000000 43b3f5b1 40d24412 43b4d27f 43b3f568 00000000 
Call Trace:
 [<0211d89a>] __wake_up_common+0x2f/0x55
 [<0211d96e>] complete+0x27/0x38
 [<43b3f5b1>] afsd_thread+0x49/0x30a [libafs]
 [<43b3f568>] afsd_thread+0x0/0x30a [libafs]
 [<021051fd>] kernel_thread_helper+0x5/0xb

Code:  Bad EIP value.
 <1>general protection fault: 0000 [#5]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    0
EIP:    0060:[<021222fb>]    Tainted: P  
EFLAGS: 00010246   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at put_files_struct+0x6/0xac
eax: ffffffff   ebx: ffffffff   ecx: 0000000b   edx: ffffffff
esi: 00000001   edi: 415100f0   ebp: 0000000b   esp: 336fae4c
ds: 007b   es: 007b   ss: 0068
Process tart (pid: 1917, threadinfo=336fa000 task=415100f0)
Stack: 00000000 00000001 415100f0 0000000b 02122e8a 336fa000 00000001 02003000 
       00000000 02107807 0000000b 00000001 0211a0ac 022c748d 336faf5c 00000000 
       022c747c 00003001 022cb403 00000001 022c7469 022c744e 00000001 00000000 
Call Trace:
 [<02122e8a>] do_exit+0x20d/0x390
 [<02107807>] do_divide_error+0x0/0xa7
 [<0211a0ac>] do_page_fault+0x348/0x502
 [<0211b927>] activate_task+0x78/0x88
 [<0211bddf>] try_to_wake_up+0x213/0x264
 [<02119d64>] do_page_fault+0x0/0x502
 [<0211d89a>] __wake_up_common+0x2f/0x55
 [<0211d96e>] complete+0x27/0x38
 [<43b3f810>] afsd_thread+0x2a8/0x30a [libafs]
 [<43b3f568>] afsd_thread+0x0/0x30a [libafs]
 [<021051fd>] kernel_thread_helper+0x5/0xb

Code: f0 ff 08 0f 94 c0 84 c0 0f 84 93 00 00 00 31 ed 89 e9 c1 e1 
 <1>general protection fault: 0000 [#6]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    1
EIP:    0060:[<021222fb>]    Tainted: P  
EFLAGS: 00010246   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at put_files_struct+0x6/0xac
eax: ffffffff   ebx: ffffffff   ecx: 0000000b   edx: ffffffff
esi: 00000001   edi: 40d241b0   ebp: 0000000b   esp: 34a11e4c
ds: 007b   es: 007b   ss: 0068
Process art (pid: 1918, threadinfo=34a11000 task=40d241b0)
Stack: 00000000 00000001 40d241b0 0000000b 02122e8a 34a11000 00000001 02003000 
       00000000 02107807 0000000b 00000001 0211a0ac 022c748d 34a11f5c 00000000 
       022c747c 00003001 022cb403 00000001 022c7469 022c744e 00000001 00000000 
Call Trace:
 [<02122e8a>] do_exit+0x20d/0x390
 [<02107807>] do_divide_error+0x0/0xa7
 [<0211a0ac>] do_page_fault+0x348/0x502
 [<0211b927>] activate_task+0x78/0x88
 [<0211bddf>] try_to_wake_up+0x213/0x264
 [<02119d64>] do_page_fault+0x0/0x502
 [<0211d89a>] __wake_up_common+0x2f/0x55
 [<0211d96e>] complete+0x27/0x38
 [<43b3f5b1>] afsd_thread+0x49/0x30a [libafs]
 [<43b3f568>] afsd_thread+0x0/0x30a [libafs]
 [<021051fd>] kernel_thread_helper+0x5/0xb

Code: f0 ff 08 0f 94 c0 84 c0 0f 84 93 00 00 00 31 ed 89 e9 c1 e1 
 <1>general protection fault: 0000 [#7]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    0
EIP:    0060:[<02122f63>]    Tainted: P  
EFLAGS: 00010246   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at do_exit+0x2e6/0x390
eax: 41510000   ebx: 022fd000   ecx: 0000000b   edx: ffffffff
esi: 336fae18   edi: 415100f0   ebp: 0000000b   esp: 336fadc0
ds: 007b   es: 007b   ss: 0068
Process tart (pid: 1917, threadinfo=336fa000 task=415100f0)
Stack: 336fa000 336fae18 00000000 336fae18 02107807 0000000b ffffffff 02107ed8 
       022c06a0 336fae18 00000000 00000078 00000000 00000000 00000001 ffffffff 
       00000000 02107ca3 0000000b fffebea8 336fae18 00000000 ffffffff 0000000b 
Call Trace:
 [<02107807>] do_divide_error+0x0/0xa7
 [<02107ed8>] do_general_protection+0x235/0x240
 [<02107ca3>] do_general_protection+0x0/0x240
 [<021222fb>] put_files_struct+0x6/0xac
 [<02122e8a>] do_exit+0x20d/0x390
 [<02107807>] do_divide_error+0x0/0xa7
 [<0211a0ac>] do_page_fault+0x348/0x502
 [<0211b927>] activate_task+0x78/0x88
 [<0211bddf>] try_to_wake_up+0x213/0x264
 [<02119d64>] do_page_fault+0x0/0x502
 [<0211d89a>] __wake_up_common+0x2f/0x55
 [<0211d96e>] complete+0x27/0x38
 [<43b3f810>] afsd_thread+0x2a8/0x30a [libafs]
 [<43b3f568>] afsd_thread+0x0/0x30a [libafs]
 [<021051fd>] kernel_thread_helper+0x5/0xb

Code: f0 ff 0a 0f 94 c0 84 c0 74 07 52 e8 0c 97 04 00 5e e8 fa 22 
 <1>general protection fault: 0000 [#8]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    1
EIP:    0060:[<02122f63>]    Tainted: P  
EFLAGS: 00010246   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at do_exit+0x2e6/0x390
eax: 40d24100   ebx: 022fd000   ecx: 0000000b   edx: ffffffff
esi: 34a11e18   edi: 40d241b0   ebp: 0000000b   esp: 34a11dc0
ds: 007b   es: 007b   ss: 0068
Process art (pid: 1918, threadinfo=34a11000 task=40d241b0)
Stack: 34a11000 34a11e18 00000000 34a11e18 02107807 0000000b ffffffff 02107ed8 
       022c06a0 34a11e18 00000000 00000078 00000001 00000000 00000001 ffffffff 
       00000000 02107ca3 0000000b fffebea8 34a11e18 00000000 ffffffff 0000000b 
Call Trace:
 [<02107807>] do_divide_error+0x0/0xa7
 [<02107ed8>] do_general_protection+0x235/0x240
 [<02107ca3>] do_general_protection+0x0/0x240
 [<021222fb>] put_files_struct+0x6/0xac
 [<02122e8a>] do_exit+0x20d/0x390
 [<02107807>] do_divide_error+0x0/0xa7
 [<0211a0ac>] do_page_fault+0x348/0x502
 [<0211b927>] activate_task+0x78/0x88
 [<0211bddf>] <1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
022b0fc0
*pde = 00003001
try_to_wake_up+0x213/0x264
 [<02119d64>] do_page_fault+0x0/0x502
 [<0211d89a>] __wake_up_common+0x2f/0x55
 [<0211d96e>] complete+0x27/0x38
 [<43b3f5b1>] afsd_thread+0x49/0x30a [libafs]
 [<43b3f568>] afsd_thread+0x0/0x30a [libafs]
 [<021051fd>] kernel_thread_helper+0x5/0xb

Code: f0 ff 0a 0f 94 c0 84 c0 74 07 52 e8 0c 97 04 00 5e e8 fa 22 
 <1>Oops: 0002 [#9]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    0
EIP:    0060:[<022b0fc0>]    Tainted: P  
EFLAGS: 00010002   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at wait_for_completion+0x6f/0xc7
eax: 336fae34   ebx: 336fae2c   ecx: 336fadbc   edx: 00000000
esi: 336fada4   edi: 336fadc4   ebp: 336faddc   esp: 336fad90
ds: 007b   es: 007b   ss: 0068
Process afsd (pid: 1919, threadinfo=336fa000 task=415100f0)
Stack: 00000000 415100f0 0211d859 00000000 00000000 00000000 00000002 03966000 
       00000001 415100f0 0211d859 336fae34 00000000 00000001 40e829c0 0212d92c 
       336fae2c 00000013 40e829c0 00000003 43b3f961 00000013 336fae2c 00000001 
Call Trace:
 [<0211d859>] default_wake_function+0x0/0x12
 [<0211d859>] default_wake_function+0x0/0x12
 [<0212d92c>] queue_work+0x4c/0x53
 [<43b3f961>] afs_DaemonOp+0xc7/0xcd [libafs]
 [<43b3f872>] afsd_launcher+0x0/0x28 [libafs]
 [<02107ca3>] do_general_protection+0x0/0x240
 [<43b3f9c8>] afs_syscall_call+0x61/0x81d [libafs]
 [<02150ea0>] rw_vm+0x224/0x25c
 [<02150eb0>] rw_vm+0x234/0x25c
 [<43b40263>] afs_syscall+0xab/0x1a9 [libafs]
 [<02150ea0>] rw_vm+0x224/0x25c
 [<02150eb0>] rw_vm+0x234/0x25c
 [<43b3c6c9>] afs_ioctl+0x48/0x53 [libafs]
 [<021528ce>] filp_open+0x41/0x49
 [<02162857>] file_ioctl+0x16b/0x181
 [<02162a59>] sys_ioctl+0x1ec/0x24d
 [<02152cac>] sys_open+0x6d/0x82

Code: 89 0a 89 55 e4 b8 00 f0 ff ff 21 e0 8b 00 c7 00 02 00 00 00 
 <1>Unable to handle kernel NULL pointer dereference at virtual address 00000001
 printing eip:
00000001
*pde = 00003001
Oops: 0000 [#10]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    0
EIP:    0060:[<00000001>]    Tainted: P  
EFLAGS: 00010097   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at 0x1
eax: 336fae24   ebx: 00000001   ecx: 41df11b0   edx: 336fae30
esi: 00000001   edi: 336fae30   ebp: 34180fb4   esp: 34180f90
ds: 007b   es: 007b   ss: 0068
Process tart (pid: 1920, threadinfo=34180000 task=41df11b0)
Stack: 0211d89a 336fae24 00000003 00000000 00000000 336fae2e 336fae2c 00000202 
       00000000 34180fd8 0211d96e 336fae30 00000003 00000001 00000000 00000000 
       00000013 336fade4 00000000 43b3f7b0 41df1412 43b4d2ed 43b3f568 00000000 
Call Trace:
 [<0211d89a>] Starting AFS cache scan...__wake_up_common+0x2f/0x55
 [<0211d96e>] complete+0x27/0x38
 [<43b3f7b0>] afsd_thread+0x248/0x30a [libafs]
 [<43b3f568>] afsd_thread+0x0/0x30a [libafs]
 [<021051fd>] kernel_thread_helper+0x5/0xb

Code:  Bad EIP value.
 <1>general protection fault: 0000 [#11]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    0
EIP:    0060:[<021222fb>]    Tainted: P  
EFLAGS: 00010246   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at put_files_struct+0x6/0xac
eax: ffffffff   ebx: ffffffff   ecx: 0000000b   edx: ffffffff
esi: 00000001   edi: 41df11b0   ebp: 0000000b   esp: 34180e4c
ds: 007b   es: 007b   ss: 0068
Process tart (pid: 1920, threadinfo=34180000 task=41df11b0)
Stack: 00000000 00000001 41df11b0 0000000b 02122e8a 34180000 00000001 02003000 
       00000000 02107807 0000000b 00000001 0211a0ac 022c748d 34180f5c 00000000 
       022c747c 00003001 022cb403 00000001 022c7469 022c744e 00000001 00000000 
Call Trace:
 [<02122e8a>] do_exit+0x20d/0x390
 [<02107807>] do_divide_error+0x0/0xa7
 [<0211a0ac>] do_page_fault+0x348/0x502
 [<0211b927>] activate_task+0x78/0x88
 [<0211bddf>] try_to_wake_up+0x213/0x264
 [<02119d64>] do_page_fault+0x0/0x502
 [<0211d89a>] __wake_up_common+0x2f/0x55
 [<0211d96e>] complete+0x27/0x38
 [<43b3f7b0>] afsd_thread+0x248/0x30a [libafs]
 [<43b3f568>] afsd_thread+0x0/0x30a [libafs]
 [<021051fd>] kernel_thread_helper+0x5/0xb

Code: f0 ff 08 0f 94 c0 84 c0 0f 84 93 00 00 00 31 ed 89 e9 c1 e1 
 <1>general protection fault: 0000 [#12]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    0
EIP:    0060:[<02122f63>]    Tainted: P  
EFLAGS: 00010246   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at do_exit+0x2e6/0x390
eax: 41df1100   ebx: 022fd000   ecx: 0000000b   edx: ffffffff
esi: 34180e18   edi: 41df11b0   ebp: 0000000b   esp: 34180dc0
ds: 007b   es: 007b   ss: 0068
Process tart (pid: 1920, threadinfo=34180000 task=41df11b0)
Stack: 34180000 34180e18 00000000 34180e18 02107807 0000000b ffffffff 02107ed8 
       022c06a0 34180e18 00000000 00000078 00000000 00000000 00000001 ffffffff 
       00000000 02107ca3 0000000b fffebea8 34180e18 00000000 ffffffff 0000000b 
Call Trace:
 [<02107807>] do_divide_error+0x0/0xa7
 [<02107ed8>] do_general_protection+0x235/0x240
 [<02107ca3>] do_general_protection+0x0/0x240
 [<021222fb>] put_files_struct+0x6/0xac
 [<02122e8a>] do_exit+0x20d/0x390
 [<02107807>] do_divide_error+0x0/0xa7
 [<0211a0ac>] do_page_fault+0x348/0x502
 [<0211b927>] activate_task+0x78/0x88
 [<0211bddf>] try_to_wake_up+0x213/0x264
 [<02119d64>] do_page_fault+0x0/0x502
 [<0211d89a>] __wake_up_common+0x2f/0x55
 [<0211d96e>] complete+0x27/0x38
 [<43b3f7b0>] afsd_thread+0x248/0x30a [libafs]
 [<43b3f568>] afsd_thread+0x0/0x30a [libafs]
 [<021051fd>] kernel_thread_helper+0x5/0xb

Code: f0 ff 0a 0f 94 c0 84 c0 74 07 52 e8 0c 97 04 00 5e e8 fa 22 
 <1>Unable to handle kernel NULL pointer dereference at virtual address 00000019
 printing eip:
43b3c09c
*pde = 00003001
Oops: 0000 [#13]
SMP 
Modules linked in: libafs 3c59x microcode ohci1394 ieee1394 pcspkr dm_mod uhci_hcd ipv6 ext3 jbd aic7xxx sd_mod scsi_mod
CPU:    0
EIP:    0060:[<43b3c09c>]    Tainted: P  
EFLAGS: 00010246   (2.6.6-1.435.mattdmnoregparmsmp) 
EIP is at osi_InitCacheInfo+0x25/0x6b [libafs]
eax: 00000001   ebx: 39feb878   ecx: 34992398   edx: 348d356c
esi: 00000007   edi: 39feb892   ebp: 00000003   esp: 348f7e28
ds: 007b   es: 007b   ss: 0068
Process afsd (pid: 1914, threadinfo=348f7000 task=40c52770)
Stack: 348d356c 43b0ac20 39feb878 0806de60 39feb978 00000000 00000000 39feb878 
       39feb878 43b3fddb 00000100 39feb878 43b3fe11 39feb878 0364fea0 00000000 
       00000000 00000000 00000000 41d962c0 00000010 00000020 348f7ef0 348f7e9c 
Call Trace:
 [<43b0ac20>] afs_InitCacheInfo+0x27/0xd6 [libafs]
 [<43b3fddb>] afs_syscall_call+0x474/0x81d [libafs]
 [<43b3fe11>] afs_syscall_call+0x4aa/0x81d [libafs]
 [<02150ea0>] rw_vm+0x224/0x25c
 [<02150eb0>] rw_vm+0x234/0x25c
 [<43b40263>] afs_syscall+0xab/0x1a9 [libafs]
 [<02150ea0>] rw_vm+0x224/0x25c
 [<02150eb0>] rw_vm+0x234/0x25c
 [<43b3c6c9>] afs_ioctl+0x48/0x53 [libafs]
 [<021528ce>] filp_open+0x41/0x49
 [<02162857>] file_ioctl+0x16b/0x181
 [<02162a59>] sys_ioctl+0x1ec/0x24d
 [<02152cac>] sys_open+0x6d/0x82

Code: 8b 40 18 a3 3c 02 b6 43 8b 42 08 8b 80 8c 00 00 00 8b 40 08 


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