Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757603Ab3EOIXw (ORCPT ); Wed, 15 May 2013 04:23:52 -0400 Received: from relay1.sgi.com ([192.48.179.29]:54465 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756602Ab3EOIXu (ORCPT ); Wed, 15 May 2013 04:23:50 -0400 Date: Wed, 15 May 2013 03:23:49 -0500 From: Robin Holt To: Roland Dreier Cc: linux-kernel@vger.kernel.org, Robin Holt Subject: kmalloc warning in mlx4_buddy_init. Message-ID: <20130515082348.GO3658@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3118 Lines: 49 Roland, We are seeing the following when booting on a large system. [ 171.399023] mlx4_core 0004:01:00.0: irq 2410 for MSI/MSI-X [ 171.406560] ------------[ cut here ]------------ [ 171.411734] WARNING: at mm/slab_common.c:376 kmalloc_slab+0x71/0x90() [ 171.418919] Modules linked in: mlx4_core(+) sg lpc_ich mfd_core shpchp pci_hotplug ehci_pci ehci_hcd ioatdma i2c_i801 igb dca i2c_algo_bit i2c_core ptp pps_core mperf processor thermal_sys hwmon usbcore usb_common ext4 jbd2 crc16 sd_mod crc_t10dif qla2xxx scsi_transport_fc scsi_tgt megaraid_sas ahci libahci isci libsas libata scsi_transport_sas scsi_mod button dm_mirror dm_region_hash dm_log dm_mod gru(O) xvma(O) [ 171.460377] CPU: 48 PID: 2561 Comm: kworker/48:1 Tainted: G W O 3.10.0-rc1-uv-hz100-rja+ #3 [ 171.470473] Hardware name: SGI UV2000/ROMLEY, BIOS SGI UV 2000/3000 series BIOS 01/15/2013 [ 171.479720] Workqueue: events work_for_cpu_fn [ 171.484597] 0000000000000178 ffff8867bb0f5ba8 ffffffff814a873c ffff8867bb0f5be8 [ 171.492897] ffffffff81045a7b 000080d0000080d0 0000000000200000 ffff88679bc7cb80 [ 171.501205] 0000000000000000 00000000000082d0 0000000000000000 ffff8867bb0f5bf8 [ 171.509502] Call Trace: [ 171.512266] [] dump_stack+0x19/0x1d [ 171.518007] [] warn_slowpath_common+0x6b/0xa0 [ 171.524711] [] warn_slowpath_null+0x15/0x20 [ 171.531230] [] kmalloc_slab+0x71/0x90 [ 171.537176] [] __kmalloc+0x30/0x220 [ 171.542989] [] ? mlx4_buddy_init+0xdb/0x1d0 [mlx4_core] [ 171.550699] [] mlx4_buddy_init+0xdb/0x1d0 [mlx4_core] [ 171.558183] [] mlx4_init_mr_table+0xaf/0x130 [mlx4_core] [ 171.565964] [] mlx4_setup_hca+0x158/0x5a0 [mlx4_core] [ 171.573446] [] __mlx4_init_one+0x720/0x9c0 [mlx4_core] [ 171.581030] [] mlx4_init_one+0x2c/0x60 [mlx4_core] [ 171.588232] [] local_pci_probe+0x49/0x80 [ 171.594458] [] work_for_cpu_fn+0x13/0x20 [ 171.600692] [] process_one_work+0x194/0x3d0 [ 171.607200] [] worker_thread+0x2c4/0x410 [ 171.613421] [] ? manage_workers+0x190/0x190 [ 171.619940] [] kthread+0xc6/0xd0 [ 171.625392] [] ? kthread_freezable_should_stop+0x70/0x70 [ 171.633182] [] ret_from_fork+0x7c/0xb0 [ 171.639204] [] ? kthread_freezable_should_stop+0x70/0x70 [ 171.646976] ---[ end trace 822f6d487f108023 ]--- [ 171.715920] mlx4_core 0004:01:00.0: command 0xc failed: fw status = 0x40 [ 171.723888] mlx4_core: Initializing 0007:02:00.0 This looks to be a kmalloc larger than MAX_ORDER. Not sure which of the two kcallocs in mlx4_buddy_init. Thanks, Robin Holt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/