Buffalo Linkstation Install Optware Qpkg
Some point of the of Buffalo linkstation optware, got broken and no-one seemd to care enought to fix it properly for the repo.The reason was gcc optimization bug.Here is the instructions to fix it from scratch.Prerequisites are Buffalo Linkstation e.g. LS-QVL like mine, install optware and gcc 4.2.3 for it from optware repo. Then follow this.Download latest package from with e.g. Lynx directly to buffalo or transfer via other methods. Tar -xvf smartmontools-6.5.tar.gzcd smartmontools-6.5./configureEdit Makefile and replace all -O2 optimization flags with -O0makeOk, so now you have working smartctl which you can run from your compile directory with e.g./smartctl –all -d marvell /dev/sda and it will work.
Buffalo Linkstation Install Optware Qpkg 1
Just copy it e.g. Over the non working 5.4 or so.Hope this helps.