Hello,

I have read your list for the whole afternoon (and thanks a lot for
all the posts, it has been quite an experience :) but I couldn't get
my card to work.

It is a Toshiba Qosmio G40 (my nemesis ...) with Ubuntu Intrepid beta
latest patches. I have also applied the latest BIOS and booted the
laptop with : vmalloc=192M noacpi acpi=off.

Following this, i had the usual errors:

[   19.744031] cx18:  Start initialization, version 1.0.0
[   19.748031] cx18-0: Initializing card #0
[   19.748031] cx18-0: Unknown card: vendor/device: 14f1/5b7a
[   19.748031] cx18-0:               subsystem vendor/device: 1179/0110
[   19.748031] cx18-0: Defaulting to Hauppauge HVR-1600 card
[   19.748031] cx18-0: Please mail the vendor/device and subsystem
vendor/device IDs and what kind of
[   19.748031] cx18-0: card you have to the ivtv-devel mailinglist
(www.ivtvdriver.org)
[   19.748031] cx18-0: Prefix your subject line with [UNKNOWN CX18 CARD].
[   19.748031] cx18 0000:08:09.0: found PCI INT A -> IRQ 11
[   19.748031] cx18 0000:08:09.0: sharing IRQ 11 with 0000:00:1b.0
[   19.752031] cx18-0: cx23418 revision 01010000 (B)
[   19.920031] uvcvideo: Found UVC 1.00 device Chicony USB 2.0 Camera
(04f2:b018)
[   19.932031] input: Chicony USB 2.0 Camera as
/devices/pci0000:00/0000:00:1a.7/usb3/3-4/3-4:1.0/input/input3
[   19.948031] usbcore: registered new interface driver uvcvideo
[   19.948031] USB Video Class driver (v0.1.0)
[   20.068031] tveeprom 0-0050: Hauppauge model 0, rev , serial# 0
[   20.068031] tveeprom 0-0050: tuner model is None (idx 0, type 4)
[   20.068031] tveeprom 0-0050: TV standards none (eeprom 0x00)
[   20.068031] tveeprom 0-0050: audio processor is unknown (no idx)
[   20.068031] tveeprom 0-0050: has no radio
[   20.072031] cx18-0: Invalid EEPROM
[   20.072031] cx18-0: VBI is not yet supported
[   20.076031] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network
Connection driver for Linux, 1.2.26ks
[   20.076031] iwl3945: Copyright(c) 2003-2008 Intel Corporation
[   20.736031] Synaptics Touchpad, model: 1, fw: 6.3, id: 0x9280b1,
caps: 0xa04713/0x204000
[   20.804031] input: SynPS/2 Synaptics TouchPad as
/devices/platform/i8042/serio1/input/input4
[   24.184031] cs: IO port probe 0x100-0x3af: clean.
[   24.188031] cs: IO port probe 0x3e0-0x4ff: clean.
[   24.188031] cs: IO port probe 0x820-0x8ff: clean.
[   24.188031] cs: IO port probe 0xc00-0xcf7: clean.
[   24.188031] cs: IO port probe 0xa00-0xaff: clean.
[   68.356031] cs5345 0-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
[   68.356031] cx18-0: Disabled encoder IDX device
[   68.356031] cx18-0: Registered device video1 for encoder MPEG (2 MB)
[   68.356031] DVB: registering new adapter (cx18)
[   68.756031] s5h1409_readreg: readreg error (ret == -6)
[   68.756031] cx18-0: frontend initialization failed
[   68.756031] cx18-0: DVB failed to register
[   68.756031] cx18-0: Registered device video32 for encoder YUV (2 MB)
[   68.756031] cx18-0: Registered device video24 for encoder PCM audio (1 MB)
[   68.756031] cx18-0: Registered device radio0 for encoder radio
[   68.760031] cx18-0: Error -12 registering devices
[   68.760031] cx18-0: Error -12 on initialization
[   68.760031] cx18: probe of 0000:08:09.0 failed with error -12

This convinced me to take a long look on the interrupts and found this:

 11:       1600    XT-PIC-XT        uhci_hcd:usb2, ehci_hcd:usb3,
uhci_hcd:usb4, uhci_hcd:usb5, uhci_hcd:usb6, ehci_hcd:usb7, ohci1394,
tifm_7xx1, HDA Intel

As you can see, it does share with an awful lot of devices. The card
is integrated so changing it of slot is not an option :)

I blacklisted mmc_core and yenta_socket which i don't use anyway, then
it went further but then died:

[  605.081753] cx18:  Start initialization, version 1.0.0
[  605.081753] cx18-0: Initializing card #0
[  605.081753] cx18-0: Unknown card: vendor/device: 14f1/5b7a
[  605.081753] cx18-0:               subsystem vendor/device: 1179/0110
[  605.081753] cx18-0: Defaulting to Hauppauge HVR-1600 card
[  605.081753] cx18-0: Please mail the vendor/device and subsystem
vendor/device IDs and what kind of
[  605.081753] cx18-0: card you have to the ivtv-devel mailinglist
(www.ivtvdriver.org)
[  605.081753] cx18-0: Prefix your subject line with [UNKNOWN CX18 CARD].
[  605.081753] cx18-0 info: base addr: 0xec000000
[  605.081753] cx18-0 info: Enabling pci device
[  605.081753] cx18-0 info: cx23418 (rev 0) at 08:09.0, irq: 11,
latency: 64, memory: 0xec000000
[  605.081753] cx18-0 info: attempting ioremap at 0xec000000 len 0x04000000
[  605.089753] cx18-0: cx23418 revision 01010000 (B)
[  605.165753] cx18-0 info: GPIO initial dir: 0000cffe/0000ffff out:
00003001/00000000
[  605.165753] cx18-0 info: activating i2c...
[  605.165753] cx18-0 i2c: i2c init
[  605.265753] cx18-0 info: Active card count: 1.
[  605.313753] tveeprom 3-0050: Hauppauge model 0, rev , serial# 0
[  605.313753] tveeprom 3-0050: tuner model is None (idx 0, type 4)
[  605.313753] tveeprom 3-0050: TV standards none (eeprom 0x00)
[  605.313753] tveeprom 3-0050: audio processor is unknown (no idx)
[  605.313753] tveeprom 3-0050: has no radio
[  605.313753] cx18-0: Invalid EEPROM
[  605.313753] cx18-0: VBI is not yet supported
[  605.393753] cx18-0 info: Loaded module tuner
[  605.401753] cx18-0 info: Loaded module cs5345
[  605.401753] cx18-0 i2c: i2c client register
[  653.401753] cx18-0 i2c: i2c client register
[  653.409753] cs5345 3-004c: chip found @ 0x98 (cx18 i2c driver #0-0)
[  653.409753] cx18-0 info: Allocate encoder MPEG stream: 32 x 32768
buffers (1024kB total)
[  653.409753] cx18-0: Disabled TS device
[  653.409753] cx18-0: Disabled encoder YUV device
[  653.409753] cx18-0: Disabled encoder PCM audio device
[  653.409753] cx18-0: Disabled encoder IDX device
[  653.409753] cx18-0: Registered device video1 for encoder MPEG (1 MB)
[  653.409753] DVB: registering new adapter (cx18)
[  653.421753] s5h1409_readreg: readreg error (ret == -6)
[  653.425753] cx18-0: frontend initialization failed
[  653.425753] firmware: requesting v4l-cx23418-apu.fw
[  653.433753] cx18-0: DVB failed to register
[  653.493753] cx18-0 info: load segment a00000-a07fff
[  653.505753] cx18-0 info: load segment ae0000-ae00ff
[  653.505753] cx18-0 info: load segment b00000-b1a65f
[  653.553753] cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000
(141200 bytes)
[  654.053753] firmware: requesting v4l-cx23418-cpu.fw
[  654.125753] cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes)
[  654.329753] firmware: requesting v4l-cx23418-apu.fw
[  654.329753] cx18-0 info: load segment a00000-a07fff
[  654.345753] cx18-0 info: load segment ae0000-ae00ff
[  654.345753] cx18-0 info: load segment b00000-b1a65f
[  654.893753] firmware: requesting v4l-cx23418-cpu.fw
[  655.161753] cx18-0 info: Changing input from 1 to 0
[  655.161753] cx18-0 info: Mute
[  655.161753] cx18-0 info: cmd 4008646f triggered fw load
[  655.161753] firmware: requesting v4l-cx23418-dig.fw
[  655.357753] cx18-0: loaded v4l-cx23418-dig.fw firmware (16382 bytes)
[  655.357753] cx18-0 info: decoder set video input 7, audio input 8
[  655.357753] cx18-0 i2c: call_i2c_client addr=4c
[  655.361753] cx18-0 info: decoder set video input 7, audio input 8
[  660.869753] cx18-0: mb CX18_APU_RESETAI failed
[  660.869753] cx18-0 info: Unmute
[  660.869753] cx18-0 info: Switching standard to 1000.
[  660.869753] cx18-0 info: changing video std to fmt 1
[  660.869753] cx18-0 info: PLL regs = int: 15, frac: 2876158, post: 4
[  660.869753] cx18-0 info: PLL = 0.000011 MHz
[  660.869753] cx18-0 info: PLL/8 = 0.000001 MHz
[  660.869753] cx18-0 info: ADC Sampling freq = 0.000001 MHz
[  660.869753] cx18-0 info: Chroma sub-carrier freq = 0.000000 MHz
[  660.869753] cx18-0 info: hblank 122, hactive 720, vblank 26 ,
vactive 487, vblank656 26, src_dec 543,burst 0x5b, luma_lpf 1, uv_lpf
1, comb 0x66, sc 0x087c1f
[  660.869753] cx18-0 info: Mute
[  660.869753] cx18-0 info: v4l2 ioctl: set frequency 1076
[  660.869753] cx18-0 info: Unmute
[  660.869753] cx18-0: Registered device radio0 for encoder radio
[  660.869753] cx18-0: Error -12 registering devices
[  660.869753] cx18-0 i2c: i2c exit
[  660.869753] cx18-0 i2c: i2c client detach
[  660.869753] cx18-0 i2c: i2c detach [client=cs5345,ok]
[  660.869753] cx18-0 info: releasing enc_mem
[  660.869753] cx18-0: Error -12 on initialization
[  660.869753] cx18: probe of 0000:08:09.0 failed with error -12
[  660.869753] cx18:  End initialization

and the panic itself:

[  660.873753] BUG: unable to handle kernel NULL pointer dereference at 00000180
[  660.873753] IP: [<f4aed1cc>] :videodev:__video_do_ioctl+0x2c/0x3350
[  660.873753] *pde = 00000000
[  660.873753] Oops: 0000 [#1] SMP
[  660.873753] Modules linked in: cx18 dvb_core i2c_algo_bit cx2341x
tveeprom af_packet binfmt_misc bridge stp bnep sco rfcomm l2cap
bluetooth ppdev cpufreq_conservative cpufreq_userspace
cpufreq_ondemand cpufreq_stats freq_table cpufreq_powersave
iptable_filter ip_tables x_tables sbp2 parport_pc lp parport loop ipv6
arc4 ecb crypto_blkcipher s5h1409 joydev cs5345 tuner snd_hda_intel
iwl3945 rfkill uvcvideo psmouse snd_pcm_oss snd_mixer_oss serio_raw
evdev mac80211 pcspkr snd_pcm led_class compat_ioctl32 videodev
snd_seq_dummy v4l1_compat cfg80211 v4l2_common tifm_7xx1 snd_seq_oss
tifm_core nvidia(P) snd_seq_midi i2c_core snd_rawmidi
snd_seq_midi_event iTCO_wdt iTCO_vendor_support snd_seq snd_timer
snd_seq_device snd intel_agp soundcore agpgart snd_page_alloc shpchp
pci_hotplug ext3 jbd mbcache sr_mod cdrom pata_acpi sd_mod crc_t10dif
sg ata_piix ata_generic ahci libata scsi_mod ohci1394 dock ieee1394
ehci_hcd uhci_hcd usbcore e1000e fbcon tileblit font bitblit
softcursor fuse [last unloaded: tveeprom]
[  660.873753]
[  660.873753] Pid: 6332, comm: hald-probe-vide Tainted: P
(2.6.27-7-generic #1)
[  660.873753] EIP: 0060:[<f4aed1cc>] EFLAGS: 00010202 CPU: 0
[  660.873753] EIP is at __video_do_ioctl+0x2c/0x3350 [videodev]
[  660.873753] EAX: 00000000 EBX: f1ce9ca0 ECX: 80685600 EDX: f0928300
[  660.873753] ESI: 80685600 EDI: ef8c9eb0 EBP: ef8c9e84 ESP: ef8c9db4
[  660.873753]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[  660.873753] Process hald-probe-vide (pid: 6332, ti=ef8c8000
task=f09557f0 task.ti=ef8c8000)
[  660.873753] Stack: 04c4b400 00000000 ef8c9dd0 00000286 f1818000
00000001 c2b17d00 ef8c9e14
[  660.873753]        c012b4ee f0bb8000 f4a96079 efdcce50 ef8c9e08
f4bac8e9 80685600 f0928300
[  660.873753]        00000000 0000000f 00000000 00000000 00000286
f4af3af0 f4af3af4 f0928300
[  660.873753] Call Trace:
[  660.873753]  [<c012b4ee>] ? try_to_wake_up+0xde/0x290
[  660.873753]  [<f4a96079>] ? v4l2_prio_open+0x9/0x40 [v4l2_common]
[  660.873753]  [<f4bac8e9>] ? cx18_serialized_open+0x59/0x150 [cx18]
[  660.873753]  [<c012b6cf>] ? wake_up_process+0xf/0x20
[  660.873753]  [<c037d57d>] ? __mutex_unlock_slowpath+0x3d/0x50
[  660.873753]  [<c037e938>] ? unlock_kernel+0x28/0x2f
[  660.873753]  [<f4aec22e>] ? video_open+0xee/0x150 [videodev]
[  660.873753]  [<c01b4a20>] ? exact_match+0x0/0x10
[  660.873753]  [<c01b4d95>] ? chrdev_open+0xd5/0x1b0
[  660.873753]  [<f4af0673>] ? video_ioctl2+0x183/0x358 [videodev]
[  660.873753]  [<c0122fda>] ? __dequeue_entity+0x2a/0xb0
[  660.873753]  [<c0123186>] ? set_next_entity+0x126/0x160
[  660.873753]  [<c0102df6>] ? __switch_to+0xa6/0x160
[  660.873753]  [<c01284cb>] ? finish_task_switch+0x2b/0xe0
[  660.873753]  [<c037c979>] ? schedule+0x429/0x790
[  660.873753]  [<f4bae59e>] ? cx18_v4l2_ioctl+0x5e/0x80 [cx18]
[  660.873753]  [<c01beef1>] ? vfs_ioctl+0x81/0x90
[  660.873753]  [<c01bf086>] ? do_vfs_ioctl+0x66/0x1f0
[  660.873753]  [<c02147d8>] ? cap_file_ioctl+0x8/0x10
[  660.873753]  [<c01bf27b>] ? sys_ioctl+0x6b/0x70
[  660.873753]  [<c0103f7b>] ? sysenter_do_call+0x12/0x2f
[  660.873753]  [<c0370000>] ? default_device_exit+0x80/0xb0
[  660.873753]  =======================
[  660.873753] Code: 89 e5 57 56 53 81 ec c4 00 00 00 e8 ef 80 61 cb
89 c3 89 d0 89 95 6c ff ff ff 89 8d 68 ff ff ff e8 5a ee ff ff 89 85
70 ff ff ff <8b> b0 80 01 00 00 8b 85 6c ff ff ff 8b 95 70 ff ff ff 8b
40 70
[  660.873753] EIP: [<f4aed1cc>] __video_do_ioctl+0x2c/0x3350
[videodev] SS:ESP 0068:ef8c9db4
[  660.873753] ---[ end trace e78f846b79a916f6 ]---

The line used for loading the driver was:

 modprobe cx18 debug=67 enc_mpg_buffers=1 enc_ts_buffers=0
enc_vbi_buffers=0 enc_yuv_buffers=0 enc_pcm_buffers=0

I could not use any mmio parameters as it kept telling me unknown symbols.

For completeness, here is the full spec of the card:

08:09.0 Multimedia video controller: Conexant Systems, Inc. CX23418
Single-Chip MPEG-2 Encoder with Integrated Analog Video/Broadcast
Audio Decoder
        Subsystem: Toshiba America Info Systems Device 0110
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (500ns min, 50000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at ec000000 (32-bit, non-prefetchable) [size=64M]
        Capabilities: [44] Vital Product Data <?>
        Capabilities: [4c] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel modules: cx18

Any help welcome. I should point out that the laptop will be leaving
tomorrow so I wil not have access to it for a couple of months.

Cheers and keep up the good work :)
Steph

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to