The user in that bug does have cx23385 loaded, but it's not clear that it's
the driver for the board he was having problems with.

The short summary of what I feel the bug in my report is that the cx23885
driver needs to load an external firmware and supply that to the pci card.

The second error message that I get can be found at:
http://lxr.linux.no/linux+v2.6.37/drivers/media/video/cx23885/cx23885-417.c#L941

The two macros defining the firmware name are:
http://lxr.linux.no/linux+v2.6.37/drivers/media/video/cx23885/cx23885-417.c#L42

#define CX23885_FIRM_IMAGE_SIZE 376836
#define CX23885_FIRM_IMAGE_NAME "v4l-cx23885-enc.fw"

In the linux-firmware distribution, this is the most recent version of the
firmware:
http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=history;f=v4l-cx23885-enc.fw;h=5efd51cdcc3208fbee1a898a9861016169650d3a;hb=HEAD

However, it is of size 16382, which the macro disagrees about being the
correct size.

Hopefully this clears up any misunderstanding about this bug report, some of
this I realized after I posted the original report, and for whatever reason,
I forgot to add it here.

Enjoy,
Bill Lynch

On Sat, Jan 15, 2011 at 6:47 PM, Stephen Worthington <
672...@bugs.launchpad.net> wrote:

> Is this the same kernel bug as
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/642592 ?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/672396
>
> Title:
>   mplayer causes a kernel oops when using /dev/video0
>
> Status in “linux” package in Ubuntu:
>  Incomplete
>
> Bug description:
>  Binary package hint: mplayer
>
>  This is on ubuntu 10.10, I just installed it earlier today.
>
>  I have this card installed in my machine:
>
>  01:00.0 Multimedia video controller: Conexant Systems, Inc. Hauppauge Inc.
> HDPVR-1250 model 1196 (rev 04)
>        Subsystem: Hauppauge computer works Inc. Device 8541
>        Flags: bus master, fast devsel, latency 0, IRQ 44
>        Memory at fd800000 (64-bit, non-prefetchable) [size=2M]
>        Capabilities: [40] Express Endpoint, MSI 00
>        Capabilities: [80] Power Management version 3
>        Capabilities: [90] Vital Product Data
>        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>        Capabilities: [100] Advanced Error Reporting
>        Capabilities: [200] Virtual Channel
>        Kernel driver in use: cx23885
>        Kernel modules: cx23885
>
>  When I run mplayer /dev/video0, I get the following kernel oops.
>
>  [   50.754895] Firmware and/or mailbox pointer not initialized or
> corrupted, signature = 0xdd5df5f5, cmd = PING_FW
>  [   50.780456] ERROR: Firmware size mismatch (have 16382, expected 376836)
>  [   50.780474] cx23885_initialize_codec() f/w load failed
>  [   53.703264] Firmware and/or mailbox pointer not initialized or
> corrupted, signature = 0xdd5df5f5, cmd = STOP_CAPTURE
>  [   54.210045] Firmware and/or mailbox pointer not initialized or
> corrupted, signature = 0xdd5df5f5, cmd = GET_SEQ_END
>  [   54.210179] BUG: unable to handle kernel paging request at
> 0000010100000028
>  [   54.210183] IP: [<ffffffffa00e9563>] videobuf_dma_unmap+0x43/0xb0
> [videobuf_dma_sg]
>  [   54.210194] PGD 0
>  [   54.210197] Oops: 0000 [#1] SMP
>  [   54.210200] last sysfs file:
> /sys/devices/pci0000:00/0000:00:03.0/0000:01:00.0/firmware/0000:01:00.0/loading
>  [   54.210205] CPU 1
>  [   54.210206] Modules linked in: binfmt_misc rc_rc5_hauppauge_new
> tda18271 s5h1411 snd_hda_codec_atihdmi cx25840 ir_lirc_codec lirc_dev
> ir_sony_decoder ir_jvc_decoder ir_rc6_decoder ir_rc5_decoder cx23885
> snd_intel8x0 ir_nec_decoder ir_core snd_hda_intel radeon cx2341x
> snd_ac97_codec snd_hda_codec ac97_bus v4l2_common snd_seq_midi snd_hwdep
> snd_rawmidi snd_pcm snd_seq_midi_event snd_seq snd_timer snd_seq_device
> videodev v4l1_compat v4l2_compat_ioctl32 videobuf_dma_sg videobuf_dvb ttm
> dvb_core snd ppdev soundcore parport_pc drm_kms_helper lp videobuf_core
> btcx_risc tveeprom snd_page_alloc serio_raw i2c_nforce2 parport drm
> i2c_algo_bit edac_core edac_mce_amd k8temp sata_nv forcedeth pata_amd
>  [   54.210250]
>  [   54.210254] Pid: 1718, comm: mplayer Not tainted 2.6.35-22-generic
> #35-Ubuntu C51MCP51/
>  [   54.210257] RIP: 0010:[<ffffffffa00e9563>]  [<ffffffffa00e9563>]
> videobuf_dma_unmap+0x43/0xb0 [videobuf_dma_sg]
>  [   54.210265] RSP: 0018:ffff8800b8ce3ca8  EFLAGS: 00010246
>  [   54.210267] RAX: 0000010100000000 RBX: ffff8800bbf28af8 RCX:
> 0000000000000002
>  [   54.210270] RDX: 0000000000000004 RSI: ffffc90005254000 RDI:
> ffff8800bbe2c0a0
>  [   54.210273] RBP: ffff8800b8ce3cb8 R08: 0000000000000000 R09:
> 0000000000000000
>  [   54.210276] R10: 0000000000000000 R11: 0000000000000000 R12:
> ffff8800b5ab4bb0
>  [   54.210278] R13: ffff8800bbf28af8 R14: ffff8800ba7a6a80 R15:
> ffff8800b9a6dd00
>  [   54.210282] FS:  00007f25a86da7a0(0000) GS:ffff880001f00000(0000)
> knlGS:0000000000000000
>  [   54.210285] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>  [   54.210287] CR2: 0000010100000028 CR3: 00000000b5301000 CR4:
> 00000000000006e0
>  [   54.210290] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> 0000000000000000
>  [   54.210293] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
> 0000000000000400
>  [   54.210296] Process mplayer (pid: 1718, threadinfo ffff8800b8ce2000,
> task ffff8800bbe8adc0)
>  [   54.210298] Stack:
>  [   54.210300]  ffff8800bbf28af8 ffff8800bbf28a00 ffff8800b8ce3ce8
> ffffffffa030812a
>  [   54.210304] <0> ffff8800b8ce3cd8 ffff8800b5ab4bb0 ffff8800b5ab4bb0
> ffff8800b5ab4cb0
>  [   54.210309] <0> ffff8800b8ce3cf8 ffffffffa030de5e ffff8800b8ce3d28
> ffffffffa00fe457
>  [   54.210314] Call Trace:
>  [   54.210330]  [<ffffffffa030812a>] cx23885_free_buffer+0x5a/0xa0
> [cx23885]
>  [   54.210339]  [<ffffffffa030de5e>] bb_buf_release+0xe/0x10 [cx23885]
>  [   54.210347]  [<ffffffffa00fe457>] videobuf_queue_cancel+0xf7/0x120
> [videobuf_core]
>  [   54.210353]  [<ffffffffa00fe4e7>] __videobuf_read_stop+0x17/0x70
> [videobuf_core]
>  [   54.210359]  [<ffffffffa00fe55e>] videobuf_read_stop+0x1e/0x30
> [videobuf_core]
>  [   54.210368]  [<ffffffffa030dd75>] mpeg_release+0x65/0x140 [cx23885]
>  [   54.210375]  [<ffffffffa016b3c7>] v4l2_release+0x37/0x50 [videodev]
>  [   54.210381]  [<ffffffff81154245>] __fput+0xf5/0x210
>  [   54.210384]  [<ffffffff81154385>] fput+0x25/0x30
>  [   54.210390]  [<ffffffff811508cd>] filp_close+0x5d/0x90
>  [   54.210395]  [<ffffffff81062b4f>] put_files_struct+0x7f/0xf0
>  [   54.210400]  [<ffffffff81062c14>] exit_files+0x54/0x70
>  [   54.210404]  [<ffffffff81065177>] do_exit+0x167/0x3f0
>  [   54.210410]  [<ffffffff8158cf2e>] ? do_page_fault+0x15e/0x350
>  [   54.210414]  [<ffffffff81065455>] do_group_exit+0x55/0xd0
>  [   54.210418]  [<ffffffff810654e7>] sys_exit_group+0x17/0x20
>  [   54.210424]  [<ffffffff8100a0f2>] system_call_fastpath+0x16/0x1b
>  [   54.210426] Code: 19 75 6e 8b 53 28 85 d2 74 4b 48 8b 7f 28 8b 4b 30 48
> 8b 73 20 48 85 ff 74 4e 48 8b 87 e8 01 00 00 48 85 c0 74 42 83 f9 02 77 5d
> <48> 8b 40 28 48 85 c0 74 0a 45 31 c0 90 ff d0 48 8b 73 20 48 89
>  [   54.210460] RIP  [<ffffffffa00e9563>] videobuf_dma_unmap+0x43/0xb0
> [videobuf_dma_sg]
>  [   54.210466]  RSP <ffff8800b8ce3ca8>
>  [   54.210467] CR2: 0000010100000028
>  [   54.210471] ---[ end trace 847be4893d0a4d26 ]---
>  [   54.210474] Fixing recursive fault but reboot is needed!
>
>  Please let me know if there are any other details that would be
>  helpful. I'd be glad to help out where I can.
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 10.10
>  Package: mplayer 2:1.0~rc4~try1.dsfg1-1ubuntu1
>  ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
>  Uname: Linux 2.6.35-22-generic x86_64
>  Architecture: amd64
>  Date: Sun Nov  7 23:12:47 2010
>  ProcEnviron:
>   LANG=en_US.UTF-8
>   SHELL=/bin/bash
>  SourcePackage: mplayer
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/672396/+subscribe
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/672396

Title:
  mplayer causes a kernel oops when using /dev/video0

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to