[Buildroot] Problems after building rootfs.i386.ext2

Micha Holzmann holzmann at gmx.de
Fri Mar 14 14:23:34 UTC 2008


Hi,

i did what you recommended. I chrooted and tried to mount proc with
several methods.

mount -t proc proc /proc
mount -t proc none /prot

proc was not mounted. mount said, to mount it needs proc mounted. At
this moment mount is a symlink to busybox. I left the chroot and mounted
proc to the proc inside the rootfs and do chroot again. mount without
options shows me infos. But ls -al still stucks until i press CTRL-C.
No change in the behavior.

The second hint you gave me, was to use strace. I activated strace in
the menuconfig. The compiler gives me errors for two lines:

net.c: In function ¿printsock¿:
net.c:958: error: field ¿ll¿ has incomplete type
net.c:961: error: field ¿nl¿ has incomplete type
make[2]: *** [net.o] Fehler 1

In this case i have no strace which runs inside the chroot.

I tried to build buildroot the last two weeks over 30+ times.
Now i am running out of ideas what to do.   :-)

May you have any further idea(s)?


Quoting John Voltz:
> I think when you chroot you need to remount /proc. That can cause weird
> problems like you describe. Also try using strace on commands that fail or
> freeze up. This can be very enlightening (or confusing). You might not even
> be able to chroot into it since you are using uClibc instead of glibc. I
> don't know for sure. Does anyone else?
> 
> John Voltz


Best regards,
Micha Holzmann




More information about the buildroot mailing list