login
Header Space

 
 

Re: 2.6.23-rc9 boot failure (megaraid?)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Adrian Bunk <bunk@...>
Cc: Burton Windle <bwindle@...>, <linux-kernel@...>, Jens Axboe <jens.axboe@...>, FUJITA Tomonori <fujita.tomonori@...>, Sumant Patro <sumant.patro@...>, <megaraidlinux@...>, <linux-scsi@...>
Date: Tuesday, October 2, 2007 - 4:38 pm

On Tue, 2007-10-02 at 20:15 +0200, Adrian Bunk wrote:

This is the problem piece I think.  We've reintroduced a very old bug:

commit 51c928c34fa7cff38df584ad01de988805877dba
Author: James Bottomley <James.Bottomley@SteelEye.com>
Date:   Sat Oct 1 09:38:05 2005 -0500

    [SCSI] Legacy MegaRAID: Fix READ CAPACITY
    
    Some Legacy megaraid cards can't actually cope with the scatter/gather
    version of the READ CAPACITY command (which is what we now send them
    since altering all SCSI internal I/O to go via the block layer).  Fix
    this (and a few other broken megaraid driver assumptions) by sending
    the non-sg version of the command if the sg list only has a single
    element.
    
    Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

So what we have to do is put back the check for use_sg == 1 and send
that as a bulk transfer command.

James


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.23-rc9 boot failure (megaraid?), Burton Windle, (Tue Oct 2, 12:48 pm)
Re: 2.6.23-rc9 boot failure (megaraid?), Adrian Bunk, (Tue Oct 2, 2:15 pm)
Re: 2.6.23-rc9 boot failure (megaraid?), James Bottomley, (Tue Oct 2, 4:38 pm)
Re: 2.6.23-rc9 boot failure (megaraid?), FUJITA Tomonori, (Tue Oct 2, 8:00 pm)
RE: 2.6.23-rc9 boot failure (megaraid?), Patro, Sumant, (Wed Oct 3, 7:32 pm)
RE: 2.6.23-rc9 boot failure (megaraid?), FUJITA Tomonori, (Wed Oct 3, 7:46 pm)
Re: 2.6.23-rc9 boot failure (megaraid?), Jens Axboe, (Thu Oct 4, 3:28 am)
Re: 2.6.23-rc9 boot failure (megaraid?), Adrian Bunk, (Thu Oct 4, 6:48 am)
Re: 2.6.23-rc9 boot failure (megaraid?), FUJITA Tomonori, (Thu Oct 4, 6:55 am)
Re: 2.6.23-rc9 boot failure (megaraid?), Jens Axboe, (Thu Oct 4, 7:00 am)
Re: 2.6.23-rc9 boot failure (megaraid?), FUJITA Tomonori, (Thu Oct 4, 6:20 am)
Re: 2.6.23-rc9 boot failure (megaraid?), Jens Axboe, (Thu Oct 4, 6:36 am)
Re: 2.6.23-rc9 boot failure (megaraid?), James Bottomley, (Thu Oct 4, 8:50 am)
Re: 2.6.23-rc9 boot failure (megaraid?), FUJITA Tomonori, (Tue Oct 2, 8:09 pm)
Re: 2.6.23-rc9 boot failure (megaraid?), Burton Windle, (Tue Oct 2, 2:46 pm)
Re: 2.6.23-rc9 boot failure (megaraid?), Rafael J. Wysocki, (Tue Oct 2, 3:55 pm)
speck-geostationary