All of lore.kernel.org
 help / color / mirror / Atom feed
* legacy megaraid driver bug in mm-series
@ 2005-09-06  1:05 Jack Byer
  0 siblings, 0 replies; 6+ messages in thread
From: Jack Byer @ 2005-09-06  1:05 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: legacy megaraid driver bug in mm-series
@ 2005-09-07 17:00 Ju, Seokmann
  2005-09-07 20:33 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Ju, Seokmann @ 2005-09-07 17:00 UTC (permalink / raw)
  To: 'Andrew Morton', linux-scsi; +Cc: Jack Byer

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:akpm@osdl.org] 
> 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 <ojbyer@usa.net>
> 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 majordomo@vger.kernel.org
> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: legacy megaraid driver bug in mm-series
  2005-09-07 17:00 Ju, Seokmann
@ 2005-09-07 20:33 ` Andrew Morton
  2005-09-08  7:56   ` Yiannis Mavroukakis
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Morton @ 2005-09-07 20:33 UTC (permalink / raw)
  To: Ju, Seokmann; +Cc: linux-scsi, ojbyer

"Ju, Seokmann" <sju@lsil.com> 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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: legacy megaraid driver bug in mm-series
  2005-09-07 20:33 ` Andrew Morton
@ 2005-09-08  7:56   ` Yiannis Mavroukakis
  0 siblings, 0 replies; 6+ messages in thread
From: Yiannis Mavroukakis @ 2005-09-08  7:56 UTC (permalink / raw)
  To: linux-scsi

Andrew Morton wrote:

>"Ju, Seokmann" <sju@lsil.com> 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 
______________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: legacy megaraid driver bug in mm-series
@ 2005-09-08 19:00 Ju, Seokmann
  0 siblings, 0 replies; 6+ messages in thread
From: Ju, Seokmann @ 2005-09-08 19:00 UTC (permalink / raw)
  To: Jack Byer, linux-kernel

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:ojbyer@usa.net] 
> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: legacy megaraid driver bug in mm-series
@ 2005-09-08 19:26 Ju, Seokmann
  0 siblings, 0 replies; 6+ messages in thread
From: Ju, Seokmann @ 2005-09-08 19:26 UTC (permalink / raw)
  To: Jack Byer; +Cc: linux-scsi, linux-kernel

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:sju@lsil.com] 
> 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:ojbyer@usa.net] 
> > 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 majordomo@vger.kernel.org
> > 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-08 19:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-06  1:05 legacy megaraid driver bug in mm-series Jack Byer
  -- strict thread matches above, loose matches on Subject: below --
2005-09-07 17:00 Ju, Seokmann
2005-09-07 20:33 ` Andrew Morton
2005-09-08  7:56   ` Yiannis Mavroukakis
2005-09-08 19:00 Ju, Seokmann
2005-09-08 19:26 Ju, Seokmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.