Joachim F. Selinger wrote:

> Hi JFS Team!
> 
> First of all, thanks for the nice work with JFS.


You're welcome.


> 
> I just upgraded to kernel 2.4.16 and patched jfs-1.0.11 into it.
> 
> It runs fine except for a very odd error:
> 
> attempt to access beyond end of device
> 03:06: rw=0, want=10490416, limit=10490413
> 
> Is logged about 10 times when booting and while fsck.jfs is running on the
> root partition.
> 


mkfs.jfs and fsck.jfs use a binary search algorithm to determine the 
size of the partition.  They try to read from different sectors until 
they find the last "good" one.  It appears that this is what is causing 
the warnings.  (I'm not sure why the want= number is always the same.)

We originally took this algorithm from the e2fsprogs.  Looking at them 
again, it looks like ext2 first tries an IOCTL, and only does the search 
if it fails.  We will try doing the same, and I think this problem will 
go away.

Right now the messages is harmless, but ugly.



-- 
David Kleikamp
IBM Linux Technology Center

_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to