|
Post by omega on Feb 17, 2007 2:11:15 GMT 7
Hi everybody (and especially Thecus!), I've found a small but nasty bug in the module stopping script... In the shell script /img/bin/rc/rc.module there is a function called stop(). The definition of this function is stop() { for module in [$module_list,$module_list_No] do if [ -f /raid/data/module/cfg/module.rc/$module.rc ] ; then /raid/data/module/cfg/module.rc/$module.rc stop fi done }
The for loop list is wrong!! The corrected code looks like this: stop() { for module in $module_list $module_list_No do if [ -f /raid/data/module/cfg/module.rc/$module.rc ] ; then /raid/data/module/cfg/module.rc/$module.rc stop fi done }
Please correct this in the next release.... The problem now is that some of the modules are not stopped whenever the system shutdown. So always the first and the last module that has been installed are not stopped. This explains why sometimes the IMGDUP module makes problems and sometimes not. Remember the discussion about when the reboot and shutdown works and when not if the IMGDUP module is installed. But what really bites me is the fact that I've already reported this error to Thecus on 22.1.2007 Andreas
|
|
|
Post by kevincy on Feb 23, 2007 14:57:39 GMT 7
Wow ,it seems a big bug in modules . So ,it will effect many function like Migration, expansion ,remove raid etc ...
|
|
|
Post by omega on Feb 23, 2007 20:48:38 GMT 7
Hi Kevin, all the best for the new year.... due to the year of pig it'll be a succesful year Hope Thecus noticed my other hints and suggestions here in this forum too I wonder why Thecus is giving us the module feature without any documentation and without any modules.... Andreas
|
|
|
Post by kevincy on Feb 23, 2007 22:11:37 GMT 7
Hi Kevin, all the best for the new year.... due to the year of pig it'll be a succesful year Hope Thecus noticed my other hints and suggestions here in this forum too I wonder why Thecus is giving us the module feature without any documentation and without any modules.... Andreas Hello Andreas, Happy New Golden PIG Year . I think Thecus will always keep noticed all hints in this forum.
|
|