From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: linux-kernel@vger.kernel.org
Cc: Rusty Russell <rusty@rustcorp.com.au>
Subject: Re: unable to handle kernel paging request when inserting FAT32 formatted flash media
Date: Tue, 03 May 2011 11:34:11 +0900 [thread overview]
Message-ID: <87k4e8ecm4.fsf@devron.myhome.or.jp> (raw)
In-Reply-To: <87r58geejh.fsf@devron.myhome.or.jp> (OGAWA Hirofumi's message of "Tue, 03 May 2011 10:52:34 +0900")
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> writes:
> OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> writes:
>
>>> It seems to be interesting exception.
>>>
>>> before relocation (from fat.ko)
>>> 8656: 74 51 je 86a9 <fat_build_inode+0x2e9>
>>> 8658: 49 c7 c6 00 00 00 00 mov $0x0,%r14
>>> 865f: b2 b6 mov $0xb6,%dl
>>> 8661: 80 3d 00 00 00 00 00 cmpb $0x0,0x0(%rip) <-- exception
>>> 8668: 74 3f je 86a9 <fat_build_inode+0x2e9>
>>> 866a: 49 8d 44 24 08 lea 0x8(%r12),%rax
>>>
>>> after relocation (from oops)
>>>
>>> 20: 74 51 je 73 <a+0x73>
>>> 22: 49 c7 c6 d8 91 13 a0 mov $0xffffffffa01391d8,%r14
>>> 29: b2 b6 mov $0xb6,%dl
>>> 2b: 3d fc 9b 00 00 cmp $0x9bfc,%eax
>>> 30: 00 74 3f 49 add %dh,0x49(%rdi,%rdi,1)
>>> 34: 8d 44 24 08 lea 0x8(%rsp),%eax
>>>
>> relocation info should be this
>>
>> 0x0000000000008663 X86_64_PC32 0x000000000000927c -5 .LC55
>
> Hm. It seems to be 0x80 was gone somehow. If I added 0x80 at 0x8661, it
> seems to be sane code.
>
> 20: 74 51 je 73 <a+0x73>
> 22: 49 c7 c6 d8 91 13 a0 mov $0xffffffffa01391d8,%r14
> 29: b2 b6 mov $0xb6,%dl
> 2b: 80 3d fc 9b 00 00 00 cmpb $0x0,0x9bfc(%rip) <- here is 0x8661
> 32: 74 3f je 73 <a+0x73>
> 34: 49 8d 44 24 08 lea 0x8(%r12),%rax
Code: fd ff ff 0f 1f 80 00 00 00 00 83 ca 01 89 93 10 02 00 00 ba ff 01 00 00 41 f6 85 96 00 00 00 02 74 51 49 c7 c6 d8 91 13 a0 b2 b6 3d fc 9b 00 00 00 74 3f 49 8d 44 24 08 48 89 44 24 08 eb 18
Oops's Code: was really this? This Code: is missing only <80>, I can't
see why there is no <xx> byte. Even if code was screwed up, I think
Code: should show the <xx>.
> I have no idea how this happened for now. This would be needed to trace
> when happened.
>
> At first, it would be module load time. If you had time to debug and
> trace, I may be able to help to debug it.
>
> Cc: to module maintainer.
>
> Any idea?
>
> Thanks.
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
next prev parent reply other threads:[~2011-05-03 2:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-02 6:49 unable to handle kernel paging request when inserting FAT32 formatted flash media Tino Keitel
2011-05-02 6:55 ` Tino Keitel
2011-05-02 14:34 ` OGAWA Hirofumi
2011-05-02 15:12 ` OGAWA Hirofumi
2011-05-02 17:01 ` Tino Keitel
2011-05-02 18:46 ` OGAWA Hirofumi
2011-05-02 20:33 ` Tino Keitel
2011-05-02 20:34 ` Tino Keitel
2011-05-02 22:04 ` OGAWA Hirofumi
2011-05-03 0:41 ` OGAWA Hirofumi
2011-05-03 0:44 ` OGAWA Hirofumi
2011-05-03 20:22 ` Tino Keitel
2011-05-03 21:09 ` OGAWA Hirofumi
2011-05-03 1:14 ` OGAWA Hirofumi
2011-05-03 1:52 ` OGAWA Hirofumi
2011-05-03 2:34 ` OGAWA Hirofumi [this message]
2011-05-09 2:26 ` Rusty Russell
2011-05-09 3:13 ` OGAWA Hirofumi
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=87k4e8ecm4.fsf@devron.myhome.or.jp \
--to=hirofumi@mail.parknet.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.