Re: panic at boot with 2.5.25 with Jens's IDE patch

From: Jens Axboe (axboe@suse.de)
Date: Tue Jul 09 2002 - 08:36:38 EST


On Tue, Jul 09 2002, Roy Sigurd Karlsbakk wrote:
> hi all
>
> running (or trying to boot) 2.5.25, I get this little, cute panic :-)

Probably passing unitialized stuff to driversfs, please try and memset
gd in drivers/ide24/ide-probe.c:init_gendisk()

        gd = kmalloc (sizeof(struct gendisk), GFP_KERNEL);
        if (!gd)
                goto err_kmalloc_gd;
+ memset(gd, 0, sizeof(*gd));

pseudo patch. Does that work?

-- 
Jens Axboe

- 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 : Mon Jul 15 2002 - 22:00:15 EST