Re: tx(4) MPSAFE patch

From: Florian Smeets <flo_at_kasimir.com>
Date: Mon, 02 Jun 2008 23:09:57 +0200
John Baldwin wrote:
> I have a patch to make tx(4) MPSAFE.  I do not have the hardware to test this 
> however.  Unlike many of the previous patches, though, this driver appears to 
> be for hardware that is not entirely ancient, so there is hopefully a decent 
> chance someone can test this.
> 
> http://www.FreeBSD.org/~jhb/patches/tx.patch
> 

Hi John,

sorry does not work, do you need anything else than the backtrace? FWIW, 
this is an SMP system with 2 CPUs.

tx0: <SMC EtherPower II 10/100> port 0xc400-0xc4ff mem 
0xe7000000-0xe7000fff irq 18 at device 11.0 on pci0
panic: mutex tx0 not owned at /usr/src/sys/dev/tx/if_tx.c:1858
cpuid = 0
KDB: enter: panic
[thread pid 0 tid 100000 ]
Stopped at      kdb_enter+0x3a: movl    $0,kdb_why
db> where
Tracing pid 0 tid 100000 td 0xc089f400
kdb_enter(c07e203e,c07e203e,c07e0b03,c0c20928,0,...) at kdb_enter+0x3a
panic(c07e0b03,c2134860,c07d7a1c,742,c0c20954,...) at panic+0x12c
_mtx_assert(c204bc54,4,c07d7a1c,742,0,...) at _mtx_assert+0x87
epic_miibus_readreg(c20f4d80,0,1,c20f4c00,c204bc00,...) at 
epic_miibus_readreg+0x38
mii_phy_probe(c20f4d80,c204bc0c,c0536920,c0534de0,c0533bb0,...) at 
mii_phy_probe+0xb3
epic_attach(c20f4d80,c20b0854,c085bc44,c07e47f9,80000000,...) at 
epic_attach+0x817
device_attach(c20f4d80,c20f4d80,c07e4757,935,c20f4d80,...) at 
device_attach+0x36f
device_probe_and_attach(c20f4d80,c208d980,c0c20a94,c04861bc,c20f4c00,...) 
at device_probe_and_attach+0x100
bus_generic_attach(c20f4c00,c2116080,1,c0485c00,c20f4c00,0,c2116080) at 
bus_generic_attach+0x19
acpi_pci_attach(c20f4c00,c20d5854,c085bc44,c07e47f9,80000000,...) at 
acpi_pci_attach+0x18c
device_attach(c20f4c00,c20f4c00,c07e4757,935,c20f4c00,...) at 
device_attach+0x36f
device_probe_and_attach(c20f4c00,c208dc00,c0c20b34,c0488214,c208d980,...) 
at device_probe_and_attach+0x100
bus_generic_attach(c208d980,c0805f71,0,c0c20b24,c2116080,...) at 
bus_generic_attach+0x19
acpi_pcib_attach(c208d980,c211a2b4,0,c0c20b54,2,...) at 
acpi_pcib_attach+0x194
acpi_pcib_acpi_attach(c208d980,c20a9854,c085bc44,c07e47f9,80000000,...) 
at acpi_pcib_acpi_attach+0x236
device_attach(c208d980,c208d980,c07e4757,935,c208d980,...) at 
device_attach+0x36f
device_probe_and_attach(c208d980,297,c0c20c54,c047defa,c208dc00,...) at 
device_probe_and_attach+0x100
bus_generic_attach(c208dc00,294,297,c2117768,294,...) at 
bus_generic_attach+0x19
acpi_attach(c208dc00,c20ab054,c085bc44,c07e47f9,80000000,...) at 
acpi_attach+0xb3a
device_attach(c208dc00,c208dc00,c07e4757,935,c208dc00,...) at 
device_attach+0x36f
device_probe_and_attach(c208dc00,c20f4280,c0c20ce8,c077450e,c20f4280,...) 
at device_probe_and_attach+0x100
bus_generic_attach(c20f4280,a,c07c962c,0) at bus_generic_attach+0x19
nexus_acpi_attach(c20f4280,c20f0854,c085bc44,c07e47f9,80000000,...) at 
nexus_acpi_attach+0x7e
device_attach(c20f4280,c20f4280,c07e4757,935,c20f4280,...) at 
device_attach+0x36f
device_probe_and_attach(c20f4280,c0810124,c0c20d6c,c07792bc,c08acf34,...) 
at device_probe_and_attach+0x100
root_bus_configure(c08acf34,c0c20d88,c056f3d6,0,c1ec00,...) at 
root_bus_configure+0x1b
configure(0,c1ec00,c1ec00,c1e000,c25000,...) at configure+0xc
mi_startup() at mi_startup+0x96
begin() at begin+0x2c

Cheers,
Florian
Received on Mon Jun 02 2008 - 19:37:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:31 UTC