From owner-freebsd-current@FreeBSD.ORG Sat May 29 05:40:29 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8289F16A4CF for ; Sat, 29 May 2004 05:40:29 -0700 (PDT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A54C43D4C for ; Sat, 29 May 2004 05:40:28 -0700 (PDT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 60B601FFDD3 for ; Sat, 29 May 2004 14:40:05 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 8A2B01FF931; Sat, 29 May 2004 14:40:03 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 6133B154E2; Sat, 29 May 2004 12:39:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 55F501539E for ; Sat, 29 May 2004 12:39:48 +0000 (UTC) Date: Sat, 29 May 2004 12:39:48 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: FreeBSD current mailing list Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Subject: if_sk locking problem and lor X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sat, 29 May 2004 12:40:29 -0000 Hi, with HEAD as of NOW(): getting even more of those but stripped down ... ... malloc() of "16" with the following non-sleepable locks held: exclusive sleep mutex skc0 (network driver) r = 0 (0xffffff0000d54a70) locked @ /u1/src/HEAD/compile-20040529-1019/sys/pci/if_sk.c:672 Stack backtrace: backtrace() at backtrace+0x17 witness_warn() at witness_warn+0x2a7 uma_zalloc_arg() at uma_zalloc_arg+0xb1 malloc() at malloc+0xe1 sysctl_add_oid() at sysctl_add_oid+0xda device_sysctl_init() at device_sysctl_init+0x154 device_attach() at device_attach+0xf device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c miibus_attach() at miibus_attach+0x4b device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c mii_phy_probe() at mii_phy_probe+0x108 sk_attach() at sk_attach+0x390 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c skc_attach() at skc_attach+0x6b5 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c acpi_pci_attach() at acpi_pci_attach+0x105 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c acpi_pcib_attach() at acpi_pcib_attach+0x16a acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x206 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c acpi_probe_children() at acpi_probe_children+0x87 acpi_attach() at acpi_attach+0x5a7 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c nexus_attach() at nexus_attach+0x19 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae root_bus_configure() at root_bus_configure+0x24 configure() at configure+0x22 mi_startup() at mi_startup+0xb8 btext() at btext+0x2c malloc() of "32" with the following non-sleepable locks held: exclusive sleep mutex skc0 (network driver) r = 0 (0xffffff0000d54a70) locked @ /u1/src/HEAD/compile-20040529-1019/sys/pci/if_sk.c:672 Stack backtrace: backtrace() at backtrace+0x17 witness_warn() at witness_warn+0x2a7 uma_zalloc_arg() at uma_zalloc_arg+0xb1 malloc() at malloc+0xe1 sysctl_add_oid() at sysctl_add_oid+0x177 device_sysctl_init() at device_sysctl_init+0x154 device_attach() at device_attach+0xf device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c miibus_attach() at miibus_attach+0x4b device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c mii_phy_probe() at mii_phy_probe+0x108 sk_attach() at sk_attach+0x390 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c skc_attach() at skc_attach+0x6b5 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c acpi_pci_attach() at acpi_pci_attach+0x105 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c acpi_pcib_attach() at acpi_pcib_attach+0x16a acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x206 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c acpi_probe_children() at acpi_probe_children+0x87 acpi_attach() at acpi_attach+0x5a7 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c nexus_attach() at nexus_attach+0x19 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae root_bus_configure() at root_bus_configure+0x24 configure() at configure+0x22 mi_startup() at mi_startup+0xb8 btext() at btext+0x2c ...... e1000phy0: on miibus0 lock order reversal 1st 0xffffff0000d54a70 skc0 (network driver) @ /u1/src/HEAD/compile-20040529-1019/sys/pci/if_sk.c:672 2nd 0xffffffff807ad5a0 kernel environment (kernel environment) @ /u1/src/HEAD/compile-20040529-1019/sys/kern/kern_environment.c:285 Stack backtrace: backtrace() at backtrace+0x17 witness_checkorder() at witness_checkorder+0x692 _sx_slock() at _sx_slock+0x83 getenv() at getenv+0x36 getenv_quad() at getenv_quad+0x15 getenv_int() at getenv_int+0x15 e1000phy_attach() at e1000phy_attach+0x27 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c miibus_attach() at miibus_attach+0x4b device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c mii_phy_probe() at mii_phy_probe+0x108 sk_attach() at sk_attach+0x390 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c skc_attach() at skc_attach+0x6b5 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c acpi_pci_attach() at acpi_pci_attach+0x105 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c acpi_pcib_attach() at acpi_pcib_attach+0x16a acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x206 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c acpi_probe_children() at acpi_probe_children+0x87 acpi_attach() at acpi_attach+0x5a7 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae bus_generic_attach() at bus_generic_attach+0x1c nexus_attach() at nexus_attach+0x19 device_attach() at device_attach+0x5b device_probe_and_attach() at device_probe_and_attach+0xae root_bus_configure() at root_bus_configure+0x24 configure() at configure+0x22 mi_startup() at mi_startup+0xb8 btext() at btext+0x2c e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto skc0: [GIANT-LOCKED] -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT there is no 'do you really want to quit ?'-button in real life - so why does software need it ?