public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] UML
@ 2005-09-12  9:43 Juergen Schinker
  2005-09-12 10:04 ` Antoine Martin
  0 siblings, 1 reply; 6+ messages in thread
From: Juergen Schinker @ 2005-09-12  9:43 UTC (permalink / raw
  To: gentoo-amd64

Hi

i'm new to AMD64 but not new to gentoo
and after i bought my new Workstation/Server
2x248 Operon + Tyan 2895 4G Sinle Rank Ram 200G SATA
i run a native 64bit System :-)

Now i want to run a 64bit-Gentoo UML session (and many More)
but when i do make linux arch=uml
it does not compile

maybe i need a patch for this kernel?
even a 32bit session would be sufficient...

can somebody push me in the right direction
-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] UML
  2005-09-12  9:43 [gentoo-amd64] UML Juergen Schinker
@ 2005-09-12 10:04 ` Antoine Martin
  0 siblings, 0 replies; 6+ messages in thread
From: Antoine Martin @ 2005-09-12 10:04 UTC (permalink / raw
  To: gentoo-amd64

Hi,

This is currently not working perfectly but you should be able to build
a working UML guest, the command line is 
'make linux ARCH=um'
(uppercase ARCH)

Cheers
Antoine

On Mon, 2005-09-12 at 11:43 +0200, Juergen Schinker wrote:
> Hi
> 
> i'm new to AMD64 but not new to gentoo
> and after i bought my new Workstation/Server
> 2x248 Operon + Tyan 2895 4G Sinle Rank Ram 200G SATA
> i run a native 64bit System :-)
> 
> Now i want to run a 64bit-Gentoo UML session (and many More)
> but when i do make linux arch=uml
> it does not compile
> 
> maybe i need a patch for this kernel?
> even a 32bit session would be sufficient...
> 
> can somebody push me in the right direction

-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] UML
@ 2005-09-12 10:11 Juergen Schinker
  2005-09-12 10:13 ` Antoine Martin
  0 siblings, 1 reply; 6+ messages in thread
From: Juergen Schinker @ 2005-09-12 10:11 UTC (permalink / raw
  To: gentoo-amd64

gentoo-amd64@lists.gentoo.org wrote: 
> Hi,
> 
> This is currently not working perfectly but you should be able to build
> a working UML guest, the command line is 
> 'make linux ARCH=um'
> (uppercase ARCH)
 
yeah sure i did that and it ended with errors
but maybe i misunderstand needs the host to be an uml-kernel
or only the guest?

-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] UML
  2005-09-12 10:11 Juergen Schinker
@ 2005-09-12 10:13 ` Antoine Martin
  2005-09-12 16:46   ` Juergen Schinker
  0 siblings, 1 reply; 6+ messages in thread
From: Antoine Martin @ 2005-09-12 10:13 UTC (permalink / raw
  To: gentoo-amd64

On Mon, 2005-09-12 at 10:11 +0000, Juergen Schinker wrote:
> gentoo-amd64@lists.gentoo.org wrote: 
> > Hi,
> > 
> > This is currently not working perfectly but you should be able to build
> > a working UML guest, the command line is 
> > 'make linux ARCH=um'
> > (uppercase ARCH)
>  
> yeah sure i did that and it ended with errors
> but maybe i misunderstand needs the host to be an uml-kernel
> or only the guest?
Use the latest kernel for the guest - 2.6.13.1
Post your error

Antoine

-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] UML
  2005-09-12 10:13 ` Antoine Martin
@ 2005-09-12 16:46   ` Juergen Schinker
  2005-09-12 16:52     ` Antoine Martin
  0 siblings, 1 reply; 6+ messages in thread
From: Juergen Schinker @ 2005-09-12 16:46 UTC (permalink / raw
  To: gentoo-amd64

Antoine Martin wrote:
 include/asm/pda.h:25: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
include/asm/pda.h:25: error: requested alignment is not a constant
In file included from include/linux/spinlock.h:16,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from arch/um/sys-x86_64/kernel-offsets.c:3:
include/asm/processor.h:68: error: requested alignment is not a constant
include/asm/processor.h:222: error: requested alignment is not a constant
arch/um/sys-x86_64/kernel-offsets.c: In function `foo':
arch/um/sys-x86_64/kernel-offsets.c:21: error: structure has no member
named `mode'
In file included from arch/um/sys-x86_64/kernel-offsets.c:23:
arch/um/include/common-offsets.h:3: error: structure has no member named
`regs'
make: *** [arch/um/kernel-offsets.s] Error 1
sumsi linux # emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4,
glibc-2.3.5-r1, 2.6.12-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r10 x86_64 AMD Opteron(tm) Processor 248
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j15"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi berkdb bitmap-fonts crypt eds encode imlib mp3 mpeg
ncurses nls nptl pam perl python readline sdl ssl threads threadsonly uml
userlocales zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


and i boot with bootparam noapic

-- 
gentoo-amd64@gentoo.org mailing list



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

* Re: [gentoo-amd64] UML
  2005-09-12 16:46   ` Juergen Schinker
@ 2005-09-12 16:52     ` Antoine Martin
  0 siblings, 0 replies; 6+ messages in thread
From: Antoine Martin @ 2005-09-12 16:52 UTC (permalink / raw
  To: gentoo-amd64

I can't remember seeing this one before, post it to uml-user ML.
Are you sure that you are building from a clean guest tree, without any
remnants of a host config?

Antoine


On Mon, 2005-09-12 at 18:46 +0200, Juergen Schinker wrote:
> Antoine Martin wrote:
>  include/asm/pda.h:25: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
> (not in a function)
> include/asm/pda.h:25: error: requested alignment is not a constant
> In file included from include/linux/spinlock.h:16,
>                  from include/linux/capability.h:45,
>                  from include/linux/sched.h:7,
>                  from arch/um/sys-x86_64/kernel-offsets.c:3:
> include/asm/processor.h:68: error: requested alignment is not a constant
> include/asm/processor.h:222: error: requested alignment is not a constant
> arch/um/sys-x86_64/kernel-offsets.c: In function `foo':
> arch/um/sys-x86_64/kernel-offsets.c:21: error: structure has no member
> named `mode'
> In file included from arch/um/sys-x86_64/kernel-offsets.c:23:
> arch/um/include/common-offsets.h:3: error: structure has no member named
> `regs'
> make: *** [arch/um/kernel-offsets.s] Error 1
> sumsi linux # emerge info
> Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4,
> glibc-2.3.5-r1, 2.6.12-gentoo-r10 x86_64)
> =================================================================
> System uname: 2.6.12-gentoo-r10 x86_64 AMD Opteron(tm) Processor 248
> Gentoo Base System version 1.6.13
> distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
> [enabled]
> ccache version 2.3 [disabled]
> dev-lang/python:     2.3.5-r2
> sys-apps/sandbox:    1.2.12
> sys-devel/autoconf:  2.13, 2.59-r6
> sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
> sys-devel/binutils:  2.15.92.0.2-r10
> sys-devel/libtool:   1.5.18-r1
> virtual/os-headers:  2.6.11-r2
> ACCEPT_KEYWORDS="amd64"
> AUTOCLEAN="yes"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -march=k8"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
> /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
> CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
> CXXFLAGS="-O2 -march=k8"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
> GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
> ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
> http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
> MAKEOPTS="-j15"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
> USE="amd64 X alsa avi berkdb bitmap-fonts crypt eds encode imlib mp3 mpeg
> ncurses nls nptl pam perl python readline sdl ssl threads threadsonly uml
> userlocales zlib userland_GNU kernel_linux elibc_glibc"
> Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
> 
> 
> and i boot with bootparam noapic
> 

-- 
gentoo-amd64@gentoo.org mailing list



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

end of thread, other threads:[~2005-09-12 16:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-12  9:43 [gentoo-amd64] UML Juergen Schinker
2005-09-12 10:04 ` Antoine Martin
  -- strict thread matches above, loose matches on Subject: below --
2005-09-12 10:11 Juergen Schinker
2005-09-12 10:13 ` Antoine Martin
2005-09-12 16:46   ` Juergen Schinker
2005-09-12 16:52     ` Antoine Martin

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