On Fri, 20 Jul 2007 12:35:53 +0200 (CEST)
Markus Hennecke <[EMAIL PROTECTED]> wrote:

> > # bioctl ciss0
> > bioctl: Can't locate ciss0 device via /dev/bio
> 
> The cause is that the ciss_inquiry struct returned by the firmware
> has the member buswidth set to 0 (zero). So the physical drives do
> not get probed by the driver. If you set this to some other value
> (the original value in the last firmware versions was 16) the
> "Identify Drive" commands will fail. If you change the addressing
> mode from the "Big Bit" method to the old scheme the drives can be
> queried. I hacked up a small patch that made it "work" for the
> servers used in our project (DL 380 G5). I attach it here, but beware
> that it has some problems:
> 
> 1. Drives that are identified by the scsi id 0:0.0 do not display the 
> right status. We do not have a drive there, so I did not look into
> that for longer (no time for "beauty work").
> 
> 2. I had to check the drive present bit and would add only those
> drives that were present on driver initialisation. Else the bioctl
> would show all drives as "Invalid" (with exception to the one that
> would get the id 0:0.0).
> 
> Overall it is only a quick and dirty hack to make it work. I try to
> look into that because I will have the servers here available a
> little bit longer, but I can't promise that. The other parts of the
> overall project are eating up all my time...
> 
> So this is the hack, I checked the functionality by removing one of
> the drives and reinserting it. All seems to work ok with the
> exceptions mentioned above. You can even mark a drive via bioctl. The
> patch is against 4.1-stable, dmesg and bioctl output follows below.
> There is a similar system with 5 HDs in a RAID 5 that works too. Use
> this at your own risk:


This is good news, thanks a lot. I will test it next week.

However, if there is a developer interested in getting this quick
fix more beautiful, I could enable remote login on one of our
machines for testing and developing. Please contact me off list.

Thanks,

-- 

 Stephan A. Rickauer

 -----------------------------------------------------------
 Institute of Neuroinformatics         Tel  +41 44 635 30 50
 University / ETH Zurich               Sec  +41 44 635 30 52
 Winterthurerstrasse 190               Fax  +41 44 635 30 53
 CH-8057 Zurich                        Web  www.ini.unizh.ch

 RSA public key:  https://www.ini.uzh.ch/~stephan/pubkey.asc
 -----------------------------------------------------------

Reply via email to