From owner-freebsd-current@freebsd.org Sat Mar 19 21:07:42 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AE92AD60F4; Sat, 19 Mar 2016 21:07:42 +0000 (UTC) (envelope-from flo@snakeoilproductions.net) Received: from turad.lysandor.de (turad.lysandor.de [136.243.10.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B55DC15A9; Sat, 19 Mar 2016 21:07:41 +0000 (UTC) (envelope-from flo@snakeoilproductions.net) Received: from localhost (localhost [127.0.0.1]) by turad.lysandor.de (Postfix) with ESMTP id 53A4AAAC793; Sat, 19 Mar 2016 21:58:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at turad.lysandor.de Received: from turad.lysandor.de ([127.0.0.1]) by localhost (turad.lysandor.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XzfiRzUQGXAR; Sat, 19 Mar 2016 21:58:41 +0100 (CET) Received: from nachtschatten.purplekraken.com (x5f722736.dyn.telefonica.de [95.114.39.54]) (Authenticated sender: flo@snakeoilproductions.net) by turad.lysandor.de (Postfix) with ESMTPSA id ADC6FAAC787; Sat, 19 Mar 2016 21:58:40 +0100 (CET) From: Florian Limberger To: freebsd-current , freebsd-x11@freebsd.org Subject: Panic on r297039 with nvidia-driver-340.93 and KDE5 Message-ID: <56EDBD7F.4020108@snakeoilproductions.net> Date: Sat, 19 Mar 2016 21:58:39 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2016 21:07:42 -0000 Hi, I updated today to: > FreeBSD 11.0-CURRENT (GENERIC) #2 r297039+43ceb1f(master): > Sat Mar 19 12:06:37 CET 2016 and as always I recompiled the nvidia-driver-340, which updated from 340.76 to 340.93 Now I get reliable panics when starting KDE5 (from area51). An older version of dwm (self-compiled) is running fine. I omitted the later frame adresses, I typed this off a photo, I missed to create a crash dump, but I can provide one if it is needed: > panic: ufs_dirbad: /usr/home: bad dir ino 6742590 at offset 512: > mangled entry > cpuid = 1 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe01174954a0 > vpanic() > ufs_lookup_ino() > VOP_CACHEDLOOKUP_APV() > vfs_cache_lookup() > VOP_LOOKUP_APV() > lookup() > namei() > kern_statat() > sys_stat() > amd64_syscall() > xfast_syscall() The hardware is a Lenovo ThinkPad T410 with a NVIDIA NVS 3100M, dmesg is provided below. Is anyone else seeing this and how could I fix this? Regards, florian > Copyright (c) 1992-2016 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 11.0-CURRENT #2 r297039+43ceb1f(master): Sat Mar 19 12:06:37 CET 2016 > root@nachtschatten.purplekraken.com:/usr/obj/usr/src/sys/GENERIC amd64 > FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) > WARNING: WITNESS option enabled, expect reduced performance. > VT(vga): resolution 640x480 > can't re-use a leaf (hwpstate_verbose)! > module_register: cannot register cpu/ichss from kernel; already loaded from cpufreq.ko > Module cpu/ichss failed to register: 17 > module_register: cannot register cpu/powernow from kernel; already loaded from cpufreq.ko > Module cpu/powernow failed to register: 17 > module_register: cannot register cpu/est from kernel; already loaded from cpufreq.ko > Module cpu/est failed to register: 17 > module_register: cannot register cpu/hwpstate from kernel; already loaded from cpufreq.ko > Module cpu/hwpstate failed to register: 17 > module_register: cannot register cpu/p4tcc from kernel; already loaded from cpufreq.ko > Module cpu/p4tcc failed to register: 17 > CPU: Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz (2660.07-MHz K8-class CPU) > Origin="GenuineIntel" Id=0x20655 Family=0x6 Model=0x25 Stepping=5 > Features=0xbfebfbff > Features2=0x29ae3ff > AMD Features=0x28100800 > AMD Features2=0x1 > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > TSC: P-state invariant, performance statistics > real memory = 4294967296 (4096 MB) > avail memory = 3929866240 (3747 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 4 > cpu3 (AP): APIC ID: 5 > random: unblocking device. > ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Pm1aControlBlock: 16/32 (20150818/tbfadt-649) > ACPI BIOS Warning (bug): Invalid length for FADT/Pm1aControlBlock: 32, using default 16 (20150818/tbfadt-730) > ioapic0: Changing APIC ID to 1 > ioapic0 irqs 0-23 on motherboard > random: entropy device external interface > kbd1 at kbdmux0 > netmap: loaded module > module_register_init: MOD_LOAD (vesa, 0xffffffff80f00bf0, 0) error 19 > vtvga0: on motherboard > cryptosoft0: on motherboard > acpi0: on motherboard > acpi_ec0: port 0x62,0x66 on acpi0 > acpi0: Power Button (fixed) > cpu0: on acpi0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > attimer0: port 0x40-0x43 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 550 > Event timer "HPET1" frequency 14318180 Hz quality 440 > Event timer "HPET2" frequency 14318180 Hz quality 440 > Event timer "HPET3" frequency 14318180 Hz quality 440 > Event timer "HPET4" frequency 14318180 Hz quality 440 > atrtc0: port 0x70-0x71 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > pcib0: on acpi0 > pci0: on pcib0 > pcib1: port 0xcf8-0xcff on acpi0 > pci1: on pcib1 > pcib2: irq 16 at device 1.0 on pci1 > pci2: on pcib2 > vgapci0: port 0x2000-0x207f mem 0xcc000000-0xccffffff,0xd0000000-0xdfffffff,0xce000000-0xcfffffff irq 16 at device 0.0 on pci2 > nvidia0: on vgapci0 > vgapci0: child nvidia0 requested pci_enable_io > vgapci0: child nvidia0 requested pci_enable_io > vgapci0: Boot video device > hdac0: mem 0xcdefc000-0xcdefffff at device 0.1 on pci2 > pci1: at device 22.0 (no driver attached) > uart2: <5 Series/3400 Series Chipset KT Controller> port 0x1800-0x1807 mem 0xf2424000-0xf2424fff irq 17 at device 22.3 on pci1 > em0: port 0x1820-0x183f mem 0xf2400000-0xf241ffff,0xf2425000-0xf2425fff irq 20 at device 25.0 on pci1 > em0: Using an MSI interrupt > em0: Ethernet address: f0:de:f1:46:1b:8c > em0: netmap queues/slots: TX 1/1024, RX 1/1024 > ehci0: mem 0xf2428000-0xf24283ff irq 23 at device 26.0 on pci1 > usbus0: EHCI version 1.0 > usbus0 on ehci0 > hdac1: mem 0xf2420000-0xf2423fff irq 17 at device 27.0 on pci1 > pcib3: irq 20 at device 28.0 on pci1 > pci3: on pcib3 > pcib4: irq 21 at device 28.1 on pci1 > pci4: on pcib4 > iwn0: mem 0xf2000000-0xf2001fff irq 17 at device 0.0 on pci4 > pcib5: irq 20 at device 28.4 on pci1 > pci5: on pcib5 > sdhci_pci0: mem 0xf2100000-0xf21000ff irq 16 at device 0.0 on pci5 > sdhci_pci0: 1 slot(s) allocated > ehci1: mem 0xf2428400-0xf24287ff irq 19 at device 29.0 on pci1 > usbus1: EHCI version 1.0 > usbus1 on ehci1 > pcib6: at device 30.0 on pci1 > pci6: on pcib6 > isab0: at device 31.0 on pci1 > isa0: on isab0 > ahci0: port 0x1818-0x181f,0x180c-0x180f,0x1810-0x1817,0x1808-0x180b,0x1840-0x185f mem 0xf2427000-0xf24277ff irq 16 at device 31.2 on pci1 > ahci0: AHCI v1.30 with 6 3Gbps ports, Port Multiplier not supported > ahcich0: at channel 0 on ahci0 > ahcich1: at channel 1 on ahci0 > ahcich4: at channel 4 on ahci0 > ahcich5: at channel 5 on ahci0 > ahciem0: on ahci0 > acpi_tz0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model Generic PS/2 mouse, device ID 0 > battery0: on acpi0 > acpi_acad0: on acpi0 > acpi_ibm0: on acpi0 > orm0: at iomem 0xd0000-0xd0fff,0xd1000-0xd1fff,0xdd000-0xdffff,0xe0000-0xeffff on isa0 > ppc0: cannot reserve I/O port range > coretemp0: on cpu0 > est0: on cpu0 > coretemp1: on cpu1 > est1: on cpu1 > coretemp2: on cpu2 > est2: on cpu2 > coretemp3: on cpu3 > est3: on cpu3 > usbus0: 480Mbps High Speed USB v2.0 > Timecounters tick every 10.000 msec > hdacc0: at cad 0 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 5 on hdaa0 > hdacc1: at cad 1 on hdac0 > hdaa1: at nid 1 on hdacc1 > pcm1: at nid 5 on hdaa1 > hdacc2: at cad 2 on hdac0 > hdaa2: at nid 1 on hdacc2 > pcm2: at nid 5 on hdaa2 > hdacc3: at cad 3 on hdac0 > hdaa3: at nid 1 on hdacc3 > pcm3: at nid 5 on hdaa3 > hdacc4: at cad 0 on hdac1 > hdaa4: at nid 1 on hdacc4 > pcm4: at nid 25 and 27 on hdaa4 > pcm5: at nid 31 and 35 on hdaa4 > usbus1: 480Mbps High Speed USB v2.0 > ugen1.1: at usbus1 > uhub0: on usbus1 > ugen0.1: at usbus0 > uhub1: on usbus0 > ses0 at ahciem0 bus 0 scbus4 target 0 lun 0 > ses0: SEMB S-E-S 2.00 device > ses0: SEMB SES Device > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > ada0: ATA8-ACS SATA 2.x device > ada0: Serial Number WD-WXD1A1154275 > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > ada0: Command Queueing enabled > ada0: 305245MB (625142448 512 byte sectors) > cd0 at ahcich1 bus 0 scbus1 target 0 lun 0 > cd0: Removable CD-ROM SCSI device > cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) > cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed > SMP: AP CPU #1 Launched! > SMP: AP CPU #3 Launched! > SMP: AP CPU #2 Launched! > Timecounter "TSC-low" frequency 1330036109 Hz quality 1000 > WARNING: WITNESS option enabled, expect reduced performance. > Trying to mount root from ufs:/dev/ada0p3 [rw]... > WARNING: / was not properly dismounted > WARNING: /: mount pending error: blocks 288 files 2 > uhub1: 3 ports with 3 removable, self powered > uhub0: 3 ports with 3 removable, self powered > ugen1.2: at usbus1 > uhub2: on usbus1 > ugen0.2: at usbus0 > uhub3: on usbus0 > uhub3: 6 ports with 6 removable, self powered > uhub2: 8 ports with 8 removable, self powered > ugen0.3: at usbus0 > ugen0.4: at usbus0 > wlan0: Ethernet address: 00:24:d7:91:b5:44 > iwn0: iwn_read_firmware: ucode rev=0x09dd0401 > iwn0: > wlan0: link state changed to UP > iwn_intr: fatal firmware error > firmware error log: > error type = "BAD_COMMAND" (0x00000007) > program counter = 0x00000D38 > source line = 0x00000463 > error data = 0x0000000000000000 > branch link = 0x00000D3600000D36 > interrupt link = 0x0000153200000000 > time = 239318 > driver status: > tx ring 0: qid=0 cur=0 queued=0 > tx ring 1: qid=1 cur=0 queued=0 > tx ring 2: qid=2 cur=0 queued=0 > tx ring 3: qid=3 cur=2 queued=0 > tx ring 4: qid=4 cur=74 queued=0 > tx ring 5: qid=5 cur=0 queued=0 > tx ring 6: qid=6 cur=0 queued=0 > tx ring 7: qid=7 cur=0 queued=0 > tx ring 8: qid=8 cur=0 queued=0 > tx ring 9: qid=9 cur=0 queued=0 > tx ring 10: qid=10 cur=0 queued=0 > tx ring 11: qid=11 cur=0 queued=0 > tx ring 12: qid=12 cur=0 queued=0 > tx ring 13: qid=13 cur=0 queued=0 > tx ring 14: qid=14 cur=0 queued=0 > tx ring 15: qid=15 cur=0 queued=0 > tx ring 16: qid=16 cur=0 queued=0 > tx ring 17: qid=17 cur=0 queued=0 > tx ring 18: qid=18 cur=0 queued=0 > tx ring 19: qid=19 cur=0 queued=0 > rx ring: cur=59 > iwn0: iwn_panicked: controller panicked, iv_state = 5; resetting... > iwn0: iwn_read_firmware: ucode rev=0x09dd0401 > ubt0: on usbus0 > WARNING: attempt to domain_add(bluetooth) after domainfinalize() > WARNING: attempt to domain_add(netgraph) after domainfinalize() > iwn0: null_update_chw: need callback > iwn0: null_update_chw: need callback > nvidia0: detached > lock order reversal: > 1st 0xfffffe00ed6c9100 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3488 > 2nd 0xfffff80003e7a400 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:281 > stack backtrace: > #0 0xffffffff80a8e9a0 at witness_debugger+0x70 > #1 0xffffffff80a8e894 at witness_checkorder+0xe54 > #2 0xffffffff80a3a2e2 at _sx_xlock+0x72 > #3 0xffffffff80cdfdbd at ufsdirhash_add+0x3d > #4 0xffffffff80ce2b85 at ufs_direnter+0x4c5 > #5 0xffffffff80ceb179 at ufs_mkdir+0x8a9 > #6 0xffffffff80fde597 at VOP_MKDIR_APV+0xf7 > #7 0xffffffff80af8bf8 at kern_mkdirat+0x208 > #8 0xffffffff80e89e1b at amd64_syscall+0x2db > #9 0xffffffff80e6975b at Xfast_syscall+0xfb > lock order reversal: > 1st 0xfffff80043e5c5f0 ufs (ufs) @ /usr/src/sys/kern/vfs_lookup.c:530 > 2nd 0xfffffe00ece75e40 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:263 > 3rd 0xfffff801277ddd50 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2498 > stack backtrace: > #0 0xffffffff80a8e9a0 at witness_debugger+0x70 > #1 0xffffffff80a8e894 at witness_checkorder+0xe54 > #2 0xffffffff80a0b1c6 at __lockmgr_args+0x4d6 > #3 0xffffffff80cdaa76 at ffs_lock+0xa6 > #4 0xffffffff80fdef40 at VOP_LOCK1_APV+0x100 > #5 0xffffffff80afb78a at _vn_lock+0x9a > #6 0xffffffff80aebdc3 at vget+0x63 > #7 0xffffffff80ade79c at vfs_hash_get+0xcc > #8 0xffffffff80cd61b0 at ffs_vgetf+0x40 > #9 0xffffffff80ccdaa1 at softdep_sync_buf+0xb51 > #10 0xffffffff80cdb666 at ffs_syncvnode+0x256 > #11 0xffffffff80cb1f95 at ffs_truncate+0x8f5 > #12 0xffffffff80ce2d0f at ufs_direnter+0x64f > #13 0xffffffff80cec029 at ufs_makeinode+0x5e9 > #14 0xffffffff80ce7bc3 at ufs_create+0x33 > #15 0xffffffff80fdc9a1 at VOP_CREATE_APV+0xf1 > #16 0xffffffff80afafd8 at vn_open_cred+0x2f8 > #17 0xffffffff80af438c at kern_openat+0x25c > nvidia0: on vgapci0 > vgapci0: child nvidia0 requested pci_enable_io > vgapci0: child nvidia0 requested pci_enable_io > acquiring duplicate lock of same type: "os.lock_sx" > 1st os.lock_sx @ nvidia_os.c:603 > 2nd os.lock_sx @ nvidia_os.c:603 > stack backtrace: > #0 0xffffffff80a8e9a0 at witness_debugger+0x70 > #1 0xffffffff80a8e894 at witness_checkorder+0xe54 > #2 0xffffffff80a3a2e2 at _sx_xlock+0x72 > #3 0xffffffff8362c2f2 at os_acquire_mutex+0x32 > #4 0xffffffff83617eb8 at _nv013366rm+0x18 > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > acquiring duplicate lock of same type: "os.lock_mtx" > 1st os.lock_mtx @ nvidia_os.c:777 > 2nd os.lock_mtx @ nvidia_os.c:777 > stack backtrace: > #0 0xffffffff80a8e9a0 at witness_debugger+0x70 > #1 0xffffffff80a8e894 at witness_checkorder+0xe54 > #2 0xffffffff80a14454 at __mtx_lock_flags+0xa4 > #3 0xffffffff8362c64b at os_acquire_spinlock+0x1b > #4 0xffffffff833adf15 at _nv015308rm+0xce5 > NVRM: GPU at PCI:0000:01:00: GPU-29a322f4-74c9-1c99-3dbb-0048333ae34a > NVRM: Xid (PCI:0000:01:00): 57, Failed shmoo sddr3 link training > lock order reversal: > 1st 0xfffff800082df490 filedesc structure (filedesc structure) @ /usr/src/sys/kern/kern_descrip.c:1231 > 2nd 0xfffff801275e1d50 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:4829 > stack backtrace: > #0 0xffffffff80a8e9a0 at witness_debugger+0x70 > #1 0xffffffff80a8e894 at witness_checkorder+0xe54 > #2 0xffffffff80a0b1c6 at __lockmgr_args+0x4d6 > #3 0xffffffff80cdaa76 at ffs_lock+0xa6 > #4 0xffffffff80fdef40 at VOP_LOCK1_APV+0x100 > #5 0xffffffff80afb78a at _vn_lock+0x9a > #6 0xffffffff809ec34e at knlist_remove_kq+0x7e > #7 0xffffffff80af2478 at filt_vfsdetach+0x28 > #8 0xffffffff809ecc17 at knote_fdclose+0xc7 > #9 0xffffffff809e0ca5 at closefp+0x65 > #10 0xffffffff80e89e1b at amd64_syscall+0x2db > #11 0xffffffff80e6975b at Xfast_syscall+0xfb > panic: ufs_dirbad: /usr/home: bad dir ino 6742590 at offset 512: mangled entry > cpuid = 1 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe01174954a0 > vpanic() at vpanic+0x182/frame 0xfffffe0117495520 > panic() at panic+0x43/frame 0xfffffe0117495580 > ufs_lookup_ino() at ufs_lookup_ino+0xeaa/frame 0xfffffe0117495680 > VOP_CACHEDLOOKUP_APV() at VOP_CACHEDLOOKUP_APV+0xf1/frame 0xfffffe01174956b0 > vfs_cache_lookup() at vfs_cache_lookup+0xd6/frame 0xfffffe0117495710 > VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0xf1/frame 0xfffffe0117495740 > lookup() at lookup+0x5a2/frame 0xfffffe01174957d0 > namei() at namei+0x5ca/frame 0xfffffe0117495890 > kern_statat() at kern_statat+0xa5/frame 0xfffffe0117495a40 > sys_stat() at sys_stat+0x2d/frame 0xfffffe0117495ae0 > amd64_syscall() at amd64_syscall+0x2db/frame 0xfffffe0117495bf0 > Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe0117495bf0 > --- syscall (188, FreeBSD ELF64, sys_stat), rip = 0x8071e0aea, rsp = 0x7fffffffd1f8, rbp = 0x7fffffffd2d0 --- > KDB: enter: panic > Copyright (c) 1992-2016 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 11.0-CURRENT #2 r297039+43ceb1f(master): Sat Mar 19 12:06:37 CET 2016 > root@nachtschatten.purplekraken.com:/usr/obj/usr/src/sys/GENERIC amd64 > FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) > WARNING: WITNESS option enabled, expect reduced performance. > VT(vga): resolution 640x480 > can't re-use a leaf (hwpstate_verbose)! > module_register: cannot register cpu/ichss from kernel; already loaded from cpufreq.ko > Module cpu/ichss failed to register: 17 > module_register: cannot register cpu/powernow from kernel; already loaded from cpufreq.ko > Module cpu/powernow failed to register: 17 > module_register: cannot register cpu/est from kernel; already loaded from cpufreq.ko > Module cpu/est failed to register: 17 > module_register: cannot register cpu/hwpstate from kernel; already loaded from cpufreq.ko > Module cpu/hwpstate failed to register: 17 > module_register: cannot register cpu/p4tcc from kernel; already loaded from cpufreq.ko > Module cpu/p4tcc failed to register: 17 > CPU: Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz (2660.07-MHz K8-class CPU) > Origin="GenuineIntel" Id=0x20655 Family=0x6 Model=0x25 Stepping=5 > Features=0xbfebfbff > Features2=0x29ae3ff > AMD Features=0x28100800 > AMD Features2=0x1 > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > TSC: P-state invariant, performance statistics > real memory = 4294967296 (4096 MB) > avail memory = 3929866240 (3747 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 4 > cpu3 (AP): APIC ID: 5 > random: unblocking device. > ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Pm1aControlBlock: 16/32 (20150818/tbfadt-649) > ACPI BIOS Warning (bug): Invalid length for FADT/Pm1aControlBlock: 32, using default 16 (20150818/tbfadt-730) > ioapic0: Changing APIC ID to 1 > ioapic0 irqs 0-23 on motherboard > random: entropy device external interface > kbd1 at kbdmux0 > netmap: loaded module > module_register_init: MOD_LOAD (vesa, 0xffffffff80f00bf0, 0) error 19 > vtvga0: on motherboard > cryptosoft0: on motherboard > acpi0: on motherboard > acpi_ec0: port 0x62,0x66 on acpi0 > acpi0: Power Button (fixed) > cpu0: on acpi0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > attimer0: port 0x40-0x43 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 550 > Event timer "HPET1" frequency 14318180 Hz quality 440 > Event timer "HPET2" frequency 14318180 Hz quality 440 > Event timer "HPET3" frequency 14318180 Hz quality 440 > Event timer "HPET4" frequency 14318180 Hz quality 440 > atrtc0: port 0x70-0x71 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > pcib0: on acpi0 > pci0: on pcib0 > pcib1: port 0xcf8-0xcff on acpi0 > pci1: on pcib1 > pcib2: irq 16 at device 1.0 on pci1 > pci2: on pcib2 > vgapci0: port 0x2000-0x207f mem 0xcc000000-0xccffffff,0xd0000000-0xdfffffff,0xce000000-0xcfffffff irq 16 at device 0.0 on pci2 > nvidia0: on vgapci0 > vgapci0: child nvidia0 requested pci_enable_io > vgapci0: child nvidia0 requested pci_enable_io > vgapci0: Boot video device > hdac0: mem 0xcdefc000-0xcdefffff at device 0.1 on pci2 > pci1: at device 22.0 (no driver attached) > uart2: <5 Series/3400 Series Chipset KT Controller> port 0x1800-0x1807 mem 0xf2424000-0xf2424fff irq 17 at device 22.3 on pci1 > em0: port 0x1820-0x183f mem 0xf2400000-0xf241ffff,0xf2425000-0xf2425fff irq 20 at device 25.0 on pci1 > em0: Using an MSI interrupt > em0: Ethernet address: f0:de:f1:46:1b:8c > em0: netmap queues/slots: TX 1/1024, RX 1/1024 > ehci0: mem 0xf2428000-0xf24283ff irq 23 at device 26.0 on pci1 > usbus0: EHCI version 1.0 > usbus0 on ehci0 > hdac1: mem 0xf2420000-0xf2423fff irq 17 at device 27.0 on pci1 > pcib3: irq 20 at device 28.0 on pci1 > pci3: on pcib3 > pcib4: irq 21 at device 28.1 on pci1 > pci4: on pcib4 > iwn0: mem 0xf2000000-0xf2001fff irq 17 at device 0.0 on pci4 > pcib5: irq 20 at device 28.4 on pci1 > pci5: on pcib5 > sdhci_pci0: mem 0xf2100000-0xf21000ff irq 16 at device 0.0 on pci5 > sdhci_pci0: 1 slot(s) allocated > ehci1: mem 0xf2428400-0xf24287ff irq 19 at device 29.0 on pci1 > usbus1: EHCI version 1.0 > usbus1 on ehci1 > pcib6: at device 30.0 on pci1 > pci6: on pcib6 > isab0: at device 31.0 on pci1 > isa0: on isab0 > ahci0: port 0x1818-0x181f,0x180c-0x180f,0x1810-0x1817,0x1808-0x180b,0x1840-0x185f mem 0xf2427000-0xf24277ff irq 16 at device 31.2 on pci1 > ahci0: AHCI v1.30 with 6 3Gbps ports, Port Multiplier not supported > ahcich0: at channel 0 on ahci0 > ahcich1: at channel 1 on ahci0 > ahcich4: at channel 4 on ahci0 > ahcich5: at channel 5 on ahci0 > ahciem0: on ahci0 > acpi_tz0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model Generic PS/2 mouse, device ID 0 > battery0: on acpi0 > acpi_acad0: on acpi0 > acpi_ibm0: on acpi0 > orm0: at iomem 0xd0000-0xd0fff,0xd1000-0xd1fff,0xdd000-0xdffff,0xe0000-0xeffff on isa0 > ppc0: cannot reserve I/O port range > coretemp0: on cpu0 > est0: on cpu0 > coretemp1: on cpu1 > est1: on cpu1 > coretemp2: on cpu2 > est2: on cpu2 > coretemp3: on cpu3 > est3: on cpu3 > usbus0: 480Mbps High Speed USB v2.0 > Timecounters tick every 10.000 msec > hdacc0: at cad 0 on hdac0 > hdaa0: at nid 1 on hdacc0 > pcm0: at nid 5 on hdaa0 > hdacc1: at cad 1 on hdac0 > hdaa1: at nid 1 on hdacc1 > pcm1: at nid 5 on hdaa1 > hdacc2: at cad 2 on hdac0 > hdaa2: at nid 1 on hdacc2 > pcm2: at nid 5 on hdaa2 > hdacc3: at cad 3 on hdac0 > hdaa3: at nid 1 on hdacc3 > pcm3: at nid 5 on hdaa3 > hdacc4: at cad 0 on hdac1 > hdaa4: at nid 1 on hdacc4 > pcm4: at nid 25 and 27 on hdaa4 > pcm5: at nid 31 and 35 on hdaa4 > usbus1: 480Mbps High Speed USB v2.0 > ugen1.1: at usbus1 > uhub0: on usbus1 > ugen0.1: at usbus0 > uhub1: on usbus0 > ses0 at ahciem0 bus 0 scbus4 target 0 lun 0 > ses0: SEMB S-E-S 2.00 device > ses0: SEMB SES Device > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > ada0: ATA8-ACS SATA 2.x device > ada0: Serial Number WD-WXD1A1154275 > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > ada0: Command Queueing enabled > ada0: 305245MB (625142448 512 byte sectors) > cd0 at ahcich1 bus 0 scbus1 target 0 lun 0 > cd0: Removable CD-ROM SCSI device > cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) > cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed > SMP: AP CPU #1 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #3 Launched! > Timecounter "TSC-low" frequency 1330035366 Hz quality 1000 > WARNING: WITNESS option enabled, expect reduced performance. > Trying to mount root from ufs:/dev/ada0p3 [rw]... > WARNING: / was not properly dismounted > WARNING: /: mount pending error: blocks 0 files 1 > uhub1: 3 ports with 3 removable, self powered > uhub0: 3 ports with 3 removable, self powered > ugen0.2: at usbus0 > uhub2: on usbus0 > ugen1.2: at usbus1 > uhub3: on usbus1 > uhub2: 6 ports with 6 removable, self powered > uhub3: 8 ports with 8 removable, self powered > ugen0.3: at usbus0 > ugen0.4: at usbus0 > wlan0: Ethernet address: 00:24:d7:91:b5:44 > iwn0: iwn_read_firmware: ucode rev=0x09dd0401 > wlan0: link state changed to UP > ubt0: on usbus0 > wlan0: link state changed to DOWN > iwn0: device timeout > iwn0: iwn_read_firmware: ucode rev=0x09dd0401 > WARNING: attempt to domain_add(bluetooth) after domainfinalize() > WARNING: attempt to domain_add(netgraph) after domainfinalize() > lock order reversal: > 1st 0xfffffe00ecc3db00 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3488 > 2nd 0xfffff800438a9800 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:281 > stack backtrace: > #0 0xffffffff80a8e9a0 at witness_debugger+0x70 > #1 0xffffffff80a8e894 at witness_checkorder+0xe54 > #2 0xffffffff80a3a2e2 at _sx_xlock+0x72 > #3 0xffffffff80cdfdbd at ufsdirhash_add+0x3d > #4 0xffffffff80ce2b85 at ufs_direnter+0x4c5 > #5 0xffffffff80cec029 at ufs_makeinode+0x5e9 > #6 0xffffffff80ce7bc3 at ufs_create+0x33 > #7 0xffffffff80fdc9a1 at VOP_CREATE_APV+0xf1 > #8 0xffffffff80afafd8 at vn_open_cred+0x2f8 > #9 0xffffffff80af438c at kern_openat+0x25c > #10 0xffffffff80e89e1b at amd64_syscall+0x2db > #11 0xffffffff80e6975b at Xfast_syscall+0xfb > acquiring duplicate lock of same type: "os.lock_sx" > 1st os.lock_sx @ nvidia_os.c:603 > 2nd os.lock_sx @ nvidia_os.c:603 > stack backtrace: > #0 0xffffffff80a8e9a0 at witness_debugger+0x70 > #1 0xffffffff80a8e894 at witness_checkorder+0xe54 > #2 0xffffffff80a3a2e2 at _sx_xlock+0x72 > #3 0xffffffff826612f2 at os_acquire_mutex+0x32 > #4 0xffffffff8264ceb8 at _nv013366rm+0x18 > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > ACPI Warning: \134_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150818/nsarguments-97) > acquiring duplicate lock of same type: "os.lock_mtx" > 1st os.lock_mtx @ nvidia_os.c:777 > 2nd os.lock_mtx @ nvidia_os.c:777 > stack backtrace: > #0 0xffffffff80a8e9a0 at witness_debugger+0x70 > #1 0xffffffff80a8e894 at witness_checkorder+0xe54 > #2 0xffffffff80a14454 at __mtx_lock_flags+0xa4 > #3 0xffffffff8266164b at os_acquire_spinlock+0x1b > #4 0xffffffff823e2f15 at _nv015308rm+0xce5 > NVRM: GPU at PCI:0000:01:00: GPU-29a322f4-74c9-1c99-3dbb-0048333ae34a > NVRM: Xid (PCI:0000:01:00): 57, Failed shmoo sddr3 link training > lock order reversal: > 1st 0xfffff801044f2418 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2498 > 2nd 0xfffffe00ecdb16d0 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:263 > 3rd 0xfffff801047c0b78 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2498 > stack backtrace: > #0 0xffffffff80a8e9a0 at witness_debugger+0x70 > #1 0xffffffff80a8e894 at witness_checkorder+0xe54 > #2 0xffffffff80a0b1c6 at __lockmgr_args+0x4d6 > #3 0xffffffff80cdaa76 at ffs_lock+0xa6 > #4 0xffffffff80fdef40 at VOP_LOCK1_APV+0x100 > #5 0xffffffff80afb78a at _vn_lock+0x9a > #6 0xffffffff80aebdc3 at vget+0x63 > #7 0xffffffff80ade79c at vfs_hash_get+0xcc > #8 0xffffffff80cd61b0 at ffs_vgetf+0x40 > #9 0xffffffff80ccdaa1 at softdep_sync_buf+0xb51 > #10 0xffffffff80cdb666 at ffs_syncvnode+0x256 > #11 0xffffffff80cb1f95 at ffs_truncate+0x8f5 > #12 0xffffffff80ce2d0f at ufs_direnter+0x64f > #13 0xffffffff80cec029 at ufs_makeinode+0x5e9 > #14 0xffffffff80ce7bc3 at ufs_create+0x33 > #15 0xffffffff80fdc9a1 at VOP_CREATE_APV+0xf1 > #16 0xffffffff80afafd8 at vn_open_cred+0x2f8 > #17 0xffffffff80af438c at kern_openat+0x25c > ifa_maintain_loopback_route: deletion failed for interface wlan0: 3 > ifa_maintain_loopback_route: insertion failed for interface wlan0: 17 > iwn0: iwn_read_firmware: ucode rev=0x09dd0401 > ifa_maintain_loopback_route: deletion failed for interface wlan0: 3 > ifa_maintain_loopback_route: insertion failed for interface wlan0: 17 > iwn0: iwn_read_firmware: ucode rev=0x09dd0401 > wlan0: link state changed to UP > iwn0: null_update_chw: need callback