Re: [uml-devel] Kernel panic: Kernel stack overflow

2004-12-03 Thread Peter
For the record: I switched from skas3-v1 to -v7 and the problem seems to have gone away. Cheers, Peter Jeff Dike wrote: [EMAIL PROTECTED] said: Hi. I get a "Kernel panic: Kernel stack overflow" error message on the UML instance console. Then the UML instance exits. Can you get a s

Re: [uml-devel] Memory corruption/errors?

2004-12-22 Thread Peter
,i, k,observed, expected); }; Maybe it is just some unexpected handling on the != operator with doubles? Are you seeing cases where obs!=exp? And difference if you run it on a uni-proc server vs. a smp server? Regards, Peter Bodo Stroesser wrote: Carl wrote: Hi, Running the piece of code from t

Re: [uml-devel] Memory corruption/errors?

2004-12-22 Thread Peter
Ls. I don't know if that information helps. (i.e. can a sighandler in another process on the UML or on the host cause this problem?) I'd be happy to try out a skas patch - preferably if it just applied to the guest ;) To see if it fixes things or not. Regards, Peter Bodo Stroesser

Re: [Fwd: Re: [uml-devel] Memory corruption/errors?]

2004-12-23 Thread Peter
? Ideally I'd like to get this working with 2.6.9-bb4 since that seems to be the 'stable' 2.6 UML guest kernel. Else, can you let me know what code (links to all component patches appreciated) your patch is against and I will try that. Regards, Peter Bodo Stroesser wrote: I'm fo

Re: [uml-devel] Memory corruption/errors?

2005-01-09 Thread peter
Bodo? Peter wrote: Hi. Thanks for the patch. I am trying to apply these against 2.6.9 + bb4 (from http://www.user-mode-linux.org/~blaisorblade/patches/guest/uml-2.6.9-bb4/). Your patch is not applying (no such file, HUNKs failing, etc). Do you have a version of your patch that compiles

[uml-devel] Re: [uml-user] [POLL] Putting UML/2.4 into "fixes-only" mode

2005-01-26 Thread Peter
you can save some backporting efforts, work on adding more 2.6 stability and new features (on the separate -mm type tree) that could be a win-win. Cheers, Peter Blaisorblade wrote: Jeff, I've seen the beginning of your work on back-porting all the patches from 2.6 to 2.4... It's a h

[uml-devel] 2.6.11 + uml.sf.net patches panic

2005-03-02 Thread Peter
up a Java process (specifically starting up tomcat). The problem does not occur with a vanilla 2.6.11 guest. I'm happy to carry on using vanilla 2.6.11. But hopefully the stack trace below triggers some insight into a problem with one of the latest uml.sf.net patches. Regards, Peter Start

Re: [uml-devel] 2.6.11 + uml.sf.net patches panic (now fixed, replaced by CPU problem)

2005-03-05 Thread Peter
s setup is below. The main showstopper is an issue where the guest UML sucks up all available CPU. I've gone back to using 2.6.9-bs7 for the time being. Regards, Peter http://rimuhosting.com bodo's fp-state would not apply (at least with patch -p 1). All other patches went in OK

[uml-devel] Running JDK1.5 Maxes Out CPU

2005-03-19 Thread Peter
ly appreciated. Regards, Peter --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.o

[uml-devel] 2.4 do_mmap_pgoff compile problem

2005-03-20 Thread Peter
rg in the code, and it then compiles OK. But segfaults immediately on use. I'm not sure if that is caused by my code change or not. BTW: what is the current recommendation for a 'stable' 2.4 UML guest kernel? Regards, Peter gcc -D__KERNEL__ -I/usr/src/uml/linux-2.4.27-rimu2/

[uml-devel] 2.6.9-bs7 panic on check_sysemu

2005-04-03 Thread Peter
a case where I should be upgrading my host kernels (will do that in time anyway)? Or is there something that can be done on the guest to make it work on older kernels also? Regards, Peter --- SF email is sponsored by - The IT Product Guid

[uml-devel] unregister_netdevice: waiting for tap24 to become free

2005-07-11 Thread Peter
is running a number of tap devices. (It is a UML host server running the skas patches http://www.user-mode-linux.org/~blaisorblade/). Regards, Peter # uname -r 2.6.11.7-skas3-v8 unregister_netdevice: waiting for tap24 to become free. Usage count = 1 unregister_netdevice: waiting for tap24 to

[uml-devel] Re: unregister_netdevice: waiting for tap24 to become free

2005-07-11 Thread Peter
orted with older 2.6 kernels and a patch was floating around. I'm not sure if that is integrated into the current 2.6.11 kernel. http://www.google.com/search?q=unregister_netdevice%3A+waiting Regards, Peter Jul 10 16:52:03 host39 sshd(pam_unix)[19779]: authentication failure; logname= u

Re: [uml-devel] Re: unregister_netdevice: waiting for tap24 to become free

2005-07-14 Thread Peter
I just tried 2.6.12.2 with skas-V8.2. The server (otherwise reliable), had a kernel crash (which I was unable to capture) within a couple of hours of boot up. Regards, Peter Blaisorblade wrote: On Tuesday 12 July 2005 00:26, Peter wrote: Nothing in the logs prior to the first error

[uml-devel] skas v8.2 results

2005-07-30 Thread Peter
e had success with 2.6.12 skas v8.2? If so I'd be interested in a kernel .config. FWIW our hosts are dual xeons. Regards, Peter --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follo

[uml-devel] Re: host kernel dump on 2.6.11.12-skas3-v8.2

2005-08-25 Thread Peter
. Regards, Peter [EMAIL PROTECTED] ~]# uname -a Linux 2.6.11.12-skas3-v8.2 #1 SMP Wed Aug 10 01:26:47 UTC 2005 i686 i686 i386 GNU/Linux [EMAIL PROTECTED] ~]# cat /var/log/messages | grep kernel Aug 23 03:25:04 host kernel: MCE: The hardware reports a non fatal, correctable incident occurred on

Re: [uml-devel] skas v8.2 results

2005-10-06 Thread Peter
Hi. We have not re-tried a skas kernel later than 2.6.11. Regards, Peter Blaisorblade wrote: On Saturday 30 July 2005 23:22, Peter wrote: Hi. We tried 2.6.12.3-skas3-v8.2 on a host server. It kernel paniced (could not capture the panic) after about 90 minutes. I'd tried a 2.6.12 ska

Re: [uml-devel] SKAS race condition status?

2005-10-25 Thread Peter
other servers of mine with good uptime. My conclusion is that I must be seeing hardware issues rather than a skas bug. - Peter # for ((i=34;i<41;i++)); do echo host$i $(ssh host$i 'echo $(cat /proc/cpuinfo | grep model | grep -v name | head -n 1) $(uname -r) $(uptime)'); done

Re: [uml-devel] SKAS race condition status?

2005-10-25 Thread Peter
HT is not disabled on any of my boxes. Christopher S. Aker wrote: Peter wrote: I have skas3-v8 host servers with model 4 processes and good (100+ day) uptimes. The host server I had issues with (host38) got converted to Xen and is still having problems. I am seeing issues with host34 that

Re: [uml-devel] Hellow Dear. I love you.

2005-01-23 Thread Peter Hartshorn
Well I guess someone loves UML. PS. anyone from Canada using sympatico.ca might want to check their computer for viruses. On Mon, 24 Jan 2005 03:37 pm, Natusik wrote: > Hi sweethart, > I just get round to email! My camera shootings takes a lot of time! I love > and miss you very much, I think ju

[uml-devel] hostfs link count bug?

2005-10-21 Thread Szabo Peter
Hi! I think I have found a bug in UML. Inside my guest Linux, I get # ls -l /etc/passwd -rw-r--r-- 18 root root 801 Oct 21 13:04 /etc/passwd [EMAIL PROTECTED]:/dev# ls -l /etc/passwd -rw-r--r-- 19 root root 801 Oct 21 13:04 /etc/passwd [EMAIL PROTECTED]:/dev# ls -l /etc/passwd -rw-r--r-- 20 r

[uml-devel] Strange behaviour in eth assignments

2006-08-17 Thread Peter Hovorka
got the faintest idea of Kernel development myself, so I'm writing this to the devel list. Kind regards, Peter - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickl

Re: [uml-devel] Strange behaviour in eth assignments

2006-08-19 Thread Peter Hovorka
several days until I packed my bag to look out for Jeff in the #uml and to finally post to uml-devel - the only thing I didn't take a closer look at was the file system respectively the distro. Kind regards, Peter --

Re: [uml-devel] Strange behaviour in eth assignments

2006-08-20 Thread Peter Hovorka
the ubuntu forum/s and/or their list/s about that. If I get a solution from somewhere, I'll post it to the uml user's list. Once again many thanks, Peter - Using Tomcat but need to do more? Need to support web services, s

Re: [uml-devel] Strange behaviour in eth assignments

2006-08-26 Thread Peter Hovorka
and eth1 - entries deleted the whole system runs well. Kind regards, Peter - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job

Re: [uml-devel] [PATCH 01/10] cpu: Introduce clear_tasks_mm_cpumask() helper

2012-03-24 Thread Peter Zijlstra
On Sat, 2012-03-24 at 14:27 +0400, Anton Vorontsov wrote: > +void clear_tasks_mm_cpumask(int cpu) > +{ > + struct task_struct *p; > + > + read_lock(&tasklist_lock); > + for_each_process(p) { > + struct task_struct *t; > + > + t = find_lock_task_mm(p); >

Re: [uml-devel] [PATCH 10/10] oom: Make find_lock_task_mm() sparse-aware

2012-03-24 Thread Peter Zijlstra
' - > unexpected unlock > CHECK mm/memcontrol.c > ... > mm/memcontrol.c:1130:17: warning: context imbalance in > 'task_in_mem_cgroup' - unexpected unlock > > p.s. I know Peter Zijlstra detest the __cond_lock() stuff, but untill > we have anything

Re: [uml-devel] [PATCH 07/10] um: Should hold tasklist_lock while traversing processes

2012-03-24 Thread Peter Zijlstra
On Sat, 2012-03-24 at 14:30 +0400, Anton Vorontsov wrote: > Traversing the tasks requires holding tasklist_lock, otherwise it > is unsafe. No it doesn't, it either requires tasklist_lock or rcu_read_lock(). -- This SF em

Re: [uml-devel] [PATCH 10/10] oom: Make find_lock_task_mm() sparse-aware

2012-03-24 Thread Peter Zijlstra
On Sat, 2012-03-24 at 20:21 +0400, Anton Vorontsov wrote: > Just wonder how do you see the feature implemented? > > Something like this? > > #define __ret_cond_locked(l, c) __attribute__((ret_cond_locked(l, c))) > #define __ret_value __attribute__((ret_value)) > #define __ret_loc

Re: [uml-devel] [PATCH v2.1 01/10] cpu: Introduce clear_tasks_mm_cpumask() helper

2012-03-26 Thread Peter Zijlstra
On Sun, 2012-03-25 at 19:42 +0200, Oleg Nesterov wrote: > __cpu_disable() is called by __stop_machine(), we know that nobody > can preempt us and other CPUs can do nothing. It would be very good to not rely on that though, I would love to get rid of the stop_machine usage in cpu hotplug some day.

Re: [uml-devel] [PATCH v2.1 01/10] cpu: Introduce clear_tasks_mm_cpumask() helper

2012-03-26 Thread Peter Zijlstra
On Mon, 2012-03-26 at 19:04 +0200, Oleg Nesterov wrote: > Interesting... Why? I mean, why do you dislike stop_machine() in > _cpu_down() ? Just curious. It disturbs all cpus, the -rt people don't like that their FIFO tasks don't get to run, the trading people don't like their RDMA poll loops to b

Re: [uml-devel] [PATCH 1/9] cpu: Introduce clear_tasks_mm_cpumask() helper

2012-05-01 Thread Peter Zijlstra
> They'd be pretty dumb to do that without reading the local comment, > but still... Methinks something simple like: WARN_ON(cpu_online(cpu)); Ought to cure that worry, no? :-) > > >so its not like new tasks will ever get this cpu set in > > + * t

[uml-devel] Emulate I2C subsystem/slaves

2012-09-02 Thread Peter Hüwe
ints? The main thing I'm lacking is a good idea how to register the 'stub devices'. Or is this something that is not really desired by the uml project? Thanks, Peter -- Live Security Virtual Conference

Re: [uml-devel] Emulate I2C subsystem/slaves

2012-09-08 Thread Peter Hüwe
and start with driver and tools development for it ;) I added the patch, in case you're interested. Unfortunately some I2C drivers fail to build if CONFIG_HAS_IOMEM = n, but don't have that dependency in Kconfig - I simply added it to prevent them from inclusion. Do you think I s

Re: [uml-devel] Emulate I2C subsystem/slaves

2012-09-09 Thread Peter Hüwe
the i2c maintainer (in CC). Nevertheless it would probably be a good starting point for developers - if a subsystem is available the probability that someone hacks on it is much higher ;) Thanks, Peter --- >From 25268d4cdd4b1dd1e5d03c9b90c179758dd41e2e Mon Sep 17 00:00:00 2001 From: Peter

Re: [uml-devel] Emulate I2C subsystem/slaves

2012-09-09 Thread Peter Hüwe
ur proposed solution, I moved the stub driver to the end in order to have only one big if HAS_IOMEM. Thanks, Peter --- >From 923bc2feac0a04ee35382e60bb523d08baf92d48 Mon Sep 17 00:00:00 2001 From: Peter Huewe Date: Sun, 9 Sep 2012 14:10:05 +0200 Subject: [PATCH] i2c: Move HAS_IOMEM depend

Re: [uml-devel] Emulate I2C subsystem/slaves

2012-09-09 Thread Peter Hüwe
g on UML is the ioremap function family ;/ Peter -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discuss

Re: [uml-devel] Emulate I2C subsystem/slaves

2012-09-09 Thread Peter Hüwe
part of the i2c/busses section. And almost all of those drivers use ioremap. For my stub driver I don't need any of that, I'd be fine with the move of HAS_IOMEM as proposed by Jean. Peter -- Live Security Vi

Re: [uml-devel] Emulate I2C subsystem/slaves

2012-09-09 Thread Peter Hüwe
st compiled it. Thanks, Peter -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will includ

Re: [uml-devel] Emulate I2C subsystem/slaves

2012-09-09 Thread Peter Hüwe
/Kconfig | 14 +- > drivers/i2c/muxes/Kconfig |2 +- > 3 files changed, 15 insertions(+), 15 deletions(-) I'm perfectly fine with this. Signed-off-by: Peter Huewe -- Live Security Virtual

Re: [uml-devel] Emulate I2C subsystem/slaves

2012-09-10 Thread Peter Hüwe
Am Montag, 10. September 2012, 09:29:18 schrieb Jean Delvare: > If everybody is happy with this, I'll queue it up for 3.7. I'm happy with this ;) Thanks, Peter -- Live Security Virtual Conference Exclusi

[uml-devel] BUG: failure at block/blk-core.c:2985/blk_flush_plug_list()

2013-04-02 Thread Peter Butler
Running UML from vanilla kernel 3.8.5 compiled with default kernel configuration and booted with Fedora 18 root fs (as downloaded from http://fs.devloop.org.uk/). Boots fine about 3/4 of the time, the rest of the time it crashes - see output below for an example. command line: ./linux ubd0=Fed

Re: [uml-devel] BUG: failure at block/blk-core.c:2985/blk_flush_plug_list()

2013-04-05 Thread Peter Butler
sets.s] Error 1 make: *** [arch/x86/um/user-offsets.s] Error 2 > Am Fri, 5 Apr 2013 10:13:24 -0400 > schrieb Peter Butler : > >> OK thanks - will get to that later tonight :-) > > Thanks for testing. > I've fixed some odd bugs currently. The code is in Linus's tree

Re: [uml-devel] BUG: failure at block/blk-core.c:2985/blk_flush_plug_list()

2013-04-06 Thread Peter Butler
OK setting SUBARCH did the trick. Thanks for that. :-) Here's the output from a crash using the associated build. Too several boots to trigger the crash - probably some sort of a race condition. Note that I am doing nothing other than booting up the UML to trigger the crash (that is, I am not

Re: [uml-devel] BUG: failure at block/blk-core.c:2985/blk_flush_plug_list()

2013-04-06 Thread Peter Butler
Here's another one where the crash is from startup rather than shutdown: Core dump limits : soft - 0 hard - NONE Checking that ptrace can change system call numbers...OK Checking syscall emulation patch for ptrace...OK Checking advanced syscall emulation patch for ptrace...OK Chec

Re: [uml-devel] Endless page fault for the same miss address in my UML

2013-04-07 Thread Peter Butler
Here's one more example, still the same setup, but this time crashing at the same place as the original bug report. (BUG: failure at block/blk-core.c:2978/blk_flush_plug_list()!) See below for output. BTW my host setup is Linux Mint 14: Linux ufo 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23

[uml-devel] [PATCH -next 04/10] uml: Fix unsafe pid reference to foreground process group

2014-10-18 Thread Peter Hurley
reference after signalling is complete. cc: Jeff Dike cc: Richard Weinberger cc: user-mode-linux-devel@lists.sourceforge.net Signed-off-by: Peter Hurley --- arch/um/drivers/line.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/um/drivers/line.c b/arch/um/drivers

Re: [uml-devel] [PATCH v2 09/10] tty: Consolidate noctty checks in tty_open()

2016-03-26 Thread Peter Hurley
Hi Richard, On 03/26/2016 10:58 AM, Richard Weinberger wrote: > On Sun, Jan 10, 2016 at 6:13 AM, Peter Hurley > wrote: >> Evaluate the conditions which prevent this tty being the controlling >> terminal in one place, just before setting the controlling terminal. >>

[uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-04-28 Thread Peter Teoh
da4/download/linux_linus/linux-2.6>cat include/config/kernel.release 2.6.25-rc9 -- Regards, Peter Teoh - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-04-29 Thread Peter Teoh
On Tue, Apr 29, 2008 at 2:55 AM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Mon, Apr 28, 2008 at 11:53:48PM +0800, Peter Teoh wrote: > > What is the following errors: > > > > make defconfig ARCH=um > > /sda4/download/linux_linus/linux-2.6/arch/um/Makefile:100:

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-04-29 Thread Peter Teoh
On 4/29/08, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Tue, Apr 29, 2008 at 08:02:06PM +0800, Peter Teoh wrote: > > ErhI don't understand, is there something specifically called > > "UML" with a version to it? > > > What I meant was the kernel

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-04-30 Thread Peter Teoh
n Wed, Apr 30, 2008 at 1:29 AM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Wed, Apr 30, 2008 at 12:15:26AM +0800, Peter Teoh wrote: > > > Looks right to me. > > > > > > I'm suspecting that Makefile is mangled somehow. Does git-diff show > > >

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-04-30 Thread Peter Teoh
On Tue, Apr 29, 2008 at 11:37 PM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Tue, Apr 29, 2008 at 08:02:06PM +0800, Peter Teoh wrote: > > ErhI don't understand, is there something specifically called > > "UML" with a version to it? > > What I m

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-04-30 Thread Peter Teoh
On Thu, May 1, 2008 at 2:47 AM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Thu, May 01, 2008 at 12:24:21AM +0800, Peter Teoh wrote: > > Mine is same: > > > > md5sum arch/um/Makefile > > 9088cdab1c0b725568e8f269636dc6df arch/um/Makefile > > What make are

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-05-01 Thread Peter Teoh
On Thu, May 1, 2008 at 11:15 PM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Thu, May 01, 2008 at 07:35:32AM +0800, Peter Teoh wrote: > > /mnt/hd0/download/linux-2.6-latest>make -v > > GNU Make 3.81 > > Copyright (C) 2006 Free Software Foundation, Inc. > > T

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-05-01 Thread Peter Teoh
In case if anyone is wondering what this line 107 means in the arch/um/Makefile: 104 ifneq ($(KBUILD_SRC),) 105 $(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig.$(SUBARCH) $(ARCH_DIR)/Kconfig.arch) 106 else 107 $(shell cd $(ARCH_DIR) && ln -sf Kconfig.$(SUBARC

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-05-02 Thread Peter Teoh
Not sure why, but your current instructions works!!! On 5/2/08, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Fri, May 02, 2008 at 12:18:34AM +0800, Peter Teoh wrote: > > In case if anyone is wondering what this line 107 means in the > arch/um/Makefile: > > > &g

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-05-02 Thread Peter Teoh
On Sat, May 3, 2008 at 3:52 AM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Sat, May 03, 2008 at 01:49:40AM +0800, Peter Teoh wrote: > > This is what I have done, not sure if anything wrong: > > > > a. mkdir obj;make oldconfig ARCH=um O=obj > > > > This

[uml-devel] ‘struct thread_struct’ has no member named ‘mode’

2008-05-18 Thread Peter Teoh
ad_struct' has no member named 'mode' make[2]: *** [arch/um/kernel/smp.o] Error 1 make[1]: *** [arch/um/kernel] Error 2 make: *** [sub-make] Error 2 What is happening, appreciate very much for any help rendered :-). -- Regards, Peter Teoh -

Re: [uml-devel] ?struct thread_struct? has no member named ?mode?

2008-05-19 Thread Peter Teoh
On 5/20/08, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Sun, May 18, 2008 at 11:30:13PM +0800, Peter Teoh wrote: > > Thank you Jeff.what distros are u on? I think my machine(s) may > > have some problem...or possibly the distros itself... > > following your steps

[uml-devel] How to trace early booting in 64bit Linux Kernel?

2008-06-22 Thread Peter Teoh
QEMU running on 64bit host is still not available yet, although it can emulate 64bit kernel. Other than UML, is there any other alternatives that I can try to use, to trace through the early booting up scenario in 64bit Linux Kernel? Thank you for the reply. -- Regards, Peter Teoh

Re: [uml-devel] How to trace early booting in 64bit Linux Kernel?

2008-06-24 Thread Peter Teoh
Sorry for my mistake - I just read the source code for kqemu and they do compile for x86_64, so the 64bit host version is supported. My mistake. On Mon, Jun 23, 2008 at 11:34 AM, Iustin Pop <[EMAIL PROTECTED]> wrote: > On Mon, Jun 23, 2008 at 10:05:37AM +0800, Peter Teoh wrote: >&g

[uml-devel] Kernel panic - not syncing: do_syscall_stub : PTRACE_SETREGS failed, errno = 5

2008-07-18 Thread Peter Teoh
dler+0x57/0x7e 0fc5cffc: [<>] 0x0 Terminated Seems similar to that of: http://www.gossamer-threads.com/lists/linux/kernel/944646 Any fix yet? -- Regards, Peter Teoh - This SF.Net email is sponsored by the M

Re: [uml-devel] Kernel panic - not syncing: do_syscall_stub : PTRACE_SETREGS failed, errno = 5

2008-07-20 Thread Peter Teoh
The problem lies in the function: static inline long do_syscall_stub(struct mm_id * mm_idp, void **addr) { int n, i; long ret, offset; unsigned long * data; unsigned long * syscall; int err, pid = mm_idp->u.pid; if (proc_mm) /* FIXME

Re: [uml-devel] [PATCH] Fix for 2.6.26 ptrace crash

2008-07-22 Thread Peter Teoh
oid); > #endif > > #else > +#if __GNUC__ == 4 > +# define __used__attribute__((__used__)) > +#endif > +#endif > + > +#else > #include > #endif > /* These are for everybody (although not all archs will actually > -- Regards, Peter Teoh

[uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointe r target type"

2008-10-29 Thread Peter Teoh
download/2.6/linux26-acer/kernel/trace/trace.c:659: error: implicit declaration of function 'irqs_disabled_flags' make[3]: *** [kernel/trace/trace.o] Error 1 make[2]: *** [kernel/trace] Error 2 make[1]: *** [kernel] Error 2 make: *** [sub-make] Error 2 The .config as per attached. -- R

Re: [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointe r target type"

2008-10-30 Thread Peter Teoh
On Thu, Oct 30, 2008 at 4:31 PM, Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > On Thu, 30 Oct 2008, Peter Teoh wrote: >> While compiling the latest 2.6.28-rc2 (make linux ARCH=um O=uml): >> >> CC arch/um/kernel/syscall.o >> /hdc1/download/2.6/linux26-

[uml-devel] UML: multiple error in compilation

2008-11-04 Thread Peter Teoh
rage size of 'trace' isn't known /mnt/sda2/download/linux-2.6_latest/kernel/trace/trace.c:710: warning: unused variable 'trace' make[3]: *** [kernel/trace/trace.o] Error 1 make[2]: *** [kernel/trace] Error 2 make[1]: *** [kernel] Error 2 make: *** [sub-make] Error 2

[uml-devel] How to avoid stopping at gdb's "Program received signal SIGSEGV, Segmentation fault"?

2008-11-06 Thread Peter Teoh
n linux_main (argc=3, argv=0xbffb46f4) at /mnt/hd0/download/linux-2.6-latest/arch/um/kernel/um_arch.c:277 #7 0x0804ad16 in main (argc=3, argv=0xbffb46f4, envp=0xbffb4704) at /mnt/hd0/download/linux-2.6-latest/arch/um/os-Linux/main.c:150 --

Re: [uml-devel] How to avoid stopping at gdb's "Program received signal SIGSEGV, Segmentation fault"?

2008-11-06 Thread Peter Teoh
On Thu, Nov 6, 2008 at 9:20 PM, Samuel Korpi <[EMAIL PROTECTED]> wrote: > On Thu, Nov 6, 2008 at 12:45 PM, Peter Teoh <[EMAIL PROTECTED]> wrote: >> When I run gdb ./linux (my UML-compiled kernel): >> >> (gdb) run ubda=/mnt/hd1/download/FedoraCore5-x86-root_fs mem=1

[uml-devel] query on STDERR output from UML tracing

2008-11-12 Thread Peter Teoh
? -- Regards, Peter Teoh - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Sou

Re: [uml-devel] [regression] uml is very slow on 2.6.28 host

2008-12-21 Thread Peter Zijlstra
On Fri, 2008-12-12 at 10:35 +0100, Miklos Szeredi wrote: > When the UML boot gets to the userspace part it gets really really > slow. It takes about 20 times the normal time to fully boot. CPU > seems to be idle. > > Guest version doesn't matter. Host version 2.6.27 was OK, latest git > is not

Re: [uml-devel] [patch] fix uml slowness caused by ptrace preemption bug on host

2009-03-20 Thread Peter Zijlstra
On Thu, 2009-03-19 at 23:23 +0100, Miklos Szeredi wrote: > From: Miklos Szeredi > > This patch fixes bug #12208. > > This turned out to be not a scheduler regression, but an already > existing problem in ptrace being triggered by subtle scheduler > changes. > > The problem is this: > > - task

Re: [uml-devel] [patch] don't preempt not TASK_RUNNING tasks

2009-03-20 Thread Peter Zijlstra
On Fri, 2009-03-20 at 10:43 +0100, Miklos Szeredi wrote: > Ingo, > > I tested this one, and I think it makes sense in any case as an > optimization. It should also be good for -stable kernels. > > Does it look OK? The idea is good, but there is a risk of preemption latencies here. Some code pat

Re: [uml-devel] [REGRESSION] um: rcu_sched_state detected stall on CPU 0

2010-10-15 Thread Peter Zijlstra
here except UML ? > > > > A small update: > > It seems that CONFIG_NO_HZ is broken on UML. :-( > > > > CONFIG_NO_HZ + CONFIG_SLAB: works > > CONFIG_NO_HZ + CONFIG_SLAB + your patch: broken > > CONFIG_NO_HZ + CONFIG_SLUB: broken > > > > CONFI

Re: [uml-devel] [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Peter Zijlstra
On Tue, 2011-01-18 at 07:31 +1100, Benjamin Herrenschmidt wrote: > > Beware of false positive, I've used "fake" reschedule IPIs in the past > for other things (like kicking a CPU out of sleep state for unrelated > reasons). Nothing that I know that is upstream today but some of that > might come b

Re: [uml-devel] [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Peter Zijlstra
On Mon, 2011-01-17 at 11:26 +, Russell King - ARM Linux wrote: > On Mon, Jan 17, 2011 at 12:07:13PM +0100, Peter Zijlstra wrote: > > diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c > > index 42aa078..c4a570b 100644 > > --- a/arch/alpha/kernel/smp.c > &

Re: [uml-devel] [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Peter Zijlstra
On Mon, 2011-01-17 at 12:31 +0100, Peter Zijlstra wrote: > On Mon, 2011-01-17 at 11:26 +, Russell King - ARM Linux wrote: > > Maybe remove the comment "everything is done on the interrupt return path" > > as with this function call, that is no longer the case. (Re

[uml-devel] [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Peter Zijlstra
ds any IPI when low on memory. Signed-off-by: Peter Zijlstra --- arch/alpha/kernel/smp.c |1 + arch/arm/kernel/smp.c |1 + arch/blackfin/mach-common/smp.c |3 ++- arch/cris/arch-v32/kernel/smp.c | 13 - arch/ia64/kernel/irq_ia64.c |2 ++ arc

Re: [uml-devel] [uclinux-dist-devel] [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Peter Zijlstra
On Mon, 2011-01-17 at 14:49 -0500, Mike Frysinger wrote: > On Mon, Jan 17, 2011 at 06:07, Peter Zijlstra wrote: > > Also, while reading through all this, I noticed the blackfin SMP code > > looks to be broken, it simply discards any IPI when low on memory. > > not really. se

Re: [uml-devel] [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-02-08 Thread Peter Zijlstra
On Mon, 2011-02-07 at 10:26 +1100, Benjamin Herrenschmidt wrote: > You missed: > > diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c > index 9813605..467d122 100644 > --- a/arch/powerpc/kernel/smp.c > +++ b/arch/powerpc/kernel/smp.c > @@ -98,6 +98,7 @@ void smp_message_recv(int ms

Re: [uml-devel] [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-02-13 Thread Peter Zijlstra
On Wed, 2011-02-09 at 17:14 +1100, Benjamin Herrenschmidt wrote: > On Mon, 2011-02-07 at 14:54 +0100, Peter Zijlstra wrote: > > On Mon, 2011-02-07 at 10:26 +1100, Benjamin Herrenschmidt wrote: > > > You missed: > > > > > > diff --git a/arch/powerpc/kern

Re: [uml-devel] kernel 2.6.39 (user mode linux) crashes (2.6.38 works fine)

2011-05-21 Thread Peter Zijlstra
3fceafa59b2 > > Author: Thomas Gleixner > > Date: Wed Jan 26 21:32:01 2011 +0100 > > > > rwsem: Remove redundant asmregparm annotation > > > >Peter Zijlstra pointed out, that the only user of asmregparm (x86) is > >compiling the kernel already with

[uml-devel] kmalloc does not recover mem in 2.4.24

2004-12-23 Thread Peter T. Breuer
printk (KERN_INFO "tiny driver unloaded\n"); } module_init (tiny_init); module_exit (tiny_cleanup); Peter --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real

[uml-devel] Re: Restoring the link to snapshots on kernel.org

2005-05-10 Thread H. Peter Anvin
Blaisorblade wrote: Nope. They started again five days ago. Would anybody restore the link from the main www.kernel.org/ page, then? I only see there (and in the finger banner) the 2.4 snapshots, not the 2.6 ones. I just found http://www.kernel.org/pub/linux/kernel/v2.6/snapshots/, but only by

[uml-devel] Re: Restoring the link to snapshots on kernel.org

2005-05-10 Thread H. Peter Anvin
Lee Revell wrote: On Tue, 2005-05-10 at 09:03 -0700, H. Peter Anvin wrote: Blaisorblade wrote: Nope. They started again five days ago. Would anybody restore the link from the main www.kernel.org/ page, then? I only see there (and in the finger banner) the 2.4 snapshots, not the 2.6 ones. I

[uml-devel] Re: klibc build broken on UML

2006-05-17 Thread H. Peter Anvin
Miklos Szeredi wrote: [resent because prev. post bounced on hpa and akpm due to mail problems here] I get this on 2.6.17-rc4-mm1: CHK include/linux/compile.h /usr/src/quilt/linux/scripts/Kbuild.klibc:60: /usr/src/quilt/linux/usr/klibc/arch/um/MCONFIG: No such file or directory usr/klibc/

[uml-devel] Re: UML boot failure with kinit

2006-05-24 Thread H. Peter Anvin
Miklos Szeredi wrote: UML now compiles on 2.6.17-rc4-mm3, but it fails to boot: [...] kinit: do_mounts kinit: name_to_dev_t(98:0) = dev(0,0) kinit: root_dev = dev(0,0) kinit: trying to mount /dev/root on /root with type ext3 kinit: Cannot open root device dev(0,0) [...] Adding 'root=ubda' to th

Re: [uml-devel] [PATCH 4/5] UML - Reenable SysRq support

2006-07-12 Thread H. Peter Anvin
Blaisorblade wrote: > On Wednesday 12 July 2006 18:40, Jeff Dike wrote: >> Sysrq works fine on UML. >> >> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> >> >> Index: linux-2.6.17/lib/Kconfig.debug >> === >> --- linux-2.6.17.orig/lib/Kcon

Re: [uml-devel] [TRIVIAL PATCH 16/26] x86: Convert print_symbol to %pSR

2012-12-13 Thread H. Peter Anvin
On 12/13/2012 10:37 AM, Borislav Petkov wrote: >> >> If appropriate, the code could be changed to >> >> (void *)(unsigned long)m->ip > > Can we explicitly cast it to what it is so that we can be explicit as to > what we're casting it? IOW: > > (void *)(__u64)m->ip; > > Does that even

Re: [uml-devel] [TRIVIAL PATCH 16/26] x86: Convert print_symbol to %pSR

2012-12-13 Thread H. Peter Anvin
Good thing, then,. otherwise we'd have a compat headache. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. -- LogMeIn Rescue: Anywhere, Anytim

Re: [uml-devel] [PATCH] arch: configuration, deleting 'CONFIG_BUG' since always need it.

2013-05-28 Thread H. Peter Anvin
On 05/28/2013 01:19 AM, Ingo Molnar wrote: > > So I think the same principle applies to it as to any other debugging > code: it's fine to be able to turn debugging off. It's a performance > versus kernel robustness/determinism trade-off. > I suspect, rather, that BUG() should turn into a trap

Re: [uml-devel] [PATCH] arch: configuration, deleting 'CONFIG_BUG' since always need it.

2013-05-28 Thread H. Peter Anvin
On 05/28/2013 08:43 AM, Arnd Bergmann wrote: > > Right, that is what the patch I just posted does. > > On a related note, I found that WARN_ON() can no longer be compiled > out since there is already code that relies on the side-effects of > the condition. I assume that was an intentional change

Re: [uml-devel] [RFC] Get rid of SUBARCH

2013-08-21 Thread H. Peter Anvin
If ARCH doesn't match uname for some definition of match? Thorsten Glaser wrote: >On Wed, 21 Aug 2013, Richard Weinberger wrote: > >> The series touches also m68k, sh, mips and unicore32. >> These architectures magically select a cross compiler if ARCH != >SUBARCH. >> Do really need that behavior

Re: [uml-devel] [PATCH] um, x86: Fix vDSO build

2014-01-12 Thread H. Peter Anvin
On 01/12/2014 06:52 AM, Richard Weinberger wrote: > Commit "x86: Delete non-required instances of include " > broke the UML build. > > arch/x86/um/vdso/vdso.S: Assembler messages: > arch/x86/um/vdso/vdso.S:2: Error: no such instruction: `__initdata' > arch/x86/um/vdso/vdso.S:9: Error: no such inst

Re: [uml-devel] [PATCH] um, x86: Fix vDSO build

2014-01-13 Thread H. Peter Anvin
On 01/13/2014 04:50 AM, Fengguang Wu wrote: >> Fengguang, could we get UM builds added to the test robot? > > Yes, sure. Just added UML i386/x86_64 to the build tests. > Thank you! That will be highly useful. -hpa -

Re: [uml-devel] [PATCH v3] arm64, ia64, ppc, s390, sh, tile, um, x86, mm: Remove default gate area

2014-07-18 Thread H. Peter Anvin
s > like overkill for a patch that mostly deletes code. > > Akpm, can you take this? > I'm fine with it as-is. Acked-by: H. Peter Anvin -- Want fast and easy access to all the code in your enterpri

Re: [uml-devel] uml and -regparm=3

2008-01-09 Thread H. Peter Anvin
Andi Kleen wrote: > On Wed, Jan 09, 2008 at 09:14:04PM -0500, Jeff Dike wrote: >> On Wed, Jan 09, 2008 at 10:50:48PM +0100, Miklos Szeredi wrote: FASTCALL is useless and should not make a difference. It enables regparm on specific functions, but that should not make a difference if i

Re: [uml-devel] [PATCH v2 1/6] Add new macros for page-aligned data and bss sections.

2009-05-01 Thread H. Peter Anvin
? > > I believe that is correct. > ... but that doesn't mean it's the right thing to do. It's better to be fully explicit when macroizing this kind of stuff. This is part of why macroizing it is good: it means we end up with *one* place that determines this stuff, not som

Re: [uml-devel] [PATCH v2 1/6] Add new macros for page-aligned data and bss sections.

2009-05-01 Thread H. Peter Anvin
we probably need to ask the binutils people... -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. -- Register Now & Save for Velocity, the We

  1   2   >