Hi. I recently compiled a plain kernel 2.6.2, and I am getting a segfault when loading the bttv module. Dmesg output follows (after having run "modprobe bttv"): --- bttv: driver version 0.9.12 loaded bttv: using 8 buffers with 2080k (520 pages) each for capture bttv: Bt8xx card found (0). bttv0: Bt848 (rev 18) at 0000:01:06.0, irq: 18, latency: 32, mmio: 0xe6000000 bttv0: using: MIRO PCTV [card=1,insmod option] bttv0: gpio: en=00000000, out=00000000 in=00ff33ff [init] i2c_adapter i2c-0: registered as adapter #0 bttv0: i2c: checking for MSP34xx @ 0x80... <7>i2c_adapter i2c-0: master_recv: reading 1 bytes. Unable to handle kernel NULL pointer dereference at virtual address 00000000 printing eip: e094c031 *pde = 00000000 Oops: 0000 [#1] CPU: 0 EIP: 0060:[<e094c031>] Not tainted EFLAGS: 00010202 EIP is at i2c_master_recv+0xc1/0x110 [i2c_core] eax: 00000000 ebx: e09fee80 ecx: e09fee80 edx: 0000001d esi: ffffff87 edi: e09fee64 ebp: e09ff090 esp: ddb3ddec ds: 007b es: 007b ss: 0068 Process modprobe (pid: 3860, threadinfo=ddb3c000 task=de6760c0) Stack: e09fee64 ddb3de04 e09ff104 ffffff87 00000001 00000040 00010040 e09f0001 ddb3de3b e094b253 00000080 e09fee60 e09f18bc 00000000 e09ef2e4 e09ff090 ddb3de3b 00000001 00000080 009fee60 e09fee60 0000000b 00ff33ff e09e9eed Call Trace: [<e094b253>] i2c_add_adapter+0x1a3/0x1c0 [i2c_core] [<e09ef2e4>] bttv_I2CRead+0x84/0x100 [bttv] [<e09e9eed>] miro_pinnacle_gpio+0x4d/0x240 [bttv] [<e09ef5b0>] init_bttv_i2c+0x120/0x190 [bttv] [<e09ea395>] bttv_init_card2+0x35/0x640 [bttv] [<e09e9060>] bttv_probe+0x4c0/0x6b0 [bttv] [<c0168f62>] dput+0x22/0x230 [<c01bb3d2>] pci_device_probe_static+0x52/0x70 [<c01bb42c>] __pci_device_probe+0x3c/0x50 [<c01bb46c>] pci_device_probe+0x2c/0x50 [<c01fa8bf>] bus_match+0x3f/0x70 [<c01fa9ec>] driver_attach+0x5c/0x90 [<c01fac8d>] bus_add_driver+0x8d/0xa0 [<c01fb0df>] driver_register+0x2f/0x40 [<c01bb65c>] pci_register_driver+0x5c/0x90 [<e09e974c>] bttv_init_module+0x9c/0x110 [bttv] [<c013371c>] sys_init_module+0x12c/0x250 [<c01091bb>] syscall_call+0x7/0xb --- I have tried with and without my standard bttv options (card= and the such), and I have tried with a completely plain kernel. Any thoughts? Should a kernel bug be filed?
Here is my complete dmesg output: http://gspr.dyndns.org/~gspr/bttv.dmesg.log (this is from 2.6.2 with the two 2.6.0 Andrew Morton patches to work around the nForce2 APIC bugs, but the problem persists with a completely plain 2.6.2). It should perhaps be pointed out, in case it is unclear, that the bttv module functions flawlessly with kernel 2.6.1 on my system. -- Gard -- [EMAIL PROTECTED] mailing list