Bug 145761

Summary: [lor] rt2870 lock order reversal hold up system in 8.0-RELEASE-p2
Product: Base System Reporter: Etienne Robillard <erob>
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 8.0-RELEASE   
Hardware: Any   
OS: Any   

Description Etienne Robillard 2010-04-16 16:30:01 UTC
Used the following sources to compile the rt2870.ko kernel module from

http://repo.or.cz/w/ralink_drivers/rt2870_fbsd8.git

Kernel core dump:

marina dumped core - see /var/crash/vmcore.3

Fri Apr 16 09:42:43 EDT 2010

FreeBSD marina 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1 r206630: Fri Apr 16 04:51:51 EDT 2010     root@:/usr/local/freebsd8/src/sys/amd64/compile/MARINA.debug  amd64

panic: from debugger

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:
Copyright (c) 1992-2009 The FreeBSD Project.
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.0-RELEASE-p2 #1 r206630: Fri Apr 16 04:51:51 EDT 2010
    root@:/usr/local/freebsd8/src/sys/amd64/compile/MARINA.debug
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2613.41-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x40f32  Stepping = 2
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x2001<SSE3,CX16>
  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
real memory  = 536870912 (512 MB)
avail memory = 497504256 (474 MB)
ACPI APIC Table: <Nvidia ASUSACPI>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 4
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <Nvidia ASUSACPI> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 1fde0000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfefff000-0xfefff3ff on acpi0
Timecounter "HPET" frequency 25000000 Hz quality 900
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq 21 at device 2.0 on pci0
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xfeb00000-0xfeb000ff irq 22 at device 2.1 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <NVIDIA nForce4 USB 2.0 controller> on ehci0
atapci0: <nVidia nForce CK804 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 6.0 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <nVidia nForce CK804 SATA300 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd400-0xd40f mem 0xfe02c000-0xfe02cfff irq 23 at device 7.0 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
atapci2: <nVidia nForce CK804 SATA300 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc000-0xc00f mem 0xfe02b000-0xfe02bfff irq 21 at device 8.0 on pci0
atapci2: [ITHREAD]
ata4: <ATA channel 0> on atapci2
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci2
ata5: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci1: <ACPI PCI bus> on pcib1
fwohci0: <VIA Fire II (VT6306)> port 0xac00-0xac7f mem 0xfdfff000-0xfdfff7ff irq 17 at device 1.0 on pci1
fwohci0: [ITHREAD]
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:1e:8c:00:00:22:dc:f8
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x2210000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:1e:8c:22:dc:f8
fwe0: Ethernet address: 02:1e:8c:22:dc:f8
fwip0: <IP over FireWire> on firewire0
fwip0: Firewire address: 00:1e:8c:00:00:22:dc:f8 @ 0xfffe00000000, S400, maxrec 2048
fwohci0: Initiate bus reset
fwohci0: fwohci_intr_core: BUS reset
fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
dc0: <ADMtek AN985 10/100BaseTX> port 0xa800-0xa8ff mem 0xfdffe000-0xfdffe3ff irq 16 at device 6.0 on pci1
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
dc0: Ethernet address: 00:12:17:51:31:ac
dc0: [ITHREAD]
nfe0: <NVIDIA nForce4 CK804 MCP9 Networking Adapter> port 0xbc00-0xbc07 mem 0xfe02a000-0xfe02afff irq 22 at device 10.0 on pci0
miibus1: <MII bus> on nfe0
atphy0: <Atheros F1 10/100/1000 PHY> PHY 0 on miibus1
atphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
nfe0: Ethernet address: 00:1f:c6:be:65:76
nfe0: [FILTER]
pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci5: <ACPI PCI bus> on pcib5
vgapci0: <VGA-compatible display> port 0x9c00-0x9cff mem 0xd0000000-0xdfffffff,0xfdef0000-0xfdefffff irq 18 at device 0.0 on pci5
vgapci1: <VGA-compatible display> mem 0xfdee0000-0xfdeeffff at device 0.1 on pci5
acpi_tz0: <Thermal Zone> on acpi0
ACPI Warning: \_TZ_.THRM._PSL: Return Package type mismatch at index 0 - found [NULL Object Descriptor], expected Reference 20090521 nspredef-1058
atrtc0: <AT realtime clock> port 0x70-0x73 on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FILTER]
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart0: [FILTER]
ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
plip0: [ITHREAD]
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
cpu0: <ACPI CPU> on acpi0
powernow0: <PowerNow! K8> on cpu0
cpu1: <ACPI CPU> on acpi0
powernow1: <PowerNow! K8> on cpu1
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
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
firewire0: bus manager 0 
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
acd0: DMA limited to UDMA33, device found non-ATA66 cable
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
acd0: DVDR <LITE-ON DVDRW LH-20A1P/KL0N> at ata0-slave UDMA33
ad8: 152627MB <WDC WD1600AAJS-22PSA0 05.06H05> at ata4-master SATA300
SMP: AP CPU #1 Launched!
WARNING: WITNESS option enabled, expect reduced performance.
uhub0: 9 ports with 9 removable, self powered
Root mount waiting for: usbus1
Root mount waiting for: usbus1
uhub1: 9 ports with 9 removable, self powered
Root mount waiting for: usbus1
ugen1.2: <Ralink> at usbus1
rt28700: <1.0> on usbus1
rt28700: invalid EEPROM LNA gain #2: 0x00
rt28700: invalid EEPROM LNA gain #3: 0x00
rt28700: MAC/BBP RT2870 (rev 0x28720202), RF RT2720
Root mount waiting for: usbus1
Root mount waiting for: usbus1
Root mount waiting for: usbus1
rt28700: skip channel 10, could not find extension channel
rt28700: skip channel 11, could not find extension channel
rt28700: skip channel 12, could not find extension channel
rt28700: skip channel 13, could not find extension channel
rt28700: skip channel 14, could not find extension channel
Root mount waiting for: usbus1
Trying to mount root from ufs:/dev/ad8s1a
WARNING: / was not properly dismounted
<118>Enter full pathname of shell or RETURN for 
<118>/bin/sh
<118>: 
ugen0.2: <Dell> at usbus0
ums0: <Dell Dell USB Optical Mouse, class 0/0, rev 2.00/43.01, addr 2> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
ugen0.3: <vendor 0x0d8c> at usbus0
uaudio0: <vendor 0x0d8c product 0x0201, class 0/0, rev 1.10/0.10, addr 3> on usbus0
uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format
uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format
uaudio0: No midi sequencer
pcm0: <USB audio> on uaudio0
<118># 
<118>** /dev/ad8s1a
<118>** Last Mounted on /
<118>** Root file system
<118>** Phase 1 - Check Blocks and Sizes
<118>** Phase 2 - Check Pathnames
<118>** Phase 3 - Check Connectivity
<118>** Phase 4 - Check Reference Counts
<118>** Phase 5 - Check Cyl groups
<118>2895 files, 246975 used, 6840 free (176 frags, 833 blocks, 0.1% fragmentation)
<118>
<118>***** FILE SYSTEM MARKED CLEAN *****
<118>** /dev/ad8s1g
<118>** Last Mounted on /home
<118>** Phase 1 - Check Blocks and Sizes
<118>** Phase 2 - Check Pathnames
<118>** Phase 3 - Check Connectivity
<118>** Phase 4 - Check Reference Counts
<118>** Phase 5 - Check Cyl groups
<118>267070 files, 13109317 used, 2122001 free (44537 frags, 259683 blocks, 0.3% fragmentation)
<118>
<118>***** FILE SYSTEM MARKED CLEAN *****
<118>** /dev/ad8s1e
<118>** Last Mounted on /tmp
<118>** Phase 1 - Check Blocks and Sizes
<118>** Phase 2 - Check Pathnames
<118>** Phase 3 - Check Connectivity
<118>** Phase 4 - Check Reference Counts
<118>** Phase 5 - Check Cyl groups
<118>253 files, 149 used, 253666 free (50 frags, 31702 blocks, 0.0% fragmentation)
<118>
<118>***** FILE SYSTEM MARKED CLEAN *****
<118>** /dev/ad8s1f
<118>** Last Mounted on /usr
<118>** Phase 1 - Check Blocks and Sizes
<118>** Phase 2 - Check Pathnames
<118>** Phase 3 - Check Connectivity
<118>** Phase 4 - Check Reference Counts
<118>** Phase 5 - Check Cyl groups
<118>533025 files, 17448217 used, 2863181 free (92013 frags, 346396 blocks, 0.5% fragmentation)
<118>
<118>***** FILE SYSTEM MARKED CLEAN *****
<118>** /dev/ad8s1d
<118>** Last Mounted on /var
<118>** Phase 1 - Check Blocks and Sizes
<118>** Phase 2 - Check Pathnames
<118>** Phase 3 - Check Connectivity
<118>** Phase 4 - Check Reference Counts
<118>** Phase 5 - Check Cyl groups
<118>FREE BLK COUNT(S) WRONG IN SUPERBLK
<118>SALVAGE? yes
<118>
<118>54850 files, 428358 used, 2110161 free (14129 frags, 262004 blocks, 0.6% fragmentation)
<118>
<118>***** FILE SYSTEM MARKED CLEAN *****
<118>
<118>***** FILE SYSTEM WAS MODIFIED *****
<118># 
<118># 
<118>
<118># 
<118># 
<118>bounds		info.1		minfree		vmcore.1
<118>info.0		info.2		vmcore.0	vmcore.2
<118># 
<118>total 552436
<118>-rw-r--r--  1 root  wheel          2 Dec  6  2008 bounds
<118>-rw-------  1 root  wheel        457 Nov 16  2008 info.0
<118>-rw-------  1 root  wheel        468 Dec  2  2008 info.1
<118>-rw-------  1 root  wheel        454 Dec  6  2008 info.2
<118>-rw-r--r--  1 root  wheel          5 Oct 25 02:47 minfree
<118>-rw-------  1 root  wheel  145252352 Nov 16  2008 vmcore.0
<118>-rw-------  1 root  wheel  100720640 Dec  2  2008 vmcore.1
<118>-rw-------  1 root  wheel   56762368 Dec  6  2008 vmcore.2
<118># 
<118>
<118>DUMPFS(8)               FreeBSD System Manager's Manual              DUMPFS(8)
<118>
<118>[1mNAME[m
<118>     [1mdumpfs[m -- dump file system information
<118>
<118>[1mSYNOPSIS[m
<118>     [1mdumpfs[m [[1m-f[m] [[1m-m[m] [7mfilesys[27m | [7mdevice[27m
<118>
<118>[1mDESCRIPTION[m
<118>     The [1mdumpfs[m utility prints out the super block and cylinder group informa-
<118>     tion for the file system or special device specified, unless the [1m-f[m or [1m-m[m
<118>     flag is specified.  The listing is very long and detailed.  This command
<118>     is useful mostly for finding out certain file system information such as
<118>     the file system block size and minimum free space percentage.
<118>
<118>     If [1m-f[m is specified, a sorted list of all free fragments and free fragment
<118>     ranges, as represented in cylinder group block free lists, is printed.
<118>     If the flag is specified twice, contiguous free fragments are not col-
<118>     lapsed into ranges and instead printed in a simple list.  Fragment num-
<118>     bers may be converted to raw byte offsets 
<118>by multiplying by the fragment
<118>     size, which may be useful when recovering deleted data.
<118>
<118>     If [1m-m[m is specified, a newfs(8) command is printed that can be used to
<118>     generate a new file system with equivalent settings.
<118>[7m--More--(byte 1266)[27m[K
<118>[K
<118>
<118>[1mSEE[m [1mALSO[m
<118>     disktab(5), fs(5), disklabel(8), fsck(8), newfs(8), tunefs(8)
<118>
<118>[1mHISTORY[m
<118>     The [1mdumpfs[m utility appeared in 4.2BSD.
<118>
<118>FreeBSD 8.0                    January 28, 2009                    FreeBSD 8.0
<118>[K
<118># 
<118>No manual entry for dumpdev
<118># 
lock order reversal:
 1st 0xffffff800a2fd328 bufwait (bufwait) @ kern/vfs_bio.c:2559
 2nd 0xffffff00029a4800 dirhash (dirhash) @ ufs/ufs/ufs_dirhash.c:285
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x2c
witness_checkorder() at witness_checkorder+0x66f
_sx_xlock() at _sx_xlock+0x35
ufsdirhash_acquire() at ufsdirhash_acquire+0x33
ufsdirhash_add() at ufsdirhash_add+0x19
ufs_direnter() at ufs_direnter+0x848
ufs_makeinode() at ufs_makeinode+0x313
VOP_CREATE_APV() at VOP_CREATE_APV+0x31
vn_open_cred() at vn_open_cred+0x423
kern_openat() at kern_openat+0x179
syscall() at syscall+0x19e
Xfast_syscall() at Xfast_syscall+0xe1
--- syscall (5, FreeBSD ELF64, open), rip = 0x80084757c, rsp = 0x7fffffffd698, rbp = 0x50b384 ---
KDB: enter: witness_checkorder
<118>Formatting page, please wait...
<118>Done.
<118>
<118>SWAPON(8)               FreeBSD System Manager's Manual              SWAPON(8)
<118>
<118>[1mNAME[m
<118>     [1mswapon[m, [1mswapoff[m, [1mswapctl[m -- specify devices for paging and swapping
<118>
<118>[1mSYNOPSIS[m
<118>     [1mswapon[m [1m-aq[m | [7mfile[27m [7m...[27m
<118>     [1mswapoff[m [1m-aq[m | [7mfile[27m [7m...[27m
<118>     [1mswapctl[m [[1m-AghklmsU[m] [[1m-a[m [7mfile[27m [7m...[27m | [1m-d[m [7mfile[27m [7m...[27m]
<118>
<118>[1mDESCRIPTION[m
<118>     The [1mswapon[m, [1mswapoff[m and [1mswapctl[m utilities are used to control swap
<118>     devices in the system.  At boot time all swap entries in [7m/etc/fstab[27m are
<118>     added automatically when the system goes multi-user.  Swap devices use a
<118>     fixed interleave; the maximum number of devices is specified by the ker-
<118>     nel configuration option NSWAPDEV, which is typically set to 4.  There is
<118>     no priority mechanism.
<118>
<118>     The [1mswapon[m utility adds the specified swap devices to the system.  If the
<118>     [1m-a[m option is used, all 
<118>swap devices in [7m/etc/fstab[27m will be added, unless
<118>     their ``noauto'' option is also set.  If the [1m-q[m option is used informa-
<118>     tional messages will not be written to standard output when a swap device
<118>     is added.
<118>
<118>[7m--More--(byte 1329)[27m[K
<118>[K
<118>     The [1mswapoff[m utility removes the specified swap devices from the system.
<118>     If the [1m-a[m option is used, all swap devices in [7m/etc/fstab[27m will be removed,
<118>     unless their ``noauto'' option is also set.  If the [1m-q[m option is used
<118>     informational messages will not be written to standard output when a swap
<118>     device is removed.  Note that [1mswapoff[m will fail and refuse to remove a
<118>     swap device if there is insufficient VM (memory + remaining swap devices)
<118>     to run the system.  The [1mswapoff[m utility must move swapped pages out of
<118>     the device being removed which could lead to high system loads for a
<118>     period of time, depending on how much data has been swapped out to that
<118>     device.
<118>
<118>     The [1mswapctl[m utility exists primarily for those familiar with other BSDs
<118>     and may be used to add, remove, or list swap devices.  Note that the [1m-a[m
<118>     option is used differently in [1mswapctl[m and indicates that a specific list
<118>     of devices shou
<118>ld be added.  The [1m-d[m option indicates that a specific list
<118>     should be removed.  The [1m-A[m and [1m-U[m options to [1mswapctl[m operate on all swap
<118>     entries in [7m/etc/fstab[27m which do not have their ``noauto'' option set.
<118>
<118>     Swap information can be generated using the swapinfo(8) utility, [1mpstat[m
<118>     [1m-s[m, or [1mswapctl[m [1m-l[m.  The [1mswapctl[m utility has the following options for
<118>     listing swap:
<118>
<118>     [1m-h[m      Output values in human-readable form.
<118>
<118>[7m--More--(byte 2920)[27m[K
<118>[K
<118># 
<118>
<118>DUMPFS(8)               FreeBSD System Manager's Manual              DUMPFS(8)
<118>
<118>[1mNAME[m
<118>     [1mdumpfs[m -- dump file system information
<118>
<118>[1mSYNOPSIS[m
<118>     [1mdumpfs[m [[1m-f[m] [[1m-m[m] [7mfilesys[27m | [7mdevice[27m
<118>
<118>[1mDESCRIPTION[m
<118>     The [1mdumpfs[m utility prints out the super block and cylinder group informa-
<118>     tion for the file system or special device specified, unless the [1m-f[m or [1m-m[m
<118>     flag is specified.  The listing is very long and detailed.  This command
<118>     is useful mostly for finding out certain file system information such as
<118>     the file system block size and minimum free space percentage.
<118>
<118>     If [1m-f[m is specified, a sorted list of all free fragments and free fragment
<118>     ranges, as represented in cylinder group block free lists, is printed.
<118>     If the flag is specified twice, contiguous free fragments are not col-
<118>     lapsed into ranges and instead printed in a simple list.  Fragment num-
<118>     bers may be converted to raw byte offsets 
<118>by multiplying by the fragment
<118>     size, which may be useful when recovering deleted data.
<118>
<118>     If [1m-m[m is specified, a newfs(8) command is printed that can be used to
<118>     generate a new file system with equivalent settings.
<118>[7m--More--(byte 1266)[27m[K
<118>[K
<118>
<118>[1mSEE[m [1mALSO[m
<118>     disktab(5), fs(5), disklabel(8), fsck(8), newfs(8), tunefs(8)
<118>
<118>[1mHISTORY[m
<118>     The [1mdumpfs[m utility appeared in 4.2BSD.
<118>
<118>FreeBSD 8.0                    January 28, 2009                    FreeBSD 8.0
<118>[K
<118># 
<118>No manual entry for dumpdev
<118># 
<118>Formatting page, please wait...
<118>Done.
<118>
<118>RC.CONF(5)                FreeBSD File Formats Manual               RC.CONF(5)
<118>
<118>[1mNAME[m
<118>     [1mrc.conf[m -- system configuration information
<118>
<118>[1mDESCRIPTION[m
<118>     The file [1mrc.conf[m contains descriptive information about the local host
<118>     name, configuration details for any potential network interfaces and
<118>     which services should be started up at system initial boot time.  In new
<118>     installations, the [1mrc.conf[m file is generally initialized by the system
<118>     installation utility, sysinstall(8).
<118>
<118>     The purpose of [1mrc.conf[m is not to run commands or perform system startup
<118>     actions directly.  Instead, it is included by the various generic startup
<118>     scripts in [7m/etc[27m which conditionalize their internal actions according to
<118>     the settings found there.
<118>
<118>     The [7m/etc/rc.conf[27m file is included from the file [7m/etc/defaults/rc.conf[27m,
<118>     which specifies the default settings for all the available options.
<118>     Options need only be specified in [7m/e
<118>tc/rc.conf[27m when the system adminis-
<118>     trator wishes to override these defaults.  The file [7m/etc/rc.conf.local[27m is
<118>     used to override settings in [7m/etc/rc.conf[27m for historical reasons.  See
<118>     the [7mrc_conf_files[27m variable below.
<118>
<118>[7m--More--(byte 1427)[27m[K
<118>[K/
<118>[Kdd
<118>[Kuu
<118>[Kmm
<118>[Kpp
<118>[Kdd
<118>[Kee
<118>[Kvv
<118>[K
<118>...skipping...
<118>     [7mdumpdev[27m     ([7mstr[27m) Indicates the device (usually a swap partition) to
<118>                 which a crash dump should be written in the event of a system
<118>                 crash.  If the value of this variable is ``AUTO'', the first
<118>                 suitable swap device listed in [7m/etc/fstab[27m will be used as
<118>                 dump device.  Otherwise, the value of this variable is passed
<118>                 as the argument to dumpon(8).  To disable crash dumps, set
<118>                 this variable to ``NO''.
<118>
<118>     [7mdumpdir[27m     ([7mstr[27m) When the system reboots after a crash and a crash dump
<118>                 is found on the device specified by the [7mdumpdev[27m variable,
<118>                 savecore(8) will save that crash dump and a copy of the ker-
<118>                 nel to the directory specified by the [7mdumpdir[27m variable.  The
<118>                 default value is [7m/var/crash[27m.  Set to ``NO'' to not run
<118>                 savecore(8) at boot time when [7m
<118>dumpdir[27m is set.
<118>
<118>     [7msavecore_flags[27m
<118>                 ([7mstr[27m) If crash dumps are enabled, these are the flags to pass
<118>                 to the savecore(8) utility.
<118>
<118>     [7mquota_enable[27m
<118>                 ([7mbool[27m) Set to ``YES'' to turn on user and group disk quotas
<118>                 on system startup via the quotaon(8) command for all file
<118>                 systems marked as having quotas enabled in [7m/etc/fstab[27m.  The
<118>                 kernel must be built with [1moptions[m [1mQUOTA[m for disk quotas to
<118>[7m--More--(byte 78905)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T
<118>[25;1H[K[7m--More--(byte 78819)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T                 manual page.
<118>[25;1H[K[7m--More--(byte 78736)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T                 [7m/etc/rc.sendmail[27m uses are documented in the rc.sendmail(8)
<118>[25;1H[K[7m--More--(byte 78675)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T                 [7m/etc/rc.sendmail[27m.  The [7msendmail_*[27m variables which
<118>[25;1H[K[7m--More--(byte 78604)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T                 run to start a mail transfer agent.  The default is
<118>[25;1H[K[7m--More--(byte 78562)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T                 ([7mstr[27m) This variable specifies the full path to the script to
<118>[25;1H[K[7m--More--(byte 78561)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KBB[K
<118>
<118>[7m--More--(byte 78562)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T                 ([7mstr[27m) This variable specifies the full path to the script to
<118>[25;1H[K[7m--More--(byte 78561)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T     [7mmta_start_script[27m
<118>[25;1H[K[7m--More--(byte 78530)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T
<118>[25;1H[K[7m--More--(byte 78459)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T                 tories to be created.
<118>[25;1H[K[7m--More--(byte 78411)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T                 program.  The default is ``-d'', which causes missing direc-
<118>[25;1H[K[7m--More--(byte 78410)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T                 ``YES'', these are the flags to pass to the chkprintcap(8)
<118>[25;1H[K[7m--More--(byte 78347)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T                 ([7mstr[27m) If [7mlpd_enable[27m and [7mchkprintcap_enable[27m are set to
<118>[25;1H[K[7m--More--(byte 78269)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T     [7mchkprintcap_flags[27m
<118>[25;1H[K[7m--More--(byte 78191)[27m[K
<118>[K [KESCESC
<118>[K[[
<118>[KAA[K
<118>[H[T
<118>[25;1H[K[7m--More--(byte 78127)[27m[K
<118>[K/
<118>[Kss
<118>[Kaa
<118>[Kvv
<118>[Kee
<118>[Kcc
<118>[Koo
<118>[Krr
<118>[K
<118>                 savecore(8) will save that crash dump and a copy of the ker-
<118>                 nel to the directory specified by the [7mdumpdir[27m variable.  The
<118>                 default value is [7m/var/crash[27m.  Set to ``NO'' to not run
<118>                 savecore(8) at boot time when [7mdumpdir[27m is set.
<118>
<118>     [7msavecore_flags[27m
<118>                 ([7mstr[27m) If crash dumps are enabled, these are the flags to pass
<118>                 to the savecore(8) utility.
<118>
<118>     [7mquota_enable[27m
<118>                 ([7mbool[27m) Set to ``YES'' to turn on user and group disk quotas
<118>                 on system startup via the quotaon(8) command for all file
<118>                 systems marked as having quotas enabled in [7m/etc/fstab[27m.  The
<118>                 kernel must be built with [1moptions[m [1mQUOTA[m for disk quotas to
<118>                 function.
<118>
<118>     [7mcheck_quotas[27m
<118>                 ([7mbool[27m) Set to ``YES'' to enable user and group disk quota
<118>                 checking via the quot
<118>acheck(8) command.
<118>
<118>     [7mquotacheck_flags[27m
<118>                 ([7mstr[27m) If [7mquota_enable[27m is set to ``YES'', and [7mcheck_quotas[27m is
<118>                 set to ``YES'', these are the flags to pass to the
<118>                 quotacheck(8) utility.  The default is ``-a'', which checks
<118>[7m--More--(byte 79363)[27m[K
<118>[K/[K
<118>                 quotas for all file systems with quotas enabled in
<118>                 [7m/etc/fstab[27m.
<118>
<118>[7m--More--(byte 79453)[27m[K
<118>[K/[K
<118>     [7mquotaon_flags[27m
<118>                 ([7mstr[27m) If [7mquota_enable[27m is set to ``YES'', these are the flags
<118>[7m--More--(byte 79592)[27m[K
<118>[K/[K
<118>                 to pass to the quotaon(8) utility.  The default is ``-a'',
<118>                 which enables quotas for all file systems with quotas enabled
<118>[7m--More--(byte 79719)[27m[K
<118>[K/[K
<118>...skipping...
<118>     rpcbind(8), rpc.lockd(8), rpc.statd(8), rwhod(8), savecore(8), sdpd(8),
<118>     sshd(8), swapon(8), sysctl(8), syslogd(8), timed(8), wlandebug(8), yp(8),
<118>     ypbind(8), ypserv(8), ypset(8)
<118>
<118>[1mHISTORY[m
<118>     The [1mrc.conf[m file appeared in FreeBSD 2.2.2.
<118>
<118>[1mAUTHORS[m
<118>     Jordan K. Hubbard.
<118>
<118>FreeBSD 8.0                   September 17, 2009                   FreeBSD 8.0
<118>[K
<118># 
<118>Formatting page, please wait...
<118>Done.
<118>
<118>SAVECORE(8)             FreeBSD System Manager's Manual            SAVECORE(8)
<118>
<118>[1mNAME[m
<118>     [1msavecore[m -- save a core dump of the operating system
<118>
<118>[1mSYNOPSIS[m
<118>     [1msavecore[m [1m-c[m
<118>     [1msavecore[m [1m-C[m [[1m-v[m] [[7mdirectory[27m [7mdevice[27m]
<118>     [1msavecore[m [[1m-fkvz[m] [[7mdirectory[27m [[7mdevice[27m [7m...[27m]]
<118>
<118>[1mDESCRIPTION[m
<118>     The [1msavecore[m utility copies a core dump into [7mdirectory[27m, or the current
<118>     working directory if no [7mdirectory[27m argument is given, and enters a reboot
<118>     message and information about the core dump into the system log.
<118>
<118>     The options are as follows:
<118>
<118>     [1m-C[m      Check to see if a dump exists, and display a brief message to
<118>             indicate the status.  An exit status of 0 indicates that a dump
<118>             is there, 1 indicates that none exists.  This option is compati-
<118>             ble only with the [[1m-v[m] option.
<118>
<118>     [1m-c[m      Clear the dump, so that future invoca
<118>tions of [1msavecore[m will
<118>             ignore it.
<118>[7m--More--(byte 1134)[27m[K
<118>[K
<118># 
<118>No dump exists
<118># 
<118>savecore: chdir(/dev/ad8s1b): Not a directory
<118># 
<118>No dump exists
<118># 
<118># 
<118>kldload: 
<118>can't load rt2870
<118>: 
<118>File exists
<118># 
<118>kldload: 
<118>can't load rt2870.ko
<118>: 
<118>File exists
<118># 
<118>Copyright (c) 1992-2009 The FreeBSD Project.
<118>Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
<118>	The Regents of the University of California. All rights reserved.
<118>FreeBSD is a registered trademark of The FreeBSD Foundation.
<118>FreeBSD 8.0-RELEASE-p2 #1 r206630: Fri Apr 16 04:51:51 EDT 2010
<118>    root@:/usr/local/freebsd8/src/sys/amd64/compile/MARINA.debug
<118>WARNING: WITNESS option enabled, expect reduced performance.
<118>Timecounter "i8254" frequency 1193182 Hz quality 0
<118>CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (2613.41-MHz K8-class CPU)
<118>  Origin = "AuthenticAMD"  Id = 0x40f32  Stepping = 2
<118>  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
<118>  Features2=0x2001<SSE3,CX16>
<118>  AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!>
<118>  AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
<118>real memory  = 536870912 (512 MB)
<118>avail memory = 497504256 (474 MB)
<118>ACPI APIC Table: <Nvidia ASUSACPI>
<118>FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
<118>FreeBSD/SMP: 1 package(s) x 2 core(s)
<118> cpu0 (BSP): APIC ID:  0
<118> cpu1 (AP): APIC ID:  1
<118>ioapic0: Changing APIC ID to 4
<118>ioapic0 <Version 1.1> irqs 0-23 on motherboard
<118>kbd1 at kbdmux0
<118>acpi0: <Nvidia ASUSACPI> on motherboard
<118>acpi0: [ITHREAD]
<118>acpi0: Power Button (fixed)
<118>acpi0: reservation of 0, a0000 (3) failed
<118>acpi0: reservation of 100000, 1fde0000 (3) failed
<118>Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
<118>acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
<118>acpi_hpet0: <High Precision Event Timer> iomem 0xfefff000-0xfefff3ff on acpi0
<118>Timecounter "HPET" frequency 25000000 Hz quality 900
<118>acpi_button0: <Power Button> on acpi0
<118>pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
<118>pci0: <ACPI PCI bus> on pcib0
<118>pci0: <memory> at device 0.0 (no driver attached)
<118>isab0: <PCI-ISA bridge> at device 1.0 on pci0
<118>isa0: <ISA bus> on isab0
<118>pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
<118>ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq 21 at device 2.0 on pci0
<118>ohci0: [ITHREAD]
<118>usbus0: <OHCI (generic) USB controller> on ohci0
<118>ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xfeb00000-0xfeb000ff irq 22 at device 2.1 on pci0
<118>ehci0: [ITHREAD]
<118>usbus1: EHCI version 1.0
<118>usbus1: <NVIDIA nForce4 USB 2.0 controller> on ehci0
<118>atapci0: <nVidia nForce CK804 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 6.0 on pci0
<118>ata0: <ATA channel 0> on atapci0
<118>ata0: [ITHREAD]
<118>ata1: <ATA channel 1> on atapci0
<118>ata1: [ITHREAD]
<118>atapci1: <nVidia nForce CK804 SATA300 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd400-0xd40f mem 0xfe02c000-0xfe02cfff irq 23 at device 7.0 on pci0
<118>atapci1: [ITHREAD]
<118>ata2: <ATA channel 0> on atapci1
<118>ata2: [ITHREAD]
<118>ata3: <ATA channel 1> on atapci1
<118>ata3: [ITHREAD]
<118>atapci2: <nVidia nForce CK804 SATA300 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc000-0xc00f mem 0xfe02b000-0xfe02bfff irq 21 at device 8.0 on pci0
<118>atapci2: [ITHREAD]
<118>ata4: <ATA channel 0> on atapci2
<118>ata4: [ITHREAD]
<118>ata5: <ATA channel 1> on atapci2
<118>ata5: [ITHREAD]
<118>pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
<118>pci1: <ACPI PCI bus> on pcib1
<118>fwohci0: <VIA Fire II (VT6306)> port 0xac00-0xac7f mem 0xfdfff000-0xfdfff7ff irq 17 at device 1.0 on pci1
<118>fwohci0: [ITHREAD]
<118>fwohci0: OHCI version 1.10 (ROM=1)
<118>fwohci0: No. of Isochronous channels is 4.
<118>fwohci0: EUI64 00:1e:8c:00:00:22:dc:f8
<118>fwohci0: Phy 1394a available S400, 2 ports.
<118>fwohci0: Link S400, max_rec 2048 bytes.
<118>firewire0: <IEEE1394(FireWire) bus> on fwohci0
<118>dcons_crom0: <dcons configuration ROM> on firewire0
<118>dcons_crom0: bus_addr 0x2210000
<118>fwe0: <Ethernet over FireWire> on firewire0
<118>if_fwe0: Fake Ethernet address: 02:1e:8c:22:dc:f8
<118>fwe0: Ethernet address: 02:1e:8c:22:dc:f8
<118>fwip0: <IP over FireWire> on firewire0
<118>fwip0: Firewire address: 00:1e:8c:00:00:22:dc:f8 @ 0xfffe00000000, S400, maxrec 2048
<118>fwohci0: Initiate bus reset
<118>fwohci0: fwohci_intr_core: BUS reset
<118>fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode
<118>dc0: <ADMtek AN985 10/100BaseTX> port 0xa800-0xa8ff mem 0xfdffe000-0xfdffe3ff irq 16 at device 6.0 on pci1
<118>miibus0: <MII bus> on dc0
<118>ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
<118>ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
<118>dc0: Ethernet address: 00:12:17:51:31:ac
<118>dc0: [ITHREAD]
<118>nfe0: <NVIDIA nForce4 CK804 MCP9 Networking Adapter> port 0xbc00-0xbc07 mem 0xfe02a000-0xfe02afff irq 22 at device 10.0 on pci0
<118>miibus1: <MII bus> on nfe0
<118>atphy0: <Atheros F1 10/100/1000 PHY> PHY 0 on miibus1
<118>atphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
<118>nfe0: Ethernet address: 00:1f:c6:be:65:76
<118>nfe0: [FILTER]
<118>pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
<118>pci2: <ACPI PCI bus> on pcib2
<118>pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
<118>pci3: <ACPI PCI bus> on pcib3
<118>pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0
<118>pci4: <ACPI PCI bus> on pcib4
<118>pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
<118>pci5: <ACPI PCI bus> on pcib5
<118>vgapci0: <VGA-compatible display> port 0x9c00-0x9cff mem 0xd0000000-0xdfffffff,0xfdef0000-0xfdefffff irq 18 at device 0.0 on pci5
<118>vgapci1: <VGA-compatible display> mem 0xfdee0000-0xfdeeffff at device 0.1 on pci5
<118>acpi_tz0: <Thermal Zone> on acpi0
<118>ACPI Warning: \\_TZ_.THRM._PSL: Return Package type mismatch at index 0 - found [NULL Object Descriptor], expected Reference 20090521 nspredef-1058
<118>atrtc0: <AT realtime clock> port 0x70-0x73 on acpi0
<118>fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
<118>fdc0: [FILTER]
<118>uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
<118>uart0: [FILTER]
<118>ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
<118>ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
<118>ppc0: [ITHREAD]
<118>ppbus0: <Parallel port bus> on ppc0
<118>plip0: <PLIP network interface> on ppbus0
<118>plip0: [ITHREAD]
<118>lpt0: <Printer> on ppbus0
<118>lpt0: [ITHREAD]
<118>lpt0: Interrupt-driven port
<118>ppi0: <Parallel I/O> on ppbus0
<118>atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
<118>atkbd0: <AT Keyboard> irq 1 on atkbdc0
<118>kbd0 at atkbd0
<118>atkbd0: [GIANT-LOCKED]
<118>atkbd0: [ITHREAD]
<118>cpu0: <ACPI CPU> on acpi0
<118>powernow0: <PowerNow! K8> on cpu0
<118>cpu1: <ACPI CPU> on acpi0
<118>powernow1: <PowerNow! K8> on cpu1
<118>sc0: <System console> at flags 0x100 on isa0
<118>sc0: VGA <16 virtual consoles, flags=0x300>
<118>vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
<118>Timecounters tick every 1.000 msec
<118>firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0)  (me) 
<118>firewire0: bus manager 0 
<118>usbus0: 12Mbps Full Speed USB v1.0
<118>usbus1: 480Mbps High Speed USB v2.0
<118>acd0: DMA limited to UDMA33, device found non-ATA66 cable
<118>ugen0.1: <nVidia> at usbus0
<118>uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
<118>ugen1.1: <nVidia> at usbus1
<118>uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
<118>acd0: DVDR <LITE-ON DVDRW LH-20A1P/KL0N> at ata0-slave UDMA33
<118>ad8: 152627MB <WDC WD1600AAJS-22PSA0 05.06H05> at ata4-master SATA300
<118>SMP: AP CPU #1 Launched!
<118>WARNING: WITNESS option enabled, expect reduced performance.
<118>uhub0: 9 ports with 9 removable, self powered
<118>Root mount waiting for: usbus1
<118>Root mount waiting for: usbus1
<118>uhub1: 9 ports with 9 removable, self powered
<118>Root mount waiting for: usbus1
<118>ugen1.2: <Ralink> at usbus1
<118>rt28700: <1.0> on usbus1
<118>rt28700: invalid EEPROM LNA gain #2: 0x00
<118>rt28700: invalid EEPROM LNA gain #3: 0x00
<118>rt28700: MAC/BBP RT2870 (rev 0x28720202), RF RT2720
<118>Root mount waiting for: usbus1
<118>Root mount waiting for: usbus1
<118>Root mount waiting for: usbus1
<118>rt28700: skip channel 10, could not find extension channel
<118>rt28700: skip channel 11, could not find extension channel
<118>rt28700: skip channel 12, could not find extension channel
<118>rt28700: skip channel 13, could not find extension channel
<118>rt28700: skip channel 14, could not find extension channel
<118>Root mount waiting for: usbus1
<118>Trying to mount root from ufs:/dev/ad8s1a
<118>WARNING: / was not properly dismounted
<118>ugen0.2: <Dell> at usbus0
<118>ums0: <Dell Dell USB Optical Mouse, class 0/0, rev 2.00/43.01, addr 2> on usbus0
<118>ums0: 3 buttons and [XYZ] coordinates ID=0
<118>ugen0.3: <vendor 0x0d8c> at usbus0
<118>uaudio0: <vendor 0x0d8c product 0x0201, class 0/0, rev 1.10/0.10, addr 3> on usbus0
<118>uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format
<118>uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format
<118>uaudio0: No midi sequencer
<118>pcm0: <USB audio> on uaudio0
<118>lock order reversal:
<118> 1st 0xffffff800a2fd328 bufwait (bufwait) @ kern/vfs_bio.c:2559
<118> 2nd 0xffffff00029a4800 dirhash (dirhash) @ ufs/ufs/ufs_dirhash.c:285
<118>KDB: stack backtrace:
<118>db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
<118>_witness_debugger() at _witness_debugger+0x2c
<118>witness_checkorder() at witness_checkorder+0x66f
<118>_sx_xlock() at _sx_xlock+0x35
<118>ufsdirhash_acquire() at ufsdirhash_acquire+0x33
<118>ufsdirhash_add() at ufsdirhash_add+0x19
<118>ufs_direnter() at ufs_direnter+0x848
<118>ufs_makeinode() at ufs_makeinode+0x313
<118>VOP_CREATE_APV() at VOP_CREATE_APV+0x31
<118>vn_open_cred() at vn_open_cred+0x423
<118>kern_openat() at kern_openat+0x179
<118>syscall() at syscall+0x19e
<118>Xfast_syscall() at Xfast_syscall+0xe1
<118>--- syscall (5, FreeBSD ELF64, open), rip = 0x80084757c, rsp = 0x7fffffffd698, rbp = 0x50b384 ---
<118>KDB: enter: witness_checkorder
<118># 
<118>usage: dumpon [-v] special_file
<118>       dumpon [-v] off
<118># 
<118>
<118>DUMPON(8)               FreeBSD System Manager's Manual              DUMPON(8)
<118>
<118>[1mNAME[m
<118>     [1mdumpon[m -- specify a device for crash dumps
<118>
<118>[1mSYNOPSIS[m
<118>     [1mdumpon[m [[1m-v[m] [7mspecial_file[27m
<118>     [1mdumpon[m [[1m-v[m] [1moff[m
<118>
<118>[1mDESCRIPTION[m
<118>     The [1mdumpon[m utility is used to specify a device where the kernel can save
<118>     a crash dump in the case of a panic.
<118>
<118>     Calls to [1mdumpon[m normally occur from the system multi-user initialization
<118>     file [7m/etc/rc[27m, controlled by the ``dumpdev'' variable in the boot time
<118>     configuration file [7m/etc/rc.conf[27m.
<118>
<118>     For most systems the size of the specified dump device must be at least
<118>     the size of physical memory.  Even though an additional 64 kB header is
<118>     added to the dump, the BIOS for a platform typically holds back some mem-
<118>     ory, so it is not usually necessary to size the dump device larger than
<118>     the actual amount of RAM available in the machine.
<118>
<118>     The [1mdumpon[m utility w
<118>ill refuse to enable a dump device which is smaller
<118>[7m--More--(byte 1138)[27m[K
<118>[K
<118># 
<118>kernel dumps on /dev/ad8s1b
<118># 
<118>Starting devd.
<118>/etc/rc.d/netif: WARNING: $ipv6_enable is obsolete.  Use $ipv6_prefer instead.
<118>Starting Network: fwe0.
<118>fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>	options=8<VLAN_MTU>
<118>	ether 02:1e:8c:22:dc:f8
<118>	ch 1 dma -1
<118>/etc/rc.d/netif: WARNING: $ipv6_enable is obsolete.  Use $ipv6_prefer instead.
<118>Starting Network: fwip0.
<118>fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>	lladdr 0.1e.8c.0.0.22.dc.f8.a.2.ff.fe.0.0.0.0
<118>/etc/rc.d/netif: WARNING: $ipv6_enable is obsolete.  Use $ipv6_prefer instead.
<118>Starting Network: dc0.
<118>dc0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>	options=8<VLAN_MTU>
<118>	ether 00:12:17:51:31:ac
<118>	media: Ethernet autoselect (none)
<118>	status: no carrier
<118>/etc/rc.d/netif: WARNING: $ipv6_enable is obsolete.  Use $ipv6_prefer instead.
<118>Starting Network: nfe0.
<118>nfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>	options=10b<RXCSUM,TXCSUM,VLAN_MTU,TSO4>
<118>	ether 00:1f:c6:be:65:76
<118>	media: Ethernet autoselect (none)
<118>	status: no carrier
<118>/etc/rc.d/netif: WARNING: $ipv6_enable is obsolete.  Use $ipv6_prefer instead.
<118>Starting Network: plip0.
<118>plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>/etc/rc.d/netif: WARNING: $ipv6_enable is obsolete.  Use $ipv6_prefer instead.
<118>Starting Network: lo0.
<118>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
<118>	options=3<RXCSUM,TXCSUM>
<118>	inet 127.0.0.1 netmask 0xff000000 
<118>	inet6 ::1 prefixlen 128 
<118>	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6 
<118>/etc/rc.d/netif: WARNING: $ipv6_enable is obsolete.  Use $ipv6_prefer instead.
wlan0: Ethernet address: 00:14:d1:67:a5:de
<118>ifconfig: 
<118>SIOCSIFMEDIA (media)
<118>: 
<118>Device not configured
<118>wlan0: no link ...
<118>.
<118>.
<118>.
lock order reversal: (sleepable after non-sleepable)
 1st 0xffffff8001240018 rt28700_com_loc (rt28700_com_loc) @ net80211/ieee80211_node.c:652
 2nd 0xffffff0002817050 123456789ABCDEF - USB device SX lock (123456789ABCDEF - USB device SX lock) @ dev/usb/usb_request.c:322
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2a
_witness_debugger() at _witness_debugger+0x2c
witness_checkorder() at witness_checkorder+0x66f
_sx_xlock() at _sx_xlock+0x35
usbd_do_request_flags() at usbd_do_request_flags+0x17e
rt2870_io_vendor_req() at rt2870_io_vendor_req+0x9b
rt2870_io_mac_write_multi() at rt2870_io_mac_write_multi+0x52
rt2870_io_mac_write() at rt2870_io_mac_write+0x1c
rt2870_newassoc() at rt2870_newassoc+0x106
sta_newstate() at sta_newstate+0x2dc
rt2870_vap_newstate() at rt2870_vap_newstate+0x4d
ieee80211_newstate_cb() at ieee80211_newstate_cb+0xac
taskqueue_run() at taskqueue_run+0x91
taskqueue_thread_loop() at taskqueue_thread_loop+0x3f
fork_exit() at fork_exit+0x112
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffff8012546d30, rbp = 0 ---
KDB: enter: witness_checkorder
panic: from debugger
cpuid = 0
KDB: stack backtrace:
Uptime: 7m3s
Physical memory: 494 MB
Dumping 1088 MB: 1073 1057 1041 1025 1009 993 977 961 945 929 913 897 881 865 849 833 817 801 785 769 753 737 721 705 689 673 657 641 625 609 593 577 561 545 529 513 497 481 465 449 433 417 401 385 369 353 337 321 305 289 273 257 241 225 209 193 177 161 145 129 113 97 81 65 49 33 17 1

Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linprocfs.ko
Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/if_urtw.ko...Reading symbols from /boot/kernel/if_urtw.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_urtw.ko
Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/sound.ko
Reading symbols from /boot/kernel/snd_uaudio.ko...Reading symbols from /boot/kernel/snd_uaudio.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/snd_uaudio.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/accf_dns.ko...Reading symbols from /boot/kernel/accf_dns.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/accf_dns.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/rt2870.ko...Reading symbols from /boot/kernel/rt2870.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/rt2870.ko
#0  doadump () at pcpu.h:223
223	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) #0  doadump () at pcpu.h:223
#1  0xffffffff8055e25d in boot (howto=260)
    at ../../../kern/kern_shutdown.c:416
#2  0xffffffff8055e67c in panic (fmt=Variable "fmt" is not available.
) at ../../../kern/kern_shutdown.c:579
#3  0xffffffff801d1ff7 in db_panic (addr=Variable "addr" is not available.
) at ../../../ddb/db_command.c:478
#4  0xffffffff801d2401 in db_command (last_cmdp=0xffffffff80b51c20, cmd_table=Variable "cmd_table" is not available.

) at ../../../ddb/db_command.c:445
#5  0xffffffff801d2650 in db_command_loop () at ../../../ddb/db_command.c:498
#6  0xffffffff801d45a9 in db_trap (type=Variable "type" is not available.
) at ../../../ddb/db_main.c:229
#7  0xffffffff80589a95 in kdb_trap (type=3, code=0, tf=0xffffff80125466d0)
    at ../../../kern/subr_kdb.c:535
#8  0xffffffff807e9110 in trap (frame=0xffffff80125466d0)
    at ../../../amd64/amd64/trap.c:613
#9  0xffffffff807d06e3 in calltrap () at ../../../amd64/amd64/exception.S:224
#10 0xffffffff80589c6d in kdb_enter (why=0xffffffff808dcad4 "witness", 
    msg=0xa <Address 0xa out of bounds>) at cpufunc.h:63
#11 0xffffffff8059ac7f in witness_checkorder (lock=0xffffff0002817050, 
    flags=9, file=0xffffffff808b8cf9 "dev/usb/usb_request.c", line=322, 
    interlock=Variable "interlock" is not available.
) at ../../../kern/subr_witness.c:1321
#12 0xffffffff80564f65 in _sx_xlock (sx=0xffffff0002817050, opts=0, 
    file=0xffffffff808b8cf0 "../../../dev/usb/usb_request.c", line=322)
    at ../../../kern/kern_sx.c:287
#13 0xffffffff804aab3e in usbd_do_request_flags (udev=0xffffff0002817000, 
    mtx=0xffffff8000428000, req=0xffffff8012546990, data=0x0, flags=0, 
    actlen=0x0, timeout=250) at ../../../dev/usb/usb_request.c:322
#14 0xffffffff810390cb in rt2870_io_vendor_req () from /boot/kernel/rt2870.ko
#15 0xffffffff81039232 in rt2870_io_mac_write_multi ()
   from /boot/kernel/rt2870.ko
#16 0xffffffff810392ac in rt2870_io_mac_write (sc=Variable "sc" is not available.
) at rt2870_io.c:124
#17 0xffffffff8103def6 in rt2870_newassoc (ni=0xffffff8001267000, isnew=1)
    at rt2870.c:2446
#18 0xffffffff8063faec in sta_newstate (vap=0xffffff0002879000, nstate=Variable "nstate" is not available.
)
    at ../../../net80211/ieee80211_sta.c:427
#19 0xffffffff81044a9d in rt2870_vap_newstate (vap=0xffffff0002879000, 
    nstate=IEEE80211_S_RUN, arg=16) at rt2870.c:2036
#20 0xffffffff8063824c in ieee80211_newstate_cb (xvap=Variable "xvap" is not available.
)
    at ../../../net80211/ieee80211_proto.c:1654
#21 0xffffffff80594b31 in taskqueue_run (queue=0xffffff000279db80)
    at ../../../kern/subr_taskqueue.c:239
#22 0xffffffff80594cbf in taskqueue_thread_loop (arg=Variable "arg" is not available.
)
    at ../../../kern/subr_taskqueue.c:360
#23 0xffffffff8053ad22 in fork_exit (
    callout=0xffffffff80594c80 <taskqueue_thread_loop>, 
    arg=0xffffff80012400b8, frame=0xffffff8012546c80)
    at ../../../kern/kern_fork.c:843
#24 0xffffffff807d0bbe in fork_trampoline ()
    at ../../../amd64/amd64/exception.S:561
#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 0x0000000000000000 in ?? ()
#46 0x0000000000000000 in ?? ()
#47 0x0000000000000000 in ?? ()
#48 0x0000000000000000 in ?? ()
#49 0x0000000001081000 in ?? ()
#50 0x0000000000000000 in ?? ()
#51 0xffffffff80b8d540 in affinity ()
#52 0xffffffff80ba89e8 in sleepq_chains ()
#53 0xffffff00021d4390 in ?? ()
#54 0xffffff8012546720 in ?? ()
#55 0xffffff80125466d8 in ?? ()
#56 0xffffff000283b720 in ?? ()
#57 0xffffffff8057d90e in sched_switch (td=0xffffff80012400b8, 
    newtd=0xffffffff80594c80, flags=Variable "flags" is not available.
) at ../../../kern/sched_ule.c:1858
Previous frame inner to this frame (corrupt stack?)
(kgdb) 

------------------------------------------------------------------------
ps -axl

  UID   PID  PPID CPU PRI NI   VSZ   RSS MWCHAN STAT  TT       TIME COMMAND
    0     0     0   0 -68  0     0     0 -      DLs   ??  2369304:30.00 [kernel]
    0     1     0   0  44  0  2180     0 wait   DLs   ??  181666:29.00 [init]
    0     2     0   0  -8  0     0     0 -      DL    ??  1348106:55.00 [g_event]
    0     3     0   0  -8  0     0     0 -      DL    ??  123292820:18.00 [g_up]
    0     4     0   0  -8  0     0     0 -      DL    ??  113810343:31.00 [g_down]
    0     5     0   0 -16  0     0     0 ccb_sc DL    ??    0:00.00 [xpt_thrd]
    0     6     0   0 -16  0     0     0 -      DL    ??  618:52.00 [fw0_probe]
    0     7     0   0 -16  0     0     0 -      DL    ??  89161:59.00 [fdc0]
    0     8     0   0 -16  0     0     0 waitin DL    ??  795:16.00 [sctp_itera
    0     9     0   0  76  0     0     0 psleep DL    ??  21362:22.00 [pagedaemon
    0    10     0   0 -16  0     0     0 audit_ DL    ??    0:00.00 [audit]
    0    11     0   0 171  0     0     0 -      RL    ??  35996926936:33.00 [idle]
    0    12     0   0 -60  0     0     0 -      WL    ??  69676837:11.00 [intr]
    0    13     0   0 -16  0     0     0 -      DL    ??  3409611:23.00 [yarrow]
    0    14     0   0 -16  0     0     0 tzpoll DL    ??  611627:29.00 [acpi_therm
    0    15     0   0 -16  0     0     0 coolin DL    ??  11279:50.00 [acpi_cooli
    0    16     0   0 -64  0     0     0 -      DL    ??  6383734:21.00 [usb]
    0    17     0   0  76  0     0     0 psleep DL    ??  157:15.00 [vmdaemon]
    0    18     0   0  76  0     0     0 pgzero DL    ??  412:07.00 [pagezero]
    0    19     0   0  76  0     0     0 psleep DL    ??  91297:03.00 [bufdaemon]
    0    20     0   0  76  0     0     0 vlruwt DL    ??  92132:48.00 [vnlru]
    0    21     0   0  76  0     0     0 syncer DL    ??  216386:11.00 [syncer]
    0    22     0   0  76  0     0     0 sdflus DL    ??  161810:53.00 [softdepflu
    0    23     0   0  76  0     0     0 flowcl DL    ??  17482:28.00 [flowcleane
    0    24     1   0  44  0  7228     0 wait   Ds    ??  718882:41.00 [sh]
    0    89    24   0  46  0  7228     0 wait   D+    ??  330138:29.00 [sh]
    0    91    89   0  76  0  7228     0 wait   D+    ??  384219:08.00 [sh]
    0    98    91   0  76  0  2180     0 wait   D+    ??  624178:09.00 [devd]
    0   993    98   0  76  0  7228     0 wait   D+    ??  506331:20.00 [sh]
    0  1002   993   0  76  0  7228     0 wait   D+    ??  1291640:00.00 [sh]
    0  1187  1002   0  76  0  7228     0 wait   D+    ??  450904:33.00 [sh]
    0  1208  1187   0  52  0  4776     0 nanslp D+    ??    0:00.00 [dhclient]

------------------------------------------------------------------------
vmstat -s

        0 cpu context switches
        0 device interrupts
        0 software interrupts
        0 traps
        0 system calls
        0 kernel threads created
        0  fork() calls
        0 vfork() calls
        0 rfork() calls
        0 swap pager pageins
        0 swap pager pages paged in
        0 swap pager pageouts
        0 swap pager pages paged out
        0 vnode pager pageins
        0 vnode pager pages paged in
        0 vnode pager pageouts
        0 vnode pager pages paged out
        0 page daemon wakeups
        0 pages examined by the page daemon
       90 pages reactivated
        0 copy-on-write faults
        0 copy-on-write optimized faults
        0 zero fill pages zeroed
        0 zero fill pages prezeroed
        0 intransit blocking page faults
        0 total VM faults taken
        0 pages affected by kernel thread creation
        0 pages affected by  fork()
        0 pages affected by vfork()
        0 pages affected by rfork()
       97 pages cached
        0 pages freed
        0 pages freed by daemon
    39470 pages freed by exiting processes
     1155 pages active
      848 pages inactive
        4 pages in VM cache
     9536 pages wired down
   111221 pages free
     4096 bytes per page
    17957 total name lookups
          cache hits (88% pos + 6% neg) system 0% per-directory
          deletions 0%, falsehits 0%, toolong 0%

------------------------------------------------------------------------
vmstat -m

         Type InUse MemUse HighUse Requests  Size(s)
         cdev     9     3K       -        9  256
       acpica  3445   318K       -    91323  16,32,64,128,256,512,1024,2048
     filedesc    32    16K       -     1209  512
         kenv    76    11K       -       81  16,32,64,128
     acpitask     1     2K       -        1  2048
    proc-args     9     1K       -      239  16,32,64,128,256
      CAM SIM     1     1K       -        1  256
      ithread    74    12K       -       74  32,128,256
       KTRACE   100    13K       -      100  128
      acpisem    16     2K       -       16  128
       linker   161    18K       -      206  16,32,64,128,256,512
        lockf     2     1K       -        2  64,128
       kbdmux     6    10K       -        6  16,512,1024,2048,4096
       ip6ndp    10     1K       -       10  64,128
         temp    36    17K       -     1386  16,32,64,128,256,512,1024,2048,4096
       devbuf  2390  3969K       -     2486  16,32,64,128,256,512,1024,2048,4096
       module   423    53K       -      423  128
     mtx_pool     2    16K       -        2  
          osd     2     1K       -        2  16,64
      subproc    84   154K       -     1261  512,4096
         proc     2     8K       -        2  4096
      session     2     1K       -        2  128
         pgrp     3     1K       -       45  128
         cred    16     3K       -     1800  64,256
      uidinfo     2     2K       -        2  128,1024
       plimit     1     1K       -        6  256
    sysctltmp     0     0K       -      113  16,128,256
    sysctloid  4390   216K       -     4510  16,32,64,128
       sysctl     0     0K       -      170  16,32
      callout     1   256K       -        1  
         umtx    96    12K       -       96  128
     p1003.1b     1     1K       -        1  16
       bus-sc   102   251K       -     4070  16,32,64,128,256,512,1024,2048,4096
          bus  1297   115K       -     6795  16,32,64,128,256,512,1024
      devstat     8    17K       -        8  32,4096
 eventhandler    74     6K       -       74  64,128
      CAM XPT    11     3K       -       30  32,64,128,2048
         kobj   291  1164K       -      353  4096
      Per-cpu     1     1K       -        1  32
   CAM periph     2     1K       -       11  16,32,64,128,256
         rman   189    23K       -      661  16,32,128
         sbuf     1     4K       -      315  16,32,128,4096
  ata_generic     2     2K       -        2  1024
    taskqueue    19     2K       -       19  16,32,128
       Unitno    12     1K       -       32  32,64
    ad_driver     1     1K       -        1  32
    ar_driver     0     0K       -        6  512,2048
   acd_driver     1     2K       -        1  2048
      Witness     1   128K       -        1  
          iov     0     0K       -      490  64,128,256,512
       select     1     1K       -        1  128
     ioctlops     0     0K       -      638  16,32,64,128,512,1024
          msg     4    30K       -        4  2048,4096
          sem     4    11K       -        4  512,1024
          shm     1    20K       -        1  
          tty    20    20K       -       20  1024
         accf     3     1K       -        3  64
     mbuf_tag     0     0K       -        2  64
         ksem     1     8K       -        1  
        shmfd     1     8K       -        1  
          pcb    12   157K       -       12  16,128,1024,2048,4096
       soname     1     1K       -      116  32,128
     vfscache     1   512K       -        1  
     vfs_hash     1   256K       -        1  
       vnodes     2     1K       -        2  256
  vnodemarker     0     0K       -       76  512
        mount    84     4K       -      130  16,32,64,128,256
          BPF     8     1K       -        8  128
  ether_multi    31     2K       -       46  16,32,64
       ifaddr   338    27K       -      338  32,64,256,512,4096
        ifnet     9    17K       -        9  128,2048
        clone     5    20K       -        5  4096
       arpcom     4     1K       -        4  16
       fw_com     1     1K       -        1  64
      lltable    19     9K       -       19  256,512
      acpidev    93     6K       -       93  64
      fw_xfer     0     0K       -        1  256
     firewire    11    35K       -       14  64,128,512,1024,2048,4096
     ppbusdev     3     1K       -        3  256
     routetbl    22    37K       -       76  32,64,128,256,512,1024
     80211vap     1     4K       -        1  4096
     80211com     1     8K       -        1  
  80211nodeie     5     2K       -       10  64,128,256,512
    80211node     1    12K       -        2  
    80211scan     6     8K       -        6  512,2048,4096
         igmp     8     2K       -        8  256
      entropy  1024    64K       -     1024  64
CAM dev queue     1     1K       -        1  128
    CAM queue     3     1K       -        7  16
     in_multi     1     1K       -        1  256
    sctp_iter     0     0K       -        2  256
     sctp_ifn     2     1K       -        2  128
     sctp_ifa     4     1K       -        4  128
     sctp_vrf     1     1K       -        1  64
    sctp_a_it     0     0K       -        2  16
    hostcache     1    28K       -        1  
     syncache     1    96K       -        1  
     pci_link    64     6K       -       64  16,64,128
    in6_multi    15     2K       -       15  32,256
          mld     8     1K       -        8  128
audit_evclass   172     6K       -      211  32
     savedino     0     0K       -        3  256
       dirrem     0     0K       -        6  64
       diradd     1     1K       -        7  64
     freefile     0     0K       -        1  64
     freeblks     0     0K       -        1  256
     freefrag     0     0K       -        2  64
  allocdirect     0     0K       -        8  256
    bmsafemap     1     1K       -        4  128
       newblk     1     1K       -        9  64,512
     inodedep     2   257K       -        8  256
      pagedep     2    33K       -        5  128
  ufs_dirhash    84    20K       -       84  16,32,64,128,256,512,1024
    ufs_mount    15    41K       -       15  512,2048,4096
      UMAHash     1     1K       -        2  512,1024
         UART     3     2K       -        3  16,512,1024
    vm_pgdata     1    64K       -        1  
       USBdev  1323 14350K       -     1323  64,128,512,1024
          USB    43    75K       -       47  16,32,64,256,512,1024,2048,4096
    acpi_perf     2     1K       -        2  256
       DEVFS1   104    52K       -      114  512
       DEVFS3   119    30K       -      130  256
      io_apic     1     2K       -        1  2048
        DEVFS    15     1K       -       16  16,128
      memdesc     1     4K       -        1  4096
     nexusdev     3     1K       -        3  16
    pfs_nodes    69    18K       -       69  256
     atkbddev     2     1K       -        2  64
         GEOM    87    22K       -      829  16,32,64,128,256,512,1024,2048
       isadev     4     1K       -        4  128
      acpipwr     1     1K       -        1  64
  ddb_capture     1    48K       -        1  
        linux    12     1K       -       12  64
       feeder    12     1K       -       14  32,128
        mixer     1     4K       -        1  4096

------------------------------------------------------------------------
vmstat -z

ITEM                     SIZE     LIMIT      USED      FREE  REQUESTS  FAILURES

UMA Kegs:                 208,        0,       87,       15,       87,        0
UMA Zones:                256,        0,       87,        3,       87,        0
UMA Slabs:                568,        0,     2168,        2,     3221,        0
UMA RCntSlabs:            568,        0,      142,        5,      142,        0
UMA Hash:                 256,        0,        2,       13,        3,        0
16 Bucket:                152,        0,       58,       17,       58,        0
32 Bucket:                280,        0,       40,        2,       40,        0
64 Bucket:                536,        0,       36,        6,       36,        3
128 Bucket:              1048,        0,       29,        1,       29,        0
VM OBJECT:                216,        0,      401,       85,    15551,        0
MAP:                      232,        0,        7,       25,        7,        0
KMAP ENTRY:               120,    31248,       30,      125,     4101,        0
MAP ENTRY:                120,        0,      139,      202,    30286,        0
DP fakepg:                120,        0,        0,        0,        0,        0
SG fakepg:                120,        0,        0,        0,        0,        0
mt_zone:                 2056,        0,      260,        3,      260,        0
16:                        16,        0,     2285,      235,    45744,        0
32:                        32,        0,     3463,      375,    11478,        0
64:                        64,        0,     2909,      171,    38591,        0
128:                      128,        0,     4720,       36,    13516,        0
256:                      256,        0,      893,       82,     2539,        0
512:                      512,        0,      387,       61,     3087,        0
1024:                    1024,        0,       55,      173,     3997,        0
2048:                    2048,        0,       40,       24,      174,        0
4096:                    4096,        0,      596,       48,     2040,        0
Files:                     80,        0,       10,      170,     4399,        0
TURNSTILE:                136,        0,       97,       23,       97,        0
umtx pi:                   96,        0,        0,        0,        0,        0
PROC:                    1120,        0,       31,       20,     1208,        0
THREAD:                   912,        0,       85,       11,       85,        0
SLEEPQUEUE:                64,        0,       97,      127,       97,        0
VMSPACE:                  392,        0,        9,       41,     1187,        0
cpuset:                    72,        0,        2,       98,        2,        0
audit_record:             952,        0,        0,        0,        0,        0
mbuf_packet:              256,        0,        0,      269,       29,        0
mbuf:                     256,        0,        9,      260,       38,        0
mbuf_cluster:            2048,    16832,      256,       18,      256,        0
mbuf_jumbo_page:         4096,     8416,        0,        5,       28,        0
mbuf_jumbo_9k:           9216,    12624,        0,        0,        0,        0
mbuf_jumbo_16k:         16384,     8416,        0,        0,        0,        0
mbuf_ext_refcnt:            4,        0,        0,        0,        0,        0
g_bio:                    232,        0,        0,      144,   746734,        0
ttyinq:      
Comment 1 Etienne Robillard 2010-04-19 20:37:37 UTC
Hi,

I have an issue running the rt2870 module with a Trendnet TEW-644UB, 
can this be fixed using a native FreeBSD driver or the one provided in Git
is the most current ? (it seems not to have such driver available in 8.X.)

Alternatively, would there be a workaround to apply for using this card
with FreeBSD 8 ?

Thanks!

E



p-s
current kernel config:

#
# GENERIC -- Generic kernel configuration file for FreeBSD/amd64
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
#    
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD$

cpu        HAMMER
ident        MARINA

# To statically compile in device wiring instead of /boot/device.hints
#hints        "GENERIC.hints"        # Default places to look for devices.

# Use the following to compile in values accessible to the kernel
# through getenv() (or kenv(1) in userland). The format of the file
# is 'variable=value', see kenv(1)
#
# env        "GENERIC.env"

makeoptions    DEBUG=-g        # Build kernel with gdb(1) debug symbols

options     SCHED_ULE        # ULE scheduler
#options     SCHED_4BSD

options     PREEMPTION        # Enable kernel thread preemption
options     INET            # InterNETworking
options     INET6            # IPv6 communications protocols
options     SCTP            # Stream Control Transmission Protocol
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     MD_ROOT            # MD is a potential root device
options     NFSCLIENT        # Network Filesystem Client
#options     NFSSERVER        # Network Filesystem Server
#options     NFSLOCKD        # Network Lock Manager
#options     NFS_ROOT        # NFS usable as /, requires NFSCLIENT
options     MSDOSFS            # MSDOS Filesystem
options     CD9660            # ISO 9660 Filesystem
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     COMPAT_IA32        # Compatible with i386 binaries
options     COMPAT_FREEBSD4        # Compatible with FreeBSD4
options     COMPAT_FREEBSD5        # Compatible with FreeBSD5
options     COMPAT_FREEBSD6        # Compatible with FreeBSD6
options     COMPAT_FREEBSD7        # Compatible with FreeBSD7
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     KDTRACE_FRAME        # Ensure frames are compiled in
#options     KDTRACE_HOOKS        # Kernel DTrace hooks

options        WITNESS
options        WITNESS_KDB
options        DDB
options        KDB
options        KDB_UNATTENDED
options        KDB_TRACE

options        NO_ADAPTIVE_RWLOCKS
options        NO_ADAPTIVE_SX

#options        INVARIANTS
#options        DIAGNOSTIC

# Make an SMP-capable kernel by default
options     SMP            # Symmetric MultiProcessor Kernel

device         ksyms    # /dev/ksyms support (Kernel symbols table)

# CPU frequency control
device        cpufreq

# Bus support.
device        acpi
device        pci

# Floppy drives
device        fdc

# ATA and ATAPI devices
device        ata
device        atadisk        # ATA disk drives
device        ataraid        # ATA RAID drives
device        atapicd        # ATAPI CDROM drives
device        atapifd        # ATAPI floppy drives
device        atapist        # ATAPI tape drives
options     ATA_STATIC_ID    # Static device numbering

# SCSI Controllers
device        ahc        # AHA2940 and onboard AIC7xxx devices
options     AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                    # output.  Adds ~128k to driver.
device        ahd        # AHA39320/29320 and onboard AIC79xx devices
options     AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                    # output.  Adds ~215k to driver.
device        amd        # AMD 53C974 (Tekram DC-390(T))
device        hptiop        # Highpoint RocketRaid 3xxx series
device        isp        # Qlogic family
#device        ispfw        # Firmware for QLogic HBAs- normally a module
device        mpt        # LSI-Logic MPT-Fusion
#device        ncr        # NCR/Symbios Logic
device        sym        # NCR/Symbios Logic (newer chipsets + those of 
`ncr')
device        trm        # Tekram DC395U/UW/F DC315U adapters

device        adv        # Advansys SCSI adapters
device        adw        # Advansys wide SCSI adapters
device        aic        # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
device        bt        # Buslogic/Mylex MultiMaster SCSI adapters

# SCSI peripherals
device        scbus        # SCSI bus (required for SCSI)
device        ch        # SCSI media changers
device        da        # Direct Access (disks)
device        sa        # Sequential Access (tape etc)
device        cd        # CD
device        pass        # Passthrough device (direct SCSI access)
device        ses        # SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
device        amr        # AMI MegaRAID
device        arcmsr        # Areca SATA II RAID
#XXX it is not 64-bit clean, -scottl
#device        asr        # DPT SmartRAID V, VI and Adaptec SCSI RAID
device        ciss        # Compaq Smart RAID 5*
device        dpt        # DPT Smartcache III, IV - See NOTES for options
device        hptmv        # Highpoint RocketRAID 182x
device        hptrr        # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx
device        iir        # Intel Integrated RAID
device        ips        # IBM (Adaptec) ServeRAID
device        mly        # Mylex AcceleRAID/eXtremeRAID
device        twa        # 3ware 9000 series PATA/SATA RAID

# RAID controllers
device        aac        # Adaptec FSA RAID
device        aacp        # SCSI passthrough for aac (requires CAM)
device        ida        # Compaq Smart RAID
device        mfi        # LSI MegaRAID SAS
device        mlx        # Mylex DAC960 family
#XXX pointer/int warnings
#device        pst        # Promise Supertrak SX6000
device        twe        # 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
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        splash        # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device        sc

device        agp        # support several AGP chipsets

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device        cbb        # cardbus (yenta) bridge
device        pccard        # PC Card (16-bit) bus
device        cardbus        # CardBus (32-bit) bus

# Serial (COM) ports
device        uart        # Generic UART driver

# Parallel port
device        ppc
device        ppbus        # Parallel port bus (required)
device        lpt        # Printer
device        plip        # TCP/IP over parallel
device        ppi        # Parallel port interface device
#device        vpo        # Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to sio, uart and/or ppc drivers):
#device        puc

# PCI Ethernet NICs.
device        de        # DEC/Intel DC21x4x (``Tulip'')
device        em        # Intel PRO/1000 Gigabit Ethernet Family
device        igb        # Intel PRO/1000 PCIE Server Gigabit Family
device        ixgbe        # Intel PRO/10GbE PCIE Ethernet Family
device        le        # AMD Am7900 LANCE and Am79C9xx PCnet
device        ti        # Alteon Networks Tigon I/II gigabit Ethernet
device        txp        # 3Com 3cR990 (``Typhoon'')
device        vx        # 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device        miibus        # MII bus support
device        ae        # Attansic/Atheros L2 FastEthernet
device        age        # Attansic/Atheros L1 Gigabit Ethernet
device        alc        # Atheros AR8131/AR8132 Ethernet
device        ale        # Atheros AR8121/AR8113/AR8114 Ethernet
device        bce        # Broadcom BCM5706/BCM5708 Gigabit Ethernet
device        bfe        # Broadcom BCM440x 10/100 Ethernet
device        bge        # Broadcom BCM570xx Gigabit Ethernet
device        dc        # DEC/Intel 21143 and various workalikes
device        et        # Agere ET1310 10/100/Gigabit Ethernet
device        fxp        # Intel EtherExpress PRO/100B (82557, 82558)
device        jme        # JMicron JMC250 Gigabit/JMC260 Fast Ethernet
device        lge        # Level 1 LXT1001 gigabit Ethernet
device        msk        # Marvell/SysKonnect Yukon II Gigabit Ethernet
device        nfe        # nVidia nForce MCP on-board Ethernet
device        nge        # NatSemi DP83820 gigabit Ethernet
#device        nve        # nVidia nForce MCP on-board Ethernet Networking
device        pcn        # AMD Am79C97x PCI 10/100 (precedence over 'le')
device        re        # RealTek 8139C+/8169/8169S/8110S
device        rl        # RealTek 8129/8139
device        sf        # Adaptec AIC-6915 (``Starfire'')
device        sis        # Silicon Integrated Systems SiS 900/SiS 7016
device        sk        # SysKonnect SK-984x & SK-982x gigabit Ethernet
device        ste        # Sundance ST201 (D-Link DFE-550TX)
device        stge        # Sundance/Tamarack TC9021 gigabit Ethernet
device        tl        # Texas Instruments ThunderLAN
device        tx        # SMC EtherPower II (83c170 ``EPIC'')
device        vge        # VIA VT612x gigabit Ethernet
device        vr        # VIA Rhine, Rhine II
device        wb        # Winbond W89C840F
device        xl        # 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.  pccard NICs included.
device        cs        # Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
device        ed        # NE[12]000, SMC Ultra, 3c503, DS8390 cards
device        ex        # Intel EtherExpress Pro/10 and Pro/10+
device        ep        # Etherlink III based cards
device        fe        # Fujitsu MB8696x based cards
device        sn        # SMC's 9000 series of Ethernet chips
device        xe        # Xircom pccard Ethernet

# Wireless NIC cards
device        wlan        # 802.11 support
options     IEEE80211_DEBUG    # enable debug msgs
options     IEEE80211_AMPDU_AGE # age frames in AMPDU reorder q's
options     IEEE80211_SUPPORT_MESH    # enable 802.11s draft support
device        wlan_wep    # 802.11 WEP support
device        wlan_ccmp    # 802.11 CCMP support
device        wlan_tkip    # 802.11 TKIP support
device        wlan_amrr    # AMRR transmit rate control algorithm
device        an        # Aironet 4500/4800 802.11 wireless NICs.
device        ath        # Atheros pci/cardbus NIC's
device        ath_hal        # pci/cardbus chip support
options     AH_SUPPORT_AR5416    # enable AR5416 tx/rx descriptors
device        ath_rate_sample    # SampleRate tx rate control for ath
device        ral        # Ralink Technology RT2500 wireless NICs.
device        wi        # WaveLAN/Intersil/Symbol 802.11 wireless NICs.

# Pseudo devices.
device        loop        # Network loopback
device        random        # Entropy device
device        ether        # Ethernet 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

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device        bpf        # Berkeley packet filter

# USB support
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        udbp        # USB Double Bulk Pipe devices
device        uhid        # "Human Interface Devices"
device        ukbd        # Keyboard
device        ulpt        # Printer
device        umass        # Disks/Mass storage - Requires scbus and da
device        ums        # Mouse
device        rum        # Ralink Technology RT2501USB wireless NICs
device        uath        # Atheros AR5523 wireless NICs
device        ural        # Ralink Technology RT2500USB wireless NICs
device        zyd        # ZyDAS zb1211/zb1211b wireless NICs
device        urio        # Diamond Rio 500 MP3 player
# USB Serial devices
device        uark        # Technologies ARK3116 based serial adapters
device        ubsa        # Belkin F5U103 and compatible serial adapters
device        uftdi        # For FTDI usb serial adapters
device        uipaq        # Some WinCE based devices
device        uplcom        # Prolific PL-2303 serial adapters
device        uslcom        # SI Labs CP2101/CP2102 serial adapters
device        uvisor        # Visor and Palm devices
device        uvscom        # USB serial support for DDI pocket's PHS
# USB Ethernet, requires miibus
device        aue        # ADMtek USB Ethernet
device        axe        # ASIX Electronics USB Ethernet
device        cdce        # Generic USB over Ethernet
device        cue        # CATC USB Ethernet
device        kue        # Kawasaki LSI USB Ethernet
device        rue        # RealTek RTL8150 USB Ethernet
device        udav        # Davicom DM9601E USB

# FireWire support
device        firewire    # FireWire bus code
#device        sbp        # SCSI over FireWire (Requires scbus and da)
device        fwe        # Ethernet over FireWire (non-standard!)
device        fwip        # IP over FireWire (RFC 2734,3146)
device        dcons        # Dumb console driver
device        dcons_crom    # Configuration ROM for dcons
Comment 2 Andriy Gapon 2010-10-08 10:47:47 UTC
If you use out-of-tree driver, shouldn't you report this issue to the author of
the driver?


-- 
Andriy Gapon
Comment 3 Andriy Gapon freebsd_committer freebsd_triage 2010-12-05 13:15:07 UTC
State Changed
From-To: open->closed

The problem seems to be with a driver maintained outside 
of FreeBSD source tree. 
Feedback timeout too.