From owner-freebsd-current@FreeBSD.ORG Mon Nov 13 00:19:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 408F516A407 for ; Mon, 13 Nov 2006 00:19:58 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B26543D45 for ; Mon, 13 Nov 2006 00:19:57 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 9841 invoked from network); 13 Nov 2006 00:19:54 -0000 Received: from unknown (HELO localhost) (775067@[217.50.200.64]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 13 Nov 2006 00:19:54 -0000 Date: Mon, 13 Nov 2006 01:19:41 +0100 From: Fabian Keil To: freebsd-current@freebsd.org Message-ID: <20061113011941.1ab10f39@localhost> In-Reply-To: <20061112204812.011e06d1@localhost> References: <200611021653.kA2GrRWx008044@repoman.freebsd.org> <455530E0.5090000@gmail.com> <4555B45D.6020800@freebsd.org> <4555BA65.4020603@gmail.com> <4557330D.3010009@freebsd.org> <20061112170013.78949e96@localhost> <20061112204812.011e06d1@localhost> X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.10.6; i386-portbld-freebsd6.2) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_47//Cpcga0l=Z+mfRDXDini"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: sendfile data corruption X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 13 Nov 2006 00:19:58 -0000 --Sig_47//Cpcga0l=Z+mfRDXDini Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Fabian Keil wrote: > Fabian Keil wrote: >=20 > > Andre Oppermann wrote: >=20 > > > Please try this patch: > > >=20 > > > http://people.freebsd.org/~andre/sendfile_fix-20061112.diff > I just had to reboot the system and noticed several LORs before > the login prompt. Because of this one: >=20 > lock order reversal: > 1st 0xc070b6a8 Giant (sleep mutex) > @ /usr/src/sys/kern/uipc_syscalls.c:1335 2nd 0xc27e5b10 inp (udpinp) > @ /usr/src/sys/netinet/udp_usrreq.c:1120 3rd 0xc27e30e0 so_snd (sleep > mutex) @ /usr/src/sys/kern/uipc_sockbuf.c:95 KDB: stack backtrace: > db_trace_self_wrapper(c069ae0c) at db_trace_self_wrapper+0x25 > kdb_backtrace(0,0,c071a380,c071a060,c06d24c4,...) at kdb_backtrace+0x29 > witness_checkorder(c27e30e0,9,c069fc63,5f) at witness_checkorder+0x586 > _mtx_lock_flags(c27e30e0,0,c069fc63,5f,c27e5b10,...) at > _mtx_lock_flags+0x84 > socantsendmore(c27e3000,c27e5b10,0,c06a78e3,460,...) at > socantsendmore+0x1d > udp_shutdown(c27e3000,0,d4b01d04,c2662700,d4b01c84,...) at > udp_shutdown+0x3a soshutdown(c27e3000,2,c2776af8,0,c2662700,...) at > soshutdown+0x37 shutdown(c2662700,d4b01d04) at shutdown+0x5d > syscall(b0003b,822003b,bfbf003b,bfbfc5d0,bfbfc6f0,...) at syscall+0x256 > Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (134, FreeBSD > ELF32, shutdown), eip =3D 0x2810a277, esp =3D 0xbfbfc5bc, ebp =3D 0xbfbfc= 608 > --- >=20 > I assume there is a connection to your patch. As I'm still getting these without Andre's patch they must be the result of some other changes. Fabian --=20 http://www.fabiankeil.de/ --Sig_47//Cpcga0l=Z+mfRDXDini Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFV7oiBYqIVf93VJ0RAoEnAJ45ZzHkul+HOEo8SzGPH7ao24ULNwCgyYZ7 M98+XMnXQDQk1DEbeuuIySE= =rK1x -----END PGP SIGNATURE----- --Sig_47//Cpcga0l=Z+mfRDXDini--