From owner-cvs-all@FreeBSD.ORG Wed Nov 1 10:19:40 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A0BF16A40F; Wed, 1 Nov 2006 10:19:40 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9010443D60; Wed, 1 Nov 2006 10:19:32 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id kA1AJTs0067983 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Nov 2006 13:19:30 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id kA1AJTLK067982; Wed, 1 Nov 2006 13:19:29 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 1 Nov 2006 13:19:28 +0300 From: Gleb Smirnoff To: Pawel Worach Message-ID: <20061101101928.GJ75694@FreeBSD.org> References: <200610311721.k9VHLFpw058923@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, John Baldwin Subject: Re: cvs commit: src/sys/dev/em if_em.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2006 10:19:40 -0000 On Wed, Nov 01, 2006 at 11:05:24AM +0100, Pawel Worach wrote: P> On 10/31/06, John Baldwin wrote: P> >jhb 2006-10-31 17:21:15 UTC P> > P> > FreeBSD src repository P> > P> > Modified files: P> > sys/dev/em if_em.c P> > Log: P> > Allocate receive and transmit data structures during attach() and free P> > them P> P> Could this be related? Yes, it is. John's patch was tested on RELENG_6 only, where TSO support isn't yet present. I'll try to fix this. P> em0: port P> 0x2540-0x257f mem 0xf9fe0000-0xf9ffffff irq 29 at device 8.0 on pci6 P> P> P> Fatal trap 12: page fault while in kernel mode P> cpuid = 0; apic id = 00 P> fault virtual address = 0xac P> fault code = supervisor read, page not present P> instruction pointer = 0x20:0xc049c08e P> stack pointer = 0x28:0xc0c20a24 P> frame pointer = 0x28:0xc0c20a6c P> code segment = base 0x0, limit 0xfffff, type 0x1b P> = DPL 0, pres 1, def32 1, gran 1 P> processor eflags = interrupt enabled, resume, IOPL = 0 P> current process = 0 (swapper) P> P> db> bt P> Tracing pid 0 tid 0 td 0xc0768a90 P> em_allocate_transmit_structures(c34b3800,1000,c34b3a90,1,64,...) at P> em_allocate_transmit_structures+0x2e P> em_attach(c34e3680,c348d84c,c072be58,c34e3680,c34e3680,...) at P> em_attach+0x568 P> device_attach(c34e3680,c34e3680,c345a820,1,c34e3680,...) at P> device_attach+0x6a P> device_probe_and_attach(c34e3680,c34dba00,c0c20b2c,c084740d,c34e3600,...) P> at device_probe_and_attach+0xf1 P> bus_generic_attach(c34e3600,c345a820,1,c0847060,c34e3600,...) at P> bus_generic_attach+0x28 P> acpi_pci_attach(c34e3600,c34e3600,c3463d00,c34e3600,c34e3600,...) at P> acpi_pci_attach+0x11d P> device_attach(c34e3600,c34e3600,c34dba00,c0847490,c34e3600,...) at P> device_attach+0x6a P> device_probe_and_attach(c34e3600,c34c3600,c0c20bb0,c084766c,c34dba00,...) P> at device_probe_and_attach+0xf1 P> bus_generic_attach(c34dba00,c085f1bd,6,c0c20ba0,6,...) at P> bus_generic_attach+0x28 P> acpi_pcib_attach(c34dba00,c3509834,6,c0c20bd8,c0c20be8,...) at P> acpi_pcib_attach+0xec P> acpi_pcib_acpi_attach(c34dba00,c34dba00,c34644c0,c34dba00,c34dba00,...) P> at acpi_pcib_acpi_attach+0xf9 P> device_attach(c34dba00,c34dba00,c072bc68,c34db180,c34dba00,...) at P> device_attach+0x6a P> device_probe_and_attach(c34dba00,ffffffff,c0c20cac,c0844bf4,c34c3600,...) P> at device_probe_and_attach+0xf1 P> bus_generic_attach(c34c3600,fec00000,ffffffff,c34d3de8,fec00000,...) P> at bus_generic_attach+0x28 P> acpi_attach(c34c3600,c348504c,c072be58,c34c3600,c34c3600,...) at P> acpi_attach+0xa54 P> device_attach(c34c3600,c34c3600,c0862698,c0c20d00,c34c3600,...) at P> device_attach+0x6a P> device_probe_and_attach(c34c3600,c3467400,c0c20d10,c06cccfa,c3467400,...) P> at device_probe_and_attach+0xf1 P> bus_generic_attach(c3467400,c3467400,c0c20d30,c056623a,c3467400,...) P> at bus_generic_attach+0x28 P> nexus_attach(c3467400,c347d04c,c072be58,c3467400,c3467400,...) at P> nexus_attach+0x1a P> device_attach(c3467400,c3467400,c33f46c0,0,c3467400,...) at P> device_attach+0x6a P> device_probe_and_attach(c3467400,c33fa784,c0c20d70,c06b656c,c28000,...) P> at device_probe_and_attach+0xf1 P> root_bus_configure(c28000,c0c20d88,c0508b05,0,c1e000,...) at P> root_bus_configure+0x28 P> configure(0,c1e000,c1ec00,c1e000,0,...) at configure+0xc P> mi_startup() at mi_startup+0xb5 P> begin() at begin+0x2c P> db> P> P> -- P> Pawel -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE