Am 26.04.2015 um 20:32 schrieb Richard Weinberger:
On Fri, Apr 24, 2015 at 9:58 PM, Thomas Meyer tho...@m3y3r.de wrote:
Any ideas?
Can you give the attached patch a try?
Let's see if it proves my theory.
Looks like UML's clocksource needs fixing.
Please give also this patch a try.
I should
Hi!
Am 26.04.2015 um 22:57 schrieb Thomas Meyer:
Am Sonntag, den 26.04.2015, 20:32 +0200 schrieb Richard Weinberger:
On Fri, Apr 24, 2015 at 9:58 PM, Thomas Meyer tho...@m3y3r.de wrote:
Am Montag, den 20.10.2014, 11:56 +0200 schrieb Richard Weinberger:
Am 20.10.2014 um 11:51 schrieb Thomas
On Fri, Apr 24, 2015 at 9:58 PM, Thomas Meyer tho...@m3y3r.de wrote:
Am Montag, den 20.10.2014, 11:56 +0200 schrieb Richard Weinberger:
Am 20.10.2014 um 11:51 schrieb Thomas Meyer:
Hmm, does this always happen?
Yes, my single core system seems to trigger this every time after resume
hppfs (honeypot procfs) was an attempt to use UML as honeypot.
It was never stable nor in heavy use.
As Al Viro and Christoph Hellwig pointed some major issues out
it is better to let it die.
Signed-off-by: Richard Weinberger rich...@nod.at
---
arch/um/Kconfig.um | 15 --
fs/Makefile
hch and Al found that hppfs has some serious issues[0].
As the filesystem as never marked as stable nor in heavy use
we decided to rip it out.
If someone is using it, speak up now. I plan to remove it in the v4.2
merge window.
Now we have FUSE which can be used to implement such a filesystem
in a
Andrey Ryabinin (1):
x86, UML: fix integer overflow in ELF_ET_DYN_BASE
Richard Weinberger (22):
hostfs: hostfs_file_open: Switch to data locking model
hostfs: hostfs_file_open: Fix a fd leak in hostfs_file_open
hostfs: Allow
On Fri, Apr 3, 2015 at 4:51 PM, Thomas Meyer tho...@m3y3r.de wrote:
Print a more sensible message about the minimum physical memory
requirement.
Signed-off-by: Thomas Meyer tho...@m3y3r.de
All of your three patches are queued for 4.1! :-)
--
Thanks,
//richard
.
With SKAS0 mode (separated kernel address space using 0 host patches),
default since 2005, SKAS3/4 is obsolete and can be removed.
Signed-off-by: Richard Weinberger rich...@nod.at
---
arch/um/include/shared/os.h | 2 -
arch/um/include/shared/skas/proc_mm.h| 44 --
arch/um
That code is a relict from the early days of UML.
ia64 support was never completed nor worked.
Let's rip it out.
Signed-off-by: Richard Weinberger rich...@nod.at
---
arch/um/Makefile-ia64 | 1 -
arch/um/sys-ia64/Makefile | 11 ---
arch/um/sys-ia64/sysdep
Remove left over code from commit 970e51feaddb
(um: Add support for CONFIG_STACKTRACE)
Signed-off-by: Richard Weinberger rich...@nod.at
---
arch/um/kernel/sysrq.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c
index
Highmem was always buggy and experimental on UML(i386).
In times where 64 bit computers are default we can
remove that experimental code.
Signed-off-by: Richard Weinberger rich...@nod.at
---
arch/um/Kconfig.um| 12
arch/um/include/asm/fixmap.h | 4 ---
arch/um/include/asm
At times where UML used the TT mode to operate it had
kind of SMP support. It never got finished nor was
stable.
Let's rip out that cruft and stop confusing developers
which do tree-wide SMP cleanups.
If someone wants SMP support UML it has do be done from scratch.
Signed-off-by: Richard
That code is a relict from the early days of UML.
ppc support was never completed nor worked.
Let's rip it out.
Signed-off-by: Richard Weinberger rich...@nod.at
---
arch/um/Makefile-ppc| 9 ---
arch/um/sys-ppc/Makefile| 65
arch/um
Currently hostfs issues every time a seekdir(), in fact
it has to do this only upon the first call.
Also telldir() can be omitted as we can obtain the directory
offset from readdir().
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs.h | 3 ++-
fs/hostfs/hostfs_kern.c
Am 20.03.2015 um 16:53 schrieb Laurent Dufour:
Some architecture would like to be triggered when a memory area is moved
through the mremap system call.
This patch is introducing a new arch_remap mm hook which is placed in the
path of mremap, and is called before the old area is unmapped (and
Am 16.03.2015 um 14:23 schrieb Toralf Förster:
On 03/15/2015 05:56 PM, Richard Weinberger wrote:
Then please move the hardened gcc to /dev/null. ;-)
yes, at least to compile the UML linux
If you can tell me what hardening feature is the root cause I can think of a
solution
Am 16.03.2015 um 13:03 schrieb Geert Uytterhoeven:
On Mon, Mar 16, 2015 at 12:41 PM, Richard Weinberger rich...@nod.at wrote:
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -105,11 +105,10 @@ static char *__dentry_name(struct dentry *dentry, char
*name)
This code looks
There is really no point in having a function with 10
arguments.
Reported-by: Daniel Walter d.wal...@0x90.at
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs.h | 3 +--
fs/hostfs/hostfs_kern.c | 5 +
fs/hostfs/hostfs_user.c | 17 +++--
3 files changed
Only initialize what we really need.
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 80ced3d..cf80a30 100644
--- a/fs/hostfs/hostfs_kern.c
...otherwise we might end up with an incorrect mode mode.
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 8bbceae..80ced3d 100644
--- a/fs/hostfs
hostfs' __dentry_name() relies on the fact that dentry_path_raw() will place
the path name at the end of the provided buffer.
While this is okay, add a BUG_ON() to detect behavior changes as soon
as possible.
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 7
speaking correct common userspace
like dpkg(1) stumbles over that and makes it impossible to use
hostfs as root filesystem.
The fix is easy, wire up the existing host open/fsync functions
to the directory file operations.
Reported-by: Daniel Gröber d...@darkboxed.org
Signed-off-by: Richard Weinberger
The kernel offers a helper function for that, use it.
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index f154747..f82f98a5 100644
--- a/fs
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 06b3e3f..8bbceae 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
@@ -318,9
...to make life easier for future readers of that code.
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 8163aac..67e556c 100644
hostfs has an append mount option. Report it.
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index c60d886..06b3e3f 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs
In case of a race between to callers of hostfs_file_open()
it can happen that a file describtor is leaked.
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index
Instead of serializing hostfs_file_open() we can use
a per inode mutex to protect -mode.
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 3082a7e..7260f16 100644
--- a/fs/hostfs/hostfs_kern.c
+++ b/fs/hostfs/hostfs_kern.c
Make sure that we return EIO if one passes an invalid st.mode
into hostfs.
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index 92b008f
Be consistent with all other functions in hostfs and just
use __getname().
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 25 +++--
1 file changed, 11 insertions(+), 14 deletions(-)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs
Host got a visit from the janitor.
[PATCH 01/15] hostfs: hostfs_file_open: Switch to data locking model
[PATCH 02/15] hostfs: hostfs_file_open: Fix a fd leak in
[PATCH 03/15] hostfs: Allow fsync on directories
[PATCH 04/15] hostfs: Handle bogus st.mode
[PATCH 05/15] hostfs: Make hostfs_readpage
Am 15.03.2015 um 13:07 schrieb Toralf Förster:
On 03/15/2015 12:27 PM, Richard Weinberger wrote:
found the culprit :
CONFIG_MPENTIUMM=y works where CONFIG_MCORE2=y do not work
I do have an i5:
I have to double check this. Maybe you hint an UML bug.
processor : 3
vendor_id
Am 15.03.2015 um 13:07 schrieb Toralf Förster:
On 03/15/2015 12:27 PM, Richard Weinberger wrote:
found the culprit :
CONFIG_MPENTIUMM=y works where CONFIG_MCORE2=y do not work
BTW: Just ran a x86 UML with CONFIG_MCORE2=y. Works perfectly fine.
But I have a different CPU.
Thanks,
//richard
Am 15.03.2015 um 11:54 schrieb Toralf Förster:
On 03/13/2015 03:31 PM, Richard Weinberger wrote:
And what about a regular unhardened host?
Does it work if you boot a random x86_64 livecd?
tested with GRML - failed too.
BTW: In GRML you need to remount /dev/shm with exec. Did you?
Thanks
Am 15.03.2015 um 11:54 schrieb Toralf Förster:
On 03/13/2015 03:31 PM, Richard Weinberger wrote:
And what about a regular unhardened host?
Does it work if you boot a random x86_64 livecd?
tested with GRML - failed too.
(And I switched the compiler to gcc-4.8.3-vanilla before and compiled
Am 15.03.2015 um 17:51 schrieb Toralf Förster:
On 03/15/2015 03:36 PM, Richard Weinberger wrote:
BTW: Just ran a x86 UML with CONFIG_MCORE2=y. Works perfectly fine.
The picture isn't clear.
After twiddling with the kernel config I got a working .config with CORE2=y.
This runs fine
Am 13.03.2015 um 14:40 schrieb Toralf Förster:
On 03/10/2015 10:21 PM, Richard Weinberger wrote:
Am 10.03.2015 um 19:56 schrieb Toralf Förster:
On 03/10/2015 07:43 PM, Richard Weinberger wrote:
Also please send me your .config.
attached
This .config works perfecly fine here.
So, what does
Am 13.03.2015 um 14:40 schrieb Toralf Förster:
On 03/10/2015 10:21 PM, Richard Weinberger wrote:
Am 10.03.2015 um 19:56 schrieb Toralf Förster:
On 03/10/2015 07:43 PM, Richard Weinberger wrote:
Also please send me your .config.
attached
This .config works perfecly fine here.
So, what does
Am 10.03.2015 um 18:43 schrieb Toralf Förster:
On 03/10/2015 04:49 PM, Richard Weinberger wrote:
Then just reboot into a pristine kernel and retest. :-)
With latest host vanilla 4.0.0-rc3 kernel I get a similar picture:
Hmm, does not look at all like your initial report. But maybe it is just
Am 10.03.2015 um 15:38 schrieb Toralf Förster:
On 03/08/2015 11:44 PM, Richard Weinberger wrote:
Okay. Does it work on a regular host system?
I.e. not broken^Whardened.
I run x86 UML's very often on x86_64...
Ok, I have here just a hardened system, so I'll look for issues related
Am 10.03.2015 um 19:24 schrieb Toralf Förster:
On 03/10/2015 06:53 PM, Richard Weinberger wrote:
What is addr2line -e linux 60250c0e?
$ addr2line -e linux 60250c0e
/home/tfoerste/devel/linux/include/linux/skbuff.h:1502
$ addr2line -e linux 60238a01
/home/tfoerste
Am 10.03.2015 um 19:39 schrieb Toralf Förster:
On 03/10/2015 07:33 PM, Richard Weinberger wrote:
So you see *random* crashes?
yes, the 1st RIP is varying, just the 2nd stays at 6001b011
Okay. Can you please find the last working release?
I'm still a bit puzzled.
Also please send me
Am 10.03.2015 um 19:56 schrieb Toralf Förster:
On 03/10/2015 07:43 PM, Richard Weinberger wrote:
Also please send me your .config.
attached
This .config works perfecly fine here.
So, what does your userspace? Does UML crash while booting up?
BTW: You do not specify mem=, so you have only very
On Sun, Mar 8, 2015 at 10:13 PM, Toralf Förster toralf.foers...@gmx.de wrote:
Well, in fact, since I switched from x86 to amd64 under Gentoo, I never
managed to get that chroot to be booted.
During boot of the UML guest it just hangs around devtmpfs: mounted w/o
any output
Booting a
Am 08.03.2015 um 23:40 schrieb Toralf Förster:
On 03/08/2015 10:38 PM, Richard Weinberger wrote:
Booting a chroot?!
Well, wrong wording. it is an UML guest image.
Okay. Does it work on a regular host system?
I.e. not broken^Whardened.
I run x86 UML's very often on x86_64...
Thanks
On Tue, Mar 3, 2015 at 5:55 AM, Lorenzo Colitti lore...@google.com wrote:
Hi,
when compiling UML with -Wall -Werror, I get:
Don't build with -Werror.
arch/um/kernel/ptrace.c: In function ‘syscall_trace_enter’:
arch/um/kernel/ptrace.c:178:32: warning: ignoring return value of
Am 03.03.2015 um 09:39 schrieb Lorenzo Colitti:
On Tue, Mar 3, 2015 at 5:32 PM, Richard Weinberger
richard.weinber...@gmail.com wrote:
IIRC the big plan is to make tracehook_report_syscall_entry() tree-wide void.
Ack, thanks. In the meantime, for trees we already build with -Werror,
we'll
Am 03.03.2015 um 10:26 schrieb Geert Uytterhoeven:
On Tue, Mar 3, 2015 at 9:48 AM, Richard Weinberger rich...@nod.at wrote:
Am 03.03.2015 um 09:39 schrieb Lorenzo Colitti:
On Tue, Mar 3, 2015 at 5:32 PM, Richard Weinberger
richard.weinber...@gmail.com wrote:
IIRC the big plan is to make
On Sun, Jan 18, 2015 at 1:27 PM, Thomas Meyer tho...@m3y3r.de wrote:
Hi,
Any news. On this?
http://sourceforge.net/p/user-mode-linux/mailman/message/32947218/
http://sourceforge.net/p/user-mode-linux/mailman/message/32947219/
Since commit 9af2452a1839 (um: Include generic barrier.h)
UML uses the generic barrier.h, remove this orphaned file.
Reported-by: Borislav Petkov b...@suse.de
Signed-off-by: Richard Weinberger rich...@nod.at
---
arch/x86/um/asm/barrier.h | 71 ---
1
Am 13.01.2015 um 23:19 schrieb Christoph Hellwig:
On Tue, Jan 13, 2015 at 11:15:58PM +0100, Richard Weinberger wrote:
Daniel reported that dpkg(1) dies if the root filesystem is a hostfs
because it does not expect fsync(2) to fail with EINVAL on directories.
While fsync(2) is allowed to fail
.
Cc: sta...@vger.kernel.org
Reported-and-tested-by: Daniel Gröber d...@darkboxed.org
Signed-off-by: Richard Weinberger rich...@nod.at
---
fs/hostfs/hostfs_kern.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c
index fd62cae..a7ac856 100644
Am 10.01.2015 um 17:08 schrieb Toralf Förster:
yes, it never worked with values above 2026M (tested at an old ThinkPad T420,
running a 32 bit Gentoo Linux with host kernel 3.17.4 )
The theoretical max. was always 2GiB due to the limited address space on ia32.
2GiB - UML binary - ASLR
Am 10.01.2015 um 19:11 schrieb Toralf Förster:
On 01/10/2015 06:45 PM, Richard Weinberger wrote:
Am 10.01.2015 um 18:37 schrieb Toralf Förster:
On 01/10/2015 06:25 PM, Richard Weinberger wrote:
Am 10.01.2015 um 17:08 schrieb Toralf Förster:
yes, it never worked with values above 2026M (tested
On Tue, Jun 24, 2014 at 10:52 PM, Toralf Förster toralf.foers...@gmx.de wrote:
IIRC in former times I could assign an UML instance 2047M, but nowadays
even 2044M is too big.
This depends on the host side. UML heavily depends on the host memory layout.
Now with ASLR and such stuff the layout
.
Daniel Borkmann (1):
x86, um: actually mark system call tables readonly
Richard Weinberger (1):
um: Skip futex_atomic_cmpxchg_inatomic() test
arch/um/Kconfig.common | 1 +
arch/x86/um/sys_call_table_32.c | 2 +-
arch/x86/um
Hi!
Am 10.12.2014 um 11:46 schrieb Miklos Szeredi:
The guilty commit is:
00f634bc522d asm-generic: add generic futex for !CONFIG_SMP
Thanks a lot Miklos!
Your bisecting faster than I do.
Let's dig into the issue!
Thanks,
//richard
And the backtrace:
#0 0x77866457 in kill ()
Am 10.12.2014 um 12:03 schrieb Arnd Bergmann:
On Wednesday 10 December 2014 11:49:23 Richard Weinberger wrote:
Hi!
Am 10.12.2014 um 11:46 schrieb Miklos Szeredi:
The guilty commit is:
00f634bc522d asm-generic: add generic futex for !CONFIG_SMP
Thanks a lot Miklos!
Your bisecting faster
Am 10.12.2014 um 12:59 schrieb Geert Uytterhoeven:
On Wed, Dec 10, 2014 at 11:49 AM, Richard Weinberger rich...@nod.at wrote:
Am 10.12.2014 um 11:46 schrieb Miklos Szeredi:
The guilty commit is:
00f634bc522d asm-generic: add generic futex for !CONFIG_SMP
Thanks a lot Miklos!
Your
...@szeredi.hu
Suggested-by: Geert Uytterhoeven ge...@linux-m68k.org
Signed-off-by: Richard Weinberger rich...@nod.at
---
arch/um/Kconfig.common | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common
index 87bc868..d195a87 100644
--- a/arch/um/Kconfig.common
On Thu, Nov 20, 2014 at 8:01 PM, Toralf Förster toralf.foers...@gmx.de wrote:
A recent question at trinity's mailing list
(http://news.gmane.org/gmane.comp.security.fuzzing.trinity) points probably
to a hostfs issue - therefore I'd like to forward the answer f Dave Jones
here.
ANd /me
On Wed, Nov 19, 2014 at 6:06 PM, Toralf Förster toralf.foers...@gmx.de wrote:
console [mc-1] enabled
Failed to initialize ubd device 0 :Couldn't determine size of device's file
This is ubd_file_size(). Can you find out where exactly it is failing?
Just add a few printk()s into it.
--
Thanks,
Geert,
On Wed, Nov 12, 2014 at 10:48 AM, Geert Uytterhoeven
ge...@linux-m68k.org wrote:
On Wed, Nov 12, 2014 at 10:46 AM, Geert Uytterhoeven
ge...@linux-m68k.org wrote:
JFYI, when comparing v3.18-rc4[1] to v3.18-rc3[3], the summaries are:
- build errors: +5/-6
+
Am 12.11.2014 um 11:22 schrieb Geert Uytterhoeven:
On Wed, Nov 12, 2014 at 11:19 AM, Richard Weinberger
richard.weinber...@gmail.com wrote:
+ /home/kisskb/slave/src/fs/hostfs/hostfs_user.c: error: 'AT_FDCWD'
undeclared (first use in this function): = 378
+ /home/kisskb/slave/src/fs
Anton,
Am 23.10.2014 um 09:34 schrieb Anton Ivanov:
Hi Richard,
I have had a question in my mind on this for quite a while around this bug
(and a quite a few others).
Fell free to ask, I'll try hand to find time to answer.
UML by the nature of being UP includes the generic spinlock
On Mon, Oct 20, 2014 at 1:18 PM, Thomas Meyer tho...@m3y3r.de wrote:
Am 20.10.2014 11:28 schrieb Daniel Walter sa...@0x90.at:
- Original Message -
From: Thomas Meyer tho...@m3y3r.de
To: user-mode-linux-devel user-mode-linux-devel@lists.sourceforge.net
Sent: Sunday, October 19,
Am 18.10.2014 um 16:23 schrieb Manfred Schlaegl:
The pointer to bp stack-frame is no longer used. Removed it.
Good catch!
This also removes a corresponding compiler-warning.
Which warning exactly?
Thanks,
//richard
Am 18.10.2014 um 17:12 schrieb Manfred Schlaegl:
On 2014-10-18 16:42, Richard Weinberger wrote:
Am 18.10.2014 um 16:23 schrieb Manfred Schlaegl:
The pointer to bp stack-frame is no longer used. Removed it.
Good catch!
Thank you.
This also removes a corresponding compiler-warning.
Which
Am 18.10.2014 um 17:24 schrieb Manfred Schlaegl:
On 2014-10-18 17:19, Richard Weinberger wrote:
Am 18.10.2014 um 17:12 schrieb Manfred Schlaegl:
On 2014-10-18 16:42, Richard Weinberger wrote:
Am 18.10.2014 um 16:23 schrieb Manfred Schlaegl:
The pointer to bp stack-frame is no longer used
Linus,
The following changes since commit c798360cd1438090d51eeaa8e67985da11362eba:
Merge branch 'for-3.18' of
git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu (2014-10-10 07:26:02
-0400)
are available in the git repository at:
Am 11.10.2014 um 13:29 schrieb Nicolas Iooss:
syscall_stub_start is declared with different types in C files:
arch/um/kernel/physmem.c: extern int __syscall_stub_start;
arch/um/kernel/skas/mmu.c: extern int __syscall_stub_start;
arch/um/os-Linux/skas/mem.c: extern unsigned long
Am 11.10.2014 um 14:15 schrieb Nicolas Iooss:
2014-10-11 13:42 GMT+02:00 Richard Weinberger:
Am 11.10.2014 um 13:29 schrieb Nicolas Iooss:
syscall_stub_start is declared with different types in C files:
arch/um/kernel/physmem.c: extern int __syscall_stub_start;
arch/um/kernel/skas/mmu.c
Am 07.10.2014 07:28, schrieb Guenter Roeck:
arch/um/kernel/reboot.c| 2 --
Acked-by: Richard Weinberger rich...@nod.at
Thanks,
//richard
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
On Fri, Oct 3, 2014 at 1:21 AM, Thomas Meyer tho...@m3y3r.de wrote:
Hi,
When you pass an initrd to UML and the size of the initrd is too big for
the current kernel memory, a panic() call is done with the message(Out
of memory).
But this message never hits the stdout as the following stack
On Mon, Sep 29, 2014 at 7:36 PM, Thomas Meyer tho...@m3y3r.de wrote:
Hi,
I tried to install the latest Fedora 21 from the Network Install Image
DVD (
https://fedoraproject.org/get-prerelease#server
On Mon, Sep 29, 2014 at 8:29 PM, Thomas Meyer tho...@m3y3r.de wrote:
Hi,
I get a timeout in the Fedora 21 alpha:
[ TIME ] Timed out waiting for device
dev-disk-by\x2duuid-008af19d\x2d2562\x2d49bd\x2d8907\x2d721ea08f3e14.device.
But all devices are available from early kernel start:
# ls
Am 26.09.2014 13:49, schrieb anton.iva...@kot-begemot.co.uk:
From: Anton Ivanov antiv...@cisco.com
This is a fix for a very old UML bug which can be triggered with stock
UML. It takes a lot of effort to trigger it there because the
lseek()/read() | write() mechanics of the UBD driver
Rob,
Am 23.09.2014 16:58, schrieb Rob Landley:
As long as somebody's paying attention to UML again: what would be
involved in adding support for arm/mips/sh4/sparc...
I've mostly wandered off to use qemu these days, and I package system
images with native compilers you can boot up and
On Sun, Sep 14, 2014 at 12:42 PM, Thomas Meyer tho...@m3y3r.de wrote:
Call machined's CreateMachine to create a scope unit for the
current uml instance.
Can you please describe in detail why we need this feature?
In general I'm fine with adding such functionality but please make it optional.
On Thu, Sep 4, 2014 at 9:00 PM, anton.iva...@kot-begemot.co.uk wrote:
Patch dependencies:
[PATCH v3 01/10] Epoll based interrupt controller
Full redesign of the existing UML poll based controller. The old
poll controller incurs huge penalties for IRQ sharing and many devices
setup due to
On Wed, Aug 13, 2014 at 9:11 PM, Toralf Förster toralf.foers...@gmx.de wrote:
The long story is below.
As of now UML has no CONFIG_STACKTRACE_SUPPORT.
But Daniel (CC'd) is working on it.
Forwarded Message
Subject: Re: trinity seems not to reap all childs
Date: Wed, 13 Aug
Am 12.08.2014 16:46, schrieb Vivek Goyal:
Richard and Daniel reported that UML is broken due to changes to resource
traversal functions. Problem is that iomem_resource.child can be null
and new code does not consider that possibility. Old code used a for loop
and that loop will not even
Am 12.08.2014 17:04, schrieb Vivek Goyal:
On Tue, Aug 12, 2014 at 04:49:35PM +0200, Richard Weinberger wrote:
Am 12.08.2014 16:46, schrieb Vivek Goyal:
Richard and Daniel reported that UML is broken due to changes to resource
traversal functions. Problem is that iomem_resource.child can
Hi Vivek,
Am 11.08.2014 14:22, schrieb Vivek Goyal:
On Sun, Aug 10, 2014 at 06:56:14PM +0200, Richard Weinberger wrote:
Hi Vivek,
Daniel Walter reported that UML is currently broken.
The offending commit is:
Hi Richard,
Thanks for pointing it out. I will look into it.
Would you
Am 11.08.2014 20:44, schrieb Vivek Goyal:
On Mon, Aug 11, 2014 at 02:25:56PM +0200, Richard Weinberger wrote:
Hi Vivek,
Am 11.08.2014 14:22, schrieb Vivek Goyal:
On Sun, Aug 10, 2014 at 06:56:14PM +0200, Richard Weinberger wrote:
Hi Vivek,
Daniel Walter reported that UML is currently
Hi Vivek,
Daniel Walter reported that UML is currently broken.
The offending commit is:
commit 8c86e70acead629aacb4afcd818add66bf6844d9
Author: Vivek Goyal vgo...@redhat.com
Date: Fri Aug 8 14:25:50 2014 -0700
resource: provide new functions to walk through resources
It dies in
Himangi,
Am 19.07.2014 13:34, schrieb Himangi Saraogi:
alloc_bootmem and related functions never return NULL. Thus a NULL
test or memset after calls to these functions is unnecessary.
The following Coccinelle semantic patch was used for making the change:
@@
expression E;
statement S;
From: Richard Weinberger rich...@nod.at
Use the more generic functions get_signal() signal_setup_done()
for signal delivery.
Signed-off-by: Richard Weinberger rich...@nod.at
---
arch/um/include/shared/frame_kern.h | 12 --
arch/um/kernel/signal.c | 27
.
Richard Weinberger (4):
Revert um: Fix wait_stub_done() error handling
um: Ensure that a stub page cannot get unmapped
um: Fix hung task in fix_range_common()
um: segv: Save regs only in case of a kernel mode fault
Am 18.07.2014 01:13, schrieb Real Name:
On Sat, Jun 28, 2014 at 12:06:28PM +0800, Real Name wrote:
On Sat, Jun 21, 2014 at 03:28:52PM +0800, Real Name wrote:
On Thu, Jun 05, 2014 at 11:49:49PM +0200, Richard Weinberger wrote:
Am 05.06.2014 06:15, schrieb Honggang Li:
arch/x86/um/checksum_32.S
Am 12.07.2014 19:16, schrieb Toralf Förster:
On 05/02/2014 04:14 PM, Richard Weinberger wrote:
Am 02.05.2014 16:07, schrieb Toralf Förster:
On 05/02/2014 09:46 AM, Richard Weinberger wrote:
Am 01.05.2014 23:34, schrieb Toralf Förster:
On 05/01/2014 10:57 PM, Richard Weinberger wrote:
Toralf
Am 08.07.2014 10:16, schrieb Konstantin Khlebnikov:
On Tue, Jul 8, 2014 at 12:01 PM, Richard Weinberger
richard.weinber...@gmail.com wrote:
On Tue, Jul 8, 2014 at 7:48 AM, Konstantin Khlebnikov koc...@gmail.com
wrote:
On Tue, Jul 8, 2014 at 2:05 AM, Andrew Morton a...@linux-foundation.org
Am 08.07.2014 10:47, schrieb Konstantin Khlebnikov:
On Tue, Jul 8, 2014 at 12:33 PM, Richard Weinberger rich...@nod.at wrote:
Am 08.07.2014 10:30, schrieb Konstantin Khlebnikov:
On Tue, Jul 8, 2014 at 12:20 PM, Richard Weinberger rich...@nod.at wrote:
Am 08.07.2014 10:16, schrieb Konstantin
Am 08.07.2014 11:03, schrieb Konstantin Khlebnikov:
I know. But debugging/profiling of kernel code is much easier when it
runs in userspace.
I think this is the last use case where uml might beat normal hardware
accelerated qemu/kvm.
But without SMP and with that high overhead on each syscall
Am 08.07.2014 11:09, schrieb Geert Uytterhoeven:
On Tue, Jul 8, 2014 at 11:06 AM, Richard Weinberger rich...@nod.at wrote:
Am 08.07.2014 11:03, schrieb Konstantin Khlebnikov:
I know. But debugging/profiling of kernel code is much easier when it
runs in userspace.
I think this is the last use
Am 08.07.2014 11:22, schrieb Geert Uytterhoeven:
On Tue, Jul 8, 2014 at 11:14 AM, Richard Weinberger rich...@nod.at wrote:
And that you don't need root permissions to run it.
You can use KVM also without being root.
It depends on the rights of /dev/kvm.
Which are controlled by... root
Am 16.06.2014 05:28, schrieb Real Name:
On Sat, Jun 14, 2014 at 11:44:04AM +0200, Richard Weinberger wrote:
Hi!
Am 03.06.2014 07:30, schrieb Real Name:
From: Honggang Li enjoymind...@gmail.com
The patch based on linux-next-2014-06-02.
The old init_maps function does two things:
1
Hi!
Am 03.06.2014 07:30, schrieb Real Name:
From: Honggang Li enjoymind...@gmail.com
The patch based on linux-next-2014-06-02.
The old init_maps function does two things:
1) allocates and initializes one struct page array for bootmem
2) count the number of total pages
After removed
Am 05.06.2014 06:15, schrieb Honggang Li:
arch/x86/um/checksum_32.S had been copy paste from x86. When build
x86 uml, csum_partial_copy_generic_i386 mess up the exception table.
In fact, exception table dose not work in uml kernel.
Are you sure that exception tables do not work on UML?
I
301 - 400 of 727 matches
Mail list logo