Results 1 to 6 of 6
Thread: compiling under chroot
Enjoy an ad free experience by logging in. Not a member yet? Register.
compiling under chroot
kernel: depmod: segfault at b81ed1f8 ip 0804de62 sp bfc63ef0 error 4 in depmod[8048000+c000] kernel: depmod: segfault at b82c71f8 ip 0804de62 sp bfe3c8c0 error 4 in depmod[8048000+c000]
I do it all the time in Gentoo, when I break things I go running for my Knoppix CD. My Binkie!
I finally gave up sorting out the segmentation faults as that's all there was and little else to go on. I would have eventually updated kernels anyway so I downloaded 22.214.171.124 and compiled it. Strangely enough. when I compiled the Nvidia 3d driver and rebooted I got segmentation fault! Seems the nvidiafb driver got loaded at startup but it doesn't like living alongside the 3d driver! So as far as I know it was never a problem with compiling under chroot at all.
I recompiled without the nvidiafb, rebooted, built the nvidia 3d driver, modprobed it and all is well there. However, I'm running into that pesky "no keyboard and no mouse" demon I ran into last time. I think it has to do with evdev and hald... something or other but have forgotten how I troubleshot it last time. If anyone remembers this or has experienced it, a little nudge in the right direction on getting it resolved will be most welcome! Thanks for the help!
Did you post solution in this thread?
Ed: btw chroot instruction seem to vary between distros ... I use
mount -t ext3 /dev/sda1 /media/sda1 mount -t proc proc /media/sda1/proc mount -t sysfs sys /media/sda1/sys mount -o bind /dev /media/sda1/dev chroot /media/sda1 /bin/bash