Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
DNS-323, Firmware 1.07
Funplug, ssh, mediatoomb, unfsd, fan_ctrl.sh. Don't remember all the details
I noticed samba was missing after I switched it on after the the holidays.
# /usr/sbin/samba/smbd
Aborted (core dumped)
# /usr/bin/smbd
Aborted (core dumped)
dmesg is full of:
SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 131072, avail_in 0, avail_out 0
SQUASHFS error: sb_bread failed reading block 0xe10
I presume that must be related.
Much more worrying than smbd failing in any case.
( ftp and ssh and nfs is working fine )
I guess I could make do with nfs just fine, but if the flash memory is dying, what’s the use :-(
Advice anybody?
Tanks
Offline
Flash memory is based on electric charge, which can leak away over time. In that case the flash could be fine, it just lost it's contents. The errors in your dmesg are about the contents, not the memory itself.
You could try to reflash the firmware, to refresh the contents. Unfortunately that will only refresh the kernel and rootfs, not the bootloader and -environment.
Offline
Hm.. is there a way of checking more closely what is failing?
I hesitate to just reflash and pray
where does /sys/crfs come from anyway?
--
when smbd crashes it does indeed leave SQUASHFS errors in dmesg:
SQUASHFS error: zlib_inflate returned unexpected result 0xfffffffd, srclength 131072, avail_in 0, avail_out 0
SQUASHFS error: sb_bread failed reading block 0xe10
SQUASHFS error: Unable to read page, block 3754d0, size ef12
Hm... a hunch
# md5sum /sys/crfs/samba/*
<snip>
02c5e9e3f5a65b39eb21cec2cacd59a7 /sys/crfs/samba/nmbd
044b373cdc4c4c6b8b96923199ce6ac2 /sys/crfs/samba/smb
1b7b93bcbbfae03131ec5ba594b733e6 /sys/crfs/samba/smbclient
359da3bf47f5f59cc2c2a5e7a5dc3b9b /sys/crfs/samba/smbcom
125ba7a7a2b3976c54f7946993095625 /sys/crfs/samba/smbpasswd
smbd is the only one who's not willing to get summed..
strace does not tell me much:
<snip>
brk(0x161000) = 0x161000
--- SIGBUS (Bus error) @ 0 (0) ---
chdir("/var/log/cores/smbd") = 0
umask(0177077) = 0
rt_sigaction(SIGABRT, {SIG_DFL, [ABRT], SA_RESTART|0x4000000}, {0x4012d0b4, [ABRT], SA_RESTART|0x4000000}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
getpid() = 6103
kill(6103, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT (core dumped) +++
fsck does not seem to have anything to offer for squashfs..
Offline