Re: 2.5.68 oops booting with initrd

From: Herbert Xu (herbert@gondor.apana.org.au)
Date: Sun Apr 20 2003 - 18:45:54 EST


Kevin P. Fleming <kpfleming@cox.net> wrote:
> Very small and simple kernel configuration (includes devfs, which is
> where this problem came from), using Etherboot to load it along with a
> small (768K) initrd.

> Call Trace:
> [<c0114000>] default_wake_function+0x0/0x20
> [<c01099cc>] __down_failed+0x8/0xc
> [<c01772d9>] .text.lock.util+0x55/0x7c

This should fix it.

-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
Index: fs/partitions/check.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/fs/partitions/check.c,v
retrieving revision 1.1.1.8
retrieving revision 1.6
diff -u -r1.1.1.8 -r1.6
--- fs/partitions/check.c	7 Apr 2003 17:32:48 -0000	1.1.1.8
+++ fs/partitions/check.c	13 Apr 2003 00:15:54 -0000	1.6
@@ -414,7 +414,8 @@
 	unlink_gendisk(disk);
 	disk_stat_set_all(disk, 0);
 	disk->stamp = disk->stamp_idle = 0;
-	devfs_remove_partitions(disk);
+	if (disk->minors != 1)
+		devfs_remove_partitions(disk);
 	if (disk->driverfs_dev) {
 		sysfs_remove_link(&disk->kobj, "device");
 		sysfs_remove_link(&disk->driverfs_dev->kobj, "block");
-
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:28 EST