lkml.org 
[lkml]   [1997]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBug and fix for sd.c in kernel 2.0.29

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

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.023 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site