Re: ddb reset command results in LOR and panic? (audit related?)

2025-01-30 Thread Konstantin Belousov
On Thu, Jan 30, 2025 at 02:37:53AM +, Bjoern A. Zeeb wrote: > Hi. > > I broke into the kernel debugger after some driver went haywire. > > Upon typing reset to restart the machine I got the below. > How can we still report a LOR and panic on a lock when we > are reset

ddb reset command results in LOR and panic? (audit related?)

2025-01-29 Thread Bjoern A. Zeeb
Hi. I broke into the kernel debugger after some driver went haywire. Upon typing reset to restart the machine I got the below. How can we still report a LOR and panic on a lock when we are resetting the machine from ddb? /bz db> reset lock order reversal: (sleepable after non-sleepable)

Re: LOR so_snd_sx / nfs

2024-04-03 Thread Rick Macklem
Shouldn't be a problem. The socket used for lookup is AF_UNIX (uses unp_connectat) and the NFS socket will always be UDP or TCP. Different sockets imply different socket locks. At least that's my interpretation, rick On Wed, Apr 3, 2024 at 11:33 AM Bjoern A. Zeeb wrote: > > > NFS root boot of a

LOR so_snd_sx / nfs

2024-04-03 Thread Bjoern A. Zeeb
NFS root boot of a Lab machine; calling wpa_cli: Thilock order reversal: 1st 0x0001d4e1c800 so_snd_sx (so_snd_sx, sx) @ /usr/src/sys/kern/uipc_socket.c:4020 2nd 0xa020cb20e930 nfs (nfs, lockmgr) @ /usr/src/sys/kern/vfs_lookup.c:1083 lock order nfs -> so_snd_sx established at: #0 0xf

LOR seen on 13.x kernel

2023-10-09 Thread Arun Varghese
Hi All, Seeing the below LOR in the 13.x kernel, is this a known issue ? Could this cause vnode to max out and slow down the system. Is there a patch available?(or can we ignore this ?) kernel: Waiting (max 60 seconds) for system process `vnlru' to stop...done kernel: Waiting (max 60 se

LOR in network

2023-07-24 Thread Juraj Lutter
Hi, I’ve seen following LOR in -CURRENT (3a46fe226193) on GENERIC arm64.aarch64: lock order reversal: 1st 0x41af89e8 tcphash (tcphash, sleep mutex) @ /usr/src/sys/netinet/tcp_usrreq.c:1513 2nd 0x00f91648 in6_ifaddr_lock (in6_ifaddr_lock, rm) @ /usr/src/sys/netinet6/in6_src.c

LOR: tun_ioctl after tun_mtx

2020-08-20 Thread Eric van Gyzen
I see this LOR on head r364364 while running the tcptestsuite (ports/net/tcptestsuite). In fact, I interrupted a test with Ctrl-C, and got a panic. I assume it's the same, since the test was twiddling the MTU, but I haven't looked closely. Eric lock order reversal: (sleepable

12.0-ALPHA6-amd64-20180914-r338675 LOR?

2018-09-17 Thread Anton Haglund
Hi, I am trying out 12.0-ALPHA6-amd64-20180914-r338675 vmdk with a VM with two CPUs. When doing "shutdown -h now" I get a lock order reversal, is this expected? According to https://www.freebsd.org/doc/faq/troubleshoot.html#idp59076936 it is possible to get false positives from witness. Attachi

Re: LOR panic on mount -uw

2017-10-13 Thread grarpamp
On Thu, Oct 12, 2017 at 11:15 AM, John Baldwin wrote: > In this case the panic is separate from the LOR, and > for a panic we really > need the panic message in addition to the stack trace. With release kernels stack trace appears with this message, then it sits in ddb, forget how

Re: LOR panic on mount -uw

2017-10-13 Thread grarpamp
On Wed, Oct 11, 2017 at 5:18 PM, grarpamp wrote: > Let 12.0-current r324306 amd64 efi boot from usb to installer screen, Another way to trigger this one is boot snapshot install media single user verbose mdmfs -s 10m md /mnt umount -v /mnt [LOR stack backtrace, remains usa

Re: LOR panic on mount -uw

2017-10-12 Thread John Baldwin
amd64_syscall+0x79b/frame 0xfe0458a3a1b0 > Xfast_syscall+0xfb/frame 0xfe0458a31ab0 > syscall (378, FreeBSD ELF64, sys_nmount), rip = 0x800a88d6a, rsp = > 0x7fffd428, rbp = 0x7fffd990 > kdb_enter+0x3b: movq $0,kdb_why In this case the panic is separate from the LOR, and

LOR panic on mount -uw

2017-10-11 Thread grarpamp
Let 12.0-current r324306 amd64 efi boot from usb to installer screen, try to write zeroes to an unallocated part of ada0, mount -uw a separate part of ada0 ... 1st 0xc5ce5f0 ufs kern/vfs_mount.c:1274 2nd 0xc565b78 devfs ufs/ffs/ffs_vfsops.c:1414 db_trace_self_wrapper vpanic kassert_panic+0x126 g_

Re: LOR on RPi3 r314894

2017-03-09 Thread Benjamin Kaduk
eck the links on this page to see if your LOR is already > >>> listed: > >>> > >>> https://wiki.freebsd.org/LOR > >> Thank you, I wasn't aware of this page. It turns out it's already listed: > >> http://sources.zabbadoz.net/freebsd/lor/23

Re: LOR on RPi3 r314894

2017-03-08 Thread Gergely Czuczy
On 2017. 03. 09. 6:59, Benjamin Kaduk wrote: On Wed, Mar 08, 2017 at 02:06:33PM +0100, Gergely Czuczy wrote: On 2017. 03. 08. 13:06, Hans Petter Selasky wrote: You might check the links on this page to see if your LOR is already listed: https://wiki.freebsd.org/LOR Thank you, I wasn&#

Re: LOR on RPi3 r314894

2017-03-08 Thread Benjamin Kaduk
On Wed, Mar 08, 2017 at 02:06:33PM +0100, Gergely Czuczy wrote: > On 2017. 03. 08. 13:06, Hans Petter Selasky wrote: > > You might check the links on this page to see if your LOR is already > > listed: > > > > https://wiki.freebsd.org/LOR > Thank you, I wasn'

Re: LOR on RPi3 r314894

2017-03-08 Thread Gergely Czuczy
On 2017. 03. 08. 13:06, Hans Petter Selasky wrote: On 03/08/17 12:23, Gergely Czuczy wrote: Hello, I've built an image for RPi3 from -CURRENT checkout at r314894, and while booting, I've noticed a LOR message: http://czg.harmless.hu/aegir/LOR_1_1280.jpg I don't know whether

Re: LOR on RPi3 r314894

2017-03-08 Thread Hans Petter Selasky
On 03/08/17 12:23, Gergely Czuczy wrote: Hello, I've built an image for RPi3 from -CURRENT checkout at r314894, and while booting, I've noticed a LOR message: http://czg.harmless.hu/aegir/LOR_1_1280.jpg I don't know whether this one is any concern, if so, I'm just let

LOR on RPi3 r314894

2017-03-08 Thread Gergely Czuczy
Hello, I've built an image for RPi3 from -CURRENT checkout at r314894, and while booting, I've noticed a LOR message: http://czg.harmless.hu/aegir/LOR_1_1280.jpg I don't know whether this one is any concern, if so, I'm just letting you know. B

r3077XX: LOR in vfs

2016-10-21 Thread O. Hartmann
Since r307157 I'm bugged with sporadic reboots/crashes of all boxes running CURRENT. That is different CPU types (XEON C2D, XEON Haswell, XEON IvyBridge, mobile Haswell and desktop IvyBridge). Below, you'll finde some messages I gathered from the console. I hope this is of any use, if not: I'm

Re: LOR in mpr(4)

2016-10-19 Thread Pete Wright
On 10/19/16 8:10 AM, geoffroy desvernay wrote: On 11/17/2015 21:43, Pete Wright wrote: On 11/12/15 09:44, Pete Wright wrote: Hi All, Just wanted a sanity check before filing a PR. I am running r290688 and am seeing a LOR being triggered in the mpr(4) device: $ uname -ar FreeBSD srd0013

Re: LOR in mpr(4)

2016-10-19 Thread geoffroy desvernay
On 11/17/2015 21:43, Pete Wright wrote: > > > On 11/12/15 09:44, Pete Wright wrote: >> Hi All, >> Just wanted a sanity check before filing a PR. I am running r290688 and >> am seeing a LOR being triggered in the mpr(4) device: >> >> $ uname -ar >&

Re: LOR on 11.0-ALPHA5 amd64

2016-07-04 Thread Ngie Cooper
> On Jul 4, 2016, at 07:04, René Ladan wrote: > > Hi, > > I got this LOR today on a 11.0-ALPHA5 amd64 (FTP installation) > instance running in Virtualbox 5.0.24 r108355 with Windows 10 as a > host: > > 1st ufs (ufs) @ /usr/src/sys/ufs/ufs/ufs_vnops.c:1157 > 2n

LOR on 11.0-ALPHA5 amd64

2016-07-04 Thread René Ladan
Hi, I got this LOR today on a 11.0-ALPHA5 amd64 (FTP installation) instance running in Virtualbox 5.0.24 r108355 with Windows 10 as a host: 1st ufs (ufs) @ /usr/src/sys/ufs/ufs/ufs_vnops.c:1157 2nd bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:263 3rd ufs (ufs) @ /usr/src/sys/kern

LOR during unmount on 11.0-ALPHA5

2016-07-02 Thread Michael Plass
3272ca It seems to happen on shutdown. I don't think I've seen it hang. The log shows one involving ufs instead of zfs, unfortunately without a stack. I'm not sure why that is, unless it was the installation memstick. There's another, probably unrelated, LOR that I'll put in a

LOR involving igmp on 11.0-ALPHA5

2016-07-02 Thread Michael Plass
FreeBSD xx 11.0-ALPHA5 FreeBSD 11.0-ALPHA5 #0 r302164: Fri Jun 24 02:51:52 UTC 2016 r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 lock order reversal: 1st 0xf80003cff990 if_addr_lock (if_addr_lock) @ /usr/src/sys/netinet/igmp.c:1716 2nd 0x81d7b660 ifnet_rw (ifn

Re: Netmap LOR

2016-04-27 Thread John Baldwin
On Monday, April 25, 2016 07:27:00 PM Shawn Webb wrote: > Here's the backtrace: > > lock order reversal: (sleepable after non-sleepable) > 1st 0xf8002a914840 vm object (vm object) @ /usr/src/sys/vm/vm_fault.c:361 > 2nd 0x822bf9c8 (&nm_mem)->nm_mtx ((&nm_mem)->nm_mtx) @ > /usr/src/sy

Netmap LOR

2016-04-25 Thread Shawn Webb
Here's the backtrace: lock order reversal: (sleepable after non-sleepable) 1st 0xf8002a914840 vm object (vm object) @ /usr/src/sys/vm/vm_fault.c:361 2nd 0x822bf9c8 (&nm_mem)->nm_mtx ((&nm_mem)->nm_mtx) @ /usr/src/sys/dev/netmap/netmap_mem2.c:490 stack backtrace: #0 0x80bb379

Re: LOR in r295717M

2016-03-14 Thread Chris H
On Mon, 14 Mar 2016 16:13:22 -0700 "Chris H" wrote > On Mon, 14 Mar 2016 15:16:06 -0700 "Robison, Dave" > wrote > > > Hope this is the right place to take this. I can provide more info as > > requested. > Hello, Dave. > I reported nearly identical LOR's last week, and was > told they're, ahem.

Re: LOR in r295717M

2016-03-14 Thread Chris H
On Mon, 14 Mar 2016 15:16:06 -0700 "Robison, Dave" wrote > Hope this is the right place to take this. I can provide more info as > requested. Hello, Dave. I reported nearly identical LOR's last week, and was told they're, ahem... "normal" see; harmless. My suggestion; rebuild your kernel, and re

LOR in r295717M

2016-03-14 Thread Robison, Dave
Hope this is the right place to take this. I can provide more info as requested. lock order reversal: 1st 0xfe03e1823700 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3488 2nd 0xf80005286200 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:281 stack backtrace: #0 0x80a

LOR: ZFS/syncer: on mount of msdosfs

2016-02-20 Thread Larry Rosenman
Is this a known LOR: lock order reversal: 1st 0xf801d20ea5f0 zfs (zfs) @ /usr/src/sys/kern/vfs_mount.c:1222 2nd 0xf801d2fe6418 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2618 stack backtrace: #0 0x80a7f810 at witness_debugger+0x70 #1 0x80a7f711 at

Re: New LOR ?

2016-02-12 Thread Alfred Perlstein
On 2/12/16 12:50 AM, Poul-Henning Kamp wrote: I don't recall seeing this one before: FreeBSD critter.freebsd.dk 11.0-CURRENT FreeBSD 11.0-CURRENT #31 r293468: Sat Jan 9 11:50:09 UTC 2016 r...@critter.freebsd.dk:/freebsd/obj/freebsd/svn_src/head/sys/GENERIC amd64 +taskqueue_drain with

New LOR ?

2016-02-12 Thread Poul-Henning Kamp
I don't recall seeing this one before: FreeBSD critter.freebsd.dk 11.0-CURRENT FreeBSD 11.0-CURRENT #31 r293468: Sat Jan 9 11:50:09 UTC 2016 r...@critter.freebsd.dk:/freebsd/obj/freebsd/svn_src/head/sys/GENERIC amd64 +taskqueue_drain with the following non-sleepable locks held: +exclusive

[RESOLVED] LOR On AMD64 hosted by KVM hypervisor

2015-12-09 Thread Pete Wright
Closing the loop on this for the archives - I am no longer seeing this LOR as of r291998. -pete On 12/08/15 11:36, Pete Wright wrote: > Hey All, > I am seeing a repeated LOR on r291495 that is pretty reproducible. This > happens right after the system boots: > > lock order r

LOR On AMD64 hosted by KVM hypervisor

2015-12-08 Thread Pete Wright
Hey All, I am seeing a repeated LOR on r291495 that is pretty reproducible. This happens right after the system boots: lock order reversal: 1st 0xfe03e37fa920 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3476 2nd 0xf80024c72200 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c

Re: New LOR in zfs?

2015-11-23 Thread Alan Somers
0468 2483484 1725698413%/usr/src >> sys/var 17358024 101040 17256984 1%/var >> root@ton-96: zfs set mountpoint=/usr/obj.4 sys/obj.4 >> >> I got a LOR (new to me, at any rate) on the console: >> lock order reversal: >> 1st 0xf8000612

Re: New LOR in zfs?

2015-11-23 Thread Mark Johnston
; sys/obj.3 19588636 2331652 1725698412%/usr/obj.3 > sys/ports 17257080 96 17256984 0%/usr/ports > sys/src 19740468 2483484 1725698413%/usr/src > sys/var 17358024 101040 17256984 1%/var > root@ton-96: zfs set mountpoi

Re: New LOR in zfs?

2015-11-23 Thread Michael Mitchell
rc > sys/var 17358024 101040 17256984 1%/var > root@ton-96: zfs set mountpoint=/usr/obj.4 sys/obj.4 > > I got a LOR (new to me, at any rate) on the console: > lock order reversal: > 1st 0xf8000612da38 zfs (zfs) @ /usr/src/sys/kern/vfs_mount.c:1224 > 2nd

New LOR in zfs?

2015-11-23 Thread Kurt Lidl
/src 19740468 2483484 1725698413%/usr/src sys/var 17358024 101040 17256984 1%/var root@ton-96: zfs set mountpoint=/usr/obj.4 sys/obj.4 I got a LOR (new to me, at any rate) on the console: lock order reversal: 1st 0xf8000612da38 zfs (zfs) @ /usr/src/sys/kern

Re: LOR in mpr(4)

2015-11-17 Thread Pete Wright
On 11/12/15 09:44, Pete Wright wrote: > Hi All, > Just wanted a sanity check before filing a PR. I am running r290688 and > am seeing a LOR being triggered in the mpr(4) device: > > $ uname -ar > FreeBSD srd0013 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r290688: Wed Nov 11 &

LOR in mpr(4)

2015-11-12 Thread Pete Wright
Hi All, Just wanted a sanity check before filing a PR. I am running r290688 and am seeing a LOR being triggered in the mpr(4) device: $ uname -ar FreeBSD srd0013 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r290688: Wed Nov 11 21:28:26 PST 2015 root@srd0013:/usr/obj/usr/src/sys/GENERIC amd64 lock

LOR with bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:263

2015-01-21 Thread Willem Jan Withagen
Hoi, Looked at: http://sources.zabbadoz.net/freebsd/lor.html#howtoreportalor But did not find any reference to ffs_vnops, so it might be a new one? I got this from running 'make installworld' of todays HEAD IN a bhyveVM which was already running thismornings kernel. So it was not the Dom0 ser

Re: LOR on head using virtualbox between intel kms and sound, with system lockup

2014-12-13 Thread Guido Falsi
fast_syscall+0xfb/frame 0xfe022ed8fab0 >>>>> --- syscall (133, FreeBSD ELF64, sys_sendto), rip = 0x80126c5a, rsp = >>>>> 0x7fffdf1e9df8, rbp = 0x7fffdf1e9e40 --- >> >>>> This is plain fault, in network stack, in the tcp send path. It has >&g

Re: LOR on head using virtualbox between intel kms and sound, with system lockup

2014-12-13 Thread Konstantin Belousov
), rip = 0x80126c5a, rsp = > >>> 0x7fffdf1e9df8, rbp = 0x7fffdf1e9e40 --- > > >> This is plain fault, in network stack, in the tcp send path. It has > >> nothing to do with sound at all, and the LOR between DRM device lock and > >> send buffer socket

Re: LOR on head using virtualbox between intel kms and sound, with system lockup

2014-12-12 Thread Guido Falsi
xfe022ed8fab0 >>> Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfe022ed8fab0 >>> --- syscall (133, FreeBSD ELF64, sys_sendto), rip = 0x80126c5a, rsp = >>> 0x7fffdf1e9df8, rbp = 0x7fffdf1e9e40 --- >> This is plain fault, in network stack, in the tcp send pa

LOR if_addr_lock/ifnet_rw

2014-12-10 Thread Mateusz Kwiatkowski
Hi, I got that LOR few minutes ago: lock order reversal: 1st 0xf800094f4990 if_addr_lock (if_addr_lock) @ /usr/src/sys/netinet/igmp.c:1716 2nd 0x818800d0 ifnet_rw (ifnet_rw) @ /usr/src/sys/net/if.c:243 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b

Re: LOR on head using virtualbox between intel kms and sound, with system lockup

2014-12-10 Thread Guido Falsi
p = 0x80126c5a, rsp = >> 0x7fffdf1e9df8, rbp = 0x7fffdf1e9e40 --- >> >> Please note that this is the last one, but at least another one, almost >> identical to this one, was scrolled up. I've been unable to recover >> their data, since, as I said the system is hard loc

Re: LOR on head using virtualbox between intel kms and sound, with system lockup

2014-12-10 Thread Konstantin Belousov
irtualbox VM with Windows 7, the system locked up > just after the startup sound was played in the VM, X11 disappeared and > the system locked hard and a LOR data on screen. > > (I already tested recompiling the virtualbox kmod and the bug shows up > with and without 3d/2d acceleratio

Re: LOR on head using virtualbox between intel kms and sound, with system lockup

2014-12-10 Thread Ranjan1018 .
s 7, the system locked up > just after the startup sound was played in the VM, X11 disappeared and > the system locked hard and a LOR data on screen. > > (I already tested recompiling the virtualbox kmod and the bug shows up > with and without 3d/2d acceleration enabled in the VM) >

LOR on head using virtualbox between intel kms and sound, with system lockup

2014-12-09 Thread Guido Falsi
, X11 disappeared and the system locked hard and a LOR data on screen. (I already tested recompiling the virtualbox kmod and the bug shows up with and without 3d/2d acceleration enabled in the VM) I copied (by hand, so sorry for any typos) the LOR data: Lock order reversal: (sleepable after non-sleepable)

Re: LOR on CURRENT

2014-11-05 Thread Chris H
On Wed, 5 Nov 2014 13:38:01 -0500 (EST) Benjamin Kaduk wrote > On Wed, 5 Nov 2014, Chris H wrote: > > > Greetings, > > a fresh install off the 2014-10-26 bootonly iso, generates the > > following LOR: > > > > lock order reversal: > > 1st 0xfe00

Re: LOR on CURRENT

2014-11-05 Thread Benjamin Kaduk
On Wed, 5 Nov 2014, Chris H wrote: > Greetings, > a fresh install off the 2014-10-26 bootonly iso, generates the > following LOR: > > lock order reversal: > 1st 0xfe00f7626b48 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3093 > 2nd 0xf8000404aa00 dirhash (dirh

LOR on CURRENT

2014-11-05 Thread Chris H
Greetings, a fresh install off the 2014-10-26 bootonly iso, generates the following LOR: lock order reversal: 1st 0xfe00f7626b48 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3093 2nd 0xf8000404aa00 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:2 84 KDB: stack backtrace

Re: Is LOR a new feature in 11-CURRENT?

2014-08-25 Thread Chris H
> Hi Chris, > > On Mon, Aug 25, 2014 at 1:19 PM, Chris H wrote: >> Greetings, all. >> I'm testing 11 current, and booting && installing from the >> 2014-08-11-r269824-disc1.iso >> returns the following, via dmesg(8): >> >> kernel: lock order reversal: >> kernel: 1st 0xf80002fa37c8 isofs (isofs

Re: Is LOR a new feature in 11-CURRENT?

2014-08-25 Thread Garrett Cooper
Hi Chris, On Mon, Aug 25, 2014 at 1:19 PM, Chris H wrote: > Greetings, all. > I'm testing 11 current, and booting && installing from the > 2014-08-11-r269824-disc1.iso > returns the following, via dmesg(8): > > kernel: lock order reversal: > kernel: 1st 0xf80002fa37c8 isofs (isofs) @ > /usr/

Is LOR a new feature in 11-CURRENT?

2014-08-25 Thread Chris H
Greetings, all. I'm testing 11 current, and booting && installing from the 2014-08-11-r269824-disc1.iso returns the following, via dmesg(8): kernel: lock order reversal: kernel: 1st 0xf80002fa37c8 isofs (isofs) @ /usr/src/sys/kern/vfs_mount.c:1219 kernel: 2nd 0xf80002fe7240 devfs (devfs)

LOR / ZFS on current 266923

2014-05-31 Thread Dan Mack
FYI: Just saw this today after a fresh install of 266923 - GENERIC kernel: root@darkstor:/ # uname -a FreeBSD darkstor 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r266923: Sat May 31 10:21:54 CDT 2014 root@darkstor:/usr/obj/usr/src/sys/GENERIC amd64 lock order reversal: 1st 0xf8029cfe79a0

New ufs LOR.

2014-05-16 Thread Mark Atkinson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mounted a drive with -o sync this morning on r266123 and got a LOR I had not seen before (ufs/soft updates) lock order reversal: 1st 0xf8005904db78 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2101 2nd 0xfe00efe72080 bufwait (bufwait) @ /usr

Three LOR in r264695

2014-04-22 Thread 小野寛生
I encountered three LOR in head r264695. The 1st and 2nd are the same and it does not seem to be in http://sources.zabbadoz.net/freebsd/lor.html , though similar LORs exist. The 3rd seems to be LOR #276 did not look into further detail. lock order reversal: 1st 0xc6d3b7f8 ufs (ufs) @ /usr/local

Re: LOR r262009

2014-02-17 Thread Benjamin Kaduk
On Mon, 17 Feb 2014, Dennis Glatting wrote: Decided to try clang 3.4 under CURRENT and got a LOR under ESXi: Feb 17 14:13:10 Head kernel: lock order reversal: Feb 17 14:13:10 Head kernel: 1st 0xfe00f6868548 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3081 Feb 17 14:13:10 Head kernel

LOR r262009

2014-02-17 Thread Dennis Glatting
Decided to try clang 3.4 under CURRENT and got a LOR under ESXi: Feb 17 14:13:10 Head kernel: lock order reversal: Feb 17 14:13:10 Head kernel: 1st 0xfe00f6868548 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3081 Feb 17 14:13:10 Head kernel: 2nd 0xf800035d3c00 dirhash (dirhash) @ /usr

Two LOR in r261885

2014-02-14 Thread mikej
I tried searching the list and google and could not find a reference which seemed to apply. Neither LOR dropped to the debugger. This happens when under heavy load poudreire 16 processes. If its been reported or nothing to worry about sorry for the noise. No sysctl, make, loader changes

devfs, zfs LoR

2013-10-13 Thread Eitan Adler
Hi, Is this real LoR or is it known to be invalid? lock order reversal: 1st 0xf800323725f0 zfs (zfs) @ /usr/src/sys/kern/vfs_mount.c:1237 2nd 0xf8010e9cdb78 syncer (syncer) @ /usr/src/sys/kern/vfs_subr.c:2210 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b

10-CURRENT - LOR (lock order reversal)

2013-09-17 Thread jb
Hi, these represent machine lockups, if not false positives. http://www.freebsd.org/cgi/query-pr.cgi?pr=182139&cat= jb ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail

LOR on reboot

2013-08-23 Thread Ke Sun
Hi current, I have FreeBSD 10.0-CURRENT #5 r254404 on my laptop. During reboot, I get the following LOR. Could someone please fix this? Thanks! Ke Sun Syncing disks, vnodes remaining...0 0 0 0 0 0 done All buffers synced. lock order reversal: 1st 0xfe00094bd5f0 zfs (zfs) @ /usr/src/sys

Re: LOR on head ...

2013-08-05 Thread Dan Mack
On Mon, 5 Aug 2013, Davide Italiano wrote: The LOR is a false positive. See the comment in sys/ufs/ufs/ufs_dirhash.c Also, switching motherboards is not related to this in any way. You'll eventually hit that LOR report, unless you disabled WITNESS. Ah, thank you Davide; sorry for the

Re: LOR on head ...

2013-08-05 Thread Davide Italiano
15312: the secondary GPT table is corrupt or > invalid. > GEOM: diskid/DISK-MDT-MCANKK515312: using the primary only -- recovery > suggested. > Root mount waiting for: usbus8 usbus5 usbus3 > Root mount waiting for: usbus8 usbus5 usbus3 > uhub7: 4 ports with 4 removable, self powere

Re: LOR on head ...

2013-08-05 Thread Sam Fourman Jr.
I am going to respond to this before I forget I had the SAME exact LOR's with ath 9300 and I reported them, however I have since switched out motherboards and the LOR's have strangely diapered here is a full dmesg for a perfectly working system FreeBSD clang version 3.3 (tags/RELEASE_33/fin

LOR on head ...

2013-08-05 Thread Dan Mack
Not sure if this is a known issue since I don't usually use UFS. Yesterday I put current on an acer laptop with an i3 processor/4GB RAM with UFS file system on a OCZ vertex 2 SSD and trim enabled via tunefs. Below is the dmesg along with the LOR message at the bottom. I can provide

Re: LOR: two vfs_bio.c:3070, ufs_dirhash.c:284 and vfs_mount.c:851, vfs_subr.c:2167

2013-05-02 Thread John Baldwin
On Thursday, May 02, 2013 3:55:25 am Ian FREISLICH wrote: > Hi > > I'm getting these two LORs at boot time, they don't seem to be known > on http://ipv4.sources.zabbadoz.net/freebsd/lor.html > > lock order reversal: > 1st 0xff83e37ee938 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3070 >

LOR: two vfs_bio.c:3070, ufs_dirhash.c:284 and vfs_mount.c:851, vfs_subr.c:2167

2013-05-02 Thread Ian FREISLICH
Hi I'm getting these two LORs at boot time, they don't seem to be known on http://ipv4.sources.zabbadoz.net/freebsd/lor.html lock order reversal: 1st 0xff83e37ee938 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3070 2nd 0xfe0030283800 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirh

ia64 r235474 panic preceded by LOR : exclusive sleep mutex vnode interlock (vnode interlock)panic: blockable sleep lock (sleep mutex) process lock @ /usr/src/sys/ia64/ia64/trap.c:562

2012-06-29 Thread Anton Shterenlikht
# dump -0aLuf - / | restore -rf - produces this panic: lock order reversal: 1st 0xa0009ca034f8 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2652 2nd 0xe0001163ebb0 snaplk (snaplk) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:2297 KDB: stack backtrace: getenv with the following non-sleepab

LOR so_snd_sx @ uipc_sockbuf.c and filedesc structure @ uipc_usrreq.c

2012-01-25 Thread Yuri Pankov
Hi, Getting this LOR every time I login via ssh after reboot, and it doesn't seem to be reported previously. Running 10.0-CURRENT r230537. lock order reversal: 1st 0xfe0160615490 so_snd_sx (so_snd_sx) @ /usr/src/sys/kern/uipc_sockbuf.c:148 2nd 0xfe0029ef1048 filedesc stru

Re: LOR in route.c // scope6.c

2011-09-21 Thread Sergey Kandaurov
On 19 August 2011 05:07, Garrett Cooper wrote: > Hi, >    I've periodically seen the following LOR when trying to repro a > panic after restarting my network configuration: > > :lock order reversal: >  1st 0xc4142f1c rtentry (rtentry) @ /usr/src/sys/net/routec:362 >

Re: LOR 9.0 beta1

2011-08-28 Thread Doug Barton
On 8/23/2011 7:48 AM, Garrett Cooper wrote: > On Tue, Aug 23, 2011 at 4:29 AM, Holger Kipp wrote: >> Maybe already seen... >> This is within Parallels 6.0 VM on a Mac with OS 10.6.8 > > ... > > This is a well known LOR. There are a lot of well-known LORs in HEA

Re: LOR 9.0 beta1

2011-08-23 Thread Garrett Cooper
On Tue, Aug 23, 2011 at 4:29 AM, Holger Kipp wrote: > Maybe already seen... > This is within Parallels 6.0 VM on a Mac with OS 10.6.8 ... This is a well known LOR. Thanks, -Garrett ___ freebsd-current@freebsd.org mailing list http://lists.freeb

LOR 9.0 beta1

2011-08-23 Thread Holger Kipp
Maybe already seen... This is within Parallels 6.0 VM on a Mac with OS 10.6.8 Aug 23 09:11:54 tramp kernel: lock order reversal: Aug 23 09:11:54 tramp kernel: 1st 0xff803d3d08b8 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2658 Aug 23 09:11:54 tramp kernel: 2nd 0xfe0002b6c800 dirhash (

LOR in route.c // scope6.c

2011-08-18 Thread Garrett Cooper
Hi, I've periodically seen the following LOR when trying to repro a panic after restarting my network configuration: :lock order reversal: 1st 0xc4142f1c rtentry (rtentry) @ /usr/src/sys/net/routec:362 2nd 0xc3d08604 if_afdata (if_afdata) @ /usr/src/sys/netinet6/scope6.c:417 KDB:

Re: Three LOR with latest -current

2011-08-17 Thread Benjamin Kaduk
Hello John, These seem to be well-known, per http://ipv4.sources.zabbadoz.net/freebsd/lor.html On Tue, 16 Aug 2011, John wrote: Hi folks, I'm seeing 3 lock order reversals with an up-to-date -current system. Stock system, GENERIC kernel. Let me know if this isn't enough information. Just bo

Three LOR with latest -current

2011-08-15 Thread John
Hi folks, I'm seeing 3 lock order reversals with an up-to-date -current system. Stock system, GENERIC kernel. Let me know if this isn't enough information. Just booting the system and the dmesg. Thanks, John lock order reversal: 1st 0xfe0289627db8 ufs (ufs) @ /usr/src.2011-08-14_10.53p

Re: LOR: vfs_lookup.c:501 ffs_vnops.c:261 vfs_subr.c:2134

2011-07-05 Thread John
Hi Folks, I just updated this particular systems to current as of this evening (2011-07-05 7:22pm EDT) and am still seeing this LOR. lock order reversal: 1st 0xfe003c893818 ufs (ufs) @ /usr/src.2011-07-05_7.22pm_EDT/sys/kern/vfs_lookup.c:501 2nd 0xff9f0c7eeef8 bufwait (bufwait

LOR: vfs_lookup.c:501 ffs_vnops.c:261 vfs_subr.c:2134

2011-06-18 Thread John
Hi folks, I'm seeing the following LOR in dmesg after my latest update this evening. # uname -a FreeBSD zfscarp3p 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Fri Jun 17 22:36:45 EDT 2011 root@zfscarp3p/usr/obj/usr/src.2011-06-17_9.36pm_EDT/sys/GENERIC amd6 WARNING: WITNESS option en

Re: Known LoR when taking bringing up bge(4) after system in multiuser?

2011-01-17 Thread Garrett Cooper
On Mon, Jan 17, 2011 at 7:44 AM, Sergey Kandaurov wrote: > On 20 February 2010 03:25, Garrett Cooper wrote: >> Hi, >>    I came across the following LoR: >> >> lock order reversal: >>  1st 0xc56aae04 if_afdata (if_afdata) @ >> /usr/home/garrcoop/ipcvs/free

Re: Known LoR when taking bringing up bge(4) after system in multiuser?

2011-01-17 Thread Sergey Kandaurov
On 20 February 2010 03:25, Garrett Cooper wrote: > Hi, >    I came across the following LoR: > > lock order reversal: >  1st 0xc56aae04 if_afdata (if_afdata) @ > /usr/home/garrcoop/ipcvs/freebsd/src/sys/net/if_llatbl.c:130 >  2nd 0xc58a1d80 radix node head (radix node head) @

Re: siftr LOR: PFil hook read/write mutex vs. tcp

2010-11-06 Thread Sergey Kandaurov
ntr_event_execute_handlers() > ithread_loop() > fork_exit() > fork_trampoline() > --- trap 0, rip = 0, rsp = 0xff8123559cf0, rbp = 0 --- > AFAIK, this LOR is documented in siftr(4) as harmless. -- wbr, pluknet ___ freebsd-current@freebsd.org m

siftr LOR: PFil hook read/write mutex vs. tcp

2010-11-06 Thread Bruce Cran
1st 0x80990308 PFil read/write mutex (PFil hook read/write mutex @ /usr/src/head/sys/net/pfil.c:77 2nd 0x80991528 tcp (tcp) @ /usr/src/head/sys/modules/siftr/../../netinet/siftr.c:702 KDB: stack backtrace: db_trace_self_wrapper() kdb_backtrace() _witness_debugger() witness_checkorde

LOR vfs_lookup.c + ffs_softdep.c + vfs_subr.c

2010-10-17 Thread Barbara
$ uname -a FreeBSD satanasso.local.net 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Mon Oct 11 09: 10:51 CEST 2010 r...@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO i386 lock order reversal: 1st 0xc68ec278 ufs (ufs) @ /usr/src/sys/kern/vfs_lookup.c:501 2nd 0xd995fc70 bufwait (bufwait) @ /usr/sr

LOR kern_sig.c + vm_kern.c

2010-10-17 Thread Barbara
$ uname -a FreeBSD satanasso.local.net 9.0-CURRENT FreeBSD 9.0-CURRENT #1: Mon Oct 11 09: 10:51 CEST 2010 r...@satanasso.local.net:/usr/obj/usr/src/sys/SATANASSO i386 lock order reversal: 1st 0xc6befdd0 process lock (process lock) @ /usr/src/sys/kern/kern_sig.c:3341 2nd 0xc19b60e4 system map

An LOR recently observed on r212598

2010-09-14 Thread b. f.
An LOR, which resembles another reported in: http://lists.freebsd.org/pipermail/freebsd-current/2010-August/018986.html but none that I noticed at: http://sources.zabbadoz.net/freebsd/lor.html lock order reversal: 1st 0xff0001696098 ufs (ufs) @ /mnt/disk2/usr/src/sys/kern/vfs_lookup.c:501

Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580

2010-08-20 Thread John Baldwin
> new proc startup being equivalent to the LOR. I think that the wait > > > is safe, because the task is executed in the context of > > > the different process then the enqueue request. > > > This might be worth noting in the comment or commit message. > > > > I

Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580

2010-08-20 Thread Kostik Belousov
On Fri, Aug 20, 2010 at 03:35:48PM -0400, John Baldwin wrote: > On Friday, August 20, 2010 3:19:53 pm Kostik Belousov wrote: > > It seems nobody replied to the mdf@ objection against wait of the > > new proc startup being equivalent to the LOR. I think that the wait > > is s

Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580

2010-08-20 Thread John Baldwin
; >> > Also, I'm not sure how this works as you don't actually wait for the > > >> > task to > > >> > complete. If the taskqueue_enqueue() doesn't preempt, then you may > > >> > read > > >> > ni_error as zero b

Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580

2010-08-20 Thread Kostik Belousov
ly wait for the > >> > task to > >> > complete.  If the taskqueue_enqueue() doesn't preempt, then you may read > >> > ni_error as zero before the kproc has actually been created and return > >> > success > >> > even though an nfsiod hasn&

Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580

2010-08-20 Thread pluknet
On 19 August 2010 17:34, John Baldwin wrote: > On Thursday, August 19, 2010 5:29:25 am pluknet wrote: >> On 19 August 2010 00:07, John Baldwin wrote: >> > On Wednesday, August 18, 2010 3:17:56 pm pluknet wrote: >> >> On 18 August 2010 23:11, pluknet wrote: >> >> > On 18 August 2010 17:46, Kostik

Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580

2010-08-19 Thread John Baldwin
On Thursday, August 19, 2010 5:29:25 am pluknet wrote: > On 19 August 2010 00:07, John Baldwin wrote: > > On Wednesday, August 18, 2010 3:17:56 pm pluknet wrote: > >> On 18 August 2010 23:11, pluknet wrote: > >> > On 18 August 2010 17:46, Kostik Belousov wrote: > >> >> On Wed, Aug 18, 2010 at 02

Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580

2010-08-19 Thread pluknet
On 19 August 2010 04:04, Rick Macklem wrote: >> On 18 August 2010 12:07, pluknet wrote: >> > On 17 August 2010 20:04, Kostik Belousov wrote: >> > >> >> >> >> Also please take a note of the John' suggestion to use the taskqueue. >> > >> > I decided to go this road. Thank you both. >> > Now I do n

Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580

2010-08-19 Thread pluknet
On 19 August 2010 00:07, John Baldwin wrote: > On Wednesday, August 18, 2010 3:17:56 pm pluknet wrote: >> On 18 August 2010 23:11, pluknet wrote: >> > On 18 August 2010 17:46, Kostik Belousov wrote: >> >> On Wed, Aug 18, 2010 at 02:43:19PM +0400, pluknet wrote: >> >>> On 18 August 2010 12:07, pl

Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580

2010-08-18 Thread Rick Macklem
> On 18 August 2010 12:07, pluknet wrote: > > On 17 August 2010 20:04, Kostik Belousov wrote: > > > >> > >> Also please take a note of the John' suggestion to use the taskqueue. > > > > I decided to go this road. Thank you both. > > Now I do nfs buildkernel survive and prepare some benchmark resu

Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580

2010-08-18 Thread John Baldwin
On Wednesday, August 18, 2010 3:17:56 pm pluknet wrote: > On 18 August 2010 23:11, pluknet wrote: > > On 18 August 2010 17:46, Kostik Belousov wrote: > >> On Wed, Aug 18, 2010 at 02:43:19PM +0400, pluknet wrote: > >>> On 18 August 2010 12:07, pluknet wrote: > >>> > On 17 August 2010 20:04, Kosti

Re: LOR on nfs: vfs_vnops.c:301 kern_descrip.c:1580

2010-08-18 Thread pluknet
On 18 August 2010 23:11, pluknet wrote: > On 18 August 2010 17:46, Kostik Belousov wrote: >> On Wed, Aug 18, 2010 at 02:43:19PM +0400, pluknet wrote: >>> On 18 August 2010 12:07, pluknet wrote: >>> > On 17 August 2010 20:04, Kostik Belousov wrote: >>> > >>> >> >>> >> Also please take a note of

  1   2   3   4   >