On Saturday 12 January 2013 17:00:02 Richard Weinberger wrote:
> Am Sat, 12 Jan 2013 16:51:52 +0100 (CET)
> 
> > The difference in the boot-up log is:
> > 
> > Checking for host processor cmov support...Yes
> > Checking that host ptys support output SIGIO...Yes
> > Checking that host ptys support SIGIO on close...No, enabling
> > workaround devtmpfs: initialized
> > 
> > as opposed to:
> > 
> > Checking for host processor cmov support...Yes
> > check_one_sigio failed, errno = 2
> > check_one_sigio failed, errno = 2
> > devtmpfs: initialized
> > 
> > Why would this be?
> > 
> > I will now push on and attempt to either understand why I am getting
> > my 'Network Related UML Crashing', or show how to reproduce it.
> > 
> > However, understanding why this issue with my chroot'ed 32 bit method
> > gives problems would be really advantageous (educational).
> > 
> > The 32 bit kernel was built in the chroot'ed environment and is
> > obviously linked with a 32 bit glibc. The default is not to link
> > static, therefore I need the 32 bit glibc installed and working in
> > the 64 world. If I remove the /lib/ld-linux.so.2 then the 32 bit
> > kernel doesn't work (as expected).
> 
> Sounds like your chroot environment is incomplete. Maybe no /dev/
> or /dev/pts/.
> 
> Thanks,
> //richard

Richard,

In the 64 bit environment (with additional 32 bit glibc) that works, I do:
(/uml_test is a mount point for a filesystem)

mount --bind /dev /<path_to_32_bit_stuff>/dev
mount --bind /proc /<path_to_32_bit_stuff>/proc
mount --bind /sys /<path_to_32_bit_stuff>/sys
mount --bind /uml_test <path_to_32_bit_stuff>/uml_test
chroot <path_to_32_bit_stuff>
linux32
cd /uml_test/DEB1-32
./startup

Or, I do:

cd /uml_test/DEB1-32
./startup


So the actual thing that is running, and the dev, sys, and proc filesystems, 
are all identical for the two situations.

If the reason for this isn't clear to those more knowledgeable than I, then I 
am encouraged to investigate when I have my other problems out of the way.

Regards,
David



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to