Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 May 2004 12:39:48 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        FreeBSD current mailing list <current@freebsd.org>
Subject:   if_sk locking problem and lor
Message-ID:  <Pine.BSF.4.53.0405291235390.12566@e0-0.zab2.int.zabbadoz.net>

next in thread | raw e-mail | index | archive | help
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: <Marvell 88E1000 Gigabit PHY> 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 ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0405291235390.12566>