From: "Luck, Tony" <tony.luck@intel.com>
To: linux-kernel@vger.kernel.org
Subject: linux-next end of partition problems?
Date: Tue, 02 Jun 2009 16:42:33 -0700 [thread overview]
Message-ID: <4a25b8e987329b28c@agluck-desktop.sc.intel.com> (raw)
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).
next reply other threads:[~2009-06-02 23:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-02 23:42 Luck, Tony [this message]
2009-06-03 4:03 ` linux-next end of partition problems? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4a25b8e987329b28c@agluck-desktop.sc.intel.com \
--to=tony.luck@intel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox