From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 4 14:01:13 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FC7316A41C for ; Mon, 4 Jul 2005 14:01:13 +0000 (GMT) (envelope-from cedric@virtual-globe.net) Received: from dd2030.kasserver.com (dd2030.kasserver.com [81.209.148.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3A7843D45 for ; Mon, 4 Jul 2005 14:01:12 +0000 (GMT) (envelope-from cedric@virtual-globe.net) Received: from ganymed.decemplex.loc (83-134-161-27.Liege.GoPlus.FastDSL.tiscali.be [83.134.161.27]) by dd2030.kasserver.com (Postfix) with ESMTP id CEEDFF2B6E for ; Mon, 4 Jul 2005 16:01:11 +0200 (CEST) Date: Mon, 4 Jul 2005 16:01:08 +0200 From: =?ISO-8859-1?Q?C=E9dric?= Jonas To: freebsd-hackers@freebsd.org Message-ID: <20050704160108.2f80d39c@ganymed.decemplex.loc> In-Reply-To: <20050703225633.077566f4@ganymed.decemplex.loc> References: <20050703225633.077566f4@ganymed.decemplex.loc> X-Mailer: Sylpheed-Claws 1.9.11 (GTK+ 2.6.8; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Panic in bus_dmamap_load_mbuf (pmap.h:201) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 14:01:13 -0000 On Sun, 3 Jul 2005 22:56:33 +0200 C=E9dric Jonas wrote: > Hello, >=20 > Since 1 or 2 months, I experienced panics when I use the ath interface of= our server (configured as hostap). Also, the system hangs often (without p= anic) during the boot process at the "Setting hostname: icarus." level. Bec= ause I had absolutely no time, I couldn't learn to use the kernel debugger = before.=20 >=20 >=20 >=20 > icarus# uname -a > FreeBSD icarus 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Jul 3 15:14:13 CES= T 2005 cedric@icarus:/usr/obj/usr/src/sys/ICARUS i386 >=20 > Sources are from July, 1 >=20 >=20 > debug.mpsafenet: 1 >=20 >=20 >=20 > After compiling the kernel with debug options, I get the following during= the boot process: >=20 > Setting hostname: icarus. > lock order reversal > 1st 0xc2cd4c6c ath0 (network driver) @ /usr/src/sys/dev/ath/if_ath.c:893 > 2nd 0xc30583c8 user map (user map) @ /usr/src/sys/vm/vm_map.c:2998 >=20 > > Another important detail could be that I use a dual Xeon box, which HT en= abled, which results in 4 logical CPU's and explain why anybody reported th= is problem before?! >=20 > I hope somebody could help, if you need additional informations, let me k= now. > Thank you. >=20 > --=20 > Best regards,=20 > C=E9dric Jonas > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >=20 If it can help: I tried to disable PREEMPTION, the hyperthreading functiona= lity (=3D> 2 logical CPU), and I set debug.mpsafenet to 0, but the LOR (+ P= anic when ath0 is used) continue to occure... I tried also to downgrade to 5.3-RELEASE, where the problems do _not_ occur= ... but that's not a solution. --=20 Best regards,=20 C=E9dric Jonas