Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2006 13:19:28 +0300
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Pawel Worach <pawel.worach@gmail.com>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/dev/em if_em.c
Message-ID:  <20061101101928.GJ75694@FreeBSD.org>
In-Reply-To: <d227e09e0611010205vfcfeec2mabc6e4aa50650579@mail.gmail.com>
References:  <200610311721.k9VHLFpw058923@repoman.freebsd.org> <d227e09e0611010205vfcfeec2mabc6e4aa50650579@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 01, 2006 at 11:05:24AM +0100, Pawel Worach wrote:
P> On 10/31/06, John Baldwin <jhb@freebsd.org> 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: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061101101928.GJ75694>