lkml.org 
[lkml]   [2002]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[2.5.38] loop trying to go beyond end of device
Hello. With the 2.5.38 kernel (preempt enabled), I am getting these errors
when I try to fill up a loop-mounted ext3 or ext2 partition.

The want number starts at 100002, and keeps going up and up and up by 2.

loop(7,2): rw=1, want=100316, limit=100000
attempt to access beyond end of device
loop(7,2): rw=1, want=100318, limit=100000
attempt to access beyond end of device

I can reproduce this with this script:

touch /tmp/foo
mke2fs -j -F /tmp/foo 10000
mkdir /mnt/tmp
mount -o loop /tmp/foo /mnt/tmp
cd /mnt/tmp
dd if=/dev/urandom of=blah


As the partition fills up, I start getting the above message.


Linux version 2.5.38 (root@razor) (gcc version 2.95.4 20011002 (Debian
prerelease)) #5 Fri Sep 27 10:00:24 EST 2002

Gnu C 2.95.4
Gnu make 3.79.1
util-linux 2.11n
mount 2.11n
modutils 2.4.19
e2fsprogs 1.27
Linux C Library 2.2.5
Dynamic linker (ldd) 2.2.5
Procps 2.0.7
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 2.0.12

--
Burton Windle burton@fint.org
Linux: the "grim reaper of innocent orphaned children."
from /usr/src/linux-2.4.18/init/main.c:461





-
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/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.046 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site