nfe taskq kernel panic
Arnaud Lacombe
lacombar at gmail.com
Tue Jul 5 04:57:52 UTC 2011
Hi,
[Moving thread to -current, added ae at freebsd.org to the Cc: list as he
changed that code recently.]
On Wed, Jun 8, 2011 at 1:25 AM, Arnaud Lacombe <lacombar at gmail.com> wrote:
> Hi,
>
> On Thu, May 5, 2011 at 2:49 PM, Arnaud Lacombe <lacombar at gmail.com> wrote:
>> Hi,
>>
>> On Thu, May 5, 2011 at 2:22 PM, Arnaud Lacombe <lacombar at gmail.com> wrote:
>>> Hi,
>>>
>>> On Thu, May 5, 2011 at 1:37 PM, Emil Muratov <gpm at hotplug.ru> wrote:
>>>>
>>>>
>>>> Hi all.
>>>>
>>>> I have a small home router/nas running nvidia ion platform with onboard nfe
>>>> LAN adapter.
>>>> About a month ago I changed ISP and setup pppoe client with mpd5.5. Since
>>>> that time my router
>>>> issues kernel panic once or twice a day with "Fatal trap 12: page fault
>>>> while in kernel mode" and (nfe0 taskq) is the current process.
>>>> Updating to the latest stable doesn't help. I don’t know what to do next,
>>>> any help would be much appreciated. Below is kgdb backtrace, dmesg output,
>>>> 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)
>> retval = LibAliasOut(t->lib, c,
>> mcl->m_len + M_TRAILINGSPACE(mcl));
>> if (retval == PKT_ALIAS_RESPOND) {
>> - m->m_flags |= M_SKIP_FIREWALL;
>> + mcl->m_flags |= M_SKIP_FIREWALL;
>> retval = PKT_ALIAS_OK;
>> }
>> if (retval != 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 == PKT_ALIAS_RESPOND)
- m->m_flags |= M_SKIP_FIREWALL;
+ mcl->m_flags |= M_SKIP_FIREWALL;
mcl->m_pkthdr.len = mcl->m_len = ntohs(ip->ip_len);
/*
Thanks,
- Arnaud
> Thanks,
> - Arnaud
>
>
>> - Arnaud
>>
>>
>>> /*
>>> * m_megapullup() - this function is a big hack.
>>> * Thankfully, it's only used in ng_nat and ipfw+nat.
>>> *...
>>>
>>> which look like a re-invention of m_copydata()...
>>>
>>> - Arnaud
>>>
>>>> Thanx.
>>>>
>>>>
>>>>
>>>> =====
>>>> epia.home.lan dumped core - see /crash/vmcore.15
>>>>
>>>> Thu May 5 18:29:58 MSD 2011
>>>>
>>>> FreeBSD epia.home.lan 8.2-STABLE FreeBSD 8.2-STABLE #1: Tue May 3 22:11:56
>>>> MSD 2011 root at epia.home.lan:/usr/obj/usr/src/sys/ION4debug 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 you 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. Type "show warranty" for details.
>>>> 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 = 0; apic id = 00
>>>> fault virtual address = 0xffffff800ff02ac8
>>>> fault code = supervisor write data, page not present
>>>> instruction pointer = 0x20:0xffffffff8037d7bb
>>>> stack pointer = 0x28:0xffffff80000fde20
>>>> frame pointer = 0x28:0xffffff80000fde60
>>>> code segment = base 0x0, limit 0xfffff, type 0x1b
>>>> = DPL 0, pres 1, long 1, def32 0, gran 1
>>>> processor eflags = interrupt enabled, resume, IOPL = 0
>>>> current process = 0 (nfe0 taskq)
>>>> trap number = 12
>>>> panic: page fault
>>>> cpuid = 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 1469 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 973 957
>>>> 941 925 909 893 877 861 845 829 813 797 781 765 749 733 717 701 685 669 653
>>>> 637 621 605 589 573 557 541 525 509 493 477 461 445 429 413 397 381 365 349
>>>> 333 317 301 285 269 253 237 221 205 189 173 157 141 125 109 93 77 61 45 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 from
>>>> /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 doadump () at pcpu.h:224
>>>> 224 pcpu.h: No such file or directory.
>>>> in pcpu.h
>>>> (kgdb) #0 doadump () at pcpu.h:224
>>>> #1 0xffffffff8027a615 in boot (howto=260)
>>>> at /usr/src/sys/kern/kern_shutdown.c:419
>>>> #2 0xffffffff8027aa82 in panic (fmt=Variable "fmt" is not available.)
>>>> at /usr/src/sys/kern/kern_shutdown.c:592
>>>> #3 0xffffffff804466d0 in trap_fatal (frame=0xc, eva=Variable "eva" is not
>>>> available.)
>>>> at /usr/src/sys/amd64/amd64/trap.c:811
>>>> #4 0xffffffff80446a85 in trap_pfault (frame=0xffffff80000fe720, usermode=0)
>>>> at /usr/src/sys/amd64/amd64/trap.c:727
>>>> #5 0xffffffff80446f2f in trap (frame=0xffffff80000fe720)
>>>> at /usr/src/sys/amd64/amd64/trap.c:477
>>>> #6 0xffffffff8042ff54 in calltrap ()
>>>> at /usr/src/sys/amd64/amd64/exception.S:228
>>>> #7 0xffffffff80c2c8ce in pppoe_findsession (privp=Variable "privp" is not
>>>> available.)
>>>> at /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c:566
>>>> #8 0xffffffff80c2cfe7 in ng_pppoe_rcvdata_ether (hook=Variable "hook" is
>>>> not available.)
>>>> at /usr/src/sys/modules/netgraph/pppoe/../../../netgraph/ng_pppoe.c:1613
>>>> #9 0xffffffff80c18964 in ng_apply_item (node=0xffffff002105ec00,
>>>> item=0xffffff0054a36500, rw=0)
>>>> at
>>>> /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2327
>>>> #10 0xffffffff80c17afd in ng_snd_item (item=0xffffff0054a36500, flags=0)
>>>> at
>>>> /usr/src/sys/modules/netgraph/netgraph/../../../netgraph/ng_base.c:2244
>>>> #11 0xffffffff80320b5a in ether_demux (ifp=0xffffff0006862800,
>>>> m=0xffffff0039907700) at /usr/src/sys/net/if_ethersubr.c:911
>>>> #12 0xffffffff80320f41 in ether_input (ifp=0xffffff0006862800,
>>>> m=0xffffff0039907700) at /usr/src/sys/net/if_ethersubr.c:753
>>>> #13 0xffffffff80320aa2 in ether_demux (ifp=0xffffff0001676800,
>>>> m=0xffffff0039907700) at /usr/src/sys/net/if_ethersubr.c:803
>>>> #14 0xffffffff80320f41 in ether_input (ifp=0xffffff0001676800,
>>>> m=0xffffff0039907700) at /usr/src/sys/net/if_ethersubr.c:753
>>>> #15 0xffffffff809eb76e in nfe_jrxeof (sc=0xffffff80003ae000, count=185,
>>>> rx_npktsp=0x0) at /usr/src/sys/modules/nfe/../../dev/nfe/if_nfe.c:2303
>>>> #16 0xffffffff809effea in nfe_int_task (arg=Variable "arg" is not
>>>> available.)
>>>> at /usr/src/sys/modules/nfe/../../dev/nfe/if_nfe.c:1899
>>>> #17 0xffffffff802b3f7e in taskqueue_run_locked (queue=0xffffff0001722700)
>>>> at /usr/src/sys/kern/subr_taskqueue.c:248
>>>> #18 0xffffffff802b410c in taskqueue_thread_loop (arg=Variable "arg" is not
>>>> available.)
>>>> at /usr/src/sys/kern/subr_taskqueue.c:385
>>>> #19 0xffffffff80252d5d in fork_exit (
>>>> callout=0xffffffff802b40c4 <taskqueue_thread_loop>,
>>>> arg=0xffffff80003ae1b8, frame=0xffffff80000fec50)
>>>> at /usr/src/sys/kern/kern_fork.c:865
>>>> #20 0xffffffff8043049e in fork_trampoline ()
>>>> at /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=0xffffffff802b40c4,
>>>> newtd=0xffffff80003ae1b8, flags=Variable "flags" is not available.
>>>> ) 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, 1994
>>>> The 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 3 22:11:56 MSD 2011
>>>> root at epia.home.lan:/usr/obj/usr/src/sys/ION4debug amd64
>>>> Timecounter "i8254" frequency 1193182 Hz quality 0
>>>> CPU: Intel(R) Atom(TM) CPU 330 @ 1.60GHz (1600.01-MHz K8-class CPU)
>>>> Origin = "GenuineIntel" Id = 0x106c2 Family = 6 Model = 1c Stepping = 2
>>>> Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>>>> Features2=0x40e31d<SSE3,DTES64,MON,DS_CPL,TM2,SSSE3,CX16,xTPR,PDCM,MOVBE>
>>>> AMD Features=0x20000800<SYSCALL,LM>
>>>> AMD Features2=0x1<LAHF>
>>>> TSC: P-state invariant
>>>> real memory = 2147483648 (2048 MB)
>>>> avail memory = 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
>>>> cpu0 (BSP): APIC ID: 0
>>>> cpu1 (AP/HT): APIC ID: 1
>>>> cpu2 (AP): APIC ID: 2
>>>> cpu3 (AP/HT): APIC ID: 3
>>>> ioapic0: Changing APIC ID to 4
>>>> ioapic0 <Version 1.1> irqs 0-23 on motherboard
>>>> kbd1 at kbdmux0
>>>> cryptosoft0: <software crypto> 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: <ACPI CPU> on acpi0
>>>> cpu1: <ACPI CPU> on acpi0
>>>> cpu2: <ACPI CPU> on acpi0
>>>> cpu3: <ACPI CPU> on acpi0
>>>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>>>> pci0: <ACPI PCI bus> on pcib0
>>>> pci0: <memory, RAM> at device 0.1 (no driver attached)
>>>> isab0: <PCI-ISA bridge> port 0x4f00-0x4fff at device 3.0 on pci0
>>>> isa0: <ISA bus> on isab0
>>>> pci0: <memory, RAM> at device 3.1 (no driver attached)
>>>> pci0: <serial bus, SMBus> at device 3.2 (no driver attached)
>>>> pci0: <memory, RAM> at device 3.3 (no driver attached)
>>>> pci0: <processor> at device 3.5 (no driver attached)
>>>> ohci0: <nVidia nForce MCP79 USB Controller> mem 0xfae7f000-0xfae7ffff irq 16
>>>> at device 4.0 on pci0
>>>> ohci0: [ITHREAD]
>>>> usbus0: <nVidia nForce MCP79 USB Controller> on ohci0
>>>> ehci0: <NVIDIA nForce MCP79 USB 2.0 controller> mem 0xfae7ec00-0xfae7ecff
>>>> irq 18 at device 4.1 on pci0
>>>> ehci0: [ITHREAD]
>>>> usbus1: EHCI version 1.0
>>>> usbus1: <NVIDIA nForce MCP79 USB 2.0 controller> on ehci0
>>>> pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
>>>> pci3: <ACPI PCI bus> on pcib1
>>>> nfe0: <NVIDIA nForce MCP79 Networking Adapter> port 0xd080-0xd087 mem
>>>> 0xfae7d000-0xfae7dfff,0xfae7e800-0xfae7e8ff,0xfae7e400-0xfae7e40f irq 22 at
>>>> device 10.0 on pci0
>>>> miibus0: <MII bus> on nfe0
>>>> rgephy0: <RTL8169S/8110S/8211B media interface> PHY 3 on miibus0
>>>> rgephy0: 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX,
>>>> 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX,
>>>> 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto,
>>>> auto-flow
>>>> nfe0: Ethernet address: 00:25:22:21:86:89
>>>> nfe0: [FILTER]
>>>> ahci0: <NVIDIA MCP79 AHCI SATA controller> 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: <AHCI channel> at channel 0 on ahci0
>>>> ahcich0: [ITHREAD]
>>>> ahcich1: <AHCI channel> at channel 1 on ahci0
>>>> ahcich1: [ITHREAD]
>>>> ahcich2: <AHCI channel> at channel 2 on ahci0
>>>> ahcich2: [ITHREAD]
>>>> ahcich3: <AHCI channel> at channel 3 on ahci0
>>>> ahcich3: [ITHREAD]
>>>> ahcich4: <AHCI channel> at channel 4 on ahci0
>>>> ahcich4: [ITHREAD]
>>>> ahcich5: <AHCI channel> at channel 5 on ahci0
>>>> ahcich5: [ITHREAD]
>>>> pcib2: <ACPI PCI-PCI bridge> irq 20 at device 12.0 on pci0
>>>> pci2: <ACPI PCI bus> on pcib2
>>>> pcib3: <ACPI PCI-PCI bridge> at device 16.0 on pci0
>>>> pci1: <ACPI PCI bus> on pcib3
>>>> vgapci0: <VGA-compatible display> port 0xec00-0xec7f mem
>>>> 0xfb000000-0xfbffffff,0xe0000000-0xefffffff,0xf6000000-0xf7ffffff irq 21 at
>>>> device 0.0 on pci1
>>>> acpi_button0: <Power Button> on acpi0
>>>> acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed00fff irq 2,8
>>>> on acpi0
>>>> Timecounter "HPET" frequency 25000000 Hz quality 900
>>>> atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
>>>> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
>>>> uart0: [FILTER]
>>>> sc0: <System console> at flags 0x100 on isa0
>>>> sc0: VGA <16 virtual consoles, flags=0x300>
>>>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
>>>> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
>>>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>>>> kbd0 at atkbd0
>>>> atkbd0: [GIANT-LOCKED]
>>>> atkbd0: [ITHREAD]
>>>> p4tcc0: <CPU Frequency Thermal Control> on cpu0
>>>> p4tcc1: <CPU Frequency Thermal Control> on cpu1
>>>> p4tcc2: <CPU Frequency Thermal Control> on cpu2
>>>> p4tcc3: <CPU Frequency Thermal Control> 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: <nVidia> at usbus0
>>>> uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
>>>> ugen1.1: <nVidia> at usbus1
>>>> uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
>>>> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
>>>> ada0: <SAMSUNG HD154UI 1AG01118> 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: <ST31500341AS CC1H> 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: <SAMSUNG HD204UI 1AQ10001> 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: <SAMSUNG HD154UI 1AG01118> 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 HAMMER
>>>> ident ION4debug
>>>>
>>>> makeoptions DEBUG=-g # Build kernel with gdb(1) debug
>>>> symbols
>>>>
>>>> options SCHED_ULE # ULE scheduler
>>>> options PREEMPTION # Enable kernel thread preemption
>>>> options INET # InterNETworking
>>>> options INET6 # IPv6 communications protocols
>>>> options FFS # Berkeley Fast Filesystem
>>>> options SOFTUPDATES # Enable FFS soft updates support
>>>> options UFS_ACL # Support for access control lists
>>>> options UFS_DIRHASH # Improve performance on big
>>>> directories
>>>> options UFS_GJOURNAL # Enable gjournal-based UFS
>>>> journaling
>>>> options PROCFS # Process filesystem (requires
>>>> PSEUDOFS)
>>>> options PSEUDOFS # Pseudo-filesystem framework
>>>> options GEOM_PART_GPT # GUID Partition Tables.
>>>> options GEOM_LABEL # Provides labelization
>>>> options COMPAT_43TTY # BSD 4.3 TTY compat (sgtty)
>>>> options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
>>>> options KTRACE # ktrace(1) support
>>>> options STACK # stack(9) support
>>>> options SYSVSHM # SYSV-style shared memory
>>>> options SYSVMSG # SYSV-style message queues
>>>> options SYSVSEM # SYSV-style semaphores
>>>> options P1003_1B_SEMAPHORES # POSIX-style semaphores
>>>> options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
>>>> extensions
>>>> options PRINTF_BUFR_SIZE=128 # Prevent printf output being
>>>> interspersed.
>>>> options KBD_INSTALL_CDEV # install a CDEV entry in /dev
>>>> options HWPMC_HOOKS # Necessary kernel hooks for
>>>> hwpmc(4)
>>>> options AUDIT # Security event auditing
>>>> options MAC # TrustedBSD MAC Framework
>>>> options FLOWTABLE # per-cpu routing cache
>>>> options INCLUDE_CONFIG_FILE # Include this file in kernel
>>>>
>>>> options KDB # Kernel debugger related code
>>>> options KDB_TRACE # Print a stack trace for a panic
>>>>
>>>> options SMP # Symmetric MultiProcessor Kernel
>>>>
>>>> device cpufreq
>>>>
>>>> options DEVICE_POLLING
>>>> options IPFIREWALL
>>>> options IPDIVERT
>>>> options IPFIREWALL_FORWARD
>>>> options IPFIREWALL_NAT
>>>> options IPSTEALTH
>>>> options DUMMYNET
>>>>
>>>> options LIBALIAS
>>>>
>>>> device crypto
>>>>
>>>> device acpi
>>>> device pci
>>>>
>>>> device ahci
>>>>
>>>> device scbus # SCSI bus (required for SCSI)
>>>> device da # Direct Access (disks)
>>>> device pass # Passthrough device (direct SCSI access)
>>>>
>>>> device atkbdc # AT keyboard controller
>>>> device atkbd # AT keyboard
>>>> device psm # PS/2 mouse
>>>>
>>>> device kbdmux # keyboard multiplexer
>>>>
>>>> device vga # VGA video card driver
>>>>
>>>> device sc
>>>>
>>>> device uart # Generic UART driver
>>>>
>>>> device miibus # MII bus support
>>>>
>>>> device loop # Network loopback
>>>> device random # Entropy device
>>>> device ether # Ethernet support
>>>> device vlan # 802.1Q VLAN support
>>>> device tun # Packet tunnel.
>>>> device pty # BSD-style compatibility pseudo ttys
>>>> device md # Memory "disks"
>>>> device gif # IPv6 and IPv4 tunneling
>>>> device faith # IPv6-to-IPv4 relaying (translation)
>>>> device firmware # firmware assist module
>>>>
>>>> device bpf # Berkeley packet filter
>>>>
>>>> device uhci # UHCI PCI->USB interface
>>>> device ohci # OHCI PCI->USB interface
>>>> device ehci # EHCI PCI->USB interface (USB 2.0)
>>>> device usb # USB Bus (required)
>>>> device uhid # "Human Interface Devices"
>>>> device ukbd # Keyboard
>>>> device umass # Disks/Mass storage - Requires scbus and da
>>>> device ums # Mouse
>>>> _______________________________________________
>>>> freebsd-net at freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>>>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>>>
>>>
>>
>
More information about the freebsd-current
mailing list