lkml.org 
[lkml]   [2000]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject3-order allocation failed

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.
Linux version 2.4.0-test10 (root@mansion) (gcc version 2.95.2 20000220 (Debian GNU/Linux)) #1 Wed Oct 25 12:14:06 EEST 2000
BIOS-provided physical RAM map:
BIOS-e820: 000000000009fc00 @ 0000000000000000 (usable)
BIOS-e820: 0000000000000400 @ 000000000009fc00 (reserved)
BIOS-e820: 0000000000010000 @ 00000000000f0000 (reserved)
BIOS-e820: 0000000000010000 @ 00000000ffff0000 (reserved)
BIOS-e820: 0000000007f00000 @ 0000000000100000 (usable)
Scan SMP from c0000000 for 1024 bytes.
Scan SMP from c009fc00 for 1024 bytes.
Scan SMP from c00f0000 for 65536 bytes.
Scan SMP from c009fc00 for 4096 bytes.
On node 0 totalpages: 32768
zone(0): 4096 pages.
zone(1): 28672 pages.
zone(2): 0 pages.
mapped APIC to ffffe000 (01223000)
Kernel command line: BOOT_IMAGE=testi ro root=306 BOOT_FILE=/vmlinuz.testi mem=128M
Initializing CPU#0
Detected 451.033 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 897.84 BogoMIPS
Memory: 126848k/131072k available (1153k kernel code, 3836k reserved, 81k data, 192k init, 0k highmem)
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
VFS: Diskquotas version dquot_6.4.0 initialized
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Pentium III (Katmai) stepping 03
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.36 (20000221) Richard Gooch (rgooch@atnf.csiro.au)
PCI: PCI BIOS revision 2.10 entry at 0xfb440, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router PIIX [8086/7000] at 00:07.0
PCI: Found IRQ 5 for device 00:07.2
PCI: The same IRQ used for device 00:09.0
Limiting direct PCI/PCI transfers.
isapnp: Scanning for Pnp cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.13)
ACPI: found PIIX4 at 0x4000
acpi: APM is already active.
Starting kswapd v1.8
pty: 512 Unix98 ptys configured
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:DMA
HPT366: onboard version of chipset, pin1=1 pin2=2
HPT366: IDE controller on PCI bus 00 dev 98
PCI: Enabling device 00:13.0 (0005 -> 0007)
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0xd400-0xd407, BIOS settings: hde:pio, hdf:pio
HPT366: IDE controller on PCI bus 00 dev 99
HPT366: chipset revision 1
HPT366: not 100% native mode: will probe irqs later
ide3: BM-DMA at 0xe000-0xe007, BIOS settings: hdg:pio, hdh:pio
hda: IBM-DJNA-351520, ATA DISK drive
hdd: ASUS CD-S500/A, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 30033360 sectors (15377 MB) w/430KiB Cache, CHS=29795/16/63, UDMA(33)
Partition check:
hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Serial driver version 5.02 (2000-08-09) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10d
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: ASUS Model: CD-S500/A Rev: 2.1H
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 50x/50x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.11
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 192k freed
Adding Swap: 130748k swap-space (priority -1)
Linux Tulip driver version 0.9.10 (September 6, 2000)
eth0: Digital DS21143 Tulip rev 65 at 0xc400, 00:C0:CA:13:0F:EE, IRQ 5.
eth0: EEPROM default media type Autosense.
eth0: Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2) block.
eth0: Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY (2) block.
eth0: Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY (4) block.
eth0: Index #3 - Media 100baseTx-FD (#5) described by a 21143 SYM PHY (4) block.
es1371: version v0.26 time 12:22:12 Oct 25 2000
es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x06
es1371: found es1371 rev 6 at io 0xc800 irq 10
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x4352:0x5913 (Cirrus Logic CS4297A)
eth0: Using user-specified media 100baseTx-FD.
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
parport0: cpp_daisy: aa5500ff(88)
parport0: assign_addrs: aa5500ff(88)
parport0: Printer, Hewlett-Packard HP LaserJet 5L
lp0: using parport0 (polling).
\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.064 / U:3.768 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site