From owner-freebsd-current@FreeBSD.ORG Sat Jul 19 19:42:10 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FDAE106566C for ; Sat, 19 Jul 2008 19:42:10 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 048E48FC14 for ; Sat, 19 Jul 2008 19:42:09 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so491781fgb.35 for ; Sat, 19 Jul 2008 12:42:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=oCBwROUfgJW4C0LIKs18SJLh+WsCzXjFGlm1bz1t74Q=; b=hCU+fjyjlGL9C35CHjwjFNtWHd2OUMftKFzR1QEp/lhQk/TzbkZfyZMxHmLpKAKF84 JXOjcyPToYfFt3kDkN3vnmAyIibPQUnZuluIE1QW8BQdnKq8y3JwqDXHGb/cQOo2IH9y 1EQmLjbkgs3OqGistz94MzobJJYC/EgfNV4no= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=sGjuopL3PwWRr8xPiyGQOJ5aNfhm/r27/SPrxBtLMG2plAXSBBtje2FnGQZxhuM6Ek v7TDirAFWgTUafma6YU3KvwABpTdCZapFVUvnG3QzR/SN88GE7tcv2g8MY9Fuq2JBCUF 3gFmV+WKCzXKV/yUbWDW2ipb26WlXPe2NV5s0= Received: by 10.86.63.19 with SMTP id l19mr2436435fga.60.1216496528970; Sat, 19 Jul 2008 12:42:08 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Sat, 19 Jul 2008 12:42:08 -0700 (PDT) Message-ID: <7d6fde3d0807191242o49ad60adu7a4099c2e2e92692@mail.gmail.com> Date: Sat, 19 Jul 2008 12:42:08 -0700 From: "Garrett Cooper" To: "Edward Ruggeri" In-Reply-To: <919383240807190857x6352a004x37943642399242fa@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <919383240807172100j35e1c796q513fa34d83f8e8e0@mail.gmail.com> <7d6fde3d0807180336h61f13a73pcc433be16a732c7e@mail.gmail.com> <919383240807181729n210402a5r5095f8b1554e9891@mail.gmail.com> <919383240807190857x6352a004x37943642399242fa@mail.gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: 7.0 CURRENT kernel's ath driver causes page fault, kernel panic (debugging kernel) 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: Sat, 19 Jul 2008 19:42:10 -0000 On Sat, Jul 19, 2008 at 8:57 AM, Edward Ruggeri wrote: > On Fri, Jul 18, 2008 at 7:29 PM, Edward Ruggeri wrote: >>> As for the actual debug process, there's a spot in the dev handbook >>> about it (http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html), >>> but when I tried debugging my issue with NTFS and SMB I didn't really >>> find it helpful to be honest... > > AND > >>> You may also have to compile without SMP and with the 4BSD scheduler >>> just to see whether or not it's an issue reproducible with the ULE >>> scheduler, the driver, or something else... > > I have a couple dumps now, with different kernel configurations. In > addition to the debugging options Garrett has recommended, I've > switched from the ULE to the 4BSD scheduler and removed SMP support. > The error persists. > > The backtrace in kgdb says that panic is called from the function > ath_start at line 1748 in ath_start.c. Here is a snippet: > > bf = STAILQ_FIRST(&frags); > KASSERT(bf != NULL, ("no buf for txfrag")); > > Does that sound like enough to file a problem report with? What other > information would be desired? You might want to first update the kernel and userland to 7-RELENG first. If the issue persists in 7-RELENG, I'd file a PR. Regardless of whether or not the issue persists I would contact the maintainer to let them know about the bug. Cheers, -Garrett