Most recent kernel where this bug did *NOT* occur:2.6.14 ? Distribution:Debian Sarge Hardware Environment: Asus A7V266 M/B, Adaptec AHA-2940UW, LSI MegaRAID 511 i4 Software Environment: Problem Description: My MegaRAID i4 adapter, witch works well on linux 2.6.11.6 kernel, doesn't work anymore with newer kernels whereas I use the same config file (updated by 'make oldconfig') I compared megaraid.c from 2.6.11 and 2.6.20 and I noticed megaraid version goes from 2.00.3 to 2.00.4, so I guess the problem is here ? Steps to reproduce: simply compile a kernel >= 2.6.15 with megaraid legacy support !
Reply-To: akpm@linux-foundation.org Begin forwarded message: Date: Tue, 13 Feb 2007 04:38:49 -0800 From: bugme-daemon@bugzilla.kernel.org To: bugme-new@lists.osdl.org Subject: [Bugme-new] [Bug 7999] New: MegaRAID Legacy doesn't work with LSI MegaRAID i4 since release 2.00.4 http://bugzilla.kernel.org/show_bug.cgi?id=7999 Summary: MegaRAID Legacy doesn't work with LSI MegaRAID i4 since release 2.00.4 Kernel Version: 2.6.20 Status: NEW Severity: blocking Owner: scsi_drivers-other@kernel-bugs.osdl.org Submitter: rico@ricospirit.net Most recent kernel where this bug did *NOT* occur:2.6.14 ? Distribution:Debian Sarge Hardware Environment: Asus A7V266 M/B, Adaptec AHA-2940UW, LSI MegaRAID 511 i4 Software Environment: Problem Description: My MegaRAID i4 adapter, witch works well on linux 2.6.11.6 kernel, doesn't work anymore with newer kernels whereas I use the same config file (updated by 'make oldconfig') I compared megaraid.c from 2.6.11 and 2.6.20 and I noticed megaraid version goes from 2.00.3 to 2.00.4, so I guess the problem is here ? Steps to reproduce: simply compile a kernel >= 2.6.15 with megaraid legacy support ! ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
Reply-To: James.Bottomley@SteelEye.com On Tue, 2007-02-13 at 09:29 -0800, Andrew Morton wrote: > Subject: [Bugme-new] [Bug 7999] New: MegaRAID Legacy doesn't work with LSI MegaRAID i4 since release 2.00.4 This is by design ... the i4 is now supported by the new megaraid_mbox driver. Please retry with that driver. James
James Bottomley a
Reply-To: James.Bottomley@SteelEye.com On Tue, 2007-02-13 at 22:35 +0100, Eric Belhomme wrote: > hole:/home/rico# lsmod|grep megaraid > megaraid_mbox 35368 0 > megaraid_mm 12068 1 megaraid_mbox > megaraid 41704 1 > scsi_mod 151980 7 > megaraid_mbox,sr_mod,sd_mod,megaraid,sg,aic7xxx,scsi_transport_spi > ho > > So if I understand well, the module actively used with the LSI card is > megaraid, the legacy one ! but the mbox and mm are loaded and seems to > be necessary for the legacy driver ? Actually, it shouldn't be. megaraid_mbox depends on megaraid_mm as your lsmod shows, which is correct. However, nothing's depending on legacy megaraid ... I'm not sure why it's showing as loaded and in use. James
megaraid_mbox and megaraid_mm are the modules for "new generation". There is no dependency of these modules to megaraid legacy. Could you please send me the lspci output from the system under test? --Sumant -----Original Message----- From: linux-scsi-owner@vger.kernel.org [mailto:linux-scsi-owner@vger.kernel.org] On Behalf Of Eric Belhomme Sent: Wednesday, February 14, 2007 1:55 AM To: James Bottomley Cc: Andrew Morton; linux-scsi@vger.kernel.org; bugme-daemon@kernel-bugs.osdl.org Subject: Re: Fw: [Bugme-new] [Bug 7999] New: MegaRAID Legacy doesn't work with LSI MegaRAID i4 since release 2.00.4 James Bottomley a
bugme-daemon@bugzilla.kernel.org a
Thanks for the log. In dmesg I see prints from legacy driver. The proc entries log also suggests legacy driver has got loaded. The device Id 0x101e:0x1960 is supported _only_ by the mbox driver. So, legacy driver should not get loaded. Was this device id added to the legacy source code in your setup ? The legacy driver has support only for : 0x101e:9010, 0x101e:9060, 0x8086:1960. Regards, Sumant -----Original Message----- From: Eric Belhomme [mailto:rico@ricospirit.net] Sent: Wednesday, February 14, 2007 11:54 PM To: Patro, Sumant Cc: bugme-daemon@bugzilla.kernel.org Subject: Re: [Bug 7999] MegaRAID Legacy doesn't work with LSI MegaRAID i4 since release 2.00.4 bugme-daemon@bugzilla.kernel.org a
Eric, has it all been sorted out? Does the driver work as expected? Thanks.
Just got the confirmation below - thanks Eric. Closing the bug. bugme-daemon@bugzilla.kernel.org a écrit : > ------- Comment #9 from protasnb@gmail.com 2007-10-03 22:26 ------- > Eric, has it all been sorted out? Does the driver work as expected? > Thanks. > Hi, yes, the raid card works fine with new megaraid driver on 2.6.20 vanillia kernel. I guess the bug was in my mind ;) that was due because older kernel releases worked with legacy megaraid driver. Thanks for your support :) Regards, -- Eric