RE: legacy megaraid driver bug in mm-series
Hi, On Thursday, September 08, 2005 3:01 PM, Ju, Seokmann wrote: > I've tried and it works fine. > I'm not sure where the problem is related to compilation. > Please provide more details. My applogize to all for confusion. There is an issue on compiling legacy megaraid driver on 2.6.12-mm1 kernel. That is due to undefined symbol "adapter_t *" in the megaraid_reset(). I'm not sure how and where this change came from, though. I'll create patch and submit soon. Thank you. > -Original Message- > From: Ju, Seokmann [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 08, 2005 3:01 PM > To: Jack Byer; linux-kernel@vger.kernel.org > Subject: RE: legacy megaraid driver bug in mm-series > > Hi, > > On Monday, September 05, 2005 9:06 PM, Jack Byer wrote: > > 2.6.12-mm1: will not compile megaraid driver > I've tried and it works fine. > I'm not sure where the problem is related to compilation. > Please provide more details. > > Thank you, > > Seokmann > > > -Original Message- > > From: Jack Byer [mailto:[EMAIL PROTECTED] > > Sent: Monday, September 05, 2005 9:06 PM > > To: linux-kernel@vger.kernel.org > > Subject: legacy megaraid driver bug in mm-series > > > > My AMI megaraid card no longer works with recent mm-series > > kernels. The > > bug appears on mm- kernels newer than 2.6.12-rc6-mm1; > mainline kernels > > are not affected. > > > > The driver will load and detect both devices on the card (sda > > and sdb). > > It will scan each device and read the partition table successfully, > > however the megaraid driver message will include the > following errors: > > > > sda: sector size 0 reported, assuming 512. > > sda: asking for cache data failed. > > sda: assuming drive cache: write through > > > > When the kernel tries to mount the root file system, I get > > the following > > error: > > > > ReiserFS: sda3: warning: sh-2006: read_super_block: bread > failed (dev > > sda3, block 2, size 4096) > > ReiserFS: sda3: warning: sh-2006: read_super_block: bread > failed (dev > > sda3, block 16, size 4096) > > VFS: Cannot open root device "sda3" or unknown-block(0,3) > > > > Here is a summary of the kernels I have tested for this bug: > > > > 2.6.11-mm1: works > > 2.6.11-mm4: works > > 2.6.12-rc5-mm1: will not compile > > 2.6.12-rc6-mm1: works > > 2.6.12-mm1: will not compile megaraid driver > > 2.6.12-mm2: broken > > 2.6.13-mm1: broken > > > > 2.6.12: works > > 2.6.13: works > > > > - > > To unsubscribe from this list: send the line "unsubscribe > > linux-kernel" in > > the body of a message to [EMAIL PROTECTED] > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at http://www.tux.org/lkml/ > > > - > To unsubscribe from this list: send the line "unsubscribe > linux-kernel" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: legacy megaraid driver bug in mm-series
Andrew Morton wrote: "Ju, Seokmann" <[EMAIL PROTECTED]> wrote: Hi Andrew, On Wednesday, September 07, 2005 5:53 AM, Andrew Morton forwarded: 2.6.11-mm1: works 2.6.11-mm4: works 2.6.12-rc5-mm1: will not compile 2.6.12-rc6-mm1: works 2.6.12-mm1: will not compile megaraid driver 2.6.12-mm2: broken 2.6.13-mm1: broken 2.6.12: works 2.6.13: works Is there any precedence rule on the kernels?. It's a bit weird, but the above are in chronological order. Time order: 2.6.12 2.6.13-rc1 2.6.13-rc2 2.6.13 2.6.14-rc1 etc. And -mm kernels are just the current Linus kernel with -mmX appended. I wonder which kernel is latest in between 2.6.12 and 2.6.12-mmx. 2.6.12-mmX I assume 2.6.12-mmx is later than 2.6.12. Correct. 2.6.13-mm1 doesn't work on my megaraid controller. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: legacy megaraid driver bug in mm-series
"Ju, Seokmann" <[EMAIL PROTECTED]> wrote: > > Hi Andrew, > On Wednesday, September 07, 2005 5:53 AM, Andrew Morton forwarded: > > 2.6.11-mm1: works > > 2.6.11-mm4: works > > 2.6.12-rc5-mm1: will not compile > > 2.6.12-rc6-mm1: works > > 2.6.12-mm1: will not compile megaraid driver > > 2.6.12-mm2: broken > > 2.6.13-mm1: broken > > > > 2.6.12: works > > 2.6.13: works > > Is there any precedence rule on the kernels?. > It's a bit weird, but the above are in chronological order. Time order: 2.6.12 2.6.13-rc1 2.6.13-rc2 2.6.13 2.6.14-rc1 etc. And -mm kernels are just the current Linus kernel with -mmX appended. > I wonder which kernel is latest in between 2.6.12 and 2.6.12-mmx. 2.6.12-mmX > I assume 2.6.12-mmx is later than 2.6.12. Correct. - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: legacy megaraid driver bug in mm-series
Hi Andrew, On Wednesday, September 07, 2005 5:53 AM, Andrew Morton forwarded: > 2.6.11-mm1: works > 2.6.11-mm4: works > 2.6.12-rc5-mm1: will not compile > 2.6.12-rc6-mm1: works > 2.6.12-mm1: will not compile megaraid driver > 2.6.12-mm2: broken > 2.6.13-mm1: broken > > 2.6.12: works > 2.6.13: works Is there any precedence rule on the kernels?. I wonder which kernel is latest in between 2.6.12 and 2.6.12-mmx. I assume 2.6.12-mmx is later than 2.6.12. I'll try to dig out further if this is true, please confirm this. Thank you, Seokmann > -Original Message- > From: Andrew Morton [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 07, 2005 5:53 AM > To: linux-scsi@vger.kernel.org > Cc: Jack Byer > Subject: Fw: legacy megaraid driver bug in mm-series > > > > Begin forwarded message: > > Date: Mon, 05 Sep 2005 21:05:40 -0400 > From: Jack Byer <[EMAIL PROTECTED]> > To: linux-kernel@vger.kernel.org > Subject: legacy megaraid driver bug in mm-series > > > My AMI megaraid card no longer works with recent mm-series > kernels. The > bug appears on mm- kernels newer than 2.6.12-rc6-mm1; mainline kernels > are not affected. > > The driver will load and detect both devices on the card (sda > and sdb). > It will scan each device and read the partition table successfully, > however the megaraid driver message will include the following errors: > > sda: sector size 0 reported, assuming 512. > sda: asking for cache data failed. > sda: assuming drive cache: write through > > When the kernel tries to mount the root file system, I get > the following > error: > > ReiserFS: sda3: warning: sh-2006: read_super_block: bread failed (dev > sda3, block 2, size 4096) > ReiserFS: sda3: warning: sh-2006: read_super_block: bread failed (dev > sda3, block 16, size 4096) > VFS: Cannot open root device "sda3" or unknown-block(0,3) > > Here is a summary of the kernels I have tested for this bug: > > 2.6.11-mm1: works > 2.6.11-mm4: works > 2.6.12-rc5-mm1: will not compile > 2.6.12-rc6-mm1: works > 2.6.12-mm1: will not compile megaraid driver > 2.6.12-mm2: broken > 2.6.13-mm1: broken > > 2.6.12: works > 2.6.13: works > > - > To unsubscribe from this list: send the line "unsubscribe > linux-kernel" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > - > To unsubscribe from this list: send the line "unsubscribe > linux-scsi" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html