Re: Linux 2.6.3-rc1

From: Bartlomiej Zolnierkiewicz
Date: Mon Feb 09 2004 - 07:58:03 EST


On Monday 09 of February 2004 03:40, Andre Tomt wrote:
> Bartlomiej Zolnierkiewicz wrote:
> > Ok thanks, I got the same dump. I think the problem is that memory used
> > by previously registered ide_pci_host_proc_list entry (for pdc202xx_new
> > driver) is already unmapped because of __initdata in pdc202xx_new.h.
> > (This doesn't happen in built-in case because this memory is freed after
> > all drivers are initialized.)
> >
> > Does this patch help?
>
> Ahh, indeed it does, _but_
>
> pdc202xx_old seems to have the same bug, making via82cxxx crash later on
> instead.
>
> Doing the same change to pdc202xx_old.h (removing __initdata) fixes this
> case too :-)

Yes, __initdata needs to be removed from every ide_pci_proc_host_t.
I will make a patch and submit it to Linus.

Thanks!
--bart

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