From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [linux-usb-devel] Re: oops with USB Storage on 2.6.14 Date: Wed, 2 Nov 2005 17:21:44 +1100 Message-ID: <20051102172144.757fe643.akpm@osdl.org> References: <20051030170244.4a8c06b7.akpm@osdl.org> <38bdcd1f0511011856i3780bf55q3013956dc7e06e3e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <38bdcd1f0511011856i3780bf55q3013956dc7e06e3e@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Masanari Iida Cc: stern@rowland.harvard.edu, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-usb-devel@lists.sourceforge.net List-Id: linux-scsi@vger.kernel.org Masanari Iida wrote: > > On 11/1/05, Alan Stern wrote: > > On Sun, 30 Oct 2005, Andrew Morton wrote: > > > > > Masanari Iida wrote: > > > > > > Hello Andrew, > > > > > > > > I did disabled CONFIG_DEBUG_PAGEALLOC and re-tested on 2.6.14-rc1. > > > > Now the oops didn't happen when I connect digital camera to the USB. > > > > > > So the first oops was probably use-after-free. > > > > > > > I could mount the camera as USB storage. > > > > But oops still happen when I turned the camera power off. > > > > (This oops didn't halt my system, BTW) > > > > > > > > # Unable to handle kernel paging request at virtual address 6b6b6bb3 > > > > printing eip: > > > > c02b88ca > > > > *pde = 00000000 > > > > Oops: 0002 [#1] > > > > SMP > > > > Modules linked in: autofs e100 ipt_LOG ipt_state ip_conntrack > > > > ipt_recent iptable_filter ip_tables video rtc > > > > CPU: 0 > > > > EIP: 0060:[] Not tainted VLI > > > > EFLAGS: 00010296 (2.6.14-rc1) > > > > EIP is at scsi_remove_device+0x3a/0x50 > > > > > > If you need some more test, let me know. > > > > In that case, please specify which version of kernel you want me to test. > > > > > > > > > > OK, thanks. This is a different bug. Presumably in USB. > > > > This was fixed in later releases of 2.6.14-rc. > > > > I wasn't able to reproduce the original problem, even after setting > > CONFIG_DEBUG_PAGEALLOC. > > > > Alan Stern > > > Alan, > > Confirm the " scsi_remove_device " oops didn't happen on 2.4.14. 2.6.14, I assume. > Talking about the original PANIC, as I have a workaround > (CONFIG_DEBUG_PAGEALLOC disabled), I agree to close my report, now. That's not a valid workaround. We're touching freed, unallocated or simply wild memory and that is a bad bug.