Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 5 Nov 2002 21:15:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 5 Nov 2002 21:15:26 -0500 Received: from smtp-out-6.wanadoo.fr ([193.252.19.25]:5627 "EHLO mel-rto6.wanadoo.fr") by vger.kernel.org with ESMTP id ; Tue, 5 Nov 2002 21:15:25 -0500 Message-ID: <3DC88B21.3030202@wanadoo.fr> Date: Wed, 06 Nov 2002 03:23:13 +0000 From: Philippe Elie User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020605 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Zwane Mwaikambo CC: Russell King , Linux Kernel Subject: Re: 2.5.45 odd deref in serial_in References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1087 Lines: 36 Zwane Mwaikambo wrote: > On Tue, 5 Nov 2002, Russell King wrote: > > >>static _INLINE_ unsigned int serial_in(struct uart_8250_port *up, int offset) >>{ >> offset <<= up->port.regshift; >> >> switch (up->port.iotype) { >> >>which also dereferences "up". So something may have corrupted %ebx >>between executing that switch statement and executing the inb(). >> >>Could the NMI handler be corrupting %ebx ? ok but > [] serial8250_console_write+0x68/0x1f0 > [] __call_console_drivers+0x49/0x50 > [] call_console_drivers+0x71/0x100 > [] release_console_sem+0xbd/0x170 > [] printk+0x18c/0x220 > [] nmi_add_task+0xc5/0xe0 > [] nmi_watchdog_tick+0x0/0x120 the oops occur during a NMI so I wonder how a NMI can occur and clobber ebx -- Philippe Elie - 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/