Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757249Ab2HHG7I (ORCPT ); Wed, 8 Aug 2012 02:59:08 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:59402 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756131Ab2HHG7G (ORCPT ); Wed, 8 Aug 2012 02:59:06 -0400 MIME-Version: 1.0 In-Reply-To: <20120808081317.40c883f9@amdc308.digital.local> References: <20120806101200.GJ17551@arwen.pp.htv.fi> <20120806151436.4761cd4d@amdc308.digital.local> <20120807113416.57b03f4f@amdc308.digital.local> <20120808081317.40c883f9@amdc308.digital.local> Date: Wed, 8 Aug 2012 14:59:05 +0800 Message-ID: Subject: Re: [BUG] Kernel panic when try s3c-hsotg.c with kernel 3.5 From: Peiyong Feng To: Lukasz Majewski Cc: balbi@ti.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1230 Lines: 44 2012/8/8 Lukasz Majewski : > Dear Peiyong Feng, > >> > Please enable the debug at s3c-hsotg.c driver and then paste the >> > dmesg/debug output. >> I have defined DEGUG in s3c-hsotg.c > > Thank you for 2.6.36 log. > I'd also need the log from 3.6-rc1 kernel with DEBUG enabled. I have made a define like: #define DEBUG in s3c-hsotg.c of 3.6-rc1 kernel and the patch: ====================================== diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c index b13e0bb..b35d275 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers/usb/gadget/s3c-hsotg.c @@ -36,6 +36,7 @@ #include +#define DEBUG #include "s3c-hsotg.h" #define DMA_ADDR_INVALID (~((dma_addr_t)0)) =-======================================== And the output is just the same as I have posted. If that is not the way you want, please let me know. > > -- > Best regards, > > Lukasz Majewski > > Samsung Poland R&D Center | Linux Platform Group -- 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/