Re: [uml-user] [PATCH v2] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held

2015-10-29 Thread Richard Weinberger
Am 29.10.2015 um 08:27 schrieb Saurabh Sengar: > replace GFP_KERNEL with GFP_ATOMIC while spinlock is held, > as code while holding a spinlock should be atomic. > GFP_KERNEL may sleep and can cause deadlock, > where as GFP_ATOMIC may fail but certainly avoids deadlock As UML does not support SMP n

[uml-user] Possible ways to execute

2015-10-29 Thread Balaco Baco
A few weeks ago, after more struggling than I expected, I was abble to run UML. I recompiled the linux kernel from source; I did not use the root fs files available in the website, and found a Debian that seems to suit my needs. But yesterday I tried to execute it again, it did not work. The fact

Re: [uml-user] Possible ways to execute

2015-10-29 Thread Richard Weinberger
On Thu, Oct 29, 2015 at 12:28 PM, Balaco Baco wrote: > A few weeks ago, after more struggling than I expected, I was abble to > run UML. I recompiled the linux kernel from source; I did not use the > root fs files available in the website, and found a Debian that seems to > suit my needs. > > But

Re: [uml-user] Possible ways to execute

2015-10-29 Thread Balaco Baco
Really!? I wish I had read that somewhere. Well, just retried with another option that is there for me. It is one of the cases I detailed before that end with error. The full execution, right now, is: == $./linux-2.6.24-x86_64 ubda=Debian-Wheezy-AMD64-root_fs mem=128M Core

Re: [uml-user] Possible ways to execute

2015-10-29 Thread Richard Weinberger
Am 29.10.2015 um 14:14 schrieb Balaco Baco: > Really!? I wish I had read that somewhere. Well, just retried with > another option that is there for me. It is one of the cases I detailed > before that end with error. > > The full execution, right now, is: > > == > $./linux-

Re: [uml-user] Possible ways to execute

2015-10-29 Thread Balaco Baco
On Thu, Oct 29, 2015, at 10:18, Richard Weinberger wrote: > Am 29.10.2015 um 14:14 schrieb Balaco Baco: > > Really!? I wish I had read that somewhere. Well, just retried with > > another option that is there for me. It is one of the cases I detailed > > before that end with error. > > > > The ful

Re: [uml-user] Possible ways to execute

2015-10-29 Thread Balaco Baco
On Thu, Oct 29, 2015, at 10:21, Balaco Baco wrote: > > On Thu, Oct 29, 2015, at 10:18, Richard Weinberger wrote: > > Am 29.10.2015 um 14:14 schrieb Balaco Baco: > > > Really!? I wish I had read that somewhere. Well, just retried with > > > another option that is there for me. It is one of the cas

Re: [uml-user] Possible ways to execute

2015-10-29 Thread Richard Weinberger
On Thu, Oct 29, 2015 at 2:21 PM, Balaco Baco wrote: > > On Thu, Oct 29, 2015, at 10:18, Richard Weinberger wrote: >> Am 29.10.2015 um 14:14 schrieb Balaco Baco: >> > Really!? I wish I had read that somewhere. Well, just retried with >> > another option that is there for me. It is one of the cases

Re: [uml-user] [PATCH v3] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held

2015-10-29 Thread Richard Weinberger
Am 29.10.2015 um 15:50 schrieb Joe Perches: > On Thu, 2015-10-29 at 14:46 +0530, Saurabh Sengar wrote: >> replace GFP_KERNEL with GFP_ATOMIC while spinlock is held, >> as code while holding a spinlock should be atomic. >> GFP_KERNEL may sleep and can cause deadlock, >> where as GFP_ATOMIC may fail

Re: [uml-user] [PATCH v3] um: net: replace GFP_KERNEL with GFP_ATOMIC when spinlock is held

2015-10-29 Thread Joe Perches
On Thu, 2015-10-29 at 14:46 +0530, Saurabh Sengar wrote: > replace GFP_KERNEL with GFP_ATOMIC while spinlock is held, > as code while holding a spinlock should be atomic. > GFP_KERNEL may sleep and can cause deadlock, > where as GFP_ATOMIC may fail but certainly avoids deadlock > > Signed-off-by:

Re: [uml-user] Possible ways to execute

2015-10-29 Thread Balaco Baco
On Thu, Oct 29, 2015, at 11:12, Richard Weinberger wrote: > On Thu, Oct 29, 2015 at 2:21 PM, Balaco Baco wrote: > > > > On Thu, Oct 29, 2015, at 10:18, Richard Weinberger wrote: > >> Am 29.10.2015 um 14:14 schrieb Balaco Baco: > >> > Really!? I wish I had read that somewhere. Well, just retried wi

Re: [uml-user] Possible ways to execute

2015-10-29 Thread Richard Weinberger
On Thu, Oct 29, 2015 at 4:26 PM, Balaco Baco wrote: > What is your definition of recent and your definition of supported? This > may be useful for many other users of UML I guess. The fact that the > kernels offered in the UML website didn't work, and then I tried to > compile from source should b

[uml-user] Website is in need of many small changes and updates?

2015-10-29 Thread Balaco Baco
> > > >> > Really!? I wish I had read that somewhere. Well, just retried with > > > >> > another option that is there for me. It is one of the cases I > > > >> > detailed > > > >> > before that end with error. > > > >> > > > > >> > > > >> Linux 2.6.24?! SRSLY? > > > > > > If you want me to help,

Re: [uml-user] Website is in need of many small changes and updates?

2015-10-29 Thread Richard Weinberger
On Thu, Oct 29, 2015 at 8:46 PM, Balaco Baco wrote: >> > > >> > Really!? I wish I had read that somewhere. Well, just retried with >> > > >> > another option that is there for me. It is one of the cases I >> > > >> > detailed >> > > >> > before that end with error. >> > > >> > >> > > >> >> > > >>

Re: [uml-user] Website is in need of many small changes and updates?

2015-10-29 Thread Balaco Baco
On Thu, Oct 29, 2015, at 16:55, Richard Weinberger wrote: > On Thu, Oct 29, 2015 at 8:46 PM, Balaco Baco wrote: > >> > > >> > Really!? I wish I had read that somewhere. Well, just retried with > >> > > >> > another option that is there for me. It is one of the cases I > >> > > >> > detailed > >>