From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ipmail04.adl6.internode.on.net ([2001:44b8:8060:ff02:300:1:6:4]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tb4sW-0006jl-5r for linux-mtd@lists.infradead.org; Wed, 21 Nov 2012 07:37:49 +0000 Subject: BUG at kernel/timer.c:1100 when using JFFS2 From: Nathan Williams To: linux-mtd@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Date: Wed, 21 Nov 2012 18:37:37 +1100 Message-ID: <1353483457.9160.26.camel@laptop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, I've come across a problem when loading a module straight after unmounting a JFFS2 partition. I'm using a Geos ADSL router board with an AMD Geode LX/CS5536 chipset and a Hynix H27U1G8F2BTR NAND flash. I can reproduce my problem with this shell script: #!/bin/sh mount -t jffs2 mtd:logs /mnt echo "Hello World" > /mnt/file umount /mnt modprobe r8169 After a few seconds I get this panic: kernel BUG at kernel/timer.c:1100! invalid opcode: 0000 [#1] Modules linked in: r8169 cs553x_nand [last unloaded: r8169] Pid: 0, comm: swapper Not tainted 3.6.0 #1 EIP: 0060:[] EFLAGS: 00010082 CPU: 0 EIP is at cascade+0x11e/0x122 EAX: ce809f98 EBX: ce809f98 ECX: cea67938 EDX: 00000000 ESI: 00000000 EDI: cea67938 EBP: c138ea80 ESP: ce809f8c DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 CR0: 8005003b CR2: b7701d8a CR3: 0dd36000 CR4: 00000090 DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 DR6: ffff0ff0 DR7: 00000400 Process swapper (pid: 0, ti=ce808000 task=c13244c0 task.ti=c1318000) Stack: ce809f98 0000001d 00000000 cea67938 cea67938 c138ea80 00000000 ce809fc8 00000100 c10287d0 00000246 c138f890 c138f690 c138f490 c138f290 ce809fc8 ce809fc8 00000004 00000001 00000001 00000100 c10241ef 0000000a 00200000 Call Trace: [] ? run_timer_softirq+0x134/0x1ac [] ? __do_softirq+0x79/0x11c [] ? irq_enter+0x4c/0x4c [] ? irq_exit+0x5b/0x69 [] ? do_IRQ+0x34/0x7d [] ? common_interrupt+0x29/0x30 [] ? default_idle+0x21/0x2d [] ? cpu_idle+0x52/0x54 [] ? start_kernel+0x236/0x286 Code: c1 e8 1a 8d 94 c5 10 0e 00 00 e9 7c ff ff ff 8b 44 24 04 83 c4 14 5b 5e 5f EIP: [] cascade+0x11e/0x122 SS:ESP 0068:ce809f8c ---[ end trace 9942a8bf288b5a17 ]--- Kernel panic - not syncing: Fatal exception in interrupt Any ideas on what I should do next? Regards, Nathan