当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 抓狂中:摄像头使用4分钟让内核死机
帖子发表于 : 2007-12-07 12:59 
头像

注册: 2005-11-10 21:20
帖子: 167
地址: 广西南宁
送出感谢: 0 次
接收感谢: 0 次
我的ubuntu 7.10 2.6.22-14generic内核
lsusb的结果:
Bus 001 Device 002: ID 0ac8:303b Z-Star Microelectronics Corp. ZC0303 WebCam

插入摄像头dmesg的结果:
[ 238.623883] usb 1-1: new full speed USB device using ohci_hcd and address 2
[ 238.836562] usb 1-1: configuration #1 chosen from 1 choice
[ 239.233850] Linux video capture interface: v2.00
[ 239.335392] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: USB SPCA5XX camera found.(ZC3XX)
[ 239.923623] usbcore: registered new interface driver gspca
[ 239.923711] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: gspca driver 01.00.12 registered
[ 239.968354] zc0301: V4L2 driver for ZC0301[P] Image Processor and Control Chip v1:1.07
[ 239.968930] usbcore: registered new interface driver zc0301
由此看来驱动是加载上去了

用Ekiga,视频正常,试用了1分钟,没有问题
用Cheese,正常,dmesg:
[ 400.230550] cheese: page allocation failure. order:0, mode:0x4
[ 400.230557]
[ 400.230559] Call Trace:
[ 400.230595] [<ffffffff80273c9d>] __alloc_pages+0x32d/0x350
[ 400.230610] [<ffffffff802864ec>] __vmalloc_area_node+0x11c/0x1b0
[ 400.230653] [<ffffffff88bb74ea>] :gspca:rvmalloc+0x1a/0x60
[ 400.230666] [<ffffffff88bc67be>] :gspca:spca5xx_open+0xfe/0x720
[ 400.230681] [<ffffffff88baf7e6>] :videodev:video_open+0xc6/0x190
[ 400.230689] [<ffffffff8029c5d7>] chrdev_open+0xc7/0x1c0
[ 400.230696] [<ffffffff802a58f9>] open_namei+0x99/0x6d0
[ 400.230702] [<ffffffff8029c510>] chrdev_open+0x0/0x1c0
[ 400.230709] [<ffffffff80297535>] __dentry_open+0xd5/0x210
[ 400.230716] [<ffffffff804329ad>] __switch_to+0x20d/0x300
[ 400.230724] [<ffffffff8029777a>] do_filp_open+0x3a/0x50
[ 400.230743] [<ffffffff802977ea>] do_sys_open+0x5a/0x100
[ 400.230751] [<ffffffff80209e8e>] system_call+0x7e/0x83
[ 400.230762]
[ 400.230764] Mem-info:
[ 400.230766] Node 0 DMA per-cpu:
[ 400.230770] CPU 0: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd: 0
[ 400.230773] Node 0 DMA32 per-cpu:
[ 400.230777] CPU 0: Hot: hi: 186, btch: 31 usd: 30 Cold: hi: 62, btch: 15 usd: 58
[ 400.230782] Active:89880 inactive:18726 dirty:20 writeback:0 unstable:0
[ 400.230784] free:1002 slab:6170 mapped:19020 pagetables:4496 bounce:0
[ 400.230787] Node 0 DMA free:1996kB min:60kB low:72kB high:88kB active:2316kB inactive:0kB present:11284kB pages_scanned:0 all_unreclaimable? no
[ 400.230793] lowmem_reserve[]: 0 489 489
[ 400.230796] Node 0 DMA32 free:2012kB min:2796kB low:3492kB high:4192kB active:357204kB inactive:74904kB present:500772kB pages_scanned:0 all_unreclaimable? no
[ 400.230803] lowmem_reserve[]: 0 0 0
[ 400.230806] Node 0 DMA: 1*4kB 1*8kB 0*16kB 0*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 1996kB
[ 400.230815] Node 0 DMA32: 0*4kB 1*8kB 0*16kB 0*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 1992kB
[ 400.230825] Swap cache: add 9593, delete 55, find 0/0, race 0+0
[ 400.230827] Free swap = 957652kB
[ 400.230829] Total swap = 996020kB
[ 400.230831] Free swap: 957652kB
[ 400.236865] 131024 pages of RAM
[ 400.236869] 5206 reserved pages
[ 400.236870] 94809 pages shared
[ 400.236872] 9538 pages swap cached
[ 411.944209] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (7)
[ 412.571536] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (9)
[ 412.571846] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (14)
[ 412.572141] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (13)
[ 412.572435] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (16)
[ 412.572729] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (11)
[ 412.573022] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (6)
[ 415.995012] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (7)
[ 416.637309] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (9)
[ 416.637623] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (14)
[ 416.637918] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (13)
[ 416.638213] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (16)
[ 416.638507] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (11)
[ 416.638801] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: VIDIOCMCAPTURE: invalid format (6)
好像有问题,拷机8分钟左右,死机,内核死掉

用vbox上的deepinXP,已经装好windows下的摄像头驱动,再看/dev/vedio0,消失,这个设备被vbox转移到xp下,在xp下聊QQ视频,开始正常,到4-8分钟左右,内核死机

这个问题困扰我很久,google上也找了半天,人家就是死机也是一打开摄像头设备就死机,不会像我一样正常使用几分钟后才死机。

这个bug我应该怎么报告才好呢?


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译