public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next end of partition problems?
@ 2009-06-02 23:42 Luck, Tony
  2009-06-03  4:03 ` Robert Hancock
  0 siblings, 1 reply; 6+ messages in thread
From: Luck, Tony @ 2009-06-02 23:42 UTC (permalink / raw)
  To: linux-kernel

I noticed an odd message in the kernel log while booting
linux-next (tag: next-20090602[*])

attempt to access beyond end of device
sdb3: rw=0, want=31664120, limit=31664115

sdb3 is an ext3 filesystem mounted as /home

$ grep sdb3 /proc/partitions
   8       19   15832057 sdb3

I think /proc/partitions in in KBytes ... so the block (512 Byte)
count for this partition is 2*15832057 = 31664114 ... so the
"limit" in the console log looks reasonable, and since the "want"
is a bigger number, it does seem that we are trying to access
beyond the device.

BUT ... I don't get this message when booting a kernel built
from Linus' tree.

I see other weird stuff too.  Running a Linus kernel I get:
$ dd if=/dev/sdb3 of=/dev/null bs=1024
15832057+1 records in
15832057+1 records out

this neatly matches the reported size in /proc/partitions,
and no messages on the console.


With linux-next I see:
dd if=/dev/sdb3 of=/dev/null bs=1024
dd: reading `/dev/sdb3': Input/output error
15831936+0 records in
15831936+0 records out

and the same
attempt to access beyond end of device
sdb3: rw=0, want=31664120, limit=31664115


Note that on linux-next the "dd" gets the I/O error 121 blocks
earlier than we see end-of-file for this partition on the Linus
kernel.

-Tony

[*] grepping through boot logs I see this message appears in earlier
tags too.  All builds since next-20090428 show this problem (but I
wasn't being very diligent in April ... the previous build for
which I have a recorded console log was next-20090417).

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

end of thread, other threads:[~2009-06-04 21:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-02 23:42 linux-next end of partition problems? Luck, Tony
2009-06-03  4:03 ` Robert Hancock
2009-06-03 21:43   ` Luck, Tony
2009-06-04 13:11     ` Jeff Moyer
2009-06-04 20:33       ` Jens Axboe
2009-06-04 21:20         ` Jeff Moyer

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