Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: cx22702 problems / new card ? (was Compilation error with dvb-kernel CVS)



Hi,

I've unzipped a clean version of linux-2.6.9.tar.bz2
from kernel.org
Then I applied patch-2.6.10-rc1 from kernel.org
Then I applied
http://dl.bytesex.org/patches/2.6.10-rc1-1/All-2.6.10-rc1.diff.gz

The DVB part of my config file now looks like:

#
# Multimedia devices
#
CONFIG_VIDEO_DEV=y

#
# Video For Linux
#

#
# Video Adapters
#
# CONFIG_VIDEO_BT848 is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
CONFIG_VIDEO_CX88=y
CONFIG_VIDEO_CX88_DVB=y
# CONFIG_VIDEO_OVCAMCHIP is not set

#
# Radio Adapters
#
# CONFIG_RADIO_GEMTEK_PCI is not set
# CONFIG_RADIO_MAXIRADIO is not set
# CONFIG_RADIO_MAESTRO is not set

#
# Digital Video Broadcasting Devices
#
CONFIG_DVB=y
CONFIG_DVB_CORE=y

#
# Supported SAA7146 based PCI Adapters
#
# CONFIG_DVB_AV7110 is not set
# CONFIG_DVB_BUDGET is not set
# CONFIG_DVB_BUDGET_CI is not set
# CONFIG_DVB_BUDGET_AV is not set

#
# Supported USB Adapters
#
# CONFIG_DVB_TTUSB_BUDGET is not set
# CONFIG_DVB_TTUSB_DEC is not set
# CONFIG_DVB_DIBUSB is not set
# CONFIG_DVB_CINERGYT2 is not set

#
# Supported FlexCopII (B2C2) Adapters
#
# CONFIG_DVB_B2C2_SKYSTAR is not set

#
# Supported BT878 Adapters
#

#
# Supported DVB Frontends
#

#
# Customise DVB Frontends
#

#
# DVB-S (satellite) frontends
#
# CONFIG_DVB_STV0299 is not set
# CONFIG_DVB_CX24110 is not set
# CONFIG_DVB_TDA8083 is not set
# CONFIG_DVB_TDA80XX is not set
# CONFIG_DVB_MT312 is not set
# CONFIG_DVB_VES1X93 is not set

#
# DVB-T (terrestrial) frontends
#
# CONFIG_DVB_SP8870 is not set
# CONFIG_DVB_SP887X is not set
# CONFIG_DVB_CX22700 is not set
CONFIG_DVB_CX22702=y
# CONFIG_DVB_L64781 is not set
# CONFIG_DVB_TDA1004X is not set
# CONFIG_DVB_NXT6000 is not set
# CONFIG_DVB_MT352 is not set
# CONFIG_DVB_DIB3000MB is not set

#
# DVB-C (cable) frontends
#
# CONFIG_DVB_ATMEL_AT76C651 is not set
# CONFIG_DVB_VES1820 is not set
# CONFIG_DVB_TDA10021 is not set
CONFIG_VIDEO_TUNER=y
CONFIG_VIDEO_BUF=y
CONFIG_VIDEO_BUF_DVB=y
CONFIG_VIDEO_BTCX=y


This causes a compile error due to a call to
mt352_attach at line 127 of cx88-dvb.c

If I comment out the offending line, I the kernel oops attached below.

 

I can set CONFIG_VIDEO_CX88_DVB=m and everything boots
OK, and works fine after modprobe cx88-dvb

 

Intel(R) PRO/10GbE Network Driver - version 1.0.66

Copyright (c) 2001-2004 Intel Corporation.

Linux video capture interface: v1.00

cx2388x v4l2 driver version 0.0.4 loaded

ACPI: PCI interrupt 0000:01:09.0[A] -> GSI 18 (level, low) -> IRQ 18

cx88[0]: subsystem: 0070:9002, board: Hauppauge Nova-T DVB-T [card=18,autodetected]

cx88[0]: hauppauge eeprom: model=90002, tuner=Thomson DTT 7592 (76)

cx88[0]/0: found at 0000:01:09.0, rev: 5, irq: 18, latency: 64, mmio: 0xfc000000

cx88[0]/0: registered device video0 [v4l2]

cx88[0]/0: registered device vbi0

cx2388x blackbird driver version 0.0.4 loaded

cx2388x dvb driver version 0.0.4 loaded

ACPI: PCI interrupt 0000:01:09.2[A] -> GSI 18 (level, low) -> IRQ 18

cx88[0]/2: found at 0000:01:09.2, rev: 5, irq: 18, latency: 64, mmio: 0xfb000000

cx88[0]/2: cx2388x based dvb card

Unable to handle kernel NULL pointer dereference at virtual address 00000000

printing eip:

c02302ee

*pde = 00000000

Oops: 0002 [#1]

Modules linked in:

CPU: 0

EIP: 0060:[<c02302ee>] Not tainted VLI

EFLAGS: 00010282 (2.6.10-rc1CGS)

EIP is at device_bind_driver+0x34/0x4e

eax: c03fa44c ebx: dfd9e418 ecx: 00000000 edx: dfd9e428

esi: dfd9e418 edi: c03fce00 ebp: dfd9e88c esp: c17e1e2c

ds: 007b es: 007b ss: 0068

Process swapper (pid: 1, threadinfo=c17e0000 task=dfea69e0)

Stack: c0372e4c dfd9e470 00000000 dfd9e470 c02303d1 c011b1e9 c17e1e68 dfd9e470

dfd9e418 dfd9e470 dfd9e418 c03fce00 dfd9e88c c0230602 c0367dbd c036a186

dfd9e470 00000000 dfd9e418 dfd9e43c dfd9e88c c022f642 dfd9e43c dfd9e470

Call Trace:

[<c02303d1>] device_attach+0x80/0x8f

[<c011b1e9>] vprintk+0xfa/0x10d

[<c0230602>] bus_add_device+0x66/0x9f

[<c022f642>] device_add+0x8c/0x10c

[<c02948dd>] i2c_attach_client+0xcc/0x136

[<c02739b4>] cx22702_create+0xde/0x175

[<c0263dc2>] dvb_register+0x71/0x81

[<c0263ec8>] dvb_probe+0xf6/0x122

[<c017da8b>] sysfs_create+0x63/0xbd

[<c017e150>] init_dir+0x0/0x1b

[<c01cd4c4>] pci_device_probe_static+0x30/0x43

[<c01cd4f7>] __pci_device_probe+0x20/0x30

[<c01cd522>] pci_device_probe+0x1b/0x32

[<c023032f>] bus_match+0x27/0x49

[<c023042d>] driver_attach+0x4d/0x8a

[<c01c3b14>] kobject_register+0x1c/0x4d

[<c0230824>] bus_add_driver+0x88/0xb5

[<c0230c99>] driver_register+0x28/0x2c

[<c0263f43>] dvb_init+0x27/0x34

[<c01cd6fc>] pci_register_driver+0x54/0x6b

[<c0444784>] do_initcalls+0x24/0xb4

[<c01003ed>] init+0x0/0xf8

[<c01003ed>] init+0x0/0xf8

[<c010041a>] init+0x2d/0xf8

[<c0104244>] kernel_thread_helper+0x0/0xb

[<c0104249>] kernel_thread_helper+0x5/0xb

Code: 8b 00 c7 04 24 4c 2e 37 c0 89 44 24 08 8d 43 58 89 44 24 04 e8 f8 ad ee ff 8b 43 70 83 c0 4c 8d 53 10 8b 48 04 89 43 10 89 50 04 <89> 11 89 4a 04 8d 53 24 8b 43 70 8b 4b 24 83 c4 0c 83 c0 18 5b

<0>Kernel panic - not syncing: Attempted to kill init!



Gerd Knorr <kraxel@bytesex.org> wrote:

On Wed, Oct 27, 2004 at 07:54:00PM +0100, Torgeir Veimo wrote:
> On Tue, 2004-10-26 at 18:15 +0200, Gerd Knorr wrote:
> > The 2.6.10-rc1 patchset has a big dvb patch which updates the dvb
> > subsystem to FE_REFACTORING branch btw, so I'm very happy that it
> > does well. Hope it can merged it to HEAD pretty soon then.
>
> Apparently it oopses if compiled into the kernel...

Hmm, can you post the oops? I'd guess it's an initialization order
issue, but lets see ...

Gerd

--
#define printk(args...) fprintf(stderr, ## args)

Send instant messages to your online friends http://uk.messenger.yahoo.com


Home | Main Index | Thread Index