Re: Help with mount_smbfs

Patrick Welche <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
On Fri, Feb 23, 2007 at 07:24:50AM -0700, Andy Ruhl wrote:
> On 2/22/07, Patrick Welche <[email protected]> wrote:
> >
> >I thought I would try, and got kern/35787 which is a bit more exciting...
> 
> Is that the right pr number? I can't find it.

I stupidly marked it confidential in error - if anyone can change
that, it would be great. The moral is, with an i386 kernel built
from yesterday's source, mount_smbfs gives me reproducibly:

#17 0xc02f43c7 in panic (fmt=0xc0508cec "setrunnable: !L_SINTR")
    at ../../../../kern/subr_prf.c:243
#18 0xc02de6ba in setrunnable (l=0xcbfe74c0)
    at ../../../../kern/kern_synch.c:830
#19 0xc02fad5e in selwakeup (sip=0xc1175c58)
    at ../../../../kern/sys_generic.c:1176
#20 0xc0317978 in sowakeup (so=0xc1175bd8, sb=0xc1175c58, code=1)
    at ../../../../sys/select.h:59
#21 0xc0146e2b in tcp_input (m=0xc1179d00)
    at ../../../../netinet/tcp_input.c:2536
#22 0xc013e69f in ip_input (m=0xc1179d00)
    at ../../../../netinet/ip_input.c:1035

amusingly the sync then locks against itself:

#0  0xc036991b in cpu_reboot (howto=0, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:870
#1  0xc02f43d3 in panic (fmt=0xc0507caf "LOCKDEBUG")
    at ../../../../kern/subr_prf.c:246
#2  0xc02edfd8 in lockdebug_abort1 (ld=0xc05b4630, lk=0xc05bc600, 
    func=0xc04a6114 "mutex_vector_enter", 
    msg=0xc05081c7 "locking against myself")
    at ../../../../kern/subr_lockdebug.c:605
#3  0xc02ee0a1 in lockdebug_abort (id=5, lock=0xc05b050c, ops=0xc0572488, 
    func=0xc04a6114 "mutex_vector_enter", 
    msg=0xc05081c7 "locking against myself")
    at ../../../../kern/subr_lockdebug.c:649
#4  0xc02cdbbc in mutex_abort (mtx=0xc05b050c, 
    func=0xc04a6114 "mutex_vector_enter", 
    msg=0xc05081c7 "locking against myself")
    at ../../../../kern/kern_mutex.c:278
#5  0xc02ce0f9 in mutex_vector_enter (mtx=0xc05b050c)
    at ../../../../kern/kern_mutex.c:501
#6  0xc02de8f5 in suspendsched () at ../../../../kern/kern_synch.c:962
#7  0xc03286d8 in vfs_shutdown () at ../../../../kern/vfs_subr.c:2218
#8  0xc03699a4 in cpu_reboot (howto=256, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:856
#9  0xc019f750 in db_sync_cmd (addr=-1070180156, have_addr=false, 
    count=-1067967803, modif=0xcad2bab8 "Ã\032XÀÄ\032XÀc")
    at ../../../../ddb/db_command.c:838
#10 0xc019fc40 in db_command (last_cmdp=0xc056c1bc, cmd_table=0x0)
    at ../../../../ddb/db_command.c:511
#11 0xc019fff8 in db_command_loop () at ../../../../ddb/db_command.c:299
#12 0xc01a2dd7 in db_trap (type=1, code=0) at ../../../../ddb/db_trap.c:101
#13 0xc0365a46 in kdb_trap (type=1, code=0, regs=0xcad2bce0)
    at ../../../../arch/i386/i386/db_interface.c:226
#14 0xc0373385 in trap (frame=0xcad2bce0)
    at ../../../../arch/i386/i386/trap.c:308
#15 0xc0102f7d in calltrap ()
#16 0xc03658c4 in cpu_Debugger () at ./machine/cpufunc.h:332

Mutex error: mutex_vector_enter: locking against myself

lock address : 0x00000000c05b050c type     :               spin
shared holds :                  0 exclusive:                  1
shares wanted:                  0 exclusive:                  0
current cpu  :                  0 last held:                  0
current lwp  : 000000000000000000 last held: 000000000000000000
last locked  : 0x00000000c03facc2 unlocked : 0x00000000c02fac3c
owner field  : 0x0000000000010c00 wait/spin:                0/1

panic: LOCKDEBUG


Cheers,

Patrick
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.