[linux-cifs-client] Re: DFS progress

Steve French smfrench at gmail.com
Mon May 19 03:23:27 GMT 2008


The oops is happening with cifs's dns_resolve.c requesting a key (the
helper is not present, nor configured in the key conf file - but that
should not oops).  With the keys debug turned on I see

 fs/cifs/netmisc.c: address conversion returned 0 for localhost
==> request_key_and_link(dns_resolver,localhost,f8d497b7,0,00000000,00000000,0)
==> construct_alloc_key(dns_resolver,localhost,,,)
<== construct_alloc_key() = 0 [586229196]
==> construct_key(586229196,f8d497b7,0,00000000)
==> request_key_auth_new(586229196,)
<== request_key_auth_new() = {301619749}
==> call_sbin_request_key({586229196},{301619749},create)
BUG: unable to handle kernel NULL pointer dereference at 00000004
IP: [<c02b3dfb>] call_sbin_request_key+0x167/0x25c
*pde = 00000000
Oops: 0000 [#1] SMP
Modules linked in: cifs

Pid: 5562, comm: bash Not tainted (2.6.26-rc2 #5)
EIP: 0060:[<c02b3dfb>] EFLAGS: 00210246 CPU: 1
EIP is at call_sbin_request_key+0x167/0x25c
EAX: 00000000 EBX: 00000000 ECX: fffffffb EDX: f5d81bc6
ESI: f5d85810 EDI: f5d81ca0 EBP: f5d81d2c ESP: f5d81c84
 DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process bash (pid: 5562, ti=f5d80000 task=f5d85810 task.ti=f5d80000)
Stack: c0636591 f7883468 f669de00 f669da00 f6690030 f5d81ca8 f669de08 f5d80030
       c04e7647 f5d81cd8 00000000 f5d81ccc c02b0c36 f79da5c0 f669dfc4 00000000
       00000000 00000000 00000000 f669df80 f5d81ce8 c011f9a2 7165725f 3638352e
Call Trace:
 [<c04e7647>] ? mutex_lock+0xe/0x1e
 [<c02b0c36>] ? __key_instantiate_and_link+0x8b/0xa5
 [<c011f9a2>] ? printk+0x15/0x17
 [<c02b4249>] ? request_key_auth_new+0x19a/0x221
 [<c02b3c94>] ? call_sbin_request_key+0x0/0x25c
 [<c02b3b34>] ? request_key_and_link+0x2ac/0x31d
 [<c02b3f1b>] ? request_key+0x2b/0x58
 [<f8d39c11>] ? dns_resolve_server_name_to_ip+0x229/0x248 [cifs]
 [<c011f9a2>] ? printk+0x15/0x17
 [<f8d39f5f>] ? cifs_dfs_follow_mountpoint+0x2d4/0x649 [cifs]
 [<c01673ac>] ? do_lookup+0x4f/0x140
 [<c0173bea>] ? mnt_drop_write+0x1d/0xb7
 [<c0168b02>] ? __link_path_walk+0x81c/0xb0b
 [<c04e70d5>] ? schedule+0x591/0x5c3
 [<c0168e3d>] ? path_walk+0x4c/0x9b
 [<c01690dc>] ? do_path_lookup+0x11f/0x13a
 [<c01698fa>] ? __user_walk_fd+0x2f/0x48
 [<c0163e3d>] ? vfs_stat_fd+0x19/0x40
 [<c0163f13>] ? vfs_stat+0x11/0x13
 [<c0163f29>] ? sys_stat64+0x14/0x28
 [<c01036c9>] ? sysenter_past_esp+0x6a/0x91
 [<c04e0000>] ? pci_fixup_i450nx+0x21/0xac
 =======================
Code: ff ff 57 e8 13 6d 01 00 8b 86 ac 02 00 00 83 c4 0c 83 b8 a0 01
00 00 00 74 08 8b 80 a0 01 00 00 eb 09 8b 86 e4 01 00 00 8b 40 24 <8b>
40 04 8d 5d 80 50 68 ee 6e 64 c0 53 e8 de 6c 01 00 8b 85 58
EIP: [<c02b3dfb>] call_sbin_request_key+0x167/0x25c SS:ESP 0068:f5d81c84
---[ end trace 8e166640e59bad2b ]---





-- 
Thanks,

Steve


More information about the linux-cifs-client mailing list