After kernel upgrade openafs won't start

Asked by bagr on 2009-08-19

After kernel upgrade from 2.6.28-14-generic to 2.6.28-15-generic and openafs-modules recompile openafs puts next error at start:

   36.031005] Found system call table at 0xffffffff806a88e0 (pattern scan)
[ 36.031008] Address 0xffffffff806a88e0 is not writable.
[ 36.031010] System call hooks will not be installed; proceeding anyway
[ 36.336751] Warning: failed to find address of 32-bit system call table
[ 36.336753] System call hooks will not be installed; proceeding anyway
[ 36.398900] Starting AFS cache scan...<1>BUG: unable to handle kernel paging request at ffffffffffffff9c
[ 36.485009] IP: [<ffffffffa0bb59f5>] osi_UFSOpen+0xb5/0x230 [openafs]
[ 36.485009] PGD 203067 PUD 204067 PMD 0
[ 36.485009] Oops: 0000 [#1] SMP
[ 36.485009] last sysfs file: /sys/devices/virtual/net/pan0/flags
[ 36.485009] Dumping ftrace buffer:
[ 36.485009] (ftrace buffer empty)
[ 36.485009] CPU 1
[ 36.485009] Modules linked in: openafs(P) bridge stp bnep nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs autofs4 video output input_polldev lp snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd ppdev soundcore parport_pc k8temp snd_page_alloc parport i2c_nforce2 nvidia(P) psmouse serio_raw pcspkr xfs forcedeth floppy vesafb fbcon tileblit font bitblit softcursor
[ 36.485009] Pid: 3561, comm: afsd Tainted: P 2.6.28-15-generic #49-Ubuntu
[ 36.485009] RIP: 0010:[<ffffffffa0bb59f5>] [<ffffffffa0bb59f5>] osi_UFSOpen+0xb5/0x230 [openafs]
[ 36.485009] RSP: 0018:ffff880074557b38 EFLAGS: 00010282
[ 36.485009] RAX: ffffffffffffff8c RBX: ffff88007c1c2000 RCX: ffff88000102b260
[ 36.485009] RDX: 000000000000005f RSI: ffff8800756b4900 RDI: ffffffffffffff8c
[ 36.485009] RBP: ffff880074557b68 R08: 0e00000000000000 R09: 8000000000000000
[ 36.485009] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000015d99
[ 36.485009] R13: 0000000000000016 R14: 000000000000043f R15: 0000000000015d99
[ 36.485009] FS: 00007f85cd81e6f0(0000) GS:ffff88007f803a80(0000) knlGS:0000000000000000
[ 36.485009] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 36.485009] CR2: ffffffffffffff9c CR3: 00000000739f1000 CR4: 00000000000006a0
[ 36.485009] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 36.485009] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 36.485009] Process afsd (pid: 3561, threadinfo ffff880074556000, task ffff880076069660)
[ 36.485009] Stack:
[ 36.485009] 0000000000015d99 000000000000000a 0000000000000000 0000000000000016
[ 36.485009] ffffc20010975528 0000000000000000 ffff880074557bc8 ffffffffa0b68310
[ 36.485009] 4a8ab36000000000 000000004a7ad9c0 ffff880074557ba8 ffffffff803f5e5c
[ 36.485009] Call Trace:
[ 36.485009] [<ffffffffa0b68310>] afs_InitCacheFile+0x270/0x550 [openafs]
[ 36.485009] [<ffffffff803f5e5c>] ? apparmor_capable+0x1c/0x70
[ 36.485009] [<ffffffffa0bbef37>] afs_syscall_call+0x387/0x1aa0 [openafs]
[ 36.485009] [<ffffffff8069b839>] ? _spin_lock+0x9/0x10
[ 36.485009] [<ffffffff802fb0e4>] ? __d_lookup+0x114/0x150
[ 36.485009] [<ffffffff802fb799>] ? dput+0xb9/0x190
[ 36.485009] [<ffffffff802f1940>] ? path_to_nameidata+0x20/0x60
[ 36.485009] [<ffffffff802f3034>] ? __link_path_walk+0x634/0xc20
[ 36.485009] [<ffffffff802e1075>] ? new_slab+0x1b5/0x210
[ 36.485009] [<ffffffffa0bc07f9>] afs_syscall+0x1a9/0x1c00 [openafs]
[ 36.485009] [<ffffffff80337016>] ? proc_reg_open+0x126/0x180
[ 36.485009] [<ffffffff802e5d5c>] ? __dentry_open+0x1fc/0x2d0
[ 36.485009] [<ffffffff80336ef0>] ? proc_reg_open+0x0/0x180
[ 36.485009] [<ffffffffa0bb652f>] afs_unlocked_ioctl+0x8f/0xc0 [openafs]
[ 36.485009] [<ffffffff8069b839>] ? _spin_lock+0x9/0x10
[ 36.485009] [<ffffffff80336a79>] ? pde_users_dec+0x49/0x60
[ 36.485009] [<ffffffff8069b839>] ? _spin_lock+0x9/0x10
[ 36.485009] [<ffffffff80337240>] proc_reg_unlocked_ioctl+0x80/0x100
[ 36.485009] [<ffffffffa0bb64a0>] ? afs_unlocked_ioctl+0x0/0xc0 [openafs]
[ 36.485009] [<ffffffff802f65e1>] vfs_ioctl+0x31/0xa0
[ 36.485009] [<ffffffff802f682d>] file_ioctl+0x3d/0x130
[ 36.485009] [<ffffffff802f6b25>] do_vfs_ioctl+0x205/0x230
[ 36.485009] [<ffffffff802f6be9>] sys_ioctl+0x99/0xa0
[ 36.485009] [<ffffffff8021253a>] system_call_fastpath+0x16/0x1b
[ 36.485009] Code: 45 d4 00 00 00 00 48 8d 75 d0 ba 14 00 00 00 48 8b 3d 20 59 03 00 48 8b 47 50 b1 01 ff 50 08 48 85 c0 48 89 c7 0f 84 2b 01 00 00 <48> 8b 40 10 81 88 18 02 00 00 00 04 00 00 48 8b 35 66 6e 04 00
[ 36.485009] RIP [<ffffffffa0bb59f5>] osi_UFSOpen+0xb5/0x230 [openafs]
[ 36.485009] RSP <ffff880074557b38>
[ 36.485009] CR2: ffffffffffffff9c
[ 36.485009] ---[ end trace 35b38bf2a30a7a3a ]---

I don't know how to fix this.... is this a bug of kernel or openafs

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu openafs Edit question
Assignee:
No assignee Edit question
Solved by:
bagr
Solved:
2009-08-20
Last query:
2009-08-20
Last reply:
2009-08-19

Please consider to report a bug from here... https://bugs.launchpad.net/ubuntu/+source/openafs/+filebug

Thank you

Evan Broder (broder) said : #2

I know it looks bad, but are you sure that's an error and not just extra spew? Did you try using AFS after starting it?

bagr (bagrx) said : #3

i solved the problem....
the problem was a openafs cache, because i use xfs fs for on my / which is not supported in openafs i have extra file ext3 file mouted on /var/cache/openafs. With this file was probably something wrong. I made a new one and now openafs is working.

Thanks to all.