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

Felipe Alfaro Solana
2003-05-17T12:24:03Z

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 :-(