Messages in this thread | | | Date | Sun, 18 Jan 2009 14:23:46 +0800 | Subject | Re: [uml-devel] [Patch] uml: fix a link error | From | Daolong Wang <> |
| |
I can confirm this link error. And this patch works for me.
On Sat, Jan 17, 2009 at 5:28 PM, Rob Landley <rob@landley.net> wrote: > On Friday 16 January 2009 14:41:58 Andrew Morton wrote: >> > diff --git a/arch/um/sys-i386/sys_call_table.S >> > b/arch/um/sys-i386/sys_call_table.S index 00e5f52..04147dc 100644 >> > --- a/arch/um/sys-i386/sys_call_table.S >> > +++ b/arch/um/sys-i386/sys_call_table.S >> > @@ -6,6 +6,7 @@ >> > >> > #define sys_vm86old sys_ni_syscall >> > #define sys_vm86 sys_ni_syscall >> > +#define sys_sigprocmask sigprocmask >> > >> > #define old_mmap old_mmap_i386 >> >> For how long has this problem been present? >> >> Why aren't lots of other people reporting it? > > I'm not sure User Mode Linux still has a lot of users regularly testing the > latest and greatest version. (QEMU and KVM kinda took the wind out of its > sails.) > > I still find it useful to be able to stick printfs into the code and debug > stuff even when the console isn't working, but I haven't been able to build a > version of 2.6.28 that works for me at all: > > cat > mini.conf << EOF > CONFIG_BINFMT_ELF=y > CONFIG_HOSTFS=y > CONFIG_LBD=y > CONFIG_BLK_DEV=y > CONFIG_BLK_DEV_LOOP=y > CONFIG_STDERR_CONSOLE=y > CONFIG_UNIX98_PTYS=y > CONFIG_EXT2_FS=y > CONFIG_EXT3_FS=y > CONFIG_STATIC_LINK=y > CONFIG_NO_HZ=y > CONFIG_UNEVICTABLE_LRU=y > EOF > make ARCH=um allnoconfig KCONFIG_ALLCONFIG=mini.conf > make ARCH=um -j 3 > ./linux rw init=/bin/bash rootfstype=hostfs > > The result panics (twice) and exits, instead of giving me a shell prompt. > Built and run on stock Ubuntu 8.10. (I posted about it on tuesday, but nobody > replied...) > > Rob > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ >
| |