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

Jens Axboe (axboe@suse.de)
Tue, 9 Jul 2002 15:36:38 +0200


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/