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

Jens Axboe
2002-07-09T13:33:58Z

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