for 2.5.50, sysfs works wrong in some cases
PATCH 1/1 for 2.5.50, sysfs works wrong in some cases
Hello!
I've just found that 2.5.50 can't open root device specified in 'root=/dev/sda3' form. As for me, following patch solves problem:
drivers/block/genhd.c Thu Dec 5 18:17:27 2002 renamed from linux-2.5.50/drivers/block/genhd.c Mon Nov 11 06:28:13 2002 +0 -1
@@ -408,7 +408,6 @@ disk->minors = minors; while (minors >>= 1) disk->minor_shift++; - kobject_init(&disk->kobj); disk->kobj.subsys = &block_subsys; INIT_LIST_HEAD(&disk->full_list);
kobject_init() will be called from kobject_register().
with best, regards