permanent per month panic on 5.4-p4 related to smbfs

Oleg Palij o.palij at dp.uz.gov.ua
Mon Jan 23 22:29:58 PST 2006


Approximately once per month or two this server panics.
We use it for InterSystems Cache` (under linux emulation) and as samba-server (not heavy-loaded).
Also, we are using smbfs

# mount | grep smbfs
//LASU at SPD/FTPEXCHANGE on /mnt/exchange (smbfs)
//PORTER at ISC-CACHE/FREEBSD on /mnt/FreeBSD (smbfs)

Panics mostly happen while active usage of smbfs.

# dmesg -a
can be found at http://www.dp.uz.gov.ua/dmesg.isc-cache
kernel config - http://www.dp.uz.gov.ua/kernel.isc-cache

# uname -a
FreeBSD isc-cache.dp.uz.gov.ua 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #1:
Fri Nov  4 11:37:34 EET 2005
root at isc-cache.dp.uz.gov.ua:/usr/obj/usr/src/sys/ISC-CACHE_KERNEL  i386

db> where
Tracing pid 46479 tid 100104 td 0xc12a1600
turnstile_head(0,c11dd700,c1c42700,c11dd700,cc396b54) at turnstile_head+0x6
_mtx_unlock_sleep(c1c42794,0,c1d6eec2,61) at _mtx_unlock_sleep+0x40
_mtx_unlock_flags(c1c42794,0,c1d6eec2,61,c11dd700) at _mtx_unlock_flags+0x2e
smb_iod_invrq(c11dd700,c11dd700,c11dd700,cc396ba4,c1d63766) at smb_iod_invrq+0x43
smb_iod_dead(c11dd700,c1597400,c1597488,c1c42700,cc396bbc) at smb_iod_dead+0x1a
smb_iod_addrq(c1c42700,c1c42700,0,c1042a00,cc396bd4) at smb_iod_addrq+0x6e
smb_rq_enqueue(c1c42700,c1c42718,c102c5c0,c1042a00,cc396ce4) at smb_rq_enqueue+0x2d
smb_rq_simple(c1c42700,c1c42700,c1c42718,c1042a00,c1d6ecd9) at smb_rq_simple+0x2a
smb_smb_treeconnect(c1597400,c11dd750,c19a28f0,c11dd700,c11dd758) at smb_smb_treeconnect+0x24e
smb_iod_treeconnect(c11dd700,c1597400,c11dd700,c1342a98,c1d63d3c) at smb_iod_treeconnect+0x7b
smb_iod_thread(c11dd700,cc396d48) at smb_iod_thread+0xf4
fork_exit(c1d63d3c,c11dd700,cc396d48) at fork_exit+0x74
fork_trampoline() at fork_trampoline+0x8 
db> ps
  pid   proc     uid  ppid  pgrp  flag   stat  wmesg    wchan  cmd
38438 c1ba3e20    0 38437 38384 0004000 [SLPQ 90evw 0xc19a28f0][SLP] df
38437 c1491c5c    0 38393 38384 0004000 [SLPQ wait 0xc1491c5c][SLP] sh
38395 c12a0a98    0 38394 38384 0004000 [SLPQ piperd 0xc10b8600][SLP] mail
38394 c1ba31c4    0 38386 38384 0000000 [SLPQ wait 0xc1ba31c4][SLP] sh
38393 c12a08d4    0 38386 38384 0000000 [SLPQ wait 0xc12a08d4][SLP] sh
38386 c1ba3a98    0 38384 38384 0004000 [SLPQ wait 0xc1ba3a98][SLP] sh
38384 c11268d4    0 38380 38384 0004000 [SLPQ wait 0xc11268d4][SLP] sh
38380 c1ba61c4    0   433   433 0000000 [SLPQ piperd 0xc1341180][SLP] cron
35977 c129e1c4 1007 35975 35974 0004003 [SLPQ ttyin 0xc1061210][SLP] cache
35975 c129e54c 1007 35974 35974 0004002 [SLPQ wait 0xc129e54c][SLP] sh
35974 c0f5dc5c    0 35973 35974 0004102 [SLPQ wait 0xc0f5dc5c][SLP] login
35973 c1491e20    0   551 35973 0004000 [SLPQ select 0xc06c4784][SLP] telnetd
35406 c1ba6000    0   497 35406 0000101 [RUNQ] cache
34146 c14911c4    0   451   451 0000101 [SLPQ select 0xc06c4784][SLP] smbd
 1133 c1ba3000    0     1  1133 0004002 [SLPQ ttyin 0xc1043810][SLP] getty
91944 c1342388    0     1 91944 0004002 [SLPQ ttyin 0xc0e9c810][SLP] getty
46479 c1342a98    0     1     0 0000204 [APU 0] smbiod1
  564 c129e388    0     1   564 0004002 [SLPQ ttyin 0xc0e9c410][SLP] getty
  551 c125854c    0     1   551 0000000 [SLPQ select 0xc06c4784][SLP] inetd
  531 c129ea98    0   497   531 0000102 [SLPQ select 0xc06c4784][SLP] cache
  530 c125ce20    0   497   530 0000102 [SLPQ select 0xc06c4784][SLP] cache
  527 c125ca98    0   497   527 0000102 [SLPQ accept 0xc126d2c2][SLP] cache
  525 c125c8d4    0   524   525 0004002 [SLPQ select 0xc06c4784][SLP] clmanager
  524 c125c710    0   497   524 0000102 [SLPQ select 0xc06c4784][SLP] cache
  510 c129ec5c    0   497   497 0000102 [SLPQ semwait 0xc0fb0000][SLP] cache
  509 c129ee20    0   497   497 0000102 [SLPQ semwait 0xc0fb0000][SLP] cache
  508 c12a0000    0   497   497 0000102 [SLPQ semwait 0xc0fb0000][SLP] cache
  507 c1258710    0   497   497 0000102 [SLPQ semwait 0xc0fb0000][SLP] cache
  506 c108aa98    0   497   497 0000102 [SLPQ semwait 0xc0fb0000][SLP] cache
  505 c1258e20    0   497   497 0000102 [SLPQ semwait 0xc0fb0000][SLP] cache
  504 c125c388    0   497   497 0000102 [SLPQ semwait 0xc0fb0000][SLP] cache
  503 c108a000    0   497   497 0000102 [SLPQ semwait 0xc0fb0000][SLP] cache
  502 c0f5d1c4    0   497   497 0000102 [SLPQ semwait 0xc0fb0000][SLP] cache
  501 c1258a98    0   497   497 0000102 [SLPQ semwait 0xc0fb0000][SLP] cache
  500 c125c1c4    0   497   497 0000102 [SLPQ semwait 0xc0fb0000][SLP] cache
  497 c125c000    0     1   497 0004002 [SLPQ msgwait 0xc0f89000][SLP] cache
  455 c108ae20    0     1   455 0000001 [SLPQ select 0xc06c4784][SLP] winbindd
  453 c108ac5c    0     1   453 0000001 [SLPQ select 0xc06c4784][SLP] nmbd
  451 c1258000    0     1   451 0000001 [SLPQ select 0xc06c4784][SLP] smbd
  417 c0f5da98    0     1   417 0000100 [SLPQ select 0xc06c4784][SLP] sshd
  342 c0f5d710   64   340   340 0000100 [SLPQ bpf 0xc10d8100][SLP] pflogd
  340 c0f5d8d4    0     1   340 0000000 [SLPQ sbwait 0xc10d36ec][SLP] pflogd
  271 c0f5de20    0     1   271 0000000 [SLPQ select 0xc06c4784][SLP] syslogd
  253 c0f5d388    0     1   253 0000000 [SLPQ select 0xc06c4784][SLP] devd
  196 c0f5d54c    0     1   196 0000000 [SLPQ pause 0xc0f5d584][SLP] adjkerntz
   49 c108a54c    0     0     0 0000204 [SLPQ - 0xcbe75d18][SLP] schedcpu
   48 c108a710    0     0     0 0000204 [SLPQ - 0xc06c744c][SLP] nfsiod 3
   47 c108a8d4    0     0     0 0000204 [SLPQ - 0xc06c7448][SLP] nfsiod 2
   46 c0ef1a98    0     0     0 0000204 [SLPQ - 0xc06c7444][SLP] nfsiod 1
   45 c0ef1c5c    0     0     0 0000204 [SLPQ - 0xc06c7440][SLP] nfsiod 0
   44 c0ef1e20    0     0     0 0000204 [SLPQ vlruwt 0xc0ef1e20][SLP] vnlru
   43 c0f59000    0     0     0 0000204 [SLPQ syncer 0xc06c0f0c][SLP] syncer
   42 c0f591c4    0     0     0 0000204 [SLPQ psleep 0xc06c4d4c][SLP] bufdaemon
   41 c0f59388    0     0     0 000020c [RUNQ] pagezero
   40 c0f5954c    0     0     0 0000204 [SLPQ psleep 0xc06c8c48][SLP] vmdaemon
   39 c0f59710    0     0     0 0000204 [SLPQ psleep 0xc06c8c04][SLP] pagedaemon
   38 c0f598d4    0     0     0 0000204 [IWAIT] swi0: sio
   37 c0f59a98    0     0     0 0000204 [SLPQ - 0xc0ef253c][SLP] fdc0
   36 c0f59c5c    0     0     0 0000204 [SLPQ idle 0xc0e9b400][SLP] aic_recovery1
    9 c0f59e20    0     0     0 0000204 [SLPQ idle 0xc0e9b400][SLP] aic_recovery1
    8 c0f5d000    0     0     0 0000204 [SLPQ idle 0xc0e9b600][SLP] aic_recovery0
    7 c0ee054c    0     0     0 0000204 [SLPQ idle 0xc0e9b600][SLP] aic_recovery0
    6 c0ee08d4    0     0     0 0000204 [SLPQ - 0xc0f28a80][SLP] thread taskq
   34 c0ee0a98    0     0     0 0000204 [IWAIT] swi6:+
   33 c0ee0c5c    0     0     0 0000204 [IWAIT] swi6: task queue
   32 c0ee0e20    0     0     0 0000204 [IWAIT] swi3: cambio
   31 c0ef1000    0     0     0 0000204 [IWAIT] swi2: camnet
    5 c0ef11c4    0     0     0 0000204 [SLPQ - 0xc0f28d40][SLP] kqueue taskq
   30 c0ef1388    0     0     0 0000204 [SLPQ - 0xc06b8b40][SLP] yarrow
    4 c0ef154c    0     0     0 0000204 [SLPQ - 0xc06bb788][SLP] g_down
    3 c0ef1710    0     0     0 0000204 [SLPQ - 0xc06bb784][SLP] g_up
    2 c0ef18d4    0     0     0 0000204 [SLPQ - 0xc06bb77c][SLP] g_event
   29 c0eaa1c4    0     0     0 0000204 [IWAIT] swi4: vm
   28 c0eaa388    0     0     0 000020c [IWAIT] swi5: clock sio
   27 c0eaa54c    0     0     0 0000204 [IWAIT] swi1: net
   26 c0eaa710    0     0     0 0000204 [IWAIT] irq15: ahc0 ahc1+
   25 c0eaa8d4    0     0     0 0000204 [IWAIT] irq14: ata0
   24 c0eaaa98    0     0     0 0000204 [IWAIT] irq13:
   23 c0eaac5c    0     0     0 0000204 [IWAIT] irq12: psm0
   22 c0eaae20    0     0     0 0000204 [IWAIT] irq11: amr0
   21 c0ee0000    0     0     0 0000204 [IWAIT] irq10: xl0
   20 c0ee01c4    0     0     0 0000204 [IWAIT] irq9:
   19 c0ee0388    0     0     0 0000204 [IWAIT] irq8: rtc
   18 c0ea3000    0     0     0 0000204 [IWAIT] irq7: ppc0
   17 c0ea31c4    0     0     0 0000204 [IWAIT] irq6: fdc0
   16 c0ea3388    0     0     0 0000204 [IWAIT] irq5:
   15 c0ea354c    0     0     0 0000204 [IWAIT] irq4: sio0
   14 c0ea3710    0     0     0 0000204 [IWAIT] irq3: sio1
   13 c0ea38d4    0     0     0 0000204 [IWAIT] irq1: atkbd0
   12 c0ea3a98    0     0     0 0000204 [IWAIT] irq0: clk
   11 c0ea3c5c    0     0     0 000020c [Aan run] idle
    1 c0ea3e20    0     0     1 0004200 [SLPQ wait 0xc0ea3e20][SLP] init
   10 c0eaa000    0     0     0 0000204 [SLPQ ktrace 0xc06bf0d8][SLP] ktrace
    0 c06bb880    0     0     0 0000200 [SLPQ sched 0xc06bb880][SLP] swapper

What additional information can I provide?

Thanks!
-- 
Best regards,
Palij Oleg, ISC (Pridn railway) 
xmpp://malik@jabber.te.ua


More information about the freebsd-stable mailing list