[OpenAFS-devel] Ubuntu Linux and Open Afs 1.3.71

Michael McCabe mccabemt@clarkson.edu
Thu, 07 Oct 2004 12:45:32 -0400


I'm trying to get OpenAfs 1.3.71 to runn on Ubuntu Linux (Debian Based 
Distro).   I've succesfully built OpenAfs and loaded the kernel module 
but when I go start the afsd is segfaults and outputs the following 
information to dmesg.  It also appears to be populating the cache.

Thanks for the help

Mike

 printing eip:
c024c914
*pde = 00000000
Oops: 0002 [#1]
PREEMPT
Modules linked in: ipv6 af_packet 3c59x uhci_hcd usbcore pci_hotplug 
intel_agp agpgart parport_pc parport floppy pcspkr rtc md dm_mod 
capability commoncap kafs rxrpc tsdev ide_cd cdrom evdev mousedev 
psmouse xfs reiserfs jfs vfat fat isofs ext3 jbd ide_generic piix 
ide_disk ide_core unix font vesafb cfbcopyarea cfbimgblt cfbfillrect
CPU:    0
EIP:    0060:[<c024c914>]    Not tainted
EFLAGS: 00010206   (2.6.8.1-2-386)
EIP is at __down_write+0x5f/0x94
eax: c899728c   ebx: c23f4000   ecx: 00000000   edx: c4cd6000
esi: c5bdf340   edi: c4cd7eb4   ebp: 00000000   esp: c4cd7e84
ds: 007b   es: 007b   ss: 0068
Process afsd (pid: 4185, threadinfo=c4cd6000 task=c5bdf340)
Stack: c899728c fffffff4 c5bdf340 00000002 c23f4000 c4cd7ea8 c898af0f 
c23f4000
       c898ec0d 00000000 00000000 00000000 c23f4000 c23f4000 c40fae00 
fffffff4
       c8996f80 c014a51d c8996f80 00000000 c23f4000 00000000 00000000 
c33ba000
Call Trace:
 [<c898af0f>] afscm_start+0xb/0xb2 [kafs]
 [<c898ec0d>] afs_get_sb+0x1d/0x10e [kafs]
 [<c014a51d>] do_kern_mount+0x85/0x120
 [<c015c8ae>] do_new_mount+0x67/0xa4
 [<c015ce71>] do_mount+0x14f/0x169
 [<c018e998>] __copy_from_user_ll+0x4c/0x56
 [<c018ea06>] copy_from_user+0x2e/0x54
 [<c015ccd5>] copy_mount_options+0x4c/0x99
 [<c015d16c>] sys_mount+0x93/0xf7
 [<c0105f49>] sysenter_past_esp+0x52/0x71
Code: 89 21 89 4c 24 04 8b 42 08 ff 4a 14 a8 08 74 05 e8 49 fa ff
 <6>note: afsd[4185] exited with preempt_count 2
bad: scheduling while atomic!
 [<c024bfc8>] schedule+0x3c/0x3e6
 [<c01381af>] unmap_vmas+0xe2/0x1cf
 [<c013822f>] unmap_vmas+0x162/0x1cf
 [<c013b854>] exit_mmap+0x6a/0x12a
 [<c011720b>] mmput+0x5e/0x73
 [<c011ab9c>] do_exit+0x162/0x34f
 [<c0114ac0>] do_page_fault+0x0/0x49f
 [<c0106fe2>] do_divide_error+0x0/0xa7
 [<c0114e24>] do_page_fault+0x364/0x49f
 [<c0146cf0>] __find_get_block+0xc4/0xcb
 [<c0146d14>] __getblk+0x1d/0x35
 [<c88c9f1b>] ext3_get_inode_loc+0x53/0x203 [ext3]
 [<c0114ac0>] do_page_fault+0x0/0x49f
 [<c0106a1d>] error_code+0x2d/0x38
 [<c024c914>] __down_write+0x5f/0x94
 [<c898af0f>] afscm_start+0xb/0xb2 [kafs]
 [<c898ec0d>] afs_get_sb+0x1d/0x10e [kafs]
 [<c014a51d>] do_kern_mount+0x85/0x120
 [<c015c8ae>] do_new_mount+0x67/0xa4
 [<c015ce71>] do_mount+0x14f/0x169
 [<c018e998>] __copy_from_user_ll+0x4c/0x56
 [<c018ea06>] copy_from_user+0x2e/0x54
 [<c015ccd5>] copy_mount_options+0x4c/0x99
 [<c015d16c>] sys_mount+0x93/0xf7
 [<c0105f49>] sysenter_past_esp+0x52/0x71