I'm using 2.4.0-test10-pre5 on a PIII (compiled with gcc 2.7.2.3) and
having problems with usb. I'm able to load the usb-driver (usb-uhci) and
then the driver for my usb-webcam (cpia_usb). The webcam works fine for
something like 20 minutes. After that I start to get this kind of messages
to the syslog:
__alloc_pages: 3-order allocation failed.
__alloc_pages: 3-order allocation failed.
__alloc_pages: 3-order allocation failed.
__alloc_pages: 3-order allocation failed.
__alloc_pages: 3-order allocation failed.
__alloc_pages: 3-order allocation failed.
__alloc_pages: 3-order allocation failed.
Sometimes it's "2-order allocation failed.". After these messages the
camera doesn't work anymore (until I unplug it and replug it
again.. sometimes it also needs the driver [cpia_usb] to be reloaded).
I've attached output of dmesg when booting the machine.
This is what I get when loading the usb-uhci:
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.242 $ time 12:22:18 Oct 25 2000
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xc000, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c2112720, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI Root Hub
SerialNumber: c000
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
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 c2112720
usb.c: kusbd: /sbin/hotplug add 1
hub.c: port 2 connection change
hub.c: port 2, portstatus 101, change 1, 12 Mb/s
hub.c: port 2, portstatus 103, change 0, 12 Mb/s
hub.c: USB new device connect on bus1/2, assigned device number 2
usb.c: kmalloc IF c21127a0, numif 1
usb.c: new device strings: Mfr=0, Product=0, SerialNumber=0
usb.c: unhandled interfaces on device
usb.c: USB device 2 (vend/prod 0x553/0x2) is not claimed by any active
driver.
Length = 18
DescriptorType = 01
USB version = 1.00
Vendor:Product = 0553:0002
MaxPacketSize0 = 8
NumConfigurations = 1
Device version = 1.00
Device Class:SubClass:Protocol = 00:00:00
Per-interface classes
Configuration:
bLength = 9
bDescriptorType = 02
wTotalLength = 0049
bNumInterfaces = 01
wTotalLength = 0049
bNumInterfaces = 01
bConfigurationValue = 01
iConfiguration = 00
bmAttributes = 80
MaxPower = 400mA
Interface: 0
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 01
bAlternateSetting = 00
bNumEndpoints = 01
bInterface Class:SubClass:Protocol = ff:00:ff
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 0000
bInterval = 01
Alternate Setting: 1
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 01
bAlternateSetting = 01
bNumEndpoints = 01
bInterface Class:SubClass:Protocol = ff:00:ff
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 01c0
bInterval = 01
Alternate Setting: 2
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 01
bAlternateSetting = 02
bNumEndpoints = 01
bInterface Class:SubClass:Protocol = ff:00:ff
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 02c0
bInterval = 01
Alternate Setting: 3
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 01
bAlternateSetting = 03
bNumEndpoints = 01
bInterface Class:SubClass:Protocol = ff:00:ff
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 81 (in)
bmAttributes = 01 (Isochronous)
wMaxPacketSize = 03c0
bInterval = 01
usb.c: kusbd: /sbin/hotplug add 2
And when I load cpia_usb:
Linux video capture interface: v1.00
V4L-Driver for Vision CPiA based cameras v0.7.4
usb.c: registered new driver cpia
USB CPiA camera found
usb.c: bandwidth alloc increased by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
<same as above>
CPiA Version: 1.20 (2.0)
CPiA PnP-ID: 0553:0002:0100
VP-Version: 1.0 0141
usb.c: cpia driver claimed interface c21127a0
I'm using Debian GNU/Linux woody. Yeah, I have modutils 2.3.19.
Thanks for your help.
- Pasi Kärkkäinen
^
. .
Linux
/ - \
Choice.of.the
.Next.Generation.
This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:17 EST