Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2002 18:04:45 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Alfred Perlstein <alfred@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/netgraph ng_socket.c src/sys/alpha/osf1 osf1_misc.c src/sys/compat/linux linux_file.c linux_ioctl.c linux_stats.c src/sys/compat/svr4 svr4_fcntl.c svr4_filio.c svr4_ioctl.c svr4_stream.c src/sys/dev/aac aac.c src/sys/dev/tdfx ... 
Message-ID:  <20020114020445.72A28380D@overcee.wemm.org>
In-Reply-To: <200201140013.g0E0Dje20784@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote:
> alfred      2002/01/13 16:13:45 PST
> 
>   Modified files:
>     sys/netgraph         ng_socket.c 
>     sys/alpha/osf1       osf1_misc.c 
>     sys/compat/linux     linux_file.c linux_ioctl.c linux_stats.c 
>     sys/compat/svr4      svr4_fcntl.c svr4_filio.c svr4_ioctl.c 
>                          svr4_stream.c 
>     sys/dev/aac          aac.c 
>     sys/dev/tdfx         tdfx_pci.c 
>     sys/fs/fdescfs       fdesc_vnops.c 
>     sys/fs/portalfs      portal_vnops.c 
>     sys/i386/ibcs2       ibcs2_fcntl.c ibcs2_ioctl.c 
>     sys/kern             kern_descrip.c kern_event.c sys_generic.c 
>                          vfs_syscalls.c 
>     sys/sys              file.h 
>     sys/vm               vm_mmap.c 
>   Log:
>   Replace ffind_* with fget calls.
>   
>   Make fget MPsafe.
>   
>   Make fgetvp and fgetsock use the fget subsystem to reduce code bloat.
>   
>   Push giant down in fpathconf().

Still no joy:
#12 0xc01f0c57 in panic (fmt=0xc0302ac0 "mutex %s %p already initialized")
    at ../../../kern/kern_shutdown.c:634
#13 0xc01eab5b in mtx_init (m=0xd9c9bb90, 
    description=0xc02fd5ae "struct file", opts=0)
    at ../../../kern/kern_mutex.c:643
#14 0xc01c215b in fifo_ioctl (ap=0xd9c9bbec)
    at ../../../fs/fifofs/fifo_vnops.c:352
#15 0xc01c1cc5 in fifo_vnoperate (ap=0xd9c9bbec)
    at ../../../fs/fifofs/fifo_vnops.c:135
#16 0xc0287e91 in ufs_vnoperatefifo (ap=0xd9c9bbec)
    at ../../../ufs/ufs/ufs_vnops.c:2667
#17 0xc0232f23 in vn_ioctl (fp=0xc23a6080, com=2147772029, data=0xd9c9bcb0 "", 
    td=0xd9c8b904) at vnode_if.h:357
#18 0xc01dba53 in fcntl (td=0xd9c8b904, uap=0xd9c9bd20)
    at ../../../sys/file.h:200
#19 0xc02c542f in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 1, tf_esi = 12, tf_ebp = -1077937476, tf_isp = -641090188, 
      tf_ebx = 6, tf_edx = 0, tf_ecx = 0, tf_eax = 92, tf_trapno = 12, 
      tf_err = 2, tf_eip = 672002292, tf_cs = 31, tf_eflags = 518, 
      tf_esp = -1077937520, tf_ss = 47}) at ../../../i386/i386/trap.c:1034

At frame 18:
(kgdb) p td->td_proc->p_comm
$3 = "master\000\000\000er\000\000\000\000\000\000\000\000"

This is a postfix process.  Postfix has been the victim of my last three
panics (all fifo related, either select or fcntl).

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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