G'morning all! (at least it's morning here.)<br><br>I have a running Mythtv server that is running Suse 10.3 with a hvr-1250 just fine on Kernel 2.6.24, and haven't had any problems at all.<br><br>I tried to install a hvr-1800 in it yesterday, and I get a kernel oops on it and X won't start. I compiled up a 2.6.27.10 kernel for it, and moved to that, and I still get the oops. Checked my vmalloc and I am fine, but increased it anyways to 384 just for grins.<br>
<br>I compiled v4l-dvb-cae6de452897 up against the 2.6.24, and the 2.6.27 kernels without any changes. Server boots just fine without the 1800, but with I get the oops.<br><br>The only thing that I can see, is that the 1250 and the 1800 look to be using the same interrupt.<br>
<br>Here is more than enough debug info, I hope. :)<br><br>Thanks!<br><br>-Mark<br><br><br>BUG: unable to handle kernel NULL pointer dereference at 000001a0<br>IP: [<f8e5a594>] :cx23885:video_open+0x2c/0x150<br>*pde = 00000000<br>
Oops: 0000 [#1] SMP<br>Modules linked in: iptable_filter ip_tables ip6_tables x_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k8 xfs loop dm_mod cx25840 mt2131 s5h1409 nvidia(P) cx23885 v4l2_compat_ioctl32 cx2341x videobuf_dma_sg button videobuf_dvb dvb_core videobuf_core v4l2_common snd_hda_intel snd_usb_audio snd_usb_lib snd_mpu401 snd_cs4232 snd_opl3_lib snd_cs4231_lib snd_pcm ohci1394 videodev v4l1_compat osst agpgart btcx_risc rtc_cmos i2c_nforce2 snd_timer ieee1394 snd_mpu401_uart tveeprom sr_mod snd_hwdep i2c_core rtc_core rtc_lib parport_pc parport st lirc_mceusb2 snd_rawmidi snd_seq_device snd k8temp hwmon cdrom forcedeth soundcore snd_page_alloc lirc_dev sg usbhid hid ff_memless ohci_hcd ehci_hcd usbcore sd_mod edd ext3 mbcache jbd fan aic7xxx scsi_transport_spi sata_nv pata_amd libata scsi_mod dock thermal processor thermal_sys<br>
<br>Pid: 3178, comm: X Tainted: P (2.6.27.10-default #3)<br>EIP: 0060:[<f8e5a594>] EFLAGS: 00013287 CPU: 1<br>EIP is at video_open+0x2c/0x150 [cx23885]<br>EAX: 00000000 EBX: 00000000 ECX: f7a9f000 EDX: f7a0e000<br>
ESI: 00000000 EDI: 00000000 EBP: 00000000 ESP: f764de90<br> DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068<br>Process X (pid: 3178, ti=f764c000 task=f7398c00 task.ti=f764c000)<br>Stack: f7a6e540 00000000 f7b16538 00000000 f7bc30a0 c016bee5 f7a6e540 00000000<br>
f7a6e540 f7bc30a0 00000000 c016bdd9 c01683cd f701ebc0 f6d756c0 f764df14<br> f7a6e540 f764df14 00000003 c01684d8 f7a6e540 00000000 00000000 f764df14<br>Call Trace:<br> [<c016bee5>] chrdev_open+0x10c/0x122<br>
[<c016bdd9>] chrdev_open+0x0/0x122<br> [<c01683cd>] __dentry_open+0x10d/0x1fc<br> [<c01684d8>] nameidata_to_filp+0x1c/0x2c<br> [<c0172986>] do_filp_open+0x33d/0x63e<br> [<f9b7d8ce>] _nv004117rm+0x9/0x12 [nvidia]<br>
[<c01582f8>] handle_mm_fault+0x2b3/0x5dd<br> [<c017ab2d>] alloc_fd+0x57/0xd3<br> [<c01681e8>] do_sys_open+0x3f/0xb8<br> [<c01682a5>] sys_open+0x1e/0x23<br> [<c01037ad>] sysenter_do_call+0x12/0x21<br>
=======================<br>Code: 31 ed 57 31 ff 56 31 f6 53 83 ec 04 89 14 24 8b 58 34 e8 16 18 46 c7 8b 15 d0 ad e6 f8 81 e3 ff ff 0f 00 eb 49 8b 82 84 0d 00 00 <39> 98 a0 01 00 00 75 07 89 d6 bf 01 00 00 00 8b 82 88 0d 00 00<br>
EIP: [<f8e5a594>] video_open+0x2c/0x150 [cx23885] SS:ESP 0068:f764de90<br>---[ end trace c26ff07c077248e0 ]---<br><br># dmesg | grep cx<br>cx23885 driver version 0.0.1 loaded<br>cx23885 0000:02:00.0: PCI INT A -> Link[APC5] -> GSI 16 (level, low) -> IRQ 16<br>
CORE cx23885[0]: subsystem: 0070:7911, board: Hauppauge WinTV-HVR1250 [card=3,autodetected]<br>cx23885[0]: warning: unknown hauppauge model #0<br>cx23885[0]: hauppauge eeprom: model=0<br>cx23885_dvb_register() allocating 1 frontend(s)<br>
cx23885[0]: cx23885 based dvb card<br>DVB: registering new adapter (cx23885[0])<br>cx23885_dev_checkrevision() Hardware revision = 0xc0<br>cx23885[0]/0: found at 0000:02:00.0, rev: 3, irq: 16, latency: 0, mmio: 0xfd400000<br>
cx23885 0000:02:00.0: setting latency timer to 64<br>cx23885 0000:03:00.0: PCI INT A -> Link[APC5] -> GSI 16 (level, low) -> IRQ 16<br>CORE cx23885[1]: subsystem: 0070:7801, board: Hauppauge WinTV-HVR1800 [card=2,autodetected]<br>
cx23885[1]: hauppauge eeprom: model=78521<br>cx25840' 4-0044: cx25 0-21 found @ 0x88 (cx23885[0])<br>cx25840' 7-0044: cx25 0-21 found @ 0x88 (cx23885[1])<br>cx23885[1]/0: registered device video0 [v4l2]<br>cx23885[1]: registered device video1 [mpeg]<br>
cx23885_dvb_register() allocating 1 frontend(s)<br>cx23885[1]: cx23885 based dvb card<br>DVB: registering new adapter (cx23885[1])<br>cx23885_dev_checkrevision() Hardware revision = 0xb1<br>cx23885[1]/0: found at 0000:03:00.0, rev: 15, irq: 16, latency: 0, mmio: 0xfd600000<br>
cx23885 0000:03:00.0: setting latency timer to 64<br><br># dmesg | grep DVB<br>DVB: registering new adapter (cx23885[0])<br>DVB: registering adapter 0 frontend 671089123 (Samsung S5H1409 QAM/8VSB Frontend)...<br>tveeprom 5-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)<br>
DVB: registering new adapter (cx23885[1])<br>DVB: registering adapter 1 frontend 0 (Samsung S5H1409 QAM/8VSB Frontend)...<br><br><br><br># ls -l vid*<br>lrwxrwxrwx 1 root root 6 Dec 27 03:35 video -> video0<br>crw-rw---- 1 root video 81, 0 Dec 27 03:35 video0<br>
crw-rw---- 1 root video 81, 1 Dec 27 03:35 video1<br><br><br># ls -lR dvb*<br>dvb:<br>total 0<br>drwxr-xr-x 2 root root 120 Dec 27 03:35 adapter0<br>drwxr-xr-x 2 root root 120 Dec 27 03:35 adapter1<br><br>dvb/adapter0:<br>
total 0<br>crw-rw---- 1 root video 212, 1 Dec 27 03:35 demux0<br>crw-rw---- 1 root video 212, 2 Dec 27 03:35 dvr0<br>crw-rw---- 1 root video 212, 0 Dec 27 03:35 frontend0<br>crw-rw---- 1 root video 212, 3 Dec 27 03:35 net0<br>
<br>dvb/adapter1:<br>total 0<br>crw-rw---- 1 root video 212, 5 Dec 27 03:35 demux0<br>crw-rw---- 1 root video 212, 6 Dec 27 03:35 dvr0<br>crw-rw---- 1 root video 212, 4 Dec 27 03:35 frontend0<br>crw-rw---- 1 root video 212, 7 Dec 27 03:35 net0<br>
<br> # cat /proc/meminfo<br>MemTotal: 3115468 kB<br>MemFree: 2787964 kB<br>Buffers: 9580 kB<br>Cached: 224572 kB<br>SwapCached: 0 kB<br>Active: 106360 kB<br>Inactive: 185368 kB<br>
HighTotal: 2489280 kB<br>HighFree: 2191700 kB<br>LowTotal: 626188 kB<br>LowFree: 596264 kB<br>SwapTotal: 2104504 kB<br>SwapFree: 2104504 kB<br>Dirty: 2000 kB<br>Writeback: 0 kB<br>
AnonPages: 57640 kB<br>Mapped: 27928 kB<br>Slab: 14800 kB<br>SReclaimable: 8112 kB<br>SUnreclaim: 6688 kB<br>PageTables: 972 kB<br>NFS_Unstable: 0 kB<br>Bounce: 0 kB<br>
WritebackTmp: 0 kB<br>CommitLimit: 3662236 kB<br>Committed_AS: 321112 kB<br>VmallocTotal: 376824 kB<br>VmallocUsed: 22080 kB<br>VmallocChunk: 354048 kB<br>HugePages_Total: 0<br>HugePages_Free: 0<br>
HugePages_Rsvd: 0<br>HugePages_Surp: 0<br>Hugepagesize: 4096 kB<br>DirectMap4k: 20480 kB<br>DirectMap4M: 634880 kB<br><br># cat /proc/interrupts<br> CPU0 CPU1<br> 0: 43 1 IO-APIC-edge timer<br>
1: 0 8 IO-APIC-edge i8042<br> 7: 1 0 IO-APIC-edge parport0<br> 8: 0 79 IO-APIC-edge rtc0<br> 9: 0 0 IO-APIC-fasteoi acpi<br>
10: 0 0 IO-APIC-edge MPU401 UART<br> 12: 0 114 IO-APIC-edge i8042<br> 14: 0 0 IO-APIC-edge pata_amd<br> 15: 8 70 IO-APIC-edge pata_amd<br>
16: 0 14 IO-APIC-fasteoi cx23885[0], cx23885[1]<br> 17: 4 55 IO-APIC-fasteoi aic7xxx<br> 19: 0 3 IO-APIC-fasteoi ohci1394<br> 20: 0 4 IO-APIC-fasteoi ehci_hcd:usb2<br>
21: 50 639 IO-APIC-fasteoi ohci_hcd:usb1<br> 22: 0 0 IO-APIC-fasteoi sata_nv<br> 23: 4394 9058 IO-APIC-fasteoi sata_nv, eth0<br>NMI: 0 0 Non-maskable interrupts<br>
LOC: 6058 6020 Local timer interrupts<br>RES: 3291 1978 Rescheduling interrupts<br>CAL: 2402 122 function call interrupts<br>TLB: 261 129 TLB shootdowns<br>TRM: 0 0 Thermal event interrupts<br>
SPU: 0 0 Spurious interrupts<br>ERR: 1<br>MIS: 0<br><br>