[OpenAFS] Linux 3.11 oopses in Ck_Srv_SetTime() when network connection dies

Ryan C. Underwood nemesis@icequake.net
Wed, 2 Jul 2014 19:24:46 -0700


--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


Anyone seeing this oops with recent kernels?  This started after I
upgraded the Ubuntu distribution on my laptop.  It doesn't happen
every time; usually only when a reboot would be inconvenient. :-)  I
have only observed it happening when my wireless link goes dead
(either momentarily due to loss of signal or deliberately because I
used the rfkill switch).

Kernel is Ubuntu linux-3.11.0-23-generic
OpenAFS is 1.6.9 from Ubuntu

kernel NULL pointer dereference at 0000000000000010
kernel: [316431.200220] IP: [<ffffffffa078dd50>] afs_LoopServers+0x480/0x81=
0 [openafs]
kernel: [316431.200223] PGD 0=20
kernel: [316431.200226] Oops: 0000 [#1] SMP=20
kernel: [316431.200286] Modules linked in: nls_utf8 isofs iwl4965 snd_hrtim=
er appletalk psnap openafs(POF) pci_stub vboxpci(OF) vboxnetadp(OF) vboxnet=
flt(OF) vboxdrv(OF) ipt_MASQUERADE=20
iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrac=
k nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp bridge stp l=
lc ip6table_filter ip6_tables iptable_filter ip_tables ebt
able_nat ebtables x_tables bnep rfcomm bluetooth binfmt_misc ext2 kvm_intel=
 kvm hp_wmi sparse_keymap snd_hda_codec_conexant uvcvideo snd_hda_intel vid=
eobuf2_vmalloc videobuf2_memops arc4 videobuf2_core snd_hd
a_codec videodev snd_hwdep iwlegacy snd_pcm snd_page_alloc snd_seq_midi joy=
dev mac80211 snd_seq_midi_event snd_rawmidi microcode snd_seq snd_seq_devic=
e snd_timer dm_multipath cfg80211 psmouse snd soundcore se
rio_raw scsi_dh r852 r592 sm_common nand nand_bch nand_ids memstick lpc_ich=
 bch mac_hid parport_pc ppdev sm_ftl mtd_blkdevs nand_ecc mtd coretemp fire=
wire_sbp2 lp parport dm_crypt nbd xts gf128mul hid_generic
 usbhid hid firewire_ohci ahci libahci sdhci_pci sdhci firewire_core crc_it=
u_t i915 wmi video i2c_algo_bit drm_kms_helper drm sky2 [last unloaded: iwl=
4965]
kernel: [316431.200308] CPU: 1 PID: 3720 Comm: afs_checkserver Tainted: PF =
      W  O 3.11.0-23-generic #40-Ubuntu
kernel: [316431.200309] Hardware name: Hewlett-Packard HP Pavilion dv2700 N=
otebook PC/30CD, BIOS F.2E 12/01/2008
kernel: [316431.200310] task: ffff88023285aee0 ti: ffff880230abc000 task.ti=
: ffff880230abc000
kernel: [316431.200324] RIP: 0010:[<ffffffffa078dd50>]  [<ffffffffa078dd50>=
] afs_LoopServers+0x480/0x810 [openafs]
kernel: [316431.200326] RSP: 0000:ffff880230abdd50  EFLAGS: 00010246
kernel: [316431.200327] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00=
0000000845695d
kernel: [316431.200327] RDX: 000000000845695c RSI: 0000000000000032 RDI: ff=
ffffffa07e1360
kernel: [316431.200328] RBP: ffff880230abde68 R08: 0000000000017300 R09: ff=
ff88023fd17300
kernel: [316431.200329] R10: ffffea00044e4d40 R11: ffffffffa0765e59 R12: ff=
ff8800958817e0
kernel: [316431.200330] R13: ffff8800958811e0 R14: ffff8800b7c63780 R15: 00=
00000000000001
kernel: [316431.200331] FS:  0000000000000000(0000) GS:ffff88023fd00000(000=
0) knlGS:0000000000000000
kernel: [316431.200333] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
kernel: [316431.200334] CR2: 0000000000000010 CR3: 0000000001c0e000 CR4: 00=
000000000007e0
kernel: [316431.200334] Stack:
kernel: [316431.200337]  0000000000000004 ffff880200000000 ffff880230abddd8=
 ffff88023285aee0
kernel: [316431.200339]  ffff880095881cc0 000000000000002c 0000000000000058=
 ffff8800958811e0
kernel: [316431.200341]  ffff8800958817e0 0000000000000058 0000000130abddb8=
 ffff8800b7c63780
kernel: [316431.200342] Call Trace:
kernel: [316431.200357]  [<ffffffffa078d080>] ? CkSrv_SetTime+0x680/0x680 [=
openafs]
kernel: [316431.200372]  [<ffffffffa078e11a>] afs_CheckServers+0x3a/0x40 [o=
penafs]
kernel: [316431.200385]  [<ffffffffa0773f58>] afs_CheckServerDaemon+0x148/0=
x1a0 [openafs]
kernel: [316431.200399]  [<ffffffffa07c6710>] ? afs_linux_storeproc+0x160/0=
x160 [openafs]
kernel: [316431.200411]  [<ffffffffa07c6b70>] afsd_thread+0x460/0x720 [open=
afs]
kernel: [316431.200429]  [<ffffffffa07c6710>] ? afs_linux_storeproc+0x160/0=
x160 [openafs]
kernel: [316431.200434]  [<ffffffff810848e0>] kthread+0xc0/0xd0
kernel: [316431.200436]  [<ffffffff81084820>] ? kthread_create_on_node+0x12=
0/0x120
kernel: [316431.200439]  [<ffffffff816f976c>] ret_from_fork+0x7c/0xb0
kernel: [316431.200441]  [<ffffffff81084820>] ? kthread_create_on_node+0x12=
0/0x120
kernel: [316431.200459] Code: 49 8b 3c dc ba 04 00 00 00 48 83 c3 01 e8 a9 =
5d fe ff 41 39 df 7e 1f 41 83 3c 9e 01 75 dd 48 8b 85 48 ff ff ff 8b 35 14 =
4e 05 00 <48> 8b 78 10 e8 57 49 fc ff eb c5 48 8b 9d 30 ff ff ff 4c 89 e7=
=20
kernel: [316431.200472] RIP  [<ffffffffa078dd50>] afs_LoopServers+0x480/0x8=
10 [openafs]
kernel: [316431.200472]  RSP <ffff880230abdd50>
kernel: [316431.200473] CR2: 0000000000000010
kernel: [316431.208822] ---[ end trace b50487dbf78b0aef ]---

--=20
Ryan C. Underwood, <nemesis@icequake.net>

--C7zPtVaVf+AK4Oqc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iD8DBQFTtL7uIonHnh+67jkRAnPSAKCfXHSqSSZqUDnOGHoRiIDZh2OQkACdHzPn
AUattXcktUcV+2qzJn4VPQA=
=M1A9
-----END PGP SIGNATURE-----

--C7zPtVaVf+AK4Oqc--