From owner-freebsd-current@FreeBSD.ORG Tue Jul 5 04:57:52 2011 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 152CB106564A; Tue, 5 Jul 2011 04:57:52 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id CC6D98FC0A; Tue, 5 Jul 2011 04:57:51 +0000 (UTC) Received: by pvg11 with SMTP id 11so6882532pvg.13 for ; Mon, 04 Jul 2011 21:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=FUOo9RBoxHrBhjD+eAXYODJtPuls4mjhBvSiJ4aczJc=; b=JIdgj7+kqi+z7/mblJfOSXSBZXoMm4tN5sWhFYIKv44jz1HPsZvpS7snPfk9X2vBS0 04Ju7lLhG8RANXBKQK8QcV5vENzAMW/751PVTTde5iNUdt7UlwD2kRKkqSNGGmfLcHgO I8unazVk/8SC8sluQXKD9Yj9o6R/PIE6HSkNY= MIME-Version: 1.0 Received: by 10.68.54.6 with SMTP id f6mr5366666pbp.139.1309841870971; Mon, 04 Jul 2011 21:57:50 -0700 (PDT) Received: by 10.68.64.200 with HTTP; Mon, 4 Jul 2011 21:57:50 -0700 (PDT) In-Reply-To: References: Date: Tue, 5 Jul 2011 00:57:50 -0400 Message-ID: From: Arnaud Lacombe To: freebsd-current@freebsd.org, ae@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org, Emil Muratov , Paolo Pisati Subject: Re: nfe taskq kernel panic 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: Tue, 05 Jul 2011 04:57:52 -0000 Hi, [Moving thread to -current, added ae@freebsd.org to the Cc: list as he changed that code recently.] On Wed, Jun 8, 2011 at 1:25 AM, Arnaud Lacombe wrote: > Hi, > > On Thu, May 5, 2011 at 2:49 PM, Arnaud Lacombe wrote= : >> Hi, >> >> On Thu, May 5, 2011 at 2:22 PM, Arnaud Lacombe wrot= e: >>> Hi, >>> >>> On Thu, May 5, 2011 at 1:37 PM, Emil Muratov wrote: >>>> >>>> >>>> Hi all. >>>> >>>> I have a small home router/nas running nvidia ion platform with onboar= d nfe >>>> LAN adapter. >>>> About a month ago I changed ISP and setup pppoe client with mpd5.5. Si= nce >>>> that time my router >>>> issues kernel panic once or twice a day with "Fatal trap 12: page faul= t >>>> while in kernel mode" and (nfe0 taskq) is the current process. >>>> Updating to the latest stable doesn't help. I don=92t know what to do = next, >>>> any help would be much appreciated. Below is kgdb backtrace, dmesg out= put, >>>> kernel config file, if anything is missing just let me know. >>>> >>> Your error looks like a nice use-after-free. Could you 'disassemble >>> 0xffffffff8037d7bb' in gdb, and find the matching faulty dereference ? >>> I'd tend not to trust code relying on "big hack", as per the preamble >>> of m_megapullup(): >>> >> There is a stale reference to the mbuf passed to, and freed in >> m_megapullup(); could you test the following patch ? >> >> diff --git a/sys/netinet/ipfw/ip_fw_nat.c b/sys/netinet/ipfw/ip_fw_nat.c >> index f8c3e63..80c13dc 100644 >> --- a/sys/netinet/ipfw/ip_fw_nat.c >> +++ b/sys/netinet/ipfw/ip_fw_nat.c >> @@ -263,7 +263,7 @@ ipfw_nat(struct ip_fw_args *args, struct cfg_nat >> *t, struct mbuf *m) >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0retval =3D LibAliasOut(t->lib, c, >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0mcl->m_len + M_TRAILINGSP= ACE(mcl)); >> =A0 =A0 =A0 =A0if (retval =3D=3D PKT_ALIAS_RESPOND) { >> - =A0 =A0 =A0 =A0 =A0 =A0 =A0 m->m_flags |=3D M_SKIP_FIREWALL; >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 mcl->m_flags |=3D M_SKIP_FIREWALL; >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0retval =3D PKT_ALIAS_OK; >> =A0 =A0 =A0 =A0} >> =A0 =A0 =A0 =A0if (retval !=3D PKT_ALIAS_OK && >> >> This was introduced in r188294 by piso@ (added to the CC: list). >> > piso@, could you please _fix_ that code ? > Can someone fix this obvious use-after-free, please ? the mbuf passed to m_megapullup() cannot be re-used as it might ends up being freed. This conditional is the sole conditional still using `m' after the call to m_megapullup(). diff --git a/sys/netinet/ipfw/ip_fw_nat.c b/sys/netinet/ipfw/ip_fw_nat.c index 1679a97..dbeb254 100644 --- a/sys/netinet/ipfw/ip_fw_nat.c +++ b/sys/netinet/ipfw/ip_fw_nat.c @@ -315,7 +315,7 @@ ipfw_nat(struct ip_fw_args *args, struct cfg_nat *t, struct mbuf *m) } if (retval =3D=3D PKT_ALIAS_RESPOND) - m->m_flags |=3D M_SKIP_FIREWALL; + mcl->m_flags |=3D M_SKIP_FIREWALL; mcl->m_pkthdr.len =3D mcl->m_len =3D ntohs(ip->ip_len); /* Thanks, - Arnaud > Thanks, > =A0- Arnaud > > >> =A0- Arnaud >> >> >>> /* >>> =A0* m_megapullup() - this function is a big hack. >>> =A0* Thankfully, it's only used in ng_nat and ipfw+nat. >>> =A0*... >>> >>> which look like a re-invention of m_copydata()... >>> >>> =A0- Arnaud >>> >>>> Thanx. >>>> >>>> >>>> >>>> =3D=3D=3D=3D=3D >>>> epia.home.lan dumped core - see /crash/vmcore.15 >>>> >>>> Thu May =A05 18:29:58 MSD 2011 >>>> >>>> FreeBSD epia.home.lan 8.2-STABLE FreeBSD 8.2-STABLE #1: Tue May =A03 2= 2:11:56 >>>> MSD 2011 =A0 =A0 root@epia.home.lan:/usr/obj/usr/src/sys/ION4debug =A0= amd64 >>>> >>>> panic: page fault >>>> >>>> GNU gdb 6.1.1 [FreeBSD] >>>> Copyright 2004 Free Software Foundation, Inc. >>>> GDB is free software, covered by the GNU General Public License, and y= ou are >>>> welcome to change it and/or distribute copies of it under certain >>>> conditions. >>>> Type "show copying" to see the conditions. >>>> There is absolutely no warranty for GDB. =A0Type "show warranty" for d= etails. >>>> This GDB was configured as "amd64-marcel-freebsd"... >>>> >>>> Unread portion of the kernel message buffer: >>>> >>>> Fatal trap 12: page fault while in kernel mode >>>> cpuid =3D 0; apic id =3D 00 >>>> fault virtual address =A0 =3D 0xffffff800ff02ac8 >>>> fault code =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor write data, page = not present >>>> instruction pointer =A0 =A0 =3D 0x20:0xffffffff8037d7bb >>>> stack pointer =A0 =A0 =A0 =A0 =A0 =3D 0x28:0xffffff80000fde20 >>>> frame pointer =A0 =A0 =A0 =A0 =A0 =3D 0x28:0xffffff80000fde60 >>>> code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xfffff, type = 0x1b >>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D DPL 0, pres 1, long= 1, def32 0, gran 1 >>>> processor eflags =A0 =A0 =A0 =A0=3D interrupt enabled, resume, IOPL = =3D 0 >>>> current process =A0 =A0 =A0 =A0 =3D 0 (nfe0 taskq) >>>> trap number =A0 =A0 =A0 =A0 =A0 =A0 =3D 12 >>>> panic: page fault >>>> cpuid =3D 0 >>>> KDB: stack backtrace: >>>> #0 0xffffffff802a97a3 at kdb_backtrace+0x5e >>>> #1 0xffffffff8027aa98 at panic+0x182 >>>> #2 0xffffffff804466d0 at trap_fatal+0x292 >>>> #3 0xffffffff80446a85 at trap_pfault+0x286 >>>> #4 0xffffffff80446f2f at trap+0x3cb >>>> #5 0xffffffff8042ff54 at calltrap+0x8 >>>> #6 0xffffffff8035ceb4 at ipfw_nat+0x20a >>>> #7 0xffffffff803547e3 at ipfw_chk+0xbaf >>>> #8 0xffffffff8035977c at ipfw_check_hook+0xf9 >>>> #9 0xffffffff8032a221 at pfil_run_hooks+0x9c >>>> #10 0xffffffff8035fe84 at ip_input+0x2d0 >>>> #11 0xffffffff8032947f at netisr_dispatch_src+0x71 >>>> #12 0xffffffff80c22cab at ng_iface_rcvdata+0xdc >>>> #13 0xffffffff80c18964 at ng_apply_item+0x20a >>>> #14 0xffffffff80c17afd at ng_snd_item+0x2a1 >>>> #15 0xffffffff80c18964 at ng_apply_item+0x20a >>>> #16 0xffffffff80c17afd at ng_snd_item+0x2a1 >>>> #17 0xffffffff80c25305 at ng_ppp_rcvdata+0x202 >>>> Uptime: 18h57m47s >>>> Physical memory: 2005 MB >>>> Dumping 1644 MB: 1629 1613 1597 1581 1565 1549 1533 1517 1501 1485 146= 9 1453 >>>> 1437 1421 1405 1389 1373 1357 1341 1325 1309 1293 1277 1261 1245 1229 = 1213 >>>> 1197 1181 1165 1149 1133 1117 1101 1085 1069 1053 1037 1021 1005 989 9= 73 957 >>>> 941 925 909 893 877 861 845 829 813 797 781 765 749 733 717 701 685 66= 9 653 >>>> 637 621 605 589 573 557 541 525 509 493 477 461 445 429 413 397 381 36= 5 349 >>>> 333 317 301 285 269 253 237 221 205 189 173 157 141 125 109 93 77 61 4= 5 29 >>>> 13 >>>> >>>> Reading symbols from /boot/kernel/zfs.ko...Reading symbols from >>>> /boot/kernel/zfs.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/zfs.ko >>>> Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols fro= m >>>> /boot/kernel/opensolaris.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/opensolaris.ko >>>> Reading symbols from /boot/kernel/krpc.ko...Reading symbols from >>>> /boot/kernel/krpc.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/krpc.ko >>>> Reading symbols from /boot/kernel/if_nfe.ko...Reading symbols from >>>> /boot/kernel/if_nfe.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/if_nfe.ko >>>> Reading symbols from /boot/kernel/aio.ko...Reading symbols from >>>> /boot/kernel/aio.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/aio.ko >>>> Reading symbols from /boot/kernel/alias_ftp.ko...Reading symbols from >>>> /boot/kernel/alias_ftp.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/alias_ftp.ko >>>> Reading symbols from /boot/kernel/if_stf.ko...Reading symbols from >>>> /boot/kernel/if_stf.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/if_stf.ko >>>> Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from >>>> /boot/kernel/ng_socket.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/ng_socket.ko >>>> Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from >>>> /boot/kernel/netgraph.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/netgraph.ko >>>> Reading symbols from /boot/kernel/ng_mppc.ko...Reading symbols from >>>> /boot/kernel/ng_mppc.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/ng_mppc.ko >>>> Reading symbols from /boot/kernel/rc4.ko...Reading symbols from >>>> /boot/kernel/rc4.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/rc4.ko >>>> Reading symbols from /boot/kernel/ng_iface.ko...Reading symbols from >>>> /boot/kernel/ng_iface.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/ng_iface.ko >>>> Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from >>>> /boot/kernel/ng_ppp.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/ng_ppp.ko >>>> Reading symbols from /boot/kernel/ng_tee.ko...Reading symbols from >>>> /boot/kernel/ng_tee.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/ng_tee.ko >>>> Reading symbols from /boot/kernel/ng_ether.ko...Reading symbols from >>>> /boot/kernel/ng_ether.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/ng_ether.ko >>>> Reading symbols from /boot/kernel/ng_pppoe.ko...Reading symbols from >>>> /boot/kernel/ng_pppoe.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/ng_pppoe.ko >>>> Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from >>>> /boot/kernel/accf_http.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/accf_http.ko >>>> Reading symbols from /boot/kernel/accf_data.ko...Reading symbols from >>>> /boot/kernel/accf_data.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/accf_data.ko >>>> Reading symbols from /boot/kernel/ng_tcpmss.ko...Reading symbols from >>>> /boot/kernel/ng_tcpmss.ko.symbols...done. >>>> done. >>>> Loaded symbols for /boot/kernel/ng_tcpmss.ko >>>> #0 =A0doadump () at pcpu.h:224 >>>> 224 =A0 =A0 pcpu.h: No such file or directory. >>>> =A0 =A0 =A0 =A0in pcpu.h >>>> (kgdb) #0 =A0doadump () at pcpu.h:224 >>>> #1 =A00xffffffff8027a615 in boot (howto=3D260) >>>> =A0 =A0at /usr/src/sys/kern/kern_shutdown.c:419 >>>> #2 =A00xffffffff8027aa82 in panic (fmt=3DVariable "fmt" is not availab= le.) >>>> =A0 =A0at /usr/src/sys/kern/kern_shutdown.c:592 >>>> #3 =A00xffffffff804466d0 in trap_fatal (frame=3D0xc, eva=3DVariable "e= va" is not >>>> available.) >>>> =A0 =A0at /usr/src/sys/amd64/amd64/trap.c:811 >>>> #4 =A00xffffffff80446a85 in trap_pfault (frame=3D0xffffff80000fe720, u= sermode=3D0) >>>> =A0 =A0at /usr/src/sys/amd64/amd64/trap.c:727 >>>> #5 =A00xffffffff80446f2f in trap (frame=3D0xffffff80000fe720) >>>> =A0 =A0at /usr/src/sys/amd64/amd64/trap.c:477 >>>> #6 =A00xffffffff8042ff54 in calltrap () >>>> =A0 =A0at /usr/src/sys/amd64/amd64/exception.S:228 >>>> #7 =A00xffffffff80c2c8ce in pppoe_findsession (privp=3DVariable "privp= " is not >>>> available.) >>>> =A0 =A0at /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_ppp= oe.c:566 >>>> #8 =A00xffffffff80c2cfe7 in ng_pppoe_rcvdata_ether (hook=3DVariable "h= ook" is >>>> not available.) >>>> =A0 =A0at /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_ppp= oe.c:1613 >>>> #9 =A00xffffffff80c18964 in ng_apply_item (node=3D0xffffff002105ec00, >>>> =A0 =A0item=3D0xffffff0054a36500, rw=3D0) >>>> =A0 =A0at >>>> /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:232= 7 >>>> #10 0xffffffff80c17afd in ng_snd_item (item=3D0xffffff0054a36500, flag= s=3D0) >>>> =A0 =A0at >>>> /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:224= 4 >>>> #11 0xffffffff80320b5a in ether_demux (ifp=3D0xffffff0006862800, >>>> =A0 =A0m=3D0xffffff0039907700) at /usr/src/sys/net/if_ethersubr.c:911 >>>> #12 0xffffffff80320f41 in ether_input (ifp=3D0xffffff0006862800, >>>> =A0 =A0m=3D0xffffff0039907700) at /usr/src/sys/net/if_ethersubr.c:753 >>>> #13 0xffffffff80320aa2 in ether_demux (ifp=3D0xffffff0001676800, >>>> =A0 =A0m=3D0xffffff0039907700) at /usr/src/sys/net/if_ethersubr.c:803 >>>> #14 0xffffffff80320f41 in ether_input (ifp=3D0xffffff0001676800, >>>> =A0 =A0m=3D0xffffff0039907700) at /usr/src/sys/net/if_ethersubr.c:753 >>>> #15 0xffffffff809eb76e in nfe_jrxeof (sc=3D0xffffff80003ae000, count= =3D185, >>>> =A0 =A0rx_npktsp=3D0x0) at /usr/src/sys/modules/nfe/../../dev/nfe/if_n= fe.c:2303 >>>> #16 0xffffffff809effea in nfe_int_task (arg=3DVariable "arg" is not >>>> available.) >>>> =A0 =A0at /usr/src/sys/modules/nfe/../../dev/nfe/if_nfe.c:1899 >>>> #17 0xffffffff802b3f7e in taskqueue_run_locked (queue=3D0xffffff000172= 2700) >>>> =A0 =A0at /usr/src/sys/kern/subr_taskqueue.c:248 >>>> #18 0xffffffff802b410c in taskqueue_thread_loop (arg=3DVariable "arg" = is not >>>> available.) >>>> =A0 =A0at /usr/src/sys/kern/subr_taskqueue.c:385 >>>> #19 0xffffffff80252d5d in fork_exit ( >>>> =A0 =A0callout=3D0xffffffff802b40c4 , >>>> =A0 =A0arg=3D0xffffff80003ae1b8, frame=3D0xffffff80000fec50) >>>> =A0 =A0at /usr/src/sys/kern/kern_fork.c:865 >>>> #20 0xffffffff8043049e in fork_trampoline () >>>> =A0 =A0at /usr/src/sys/amd64/amd64/exception.S:603 >>>> #21 0x0000000000000000 in ?? () >>>> #22 0x0000000000000000 in ?? () >>>> #23 0x0000000000000000 in ?? () >>>> #24 0x0000000000000000 in ?? () >>>> #25 0x0000000000000000 in ?? () >>>> #26 0x0000000000000000 in ?? () >>>> #27 0x0000000000000000 in ?? () >>>> #28 0x0000000000000000 in ?? () >>>> #29 0x0000000000000000 in ?? () >>>> #30 0x0000000000000000 in ?? () >>>> #31 0x0000000000000000 in ?? () >>>> #32 0x0000000000000000 in ?? () >>>> #33 0x0000000000000000 in ?? () >>>> #34 0x0000000000000000 in ?? () >>>> #35 0x0000000000000000 in ?? () >>>> #36 0x0000000000000000 in ?? () >>>> #37 0x0000000000000000 in ?? () >>>> #38 0x0000000000000000 in ?? () >>>> #39 0x0000000000000000 in ?? () >>>> #40 0x0000000000000000 in ?? () >>>> #41 0x0000000000000000 in ?? () >>>> #42 0x0000000000000000 in ?? () >>>> #43 0x0000000000000000 in ?? () >>>> #44 0x0000000000000000 in ?? () >>>> #45 0xffffffff80665140 in affinity () >>>> #46 0x0000000000000000 in ?? () >>>> #47 0x0000000000000000 in ?? () >>>> #48 0xffffff0001741460 in ?? () >>>> #49 0xffffff80000fe380 in ?? () >>>> #50 0xffffff80000fe328 in ?? () >>>> #51 0xffffff00015b8000 in ?? () >>>> #52 0xffffffff8029d819 in sched_switch (td=3D0xffffffff802b40c4, >>>> =A0 =A0newtd=3D0xffffff80003ae1b8, flags=3DVariable "flags" is not ava= ilable. >>>> ) at /usr/src/sys/kern/sched_ule.c:1859 >>>> Previous frame inner to this frame (corrupt stack?) >>>> (kgdb) >>>> >>>> >>>> DMESG >>>> --- >>>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 19= 94 >>>> =A0 =A0 =A0 =A0The Regents of the University of California. All rights= reserved. >>>> FreeBSD is a registered trademark of The FreeBSD Foundation. >>>> FreeBSD 8.2-STABLE #1: Tue May =A03 22:11:56 MSD 2011 >>>> =A0 =A0root@epia.home.lan:/usr/obj/usr/src/sys/ION4debug amd64 >>>> Timecounter "i8254" frequency 1193182 Hz quality 0 >>>> CPU: Intel(R) Atom(TM) CPU =A0330 =A0 @ 1.60GHz (1600.01-MHz K8-class = CPU) >>>> =A0Origin =3D "GenuineIntel" =A0Id =3D 0x106c2 =A0Family =3D 6 =A0Mode= l =3D 1c =A0Stepping =3D 2 >>>> =A0Features=3D0xbfe9fbff >>>> =A0Features2=3D0x40e31d >>>> =A0AMD Features=3D0x20000800 >>>> =A0AMD Features2=3D0x1 >>>> =A0TSC: P-state invariant >>>> real memory =A0=3D 2147483648 (2048 MB) >>>> avail memory =3D 2025250816 (1931 MB) >>>> ACPI APIC Table: <072310 APIC1353> >>>> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >>>> FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads >>>> =A0cpu0 (BSP): APIC ID: =A00 >>>> =A0cpu1 (AP/HT): APIC ID: =A01 >>>> =A0cpu2 (AP): APIC ID: =A02 >>>> =A0cpu3 (AP/HT): APIC ID: =A03 >>>> ioapic0: Changing APIC ID to 4 >>>> ioapic0 irqs 0-23 on motherboard >>>> kbd1 at kbdmux0 >>>> cryptosoft0: on motherboard >>>> acpi0: <072310 RSDT1353> on motherboard >>>> acpi0: [ITHREAD] >>>> acpi0: Power Button (fixed) >>>> acpi0: reservation of fefe1000, 1000 (3) failed >>>> acpi0: reservation of fee01000, ff000 (3) failed >>>> acpi0: reservation of fec00000, 1000 (3) failed >>>> acpi0: reservation of fee00000, 1000 (3) failed >>>> acpi0: reservation of 0, a0000 (3) failed >>>> acpi0: reservation of 100000, 7ff00000 (3) failed >>>> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 >>>> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 >>>> cpu0: on acpi0 >>>> cpu1: on acpi0 >>>> cpu2: on acpi0 >>>> cpu3: on acpi0 >>>> pcib0: port 0xcf8-0xcff on acpi0 >>>> pci0: on pcib0 >>>> pci0: at device 0.1 (no driver attached) >>>> isab0: port 0x4f00-0x4fff at device 3.0 on pci0 >>>> isa0: on isab0 >>>> pci0: at device 3.1 (no driver attached) >>>> pci0: at device 3.2 (no driver attached) >>>> pci0: at device 3.3 (no driver attached) >>>> pci0: at device 3.5 (no driver attached) >>>> ohci0: mem 0xfae7f000-0xfae7ffff = irq 16 >>>> at device 4.0 on pci0 >>>> ohci0: [ITHREAD] >>>> usbus0: on ohci0 >>>> ehci0: mem 0xfae7ec00-0xfae7e= cff >>>> irq 18 at device 4.1 on pci0 >>>> ehci0: [ITHREAD] >>>> usbus1: EHCI version 1.0 >>>> usbus1: on ehci0 >>>> pcib1: at device 9.0 on pci0 >>>> pci3: on pcib1 >>>> nfe0: port 0xd080-0xd087 mem >>>> 0xfae7d000-0xfae7dfff,0xfae7e800-0xfae7e8ff,0xfae7e400-0xfae7e40f irq = 22 at >>>> device 10.0 on pci0 >>>> miibus0: on nfe0 >>>> rgephy0: PHY 3 on miibus0 >>>> rgephy0: =A010baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100base= TX-FDX, >>>> 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, >>>> 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, a= uto, >>>> auto-flow >>>> nfe0: Ethernet address: 00:25:22:21:86:89 >>>> nfe0: [FILTER] >>>> ahci0: port >>>> 0xd000-0xd007,0xcc00-0xcc03,0xc880-0xc887,0xc800-0xc803,0xc480-0xc48f = mem >>>> 0xfae76000-0xfae77fff irq 23 at device 11.0 on pci0 >>>> ahci0: [ITHREAD] >>>> ahci0: AHCI v1.20 with 6 3Gbps ports, Port Multiplier supported >>>> ahcich0: at channel 0 on ahci0 >>>> ahcich0: [ITHREAD] >>>> ahcich1: at channel 1 on ahci0 >>>> ahcich1: [ITHREAD] >>>> ahcich2: at channel 2 on ahci0 >>>> ahcich2: [ITHREAD] >>>> ahcich3: at channel 3 on ahci0 >>>> ahcich3: [ITHREAD] >>>> ahcich4: at channel 4 on ahci0 >>>> ahcich4: [ITHREAD] >>>> ahcich5: at channel 5 on ahci0 >>>> ahcich5: [ITHREAD] >>>> pcib2: irq 20 at device 12.0 on pci0 >>>> pci2: on pcib2 >>>> pcib3: at device 16.0 on pci0 >>>> pci1: on pcib3 >>>> vgapci0: port 0xec00-0xec7f mem >>>> 0xfb000000-0xfbffffff,0xe0000000-0xefffffff,0xf6000000-0xf7ffffff irq = 21 at >>>> device 0.0 on pci1 >>>> acpi_button0: on acpi0 >>>> acpi_hpet0: iomem 0xfed00000-0xfed00fff i= rq 2,8 >>>> on acpi0 >>>> Timecounter "HPET" frequency 25000000 Hz quality 900 >>>> atrtc0: port 0x70-0x71 on acpi0 >>>> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi= 0 >>>> uart0: [FILTER] >>>> sc0: at flags 0x100 on isa0 >>>> sc0: VGA <16 virtual consoles, flags=3D0x300> >>>> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on i= sa0 >>>> atkbdc0: at port 0x60,0x64 on isa0 >>>> atkbd0: irq 1 on atkbdc0 >>>> kbd0 at atkbd0 >>>> atkbd0: [GIANT-LOCKED] >>>> atkbd0: [ITHREAD] >>>> p4tcc0: on cpu0 >>>> p4tcc1: on cpu1 >>>> p4tcc2: on cpu2 >>>> p4tcc3: on cpu3 >>>> ZFS filesystem version 5 >>>> ZFS storage pool version 28 >>>> Timecounters tick every 1.000 msec >>>> ipfw2 (+ipv6) initialized, divert enabled, nat enabled, rule-based >>>> forwarding enabled, default to deny, logging disabled >>>> load_dn_sched dn_sched FIFO loaded >>>> load_dn_sched dn_sched PRIO loaded >>>> load_dn_sched dn_sched QFQ loaded >>>> load_dn_sched dn_sched RR loaded >>>> load_dn_sched dn_sched WF2Q+ loaded >>>> usbus0: 12Mbps Full Speed USB v1.0 >>>> usbus1: 480Mbps High Speed USB v2.0 >>>> ugen0.1: at usbus0 >>>> uhub0: on usb= us0 >>>> ugen1.1: at usbus1 >>>> uhub1: on usb= us1 >>>> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 >>>> ada0: ATA-7 SATA 2.x device >>>> ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) >>>> ada0: Command Queueing enabled >>>> ada0: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C) >>>> ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 >>>> ada1: ATA-8 SATA 2.x device >>>> ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) >>>> ada1: Command Queueing enabled >>>> ada1: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C) >>>> ada2 at ahcich2 bus 0 scbus2 target 0 lun 0 >>>> ada2: ATA-8 SATA 2.x device >>>> ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) >>>> ada2: Command Queueing enabled >>>> ada2: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C) >>>> ada3 at ahcich3 bus 0 scbus3 target 0 lun 0 >>>> ada3: ATA-7 SATA 2.x device >>>> ada3: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) >>>> ada3: Command Queueing enabled >>>> ada3: 1430799MB (2930277168 512 byte sectors: 16H 63S/T 16383C) >>>> SMP: AP CPU #3 Launched! >>>> SMP: AP CPU #1 Launched! >>>> SMP: AP CPU #2 Launched! >>>> uhub0: 10 ports with 10 removable, self powered >>>> Root mount waiting for: usbus1 >>>> Root mount waiting for: usbus1 >>>> Root mount waiting for: usbus1 >>>> Root mount waiting for: usbus1 >>>> uhub1: 10 ports with 10 removable, self powered >>>> Trying to mount root from zfs:rz >>>> >>>> >>>> KERNCONF >>>> -------- >>>>> >>>>> grep -v -e "^#" /root/conf/ION4debug >>>> >>>> cpu =A0 =A0 =A0 =A0 =A0 =A0 HAMMER >>>> ident =A0 =A0 =A0 =A0 =A0 ION4debug >>>> >>>> makeoptions =A0 =A0 DEBUG=3D-g =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Build = kernel with gdb(1) debug >>>> symbols >>>> >>>> options =A0 =A0 =A0 =A0 SCHED_ULE =A0 =A0 =A0 =A0 =A0 =A0 =A0 # ULE sc= heduler >>>> options =A0 =A0 =A0 =A0 PREEMPTION =A0 =A0 =A0 =A0 =A0 =A0 =A0# Enable= kernel thread preemption >>>> options =A0 =A0 =A0 =A0 INET =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# = InterNETworking >>>> options =A0 =A0 =A0 =A0 INET6 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # IP= v6 communications protocols >>>> options =A0 =A0 =A0 =A0 FFS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # = Berkeley Fast Filesystem >>>> options =A0 =A0 =A0 =A0 SOFTUPDATES =A0 =A0 =A0 =A0 =A0 =A0 # Enable F= FS soft updates support >>>> options =A0 =A0 =A0 =A0 UFS_ACL =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Supp= ort for access control lists >>>> options =A0 =A0 =A0 =A0 UFS_DIRHASH =A0 =A0 =A0 =A0 =A0 =A0 # Improve = performance on big >>>> directories >>>> options =A0 =A0 =A0 =A0 UFS_GJOURNAL =A0 =A0 =A0 =A0 =A0 =A0# Enable g= journal-based UFS >>>> journaling >>>> options =A0 =A0 =A0 =A0 PROCFS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Pr= ocess filesystem (requires >>>> PSEUDOFS) >>>> options =A0 =A0 =A0 =A0 PSEUDOFS =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# Pseu= do-filesystem framework >>>> options =A0 =A0 =A0 =A0 GEOM_PART_GPT =A0 =A0 =A0 =A0 =A0 # GUID Parti= tion Tables. >>>> options =A0 =A0 =A0 =A0 GEOM_LABEL =A0 =A0 =A0 =A0 =A0 =A0 =A0# Provid= es labelization >>>> options =A0 =A0 =A0 =A0 COMPAT_43TTY =A0 =A0 =A0 =A0 =A0 =A0# BSD 4.3 = TTY compat (sgtty) >>>> options =A0 =A0 =A0 =A0 SCSI_DELAY=3D5000 =A0 =A0 =A0 =A0 # Delay (in = ms) before probing SCSI >>>> options =A0 =A0 =A0 =A0 KTRACE =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0# kt= race(1) support >>>> options =A0 =A0 =A0 =A0 STACK =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # st= ack(9) support >>>> options =A0 =A0 =A0 =A0 SYSVSHM =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # SYSV= -style shared memory >>>> options =A0 =A0 =A0 =A0 SYSVMSG =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # SYSV= -style message queues >>>> options =A0 =A0 =A0 =A0 SYSVSEM =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # SYSV= -style semaphores >>>> options =A0 =A0 =A0 =A0 P1003_1B_SEMAPHORES =A0 =A0 # POSIX-style sema= phores >>>> options =A0 =A0 =A0 =A0 _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B r= eal-time >>>> extensions >>>> options =A0 =A0 =A0 =A0 PRINTF_BUFR_SIZE=3D128 =A0 =A0# Prevent printf= output being >>>> interspersed. >>>> options =A0 =A0 =A0 =A0 KBD_INSTALL_CDEV =A0 =A0 =A0 =A0# install a CD= EV entry in /dev >>>> options =A0 =A0 =A0 =A0 HWPMC_HOOKS =A0 =A0 =A0 =A0 =A0 =A0 # Necessar= y kernel hooks for >>>> hwpmc(4) >>>> options =A0 =A0 =A0 =A0 AUDIT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Se= curity event auditing >>>> options =A0 =A0 =A0 =A0 MAC =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # = TrustedBSD MAC Framework >>>> options =A0 =A0 =A0 =A0 FLOWTABLE =A0 =A0 =A0 =A0 =A0 =A0 =A0 # per-cp= u routing cache >>>> options =A0 =A0 =A0 =A0 INCLUDE_CONFIG_FILE =A0 =A0 # Include this fil= e in kernel >>>> >>>> options =A0 =A0 =A0 =A0 KDB =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # = Kernel debugger related code >>>> options =A0 =A0 =A0 =A0 KDB_TRACE =A0 =A0 =A0 =A0 =A0 =A0 =A0 # Print = a stack trace for a panic >>>> >>>> options =A0 =A0 =A0 =A0 SMP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 # = Symmetric MultiProcessor Kernel >>>> >>>> device =A0 =A0 =A0 =A0 =A0cpufreq >>>> >>>> options =A0 =A0 =A0 =A0 DEVICE_POLLING >>>> options =A0 =A0 =A0 =A0 IPFIREWALL >>>> options =A0 =A0 =A0 =A0 IPDIVERT >>>> options =A0 =A0 =A0 =A0 IPFIREWALL_FORWARD >>>> options =A0 =A0 =A0 =A0 IPFIREWALL_NAT >>>> options =A0 =A0 =A0 =A0 IPSTEALTH >>>> options =A0 =A0 =A0 =A0 DUMMYNET >>>> >>>> options =A0 =A0 =A0 =A0 LIBALIAS >>>> >>>> device =A0 =A0 =A0 =A0 =A0crypto >>>> >>>> device =A0 =A0 =A0 =A0 =A0acpi >>>> device =A0 =A0 =A0 =A0 =A0pci >>>> >>>> device =A0 =A0 =A0 =A0 =A0ahci >>>> >>>> device =A0 =A0 =A0 =A0 =A0scbus =A0 =A0 =A0 =A0 =A0 # SCSI bus (requir= ed for SCSI) >>>> device =A0 =A0 =A0 =A0 =A0da =A0 =A0 =A0 =A0 =A0 =A0 =A0# Direct Acces= s (disks) >>>> device =A0 =A0 =A0 =A0 =A0pass =A0 =A0 =A0 =A0 =A0 =A0# Passthrough de= vice (direct SCSI access) >>>> >>>> device =A0 =A0 =A0 =A0 =A0atkbdc =A0 =A0 =A0 =A0 =A0# AT keyboard cont= roller >>>> device =A0 =A0 =A0 =A0 =A0atkbd =A0 =A0 =A0 =A0 =A0 # AT keyboard >>>> device =A0 =A0 =A0 =A0 =A0psm =A0 =A0 =A0 =A0 =A0 =A0 # PS/2 mouse >>>> >>>> device =A0 =A0 =A0 =A0 =A0kbdmux =A0 =A0 =A0 =A0 =A0# keyboard multipl= exer >>>> >>>> device =A0 =A0 =A0 =A0 =A0vga =A0 =A0 =A0 =A0 =A0 =A0 # VGA video card= driver >>>> >>>> device =A0 =A0 =A0 =A0 =A0sc >>>> >>>> device =A0 =A0 =A0 =A0 =A0uart =A0 =A0 =A0 =A0 =A0 =A0# Generic UART d= river >>>> >>>> device =A0 =A0 =A0 =A0 =A0miibus =A0 =A0 =A0 =A0 =A0# MII bus support >>>> >>>> device =A0 =A0 =A0 =A0 =A0loop =A0 =A0 =A0 =A0 =A0 =A0# Network loopba= ck >>>> device =A0 =A0 =A0 =A0 =A0random =A0 =A0 =A0 =A0 =A0# Entropy device >>>> device =A0 =A0 =A0 =A0 =A0ether =A0 =A0 =A0 =A0 =A0 # Ethernet support >>>> device =A0 =A0 =A0 =A0 =A0vlan =A0 =A0 =A0 =A0 =A0 =A0# 802.1Q VLAN su= pport >>>> device =A0 =A0 =A0 =A0 =A0tun =A0 =A0 =A0 =A0 =A0 =A0 # Packet tunnel. >>>> device =A0 =A0 =A0 =A0 =A0pty =A0 =A0 =A0 =A0 =A0 =A0 # BSD-style comp= atibility pseudo ttys >>>> device =A0 =A0 =A0 =A0 =A0md =A0 =A0 =A0 =A0 =A0 =A0 =A0# Memory "disk= s" >>>> device =A0 =A0 =A0 =A0 =A0gif =A0 =A0 =A0 =A0 =A0 =A0 # IPv6 and IPv4 = tunneling >>>> device =A0 =A0 =A0 =A0 =A0faith =A0 =A0 =A0 =A0 =A0 # IPv6-to-IPv4 rel= aying (translation) >>>> device =A0 =A0 =A0 =A0 =A0firmware =A0 =A0 =A0 =A0# firmware assist mo= dule >>>> >>>> device =A0 =A0 =A0 =A0 =A0bpf =A0 =A0 =A0 =A0 =A0 =A0 # Berkeley packe= t filter >>>> >>>> device =A0 =A0 =A0 =A0 =A0uhci =A0 =A0 =A0 =A0 =A0 =A0# UHCI PCI->USB = interface >>>> device =A0 =A0 =A0 =A0 =A0ohci =A0 =A0 =A0 =A0 =A0 =A0# OHCI PCI->USB = interface >>>> device =A0 =A0 =A0 =A0 =A0ehci =A0 =A0 =A0 =A0 =A0 =A0# EHCI PCI->USB = interface (USB 2.0) >>>> device =A0 =A0 =A0 =A0 =A0usb =A0 =A0 =A0 =A0 =A0 =A0 # USB Bus (requi= red) >>>> device =A0 =A0 =A0 =A0 =A0uhid =A0 =A0 =A0 =A0 =A0 =A0# "Human Interfa= ce Devices" >>>> device =A0 =A0 =A0 =A0 =A0ukbd =A0 =A0 =A0 =A0 =A0 =A0# Keyboard >>>> device =A0 =A0 =A0 =A0 =A0umass =A0 =A0 =A0 =A0 =A0 # Disks/Mass stora= ge - Requires scbus and da >>>> device =A0 =A0 =A0 =A0 =A0ums =A0 =A0 =A0 =A0 =A0 =A0 # Mouse >>>> _______________________________________________ >>>> freebsd-net@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-net >>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>>> >>> >> >