CS88ALSA Ooops - kernel NULL pointer
- From: Ian Pickworth <ian (at) pickworth.me.uk>
- Date: Sun, 26 Mar 2006 18:37:30 +0100
Ricardo Cerqueira wrote:
On Sat, 2006-03-25 at 09:15 +0000, Ian Pickworth wrote:
Hello list,
Looks like a bit of regression has crept into the CX88 alsa module. It
was working fine in mercurial copy taken at Sun Mar 12 03:03:47 2006 -0300.
It's more than that, unfortunately. Looks like we have a dmasound-wide
regression. Can you try applying the following patch to see if it solves
the problem?
------------------------------------------------------------------------
diff -r 7369c146a952 linux/drivers/media/video/video-buf.c
--- a/linux/drivers/media/video/video-buf.c Sun Mar 26 03:14:42 2006 +0100
+++ b/linux/drivers/media/video/video-buf.c Sun Mar 26 17:05:42 2006 +0100
(at) (at) -408,9 +408,9 (at) (at) int videobuf_pci_dma_map(struct pci_dev
struct videobuf_queue q;
q.dev=pci;
- q.ops->vb_map_sg=(vb_map_sg_t *)pci_unmap_sg;
-
- return (videobuf_dma_unmap(&q,dma));
+ q.ops->vb_map_sg=(vb_map_sg_t *)pci_map_sg;
+
+ return (videobuf_dma_map(&q,dma));
}
int videobuf_pci_dma_unmap(struct pci_dev *pci,struct videobuf_dmabuf *dma)
I applied the patch to the source with this timestamp:
Sun Mar 26 08:54:09 2006 -0300
Unfortunately, the oops still happens - here is the output:
Mar 26 18:33:57 ian2 kernel: Unable to handle kernel NULL pointer
dereference at virtual address 0000000f
Mar 26 18:33:57 ian2 kernel: printing eip:
Mar 26 18:33:57 ian2 kernel: e1170847
Mar 26 18:33:57 ian2 kernel: *pde = 00000000
Mar 26 18:33:57 ian2 kernel: Oops: 0002 [#2]
Mar 26 18:33:57 ian2 kernel: PREEMPT
Mar 26 18:33:57 ian2 kernel: Modules linked in: cx88_alsa tuner cx8800
v4l2_common v4l1_compat cx88xx ir_common video_buf btcx_risc tveeprom
videodev tda9887 vfat fat cisco_ipsec w83l785ts eeprom asb100 hwmon_vid
lp bridge snd_seq_midi snd_pcm_oss snd_mixer_oss snd_seq_oss
snd_seq_midi_event snd_seq snd_usb_audio snd_usb_lib snd_hwdep mct_u232
usbserial usblp bnep rfcomm l2cap hci_usb bluetooth analog gameport
snd_mpu401 snd_mpu401_uart snd_rawmidi snd_seq_device parport_pc parport
firmware_class compat_ioctl32 snd_intel8x0 snd_ac97_codec snd_ac97_bus
snd_pcm snd_timer snd snd_page_alloc i2c_nforce2 bsd_comp ppp_deflate
ppp_async ppp_generic slhc crc_ccitt forcedeth 3c59x mii nvidia eth1394
joydev dm_mod sata_mv ata_piix ahci sata_qstor sata_vsc sata_uli
sata_sis sata_sx4 sata_via sata_svw sata_promise sbp2 ohci1394 ieee1394
sl811_hcd ohci_hcd uhci_hcd usb_storage usbhid ehci_hcd usbcore
Mar 26 18:33:57 ian2 kernel: CPU: 0
Mar 26 18:33:57 ian2 kernel: EIP: 0060:[<e1170847>] Tainted: P
VLI
Mar 26 18:33:57 ian2 kernel: EFLAGS: 00210282 (2.6.15-gentoo-r1)
Mar 26 18:33:57 ian2 kernel: EIP is at videobuf_pci_dma_map+0x18/0x37
[video_buf]
Mar 26 18:33:57 ian2 kernel: eax: ffffffff ebx: cc4efc80 ecx:
00000000 edx: 00000000
Mar 26 18:33:57 ian2 kernel: esi: cc4efca4 edi: ce26ba54 ebp:
ce26b9f8 esp: c9b7dddc
Mar 26 18:33:57 ian2 kernel: ds: 007b es: 007b ss: 0068
Mar 26 18:33:57 ian2 kernel: Process arecord (pid: 8625,
threadinfo=c9b7c000 task=c79d7ab0)
Mar 26 18:33:57 ian2 kernel: Stack: 00000000 00000001 c012e948 c13011e0
00000000 dff68000 c13011e0 c0445cc0
Mar 26 18:33:57 ian2 kernel: 00000002 00000044 00000000 c012ead4
c012eae8 c0445cc0 c0445a60 c0445cc0
Mar 26 18:33:57 ian2 kernel: e110d000 c04ebe10 e110e000 e110e000
c013c7a9 c04ebe10 e110d000 e110e000
Mar 26 18:33:57 ian2 kernel: Call Trace:
Mar 26 18:33:57 ian2 kernel: [<c012e948>] buffered_rmqueue+0x13a/0x1c3
Mar 26 18:33:57 ian2 kernel: [<c012ead4>] get_page_from_freelist+0x6c/0x93
Mar 26 18:33:57 ian2 kernel: [<c012eae8>] get_page_from_freelist+0x80/0x93
Mar 26 18:33:57 ian2 kernel: [<c013c7a9>] map_vm_area+0x60/0x86
Mar 26 18:33:57 ian2 kernel: [<c013cc9c>] __vmalloc_area_node+0xd5/0xf3
Mar 26 18:33:57 ian2 kernel: [<c013cd41>] __vmalloc+0x13/0x17
Mar 26 18:33:57 ian2 kernel: [<c013cda5>] vmalloc_32+0x14/0x18
Mar 26 18:33:57 ian2 kernel: [<e11702af>]
videobuf_dma_init_kernel+0x34/0x8e [video_buf]
Mar 26 18:33:57 ian2 kernel: [<e117b625>]
snd_cx88_hw_params+0x13a/0x1c5 [cx88_alsa]
Mar 26 18:33:57 ian2 kernel: [<e1132baa>] snd_pcm_hw_params+0x10a/0x2b1
[snd_pcm]
Mar 26 18:33:57 ian2 kernel: [<e1132d97>]
snd_pcm_hw_params_user+0x46/0x72 [snd_pcm]
Mar 26 18:33:57 ian2 kernel: [<e1135e79>]
snd_pcm_capture_ioctl1+0x1f6/0x205 [snd_pcm]
Mar 26 18:33:57 ian2 kernel: [<c013836e>] __handle_mm_fault+0xbb/0x18f
Mar 26 18:33:57 ian2 kernel: [<c0153284>] do_ioctl+0x28/0x66
Mar 26 18:33:57 ian2 kernel: [<c015354c>] vfs_ioctl+0x17e/0x18c
Mar 26 18:33:57 ian2 kernel: [<c0153585>] sys_ioctl+0x2b/0x46
Mar 26 18:33:57 ian2 kernel: [<c01025ef>] sysenter_past_esp+0x54/0x75
Mar 26 18:33:57 ian2 kernel: Code: 82 ac 00 00 00 83 78 18 00 75 07 c7
40 18 41 1e 17 e1 c3 81 ec d0 00 00 00 8b 84 24 d4 00 00 00 89 44 24 14
8b 84 24 ac 00 00 00 <c7> 40 10 f2 1d 17 e1 ff b4 24 d8 00 00 00 8d 44
24 04 50 e8 ed
Mar 26 18:34:01 ian2 cron[8633]: (root) CMD (/root/start_record.pl)
Regards
Ian
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list