From owner-freebsd-net@FreeBSD.ORG Thu Sep 8 09:04:14 2005 Return-Path: X-Original-To: net@FreeBSD.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AAFD16A41F; Thu, 8 Sep 2005 09:04:14 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9DD243D45; Thu, 8 Sep 2005 09:04:13 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id 4CFE4A3104; Thu, 8 Sep 2005 11:04:12 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 333) id 4038163AB; Thu, 8 Sep 2005 11:04:12 +0200 (CEST) Date: Thu, 8 Sep 2005 11:04:12 +0200 From: Marc Olzheim To: Kris Kennaway Message-ID: <20050908090412.GA52425@stack.nl> References: <20050908044336.GA28709@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <20050908044336.GA28709@xor.obsecurity.org> X-Operating-System: FreeBSD hammer.stack.nl 6.0-BETA2 FreeBSD 6.0-BETA2 X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.9i Cc: rwatson@FreeBSD.org, net@FreeBSD.org Subject: Re: panic: receive: m == 0 so->so_rcv.sb_cc == 4294967295 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 09:04:14 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 08, 2005 at 12:43:36AM -0400, Kris Kennaway wrote: > db> wh > Tracing pid 23098 tid 100263 td 0xc92e4af0 > kdb_enter(c07060af,0,c070c9b3,f7d14bc8,c92e4af0) at kdb_enter+0x30 > panic(c070c9b3,0,ffffffff,3f5,c0709939) at panic+0x13e > soreceive(c9be5b20,0,f7d14cb4,0,0,f7d14c30,4000) at soreceive+0x1cd > fifo_read_f(c8dc17e0,f7d14cb4,c5c88000,0,c92e4af0) at fifo_read_f+0x70 > dofileread(c92e4af0,3,c8dc17e0,f7d14cb4,ffffffff) at dofileread+0x96 > kern_readv(c92e4af0,3,f7d14cb4,bfbfdb87,1) at kern_readv+0x61 > read(c92e4af0,f7d14d04,c,422,3) at read+0x4f > syscall(3b,3b,3b,bfbfdbc0,809b440) at syscall+0x295 > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (3, FreeBSD ELF32, read), eip = 0x807d183, esp = 0xbfbfdb6c, ebp = 0xbfbfdb88 --- > db> What kind ot kern_readv() is that ? Prototype of mine is: int kern_readv(struct thread *td, int fd, struct uio *auio); Or does the debugger garble something ? Marc --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDH/6MezjnobFOgrERAg+9AJ9jvPp/6sVIDJ7k+Fh0rNuHXsEFuQCghlKe aVxnMatJ5V9s8kMuqvHVoxo= =GD43 -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--