Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2018 02:23:36 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: USB stack
Message-ID:  <CALM2mEkxqQMfzKQ7CmBnGmcu11evt129vAjWjm654PG=FJs2kA@mail.gmail.com>
In-Reply-To: <1F10CBFE-1AAC-4307-976A-0CDA80EDC616@dsl-only.net>
References:  <3F9697E3-3C25-45CB-804A-9C3607E434C4@dsl-only.net> <CALM2mEnaA7zDVfONFQEBtC2WghbRFoFW2iPpmBKohP1pd45CcQ@mail.gmail.com> <0AB4ED58-E01A-4761-B6EF-4D56F8CA21E3@dsl-only.net> <F9A5DBFF-79C8-417D-9B6D-0788976B558C@dsl-only.net> <FA0FA34D-B941-43DB-8885-902B502A5442@dsl-only.net> <CALM2mEnnc4bzpFoRA_F_FayiBuGLwbwzyf-Gb-U6vmQ0RuGuYQ@mail.gmail.com> <1F10CBFE-1AAC-4307-976A-0CDA80EDC616@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 8, 2018 at 1:41 AM, Mark Millard <markmi@dsl-only.net> wrote:

>
> On 2018-Jan-7, at 7:50 AM, blubee blubeeme <gurenchan at gmail.com> wrote:
>
> > I ran this test and here's some results.
> > gstat -pd images:
> >
> > 18GB file from laptop to phone: https://imgur.com/a/7iHwv
> > 18GB file from laptop to ssd: https://imgur.com/a/40Q6V
> > multiple small files from laptop to phone: https://imgur.com/a/B4v4y
> > multiple small files from laptop to ssd: https://imgur.com/a/mDiMu
> >
> > The files are missing timestamps but the originals were taken with scrot
> and have timestamps available here: https://nofile.io/f/
> mzKnkpM9CyC/stats.tar.gz2
> >
> > as far as why there's such high deletions? I can't say I'm only using cp.
>
> I assume that md99 is for a file-based swap-space, such as
> via /var/swap0 file. (As a side note I warn about bugzilla
> 206048 for such contexts.) Otherwise please describe how
> md99 is created. (Below I assume the swap-space usage of
> md99.)
>
> The only other device that your pictures show is your
> NVMe device nvd0.
>
> No picture shows a device for the LG v30 when it is mentioned
> above as being copied to or from. How is it that there is no
> mounted device shown for the LG v30?
>
> No picture shows a device for the SSD when it is mentioned
> above as being copied to or from. How is it that there
> is no mounted device shown for the SSD?
>
> Without a device displayed for the LG-v30/SSD there is nothing
> displayed for its reads or writes. This makes the gstat -pd
> useless.
>
> May be the p needs to be omitted for some reason? gstat -d
>
> ===
> Mark Millard
> markmi at dsl-only.net
>
> You are correct that md99 is a file backed swap disk, I am aware of the
issues but I had to test some things out.

Those tests earlier was a huge time sink.
Here's the dmesg output from earlier:
------------------------
Jan  7 19:13:17 blubee kernel: Copyright (c) 1992-2017 The FreeBSD Project.
Jan  7 19:13:17 blubee kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 1991, 1992, 1993, 1994
Jan  7 19:13:17 blubee kernel: The Regents of the University of California.
All rights reserved.
Jan  7 19:13:17 blubee kernel: FreeBSD is a registered trademark of The
FreeBSD Foundation.
Jan  7 19:13:17 blubee kernel: FreeBSD 12.0-CURRENT #0 r326056: Tue Nov 21
14:54:55 UTC 2017
Jan  7 19:13:17 blubee kernel:
root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
amd64
Jan  7 19:13:17 blubee kernel: FreeBSD clang version 5.0.0
(tags/RELEASE_500/final 312559) (based on LLVM 5.0.0svn)
Jan  7 19:13:17 blubee kernel: WARNING: WITNESS option enabled, expect
reduced performance.
Jan  7 19:13:17 blubee kernel: VT(efifb): resolution 3840x2160
Jan  7 19:13:17 blubee kernel: CPU: Intel(R) Core(TM) i7-6700HQ CPU @
2.60GHz (2592.11-MHz K8-class CPU)
Jan  7 19:13:17 blubee kernel:   Origin="GenuineIntel"  Id=0x506e3
Family=0x6  Model=0x5e  Stepping=3
Jan  7 19:13:17 blubee kernel:
 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Jan  7 19:13:17 blubee kernel:
 Features2=0x7ffafbbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
Jan  7 19:13:17 blubee kernel:   AMD
Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM>
Jan  7 19:13:17 blubee kernel:   AMD Features2=0x121<LAHF,ABM,Prefetch>
Jan  7 19:13:17 blubee kernel:   Structured Extended
Features=0x29c6fbf<FSGSBASE,TSCADJ,SGX,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE>
Jan  7 19:13:17 blubee kernel:   XSAVE
Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
Jan  7 19:13:17 blubee kernel:   VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
Jan  7 19:13:17 blubee kernel:   TSC: P-state invariant, performance
statistics
Jan  7 19:13:17 blubee kernel: real memory  = 34359738368 (32768 MB)
Jan  7 19:13:17 blubee kernel: avail memory = 33147957248 (31612 MB)
Jan  7 19:13:17 blubee kernel: Event timer "LAPIC" quality 600
Jan  7 19:13:17 blubee kernel: ACPI APIC Table: <ALASKA A M I >
Jan  7 19:13:17 blubee kernel: FreeBSD/SMP: Multiprocessor System Detected:
8 CPUs
Jan  7 19:13:17 blubee kernel: FreeBSD/SMP: 1 package(s) x 4 core(s) x 2
hardware threads
Jan  7 19:13:17 blubee kernel: random: unblocking device.
Jan  7 19:13:17 blubee kernel: ioapic0 <Version 2.0> irqs 0-119 on
motherboard
Jan  7 19:13:17 blubee kernel: SMP: AP CPU #1 Launched!
Jan  7 19:13:17 blubee kernel: SMP: AP CPU #4 Launched!
Jan  7 19:13:17 blubee kernel: SMP: AP CPU #2 Launched!
Jan  7 19:13:17 blubee kernel: SMP: AP CPU #3 Launched!
Jan  7 19:13:17 blubee kernel: SMP: AP CPU #6 Launched!
Jan  7 19:13:17 blubee kernel: SMP: AP CPU #5 Launched!
Jan  7 19:13:17 blubee kernel: SMP: AP CPU #7 Launched!
Jan  7 19:13:17 blubee kernel: Timecounter "TSC-low" frequency 1296054319
Hz quality 1000
Jan  7 19:13:17 blubee kernel: random: entropy device external interface
Jan  7 19:13:17 blubee kernel: netmap: loaded module
Jan  7 19:13:17 blubee kernel: [ath_hal] loaded
Jan  7 19:13:17 blubee kernel: module_register_init: MOD_LOAD (vesa,
0xffffffff80f95c20, 0) error 19
Jan  7 19:13:17 blubee kernel: random: registering fast source Intel Secure
Key RNG
Jan  7 19:13:17 blubee kernel: random: fast provider: "Intel Secure Key RNG"
Jan  7 19:13:17 blubee kernel: kbd1 at kbdmux0
Jan  7 19:13:17 blubee kernel: nexus0
Jan  7 19:13:17 blubee kernel: cryptosoft0: <software crypto> on motherboard
Jan  7 19:13:17 blubee kernel: acpi0: <ALASKA A M I > on motherboard
Jan  7 19:13:17 blubee kernel: acpi0: Power Button (fixed)
Jan  7 19:13:17 blubee kernel: cpu0: <ACPI CPU> on acpi0
Jan  7 19:13:17 blubee kernel: cpu1: <ACPI CPU> on acpi0
Jan  7 19:13:17 blubee kernel: cpu2: <ACPI CPU> on acpi0
Jan  7 19:13:17 blubee kernel: cpu3: <ACPI CPU> on acpi0
Jan  7 19:13:17 blubee kernel: cpu4: <ACPI CPU> on acpi0
Jan  7 19:13:17 blubee kernel: cpu5: <ACPI CPU> on acpi0
Jan  7 19:13:17 blubee kernel: cpu6: <ACPI CPU> on acpi0
Jan  7 19:13:17 blubee kernel: cpu7: <ACPI CPU> on acpi0
Jan  7 19:13:17 blubee kernel: hpet0: <High Precision Event Timer> iomem
0xfed00000-0xfed003ff on acpi0
Jan  7 19:13:17 blubee kernel: Timecounter "HPET" frequency 24000000 Hz
quality 950
Jan  7 19:13:17 blubee kernel: Event timer "HPET" frequency 24000000 Hz
quality 550
Jan  7 19:13:17 blubee kernel: atrtc0: <AT realtime clock> port 0x70-0x77
irq 8 on acpi0
Jan  7 19:13:17 blubee kernel: atrtc0: Warning: Couldn't map I/O.
Jan  7 19:13:17 blubee kernel: atrtc0: registered as a time-of-day clock,
resolution 1.000000s
Jan  7 19:13:17 blubee kernel: Event timer "RTC" frequency 32768 Hz quality
0
Jan  7 19:13:17 blubee kernel: attimer0: <AT timer> port
0x40-0x43,0x50-0x53 irq 0 on acpi0
Jan  7 19:13:17 blubee kernel: Timecounter "i8254" frequency 1193182 Hz
quality 0
Jan  7 19:13:17 blubee kernel: Event timer "i8254" frequency 1193182 Hz
quality 100
Jan  7 19:13:17 blubee kernel: Timecounter "ACPI-fast" frequency 3579545 Hz
quality 900
Jan  7 19:13:17 blubee kernel: acpi_timer0: <24-bit timer at 3.579545MHz>
port 0x1808-0x180b on acpi0
Jan  7 19:13:17 blubee kernel: acpi_ec0: <Embedded Controller: GPE 0x3>
port 0x62,0x66 on acpi0
Jan  7 19:13:17 blubee kernel: pcib0: <ACPI Host-PCI bridge> port
0xcf8-0xcff on acpi0
Jan  7 19:13:17 blubee kernel: pci0: <ACPI PCI bus> on pcib0
Jan  7 19:13:17 blubee kernel: pcib1: <ACPI PCI-PCI bridge> at device 1.0
on pci0
Jan  7 19:13:17 blubee kernel: pci1: <ACPI PCI bus> on pcib1
Jan  7 19:13:17 blubee kernel: vgapci0: <VGA-compatible display> port
0xe000-0xe07f mem
0xdb000000-0xdbffffff,0x90000000-0x9fffffff,0xa0000000-0xa1ffffff at device
0.0 on pci1
Jan  7 19:13:17 blubee kernel: nvidia0: <GeForce GTX 1070> on vgapci0
Jan  7 19:13:17 blubee kernel: vgapci0: child nvidia0 requested
pci_enable_io
Jan  7 19:13:17 blubee kernel: vgapci0: child nvidia0 requested
pci_enable_io
Jan  7 19:13:17 blubee kernel: vgapci0: Boot video device
Jan  7 19:13:17 blubee kernel: xhci0: <Intel Sunrise Point USB 3.0
controller> mem 0x2ffff10000-0x2ffff1ffff at device 20.0 on pci0
Jan  7 19:13:17 blubee kernel: xhci0: 32 bytes context size, 64-bit DMA
Jan  7 19:13:17 blubee kernel: usbus0 on xhci0
Jan  7 19:13:17 blubee kernel: usbus0: 5.0Gbps Super Speed USB v3.0
Jan  7 19:13:17 blubee kernel: pci0: <simple comms> at device 22.0 (no
driver attached)
Jan  7 19:13:17 blubee kernel: ahci0: <Intel Sunrise Point AHCI SATA
controller> port 0xf050-0xf057,0xf040-0xf043,0xf020-0xf03f mem
0xdc404000-0xdc405fff,0xdc407000-0xdc4070ff,0xdc406000-0xdc4067ff at device
23.0 on pci0
Jan  7 19:13:17 blubee kernel: ahci0: AHCI v1.31 with 3 6Gbps ports, Port
Multiplier not supported
Jan  7 19:13:17 blubee kernel: ahcich1: <AHCI channel> at channel 1 on ahci0
Jan  7 19:13:17 blubee kernel: ahcich2: <AHCI channel> at channel 2 on ahci0
Jan  7 19:13:17 blubee kernel: ahcich3: <AHCI channel> at channel 3 on ahci0
Jan  7 19:13:17 blubee kernel: ahciem0: <AHCI enclosure management bridge>
on ahci0
Jan  7 19:13:17 blubee kernel: ahciem0: EM timeout
Jan  7 19:13:17 blubee kernel: device_attach: ahciem0 attach returned 6
Jan  7 19:13:17 blubee kernel: pcib2: <ACPI PCI-PCI bridge> at device 28.0
on pci0
Jan  7 19:13:17 blubee kernel: pcib2: [GIANT-LOCKED]
Jan  7 19:13:17 blubee kernel: pcib3: <ACPI PCI-PCI bridge> at device 28.4
on pci0
Jan  7 19:13:17 blubee kernel: pci2: <ACPI PCI bus> on pcib3
Jan  7 19:13:17 blubee kernel: pci2: <unknown> at device 0.0 (no driver
attached)
Jan  7 19:13:17 blubee kernel: re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G
PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem
0xdc304000-0xdc304fff,0xdc300000-0xdc303fff at device 0.1 on pci2
Jan  7 19:13:17 blubee kernel: re0: Using 1 MSI-X message
Jan  7 19:13:17 blubee kernel: re0: turning off MSI enable bit.
Jan  7 19:13:17 blubee kernel: re0: ASPM disabled
Jan  7 19:13:17 blubee kernel: re0: Chip rev. 0x5c800000
Jan  7 19:13:17 blubee kernel: re0: MAC rev. 0x00000000
Jan  7 19:13:17 blubee kernel: miibus0: <MII bus> on re0
Jan  7 19:13:17 blubee kernel: rgephy0: <RTL8251/8153 1000BASE-T media
interface> PHY 1 on miibus0
Jan  7 19:13:17 blubee kernel: rgephy0:  none, 10baseT, 10baseT-FDX,
10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow,
1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow,
1000baseT-FDX-flow-master, auto, auto-flow
Jan  7 19:13:17 blubee kernel: re0: Using defaults for TSO: 65518/35/2048
Jan  7 19:13:17 blubee kernel: re0: Ethernet address: 80:fa:5b:3a:2f:8b
Jan  7 19:13:17 blubee kernel: re0: netmap queues/slots: TX 1/256, RX 1/256
Jan  7 19:13:17 blubee kernel: pcib4: <ACPI PCI-PCI bridge> at device 28.6
on pci0
Jan  7 19:13:17 blubee kernel: pci3: <ACPI PCI bus> on pcib4
Jan  7 19:13:17 blubee kernel: iwm0: <Intel(R) Dual Band Wireless AC 7265>
mem 0xdc200000-0xdc201fff at device 0.0 on pci3
Jan  7 19:13:17 blubee kernel: pcib5: <ACPI PCI-PCI bridge> at device 29.0
on pci0
Jan  7 19:13:17 blubee kernel: pci4: <ACPI PCI bus> on pcib5
Jan  7 19:13:17 blubee kernel: nvme0: <Generic NVMe Device> mem
0xdc100000-0xdc103fff at device 0.0 on pci4
Jan  7 19:13:17 blubee kernel: isab0: <PCI-ISA bridge> at device 31.0 on
pci0
Jan  7 19:13:17 blubee kernel: isa0: <ISA bus> on isab0
Jan  7 19:13:17 blubee kernel: pci0: <memory> at device 31.2 (no driver
attached)
Jan  7 19:13:17 blubee kernel: hdac0: <Intel Sunrise Point HDA Controller>
mem 0x2ffff20000-0x2ffff23fff,0x2ffff00000-0x2ffff0ffff at device 31.3 on
pci0
Jan  7 19:13:17 blubee kernel: acpi_button0: <Power Button> on acpi0
Jan  7 19:13:17 blubee kernel: acpi_button1: <Sleep Button> on acpi0
Jan  7 19:13:17 blubee kernel: acpi_lid0: <Control Method Lid Switch> on
acpi0
Jan  7 19:13:17 blubee kernel: acpi_acad0: <AC Adapter> on acpi0
Jan  7 19:13:17 blubee kernel: battery0: <ACPI Control Method Battery> on
acpi0
Jan  7 19:13:17 blubee kernel: acpi_tz0: <Thermal Zone> on acpi0
Jan  7 19:13:17 blubee kernel: atkbdc0: <Keyboard controller (i8042)> port
0x60,0x64 irq 1 on acpi0
Jan  7 19:13:17 blubee kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Jan  7 19:13:17 blubee kernel: kbd0 at atkbd0
Jan  7 19:13:17 blubee kernel: atkbd0: [GIANT-LOCKED]
Jan  7 19:13:17 blubee kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Jan  7 19:13:17 blubee kernel: psm0: [GIANT-LOCKED]
Jan  7 19:13:17 blubee kernel: psm0: model Generic PS/2 mouse, device ID 0
Jan  7 19:13:17 blubee kernel: est0: <Enhanced SpeedStep Frequency Control>
on cpu0
Jan  7 19:13:17 blubee kernel: est1: <Enhanced SpeedStep Frequency Control>
on cpu1
Jan  7 19:13:17 blubee kernel: est2: <Enhanced SpeedStep Frequency Control>
on cpu2
Jan  7 19:13:17 blubee kernel: est3: <Enhanced SpeedStep Frequency Control>
on cpu3
Jan  7 19:13:17 blubee kernel: est4: <Enhanced SpeedStep Frequency Control>
on cpu4
Jan  7 19:13:17 blubee kernel: est5: <Enhanced SpeedStep Frequency Control>
on cpu5
Jan  7 19:13:17 blubee kernel: est6: <Enhanced SpeedStep Frequency Control>
on cpu6
Jan  7 19:13:17 blubee kernel: est7: <Enhanced SpeedStep Frequency Control>
on cpu7
Jan  7 19:13:17 blubee kernel: ZFS filesystem version: 5
Jan  7 19:13:17 blubee kernel: ZFS storage pool version: features support
(5000)
Jan  7 19:13:17 blubee kernel: Timecounters tick every 1.000 msec
Jan  7 19:13:17 blubee kernel: ugen0.1: <0x8086 XHCI root HUB> at usbus0
Jan  7 19:13:17 blubee kernel: iwm0: hw rev 0x180, fw ver 17.352738.0,
address 60:57:18:94:c6:4a
Jan  7 19:13:17 blubee kernel: uhub0: <0x8086 XHCI root HUB, class 9/0, rev
3.00/1.00, addr 1> on usbus0
Jan  7 19:13:17 blubee kernel: nvd0: <INTEL SSDPEKKW256G7> NVMe namespace
Jan  7 19:13:17 blubee kernel: nvd0: 244198MB (500118192 512 byte sectors)
Jan  7 19:13:17 blubee kernel: hdacc0: <Realtek ALC899 HDA CODEC> at cad 0
on hdac0
Jan  7 19:13:17 blubee kernel: hdaa0: <Realtek ALC899 Audio Function Group>
at nid 1 on hdacc0
Jan  7 19:13:17 blubee kernel: pcm0: <Realtek ALC899 (Analog)> at nid 20
and 24 on hdaa0
Jan  7 19:13:17 blubee kernel: pcm1: <Realtek ALC899 (Rear Analog
Line-out)> at nid 23 on hdaa0
Jan  7 19:13:17 blubee kernel: pcm2: <Realtek ALC899 (Rear Digital)> at nid
30 on hdaa0
Jan  7 19:13:17 blubee kernel: WARNING: WITNESS option enabled, expect
reduced performance.
Jan  7 19:13:17 blubee kernel: Trying to mount root from
zfs:zroot/ROOT/default []...
Jan  7 19:13:17 blubee kernel: Root mount waiting for: usbus0
Jan  7 19:13:17 blubee kernel: uhub0: 24 ports with 24 removable, self
powered
Jan  7 19:13:17 blubee kernel: Root mount waiting for: usbus0
Jan  7 19:13:17 blubee kernel: ugen0.2: <Razer Razer Abyssus 1800> at usbus0
Jan  7 19:13:17 blubee kernel: ukbd0 on uhub0
Jan  7 19:13:17 blubee kernel: ukbd0: <Razer Razer Abyssus 1800, class 0/0,
rev 2.00/2.00, addr 1> on usbus0
Jan  7 19:13:17 blubee kernel: kbd2 at ukbd0
Jan  7 19:13:17 blubee kernel: Root mount waiting for: usbus0
Jan  7 19:13:17 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
Jan  7 19:13:17 blubee kernel: ugen0.4: <vendor 0x8087 product 0x0a2a> at
usbus0
Jan  7 19:13:17 blubee kernel: Root mount waiting for: usbus0
Jan  7 19:13:17 blubee kernel: ugen0.5: <SunplusIT Inc Chicony USB 2.0
Camera> at usbus0
Jan  7 19:13:17 blubee kernel: nvidia-modeset: Loading NVIDIA Kernel Mode
Setting Driver for UNIX platforms  384.90  Tue Sep 19 17:29:32 PDT 2017
Jan  7 19:13:17 blubee kernel: acquiring duplicate lock of same type:
"os.lock_sx"
Jan  7 19:13:17 blubee kernel:  1st os.lock_sx @ nvidia_os.c:638
Jan  7 19:13:17 blubee kernel:  2nd os.lock_sx @ nvidia_os.c:638
Jan  7 19:13:17 blubee kernel: stack backtrace:
Jan  7 19:13:17 blubee kernel: #0 0xffffffff80acfa03 at
witness_debugger+0x73
Jan  7 19:13:17 blubee kernel: #1 0xffffffff80acf882 at
witness_checkorder+0xe02
Jan  7 19:13:17 blubee kernel: #2 0xffffffff80a748a8 at _sx_xlock+0x68
Jan  7 19:13:17 blubee kernel: #3 0xffffffff82dc9112 at
os_acquire_mutex+0x32
Jan  7 19:13:17 blubee kernel: #4 0xffffffff82ccff06 at _nv031368rm+0x16
Jan  7 19:13:17 blubee kernel: wlan0: Ethernet address: 60:57:18:94:c6:4a
Jan  7 19:13:17 blubee kernel: wlan0: link state changed to UP
Jan  7 19:13:17 blubee kernel: re0: link state changed to DOWN
Jan  7 19:13:17 blubee kernel: ums0 on uhub0
Jan  7 19:13:17 blubee kernel: ums0: <Razer Razer Abyssus 1800, class 0/0,
rev 2.00/2.00, addr 1> on usbus0
Jan  7 19:13:17 blubee kernel: ums0: 3 buttons and [XYZ] coordinates ID=0
Jan  7 19:13:17 blubee kernel: ubt0 on uhub0
Jan  7 19:13:17 blubee kernel: ubt0: <vendor 0x8087 product 0x0a2a, class
224/1, rev 2.01/0.01, addr 3> on usbus0
Jan  7 19:13:17 blubee kernel: WARNING: attempt to domain_add(bluetooth)
after domainfinalize()
Jan  7 19:13:17 blubee kernel: WARNING: attempt to domain_add(netgraph)
after domainfinalize()
Jan  7 19:13:17 blubee kernel: ubt0: ubt_ctrl_write_callback:780: control
transfer failed: USB_ERR_TIMEOUT
Jan  7 19:13:17 blubee kernel: ng_hci_process_command_timeout: ubt0hci -
unable to complete HCI command OGF=0x3, OCF=0x3. Timeout
Jan  7 19:13:17 blubee ntpd[876]: ntpd 4.2.8p10-a (1): Starting
Jan  7 19:13:17 blubee ntpd[877]: leapsecond file
('/var/db/ntpd.leap-seconds.list'): good hash signature
Jan  7 19:13:17 blubee ntpd[877]: leapsecond file
('/var/db/ntpd.leap-seconds.list'): loaded, expire=2018-06-28T00:00:00Z
last=2017-01-01T00:00:00Z ofs=37
Jan  7 19:13:17 blubee kernel: .
Jan  7 19:13:17 blubee kernel: g_handleattr: md99 bio_length 24 len 31 ->
EFAULT
Jan  7 19:13:18 blubee dbus[931]: [system] Activating service
name='org.freedesktop.ConsoleKit' (using servicehelper)
Jan  7 19:13:18 blubee dbus[931]: [system] Activating service
name='org.freedesktop.PolicyKit1' (using servicehelper)
Jan  7 19:13:18 blubee dbus[931]: [system] Successfully activated service
'org.freedesktop.ConsoleKit'
Jan  7 19:13:18 blubee dbus[931]: [system] Successfully activated service
'org.freedesktop.PolicyKit1'
Jan  7 19:13:31 blubee kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM:
Argument #4 type mismatch - Found [Buffer], ACPI requires [Package]
(20171110/nsarguments-210)
Jan  7 19:13:32 blubee kernel: acquiring duplicate lock of same type:
"os.lock_mtx"
Jan  7 19:13:32 blubee kernel:  1st os.lock_mtx @ nvidia_os.c:873
Jan  7 19:13:32 blubee kernel:  2nd os.lock_mtx @ nvidia_os.c:873
Jan  7 19:13:32 blubee kernel: stack backtrace:
Jan  7 19:13:32 blubee kernel: #0 0xffffffff80acfa03 at
witness_debugger+0x73
Jan  7 19:13:32 blubee kernel: #1 0xffffffff80acf882 at
witness_checkorder+0xe02
Jan  7 19:13:32 blubee kernel: #2 0xffffffff80a4b8dc at
__mtx_lock_flags+0x9c
Jan  7 19:13:32 blubee kernel: #3 0xffffffff82dc958b at
os_acquire_spinlock+0x1b
Jan  7 19:13:32 blubee kernel: #4 0xffffffff82ccc0ec at _nv030732rm+0xc
Jan  7 19:13:32 blubee kernel: nvidia-modeset: Allocated GPU:0
(GPU-54a7b304-c99d-efee-0117-0ce119063cd6) @ PCI:0000:01:00.0
Jan  7 19:13:49 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 1
Jan  7 19:13:50 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 2
Jan  7 19:13:51 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 3
Jan  7 19:13:52 blubee adb: dnssd_clientstub ConnectToServer: connect()
failed path:/var/run/mdnsd Socket:6 Err:-1 Errno:2 No such file or directory
Jan  7 19:14:07 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
(disconnected)
Jan  7 19:14:12 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
Jan  7 19:14:12 blubee root: Unknown USB device: vendor 0x1004 product
0x61f9 bus uhub0
Jan  7 19:14:12 blubee root: Unknown USB device: vendor 0x1004 product
0x61f9 bus uhub0
Jan  7 19:14:48 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
(disconnected)
Jan  7 19:14:49 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
Jan  7 19:14:49 blubee root: Unknown USB device: vendor 0x1004 product
0x633e bus uhub0
Jan  7 19:14:49 blubee root: Unknown USB device: vendor 0x1004 product
0x633e bus uhub0
Jan  7 19:15:02 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 1
Jan  7 19:15:03 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 2
Jan  7 19:15:04 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 3
Jan  7 19:15:05 blubee adb: dnssd_clientstub ConnectToServer: connect()
failed path:/var/run/mdnsd Socket:8 Err:-1 Errno:2 No such file or directory
Jan  7 19:15:06 blubee root: Unknown USB device: vendor 0x1004 product
0x633e bus uhub0
Jan  7 22:29:01 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
(disconnected)
Jan  7 22:40:12 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
Jan  7 22:40:12 blubee root: Unknown USB device: vendor 0x1004 product
0x61f9 bus uhub0
Jan  7 22:40:12 blubee root: Unknown USB device: vendor 0x1004 product
0x61f9 bus uhub0
Jan  7 22:43:22 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
(disconnected)
Jan  7 22:43:25 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
Jan  7 22:43:25 blubee root: Unknown USB device: vendor 0x1004 product
0x61f9 bus uhub0
Jan  7 22:43:25 blubee kernel: lock order reversal:
Jan  7 22:43:25 blubee kernel:  1st 0xfffff807d194b9a0 zfs (zfs) @
/usr/src/sys/kern/vfs_vnops.c:568
Jan  7 22:43:25 blubee kernel:  2nd 0xfffffe07c2632680 bufwait (bufwait) @
/usr/src/sys/vm/vm_pager.c:374
Jan  7 22:43:25 blubee kernel: stack backtrace:
Jan  7 22:43:25 blubee kernel: #0 0xffffffff80acfa03 at
witness_debugger+0x73
Jan  7 22:43:25 blubee kernel: #1 0xffffffff80acf882 at
witness_checkorder+0xe02
Jan  7 22:43:25 blubee kernel: #2 0xffffffff80a424c3 at __lockmgr_args+0x883
Jan  7 22:43:25 blubee kernel: #3 0xffffffff80da0f19 at initpbuf+0xb9
Jan  7 22:43:25 blubee kernel: #4 0xffffffff80da0e34 at getpbuf+0x124
Jan  7 22:43:25 blubee kernel: #5 0xffffffff80d785b6 at sw
Jan  7 22:43:25 blubee kernel: ap_pager_getpages+0x46
Jan  7 22:43:25 blubee kernel: #6 0xffffffff80da0a3a at vm_pager_get_p
Jan  7 22:43:25 blubee kernel: ages+0x4a
Jan  7 22:43:25 blubee kernel: #7 0xffffffff80d84762 at vm_fault_hold+0xf12
Jan  7 22:43:25 blubee kernel: #8 0xffffffff80d86389 at
vm_fault_quick_hold_pages+0x139
Jan  7 22:43:25 blubee kernel: #9 0xffffffff80b4b41f at vn_io_fault1+0x2cf
Jan  7 22:43:25 blubee kernel:
Jan  7 22:43:25 blubee kernel: #10 0xffffffff80b4b045 at vn_rdwr+0x1b5
Jan  7 22:43:25 blubee kernel: #11 0xffffffff80b4b5e2 at
vn_rdwr_inchunks+0x92
Jan  7 22:43:25 blubee kernel: #12 0xffffffff809fd18c at elf64_cor
Jan  7 22:43:25 blubee kernel: edump+0xcec
Jan  7 22:43:25 blubee kernel: #13 0xffffffff80a70
Jan  7 22:43:25 blubee kernel: 13c at sigexit+0x81c
Jan  7 22:43:25 blubee kernel: #14 0xffffffff80a70970 at postsig+0x1c0
Jan  7 22:43:25 blubee kernel: #15 0xffffffff80ac5557 at ast+0x2e7
Jan  7 22:43:25 blubee kernel: #16 0xffffffff80ef6f69 at doreti_ast+0x1f
Jan  7 22:43:25 blubee root: Unknown USB device: vendor 0x1004 product
0x61f9 bus uhub0
Jan  7 22:43:25 blubee kernel: pid 1216 (adb), uid 0: exited on signal 10
(core dumped)
Jan  7 22:43:29 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 1
Jan  7 22:43:30 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 2
Jan  7 22:43:31 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 3
Jan  7 22:43:32 blubee adb: dnssd_clientstub ConnectToServer: connect()
failed path:/var/run/mdnsd Socket:9 Err:-1 Errno:2 No such file or directory
Jan  7 22:43:50 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 1
Jan  7 22:43:51 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 2
Jan  7 22:43:52 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 3
Jan  7 22:43:53 blubee adb: dnssd_clientstub ConnectToServer: connect()
failed path:/var/run/mdnsd Socket:8 Err:-1 Errno:2 No such file or directory
Jan  7 22:43:54 blubee root: Unknown USB device: vendor 0x1004 product
0x61f9 bus uhub0
Jan  7 22:55:09 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
(disconnected)
Jan  7 23:00:37 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
Jan  7 23:00:37 blubee root: Unknown USB device: vendor 0x1004 product
0x61f9 bus uhub0
Jan  7 23:00:37 blubee root: Unknown USB device: vendor 0x1004 product
0x61f9 bus uhub0
Jan  7 23:01:40 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 1
Jan  7 23:01:41 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 2
Jan  7 23:01:42 blubee adb: dnssd_clientstub ConnectToServer: connect()->
No of tries: 3
Jan  7 23:01:43 blubee adb: dnssd_clientstub ConnectToServer: connect()
failed path:/var/run/mdnsd Socket:8 Err:-1 Errno:2 No such file or directory
Jan  7 23:01:44 blubee root: Unknown USB device: vendor 0x1004 product
0x61f9 bus uhub0
Jan  7 23:04:12 blubee kernel: ugen0.3: <LGE LG-H930> at usbus0
(disconnected)
Jan  7 23:04:33 blubee kernel: ugen0.3: <StoreJet Transcend StoreJet
Transcend> at usbus0
Jan  7 23:04:33 blubee kernel: umass0 on uhub0
Jan  7 23:04:33 blubee kernel: umass0: <StoreJet Transcend StoreJet
Transcend, class 0/0, rev 3.00/80.00, addr 10> on usbus0
Jan  7 23:04:33 blubee kernel: umass0:  SCSI over Bulk-Only; quirks = 0x0100
Jan  7 23:04:33 blubee kernel: umass0:3:0: Attached to scbus3
Jan  7 23:04:33 blubee kernel: da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
Jan  7 23:04:33 blubee kernel: da0: <StoreJet Transcend 0> Fixed Direct
Access SPC-4 SCSI device
Jan  7 23:04:33 blubee kernel: da0: Serial Number NZY8239W
Jan  7 23:04:33 blubee kernel: da0: 400.000MB/s transfers
Jan  7 23:04:33 blubee kernel: da0: 953869MB (1953525168 512 byte sectors)
Jan  7 23:04:33 blubee kernel: da0: quirks=0x2<NO_6_BYTE>
Jan  7 23:06:02 blubee kernel: lock order reversal:
Jan  7 23:06:02 blubee kernel:  1st 0xfffff803eba695f0 ufs (ufs) @
/usr/src/sys/kern/vfs_syscalls.c:3965
Jan  7 23:06:02 blubee kernel:  2nd 0xfffffe07c2636440 bufwait (bufwait) @
/usr/src/sys/kern/vfs_bio.c:3562
Jan  7 23:06:02 blubee kernel: stack backtrace:
Jan  7 23:06:02 blubee kernel: #0 0xffffffff80acfa03 at
witness_debugger+0x73
Jan  7 23:06:02 blubee kernel: #1 0xffffffff80acf882 at
witness_checkorder+0xe02
Jan  7 23:06:02 blubee kernel: #2 0xffffffff80a424c3 at __lockmgr_args+0x883
Jan  7 23:06:02 blubee kernel: #3 0xffffffff80b17f8e at getblk+0x4fe
Jan  7 23:06:02 blubee kernel: #4 0xffffffff80b17884 at breadn_flags+0x34
Jan  7 23:06:02 blubee kernel: #5 0xffffffff80d5fb36 at ffs_blkatoff+0x86
Jan  7 23:06:02 blubee kernel: #6 0xffffffff80d71c4e at ufs_readdir+0x17e
Jan  7 23:06:02 blubee kernel: #7 0xffffffff81093d09 at VOP_READDIR_APV+0xd9
Jan  7 23:06:02 blubee kernel: #8 0xffffffff80b483cf at
kern_getdirentries+0x24f
Jan  7 23:06:02 blubee kernel: #9 0xffffffff80b485d9 at
sys_getdirentries+0x29
Jan  7 23:06:02 blubee kernel: #10 0xffffffff80f16d2b at amd64_syscall+0x79b
Jan  7 23:06:02 blubee kernel: #11 0xffffffff80ef5b7b at Xfast_syscall+0xfb
Jan  7 23:07:26 blubee kernel: lock order reversal:
Jan  7 23:07:26 blubee kernel:  1st 0xfffff8017ae98a00 dirhash (dirhash) @
/usr/src/sys/ufs/ufs/ufs_dirhash.c:214
Jan  7 23:07:26 blubee kernel:  2nd 0xfffffe07c263f340 bufwait (bufwait) @
/usr/src/sys/kern/vfs_bio.c:3562
Jan  7 23:07:26 blubee kernel: stack backtrace:
Jan  7 23:07:26 blubee kernel: #0 0xffffffff80acfa03 at
witness_debugger+0x73
Jan  7 23:07:26 blubee kernel: #1 0xffffffff80acf882 at
witness_checkorder+0xe02
Jan  7 23:07:26 blubee kernel: #2 0xffffffff80a424c3 at __lockmgr_args+0x883
Jan  7 23:07:26 blubee kernel: #3 0xffffffff80b17f8e at getblk+0x4fe
Jan  7 23:07:26 blubee kernel: #4 0xffffffff80b17884 at breadn_flags+0x34
Jan  7 23:07:26 blubee kernel: #5 0xffffffff80d5fb36 at ffs_blkatoff+0x86
Jan  7 23:07:26 blubee kernel: #6 0xffffffff80d69419 at
ufsdirhash_build+0x959
Jan  7 23:07:26 blubee kernel: #7 0xffffffff80d6bcca at ufs_lookup_ino+0x1aa
Jan  7 23:07:26 blubee kernel: #8 0xffffffff81091873 at
VOP_CACHEDLOOKUP_APV+0xd3
Jan  7 23:07:26 blubee kernel: #9 0xffffffff80b24166 at
vfs_cache_lookup+0xd6
Jan  7 23:07:26 blubee kernel: #10 0xffffffff81091703 at VOP_LOOKUP_APV+0xd3
Jan  7 23:07:26 blubee kernel: #11 0xffffffff80b2d542 at lookup+0x682
Jan  7 23:07:26 blubee kernel: #12 0xffffffff80b2caca at namei+0x51a
Jan  7 23:07:26 blubee kernel: #13 0xffffffff80b44240 at kern_unlinkat+0x80
Jan  7 23:07:26 blubee kernel: #14 0xffffffff80f16d2b at amd64_syscall+0x79b
Jan  7 23:07:26 blubee kernel: #15 0xffffffff80ef5b7b at Xfast_syscall+0xfb
Jan  8 00:07:55 blubee kernel: lock order reversal:
Jan  8 00:07:55 blubee kernel:  1st 0xfffff80877d6e418 zfs (zfs) @
/usr/src/sys/kern/vfs_mount.c:1276
Jan  8 00:07:55 blubee kernel:  2nd 0xfffff8000a3609a0 syncer (syncer) @
/usr/src/sys/kern/vfs_subr.c:2770
Jan  8 00:07:55 blubee kernel: stack backtrace:
Jan  8 00:07:55 blubee kernel: #0 0xffffffff80acfa03 at
witness_debugger+0x73
Jan  8 00:07:55 blubee kernel: #1 0xffffffff80acf882 at
witness_checkorder+0xe02
Jan  8 00:07:55 blubee kernel: #2 0xffffffff80a41b8e at
lockmgr_lock_fast_path+0x1ae
Jan  8 00:07:55 blubee kernel: #3 0xffffffff81094309 at VOP_LOCK1_APV+0xd9
Jan  8 00:07:55 blubee kernel: #4 0xffffffff80b4ac36 at _vn_lock+0x66
Jan  8 00:07:55 blubee kernel: #5 0xffffffff80b39dd6 at vputx+0x156
Jan  8 00:07:55 blubee kernel: #6 0xffffffff80b31888 at dounmount+0x4d8
Jan  8 00:07:55 blubee kernel: #7 0xffffffff80b3132f at sys_unmount+0x30f
Jan  8 00:07:55 blubee kernel: #8 0xffffffff80f16d2b at amd64_syscall+0x79b
Jan  8 00:07:55 blubee kernel: #9 0xffffffff80ef5b7b at Xfast_syscall+0xfb
Jan  8 00:07:55 blubee kernel: lock order reversal:
Jan  8 00:07:55 blubee kernel:  1st 0xfffff80877d6e418 zfs (zfs) @
/usr/src/sys/kern/vfs_mount.c:1276
Jan  8 00:07:55 blubee kernel:  2nd 0xfffff8014af929a0 devfs (devfs) @
/usr/src/sys/ufs/ffs/ffs_vfsops.c:1416
Jan  8 00:07:55 blubee kernel: stack backtrace:
Jan  8 00:07:55 blubee kernel: #0 0xffffffff80acfa03 at
witness_debugger+0x73
Jan  8 00:07:55 blubee kernel: #1 0xffffffff80acf882 at
witness_checkorder+0xe02
Jan  8 00:07:55 blubee kernel: #2 0xffffffff80a41b8e at
lockmgr_lock_fast_path+0x1ae
Jan  8 00:07:55 blubee kernel: #3 0xffffffff81094309 at VOP_LOCK1_APV+0xd9
Jan  8 00:07:55 blubee kernel: #4 0xffffffff80b4ac36 at _vn_lock+0x66
Jan  8 00:07:55 blubee kernel: #5 0xffffffff80d60b43 at ffs_flushfiles+0x93
Jan  8 00:07:55 blubee kernel: #6 0xffffffff80d6311e at ffs_unmount+0x7e
Jan  8 00:07:55 blubee kernel: #7 0xffffffff80b318c8 at dounmount+0x518
Jan  8 00:07:55 blubee kernel: #8 0xffffffff80b3132f at sys_unmount+0x30f
Jan  8 00:07:55 blubee kernel: #9 0xffffffff80f16d2b at amd64_syscall+0x79b
Jan  8 00:07:55 blubee kernel: #10 0xffffffff80ef5b7b at Xfast_syscall+0xfb
Jan  8 00:07:55 blubee kernel: lock order reversal:
Jan  8 00:07:55 blubee kernel:  1st 0xffffffff81eab970 GEOM topology (GEOM
topology) @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1303
Jan  8 00:07:55 blubee kernel:  2nd 0xfffffe07c3f55680 bufwait (bufwait) @
/usr/src/sys/kern/vfs_subr.c:1758
Jan  8 00:07:55 blubee kernel: stack backtrace:
Jan  8 00:07:55 blubee kernel: #0 0xffffffff80acfa03 at
witness_debugger+0x73
Jan  8 00:07:55 blubee kernel: #1 0xffffffff80acf882 at
witness_checkorder+0xe02
Jan  8 00:07:55 blubee kernel: #2 0xffffffff80a424c3 at __lockmgr_args+0x883
Jan  8 00:07:55 blubee kernel: #3 0xffffffff80b37783 at flushbuflist+0x103
Jan  8 00:07:55 blubee kernel: #4 0xffffffff80b37411 at bufobj_invalbuf+0x81
Jan  8 00:07:55 blubee kernel: #5 0xffffffff809bf426 at g_vfs_close+0x46
Jan  8 00:07:55 blubee kernel: #6 0xffffffff80d632d0 at ffs_unmount+0x230
Jan  8 00:07:55 blubee kernel: #7 0xffffffff80b318c8 at dounmount+0x518
Jan  8 00:07:55 blubee kernel: #8 0xffffffff80b3132f at sys_unmount+0x30f
Jan  8 00:07:55 blubee kernel: #9 0xffffffff80f16d2b at amd64_syscall+0x79b
Jan  8 00:07:55 blubee kernel: #10 0xffffffff80ef5b7b at Xfast_syscall+0xfb
Jan  8 00:07:59 blubee kernel: ugen0.3: <StoreJet Transcend StoreJet
Transcend> at usbus0 (disconnected)
Jan  8 00:07:59 blubee kernel: umass0: at uhub0, port 17, addr 10
(disconnected)
Jan  8 00:07:59 blubee kernel: da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
Jan  8 00:07:59 blubee kernel: da0: <StoreJet Transcend 0>  s/n NZY8239W
         detached
Jan  8 00:07:59 blubee kernel: (da0:umass-sim0:0:0:0): Periph destroyed
Jan  8 00:07:59 blubee kernel: umass0: detached
----------------------------------

I don't know why gstat isn't showing the info u are looking for.

You said earlier that something was getting deleted,
I don't know what could be causing that.

I've provided tons of debug out, logs, pciconf, dmesg, etc...
Even say forget the mobile device and go from
zpool

Are you saying that there's something misconfigured on my end?
What other info do you need me to provide to try to figure out
what's going on or why I'm getting these transfer rates?



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