Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932284AbYBGSTE (ORCPT ); Thu, 7 Feb 2008 13:19:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756144AbYBGSSw (ORCPT ); Thu, 7 Feb 2008 13:18:52 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:51732 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756075AbYBGSSu (ORCPT ); Thu, 7 Feb 2008 13:18:50 -0500 Date: Thu, 7 Feb 2008 10:18:43 -0800 (PST) From: Linus Torvalds To: Harald Arnesen cc: FUJITA Tomonori , akpm@linux-foundation.org, matthew@wil.cx, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, fujita.tomonori@lab.ntt.co.jp Subject: Re: Latest git oopses during boot In-Reply-To: <8120cfd40802070933r42a98537v78feb7ee8e748a94@mail.gmail.com> Message-ID: References: <8120cfd40802070144l79830c2cs6329c302697ecc8b@mail.gmail.com> <20080207020214.0f0cf1c7.akpm@linux-foundation.org> <8120cfd40802070314x2799bcbatf42e3fe824a18c22@mail.gmail.com> <20080207233239Z.tomof@acm.org> <8120cfd40802070933r42a98537v78feb7ee8e748a94@mail.gmail.com> User-Agent: Alpine 1.00 (LFD 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1906 Lines: 56 On Thu, 7 Feb 2008, Harald Arnesen wrote: > > OK, tried it. Another screen shot attached > (I must really get another box to use as a serial terminal). This oops decodes to 8b 44 24 10 mov 0x10(%esp),%eax 8b 90 7c 02 00 00 mov 0x27c(%eax),%edx 83 ea 54 sub $0x54,%edx 24 18 and $0x18,%al 8b 4c 24 14 mov 0x14(%esp),%ecx f6 41 04 04 testb $0x4,0x4(%ecx) 75 57 jne 0x70 ba d0 80 00 00 mov $0x80d0,%edx b8 68 bf 30 c0 mov $0xc030bf68,%eax e8 2f 8a 38 c7 call 0xc7388a57 ** a3 14 00 00 00 mov %eax,0x14 ** 85 c0 test %eax,%eax 0f 84 b3 14 00 00 je 0x14c0 8b 44 24 14 mov 0x14(%esp),%eax 83 c0 0c add $0xc,%eax and the oopsing instruction is literally an insane "store to absolute address 0x14" which will definitely oops unconditionally. Quit frankly, that code makes no sense. It smells like code corruption, especially as it is right at a return point of a function call (ie maybe the function screwed up the stack accesses somehow). Actually, it look slike the call address itself is screwed up too. I don't think "0xc7388a57" is likely to be a valid address. The code *looks* like the test if (ASC_NARROW_BOARD(boardp)) { ASC_DBG(1, "narrow board\n"); asc_dvc_varp = &boardp->dvc_var.asc_dvc_var; asc_dvc_varp->bus_type = bus_type; but with strange corruption. Can you do a make drivers/scsi/advansys.lst and see what it should be? Linus -- 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/