This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

smb_panic and core dump...

New installs of XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
anicesteak
NewUser
NewUser
Posts: 7
Joined: 23 Oct 2012 05:10
Status: Offline

smb_panic and core dump...

Post by anicesteak »

I set up a new Geom Raid5 and the file transfer keeps failing because of a network error (that's what Windoze says on the file copy).

So I look up the log on Nas4Free, and I see panic/reboot. Is this a config issue or a bug? I would hope that a config issue could not cause a panic...

Code: Select all

Oct 24 01:26:58 	nas4free 	smbd[95826]:
Oct 24 01:26:58 	nas4free 	smbd[95826]: dumping core in /var/log/samba/cores/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: [2012/10/24 01:26:58.436918, 0] lib/fault.c:416(dump_core)
Oct 24 01:26:58 	nas4free 	smbd[95826]: #16 0x80d0328 <_start+24> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #15 0x80d03b7 <_start+167> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #14 0x86cf24b <main+5883> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #13 0x84323d5 <_tevent_loop_once+149> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #12 0x8431ea9 <event_add_to_poll_args+921> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #11 0x8431a27 <run_events_poll+903> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #10 0x86cd464 <smbd_event_context+3140> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #9 0x815884b <smbd_process+2395> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #8 0x84316c6 <run_events_poll+38> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	kernel: pid 95826 (smbd), uid 0: exited on signal 6
Oct 24 01:26:58 	nas4free 	smbd[95826]: #7 0x8433c13 <tevent_common_check_signal+243> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #6 0x8165fb5 <smbd_aio_complete_aio_ex+309> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #5 0x8165ecb <smbd_aio_complete_aio_ex+75> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #4 0x8165965 <cancel_aio_by_fsp+261> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #3 0x8166c9a <schedule_smb2_aio_read+1242> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #2 0x7fbfffb4
Oct 24 01:26:58 	nas4free 	smbd[95826]: #1 0x8410b06 <dump_core_setup+2134> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: #0 0x84221a1 <smb_panic+49> at /usr/local/sbin/smbd
Oct 24 01:26:58 	nas4free 	smbd[95826]: BACKTRACE: 17 stack frames:
Oct 24 01:26:58 	nas4free 	smbd[95826]: [2012/10/24 01:26:58.436748, 0] lib/util.c:1221(log_stack_trace)
Oct 24 01:26:58 	nas4free 	smbd[95826]: PANIC (pid 95826): internal error
Oct 24 01:26:58 	nas4free 	smbd[95826]: [2012/10/24 01:26:58.435836, 0] lib/util.c:1117(smb_panic)
Oct 24 01:26:58 	nas4free 	smbd[95826]: ===============================================================
Oct 24 01:26:58 	nas4free 	smbd[95826]: [2012/10/24 01:26:58.435821, 0] lib/fault.c:55(fault_report)
Oct 24 01:26:58 	nas4free 	smbd[95826]: From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
Oct 24 01:26:58 	nas4free 	smbd[95826]:
Oct 24 01:26:58 	nas4free 	smbd[95826]: [2012/10/24 01:26:58.435795, 0] lib/fault.c:54(fault_report)
Oct 24 01:26:58 	nas4free 	smbd[95826]: Please read the Trouble-Shooting section of the Samba3-HOWTO
Oct 24 01:26:58 	nas4free 	smbd[95826]: INTERNAL ERROR: Signal 11 in pid 95826 (3.6.7)
Oct 24 01:26:58 	nas4free 	smbd[95826]: [2012/10/24 01:26:58.435772, 0] lib/fault.c:52(fault_report)
Oct 24 01:26:58 	nas4free 	smbd[95826]: ===============================================================
Oct 24 01:26:58 	nas4free 	smbd[95826]: [2012/10/24 01:26:58.435598, 0] lib/fault.c:51(fault_report)

davidb
Starter
Starter
Posts: 55
Joined: 05 Jul 2012 17:51
Status: Offline

Re: smb_panic and core dump...

Post by davidb »

Check your samba settings: if you are using smb2, make sure AIO (asyncronous I/O) option is disabled.

Also, can you give us more info about your setup? version?

anicesteak
NewUser
NewUser
Posts: 7
Joined: 23 Oct 2012 05:10
Status: Offline

Re: smb_panic and core dump...

Post by anicesteak »

Yes, using smb2, AIO was enabled so I disabled it.

Here's Status > System:

Hostname nas4free.local
Version 9.1.0.1 - Sandstorm (revision 358)
Built date Thu Oct 18 00:15:42 JST 2012
Platform OS FreeBSD 9.1-RC2 (reldate 901000)
Platform x86-embedded on AMD Athlon(tm) II X3 445 Processor
System Gigabyte Technology Co., Ltd. GA-78LMT-S2P Bios: F2 03/20/2012
System time
System uptime 3 day(s) 4 hour(s) 33 minute(s) 20 second(s)
Last config change
CPU temperature
18.5°C
18.5°C
18.5°C
CPU frequency
CPU usage
Memory usage
Load averages [Show process information]
Disk space usage
bigfs
0% of 13TB
Total: 13T | Used: 32M | Free: 12T

davidb
Starter
Starter
Posts: 55
Joined: 05 Jul 2012 17:51
Status: Offline

Re: smb_panic and core dump...

Post by davidb »

anicesteak wrote:Yes, using smb2, AIO was enabled so I disabled it.
That was the crux of the problem, if you search these forums there are many topics about it.
Its a samba limitation, not NAS4Free
Hope you don't have any more problems!

Post Reply

Return to “Install XigmaNAS”