Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] chroot'ed Firefox died and now won't build
Date: Fri, 16 Dec 2005 13:49:47
Message-Id: 5bdc1c8b0512160547l2bfda6d4od0669bcc70837b4d@mail.gmail.com
In Reply to: Re: [gentoo-amd64] chroot'ed Firefox died and now won't build by Billy Holmes
1 On 12/15/05, Billy Holmes <billy@××××××.net> wrote:
2 > Mark Knecht wrote:
3 > > mark@lightning ~ $ l32 /bin/bash
4 >
5 > first off, to find out if you're indeed in the chroot, you can do a "df"
6 > or a "w" to see. It should print something different than what is
7 > reality.. ie you're in the chroot.
8 >
9 > second, you can do a "uname -a" to see if you're i686 or x86_64
10 >
11 > you also don't have to do a xhost command if you have /tmp mounted to
12 > /mnt/gentoo32/tmp, as all your x programs will use the socket to
13 > communicate.
14 >
15 > one thing to try is see if you can get any X related 32-bit program to
16 > run.. such as xterm or konsole?
17 >
18 > even xeyes?
19
20 Even xeyes! Thanks for the idea of (duhh...) doing uname -a. I'll use
21 that below. This is almost certainly that I'm still doing something
22 wrong. The 32-bit environment is still there, and does work for root
23 as it always has, but l32 (assuming that l32 /bin/bash is the right
24 command) isn't working for me as a user. I'll start in my 64-bit
25 world:
26
27 mark@lightning ~ $ uname -a
28 Linux lightning 2.6.14-rt22 #1 PREEMPT Mon Dec 5 10:17:06 PST 2005
29 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
30 mark@lightning ~ $ l32 /bin/bash
31 mark@lightning / $ uname -a
32 Linux lightning 2.6.14-rt22 #1 PREEMPT Mon Dec 5 10:17:06 PST 2005
33 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
34 mark@lightning / $ exit
35 exit
36 mark@lightning ~ $
37
38 So, even though l32 ran I mistakenly thought I was in the 32-bit
39 environment. I'm not, and neither is root. Again, starting from
40 64-bit:
41
42 mark@lightning ~ $ su -
43 Password:
44 lightning ~ # l32 /bin/bash
45 lightning ~ # uname -a
46 Linux lightning 2.6.14-rt22 #1 PREEMPT Mon Dec 5 10:17:06 PST 2005
47 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
48 lightning ~ # exit
49 exit
50 lightning ~ #
51
52 However the big command does work, but for root only:
53
54 lightning ~ # linux32 chroot /mnt/gentoo32 /bin/bash
55 lightning / # uname -a
56 Linux lightning 2.6.14-rt22 #1 PREEMPT Mon Dec 5 10:17:06 PST 2005
57 i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
58 lightning / #
59
60 Show me the error of my ways!
61
62 Thanks,
63 Mark
64
65 --
66 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] chroot'ed Firefox died and now won't build Billy Holmes <billy@××××××.net>
Re: [gentoo-amd64] chroot'ed Firefox died and now won't build Billy Holmes <billy@××××××.net>