Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752589AbYLZNZK (ORCPT ); Fri, 26 Dec 2008 08:25:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751626AbYLZNY6 (ORCPT ); Fri, 26 Dec 2008 08:24:58 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:55193 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750912AbYLZNY5 (ORCPT ); Fri, 26 Dec 2008 08:24:57 -0500 Date: Fri, 26 Dec 2008 14:24:26 +0100 From: Ingo Molnar To: Mauro Carvalho Chehab Cc: linux-dvb-maintainer@linuxtv.org, video4linux-list@redhat.com, linux-kernel@vger.kernel.org, Patrick Boettcher Subject: Re: [GIT PATCHES for 2.6.28] V4L/DVB fixes, crash in af9005_usb_module_init() Message-ID: <20081226132426.GA26953@elte.hu> References: <20081224121252.7560391e@caramujo.chehab.org> <20081225081907.GA4628@elte.hu> <20081225212459.4c7e31b4@caramujo.chehab.org> <20081226090220.GF755@elte.hu> <20081226111324.3fbb804b@caramujo.chehab.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081226111324.3fbb804b@caramujo.chehab.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4965 Lines: 103 * Mauro Carvalho Chehab wrote: > Hi Ingo, > > On Fri, 26 Dec 2008 10:02:20 +0100 > Ingo Molnar wrote: > > > > Please test the enclosed patch. > > > > thanks Mauro - i've reverted all my local drivers/media/dvb/ hacks (see > > them below) and applied your fix, and started testing things. Will let you > > know if i run into any other kind of build or boot trouble. > > Thanks. > > I think both dm1105 and dib0700p Kbuild troubles have already been > fixed. However, the opera1/af9005 runtime issue seems to be something > different. I suspect that it is related on having af9005-remote or not. > > Let's see if Luca can help us with this issue. here's that commit again, standalone, with the crash in af9005_usb_module_init() embedded. Unfortunately i dont have the .config anymore and the crash log is half a year old. I have re-enabled the driver in tip/master so if the crash still triggers i should see it within 1-2 days and i can do a fuller bugreport. Ingo -----------------------> >From 7120b52e90e1837e09bb4621f105022f940b856a Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Sat, 21 Jun 2008 08:16:39 +0200 Subject: [PATCH] work around this crash for now: [ 8.585448] calling opera1_module_init+0x0/0x40 [ 8.592370] usbcore: registered new interface driver opera1 [ 8.597879] initcall opera1_module_init+0x0/0x40 returned 0 after 5 msecs [ 8.602341] calling af9005_usb_module_init+0x0/0xb0 [ 8.609143] usbcore: registered new interface driver dvb_usb_af9005 [ 8.613625] BUG: unable to handle kernel paging request at ff100000 [ 8.619858] IP: [] af9005_usb_module_init+0x92/0xb0 [ 8.619858] *pdpt = 0000000000c6b001 *pde = 0000000000000000 [ 8.623858] Oops: 0000 [#1] SMP [ 8.623858] [ 8.623858] Pid: 1, comm: swapper Not tainted (2.6.26-rc6-tip-00382-g5bf10cd-dirty #8770) [ 8.623858] EIP: 0060:[] EFLAGS: 00010286 CPU: 1 [ 8.623858] EIP is at af9005_usb_module_init+0x92/0xb0 [ 8.623858] EAX: ff100000 EBX: 00000000 ECX: 00000000 EDX: f6c55ee8 [ 8.623858] ESI: 00000000 EDI: 00000000 EBP: f6c55f60 ESP: f6c55f54 [ 8.623858] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 [ 8.623858] Process swapper (pid: 1, ti=f6c54000 task=f6c538a0 task.ti=f6c54000) [ 8.623858] Stack: 00000005 00000000 00000005 f6c55fe0 c0bef7f4 c0a2e531 00000000 00000005 [ 8.623858] 00000000 f6c54000 00d25d95 00000002 c0c50d8c c0c21a70 00000000 6f727200 [ 8.623858] 6f632072 2d206564 00203232 f6c53490 f6c55fac c0125568 f6c57fc0 c0103c66 [ 8.623858] Call Trace: [ 8.623858] [] ? kernel_init+0x1a4/0x2b0 [ 8.623858] [] ? af9005_usb_module_init+0x0/0xb0 [ 8.623858] [] ? schedule_tail+0x18/0x50 [ 8.623858] [] ? ret_from_fork+0x6/0x20 [ 8.623858] [] ? kernel_init+0x0/0x2b0 [ 8.623858] [] ? kernel_init+0x0/0x2b0 [ 8.623858] [] ? kernel_thread_helper+0x7/0x10 [ 8.623858] ======================= [ 8.623858] Code: c3 89 44 24 04 c7 04 24 60 72 ae c0 e8 28 8e 50 ff 89 d8 83 c4 08 5b 5d c3 b8 00 00 10 ff 85 c0 74 c1 b8 00 00 10 ff 85 c0 74 b8 00 00 10 ff c7 05 b4 96 b9 c0 00 00 10 ff a3 b8 96 b9 c0 eb [ 8.635859] EIP: [] af9005_usb_module_init+0x92/0xb0 SS:ESP 0068:f6c55f54 [ 8.635859] Kernel panic - not syncing: Fatal exception [ 8.635859] Pid: 1, comm: swapper Tainted: G D 2.6.26-rc6-tip-00382-g5bf10cd-dirty #8770 [ 8.635859] [] panic+0x4b/0x110 [ 8.635859] [] die+0x115/0x180 [ 8.635859] [] do_page_fault+0x2ac/0x880 [ 8.635859] [] ? sysfs_addrm_finish+0x1b/0x1c0 [ 8.635859] [] ? do_page_fault+0x0/0x880 [ 8.635859] [] error_code+0x72/0x80 [ 8.635859] [] ? af9005_usb_module_init+0x92/0xb0 [ 8.635859] [] kernel_init+0x1a4/0x2b0 [ 8.635859] [] ? af9005_usb_module_init+0x0/0xb0 [ 8.635859] [] ? schedule_tail+0x18/0x50 [ 8.635859] [] ? ret_from_fork+0x6/0x20 Signed-off-by: Ingo Molnar --- drivers/media/dvb/dvb-usb/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/Kconfig b/drivers/media/dvb/dvb-usb/Kconfig index 3c13bcf..661d361 100644 --- a/drivers/media/dvb/dvb-usb/Kconfig +++ b/drivers/media/dvb/dvb-usb/Kconfig @@ -235,6 +235,7 @@ config DVB_USB_OPERA1 config DVB_USB_AF9005 tristate "Afatech AF9005 DVB-T USB1.1 support" depends on DVB_USB && EXPERIMENTAL + depends on 0 select MEDIA_TUNER_MT2060 if !DVB_FE_CUSTOMISE select MEDIA_TUNER_QT1010 if !DVB_FE_CUSTOMISE help -- 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/