Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 11 Dec 2001 19:37:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 11 Dec 2001 19:36:58 -0500 Received: from air-1.osdl.org ([65.201.151.5]:37647 "EHLO osdlab.pdx.osdl.net") by vger.kernel.org with ESMTP id ; Tue, 11 Dec 2001 19:36:49 -0500 Date: Tue, 11 Dec 2001 16:31:34 -0800 (PST) From: "Randy.Dunlap" X-X-Sender: To: Berend De Schouwer cc: Subject: Re: {multiple} Kernel Oops on cat /proc/ioports In-Reply-To: <1008073796.5535.5.camel@bds.ucs.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 11 Dec 2001, Berend De Schouwer wrote: | [1.] One line summary of the problem: | | Running "cat /proc/ioports" causes a segfault and kernel oops. | >>EIP; c02a925b <===== | Trace; c02a94a6 | Trace; c02a94c4 | Trace; c011dcfb | Trace; c011dd1b | Trace; c011dd72 | Trace; c0154eae | Trace; c0152a3e | Trace; c01368f6 | Trace; c0127caa | Trace; c010712b | Code; c02a925b | 00000000 <_EIP>: | Code; c02a925b <===== | 0: 80 38 00 cmpb $0x0,(%eax) <===== | Code; c02a925e | 3: 74 07 je c <_EIP+0xc> c02a9267 | Code; c02a9260 | 5: 40 inc %eax | Code; c02a9261 | 6: 4a dec %edx | Code; c02a9262 | 7: 83 fa ff cmp $0xffffffff,%edx | Code; c02a9265 | a: 75 f4 jne 0 <_EIP> | Code; c02a9267 | c: 29 c8 sub %ecx,%eax | Code; c02a9269 | e: f6 04 24 10 testb $0x10,(%esp,1) | Code; c02a926d | 12: 89 c6 mov %eax,%esi There have been 3 reports of Oops in vsnprintf() recently [more precisely, in inline strnlen() ]: http://marc.theaimsgroup.com/?l=linux-kernel&m=100277148326190&w=2 printing /proc/ioports http://marc.theaimsgroup.com/?l=linux-kernel&m=100680451811435&w=2 usb device connect/disconnect http://marc.theaimsgroup.com/?l=linux-kernel&m=100807421108830&w=2 printing /proc/ioports It would be easy to paste over the problem in vsnprintf(), but they indicate to me that something else is screwy. -- ~Randy - 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/