Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757391Ab1ECBwl (ORCPT ); Mon, 2 May 2011 21:52:41 -0400 Received: from mail.parknet.co.jp ([210.171.160.6]:56967 "EHLO mail.parknet.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755597Ab1ECBwi (ORCPT ); Mon, 2 May 2011 21:52:38 -0400 From: OGAWA Hirofumi To: linux-kernel@vger.kernel.org Cc: Rusty Russell Subject: Re: unable to handle kernel paging request when inserting FAT32 formatted flash media References: <20110502064945.GA12197@mac.home> <20110502065529.GA12397@mac.home> <87y62pf9xg.fsf@devron.myhome.or.jp> <87r58hf866.fsf@devron.myhome.or.jp> <20110502170122.GA14096@eazy.amigager.de> <87k4e9ey9k.fsf@devron.myhome.or.jp> <20110502203327.GA19507@mac.home> <87bozkg3ng.fsf@devron.myhome.or.jp> <8762psfwew.fsf@devron.myhome.or.jp> <87vcxsegbo.fsf@devron.myhome.or.jp> Date: Tue, 03 May 2011 10:52:34 +0900 In-Reply-To: <87vcxsegbo.fsf@devron.myhome.or.jp> (OGAWA Hirofumi's message of "Tue, 03 May 2011 10:14:03 +0900") Message-ID: <87r58geejh.fsf@devron.myhome.or.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1939 Lines: 53 OGAWA Hirofumi writes: >> It seems to be interesting exception. >> >> before relocation (from fat.ko) >> 8656: 74 51 je 86a9 >> 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 >> 866a: 49 8d 44 24 08 lea 0x8(%r12),%rax >> >> after relocation (from oops) >> >> 20: 74 51 je 73 >> 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 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 34: 49 8d 44 24 08 lea 0x8(%r12),%rax 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/