Bug 5953

Summary: easyRAID F8 IDE2SCSI adaptor problems with reporting too many luns
Product: SCSI Drivers Reporter: Hans-Christian Armingeon (mog.johnny)
Component: OtherAssignee: Mike Anderson (andmike)
Status: CLOSED CODE_FIX    
Severity: normal CC: akpm, bunk, jejb, protasnb
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.14 Subsystem:
Regression: --- Bisected commit-id:
Attachments: dmesg from kernel 2.6.14 where the problem occurs
dmesg of kernel 2.6.13.5 which works
dmesg 2.6.15.1
dmesg-2.6.16 rc1 git4

Description Hans-Christian Armingeon 2006-01-25 06:16:59 UTC
Most recent kernel where this bug did not occur: 2.6.13.5       
Distribution: gentoo amd64/2005.0       
Hardware Environment:       
Tyan S2882       
onboard Adaptec AIC7902       
easyRAID F8 IDE2SCSI adaptor       
      
Software Environment:       
Problem Description:       
The EasyRAID F8 IDE2SCSI adaptor is reporting too many luns and is not  
accessible.  
  
Steps to reproduce:       
boot kernel 2.6.14 with an easyRaid F8.  
I think the problem is related to the domain validation in the U320 SCSI spec,  
and maybe a bios bug in the easyraid F8.
Comment 1 Hans-Christian Armingeon 2006-01-25 06:19:37 UTC
Created attachment 7132 [details]
dmesg from kernel 2.6.14 where the problem occurs
Comment 2 Hans-Christian Armingeon 2006-01-25 06:21:04 UTC
Created attachment 7134 [details]
dmesg of kernel 2.6.13.5 which works
Comment 3 Adrian Bunk 2006-01-25 07:32:36 UTC
*** Bug 5952 has been marked as a duplicate of this bug. ***
Comment 4 Hans-Christian Armingeon 2006-02-07 13:55:15 UTC
Created attachment 7268 [details]
dmesg 2.6.15.1
Comment 5 Hans-Christian Armingeon 2006-02-07 13:56:30 UTC
Created attachment 7269 [details]
dmesg-2.6.16 rc1 git4
Comment 6 Hans-Christian Armingeon 2006-02-07 13:57:38 UTC
What can I do to speed up the process of fixing this bug? 
 
Many thanks in advance, 
 
Johnny 
Comment 7 Hans-Christian Armingeon 2006-02-07 14:02:42 UTC
Well, here seems to be a fix:  
  
https://www.linux-community.de/Neues/story?storyid=14588  
  
it is written german, but the most interesting thing is written in C ;-) 
It seems, that drivers/scsi/scsi_devinfo.c needs to be patched. 
  
 143 {"EMULEX", "MD21/S2 ESDI", NULL, BLIST_SINGLELUN},  
 144 {"easyRAID", "16P", NULL, BLIST_NOREPORTLUN},  
 145 {"easyRAID", "X6P", NULL, BLIST_NOREPORTLUN},  
 146 {"easyRAID", "F8", NULL, BLIST_NOREPORTLUN},  
 147 {"FSC", "CentricStor", "*", BLIST_SPARSELUN | BLIST_LARGELUN  
 
Could you please apply this patch, as it seems to fix the problem? 
 
Many thanks in advance, 
 
Johnny 
Comment 8 Natalie Protasevich 2007-07-22 17:53:55 UTC
The patch needs to be revised. 
Thanks.
Comment 9 Andrew Morton 2007-07-27 13:37:04 UTC
I queued this in -mm as scsi-blacklist-the-easyraid-f8-ide2scsi-adaptor.patch for the scsi people to consider.

It would be useful if you could confirm that this fix still works and is still needed in current kernels, thanks.
Comment 10 Adrian Bunk 2007-09-16 17:16:40 UTC
Patch is in 2.6.23-rc.