Re: PROBLEM: 2.2.10 kernel oops - ncpfs

Petr Vandrovec Ing. VTEI (VANDROVE@vc.cvut.cz)
Mon, 21 Jun 1999 12:52:18 MET-1


Hi Valery, you wrote:
> Into kernel 2.2.10 appearance problem:
...
> [root@vlk TEMP]# ncopy 836E1806.ARJ TEST.ARJ
> [root@vlk TEMP]# ls TEST.ARJ
> Unable to handle kernel NULL pointer dereference at virtual address 0000009c
> current->tss.cr3 = 016e9000, %cr3 = 016e9000
> *pde = 00000000
...
> Call Trace: [<c0118f4a>] [<c01190cc>] [<c010cde3>] [<c0107b71>] [<c0118f0b>] [<c012e0e4>] [<c0129453>]
> [<c0129681>] [<c0129759>] [<c012787f>] [<c0107a6c>]
> [root@vlk TEMP]#
Could you feed oopses above through ksymoops or manually compare with
{/boot,}/System.map of your kernel? If problem is where I think it is, could
you go to line 354 in fs/ncpfs/dir.c and add these 5 lines:
@It is not real patch...
int len = dentry->d_name.len;
struct ncpfs_inode_info finfo;
__u8 __name[dentry->d_name.len + 1];

+ if (!dentry->d_inode) {
+ printk(KERN_ERR "Hmmm... Alexander, why you removed this?\n");
+ return 0;
+ }
+
server = NCP_SERVER(dir);

if (!ncp_conn_valid(server))
@Here it ends...
If it helps, tell me... If will not, tell me too.
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/