From owner-freebsd-current@FreeBSD.ORG Mon Jan 17 17:55:27 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAA981065672 for ; Mon, 17 Jan 2011 17:55:27 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 640298FC17 for ; Mon, 17 Jan 2011 17:55:27 +0000 (UTC) Received: by qyk36 with SMTP id 36so5091623qyk.13 for ; Mon, 17 Jan 2011 09:55:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=6JBRV+cpB1HsyZf06N+m71pJAAwB48MIsNimZvKKhKQ=; b=NhuZ2qXPU4vqZsjl99IN3841tAUojC3R4Do2ATBVp6ZCEf/rs3MtQjk2rBnx9e8/+m emmpEoan3fIY/E9LvboyoelB36ogPpRvAv6jkXELa1cQkE8TZgfqPakPDBLfHfBLjDoo UFm54Wp6pc5rGsWks6vb7NpJKedyXLS/4RzpU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QHKZqAjzm1v3MFoICNNzfHwx/GiGUvC/S13qzSgec3NUOZQXZyFdMAhE5seif8X95C HzpRu7aRk+9wLaksPvO33MPjjPAEZ5GsVp+piUe0JpXWC0TRZZ2OF8Fhcr3knS8d26KM qIXPM4gSLqhrL4aLc7gRr2jDe2qc04AYEwu7g= MIME-Version: 1.0 Received: by 10.229.211.138 with SMTP id go10mr3909793qcb.195.1295286926562; Mon, 17 Jan 2011 09:55:26 -0800 (PST) Received: by 10.229.102.87 with HTTP; Mon, 17 Jan 2011 09:55:26 -0800 (PST) Date: Mon, 17 Jan 2011 20:55:26 +0300 Message-ID: From: Sergey Kandaurov To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 Subject: uma_zalloc_arg: zone "256" with non-sleepable exclusive rw ifnet_rw @ /usr/src/sys/net/if.c:414 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2011 17:55:27 -0000 Hi, I see this "malloc with non-sleepable" on current during boot. It's strange that I don't see it if I boot via pxe/nfs. if_alloc() calls ifindex_alloc_locked() under IFNET_WLOCK() which might call if_grow(). Looks like a regression from r196553. igb6: port 0x8020-0x803f mem 0xd0820000-0xd083ffff,0xd0400000-0xd07fffff,0xd08c4000-0xd08c7fff irq 54 at device 0.0 on pci144 uma_zalloc_arg: zone "256" with the following non-sleepable locks held: exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff80e9aac0) locked @ /usr/src/sys/net/if.c:414 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a kdb_backtrace() at kdb_backtrace+0x37 _witness_debugger() at _witness_debugger+0x2e witness_warn() at witness_warn+0x2c4 uma_zalloc_arg() at uma_zalloc_arg+0x335 malloc() at malloc+0xbe if_grow() at if_grow+0x2f if_alloc() at if_alloc+0x2f3 igb_attach() at igb_attach+0x1a3a device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pci_attach() at acpi_pci_attach+0x14f device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pcib_attach() at acpi_pcib_attach+0x1a7 acpi_pcib_pci_attach() at acpi_pcib_pci_attach+0x95 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pci_attach() at acpi_pci_attach+0x14f device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_pcib_attach() at acpi_pcib_attach+0x1a7 acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a acpi_attach() at acpi_attach+0xac4 device_attach() at device_attach+0x69 bus_generic_attach() at bus_generic_attach+0x1a nexus_acpi_attach() at nexus_acpi_attach+0x69 device_attach() at device_attach+0x69 bus_generic_new_pass() at bus_generic_new_pass+0xd6 bus_set_pass() at bus_set_pass+0x7a configure() at configure+0xa mi_startup() at mi_startup+0x77 btext() at btext+0x2c igb6: Ethernet address: 00:1b:21:73:59:14 -- wbr, pluknet