Re: [BUG-2.5.24-BK] DriverFS panics on boot!

From: Andre Hedrick (andre@linux-ide.org)
Date: Thu Jul 04 2002 - 17:20:10 EST


James,

The whole reason for my replacement was to add driverfs to IDE and remove
devfs and ultimately "de-gooch" the kernel. So we are nearly 100 patches
in and the primary reason for ousting is still a failure, NICE!

On Thu, 4 Jul 2002, James Bottomley wrote:

> Er, oops, I think this one's my fault.
>
> The recent driverfs additions for SCSI also added partition handling in
> driverfs. The code is slightly more invasive than it should be so the IDE
> driver needs to know how to use it (which it doesn't yet). In theory there's
> a NULL pointer check in driverfs_create_partitions for precisely this case,
> but it looks like the IDE code is forgetting to zero out a kmalloc of a struct
> gendisk somewhere (hence the 5a5a... contents). At a cursory glance, this
> seems to be in ide/probe.c, so does the attached patch fix it?
>
> I'll try to reproduce, but I'm all SCSI here except for my laptop.
>
> James
>
>

Andre Hedrick
LAD Storage Consulting Group

-
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 : Sun Jul 07 2002 - 22:00:13 EST