Results 1 to 6 of 6
I have three Linux installs on this box and the latest is another install of CRUX 2.5. Right now I'm in Ubuntu. Is it okay to chroot into CRUX 2.5 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-15-2009 #1
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]
- 07-15-2009 #2
- 07-15-2009 #3
I do it all the time in Gentoo, when I break things I go running for my Knoppix CD. My Binkie!
- 07-16-2009 #4
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 184.108.40.206 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!
- 07-16-2009 #5
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
- 07-16-2009 #6