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

Anton Altaparmakov (aia21@cantab.net)
Thu, 04 Jul 2002 16:55:23 +0100


At 16:41 04/07/02, 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.

Your patch fixed it. Please submit to Linus!

Best regards,

Anton

-- 
   "I've not lost my mind. It's backed up on tape somewhere." - Unknown
-- 
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS Maintainer / IRC: #ntfs on irc.openprojects.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/

- 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/