From owner-freebsd-stable@FreeBSD.ORG Mon Aug 31 17:50:47 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74A2E10656C5 for ; Mon, 31 Aug 2009 17:50:47 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pz0-f190.google.com (mail-pz0-f190.google.com [209.85.222.190]) by mx1.freebsd.org (Postfix) with ESMTP id 444D78FC16 for ; Mon, 31 Aug 2009 17:50:46 +0000 (UTC) Received: by pzk28 with SMTP id 28so3127458pzk.27 for ; Mon, 31 Aug 2009 10:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=ux8Ly9RzEBuDREJKhxG5ICDlnPfXBWNiOpj4mAx8Ltc=; b=sng4g2fM1m7wbpwVfGys1xbLx8cRWrqGL7lbOLJpx94UFngpUrs7aJfYh4s7xMQXVb FVXuYcp9x9pmxlumkcW6WQnd1U/SUoAu8nesALrSy0HrcHCs2CpuCz3j0vnz6fObPxqM SDIcD/msyWXd3+nmv9qHm/Q78U83LSwfybjSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=WLed09bl1CF88cD1ZUcM4v4sNe5/WwfeX3RowzAcDNKhhl0tDiAOA2fthv9WqP4QvW ORFMYx0ppJYWhpo0IuOXQHWOeg/ux+MU9V4rZLVG6ihCMIUhnnioa8ULCQHZH1+ts/FH +O4pJtTvKH16pLhS2MNEEhIdraLsK+hKQFAWM= Received: by 10.114.165.27 with SMTP id n27mr2926664wae.167.1251741046690; Mon, 31 Aug 2009 10:50:46 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 21sm146611pxi.3.2009.08.31.10.50.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 Aug 2009 10:50:45 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 31 Aug 2009 10:49:18 -0700 From: Pyun YongHyeon Date: Mon, 31 Aug 2009 10:49:18 -0700 To: Jeff Blank Message-ID: <20090831174918.GA1258@michelle.cdnetworks.com> References: <20090831172917.GA1512@mr-happy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090831172917.GA1512@mr-happy.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org Subject: Re: 8.0-BETA3 and txp(4) panic: vm_phys_alloc_contig X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 17:50:47 -0000 On Mon, Aug 31, 2009 at 01:29:17PM -0400, Jeff Blank wrote: > Hi, > > When booting 8.0-BETA3, whether built from source under 7.2-STABLE or > just using the CD (AMD64 disc1), I get a panic and a trip to the > debugger. No panic if I remove my 3Com ethernet card (txp). 'pciconf > -lv' output is below the boot log. > > Jeff > [...] > txp0: <3Com 3cR990-SRV-97 Etherlink Server with 3XP Processor> port 0x9c00-0x9c7f mem 0xfdcc0000-0xfdcfffff irq 16 at device 8.0 on pci4 > panic: vm_phys_alloc_contig: alignment must be a power of 2 > cpuid = 0 > KDB: enter: panic > [thread pid 0 tid 100000 ] > Stopped at kdb_enter+0x3d: movq $0,0x68c5b0(%rip) > db> bt > Tracing pid 0 tid 100000 td 0xffffffff80c1ae80 > kdb_enter() at kdb_enter+0x3d > panic() at panic+0x17b > vm_phys_alloc_contig() at vm_phys_alloc_contig+0x792 > kmem_alloc_contig() at kmem_alloc_contig+0x6e > contigmalloc() at contigmalloc+0x39 > bus_dmamem_alloc() at bus_dmamem_alloc+0x87 > txp_dma_alloc() at txp_dma_alloc+0xd9 > txp_attach() at txp_attach+0x6f5 Hmm, this is odd. I can't find where the alignment is not power of 2 in txp_dma_alloc(). Could you show me the line number of txp_attach+0x6f5? > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pci_attach() at acpi_pci_attach+0x147 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pcib_attach() at acpi_pcib_attach+0x1a7 > acpi_pcib_pci_attach() at acpi_pcib_pci_attach+0x95 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pci_attach() at acpi_pci_attach+0x147 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_pcib_attach() at acpi_pcib_attach+0x1a7 > acpi_pcib_acpi_attach() at acpi_pcib_acpi_attach+0x1fd > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > acpi_attach() at acpi_attach+0x9f3 > device_attach() at device_attach+0x69 > bus_generic_attach() at bus_generic_attach+0x1a > device_attach() at device_attach+0x69 > bus_generic_new_pass() at bus_generic_new_pass+0xd5 > bus_set_pass() at bus_set_pass+0x7a > configure() at configure+0xa > mi_startup() at mi_startup+0x59 > btext() at btext+0x2c > db> [...]