Re: 2.5.68 oops booting with initrd

From: Christoph Hellwig (hch@infradead.org)
Date: Mon Apr 21 2003 - 11:40:53 EST


On Mon, Apr 21, 2003 at 08:50:17AM -0700, Kevin P. Fleming wrote:
> The patch you supplied (check disk->minors != 1 before calling
> devfs_remove_partitions) did not apply do 2.5.68; the code in
> fs/partitions/check.c has changed since your base version. However,
> hand-editing to do the same check has solved the problem.
>
> I'll Christoph supply a patch, since he's the one that's been working in
> that whole devfs area.

And 2.5.58-bk1 is completly different again but should have fixed it.

Make sure you apply the following diff when using devfs, though:

--- 1.1/fs/partitions/devfs.c Sat Apr 19 20:57:36 2003
+++ edited/fs/partitions/devfs.c Mon Apr 21 17:11:33 2003
@@ -81,7 +81,7 @@
 {
         char dirname[64], symlink[16];
 
- if (disk->devfs_name[0] != '\0')
+ if (disk->devfs_name[0] == '\0')
                 sprintf(disk->devfs_name, "%s/disc%d", disk->disk_name,
                                 disk->first_minor >> disk->minor_shift);
 
-
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 : Wed Apr 23 2003 - 22:00:29 EST