{"id":7055,"date":"2014-05-17T22:20:04","date_gmt":"2014-05-17T22:20:04","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/17\/ramdisk-incomplete-write-error-kernel-panic-collection-of-common-programming-errors\/"},"modified":"2014-05-17T22:20:04","modified_gmt":"2014-05-17T22:20:04","slug":"ramdisk-incomplete-write-error-kernel-panic-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/17\/ramdisk-incomplete-write-error-kernel-panic-collection-of-common-programming-errors\/","title":{"rendered":"RAMDISK incomplete write error kernel panic-Collection of common programming errors"},"content":{"rendered":"<p>I am building Linux Kernel 2.6.36.4 on a Dell Laptop which has Linux Kernel 2.6.35.11 running.<\/p>\n<p>BTW I got the source from kernel.org.<\/p>\n<p>The source had few syntax errors which I fixed in the process and finished building Kernel.<\/p>\n<p>After reboot, I keep getting following error:<\/p>\n<blockquote>\n<p>RAMDISK: incomplete write error(6022 != 28860) write error Kernel Panic &#8211; not syncing: VFS: Unable to mount root fs on unknown-block(0, 0) Pid: 1, comm: swapper Not tainted 2.6.36.4 #2 Call Trace:<\/p>\n<p>? printk&#8230;.<\/p>\n<\/blockquote>\n<p>I followed following steps while building the source:<\/p>\n<blockquote>\n<ol>\n<li>tar xvf linux-2.6.36.4.tar.bz2<\/li>\n<li>sudo cp \/boot\/config-2.6.35.11generic ~\/linux-2.6.36.4\/.config<\/li>\n<li>cd ~\/linux-2.6.36.4<\/li>\n<li>make menuconfig<\/li>\n<li>sudo make<\/li>\n<li>sudo make modules_install<\/li>\n<li>sudo make install<\/li>\n<li>sudo update-initramfs -k 2.6.36.4 -c<\/li>\n<li>sudo update-grub<\/li>\n<\/ol>\n<\/blockquote>\n<p>I tried following things after my internet search:<\/p>\n<ul>\n<li>After reboot with working kernel, ran <code>sudo update-initramfs -u -k all<\/code><\/li>\n<li>Ran <code>fsck<\/code><\/li>\n<\/ul>\n<p>However I still get this error for every attempt to boot using 2.6.36.4<\/p>\n<p>Has anybody come across such an issue and what do you suggest in this context?<\/p>\n<p>Thank you in advance!<\/p>\n<p>EDIT:<br \/>\nSome developers have increased the ramdisk size to few MBs from 4096 default. Is that a good idea?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am building Linux Kernel 2.6.36.4 on a Dell Laptop which has Linux Kernel 2.6.35.11 running. BTW I got the source from kernel.org. The source had few syntax errors which I fixed in the process and finished building Kernel. After reboot, I keep getting following error: RAMDISK: incomplete write error(6022 != 28860) write error Kernel [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7055","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7055"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7055\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}