[1417] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Bug and fix in sd.c from kernel 2.0.29

daemon@ATHENA.MIT.EDU (Kevin Ruland)
Tue Feb 11 16:54:03 1997

Date: 	Tue, 11 Feb 97 15:48:50 CST
From: kevin@rodin.wustl.edu (Kevin Ruland)
To: linux-scsi@vger.rutgers.edu


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

home help back first fref pref prev next nref lref last post