All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: "Américo Wang" <xiyou.wangcong@gmail.com>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	jdike@addtoit.com, linux-kernel@vger.kernel.org
Subject: Re: [uml-devel] [Patch] uml: fix a link error
Date: Sat, 17 Jan 2009 03:28:14 -0600	[thread overview]
Message-ID: <200901170328.15178.rob@landley.net> (raw)
In-Reply-To: <20090116124158.4364e269.akpm@linux-foundation.org>

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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

WARNING: multiple messages have this Message-ID (diff)
From: Rob Landley <rob@landley.net>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
	"Américo Wang" <xiyou.wangcong@gmail.com>,
	jdike@addtoit.com, linux-kernel@vger.kernel.org
Subject: Re: [uml-devel] [Patch] uml: fix a link error
Date: Sat, 17 Jan 2009 03:28:14 -0600	[thread overview]
Message-ID: <200901170328.15178.rob@landley.net> (raw)
In-Reply-To: <20090116124158.4364e269.akpm@linux-foundation.org>

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

  parent reply	other threads:[~2009-01-17 20:46 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15 19:40 [uml-devel] [Patch] uml: fix a link error Américo Wang
2009-01-15 19:40 ` Américo Wang
2009-01-16 20:41 ` [uml-devel] " Andrew Morton
2009-01-16 20:41   ` Andrew Morton
2009-01-16 21:38   ` [uml-devel] " Jeff Dike
2009-01-16 21:38     ` Jeff Dike
2009-01-17  9:28   ` Rob Landley [this message]
2009-01-17  9:28     ` [uml-devel] " Rob Landley
2009-01-18  6:23     ` Daolong Wang
2009-01-18  6:23       ` Daolong Wang
2009-01-19 15:21       ` Jeff Dike
2009-01-19 15:21         ` Jeff Dike
2009-01-20  1:46         ` Daolong Wang
2009-01-20  1:46           ` Daolong Wang
2009-01-20  2:01           ` Shane Hathaway
2009-01-20  2:01             ` Shane Hathaway
2009-01-27  9:23             ` Al Viro
2009-01-27  9:23               ` Al Viro
2009-02-04 17:26             ` Geert Uytterhoeven
2009-02-04 17:26               ` Geert Uytterhoeven
2009-02-04 20:32               ` Geert Uytterhoeven
2009-02-04 20:32                 ` Geert Uytterhoeven
2009-02-04 20:40                 ` Greg KH
2009-02-04 20:40                   ` Greg KH
2009-02-04 20:54                   ` Geert Uytterhoeven
2009-02-04 20:54                     ` Geert Uytterhoeven
2009-02-07 11:59                     ` Heiko Carstens
2009-02-07 11:59                       ` Heiko Carstens
2009-02-08  9:07                       ` Américo Wang
2009-02-08  9:07                         ` Américo Wang
2009-02-08  9:12                         ` Américo Wang
2009-02-08  9:12                           ` Américo Wang
2009-02-12 14:40                       ` Geert Uytterhoeven
2009-02-12 14:40                         ` Geert Uytterhoeven
2009-01-18  8:32     ` Américo Wang
2009-01-18  8:32       ` Américo Wang
2009-01-18 23:29       ` Rob Landley
2009-01-18 23:29         ` Rob Landley
2009-01-22 16:12         ` Américo Wang
2009-01-22 16:12           ` Américo Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200901170328.15178.rob@landley.net \
    --to=rob@landley.net \
    --cc=akpm@linux-foundation.org \
    --cc=jdike@addtoit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=xiyou.wangcong@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.