{"id":459,"date":"2016-06-14T10:33:01","date_gmt":"2016-06-14T08:33:01","guid":{"rendered":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/?p=459"},"modified":"2016-06-14T10:33:01","modified_gmt":"2016-06-14T08:33:01","slug":"latest-working-smartmontools-buffalo-linkstation","status":"publish","type":"post","link":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/","title":{"rendered":"Latest working smartmontools for Buffalo Linkstation"},"content":{"rendered":"<p>Some point of the <a href=\"http:\/\/forum.buffalo.nas-central.org\/viewtopic.php?t=27771\">repository history<\/a> of Buffalo linkstation optware, <a href=\"https:\/\/www.smartmontools.org\/\">smartmontools<\/a> got broken and no-one seemd to care enought to fix it properly for the repo.<\/p>\n<p>The reason was gcc optimization bug.<\/p>\n<p>Here is the instructions to fix it from scratch.<\/p>\n<p>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.<\/p>\n<p>Download latest package from <a href=\"https:\/\/sourceforge.net\/projects\/smartmontools\/files\/smartmontools\/6.5\/smartmontools-6.5.tar.gz\/download\">here <\/a>with e.g. lynx directly to buffalo or transfer via other methods.<\/p>\n<pre>tar -xvf smartmontools-6.5.tar.gz\r\ncd smartmontools-6.5\r\n.\/configure\r\n\r\nEdit Makefile and replace all -O2 optimization flags with -O0\r\n\r\nmake<\/pre>\n<p>Ok, so now you have working smartctl which you can run from your compile directory with e.g .\/smartctl &#8211;all -d marvell \/dev\/sda and it will work. Just copy it e.g. over the non working 5.4 or so.<\/p>\n<p>Hope this helps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some point of the repository history of Buffalo linkstation optware, smartmontools 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 &hellip; <a href=\"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Latest working smartmontools for Buffalo Linkstation&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[2,3,4],"tags":[31],"class_list":["post-459","post","type-post","status-publish","format-standard","hentry","category-ict","category-linux","category-nas","tag-smartmontools"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Latest working smartmontools for Buffalo Linkstation - V-P:s blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Latest working smartmontools for Buffalo Linkstation - V-P:s blog\" \/>\n<meta property=\"og:description\" content=\"Some point of the repository history of Buffalo linkstation optware, smartmontools 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 &hellip; Continue reading &quot;Latest working smartmontools for Buffalo Linkstation&quot;\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/\" \/>\n<meta property=\"og:site_name\" content=\"V-P:s blog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/velipekka.lehtosaari\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-14T08:33:01+00:00\" \/>\n<meta name=\"author\" content=\"Veli-Pekka Lehtosaari\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Veli-Pekka Lehtosaari\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/2016\\\/06\\\/14\\\/latest-working-smartmontools-buffalo-linkstation\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/2016\\\/06\\\/14\\\/latest-working-smartmontools-buffalo-linkstation\\\/\"},\"author\":{\"name\":\"Veli-Pekka Lehtosaari\",\"@id\":\"https:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/#\\\/schema\\\/person\\\/611e219337ca0640ca4d1a4f104789d6\"},\"headline\":\"Latest working smartmontools for Buffalo Linkstation\",\"datePublished\":\"2016-06-14T08:33:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/2016\\\/06\\\/14\\\/latest-working-smartmontools-buffalo-linkstation\\\/\"},\"wordCount\":127,\"commentCount\":0,\"keywords\":[\"smartmontools\"],\"articleSection\":[\"ICT\",\"Linux\",\"NAS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/2016\\\/06\\\/14\\\/latest-working-smartmontools-buffalo-linkstation\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/2016\\\/06\\\/14\\\/latest-working-smartmontools-buffalo-linkstation\\\/\",\"url\":\"http:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/2016\\\/06\\\/14\\\/latest-working-smartmontools-buffalo-linkstation\\\/\",\"name\":\"Latest working smartmontools for Buffalo Linkstation - V-P:s blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/#website\"},\"datePublished\":\"2016-06-14T08:33:01+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/#\\\/schema\\\/person\\\/611e219337ca0640ca4d1a4f104789d6\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/2016\\\/06\\\/14\\\/latest-working-smartmontools-buffalo-linkstation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/2016\\\/06\\\/14\\\/latest-working-smartmontools-buffalo-linkstation\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/2016\\\/06\\\/14\\\/latest-working-smartmontools-buffalo-linkstation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Latest working smartmontools for Buffalo Linkstation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/#website\",\"url\":\"https:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/\",\"name\":\"V-P:s blog\",\"description\":\"Mostly technical blogging\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/#\\\/schema\\\/person\\\/611e219337ca0640ca4d1a4f104789d6\",\"name\":\"Veli-Pekka Lehtosaari\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8be37ee011bb9b852079d892b708e7cf24482def2e72946e8d44fac4ff97efe2?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8be37ee011bb9b852079d892b708e7cf24482def2e72946e8d44fac4ff97efe2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8be37ee011bb9b852079d892b708e7cf24482def2e72946e8d44fac4ff97efe2?s=96&d=mm&r=g\",\"caption\":\"Veli-Pekka Lehtosaari\"},\"description\":\"Veli-Pekka Lehtosaari, most call me VP, age 52 (2025), CEO, Consult, M.Sc.(Tech), Electronics, ICT 1997, Single, 2 children (Girls), Hobbies: ICT, Motor Sports, Snowboarding, Politics.\",\"sameAs\":[\"http:\\\/\\\/www.lehtosaari.fi\",\"https:\\\/\\\/www.facebook.com\\\/velipekka.lehtosaari\",\"https:\\\/\\\/www.instagram.com\\\/vplehto\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/veli-pekka-lehtosaari-88a00521\\\/\",\"https:\\\/\\\/x.com\\\/vplehto\",\"https:\\\/\\\/www.youtube.com\\\/vplehto\"],\"url\":\"http:\\\/\\\/www.lehtosaari.fi\\\/lehtosaari\\\/veli-pekka\\\/author\\\/vplehto\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Latest working smartmontools for Buffalo Linkstation - V-P:s blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/","og_locale":"en_US","og_type":"article","og_title":"Latest working smartmontools for Buffalo Linkstation - V-P:s blog","og_description":"Some point of the repository history of Buffalo linkstation optware, smartmontools 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 &hellip; Continue reading \"Latest working smartmontools for Buffalo Linkstation\"","og_url":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/","og_site_name":"V-P:s blog","article_author":"https:\/\/www.facebook.com\/velipekka.lehtosaari","article_published_time":"2016-06-14T08:33:01+00:00","author":"Veli-Pekka Lehtosaari","twitter_misc":{"Written by":"Veli-Pekka Lehtosaari","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/#article","isPartOf":{"@id":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/"},"author":{"name":"Veli-Pekka Lehtosaari","@id":"https:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/#\/schema\/person\/611e219337ca0640ca4d1a4f104789d6"},"headline":"Latest working smartmontools for Buffalo Linkstation","datePublished":"2016-06-14T08:33:01+00:00","mainEntityOfPage":{"@id":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/"},"wordCount":127,"commentCount":0,"keywords":["smartmontools"],"articleSection":["ICT","Linux","NAS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/","url":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/","name":"Latest working smartmontools for Buffalo Linkstation - V-P:s blog","isPartOf":{"@id":"https:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/#website"},"datePublished":"2016-06-14T08:33:01+00:00","author":{"@id":"https:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/#\/schema\/person\/611e219337ca0640ca4d1a4f104789d6"},"breadcrumb":{"@id":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/2016\/06\/14\/latest-working-smartmontools-buffalo-linkstation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/"},{"@type":"ListItem","position":2,"name":"Latest working smartmontools for Buffalo Linkstation"}]},{"@type":"WebSite","@id":"https:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/#website","url":"https:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/","name":"V-P:s blog","description":"Mostly technical blogging","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/#\/schema\/person\/611e219337ca0640ca4d1a4f104789d6","name":"Veli-Pekka Lehtosaari","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8be37ee011bb9b852079d892b708e7cf24482def2e72946e8d44fac4ff97efe2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8be37ee011bb9b852079d892b708e7cf24482def2e72946e8d44fac4ff97efe2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8be37ee011bb9b852079d892b708e7cf24482def2e72946e8d44fac4ff97efe2?s=96&d=mm&r=g","caption":"Veli-Pekka Lehtosaari"},"description":"Veli-Pekka Lehtosaari, most call me VP, age 52 (2025), CEO, Consult, M.Sc.(Tech), Electronics, ICT 1997, Single, 2 children (Girls), Hobbies: ICT, Motor Sports, Snowboarding, Politics.","sameAs":["http:\/\/www.lehtosaari.fi","https:\/\/www.facebook.com\/velipekka.lehtosaari","https:\/\/www.instagram.com\/vplehto\/","https:\/\/www.linkedin.com\/in\/veli-pekka-lehtosaari-88a00521\/","https:\/\/x.com\/vplehto","https:\/\/www.youtube.com\/vplehto"],"url":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/author\/vplehto\/"}]}},"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/wp-json\/wp\/v2\/posts\/459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/wp-json\/wp\/v2\/comments?post=459"}],"version-history":[{"count":2,"href":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/wp-json\/wp\/v2\/posts\/459\/revisions"}],"predecessor-version":[{"id":461,"href":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/wp-json\/wp\/v2\/posts\/459\/revisions\/461"}],"wp:attachment":[{"href":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/wp-json\/wp\/v2\/media?parent=459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/wp-json\/wp\/v2\/categories?post=459"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.lehtosaari.fi\/lehtosaari\/veli-pekka\/wp-json\/wp\/v2\/tags?post=459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}