From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261441AbUBUALD (ORCPT ); Fri, 20 Feb 2004 19:11:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261444AbUBUALD (ORCPT ); Fri, 20 Feb 2004 19:11:03 -0500 Received: from m013-078.nv.iinet.net.au ([203.217.13.78]:1552 "EHLO mail.adixein.com") by vger.kernel.org with ESMTP id S261441AbUBUAKf (ORCPT ); Fri, 20 Feb 2004 19:10:35 -0500 From: "Elliot Mackenzie" To: "'Randy.Dunlap'" Cc: Subject: RE: PROBLEM: Panic booting from USB disk in ioremap.c (line 81) Date: Sat, 21 Feb 2004 10:11:24 +1000 Keywords: macka@adixein.com Message-ID: <001301c3f80f$3ebbf890$4301a8c0@waverunner> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <20040220113031.0414ff65.rddunlap@osdl.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org OK, I have done that, and I recompiled an identical kernel with spinlock support (first incarnation did not have it). Files on syslinux USB disk include vmlinuz (2.6.3), initrd and syslinux config. Cheers, Elliot. Now we get this: ========================== Calling initcall 0xc03f7e19 Calling initcall 0xc03f819c Calling initcall 0xc03f1e7c Calling initcall 0xc03e7084 Calling initcall 0xc03e7101 Calling initcall 0xc03e90e2 remap_area_pages BUG: address=0xce800000, size=0xedeb0000, end=0xbc6b0000 Call Trace: [] remap_area_pges+0x210/0x21d [] get_vm_area+0x32/0x36 [] __ioremap+0xda/0x104 [] sbf_init+0x167/0x180 [] do_init_calls+0x28/0x93 [] sbf_init+0x0/0x180 [] init_workqueues+0xf/0x27 [] init+0x30/0x134 [] init+0x0/0x134 [] kernel_thread_helper+0x5/0xb ------------[ cut here ]------------ kernel BUG at arch/i386/mm/ioremap.c:84! invalid operand: 0000 [#1] CPU: 0 EIP: 0060:[] Not tainted EFLAGS: 00010292 EIP is at remap_area_pages+0x210/0x21d eax: c0000001 ebx: edeb0000 ecx: c0369a50 edx: 00000282 esi: 0dffc0000 edi: ce800000 ebp: 00000000 esp: cde55f3c ds: 007b es: 007b ss: 0068 Process swapper (pid: 1, theadinfo=cde54000 task=cdfb3900) Stack: c03250e0 ce800000 edeb0000 bc6b0000 cdffb100 000000d0 c0101cec edeb0000 0dffc000 bc6b0000 c0101ce8 c0149169 edeb0000 0dffc000 ce800000 00000000 c01193ff ce800000 3f7fc000 edeb0000 00000000 00000000 00000024 ce800000 Call Trace: [] get_vm_area+0x32/0x36 [] __ioremap+0xda/0x104 [] sbf_init+0x167/0x180 [] do_init_calls+0x28/0x93 [] sbf_init+0x0/0x180 [] init_workqueues+0xf/0x27 [] init+0x30/0x134 [] init+0x0/0x134 [] kernel_thread_helper+0x5/0xb Code: 0f 0b 54 00 ab 4d 32 c0 e9 1d fe ff ff 83 ec 20 89 5c 24 10 <0>Kernel panic: Attempted to kill init! ========================== | | The call trace must be missing some helpful info, then. | I say that only because the data supplied does not look usb-device | specific. | Please apply the patch below (for 2.6.3) and reboot that kernel | with "initcall_debug" added to the kernel boot command line, | and send the resulting (failing) output back to us. | | -- | ~Randy