Re: [Bug 8476] kernel BUG at include/linux/slub_def.h:88 kmalloc_index()

Andrew Morton <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Tue, 15 May 2007 12:30:23 -0700
[email protected] wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=8476
> 
> 
> 
> 
> 
> ------- Additional Comments From [email protected]  2007-05-15 12:32 -------
> Created an attachment (id=11511)
>  --> (http://bugzilla.kernel.org/attachment.cgi?id=11511&action=view)
> dmesg, .config...
> 
> Attachment includes: cpuinfo  dmesg  gentoo_emerge_info  kernel_config	lsmod 
> lspci  lspci-vv  meminfo
> 
> BUG: at include/linux/slub_def.h:88 kmalloc_index()
> 
> Call Trace:
>  [<ffffffff8027efb9>] get_slab+0x229/0x240
>  [<ffffffff802805c5>] __kmalloc_track_caller+0x95/0xc0
>  [<ffffffff88179f99>] :usbcore:usb_get_configuration+0x8b9/0xf70
>  [<ffffffff80280553>] __kmalloc_track_caller+0x23/0xc0
>  [<ffffffff8026647b>] __kzalloc+0x1b/0x50
>  [<ffffffff88179f99>] :usbcore:usb_get_configuration+0x8b9/0xf70
>  [<ffffffff881782ec>] :usbcore:usb_get_device_descriptor+0x7c/0xa0
>  [<ffffffff8024b1ff>] mark_held_locks+0x3f/0x80
>  [<ffffffff88172104>] :usbcore:usb_new_device+0x14/0x100
>  [<ffffffff88172a4a>] :usbcore:hub_thread+0x32a/0xd60
>  [<ffffffff804255f7>] thread_return+0x88/0x701
>  [<ffffffff80243040>] autoremove_wake_function+0x0/0x30
>  [<ffffffff88172720>] :usbcore:hub_thread+0x0/0xd60
>  [<ffffffff88172720>] :usbcore:hub_thread+0x0/0xd60
>  [<ffffffff88172720>] :usbcore:hub_thread+0x0/0xd60
>  [<ffffffff80242c9b>] kthread+0x4b/0x80
>  [<ffffffff8020a968>] child_rip+0xa/0x12
>  [<ffffffff8020a07c>] restore_args+0x0/0x30
>  [<ffffffff80242c50>] kthread+0x0/0x80
>  [<ffffffff8020a95e>] child_rip+0x0/0x12
> 

Guys, can we teach USB to avoid the zero-sized kmalloc in usb_get_configuration()
please?

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.