I can't even get UML to build using "make ARCH=um SUBARCH=i386". It dies early on with the following errors:
arch/um/sys-i386/user-offsets.c: In function `foo': arch/um/sys-i386/user-offsets.c:51: error: invalid application of `sizeof' to incomplete type `user_fxsr_struct' arch/um/sys-i386/user-offsets.c:53: error: `EIP' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:53: error: (Each undeclared identifier is reported only once arch/um/sys-i386/user-offsets.c:53: error: for each function it appears in.) arch/um/sys-i386/user-offsets.c:54: error: `UESP' undeclared (first use in thisfunction) arch/um/sys-i386/user-offsets.c:55: error: `EFL' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:56: error: `EAX' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:57: error: `EBX' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:58: error: `ECX' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:59: error: `EDX' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:60: error: `ESI' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:61: error: `EDI' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:62: error: `EBP' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:63: error: `CS' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:64: error: `SS' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:65: error: `DS' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:66: error: `FS' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:67: error: `ES' undeclared (first use in this function) arch/um/sys-i386/user-offsets.c:68: error: `GS' undeclared (first use in this function) make: *** [arch/um/user-offsets.s] Error 1 Does this mean I need to be in the 32-bit chroot after all? Or am I missing some dev libraries? Cheers, John --- John Parsons <[EMAIL PROTECTED]> wrote: > > --- Antoine Martin <[EMAIL PROTECTED]> wrote: > > > > When I boot the UML I notice it says I'm running in SKAS0 mode: > > What's the command line you used? > > linux64 mem=256M eth0=daemon,,unix,/tmp/uml_switch.ctl ubd0=umlpcloc1_cow > con0=fd:0,fd:1 device=xterm > > > > Checking for the skas3 patch in the host: > > > - /proc/mm...not found > > > - PTRACE_FAULTINFO...not found > > > - PTRACE_LDT...not found > > > UML running in SKAS0 mode > > It doesn't look like you're running on a skas3 patched host. Check that. > > You should have to add 'noprocmm' to your command line to boot into > > skas0 mode. > > > > > Does skas3 work with AMD64? > > No it does not. > > That explains why I'm in SKAS0 mode then. > > > > Am I missing something fundamental here? I have a > > > 32-bit chroot on the system, and I've tried using that to build a > > > 32-bit (686) > > To build a 32-bit kernel on amd64, use: > > make ARCH=um SUBARCH=i386 oldconfig > > make ARCH=um SUBARCH=i386 > > (on a separate tree) > > That looks rather clever, I take it that gets built right there in > 64-bit-land? > No need to use the 32-bit chroot at all? I'll try this later on today and let > you know how I get on. > > > > UML but again I had problems with segfaults - not necessarily in the > > > same > > > places. > > Something that can be reproduced would be good. > > Sorry, I'll also get details of something easily reproducable once I've > rebuilt > a 32-bit UML. One thing that springs to mind was just using apt to install > software - it seemed to have real problem with my cacheing proxy. Google did > turn up some results that this might have been an old bug in apt and pointing > away from the proxy (or turning it off altogether) did help. Obviously this > makes installation much slower. > > > > > Antoine > > > > Thanks, > John > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > User-mode-linux-user mailing list > User-mode-linux-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user