From: Ingo Molnar on

* Mauro Carvalho Chehab <mchehab(a)redhat.com> wrote:

> Hi Ingo,
>
> On Fri, 26 Dec 2008 10:02:20 +0100
> Ingo Molnar <mingo(a)elte.hu> 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 <mingo(a)elte.hu>
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: [<c0c21b02>] 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:[<c0c21b02>] 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] [<c0bef7f4>] ? kernel_init+0x1a4/0x2b0
[ 8.623858] [<c0c21a70>] ? af9005_usb_module_init+0x0/0xb0
[ 8.623858] [<c0125568>] ? schedule_tail+0x18/0x50
[ 8.623858] [<c0103c66>] ? ret_from_fork+0x6/0x20
[ 8.623858] [<c0bef650>] ? kernel_init+0x0/0x2b0
[ 8.623858] [<c0bef650>] ? kernel_init+0x0/0x2b0
[ 8.623858] [<c0104fa7>] ? 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 <a1> 00 00 10 ff c7 05 b4 96 b9 c0 00 00 10 ff a3 b8 96 b9 c0 eb
[ 8.635859] EIP: [<c0c21b02>] 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] [<c0129cfb>] panic+0x4b/0x110
[ 8.635859] [<c01059b5>] die+0x115/0x180
[ 8.635859] [<c0118cfc>] do_page_fault+0x2ac/0x880
[ 8.635859] [<c01d5abb>] ? sysfs_addrm_finish+0x1b/0x1c0
[ 8.635859] [<c0118a50>] ? do_page_fault+0x0/0x880
[ 8.635859] [<c08d1212>] error_code+0x72/0x80
[ 8.635859] [<c0c21b02>] ? af9005_usb_module_init+0x92/0xb0
[ 8.635859] [<c0bef7f4>] kernel_init+0x1a4/0x2b0
[ 8.635859] [<c0c21a70>] ? af9005_usb_module_init+0x0/0xb0
[ 8.635859] [<c0125568>] ? schedule_tail+0x18/0x50
[ 8.635859] [<c0103c66>] ? ret_from_fork+0x6/0x20

Signed-off-by: Ingo Molnar <mingo(a)elte.hu>
---
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(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/