From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 13:28:18 2003 Return-Path: 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 0364737B401 for ; Tue, 12 Aug 2003 13:28:18 -0700 (PDT) Received: from vimes.aminor.no (vimes.aminor.no [213.187.177.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BAF143F93 for ; Tue, 12 Aug 2003 13:28:17 -0700 (PDT) (envelope-from eivind@aminor.no) Received: from [192.168.0.2] (rincewind.eivind [192.168.0.2]) by vimes.aminor.no (Postfix) with ESMTP id 6F44978DCE; Tue, 12 Aug 2003 22:28:16 +0200 (CEST) Date: Tue, 12 Aug 2003 22:29:54 +0200 From: Eivind Olsen To: Peter Edwards , Poul-Henning Kamp Message-ID: <15259437.1060727394@[192.168.0.2]> In-Reply-To: <1060717194.45511.137.camel@rocklobster.openet-telecom.lan> References: <770.1060717174@critter.freebsd.dk> <1060717194.45511.137.camel@rocklobster.openet-telecom.lan> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: freebsd-current@freebsd.org Subject: Re: Crash in g_dev_strategy / CURRENT as of yesterday. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 12 Aug 2003 20:28:18 -0000 --On 12. august 2003 20:39 +0100 Peter Edwards wrote: >> # 10 0xc04f3c65 in trap (frame= >> {tf_fs = -1059913704, tf_es = -890109936, tf_ds = -1070268400, >> tf_edi >> = -1040540480, tf_esi = -978597456, tf_ebp = -890095148, tf_isp = >> -890095220, tf_ebx = 0, tf_edx = 0, tf_ecx = 0, tf_eax = 16343040, >> tf_trapno = 12, tf_err = 2, tf_eip = -1070560519, tf_cs = 8, tf_eflags >> = >> 66054, tf_esp = -978597456, tf_ss = -1067143852}) at >> /usr/src/sys/i386/i386/trap.c:420 > Look at tf_eip: -1070560519 = 0xc0308af9 > What does "list *0xc0308af9" show in gdb? (kgdb) list *0xc0308af9 0xc0308af9 is in g_dev_strategy (/usr/src/sys/geom/geom_dev.c:401). 396 KASSERT(cp->acr || cp->acw, 397 ("Consumer with zero access count in g_dev_strategy")); 398 399 bp2 = g_clone_bio(bp); 400 KASSERT(bp2 != NULL, ("XXX: ENOMEM in a bad place")); 401 bp2->bio_offset = (off_t)bp->bio_blkno << DEV_BSHIFT; 402 KASSERT(bp2->bio_offset >= 0, 403 ("Negative bio_offset (%jd) on bio %p", 404 (intmax_t)bp2->bio_offset, bp)); 405 bp2->bio_length = (off_t)bp->bio_bcount; (kgdb) -- Regards / Hilsen Eivind Olsen