Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jul 2004 07:34:32 +0400
From:      Maxim Maximov <mcsi@mcsi.pp.ru>
To:        freebsd-current@freebsd.org
Subject:   Re: HEADS UP [Re: thread+preemption stability improvement]
Message-ID:  <40FC92C8.50604@mcsi.pp.ru>
In-Reply-To: <40FC3090.9060305@freebsd.org>
References:  <Pine.NEB.3.96L.1040719115338.38770K-100000@fledge.watson.org> <40FC3090.9060305@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Long wrote:
> All,
> 
> Initial testing of this patch looks very promising.  For those that
> aren't comfortable with patching their sources by hand, note that it
> was committed to CVS a few hours ago and should be showing up on CVSup
> very shortly (rev 1.8 of sys/i386/i386/intr_machdep.c is what you want
> if you are running i386).  Please go out and test this as much as 
> possible so that we can determine if futher action is needed.

	I think it is needed :( Things actually get _much_ better, now I've 
been able to use my big IMAP folders, but still after applying the patch 
and working about an hour mozilla freezes with the same sympthoms (cpu 
fan gets spinning faster and faster as if cpu temperature is raising). 
Are there any ways I can help track this down further?
	Preemption is enabled, of course. My kernel's config is latest GENERIC 
with these additions:

######
device		pf
device		pflog
options         ALTQ
options         ALTQ_CBQ        # Class Bases Queueing
options         ALTQ_RED        # Random Early Drop
options         ALTQ_RIO        # RED In/Out
options         ALTQ_HFSC       # Hierarchical Packet Scheduler
options         ALTQ_CDNR       # Traffic conditioner
options         ALTQ_PRIQ       # Priority Queueing
options         ALTQ_NOPCC      # Required for SMP build
options         ALTQ_DEBUG
device		radeondrm
device          acpi_asus
device		sound
device		snd_ich
options		ALT_BREAK_TO_DEBUGGER
options		MSGBUF_SIZE=245760

	My system is the notebook ASUS L5Ga. At boot I'm getting many witness 
messages like these and I turned on debug.mpsafenet=1. Can this be a 
problem?

malloc(M_WAITOK) of "16", forcing M_NOWAIT with the following 
non-sleepable locks held:
exclusive sleep mutex skc0 (network driver) r = 0 (0xc1aa6ec0) locked @ 
/usr/src/sys/pci/if_sk.c:673
KDB: stack backtrace:
kdb_backtrace(c09e225c,c0c2170c,1,c094ba5c,10) at kdb_backtrace+0x2e
witness_warn(5,0,c0904908,c08cb429,c094d020) at witness_warn+0x1b5
uma_zalloc_arg(c10352c0,0,2,c10458c0,c1ace74c) at uma_zalloc_arg+0x4c
malloc(c,c094d020,2,c1ae7c80,9) at malloc+0xd6
sysctl_ctx_entry_add(c1ace74c,c1ab9a00,2,8,c1ace74c) at 
sysctl_ctx_entry_add+0x3d
sysctl_add_oid(c1ace74c,c1ae7d10,ffffffff,c08ecd32,80000000) at 
sysctl_add_oid+0x1a6
device_sysctl_init(c1ace700,c1a29430,c19ce6c0,c1ace700,c1ace700) at 
device_sysctl_init+0x1c0
device_attach(c1ace700,c1ace700,c08f9f99,c1acf7e0,c1ace700) at 
device_attach+0x13
device_probe_and_attach(c1ace700,c1ace380,c0c21838,c05b5679,c1ace380) at 
device_probe_and_attach+0xd1
bus_generic_attach(c1ace380,f0000000,c07d2d20,c07d2d60,c1ace380) at 
bus_generic_attach+0x28
miibus_attach(c1ace380,c1a0b84c,c0916570,c1ace380,c1ace380) at 
miibus_attach+0x59
device_attach(c1ace380,c1ace380,1,0,c1ace380) at device_attach+0x6a
device_probe_and_attach(c1ace380,0,c0c218ac,c05b5adb,c1ace000) at 
device_probe_and_attach+0xd1
bus_generic_attach(c1ace000,0,1,0,c1ae3000) at bus_generic_attach+0x28
mii_phy_probe(c1ace000,c1ae3220,c07d2d20,c07d2d60,ffffffff) at 
mii_phy_probe+0x11b
sk_attach(c1ace000,c1a3784c,c0916570,c1ace000,c1ace000) at sk_attach+0x3a2
device_attach(c1ace000,c1ace000,c0c2193c,c069c0ef,c1ace000) at 
device_attach+0x6a
device_probe_and_attach(c1ace000,c1aa6680,c0c21978,c07d3ba5,c1aa6780) at 
device_probe_and_attach+0xd1
bus_generic_attach(c1aa6780,11a,1,c0c21964,ffffffff) at 
bus_generic_attach+0x28
skc_attach(c1aa6780,c1a3804c,c0916570,c1aa6780,c1aa6780) at skc_attach+0x495
device_attach(c1aa6780,c1aa6780,c1974c00,1,c1aa6780) at device_attach+0x6a
device_probe_and_attach(c1aa6780,c1aa6280,c0c21a00,c0b120db,c1aa6680) at 
device_probe_and_attach+0xd1
bus_generic_attach(c1aa6680,c1974c00,1,c0b11dc0,c1aa6680) at 
bus_generic_attach+0x28
acpi_pci_attach(c1aa6680,c1aa6680,c19ff100,c1aa6680,c1aa6680) at 
acpi_pci_attach+0x13b
device_attach(c1aa6680,c1aa6680,c1aa0780,c1aa6280,c1aa6680) at 
device_attach+0x6a
device_probe_and_attach(c1aa6680,c1aa0780,c0c21a84,c0b1228e,c1aa6280) at 
device_probe_and_attach+0xd1
bus_generic_attach(c1aa6280,c1ad4f30,2,c0c21a74,c0c21a7c) at 
bus_generic_attach+0x28
acpi_pcib_attach(c1aa6280,c1ad4f30,2,c0c21aa0,c1aa6280) at 
acpi_pcib_attach+0x19e
acpi_pcib_pci_attach(c1aa6280,c1aa6280,0,c1aa6280,c1aa6280) at 
acpi_pcib_pci_attach+0x9f
device_attach(c1aa6280,c1aa6280,c1968480,c1aa6100,c1aa6280) at 
device_attach+0x6a
device_probe_and_attach(c1aa6280,c19d2c00,c0c21b38,c0b120db,c1aa0780) at 
device_probe_and_attach+0xd1
bus_generic_attach(c1aa0780,c1968480,1,c0b11dc0,c1aa0780) at 
bus_generic_attach+0x28
acpi_pci_attach(c1aa0780,c1a7904c,c0916570,c1aa0780,c1aa0780) at 
acpi_pci_attach+0x13b
device_attach(c1aa0780,c1aa0780,c1a83800,c19d2c00,c1aa0780) at 
device_attach+0x6a
device_probe_and_attach(c1aa0780,c1a83800,c0c21bbc,c0b1228e,c19d2c00) at 
device_probe_and_attach+0xd1
bus_generic_attach(c19d2c00,c1a92ed4,0,c0c21bac,0) at 
bus_generic_attach+0x28
acpi_pcib_attach(c19d2c00,c1a92ed4,0,c0c21be4,c0916570) at 
acpi_pcib_attach+0x19e
acpi_pcib_acpi_attach(c19d2c00,c1a7884c,c0916570,c19d2c00,c19d2c00) at 
acpi_pcib_acpi_attach+0x270
device_attach(c19d2c00,c19d2c00,c0b2a488,c0c21c48,c19d2c00) at 
device_attach+0x6a
device_probe_and_attach(c19d2c00,4,c0c21c74,c0b0e96b,c1a83800) at 
device_probe_and_attach+0xd1
bus_generic_attach(c1a83800,c1968e40,64,c0b0ea30,c1a83800) at 
bus_generic_attach+0x28
acpi_probe_children(c1a83800,c0b10f60,c1a83780,0,1a4) at 
acpi_probe_children+0x9b
acpi_attach(c1a83800,c1a6b04c,c0916570,c1a83800,c1a83800) at 
acpi_attach+0x732
device_attach(c1a83800,c1a83800,c1a295c0,c0c21d08,c1a83800) at 
device_attach+0x6a
device_probe_and_attach(c1a83800,c1a83980,c0c21d18,c087310c,c1a83980) at 
device_probe_and_attach+0xd1
bus_generic_attach(c1a83980,c1a83980,c0c21d38,c06c039a,c1a83980) at 
bus_generic_attach+0x28
nexus_attach(c1a83980,c1a5b84c,c0916570,c1a83980,c1a83980) at 
nexus_attach+0x1c
device_attach(c1a83980,c1a83980,c1969af8,c0985050,c1a83980) at 
device_attach+0x6a
device_probe_and_attach(c1a83980,c1969af8,c0c21d80,c0860619,c197ca00) at 
device_probe_and_attach+0xd1
root_bus_configure(c197ca00,c090a3c2,0,c0c21d98,c067d045) at 
root_bus_configure+0x28
configure(0,c1e000,c1ec00,c1e000,0) at configure+0x29
mi_startup() at mi_startup+0xb5
begin() at begin+0x2c


--
Maxim Maximov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40FC92C8.50604>