public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] 64-bit chrooting?
@ 2006-08-13  1:13 Peter Ebden
  2006-08-13  2:10 ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Ebden @ 2006-08-13  1:13 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

Hi,

I'm trying to build a uclibc system using the Gentoo tarballs on my
amd64 machine. When I try to chroot into it ("linux32 chroot /mnt/gentoo
/bin/bash") I show up as "I have no name@localhost" with a user id of
2^32 or so. There's no change if I don't use linux32 for the chroot.

I can't find anything on the web about this problem. Is this approach
possible with a uclibc chroot? Or do I have to build it from a 32-bit
system?

Thanks,

Peter Ebden

[-- Attachment #2: Type: text/html, Size: 749 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-embedded] 64-bit chrooting?
  2006-08-13  1:13 [gentoo-embedded] 64-bit chrooting? Peter Ebden
@ 2006-08-13  2:10 ` Mike Frysinger
  2006-08-13  4:16   ` Peter Ebden
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2006-08-13  2:10 UTC (permalink / raw
  To: gentoo-embedded; +Cc: Peter Ebden

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

On Saturday 12 August 2006 21:13, Peter Ebden wrote:
> I'm trying to build a uclibc system using the Gentoo tarballs on my
> amd64 machine. When I try to chroot into it ("linux32 chroot /mnt/gentoo
> /bin/bash") I show up as "I have no name@localhost" with a user id of
> 2^32 or so. There's no change if I don't use linux32 for the chroot.

sounds like you disabled 16bit uid syscall support in the kernel

uclibc 0.9.28 does not support the 32bit uid syscalls but ive fixed this in 
latest uClibc svn ...
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-embedded] 64-bit chrooting?
  2006-08-13  2:10 ` Mike Frysinger
@ 2006-08-13  4:16   ` Peter Ebden
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Ebden @ 2006-08-13  4:16 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 672 bytes --]

That fixed it. No idea when/why I disabled those, but hey...

Thanks a bunch for your help :-)

Peter

Mike Frysinger wrote:
> On Saturday 12 August 2006 21:13, Peter Ebden wrote:
>   
>> I'm trying to build a uclibc system using the Gentoo tarballs on my
>> amd64 machine. When I try to chroot into it ("linux32 chroot /mnt/gentoo
>> /bin/bash") I show up as "I have no name@localhost" with a user id of
>> 2^32 or so. There's no change if I don't use linux32 for the chroot.
>>     
>
> sounds like you disabled 16bit uid syscall support in the kernel
>
> uclibc 0.9.28 does not support the 32bit uid syscalls but ive fixed this in 
> latest uClibc svn ...
> -mike
>   

[-- Attachment #2: Type: text/html, Size: 1140 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-13  4:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-13  1:13 [gentoo-embedded] 64-bit chrooting? Peter Ebden
2006-08-13  2:10 ` Mike Frysinger
2006-08-13  4:16   ` Peter Ebden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox