{"id":1620,"date":"2011-09-23T14:25:02","date_gmt":"2011-09-23T19:25:02","guid":{"rendered":"http:\/\/icesquare.com\/wordpress\/?p=1620"},"modified":"2012-08-14T18:07:17","modified_gmt":"2012-08-14T23:07:17","slug":"panic-ffs_blkfree-freeing-free-block","status":"publish","type":"post","link":"https:\/\/icesquare.com\/wordpress\/panic-ffs_blkfree-freeing-free-block\/","title":{"rendered":"panic: ffs_blkfree: freeing free block"},"content":{"rendered":"<p>In the last few days, my FreeBSD box drove me crazy with the kernel panic. The error message is shown below:<\/p>\n<pre>\r\ndev = ad14s1f, block = 1, fs = \/usr\r\npanic: ffs_blkfree: freeing free block\r\ncpuid = 4\r\nKDB: stack backtrace:\r\n...\r\n<\/pre>\n<p>I am not sure what caused this kernel panic, but it happened few times a day for a week. Every time it happened, I had to reboot my machine manually. After some investigations, I found the following solution:<\/p>\n<p>1. Boot into the <strong>single user mode<\/strong>.<br \/>\n2. Run the following command to force (-f) the system to check the system. It is likely that you will get a lot of error, so adding a -y option (which assume yes to all the questions) will make your life easier:<\/p>\n<pre>\r\nfsck -f -y\r\n<\/pre>\n<p>After the check is done, reboot the system to normal mode:<\/p>\n<pre>\r\nreboot\r\n<\/pre>\n<p>The reason why my system had this kind of issue was due to the filesystem inconsistency. Even the fsck was trigger after each system was crashed, it could not detect or repair the problem (fsck will not fix any problem on a mounted partition on a running system.). That&#8217;s why we need to do it in the <strong>single user mode<\/strong>.<\/p>\n<p>&#8211;Derrick<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the last few days, my FreeBSD box drove me crazy with the kernel panic. The error message is shown below: dev = ad14s1f, block = 1, fs = \/usr <a class=\"more-link\" href=\"https:\/\/icesquare.com\/wordpress\/panic-ffs_blkfree-freeing-free-block\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[94,7,144,6,69],"tags":[171,127],"class_list":["post-1620","post","type-post","status-publish","format-standard","hentry","category-computer-problems-computer-help-pc-support","category-freebsd","category-sever-problem","category-technology","category-troubleshooting-technology","tag-freebsd","tag-kernel-panic"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1sqzr-q8","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2616,"url":"https:\/\/icesquare.com\/wordpress\/upgrade-freebsd-8-to-9\/","url_meta":{"origin":1620,"position":0},"title":"How to Upgrade FreeBSD from 8 to 9","author":"Derrick","date":"January 9, 2013","format":false,"excerpt":"Upgrading FreeBSD is very easy. Thanks for the simple architecture design and the disconnection between the kernel and the applications (ports), the whole process takes around 15 to 45 minutes. The coolest thing is that the system down time is very short. In my case, the down time was only\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3914,"url":"https:\/\/icesquare.com\/wordpress\/zfs-linux-vs-freebsd\/","url_meta":{"origin":1620,"position":1},"title":"Running ZFS on Linux: Things you should know and be aware of","author":"Derrick","date":"February 29, 2016","format":false,"excerpt":"First Published: Feb 29, 2016 Last Revised: January 10, 2026 ZFS is a next-generation file system renowned for its reliability and advanced features. However, due to legal and licensing issues, it is not included by default in most Linux distributions. Fortunately, you can still install (ZFS on Linux) with just\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3342,"url":"https:\/\/icesquare.com\/wordpress\/freebsd-zfs-faulted-kernel-ada0ahcich4000-lost-device\/","url_meta":{"origin":1620,"position":2},"title":"[FreeBSD] ZFS FAULTED \/ kernel: (ada0:ahcich4:0:0:0): lost device","author":"Derrick","date":"October 21, 2013","format":false,"excerpt":"I am so happy that I finally solved a problem today. This problem had existed in my server farms for few months already. In the past few months, I had absolutely no idea what was causing the issues. Here is my story: I built a file server using FreeBSD and\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":917,"url":"https:\/\/icesquare.com\/wordpress\/what-can-you-do-with-a8m2n-la-nodusm-gl8e\/","url_meta":{"origin":1620,"position":3},"title":"What can you do with A8M2N-LA \/ NodusM-GL8E?","author":"Derrick","date":"October 30, 2010","format":false,"excerpt":"Recently, I decided to turn my HP m7557c computer (motherboard: A8M2N-LA \/ NodusM-GL8E) to an Unix server. The nightmare began. After trying nearly 10 different operating systems and distributions, I found that only very few of them worked with A8M2N-LA \/ NodusM-GL8E. I think it is worth to share my\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4542,"url":"https:\/\/icesquare.com\/wordpress\/centos-7-dracut-initqueue-timeout\/","url_meta":{"origin":1620,"position":4},"title":"CentOS 7 &#8211; dracut-initqueue timeout","author":"Derrick","date":"January 2, 2019","format":false,"excerpt":"I received a Christmas gift from the RHEL 7 \/ CentOS 7 \/ Linux kernel team today. After my system got updated to the new kernel (3.10.0-957.1.3.el7.x86_64), my system gave me few surprises. As a sys-admin, I don't want to see any surprise. What I really want is a working\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1477,"url":"https:\/\/icesquare.com\/wordpress\/how-to-install-highpoint-rocketraid-2640x4sgl-on-freebsd-8-x\/","url_meta":{"origin":1620,"position":5},"title":"How to install HighPoint RocketRAID 2640X4SGL on FreeBSD 8.X","author":"Derrick","date":"July 10, 2011","format":false,"excerpt":"This tutorial is for FreeBSD 8. If you are looking for the driver for FreeBSD 9, you can forget about it. According to HighPoint, there are no plans to update the RocketRaid 26XX driver to FreeBSD 9. Since it is a binary driver, there are very limited things we can\u2026","rel":"","context":"In &quot;FreeBSD&quot;","block_context":{"text":"FreeBSD","link":"https:\/\/icesquare.com\/wordpress\/category\/sever-problem\/freebsd\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/icesquare.com\/wordpress\/wp-content\/uploads\/2011\/08\/large-150x150.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1620"}],"version-history":[{"count":10,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1620\/revisions"}],"predecessor-version":[{"id":2862,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1620\/revisions\/2862"}],"wp:attachment":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}