From owner-freebsd-current@FreeBSD.ORG Fri Feb 6 06:07:24 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A145016A4CE for ; Fri, 6 Feb 2004 06:07:24 -0800 (PST) Received: from rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7691A43D1D for ; Fri, 6 Feb 2004 06:07:21 -0800 (PST) (envelope-from itetcu@apropo.ro) Received: (qmail 23523 invoked from network); 6 Feb 2004 14:07:19 -0000 Received: from unknown (HELO it.buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 6 Feb 2004 14:07:18 -0000 Date: Fri, 6 Feb 2004 16:09:02 +0200 From: Ion-Mihai Tetcu To: freebsd-current@freebsd.org Message-Id: <20040206160902.69da539f@it.buh.cameradicommercio.ro> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.8claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD 5.2C: LOR - 1st 0xca738038 filedesc structure (filedescstructure) @ X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 06 Feb 2004 14:07:24 -0000 On Tue, 27 Jan 2004 04:35:31 -0500 "Mike Schreckengost" wrote: > Hi Peter, > I also see similar LOR messages (w/ backtraces) from time to time on my > FreeBSD 5.2-CURRENT system. I also use an SMP machine (2 AMD Athlon-MP 2100+ > processors), I don't know if this is related to the problem or not. Anyways, > if you discover any helpful information, I would be delighted if you'd share > it. :) > > Thanks in advance, > Mike Hi, I've got the following yesterday, doing nothing specially afaik. Sources about 23 Jan, kernel with ULE, SMP (UP machine), apic, invariants and witness. If there's anything more I can do, please let me know. lock order reversal 1st 0xc6698138 filedesc structure (filedesc structure) @ /usr/src/sys/kern/sys_ generic.c:1070 2nd 0xc06ddd00 Giant (Giant) @ /usr/src/sys/fs/specfs/spec_vnops.c:377 Stack backtrace: backtrace(c068cb42,c06ddd00,c0688b03,c0688b03,c068416f) at backtrace+0x17 witness_lock(c06ddd00,8,c068416f,179,c070d73c) at witness_lock+0x6f0 _mtx_lock_flags(c06ddd00,0,c068416f,179,c068d153) at _mtx_lock_flags+0xcc spec_poll(d9af2b48,d9af2b68,c054e5bc,d9af2b48,c06d4900) at spec_poll+0x114 spec_vnoperate(d9af2b48,c06d4900,c45e4c30,40,c64d3580) at spec_vnoperate+0x18 vn_poll(c66e9000,40,c64d3580,c66fb690,c64d3580) at vn_poll+0x3c pollscan(c66fb690,d9af2bd8,2,3e6,10) at pollscan+0xa8 poll(c66fb690,d9af2d14,c06a2b4e,3ee,3) at poll+0x242 syscall(2f,2f,2f,bfbfd340,bfbfd2a8) at syscall+0x292 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (209), eip = 0x28c73a2f, esp = 0xbfbfd26c, ebp = 0xbfbfd2c8 --- # uname -a FreeBSD it.buh.cameradicommercio.ro 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Mon Jan 26 14:24:42 EET 2004 itetcu@it.buh.cameradicommercio.ro:/usr/obj/usr/src/sys/ULE1 i386 machine i386 cpu I686_CPU ident ULE1 options CPU_ATHLON_SSE_HACK options HZ=1000 options NPX_DEBUG makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options BREAK_TO_DEBUGGER #options SCHED_4BSD #4BSD scheduler options SCHED_ULE #firts try, huh :) options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options NFSCLIENT #Network Filesystem Client options NFSSERVER #Network Filesystem Server options NFS_ROOT #NFS usable as /, requires NFSCLIENT options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options IPFIREWALL_VERBOSE # Debugging for use in -current options DDB #Enable the kernel debugger options INVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS options WITNESS #Enable checks to detect deadlocks and cycles #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC .... -- IOnut Unregistered ;) FreeBSD user