Page 1 of 1

Using SAMBA will hang up device

Posted: Sun May 13, 2012 7:03 am
by GAEvakYD
I've working with this great device for a several days. Look all the things are working normal.

Yesterday I've installed Samba to use the PI as a networkdisk from my Windows computers. The problem I've is that after copying a lot of files my PI stops working. Can't ping it anymore, only reboot by power down. It is random when this happend. Sometimes after coping for 5 minuts, sometime after 15 minuts.

Hopefully you can help me finding what the problem is.

Re: Using SAMBA will hang up device

Posted: Sun May 13, 2012 9:04 am
by dom
The newer kernel.ingon GitHub may fix this.

Re: Using SAMBA will hang up device

Posted: Sun May 13, 2012 2:48 pm
by GAEvakYD
Thanks. Must I upgrade this manually or is it integrated already in one of the new images.

Re: Using SAMBA will hang up device

Posted: Sun May 13, 2012 2:57 pm
by stevepdp
You can update the files manually, but it's much quicker (and generally safer) to use Hexxeh's updater tool.

See here for more info and follow the links for installation instructions.

Re: Using SAMBA will hang up device

Posted: Sun May 13, 2012 5:17 pm
by GAEvakYD
I've did the manually update from Hexxeh but still the same problem.

Is there a way to look in a errorlog what the last error was before crashing>?

Re: Using SAMBA will hang up device

Posted: Sun May 13, 2012 5:48 pm
by GAEvakYD
hmmmm get this from the smb.log

Code: Select all

[2012/05/13 18:16:15.405650,  0] lib/fault.c:47(fault_report)
  INTERNAL ERROR: Signal 7 in pid 1430 (3.5.6)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2012/05/13 18:16:15.405953,  0] lib/fault.c:49(fault_report)

  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2012/05/13 18:16:15.406222,  0] lib/fault.c:50(fault_report)
  ===============================================================
[2012/05/13 18:16:15.406444,  0] lib/util.c:1465(smb_panic)
  PANIC (pid 1430): internal error
[2012/05/13 18:16:15.407333,  0] lib/util.c:1569(log_stack_trace)
  BACKTRACE: 0 stack frames:
[2012/05/13 18:16:15.407717,  0] lib/util.c:1470(smb_panic)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 1430]
[2012/05/13 18:16:15.464173,  0] lib/util.c:1478(smb_panic)
  smb_panic(): action returned status 0
[2012/05/13 18:16:15.464772,  0] lib/fault.c:326(dump_core)
  dumping core in /var/log/samba/cores/smbd
/usr/lib/sendmail: No such file or directory
. . . message not sent.
[2012/05/13 18:16:16.524335,  1] smbd/service.c:1070(make_connection_snum)
  laptopruald (192.168.1.110) connect to service public initially as user xxx (uid=1002, gid=1001) (pid 1437)
[2012/05/13 18:16:16.530533,  0] lib/fault.c:46(fault_report)

Re: Using SAMBA will hang up device

Posted: Mon May 14, 2012 7:22 pm
by geeday
For the record, I think this happens to me whilst trying to download a rather large file from the internet (so not Samba).

I'm connecting using SSH, where the connection closes unexpectedly, and then I cannot ping the device either.

Will look to update.

good luck