From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gaye Abdoulaye Walsimou Date: Thu, 22 Jan 2009 18:20:31 +0100 Subject: [Buildroot] Kernel panic - not syncing: Attempted to kill init!: at boot time In-Reply-To: <4977AA08.3030006@walsimou.com> References: <4977AA08.3030006@walsimou.com> Message-ID: <4978AADF.4000808@walsimou.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Gaye Abdoulaye Walsimou wrote: > Hello list, > I have worked with a mips (little endian) board for a while without > troubles. > Toolchain and tools components: uclibc-0.9.30, binutils-2.19, > gcc-4.3.2,busybox-1.13.x from latest SVN buildroot (see > buildroot.config, uclibc and busybox have default config from buildroot) > Linux-2.6 latest linux-mips git repository. > nfsroot for a the root filesystem > All have worked well there are about 2 weeks. > Two days ago I planed to upgrade linux and buildroot, and now I have a > kernel panic (Kernel panic - not syncing: Attempted to kill init!). > Linux seems to work well (see boot log attached), so I changed > /sbin/init with this simple code: > > #include > int main (int argc, char** argv) > { > printf("Hello world\n"); > while(1); > return 0; > } > > If this code is compiled with mipsel-linux-gcc -o init -Wall -W > init-test.c, I have the same result: kernel panic. > And with mipsel-linux-gcc -o init -Wall -W -static init-test.c, I have > my "Hello world". > I can't figure out what this behavior shows. > > Can somebody can tell me where to start to investigate in order to > know what's going on? > Thanks for any comments. > Regards Hello list, Nobody seems to be inspired by the issue I reported, anyway, another similar[?] issue leads me to change the toolchain and all works fine now. toolchain: kernel header 2.6.27.10, gcc-4.2.4, binutils-2.19, uclibc-0.9.30 rootfs with busybox-1.13.2 linux-mips-2.6 git repository (checkout and pull today) Regards [1]: http://lists.busybox.net/pipermail/buildroot/2009-January/025051.html