[OpenAFS] Re: OpenAFS kernel panic

Jack Neely jjneely@pams.ncsu.edu
Mon, 29 Oct 2012 14:44:15 -0400


--pZs/OQEoSSbxGlYw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Oct 26, 2012 at 01:52:24PM -0500, Andrew Deason wrote:
> On Fri, 26 Oct 2012 09:30:30 -0400
> Jack Neely <jjneely@pams.ncsu.edu> wrote:
> 
> > Had an OpenAFS 1.6.1 client crash last night and I received the
> > following screenshot of the kernel panic.
> > 
> >     https://lh6.googleusercontent.com/-LgYESh-n4zI/UIpsIQv1UPI/AAAAAAAADTQ/DTbWGpa1L1w/s869/uni01ftp-20121026.jpg
> 
> You can save us a little time by providing the disassembly of afs_Conn.
> You can get this by running
> 
> objdump -d -r /path/to/libafs.ko > /some/file

Attached.
 
> And trimming the output to just contain the section that starts with
> "<afs_Conn>:".
> 
> It's also better to get more of the output, a little above that cutoff.
> If the screenshot is all you have, obviously there's nothing you can do,
> but if that stuff was logged anywhere, it'd be good to see.

Alas, the screenshot is all I have, nothing was present in the logs.

Jack
 
> I think CR2 gives the access address, though? 0x30 seems plausible...

-- 
Jack Neely <jjneely@ncsu.edu>
Linux Czar, OIT Campus Linux Services
Office of Information Technology, NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4  EA6B 213B 765F 3B6A 5B89

--pZs/OQEoSSbxGlYw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="afs_Conn.dump"


0000000000029600 <afs_Conn>:
   29600:	55                   	push   %rbp
   29601:	48 89 e5             	mov    %rsp,%rbp
   29604:	41 57                	push   %r15
   29606:	41 56                	push   %r14
   29608:	41 55                	push   %r13
   2960a:	41 54                	push   %r12
   2960c:	53                   	push   %rbx
   2960d:	48 83 ec 38          	sub    $0x38,%rsp
   29611:	e8 00 00 00 00       	callq  29616 <afs_Conn+0x16>
   29616:	48 c7 01 00 00 00 00 	movq   $0x0,(%rcx)
   2961d:	41 89 d6             	mov    %edx,%r14d
   29620:	ba 01 00 00 00       	mov    $0x1,%edx
   29625:	83 05 00 00 00 00 01 	addl   $0x1,0x0(%rip)        # 2962c <afs_Conn+0x2c>
   2962c:	48 89 4d c8          	mov    %rcx,-0x38(%rbp)
   29630:	49 89 fc             	mov    %rdi,%r12
   29633:	49 89 f5             	mov    %rsi,%r13
   29636:	e8 00 00 00 00       	callq  2963b <afs_Conn+0x3b>
   2963b:	48 85 c0             	test   %rax,%rax
   2963e:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
   29642:	0f 84 74 02 00 00    	je     298bc <afs_Conn+0x2bc>
   29648:	4c 8b 78 48          	mov    0x48(%rax),%r15
   2964c:	4d 85 ff             	test   %r15,%r15
   2964f:	0f 84 41 02 00 00    	je     29896 <afs_Conn+0x296>
   29655:	49 8b 57 40          	mov    0x40(%r15),%rdx
   29659:	48 85 d2             	test   %rdx,%rdx
   2965c:	0f 84 34 02 00 00    	je     29896 <afs_Conn+0x296>
   29662:	44 0f b7 42 68       	movzwl 0x68(%rdx),%r8d
   29667:	8b 90 b0 00 00 00    	mov    0xb0(%rax),%edx
   2966d:	85 d2                	test   %edx,%edx
   2966f:	75 5f                	jne    296d0 <afs_Conn+0xd0>
   29671:	4d 85 ff             	test   %r15,%r15
   29674:	74 5a                	je     296d0 <afs_Conn+0xd0>
   29676:	49 8b 5f 60          	mov    0x60(%r15),%rbx
   2967a:	f6 43 30 20          	testb  $0x20,0x30(%rbx)
   2967e:	75 50                	jne    296d0 <afs_Conn+0xd0>
   29680:	41 80 7d 12 00       	cmpb   $0x0,0x12(%r13)
   29685:	0f 8e 21 02 00 00    	jle    298ac <afs_Conn+0x2ac>
   2968b:	41 80 7d 13 01       	cmpb   $0x1,0x13(%r13)
   29690:	74 3e                	je     296d0 <afs_Conn+0xd0>
   29692:	48 85 db             	test   %rbx,%rbx
   29695:	74 39                	je     296d0 <afs_Conn+0xd0>
   29697:	f6 80 2a 01 00 00 01 	testb  $0x1,0x12a(%rax)
   2969e:	48 89 c2             	mov    %rax,%rdx
   296a1:	41 bf ff ff ff ff    	mov    $0xffffffff,%r15d
   296a7:	0f 84 55 01 00 00    	je     29802 <afs_Conn+0x202>
   296ad:	48 83 7a 48 00       	cmpq   $0x0,0x48(%rdx)
   296b2:	0f 84 4d 01 00 00    	je     29805 <afs_Conn+0x205>
   296b8:	41 83 c7 01          	add    $0x1,%r15d
   296bc:	48 83 c2 08          	add    $0x8,%rdx
   296c0:	41 83 ff 0c          	cmp    $0xc,%r15d
   296c4:	75 e7                	jne    296ad <afs_Conn+0xad>
   296c6:	e9 3a 01 00 00       	jmpq   29805 <afs_Conn+0x205>
   296cb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)
   296d0:	4d 8d 5d 13          	lea    0x13(%r13),%r11
   296d4:	45 31 d2             	xor    %r10d,%r10d
   296d7:	41 b9 ff ff ff ff    	mov    $0xffffffff,%r9d
   296dd:	0f 1f 00             	nopl   (%rax)
   296e0:	4c 89 df             	mov    %r11,%rdi
   296e3:	31 f6                	xor    %esi,%esi
   296e5:	31 db                	xor    %ebx,%ebx
   296e7:	eb 46                	jmp    2972f <afs_Conn+0x12f>
   296e9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
   296f0:	80 3f 01             	cmpb   $0x1,(%rdi)
   296f3:	74 23                	je     29718 <afs_Conn+0x118>
   296f5:	8b 94 30 b0 00 00 00 	mov    0xb0(%rax,%rsi,1),%edx
   296fc:	41 39 d2             	cmp    %edx,%r10d
   296ff:	74 5f                	je     29760 <afs_Conn+0x160>
   29701:	44 8d 7a f9          	lea    -0x7(%rdx),%r15d
   29705:	41 83 ff 01          	cmp    $0x1,%r15d
   29709:	0f 86 b1 00 00 00    	jbe    297c0 <afs_Conn+0x1c0>
   2970f:	83 fa 09             	cmp    $0x9,%edx
   29712:	0f 84 c8 00 00 00    	je     297e0 <afs_Conn+0x1e0>
   29718:	48 83 c6 04          	add    $0x4,%rsi
   2971c:	48 83 c7 01          	add    $0x1,%rdi
   29720:	48 83 fe 34          	cmp    $0x34,%rsi
   29724:	0f 84 7e 00 00 00    	je     297a8 <afs_Conn+0x1a8>
   2972a:	4c 8b 7c 70 48       	mov    0x48(%rax,%rsi,2),%r15
   2972f:	4d 85 ff             	test   %r15,%r15
   29732:	74 74                	je     297a8 <afs_Conn+0x1a8>
   29734:	0f be 90 2a 01 00 00 	movsbl 0x12a(%rax),%edx
   2973b:	83 e2 01             	and    $0x1,%edx
   2973e:	83 fa 01             	cmp    $0x1,%edx
   29741:	41 83 d9 ff          	sbb    $0xffffffffffffffff,%r9d
   29745:	41 80 7d 11 00       	cmpb   $0x0,0x11(%r13)
   2974a:	7f a4                	jg     296f0 <afs_Conn+0xf0>
   2974c:	41 80 7d 12 00       	cmpb   $0x0,0x12(%r13)
   29751:	7f 9d                	jg     296f0 <afs_Conn+0xf0>
   29753:	8b 94 30 b0 00 00 00 	mov    0xb0(%rax,%rsi,1),%edx
   2975a:	41 39 d2             	cmp    %edx,%r10d
   2975d:	75 a2                	jne    29701 <afs_Conn+0x101>
   2975f:	90                   	nop
   29760:	49 8b 57 60          	mov    0x60(%r15),%rdx
   29764:	48 85 d2             	test   %rdx,%rdx
   29767:	74 af                	je     29718 <afs_Conn+0x118>
   29769:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
   29770:	f6 42 30 20          	testb  $0x20,0x30(%rdx)
   29774:	75 14                	jne    2978a <afs_Conn+0x18a>
   29776:	48 85 db             	test   %rbx,%rbx
   29779:	74 0c                	je     29787 <afs_Conn+0x187>
   2977b:	44 0f b7 7b 2c       	movzwl 0x2c(%rbx),%r15d
   29780:	66 44 3b 7a 2c       	cmp    0x2c(%rdx),%r15w
   29785:	76 03                	jbe    2978a <afs_Conn+0x18a>
   29787:	48 89 d3             	mov    %rdx,%rbx
   2978a:	48 8b 52 08          	mov    0x8(%rdx),%rdx
   2978e:	48 85 d2             	test   %rdx,%rdx
   29791:	75 dd                	jne    29770 <afs_Conn+0x170>
   29793:	48 83 c6 04          	add    $0x4,%rsi
   29797:	48 83 c7 01          	add    $0x1,%rdi
   2979b:	48 83 fe 34          	cmp    $0x34,%rsi
   2979f:	75 89                	jne    2972a <afs_Conn+0x12a>
   297a1:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
   297a8:	41 83 c2 01          	add    $0x1,%r10d
   297ac:	48 85 db             	test   %rbx,%rbx
   297af:	75 47                	jne    297f8 <afs_Conn+0x1f8>
   297b1:	41 83 fa 06          	cmp    $0x6,%r10d
   297b5:	7f 41                	jg     297f8 <afs_Conn+0x1f8>
   297b7:	4c 8b 78 48          	mov    0x48(%rax),%r15
   297bb:	e9 20 ff ff ff       	jmpq   296e0 <afs_Conn+0xe0>
   297c0:	45 8b 7d 04          	mov    0x4(%r13),%r15d
   297c4:	45 85 ff             	test   %r15d,%r15d
   297c7:	0f 85 4b ff ff ff    	jne    29718 <afs_Conn+0x118>
   297cd:	41 c7 45 04 01 00 00 	movl   $0x1,0x4(%r13)
   297d4:	00 
   297d5:	e9 3e ff ff ff       	jmpq   29718 <afs_Conn+0x118>
   297da:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
   297e0:	41 80 7d 0e 00       	cmpb   $0x0,0xe(%r13)
   297e5:	0f 85 2d ff ff ff    	jne    29718 <afs_Conn+0x118>
   297eb:	41 c6 45 0e 01       	movb   $0x1,0xe(%r13)
   297f0:	e9 23 ff ff ff       	jmpq   29718 <afs_Conn+0x118>
   297f5:	0f 1f 00             	nopl   (%rax)
   297f8:	41 83 f9 ff          	cmp    $0xffffffffffffffff,%r9d
   297fc:	0f 84 95 fe ff ff    	je     29697 <afs_Conn+0x97>
   29802:	45 31 ff             	xor    %r15d,%r15d
   29805:	66 83 a8 28 01 00 00 	subw   $0x1,0x128(%rax)
   2980c:	01 
   2980d:	48 85 db             	test   %rbx,%rbx
   29810:	74 73                	je     29885 <afs_Conn+0x285>
   29812:	41 8b 7d 00          	mov    0x0(%r13),%edi
   29816:	41 8b 34 24          	mov    (%r12),%esi
   2981a:	ba 04 00 00 00       	mov    $0x4,%edx
   2981f:	48 89 4d c8          	mov    %rcx,-0x38(%rbp)
   29823:	44 89 45 c0          	mov    %r8d,-0x40(%rbp)
   29827:	e8 00 00 00 00       	callq  2982c <afs_Conn+0x22c>
   2982c:	44 8b 45 c0          	mov    -0x40(%rbp),%r8d
   29830:	48 8b 4d c8          	mov    -0x38(%rbp),%rcx
   29834:	49 89 c5             	mov    %rax,%r13
   29837:	41 8b 14 24          	mov    (%r12),%edx
   2983b:	41 b9 01 00 00 00    	mov    $0x1,%r9d
   29841:	48 89 df             	mov    %rbx,%rdi
   29844:	44 89 7c 24 08       	mov    %r15d,0x8(%rsp)
   29849:	44 89 34 24          	mov    %r14d,(%rsp)
   2984d:	41 0f b7 f0          	movzwl %r8w,%esi
   29851:	48 89 4c 24 10       	mov    %rcx,0x10(%rsp)
   29856:	45 31 c0             	xor    %r8d,%r8d
   29859:	48 89 c1             	mov    %rax,%rcx
   2985c:	e8 00 00 00 00       	callq  29861 <afs_Conn+0x261>
   29861:	be 04 00 00 00       	mov    $0x4,%esi
   29866:	4c 89 ef             	mov    %r13,%rdi
   29869:	48 89 45 c8          	mov    %rax,-0x38(%rbp)
   2986d:	e8 00 00 00 00       	callq  29872 <afs_Conn+0x272>
   29872:	48 8b 45 c8          	mov    -0x38(%rbp),%rax
   29876:	48 83 c4 38          	add    $0x38,%rsp
   2987a:	5b                   	pop    %rbx
   2987b:	41 5c                	pop    %r12
   2987d:	41 5d                	pop    %r13
   2987f:	41 5e                	pop    %r14
   29881:	41 5f                	pop    %r15
   29883:	c9                   	leaveq 
   29884:	c3                   	retq   
   29885:	48 83 c4 38          	add    $0x38,%rsp
   29889:	31 c0                	xor    %eax,%eax
   2988b:	5b                   	pop    %rbx
   2988c:	41 5c                	pop    %r12
   2988e:	41 5d                	pop    %r13
   29890:	41 5e                	pop    %r14
   29892:	41 5f                	pop    %r15
   29894:	c9                   	leaveq 
   29895:	c3                   	retq   
   29896:	83 05 00 00 00 00 01 	addl   $0x1,0x0(%rip)        # 2989d <afs_Conn+0x29d>
   2989d:	41 b8 1b 58 00 00    	mov    $0x581b,%r8d
   298a3:	4c 8b 78 48          	mov    0x48(%rax),%r15
   298a7:	e9 bb fd ff ff       	jmpq   29667 <afs_Conn+0x67>
   298ac:	41 80 7d 11 00       	cmpb   $0x0,0x11(%r13)
   298b1:	0f 8f d4 fd ff ff    	jg     2968b <afs_Conn+0x8b>
   298b7:	e9 d6 fd ff ff       	jmpq   29692 <afs_Conn+0x92>
   298bc:	4d 85 ed             	test   %r13,%r13
   298bf:	90                   	nop
   298c0:	74 c3                	je     29885 <afs_Conn+0x285>
   298c2:	4c 89 ef             	mov    %r13,%rdi
   298c5:	e8 00 00 00 00       	callq  298ca <afs_Conn+0x2ca>
   298ca:	41 c6 45 0e 01       	movb   $0x1,0xe(%r13)
   298cf:	31 c0                	xor    %eax,%eax
   298d1:	eb a3                	jmp    29876 <afs_Conn+0x276>
   298d3:	90                   	nop
   298d4:	90                   	nop
   298d5:	90                   	nop
   298d6:	90                   	nop
   298d7:	90                   	nop
   298d8:	90                   	nop
   298d9:	90                   	nop
   298da:	90                   	nop
   298db:	90                   	nop
   298dc:	90                   	nop
   298dd:	90                   	nop
   298de:	90                   	nop
   298df:	90                   	nop


--pZs/OQEoSSbxGlYw--