Bug and fix for sd.c in kernel 2.0.29
Kevin Ruland (kevin@rodin.wustl.edu)
Tue, 11 Feb 97 15:50:45 CST
I am reporting a bug and fix in sd.c from linux 2.0.29. It seems that
when a scsi disk with bad block size is detected it isn't properly removed
from the valid drive list. check_partition (in genhd.c) is called and
the whole boot process goes crazy.
I have traced the problem to the routine sd_init_onedisk( int ) in sd.c
insert at line 1210 (after sd_template.nr_dev--;)
sd_gendisk.nr_real--;
Thanks.
Kevin Ruland
kevin@rodin.wustl.edu