After build number 0590, we have added a new feature in the kernel, this function can help us find out which process(es) interrupts disk hibernation. Furthermore, we can tell user why they encounter this by analyzing the log. Maybe sometimes it is the search engine of Google, Yahoo...or others.
Procedure:
1.[FONT="] [/FONT]Enable the monitoring function
2.[FONT="] [/FONT]Retrieve the log
3.[FONT="] [/FONT]Disable the monitor function
1. Enable the monitor function
Login to the Disk Station using telnet or SSH, and then type the command below in order to enable the monitoring process:
syno_hibernate_debug_tool --enable 10 10 is the interval of two disk files opened/stated by any processes, this will tell the kernel to log the process name and file name when this open/state action exceeds the time interval.
> /proc/sys/kernel/syno_hibernation_log_sec tells the kernel some kernel parameters have been changed.
The time interval over 10 seconds is not suggested, because when there are some processes that interrupt the disk, the execution time period is usually not more than 10 seconds.
2. Retrieve the log
After enabling the log, please do not do anything with our Disk Station (e.g. Samba, FTP, HTTP, etc.). When the hibernation time has passed, then you can begin to retrieve the log messages.
At this time, follow the steps below to retrieve the kernel log. To obtain the Kernel Log please follow the steps below:
1.[FONT="] [/FONT]Log in to Management UI.
2.[FONT="] [/FONT]You will see a link similar to:
http://192.168.1.49:5000/webman/index.cgi
3.[FONT="] [/FONT]Add "?debug=1" to the link. So the above link will look like:
http://192.168.1.49:5000/webman/index.cgi?debug=1
4.[FONT="] [/FONT]Press "
Enter", and then the Kernel Log can be downloaded.
5.[FONT="] [/FONT]Please rename the Kernel Log to
DebugHiberKernel before sending it.
Due to our mail server filter, we are unable to receive compressed files (the kernel log is compressed). As a work around, please rename the extension of the file. For example, if the extension is .zip or .rar , then rename it to .asd or something like that.
3. Disable the monitoring function
After retrieving the log message, remember to disable the monitoring function.
In the console mode, type following command:
syno_hibernate_debug_tool --disable If you forget to close this function, it will keep logging these debug messages until the system has been rebooted, and the /var/log/messages will fill up with hibernation log messages.