Hello Niels, I reported this problems (together with an other guy) some months ago on 2.4.20. It was quite reproducible by copy large files during webcam (e.g. cp /dev/hda1 /dev/null)
I did not understand all details, but as far as I know the bug is not fixed. I changed to the 2.6.0 test kernel for the project. This kernel does not show this problems, but on both kernels I have problems with kernel hang during pwc operation (after some hours to some days). The problem is, I do not get any oops or any other unusual behaviour before the hang. I checked memory usage with free every 10 seconds to detect memory leaks. (I have a system without swap space) I will turn on kernel messages to serial port, but I have little hope. I am still interested in fixing the 2.4 tree. Any tips for debugging or anything else is welcome. Detlef ----- Original Message ----- From: "Niels L. Ellegaard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 13, 2003 3:33 PM Subject: [linux-usb-devel] PWC with EHCI? (logitech 4000) > > I am trying to make a logitech 4000 webcama work with my linux-box ( > Debian testing and my own 2.4.21 kernel). I have a k7s5a motherboard > with two working EHCI ports, but I also have a Sitecom USB 1.1 / 2.0 > card with a four port (OHCI and EHCI). > > If I try to use the webcam with OHCI, then I can get a few pictures, > but after a while I get a a v4l timeout. I have heard that this freeze > is due to a known bug, but I am a little uncertain on whether or not > it has been fixed. Is it possible to run PWC with USB-OHCI? > > The details of my freeze can be found here > http://groups.google.com/groups?selm=rLkK.3r9.3%40gated-at.bofh.it > > I have also tried to detect the camera using only the kernel module > EHCI-HCD. However the modules does not detect my camera (details > below). Is it possible to run PWC with EHCI-HCD? Is there a trick? > > I have been trying hard to find an UHCI card, but it looks like > everything is OHCI or EHCI these days. Are UHCI cards still available? > > I could really use some advice on where I should go from here. > > Thanks in advance > > Niels > > > Here is a test in which I insmod ehci-hcd, and try to locate the > webcam. I don't know if this data is useful at all, but now I included > it anyway. In this test I also load the pwcx module (compiled for > 2.4.20), but I can get the same results if I disable the loading of > this module in my /etc/modules.conf > > nissefisken# lsmod > Module Size Used by Tainted: PF > pwcx-2.4.20 86816 0 (autoclean) (unused) > pwc 44748 0 (autoclean) [pwcx-2.4.20] > nvidia 1628576 11 (autoclean) > sis900 14412 0 (unused) > i810_audio 25756 3 > ac97_codec 11892 0 [i810_audio] > soundcore 4260 2 [i810_audio] > ehci-hcd 25644 0 (unused) > usbcore 73036 0 [pwc ehci-hcd] > i2c-proc 7344 0 (unused) > i2c-core 13892 0 [i2c-proc] > parport_pc 13732 1 (autoclean) > lp 6592 1 > parport 16096 1 [parport_pc lp] > 8139too 15912 1 > rtc 7464 0 (autoclean) > > > nissefisken# lspci > 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 735 Host (rev > 01) > 00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual > PCI-to-PCI bridge (AGP) > 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 > 00:02.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB > Controller (rev 07) > 00:02.3 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB > Controller (rev 07) > 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] > (rev d0) > 00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] > SiS7012 PCI Audio Accelerator (rev a0) > 00:03.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 > 10/100 Ethernet (rev 90) > 00:09.0 Ethernet controller: Realtek Semiconductor Co., > Ltd. RTL-8139/8139C/8139C+ (rev 10) > 00:0b.0 USB Controller: NEC Corporation USB (rev 41) > 00:0b.1 USB Controller: NEC Corporation USB (rev 41) > 00:0b.2 USB Controller: NEC Corporation USB 2.0 (rev 02) > 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 > MX/MX 400] (rev b2) > nissefisken# > > > From /var/log/syslog > > Real Time Clock Driver v1.10e > 8139too Fast Ethernet driver 0.9.26 > PCI: Found IRQ 5 for device 00:09.0 > eth0: RealTek RTL8139 Fast Ethernet at 0xd0897f00, 00:c0:26:78:17:51, IRQ 5 > eth0: Identified 8139 chip type 'RTL-8139C' > parport0: PC-style at 0x378 [PCSPP(,...)] > lp0: using parport0 (polling). > i2c-core.o: i2c core module > i2c-proc.o version 2.6.1 (20010825) > usb.c: registered new driver usbdevfs > usb.c: registered new driver hub > ehci-hcd.c: 2003-Jan-22 USB 2.0 'Enhanced' Host Controller (EHCI) Driver > ehci-hcd.c: block sizes: qh 128 qtd 96 itd 128 sitd 64 > PCI: Found IRQ 5 for device 00:0b.2 > PCI: Sharing IRQ 5 with 00:02.2 > ehci-hcd 00:0b.2: NEC Corporation USB 2.0 > ehci-hcd 00:0b.2: irq 5, pci mem d08c9e00 > usb.c: new USB bus registered, assigned bus number 1 > ehci-hcd 00:0b.2: ehci_start hcs_params 0x2395 dbg=0 cc=2 pcc=3 > ports=5 > ehci-hcd 00:0b.2: ehci_start portroute 1 0 1 0 0 > ehci-hcd 00:0b.2: ehci_start hcc_params 0002 thresh 0 uframes > 256/512/1024 > ehci-hcd 00:0b.2: reset command 080002 (park)=0 ithresh=8 period=1024 > Reset HALT > ehci-hcd 00:0b.2: init command 010009 (park)=0 ithresh=1 period=256 > RUN > ehci-hcd 00:0b.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Jan-22 > hcd.c: 00:0b.2 root hub device address 1 > usb.c: kmalloc IF cfef75c0, numif 1 > usb.c: new device strings: Mfr=3, Product=2, SerialNumber=1 > usb.c: USB device number 1 default language ID 0x0 > Manufacturer: Linux 2.4.21 ehci-hcd > Product: NEC Corporation USB 2.0 > SerialNumber: 00:0b.2 > hub.c: USB hub found > hub.c: 5 ports detected > hub.c: standalone hub > hub.c: individual port power switching > hub.c: individual port over-current protection > hub.c: Single TT > hub.c: TT requires at most 8 FS bit times > hub.c: Port indicators are not supported > hub.c: power on to power good time: 0ms > hub.c: hub controller current requirement: 0mA > hub.c: port removable status: RRRRR > hub.c: local power source is good > hub.c: no over-current condition exists > hub.c: enabling power on all ports > usb.c: hub driver claimed interface cfef75c0 > usb.c: kusbd: /sbin/hotplug add 1 > usb.c: kusbd policy returned 0xfffffffe > ehci-hcd 00:0b.2: GetStatus port 1 status 001803 POWER sig=j CSC > CONNECT > hub.c: port 1, portstatus 501, change 1, 480 Mb/s > hub.c: port 1 connection change > hub.c: port 1, portstatus 501, change 1, 480 Mb/s > > [snip] > > Sep 13 14:57:30 nissefisken kernel: pwc Philips PCA645/646 + > PCVC675/680/690 + PCVC730/740/750 webcam module version 8.10 loaded. > Sep 13 14:57:30 nissefisken kernel: pwc Also supports the Askey VC010, > various Logitech Quickcams, Samsung MPC-C10 and MPC-C30, > Sep 13 14:57:30 nissefisken kernel: pwc the Creative WebCam 5, SOTEC > Afina Eye and Visionite VCS-UC300 and VCS-UM100. > Sep 13 14:57:30 nissefisken kernel: usb.c: registered new driver > Philips webcam > Sep 13 14:57:31 nissefisken kernel: pwc Philips webcam decompressor > routines version 8.3 > Sep 13 14:57:31 nissefisken kernel: pwc Supports all cameras supported > by the main module (pwc). > Sep 13 14:57:31 nissefisken kernel: pwc Adding decompressor for model > 645. > Sep 13 14:57:31 nissefisken kernel: pwc Adding decompressor for model > 646. > Sep 13 14:57:31 nissefisken kernel: pwc Adding decompressor for model > 675. > Sep 13 14:57:31 nissefisken kernel: pwc Adding decompressor for model > 680. > Sep 13 14:57:31 nissefisken kernel: pwc Adding decompressor for model > 690. > Sep 13 14:57:31 nissefisken kernel: pwc Adding decompressor for model > 720. > Sep 13 14:57:31 nissefisken kernel: pwc Adding decompressor for model > 730. > Sep 13 14:57:31 nissefisken kernel: pwc Adding decompressor for model > 740. > (END) > > > From: /etc/modules.conf > alias char-major-81 videodev > alias char-major-81-0 pwc > post-install pwc insmod --force -k /lib/modules/2.4.21/kernel/drivers/usb/pwcx-2.4.20.o > /dev > > From /etc/modules (determines modules loaded when booting) > af_packet > 8139too > slhc > nls_iso8859-1 > lp > nls_cp865 > i2c-proc > it87 > i2c-isa > usbcore > ehci-hcd > > -- > Niels L Ellegaard http://dirac.ruc.dk/~gnalle/ > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > [EMAIL PROTECTED] > To unsubscribe, use the last form field at: > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
