mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: BUG in 2.4.25-rc1: attempt to access beyond end of device, alsoIbm Serveraid
       [not found] <Pine.LNX.4.44.0403011935270.9653-100000@lnx.bridge.intra>
@ 2004-03-09 16:46 ` Peter S. Mazinger
  2004-03-18 16:16 ` BUG in 2.4.25-rc1: attempt to access beyond end of device Peter S. Mazinger
  1 sibling, 0 replies; 4+ messages in thread
From: Peter S. Mazinger @ 2004-03-09 16:46 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linux-kernel

On Mon, 1 Mar 2004, Peter S. Mazinger wrote:

> On Fri, 27 Feb 2004, Marcelo Tosatti wrote:
> 
> > 
> > Peter,
> > 
> > Can you try to revert (apply with -R) and see if it happens again, please?
> 
> Yes, it happens again (the problem appeared at 2.4.25-pre4 time, but that 
> patch is to huge for me to find the problematic part)

I have tried both patches proposed by Chuck Lever

--- mm/filemap.c.mps	Tue Mar  9 16:53:01 2004
+++ mm/filemap.c	Tue Mar  9 16:55:07 2004
@@ -1348,7 +1348,7 @@
 	while (ahead < max_ahead) {
 		unsigned long ra_index = raend + ahead + 1;
 
-		if (ra_index > end_index)
+		if (ra_index >= end_index)
 			break;
 		if (page_cache_read(filp, ra_index) < 0)
 			break;

this one corrects the error

--- mm/filemap.c.mps	Tue Mar  9 14:33:17 2004
+++ mm/filemap.c	Tue Mar  9 14:35:01 2004
@@ -1286,6 +1286,8 @@
 	int max_readahead = get_max_readahead(inode);
 
 	end_index = inode->i_size >> PAGE_CACHE_SHIFT;
+	end_index = ((inode->i_size + ~PAGE_CACHE_MASK) >>
+						PAGE_CACHE_SHIFT) - 1;
 
 	raend = filp->f_raend;
 	max_ahead = 0;

this one does not correct the error

my ATA controller is ICH5 (built into the kernel), so add it too to the 
list of problematic drivers.

Peter

> 
> > 
> > 
> > On Fri, 6 Feb 2004, Peter S. Mazinger wrote:
> > 
> > > Hello!
> > >
> > > my hardware:
> > > x86
> > > ide controller (builtin driver)
> > > ext3 partitions (as modules loaded from initrd)
> > >
> > > if I shutdown -h now the computer, I get as last messages:
> > > attempt to access beyond end of device
> > > 03:03 rw=0, want=1044228, limit=1044225
> > > (3 times, 03:03/want/limit with other numbers), for all mounted
> > > (remounted ro) partitions
> > >
> > > distro: RedHat 7.3 (with all updates up to december)
> > > kernel is pristine: only 2.4.25-rc1 applied (EXPERIMENTAL code disabled)
> > > util-linux: 2.11n-12.7.3 (used umount, if it matters)
> > >
> > > Peter
> > >
> > > --
> > > Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
> > > Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2
> > >
> > >
> > > ____________________________________________________________________
> > > Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
> > > Probald ki most! http://www.freestart.hu
> > > -
> > > 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/
> > >
> 
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2



____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu

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

* Re: BUG in 2.4.25-rc1: attempt to access beyond end of device
       [not found] <Pine.LNX.4.44.0403011935270.9653-100000@lnx.bridge.intra>
  2004-03-09 16:46 ` BUG in 2.4.25-rc1: attempt to access beyond end of device, alsoIbm Serveraid Peter S. Mazinger
@ 2004-03-18 16:16 ` Peter S. Mazinger
  2004-03-18 21:03   ` Bert Kammerer
  1 sibling, 1 reply; 4+ messages in thread
From: Peter S. Mazinger @ 2004-03-18 16:16 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linux-kernel

On Mon, 1 Mar 2004, Peter S. Mazinger wrote:

I have seen 2 LKML messages related to it (IBM Serveraid and RedHat 7.3 
related)
Well I have RedHat 7.3, and when I saw the second message I have updated 
mount from 2.11n (it's the official/updated RedHat 7.3 version) to 2.12.

The "error" messages are gone. but I do not really know if the error is 
gone.

Peter

> On Fri, 27 Feb 2004, Marcelo Tosatti wrote:
> 
> > 
> > Peter,
> > 
> > Can you try to revert (apply with -R) and see if it happens again, please?
> 
> Yes, it happens again (the problem appeared at 2.4.25-pre4 time, but that 
> patch is to huge for me to find the problematic part)
> 
> Peter
> 
> > 
> > 
> > On Fri, 6 Feb 2004, Peter S. Mazinger wrote:
> > 
> > > Hello!
> > >
> > > my hardware:
> > > x86
> > > ide controller (builtin driver)
> > > ext3 partitions (as modules loaded from initrd)
> > >
> > > if I shutdown -h now the computer, I get as last messages:
> > > attempt to access beyond end of device
> > > 03:03 rw=0, want=1044228, limit=1044225
> > > (3 times, 03:03/want/limit with other numbers), for all mounted
> > > (remounted ro) partitions
> > >
> > > distro: RedHat 7.3 (with all updates up to december)
> > > kernel is pristine: only 2.4.25-rc1 applied (EXPERIMENTAL code disabled)
> > > util-linux: 2.11n-12.7.3 (used umount, if it matters)
> > >
> > > Peter
> > >
> > > --
> > > Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
> > > Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2
> > >
> > >
> > > ____________________________________________________________________
> > > Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
> > > Probald ki most! http://www.freestart.hu
> > > -
> > > 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/
> > >
> 
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2


____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu

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

* RE: BUG in 2.4.25-rc1: attempt to access beyond end of device
  2004-03-18 16:16 ` BUG in 2.4.25-rc1: attempt to access beyond end of device Peter S. Mazinger
@ 2004-03-18 21:03   ` Bert Kammerer
  0 siblings, 0 replies; 4+ messages in thread
From: Bert Kammerer @ 2004-03-18 21:03 UTC (permalink / raw)
  To: 'Peter S. Mazinger'; +Cc: linux-kernel

I have definitely experienced this exact same issue as well ever since
going into 2.4.25. I've tried the patches for 2.4.26 up to and including
2.4.26-pre4 as well and they don't make a difference.

It is interesting to note that this happens with every single machine
running RedHat 7.3 with its default (official) mount version 2.11n.
Apparently as you stated, upgrading mount to a newer version gets rid of
the "error messages". Reverting back to 2.4.24 also clears the problem.

I have been able to confirm that this is happening consistently
regardless of the hardware being used.

Bert

-----Original Message-----
From: Peter S. Mazinger [mailto:ps.m@gmx.net] 
Sent: Thursday, March 18, 2004 11:17 AM
To: Marcelo Tosatti
Cc: linux-kernel@vger.kernel.org
Subject: Re: BUG in 2.4.25-rc1: attempt to access beyond end of device


On Mon, 1 Mar 2004, Peter S. Mazinger wrote:

I have seen 2 LKML messages related to it (IBM Serveraid and RedHat 7.3 
related)
Well I have RedHat 7.3, and when I saw the second message I have updated

mount from 2.11n (it's the official/updated RedHat 7.3 version) to 2.12.

The "error" messages are gone. but I do not really know if the error is 
gone.

Peter

> On Fri, 27 Feb 2004, Marcelo Tosatti wrote:
> 
> > 
> > Peter,
> > 
> > Can you try to revert (apply with -R) and see if it happens again, 
> > please?
> 
> Yes, it happens again (the problem appeared at 2.4.25-pre4 time, but 
> that
> patch is to huge for me to find the problematic part)
> 
> Peter
> 
> > 
> > 
> > On Fri, 6 Feb 2004, Peter S. Mazinger wrote:
> > 
> > > Hello!
> > >
> > > my hardware:
> > > x86
> > > ide controller (builtin driver)
> > > ext3 partitions (as modules loaded from initrd)
> > >
> > > if I shutdown -h now the computer, I get as last messages: attempt

> > > to access beyond end of device 03:03 rw=0, want=1044228, 
> > > limit=1044225 (3 times, 03:03/want/limit with other numbers), for 
> > > all mounted (remounted ro) partitions
> > >
> > > distro: RedHat 7.3 (with all updates up to december) kernel is 
> > > pristine: only 2.4.25-rc1 applied (EXPERIMENTAL code disabled)
> > > util-linux: 2.11n-12.7.3 (used umount, if it matters)
> > >
> > > Peter
> > >
> > > --
> > > Peter S. Mazinger <ps dot m at gmx dot net>           ID:
0xA5F059F2
> > > Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 
> > > 59F2
> > >
> > >
> > > __________________________________________________________________
> > > __
> > > Miert fizetsz az internetert? Korlatlan, ingyenes internet
hozzaferes a FreeStarttol.
> > > Probald ki most! http://www.freestart.hu
> > > -
> > > 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/
> > >
> 
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2


____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a
FreeStarttol. Probald ki most! http://www.freestart.hu
-
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] 4+ messages in thread

* BUG in 2.4.25-rc1: attempt to access beyond end of device
@ 2004-02-06 12:53 Peter S. Mazinger
  0 siblings, 0 replies; 4+ messages in thread
From: Peter S. Mazinger @ 2004-02-06 12:53 UTC (permalink / raw)
  To: linux-kernel

Hello!

my hardware:
x86
ide controller (builtin driver)
ext3 partitions (as modules loaded from initrd)

if I shutdown -h now the computer, I get as last messages:
attempt to access beyond end of device
03:03 rw=0, want=1044228, limit=1044225
(3 times, 03:03/want/limit with other numbers), for all mounted
(remounted ro) partitions

distro: RedHat 7.3 (with all updates up to december)
kernel is pristine: only 2.4.25-rc1 applied (EXPERIMENTAL code disabled)
util-linux: 2.11n-12.7.3 (used umount, if it matters)

Peter

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2


____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu

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

end of thread, other threads:[~2004-03-18 21:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.44.0403011935270.9653-100000@lnx.bridge.intra>
2004-03-09 16:46 ` BUG in 2.4.25-rc1: attempt to access beyond end of device, alsoIbm Serveraid Peter S. Mazinger
2004-03-18 16:16 ` BUG in 2.4.25-rc1: attempt to access beyond end of device Peter S. Mazinger
2004-03-18 21:03   ` Bert Kammerer
2004-02-06 12:53 Peter S. Mazinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome