smb_panic

Karolin Seeger ks at sernet.de
Thu Aug 10 13:36:04 GMT 2006


Hi list, hi Jeremy,

I apologize for such a bad report, but I do not have any further
information and cannot reproduce.

I mounted a Samba share (data) using CIFS. Afterwards I was not able to read a
file (SLES10-i386-ISO/SLES-10-x86-CD1.iso) despite UNIX and Samba permission 
allowed it. While trying to access this file, Samba ran into a panic action:

-----8<------------------snip--------------8<--------------
[2006/08/10 12:59:23, 0] smbd/files.c:file_find_dif(289)
  file_find_dif: file
ftp/pub/linux/suse/SLES10-i386-ISO/SLES-10-x86-CD1.iso dev = fd00, inode =
3626361325, file_id = 4 oplock_type = 1 is a stat open with oplock type !
[2006/08/10 12:59:23, 0] lib/util.c:smb_panic(1592)
  PANIC (pid 9824): file_find_dif

[2006/08/10 12:59:23, 0] lib/util.c:log_stack_trace(1699)
  BACKTRACE: 11 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x8237713]
   #1 /usr/sbin/smbd(smb_panic+0x48) [0x8237598]
   #2 /usr/sbin/smbd(file_find_dif+0x127) [0x808f127]
   #3 /usr/sbin/smbd [0x82679f1]
   #4 /usr/sbin/smbd [0x82682b7]
   #5 /usr/sbin/smbd(message_dispatch+0x141) [0x82415d1]
   #6 /usr/sbin/smbd [0x80f1e82]
   #7 /usr/sbin/smbd(smbd_process+0xed) [0x80f3acd]
   #8 /usr/sbin/smbd(main+0x98e) [0x82cb8ce]
   #9 /lib/tls/libc.so.6(__libc_start_main+0xf4) [0xb7d4c974]
   #10 /usr/sbin/smbd [0x8082f21]
[2006/08/10 12:59:23, 0] lib/util.c:smb_panic(1600)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 9824]
[2006/08/10 12:59:23, 0] lib/util.c:smb_panic(1608)
  smb_panic(): action returned status 0
[2006/08/10 12:59:23, 0] lib/fault.c:dump_core(168)
  unable to change to /var/log/samba/cores/smbdrefusing to dump core
----->8------------------snap-------------->8--------------


Server:
-------

Share:
-----8<------------------snip--------------8<--------------
[data]
   public = yes
   path = /space/data
----->8------------------snap-------------->8--------------

Samba:
-----8<------------------snip--------------8<--------------
oscar:/var/log/samba# smbd -V
Version 3.0.23a-SerNet-Debian
----->8------------------snap-------------->8--------------

Kernel:
----->8------------------snap-------------->8--------------
oscar:/var/log/samba# uname -a
Linux oscar 2.6.11-1-686 #1 Fri May 20 07:34:54 UTC 2005 i686 GNU/Linux
----->8------------------snap-------------->8--------------


Client:
-------

Permissions:
-----8<------------------snip--------------8<--------------
opi:/install/ftp/pub/linux/suse/SLES10-i386-ISO # ls -al
total 11328584
drwxr-xr-x   3 root    root           0 Jul 21 10:40 .
drwxrwxr-x  82 root    users          0 Aug 10 14:05 ..
-rw-r--r--   1    2044 users  693221376 Jul 21 10:17 SLES-10-x86-CD1.iso
----->8------------------snap-------------->8--------------

Command:
-----8<------------------snip--------------8<--------------
opi:/install/ftp/pub/linux/suse/SLES10-i386-ISO # cp SLES-10-x86-CD1.iso
/tmp
cp: reading `SLES-10-x86-CD1.iso': Permission denied
----->8------------------snap-------------->8--------------

mount.cifs:
-----8<------------------snip--------------8<--------------
opi:/install/ftp/pub/linux/suse/SLES10-i386-ISO # rpm -qf /sbin/mount.cifs
samba3-cifsmount-3.0.23rc3-26
----->8------------------snap-------------->8--------------

Kernel:
-----8<------------------snip--------------8<--------------
opi:/install/ftp/pub/linux/suse/SLES10-i386-ISO # uname -a
Linux opi 2.6.5-7.257-default #1 Mon May 15 14:14:14 UTC 2006 x86_64
x86_64 x86_64 GNU/Linux
----->8------------------snap-------------->8--------------

Why did Samba ran into that panic action?

If you need any further information, please feel free to ask!

Thanks in advance!

With kind regards,
Karolin

-- 
Karolin Seeger, SerNet Service Network GmbH
phone: +49-551-370000-0, fax: +49-551-370000-9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060810/e4d882a2/attachment.bin


More information about the samba-technical mailing list