Date: Mon, 31 Aug 2009 10:49:18 -0700 From: Pyun YongHyeon <pyunyh@gmail.com> To: Jeff Blank <jb000003@mr-happy.com> Cc: freebsd-stable@freebsd.org Subject: Re: 8.0-BETA3 and txp(4) panic: vm_phys_alloc_contig Message-ID: <20090831174918.GA1258@michelle.cdnetworks.com> In-Reply-To: <20090831172917.GA1512@mr-happy.com> References: <20090831172917.GA1512@mr-happy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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> [...]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090831174918.GA1258>