Re: 2.6.21-rc3-mm1

From: Andrew Morton
Date: Sat Mar 10 2007 - 03:58:59 EST


> On Sat, 10 Mar 2007 09:33:35 +0100 Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx> wrote:
> Hello,
>
> > - The wireless changes in here need a lot of testers, please. It is major
> > rework.
>
> Works for me ... so far ;-) Anyway to the point:
>
> When moving my laptop I reattached the usb mouse. Then I found this in syslog:
>
> usb 2-1: new low speed USB device using uhci_hcd and address 3
> usb 2-1: new device found, idVendor=046d, idProduct=c00e
> usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0
> usb 2-1: Product: USB-PS/2 Optical Mouse
> usb 2-1: Manufacturer: Logitech
> usb 2-1: configuration #1 chosen from 1 choice
> khubd: page allocation failure. order:5, mode:0xd0
> [<c01045c4>] show_trace_log_lvl+0x1a/0x30
> [<c0104d50>] show_trace+0x12/0x14
> [<c0104e07>] dump_stack+0x16/0x18
> [<c014acc6>] __alloc_pages+0x2e4/0x303
> [<c01604df>] cache_alloc_refill+0x2e4/0x516
> [<c01608e4>] kmem_cache_zalloc+0x78/0x7c
> [<c0341343>] hid_parse_report+0xce/0x26b
> [<c032d99b>] hid_probe+0x264/0xdba
> [<c030feb9>] usb_probe_interface+0x5a/0x89
> [<c02bf74f>] driver_probe_device+0x86/0x178
> [<c02bf849>] __device_attach+0x8/0xa
> [<c02beadc>] bus_for_each_drv+0x4a/0x68
> [<c02bfb39>] device_attach+0x8b/0xd2
> [<c02bea4e>] bus_attach_device+0x40/0x84
> [<c02bd835>] device_add+0x5d0/0x6c8
> [<c030e8bd>] usb_set_configuration+0x2d6/0x4c6
> [<c03158ab>] generic_probe+0x15c/0x251
> [<c030fb87>] usb_probe_device+0x36/0x3c
> [<c02bf74f>] driver_probe_device+0x86/0x178
> [<c02bf849>] __device_attach+0x8/0xa
> [<c02beadc>] bus_for_each_drv+0x4a/0x68
> [<c02bfb39>] device_attach+0x8b/0xd2
> [<c02bea4e>] bus_attach_device+0x40/0x84
> [<c02bd835>] device_add+0x5d0/0x6c8
> [<c030a078>] usb_new_device+0x128/0x196
> [<c030aedd>] hub_thread+0x28a/0xb4a
> [<c0126c75>] kthread+0xa2/0xc9
> [<c010422f>] kernel_thread_helper+0x7/0x18
> =======================

hid_parse_report() is doing kmalloc(128k kbytes). We canot sanely support
that and the code shold be rewritten to not do that. A simple though
somewhat lame fix would be to switch to vmalloc().

It's been this way for some time, so it's odd that the failures have just
popped up now.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/