From: "Dave Humphreys (Bob)" <dave@bob-the-boat.me.uk>
To: Richard Weinberger <richard@sigma-star.at>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] "Couldn't grant pty"
Date: Sat, 12 Jan 2013 17:05:46 +0000 [thread overview]
Message-ID: <3776844.6K58P5x2hc@vault01> (raw)
In-Reply-To: <20130112170002.530c4a9a@spider.haslach.nod.at>
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
next prev parent reply other threads:[~2013-01-12 17:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-12 9:55 [uml-devel] "Couldn't grant pty" Dave (Bob)
2013-01-12 9:58 ` Richard Weinberger
2013-01-12 12:07 ` Dave Humphreys (Bob)
2013-01-12 12:34 ` Antoine Martin
2013-01-12 14:29 ` Richard Weinberger
2013-01-12 15:52 ` Dave Humphreys (Bob)
2013-01-12 16:00 ` Richard Weinberger
2013-01-12 17:05 ` Dave Humphreys (Bob) [this message]
2013-01-12 22:06 ` Richard Weinberger
2013-01-14 20:42 ` Dave (Bob)
2013-01-12 18:31 ` [uml-devel] Network related UML Crashing Dave Humphreys (Bob)
2013-01-12 22:11 ` Richard Weinberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3776844.6K58P5x2hc@vault01 \
--to=dave@bob-the-boat.me.uk \
--cc=richard@sigma-star.at \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.