From: "Thanos McAtos" <mcatos@ics.forth.gr>
To: "lkml " <linux-kernel@vger.kernel.org>
Subject: Error in __bread reading a 4K block from a SATA device
Date: Fri, 2 Nov 2007 20:00:26 +0200 (EET) [thread overview]
Message-ID: <47768.139.91.70.143.1194026426.squirrel@webmail.ics.forth.gr> (raw)
Hello,
I'm trying to read a 4KB block using __bread from a SATA device but I get
the following error:
__find_get_block_slow() failed. block=1, b_blocknr=0
b_state=0x00000029, b_size=4096
If I try to read a 2K block (which is the hard sector size of the device),
it works fine.
Kernel version is 2.6.20.21. I have used this function at another system but
the device from which I read was an IDE one and it's hard sector size was
512 bytes. I've also tested this at a 2.6.18.8 kernel.
The old device was at a 32bit system, the new one is at a 64bit one.
What could be wrong?
Thanx in advance.
reply other threads:[~2007-11-02 19:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=47768.139.91.70.143.1194026426.squirrel@webmail.ics.forth.gr \
--to=mcatos@ics.forth.gr \
--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
all inboxes | Powered by JetHome®