Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 16:09:02 +0200
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        freebsd-current@freebsd.org
Subject:   Re: FreeBSD 5.2C: LOR - 1st 0xca738038 filedesc structure (filedescstructure) @
Message-ID:  <20040206160902.69da539f@it.buh.cameradicommercio.ro>
In-Reply-To: <Law9-F94nBKSpQRVH8g0001d95b@hotmail.com>
References:  <Law9-F94nBKSpQRVH8g0001d95b@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 27 Jan 2004 04:35:31 -0500
"Mike Schreckengost" <mrpolitics@hotmail.com> 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



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