Summary: | media-video/qc-usb-0.6.3 (stable version) broken with 2.6.18 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Richard <fuzzythebear> |
Component: | New packages | Assignee: | Alastair Tse (RETIRED) <liquidx> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | morten, ricardo.lanziano |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 148429 | ||
Attachments: |
emerge --info (Ricardo Lanziano)
Patch for compilation under kernel 2.6.18-gentoo-r1 Second patch for compilation under kernel 2.6.18-gentoo-r1 |
Description
Richard
2006-09-22 15:42:02 UTC
exactly same problem here Created attachment 98077 [details]
emerge --info (Ricardo Lanziano)
Im also having the same issue (my emerge --info is here as an attachment): ... /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-hdcs.c:27: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/quickcam.h:500: error: field Im also having the same issue (my emerge --info is here as an attachment): ... /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-hdcs.c:27: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/quickcam.h:500: error: field vdev has incomplete type make[2]: *** [/var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-hdcs.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:47: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/quickcam.h:500: error: field vdev has incomplete type /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c: In function qc_proc_read: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:870: error: UTS_RELEASE undeclared (first use in this function) /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:870: error: (Each undeclared identifier is reported only once /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:870: error: for each function it appears in.) In file included from /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-pb0100.c:27: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/quickcam.h:500: error: field vdev has incomplete type make[2]: *** [/var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-pb0100.o] Error 1 /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c: In function qc_v4l_poll: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2242: warning: implicit declaration of function video_devdata /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2242: warning: initialization makes pointer from integer without a cast /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2244: error: dereferencing pointer to incomplete type /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c: In function qc_v4l_open: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2294: warning: initialization makes pointer from integer without a cast /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2296: error: dereferencing pointer to incomplete type /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c: In function qc_v4l_close: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2362: warning: initialization makes pointer from integer without a cast /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2364: error: dereferencing pointer to incomplete type /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c: In function qc_v4l_read: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2409: warning: initialization makes pointer from integer without a cast /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2412: error: dereferencing pointer to incomplete type /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c: In function qc_v4l_mmap: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2463: warning: initialization makes pointer from integer without a cast /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2467: error: dereferencing pointer to incomplete type /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c: In function qc_v4l_ioctl: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2496: warning: initialization makes pointer from integer without a cast /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2499: error: dereferencing pointer to incomplete type /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c: At top level: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2994: error: variable qc_v4l_template has initializer but incomplete type /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2995: error: unknown field name specified in initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2995: warning: excess elements in struct initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2995: warning: (near initialization for qc_v4l_template) /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2996: error: unknown field type specified in initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2996: warning: excess elements in struct initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2996: warning: (near initialization for qc_v4l_template) /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2997: error: unknown field hardware specified in initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2997: warning: excess elements in struct initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2997: warning: (near initialization for qc_v4l_template) /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2998: error: unknown field minor specified in initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2998: warning: excess elements in struct initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:2998: warning: (near initialization for qc_v4l_template) /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3000: error: unknown field release specified in initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3000: warning: excess elements in struct initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3000: warning: (near initialization for qc_v4l_template) /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3001: error: unknown field fops specified in initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3001: warning: excess elements in struct initializer /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3001: warning: (near initialization for qc_v4l_template) /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c: In function qc_usb_init: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3145: error: invalid application of sizeof to incomplete type struct video_device /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3145: error: invalid application of sizeof to incomplete type struct video_device /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3145: error: invalid application of sizeof to incomplete type struct video_device /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3147: warning: implicit declaration of function video_register_device /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3147: error: VFL_TYPE_GRABBER undeclared (first use in this function) /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3203: warning: implicit declaration of function video_unregister_device /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c: In function qc_usb_probe: /var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.c:3269: error: UTS_RELEASE undeclared (first use in this function) make[2]: *** [/var/tmp/portage/qc-usb-0.6.4/work/qc-usb-0.6.4/qc-driver.o] Error I got it to compile using patches from http://article.gmane.org/gmane.linux.drivers.quickcam.devel/1087 , but it crashes and burns when used. dmesg: BUG: unable to handle kernel paging request at virtual address 02000436 printing eip: c031cbcd *pde = 00000000 Oops: 0000 [#1] PREEMPT SMP Modules linked in: snd_pcm_oss snd_mixer_oss snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq fglrx bcm203x sco rfcomm hidp l2cap snd_hda_intel snd_hda_codec sdhci mmc_core snd_usb_audio snd_pcm snd_timer snd_page_alloc snd_usb_lib snd_rawmidi snd_seq_device snd_hwdep snd quickcam hci_usb videodev bluetooth v4l1_compat v4l2_common CPU: 0 EIP: 0060:[<c031cbcd>] Tainted: P VLI EFLAGS: 00210206 (2.6.18-gentoo #1) EIP is at usb_kill_urb+0x1e/0x101 eax: 02000406 ebx: eeca0c00 ecx: f765a598 edx: f7651b10 esi: f6ef03a4 edi: f6a11c58 ebp: f7039bb8 esp: eec81ed0 ds: 007b es: 007b ss: 0068 Process xawtv (pid: 8124, ti=eec80000 task=f77f8030 task.ti=eec80000) Stack: 00000000 00000000 f772a688 f764e474 c031e315 f764e400 f764e400 0000000b 00000001 00000000 00000000 00000000 00000000 00001388 f764e400 f764e474 00000000 f6ef0000 00000000 f6ef03a4 f6a11c58 f888219e eeca0c00 00000000 Call Trace: [<c031e315>] usb_set_interface+0x1ab/0x1dd [<f888219e>] qc_isoc_stop+0x31/0x10e [quickcam] [<f888295a>] qc_capt_exit+0x10/0x43 [quickcam] [<f8882bbf>] qc_v4l_close+0x41/0x73 [quickcam] [<c016b4ee>] __fput+0x173/0x1ac [<c016997c>] filp_close+0x46/0x8b [<c0169a34>] sys_close+0x73/0xa7 [<c0102e6d>] sysenter_past_esp+0x56/0x79 Code: ff ff ff 89 14 24 ff 50 08 83 c4 08 c3 83 ec 54 89 5c 24 48 8b 5c 24 58 89 74 24 4c 85 db 89 7c 24 50 74 15 8b 43 24 85 c0 74 0e <8b> 40 30 85 c0 74 07 8b 40 24 85 c0 75 10 8b 5c 24 48 8b 74 24 EIP: [<c031cbcd>] usb_kill_urb+0x1e/0x101 SS:ESP 0068:eec81ed0 Those patches shouldn't cause that kind of crash. Can anyone confirm/deny whether it works with those patches? Matti, you might also want to confirm whether it works for you on 2.6.19-rc1, as the crash you reported may be due to a bug in the USB subsystem. Created attachment 99851 [details, diff]
Patch for compilation under kernel 2.6.18-gentoo-r1
Created attachment 99852 [details, diff]
Second patch for compilation under kernel 2.6.18-gentoo-r1
The patches work fine, i just modified the ebuild on my local overlay and it compiled cleanly and the module got inserted into kernel without any problems, if it crashes on my box ill let you guys know. Alastair: please commit ASAP make sure the fix is also in the stable tree thanks, fixed not fixed in stable tree according to the website, there is a new version (0.6.5) which has support for 2.6.17 & 2.6.18. Why not just use those sources? Backported the fix to 0.6.3. bryce, it is up to the maintainer to bump the version, you might want to file a separate bug for that (if there is not one already) |