Re: 2.5.69-mm6: pccard oops while booting: round 2

From: Felipe Alfaro Solana (felipe_alfaro@linuxmail.org)
Date: Sat May 17 2003 - 07:36:38 EST


On Sat, 2003-05-17 at 13:39, Andrew Morton wrote:
> Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
> >
> > Unable to handle kernel paging request at virtual address fceec0d7
> > printing eip:
> > c016954f
> > *pde = 00000000
> > Oops: 0000 [#1]
> > CPU: 0
> > EIP: 0060:[<c016954f>] Not tainted VLI
> > EFLAGS: 00010246
> > EIP is at sys_create_link+0xcf/0x130
>
> bah. That's totally different :(
>
> But there seems to be a bug in there.
>
> --- 25/fs/sysfs/symlink.c~sysfs_create_link-fix 2003-05-17 04:34:50.000000000 -0700
> +++ 25-akpm/fs/sysfs/symlink.c 2003-05-17 04:34:56.000000000 -0700
> @@ -80,7 +80,7 @@ int sysfs_create_link(struct kobject * k
> char * s;
>
> depth = object_depth(kobj);
> - size = object_path_length(target) + depth * 3 - 1;
> + size = object_path_length(target) + depth * 3 + 1;
> if (size > PATH_MAX)
> return -ENAMETOOLONG;
> pr_debug("%s: depth = %d, size = %d\n",__FUNCTION__,depth,size);
>
> That probably won't fix it though.

I'm sorry to say the above patch doesn't fix the problem :-(

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



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:27 EST