Re: [PATCH] misc: cs5535-mfgpt: Replace 'module_init' with 'module_platform_driver'

2013-09-28 Thread richard -rw- weinberger
On Sat, Sep 28, 2013 at 8:14 PM, wrote: > From: Elad Wexler > > Driver doesn't do anything special in 'module_init'. > > 'module_platform_init' makes the code more readable. > > Signed-off-by: Elad Wexler NAK. By moving to module_platform_init() you make this module unloadable. Currently it i

Re: new binutils needed for arm in 3.12-rc1

2013-09-28 Thread richard -rw- weinberger
On Thu, Sep 26, 2013 at 9:18 AM, Geert Uytterhoeven wrote: > Hi Rob, > > On Wed, Sep 25, 2013 at 3:13 AM, Rob Landley wrote: >> Some of us can't ship GPLv3 binaries and are looking forward to the day LLVM >> or some such provides a complete solution. > > Sorry, I didn't have a coffee yet, but whi

Re: Copy on write hard links?

2013-09-25 Thread richard -rw- weinberger
On Wed, Sep 25, 2013 at 4:28 PM, Thomas Meyer wrote: > Am Mittwoch, den 25.09.2013, 08:59 -0500 schrieb Rob Landley: >> On 09/24/2013 01:36:56 PM, Thomas Meyer wrote: >> > Hi, >> > >> > Is there such a thing? >> >> In the kernel's vfs layer? > > Yes, that would be a nice feature! You mean reflink

Re: Would an "information module" be useful?

2013-09-22 Thread richard -rw- weinberger
On Sun, Sep 22, 2013 at 7:05 PM, Markus Elfring wrote: > Hello, > > I became interested in an use case where I want to pass customised data from > the > boot command-line to other user processes. I have read the available > documentation in the way that kernel modules provide such a means to get

Re: [PATCH] UBI: fix refill_wl_user_pool()

2013-09-20 Thread richard -rw- weinberger
On Wed, Sep 4, 2013 at 10:20 AM, Richard Weinberger wrote: > Am 26.08.2013 12:08, schrieb Richard Weinberger: >> If no free PEBs are available refill_wl_user_pool() must not >> return with -ENOSPC immediately. >> It has to block till produce_free_peb() produced a free PEB. >> >> Reported-and-Teste

Re: [uml-devel] Issues with a rather unusual configured NFS server

2013-09-07 Thread richard -rw- weinberger
On Sat, Sep 7, 2013 at 10:44 PM, Toralf Förster wrote: > Today I run latest git tree with a patched UML (this patch + one for xterm > issues) and got 2 times a core dump > when I fuzzy test an UML machine with a nearly identical scenario as already > described but just shutdowned > both UML imag

Re: [PATCH 00/19] pramfs

2013-09-07 Thread richard -rw- weinberger
On Sat, Sep 7, 2013 at 10:14 AM, Marco Stornelli wrote: > Hi all, > > this is an attempt to include pramfs in mainline. At the moment pramfs > has been included in LTSI kernel. Since last review the code is more > or less the same but, with a really big thanks to Vladimir Davydov and > Parallels,

Re: Daily oops's with 3.11

2013-09-07 Thread richard -rw- weinberger
On Sat, Sep 7, 2013 at 11:08 AM, Ian Jeffray wrote: > All, > > A previously stable solid system Core2 upgraded from 3.9.2 to > 3.11 is now showing oops's more than every 24 hours. > > Would appreciate any advice on how to begin to help debug this > as it appears to be deep in areas of the kernel I

Re: [PATCH] h8300: remove deprecated IRQF_DISABLED

2013-09-07 Thread richard -rw- weinberger
On Sat, Sep 7, 2013 at 11:15 AM, Michael Opdenacker wrote: > This patch proposes to remove the IRQF_DISABLED flag from h8300 architecture > code. It's a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker > --- > arch/h8300/kernel/timer/itu.c | 2 +- > arc

Re: ftrace 'failed to modify' bug when loading reiserfs.ko

2013-09-06 Thread richard -rw- weinberger
On Fri, Sep 6, 2013 at 6:12 PM, Josh Boyer wrote: > On Fri, Sep 6, 2013 at 12:07 PM, Steven Rostedt wrote: >> On Fri, 6 Sep 2013 11:46:13 -0400 >> Josh Boyer wrote: >> >> >>> > Fedora should really look into defaulting to syslinux. >>> >>> Doesn't support all the usecases we have, and it's not m

Re: [PATCH] input: allow SERIO=m even without EXPERT=y

2013-09-02 Thread richard -rw- weinberger
On Mon, Sep 2, 2013 at 8:47 PM, Tom Gundersen wrote: > There is plenty of consumer hardware (e.g., mac books) that does not use > AT keyboards or PS/2 mice. It therefore makes sense for distro kernels > to build the related drivers as modules to avoid loading them on hardware > that does not need

OCFS2: ocfs2_read_blocks:285 ERROR: block 532737 had the JBD bit set while I was in lock_buffer!

2013-09-02 Thread richard -rw- weinberger
Hi! Today one of my computers crashed with the following panic. The machine is heavily using reflinks. Looks like it managed to hit a CATCH_BH_JBD_RACES error check. <3>[37628.934461] (reflink,512,0):ocfs2_reflink_ioctl:4459 ERROR: status = -17 <3>[37628.943160] (kworker/u:2,809,1):ocfs2_read_blo

Re: [PATCH v2] h8300/kernel/setup.c: add "linux/initrd.h" to pass compiling

2013-08-30 Thread richard -rw- weinberger
On Fri, Aug 30, 2013 at 1:18 PM, Guenter Roeck wrote: > On 08/29/2013 11:34 PM, Chen Gang wrote: >> >> On 08/30/2013 12:53 PM, Guenter Roeck wrote: >>> >>> On 08/29/2013 08:59 PM, Chen Gang wrote: The related error (allmodconfig for h8300): arch/h8300/kernel/setup.c: In fun

Re: [uml-devel] Issues with a rather unusual configured NFS server

2013-08-29 Thread richard -rw- weinberger
On Wed, Aug 28, 2013 at 7:21 PM, Toralf Förster wrote: > On 08/27/2013 08:06 PM, J. Bruce Fields wrote: >> On Tue, Aug 13, 2013 at 05:53:14PM -0400, bfields wrote: >>> On Mon, Aug 12, 2013 at 04:36:40PM +0200, Jan Kara wrote: On Sun 11-08-13 11:48:49, Toralf Förster wrote: > so that the s

Re: [PATCH v4 1/4] lib: Introduce atomic MMIO modify

2013-08-24 Thread richard -rw- weinberger
On Sat, Aug 24, 2013 at 5:35 PM, Ezequiel Garcia wrote: > Some platforms have MMIO regions that are shared across orthogonal > subsystems. This commit implements a possible solution for the > thread-safe access of such regions through a spinlock-protected API. > > Concurrent access is protected wi

Re: [Bug] Reproducible data corruption on i5-3340M: Please continue your great work! :-)

2013-08-16 Thread richard -rw- weinberger
On Fri, Aug 16, 2013 at 2:33 AM, Linus Torvalds wrote: > I'll probably delay committing it until tomorrow, in the hope that > somebody using one of the other architectures will at least ack that > it compiles. I'm re-attaching the patch (with the two "logn" -> "long" > fixes) just to encourage tha

Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

2013-08-10 Thread richard -rw- weinberger
On Sat, Aug 10, 2013 at 10:08 PM, Bob Smith wrote: > Greg Kroah-Hartman wrote: >> >> Otherwise, to accept this code, I need to see a way that normal users >> can use it (i.e. no root or mknod), and that it can handle namespaces >> and the security interface that the kernel has to support. To do s

Re: [PATCH] tile: support ASLR fully

2013-08-10 Thread richard -rw- weinberger
On Sat, Aug 10, 2013 at 6:55 PM, Jiri Kosina wrote: > On Fri, 9 Aug 2013, Tony Lu wrote: > >> With this change, tile Linux now supports address-space layout >> randomization for shared objects, stack, heap and vdso. >> >> Signed-off-by: Tony Lu >> Signed-off-by: Chris Metcalf >> --- >> arch/til

Re: [PATCH] um: change defconfig to stop spawning xterm

2013-07-22 Thread richard -rw- weinberger
Adding Al again, someone dropped him from the CC list... On Tue, Jul 23, 2013 at 7:40 AM, Richard Weinberger wrote: > Lennart, > > Am 23.07.2013 00:32, schrieb Lennart Poettering: >> On Mon, 22.07.13 16:13, Ramkumar Ramachandra (artag...@gmail.com) wrote: >> >>> >>> [Corrected Lennart's email ID]

Re: [QUERY] lguest64

2013-07-19 Thread richard -rw- weinberger
On Fri, Jul 19, 2013 at 8:46 PM, H. Peter Anvin wrote: > On 07/19/2013 10:42 AM, Ramkumar Ramachandra wrote: >> H. Peter Anvin wrote: >>> We want to reduce pvops and pvops users, not increase them... >> >> I see. So the future is true virtualization which exposes the >> underlying hardware, like

Re: [PATCH 0/3] Get defconfig to work with ARCH=um

2013-07-04 Thread richard -rw- weinberger
Hi! On Thu, Jul 4, 2013 at 11:03 PM, Ramkumar Ramachandra wrote: > does not work on 64-bit hosts, because the build-infrastructure is > hard-wired to pick a 32-bit defconfig when ARCH=um. This series fixes > the problem. > > [1/3] is somewhat unrelated to the series, and I happened to notice it

Re: Wrapping EXPORT_SYMBOL_GPL symbols and re-exporting the wrappers with EXPORT_SYMBOL

2013-07-02 Thread richard -rw- weinberger
On Mon, Jul 1, 2013 at 11:38 PM, Borislav Petkov wrote: > On Mon, Jul 01, 2013 at 03:32:27PM +0200, Bjørn Mork wrote: >> I just got a new wireless router and stumbled across an odd set of >> out-of-tree modules, where two GPL licensed modules were used by a third >> proprietary licensed one. >> >>

Re: Tux3 Report: Meet Shardmap, the designated successor of HTree

2013-06-24 Thread richard -rw- weinberger
Let's do the same as in 2009[1] and finish this thread. [1] http://www.spinics.net/lists/reiserfs-devel/msg01543.html -- Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http:

mem_cgroup_page_lruvec: BUG: unable to handle kernel NULL pointer dereference at 00000000000001a8

2013-06-13 Thread richard -rw- weinberger
Hi! While playing with user namespaces my kernel crashed under heavy load. Kernel is 3.9.0 plus some trivial patches. [35355.882105] BUG: unable to handle kernel NULL pointer dereference at 01a8 [35355.883056] IP: [] mem_cgroup_page_lruvec+0x79/0x90 [35355.883056] PGD 0 [35355.883056]

Re: Why Linux OS Desktop is not popular?

2013-06-03 Thread richard -rw- weinberger
Please don't feed the trolls. On Mon, Jun 3, 2013 at 5:43 PM, Mats Liljegren wrote: > On Tue, May 28, 2013 at 11:42 AM, Amit C > wrote: >> Hi All, >> >> Linux OS Desktop has not become very popular because of the following >> reasons: >> >> 1. It is not because its GUI is not good. >> 2. It is

Re: A bug about system call on ARM

2013-05-29 Thread richard -rw- weinberger
rm arch part kernel code ? See MAINTAINERS file. CC'ing linux-arm-ker...@lists.infradead.org > > Thanks > > > -Original Message- > From: Wang, Yalin > Sent: Wednesday, May 29, 2013 3:38 PM > To: 'richard -rw- weinberger' > Cc: linux-a...@vger.kernel.o

Re: definition of sys_access function

2013-05-29 Thread richard -rw- weinberger
On Wed, May 29, 2013 at 10:12 AM, johnspaul92 wrote: > Where can i find the definition of the sys_access function??? > I tried checking in syscalls.h. But there i found only the declaration. > Where can i find the definition so that i can understand what that function > actually does. Use git gre

Re: A bug about system call on ARM

2013-05-29 Thread richard -rw- weinberger
Hi! On Wed, May 29, 2013 at 8:52 AM, Wang, Yalin wrote: > Hi all, > > I am a new comer to this mailing list , > I am happy to join this community . > > I have a bug reported from our android phones which is caused by the system > call . > It seems like kernel bugs from my view . Is this a unm

Re: why do we need atomic_set_unchecked

2013-05-27 Thread richard -rw- weinberger
On Mon, May 27, 2013 at 9:47 AM, johnspaul92 wrote: > When i tried to apply the GrSecurity patch on linux kernel 3.10 and there the > patch actually modifies atomic_set to atomic_set_unchecked. When i checked > the gcc patch to compile this code it just redefines atomic_set as > atomic_set_uncheck

Re: [PATCH] kernel/auditfilter.c: fix compiler warning about decimal constant

2013-05-25 Thread richard -rw- weinberger
On Sat, May 25, 2013 at 11:12 AM, Toralf Förster wrote: > fixes > > CC kernel/auditfilter.o > kernel/auditfilter.c: In function ‘audit_data_to_entry’: > kernel/auditfilter.c:426:3: warning: this decimal constant is unsigned > only in ISO C90 [enabled by default] > > Signed-off-by: Tor

Re: UML build broken since 3.0.75 (also affects 3.2.x)

2013-05-25 Thread richard -rw- weinberger
On Sat, May 25, 2013 at 2:18 PM, Greg KH wrote: > On Sat, May 25, 2013 at 05:55:22PM +0700, Antoine Martin wrote: >> Linus' vm patches broke the UML build in 3.0.75 onwards: >> >> CC mm/memory.o >> mm/memory.c: In function ‘vm_iomap_memory’: >> mm/memory.c:2363:2: error: implicit declaratio

Re: Re: Re: Re: [PATCH] UBI: fix memory leak when use fastmap

2013-05-23 Thread richard -rw- weinberger
On Thu, May 23, 2013 at 2:00 PM, wrote: > richard -rw- weinberger 2013-05-13 > 16:08:35: > >> >> I tried to apply/test your patch. >> It has lots of white spaces damages. >> Can you please resend it using git send-email? >> And also run checkpatc

Re: [Regression] Boot failure on ALIX during LED probe

2013-05-15 Thread richard -rw- weinberger
On Wed, May 15, 2013 at 9:24 AM, Timo Teras wrote: > I got the below with Linux 3.8.7-grsec and 3.9.2-grsec. Where as > 3.6.11-grsec is a known good. I believe the same would happen on on > vanilla kernels too. If you post to linux-kernel@vger, please make sure that you're using a vanilla kernel.

Re: 2013 Plumber's CFP: Fastboot

2013-05-14 Thread richard -rw- weinberger
On Tue, May 14, 2013 at 1:51 AM, Mehaffey, John wrote: > Hello All, > > I am proposing a microconference on fastboot at the Linux Plumber's > conference 2013 in New Orleans. The goal is to get to sub 1S boot times for a > large (IVI) system using NAND flash. This pushes the state of the art, and

Re: Build regressions/improvements in v3.10-rc1 (um)

2013-05-13 Thread richard -rw- weinberger
On Mon, May 13, 2013 at 12:18 PM, Geert Uytterhoeven wrote: > On Mon, May 13, 2013 at 12:07 PM, richard -rw- weinberger > wrote: >> On Mon, May 13, 2013 at 11:54 AM, Michael Ellerman >> wrote: > >>> Possibly. We're cross compiling these on powerpc so perha

Re: Build regressions/improvements in v3.10-rc1 (um)

2013-05-13 Thread richard -rw- weinberger
On Mon, May 13, 2013 at 11:54 AM, Michael Ellerman wrote: > > > Geert Uytterhoeven wrote: > >>On Sun, May 12, 2013 at 11:17 PM, richard -rw- weinberger >> wrote: >>> On Sun, May 12, 2013 at 10:47 PM, Geert Uytterhoeven >>> wrote: >>>> On Sun

Re: Re: Re: [PATCH] UBI: fix memory leak when use fastmap

2013-05-13 Thread richard -rw- weinberger
On Fri, May 3, 2013 at 5:31 AM, wrote: > richard -rw- weinberger write 2013-05-03 > 03:21:33: > >> On Thu, May 2, 2013 at 10:30 AM, wrote: >> >> Hi! >> >> >> >> On Tue, Apr 16, 2013 at 10:53 AM, wrote: >> >> > Hello, >&

Re: Build regressions/improvements in v3.10-rc1 (um)

2013-05-12 Thread richard -rw- weinberger
Geert, On Sun, May 12, 2013 at 10:47 PM, Geert Uytterhoeven wrote: > On Sun, 12 May 2013, Geert Uytterhoeven wrote: >> However, the full list of errors isn't that unmanageable, so I'm following >> up with a digested list... > > arch/um/drivers/cow_user.c:216: error: implicit declaration of functi

Re: [PATCH] [SVN] Please Merge 7 VirtualBox Kernel Modules into the Linux Kernel

2013-05-09 Thread richard -rw- weinberger
On Fri, May 10, 2013 at 5:40 AM, quickbooks office wrote: > On Wed, May 8, 2013 at 8:40 AM, Josh Boyer wrote: >> On Wed, May 8, 2013 at 12:09 AM, quickbooks office >> wrote: >>> Please Merge VirtualBox Kernel Modules into the Kernel. >>> >>> --

Re: Re: [PATCH] UBI: fix memory leak when use fastmap

2013-05-02 Thread richard -rw- weinberger
On Thu, May 2, 2013 at 10:30 AM, wrote: >> Hi! >> >> On Tue, Apr 16, 2013 at 10:53 AM, wrote: >> > Hello, >> > Sorry, there is still something wrong with the previous > patch's >> > format, try to submit it again. When use ubi fastmap, there is a > memory >> > leak which will make destr

Re: X86 fpu registers in a signal handler's ucontext

2013-05-02 Thread richard -rw- weinberger
On Thu, May 2, 2013 at 7:42 AM, Warlich, Christof wrote: > Mikael Pettersson writes: >> You're looking at the wrong header: glibc-2.17/sysdeps/i386/sys/ucontext.h >> is legacy SVR4. >> Instead look at glibc-2.17/sysdeps/unix/sysv/linux/x86/sys/ucontext.h. >> >> (If the old one got installed on y

Re: For review: user_namespaces(7) man page

2013-04-29 Thread richard -rw- weinberger
On Mon, Apr 29, 2013 at 9:45 PM, Rob Landley wrote: > On 04/29/2013 02:45:45 AM, richard -rw- weinberger wrote: >> >> On Thu, Mar 21, 2013 at 4:52 PM, Michael Kerrisk (man-pages) >> wrote: >> > Hi Serge, >> > >> > On Fri, Mar 15, 201

Re: Placing ext3 journal on mtd device

2013-04-29 Thread richard -rw- weinberger
On Mon, Apr 29, 2013 at 6:08 PM, wrote: > Hi, > > In Ext3 performance can be improved by placing journal on SSD. I am able > to place ext3 journal on an external device. Can you please help me > placing ext3 journal on mtd device. *very* bad idea. -- Thanks, //richard -- To unsubscribe from thi

Re: For review: user_namespaces(7) man page

2013-04-29 Thread richard -rw- weinberger
On Thu, Mar 21, 2013 at 4:52 PM, Michael Kerrisk (man-pages) wrote: > Hi Serge, > > On Fri, Mar 15, 2013 at 4:38 PM, Serge Hallyn wrote: >> Hi, >> >> you mention that after creating a new user namespace you at first have >> all capabilities in the new ns. You don't explicitly mention (or I >> mi

Re: [PATCH] UBI: fix memory leak when use fastmap

2013-04-28 Thread richard -rw- weinberger
Hi! On Tue, Apr 16, 2013 at 10:53 AM, wrote: > Hello, > Sorry, there is still something wrong with the previous patch's > format, try to submit it again. When use ubi fastmap, there is a memory > leak which will make destroy_ai() fail to free the slab alloced in > scan_fast(). The follow

Modifying an existing mount namespace where user_ns != mnt_ns->user_ns

2013-04-28 Thread richard -rw- weinberger
Hi! If I create a process with CLONE_NEWNS|CLONE_NEWUSER set, how can I modify the mount namespace later? I thought I simply can run setns(/proc//ns/mnt) within my privileged process which resists in the initial userns and then mount whatever I want into the child's mount namespace. But this fail

Re: For review (v2): user_namespaces(7) man page

2013-04-25 Thread richard -rw- weinberger
On Fri, Apr 26, 2013 at 2:54 AM, Eric W. Biederman wrote: > richard -rw- weinberger writes: > >> On Wed, Mar 27, 2013 at 10:26 PM, Michael Kerrisk (man-pages) >> wrote: >>>Inside the user namespace, the shell has user and group ID 0, >>>

Re: [ANNOUNCE] util-linux 2.23

2013-04-25 Thread richard -rw- weinberger
On Thu, Apr 25, 2013 at 1:04 PM, Karel Zak wrote: > The util-linux release 2.23 is available at > >ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.23 > > Feedback and bug reports, as always, are welcomed. > >Karel > > > > Util-linux 2.23 Release Notes > =

Re: [PATCH] uio/aec: specify correct license in MODULE_LICENSE

2013-04-25 Thread richard -rw- weinberger
On Thu, Apr 25, 2013 at 9:37 AM, Uwe Kleine-König wrote: > The file header declares the code to be covered by GPL v2 only, so use > explicit v2 for MODULE_LICENSE, too. Doesn't this apply to almost any driver? I don't understand why you explicitly "fix" this one. -- Thanks, //richard -- To unsub

Re: For review (v2): user_namespaces(7) man page

2013-04-25 Thread richard -rw- weinberger
On Wed, Mar 27, 2013 at 10:26 PM, Michael Kerrisk (man-pages) wrote: >Inside the user namespace, the shell has user and group ID 0, >and a full set of permitted and effective capabilities: > >bash$ cat /proc/$$/status | egrep '^[UG]id' >Uid: 000

Re: No serial since kernel 3.8

2013-04-16 Thread richard -rw- weinberger
On Tue, Apr 16, 2013 at 4:20 PM, Stephan von Krawczynski wrote: > Hello, > > can some kind soul please explain how I can get my serial port back under > kernel 3.8.X. Earlier kernels showed: > > Jan 10 13:57:18 mybox kernel: [0.712829] serial8250: ttyS0 at I/O 0x3f8 > (irq = 4) is a 16550A > >

Re: Linux kernel support -O0 optimization flag?

2013-04-15 Thread richard -rw- weinberger
On Mon, Apr 15, 2013 at 9:58 AM, Ley Foon Tan wrote: > > > Change KBUILD_CFLAGS to -O0 in Makefile and got the compilation error as > below. > Is the Linux kernel support -O0 optimization flag? No. If I'm not mistaken we need this to make sure that the compiler inlines some functions. In your ca

Re: build error with latest git kernel for a user mode linux build

2013-04-12 Thread richard -rw- weinberger
On Fri, Apr 12, 2013 at 7:51 PM, Toralf Förster wrote: > On 04/12/2013 07:41 PM, richard -rw- weinberger wrote: >> You .config build perfectly fine here. >> Have you tried a "make mrproper"? > ick - I forgot to un-apply your patch you sent to me related to the &

Re: build error with latest git kernel for a user mode linux build

2013-04-12 Thread richard -rw- weinberger
On Fri, Apr 12, 2013 at 7:26 PM, Toralf Förster wrote: > On 04/12/2013 05:00 PM, richard -rw- weinberger wrote: >> Did you specify ARCH=um and SUBARCH=? > Only ARCH=um, but the full line give the same : > > $ make ARCH=um SUBARCH=x86 > scripts/kconfig/conf --silentoldconfi

Re: [PATCH] x86: Default to ARCH=x86 to avoid overriding CONFIG_64BIT

2013-04-12 Thread richard -rw- weinberger
David, On Thu, Dec 20, 2012 at 10:51 PM, David Woodhouse wrote: > -SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ > +SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \ > + -e s/sun4u/sparc64/ \ >

Re: build error with latest git kernel for a user mode linux build

2013-04-12 Thread richard -rw- weinberger
On Fri, Apr 12, 2013 at 4:52 PM, Toralf Förster wrote: > I get : > .. > CC kernel/bounds.s > GEN include/generated/bounds.h > CC arch/um/kernel/asm-offsets.s > In file included from > /home/tfoerste/devel/linux/arch/um/include/asm/mman.h:5:0, > from > /home/t

Re: [GIT PULL] vfio fix for 3.9-rc7

2013-04-09 Thread richard -rw- weinberger
On Tue, Apr 9, 2013 at 9:05 PM, Alex Williamson wrote: > Hi Linus, > > Here's one small fix for vfio that I'd like to get in for 3.9; > tightening the range checking around a vfio ioctl. Thanks! > > Alex > > The following changes since commit 25e9789ddd9d14a8971f4a421d04f282719ab733: > > vfio:

Re: user mode linux: trinity syscall "madvise" triggers quickly BUG: Bad page map

2013-04-06 Thread richard -rw- weinberger
On Sat, Apr 6, 2013 at 2:55 PM, Toralf Förster wrote: > On 04/06/2013 02:47 PM, Toralf Förster wrote: >> On 04/06/2013 01:43 PM, richard -rw- weinberger wrote: >>>> What I get with the this trinity command line >>>> >>>> gt; trinity --children 2 -c ma

Re: linux-v3.9-rc3: BUG: Bad page map in process trinity-child6 pte:002f9045 pmd:29e421e1

2013-03-27 Thread richard -rw- weinberger
On Wed, Mar 27, 2013 at 12:03 AM, Hugh Dickins wrote: > On Tue, 26 Mar 2013, Toralf Foerster wrote: >> On 03/25/2013 11:53 PM, Andrew Morton wrote: >> > On Fri, 22 Mar 2013 18:28:36 +0100 Toralf Foerster >> > wrote: >> > >> >> > Using trinity I often trigger under a user mode linux image with ho

Re: SLUB + UML : WARNING: at mm/page_alloc.c:2386

2013-03-14 Thread richard -rw- weinberger
On Thu, Mar 14, 2013 at 10:24 PM, Toralf Förster wrote: > On 03/14/2013 10:21 PM, Dave Jones wrote: >> hah, strndup_user taking a signed long instead of a size_t as it's length >> arg. >> >> either it needs to change, or it needs an explicit check for < 1 >> >> I wonder how many other paths make

Re: SLAB + UML : WARNING: at mm/page_alloc.c:2386

2013-03-14 Thread richard -rw- weinberger
On Thu, Mar 14, 2013 at 8:07 PM, Toralf Förster wrote: > The following WARNING: can be triggered sometimes with trinity [1] under a > user mode linux image > using the SLUB allocator (and not with SLAB) > > > 2013-03-14T19:09:51.071+01:00 trinity kernel: [ cut here > ] >

Re: SLAB + UML : WARNING: at mm/page_alloc.c:2386

2013-03-14 Thread richard -rw- weinberger
On Thu, Mar 14, 2013 at 8:07 PM, Toralf Förster wrote: > The following WARNING: can be triggered sometimes with trinity [1] under a > user mode linux image > using the SLUB allocator (and not with SLAB) > > > 2013-03-14T19:09:51.071+01:00 trinity kernel: [ cut here > ] >

Re: BUG: soft lockup on all kernels after 2.6.3x

2013-03-07 Thread richard -rw- weinberger
On Thu, Mar 7, 2013 at 5:37 PM, Alexey Vlasov wrote: > On Thu, Mar 07, 2013 at 08:20:23AM -0800, Eric Dumazet wrote: >> >> What are gr_ symbols ? > > This is grsecurity patches ;) Please reproduce without grsec... -- Thanks, //richard -- To unsubscribe from this list: send the line "unsubsc

Re: [Ocfs2-users] [OCFS2] Crash at o2net_shutdown_sc()

2013-03-02 Thread richard -rw- weinberger
sing try_to_grab_pending()) introduced that regression, it is time to CC Tejun. > > On 03/01/2013 01:25 PM, richard -rw- weinberger wrote: >> >> Hi! >> >> Using 3.8.1 OCFS2 crashes while joining nodes to the cluster. >> The cluster consists of 10 nodes, while no

Re: [Ocfs2-users] Kernel panic due to ocfs2

2013-02-27 Thread richard -rw- weinberger
On Thu, Feb 28, 2013 at 5:54 AM, Srinivas Eeda wrote: > On 02/27/2013 03:52 AM, richard -rw- weinberger wrote: >> >> On Tue, Feb 26, 2013 at 8:54 AM, richard -rw- weinberger >> wrote: >>> >>> On Tue, Feb 26, 2013 at 7:31 AM, Srinivas Eeda >>>

Re: [Ocfs2-users] Kernel panic due to ocfs2

2013-02-27 Thread richard -rw- weinberger
On Tue, Feb 26, 2013 at 8:54 AM, richard -rw- weinberger wrote: > On Tue, Feb 26, 2013 at 7:31 AM, Srinivas Eeda > wrote: >> This is due to a race in lock mastery/purge. I have recently fixed this >> problem but haven't yet submitted the patch to mainline. Please file a

Re: [Ocfs2-users] Kernel panic due to ocfs2

2013-02-25 Thread richard -rw- weinberger
On Tue, Feb 26, 2013 at 7:31 AM, Srinivas Eeda wrote: > This is due to a race in lock mastery/purge. I have recently fixed this > problem but haven't yet submitted the patch to mainline. Please file a > Service request with Oracle to get a one-off fix. Please submit the patch immediately. Why doe

Re: [uml-user] v3.8-6988-g9e2d59a compile error

2013-02-24 Thread richard -rw- weinberger
On Sun, Feb 24, 2013 at 12:03 PM, Toralf Förster wrote: > Moin, > > got this wit the attached .config : > > ... > CC kernel/mutex.o > CC kernel/hrtimer.o > kernel/mutex.c:34:37: error: include/asm-generic/mutex-null.h: Input/output > error The compiler got -EIO while opening includ

Re: What is tip-bot?

2013-02-19 Thread richard -rw- weinberger
On Tue, Feb 19, 2013 at 10:40 AM, Alexander Holler wrote: > Hello, > > until now I could successfully suppress my curiosity about those tip:foo > messages, but as the bot (or one of them) has now catched me too, I want to > ask what it is. > > Searching for "tip(-)bot" or similiar doesn't reveal s

Re: shouldn't a non-privileged malformed sprintf crashes the kernel

2013-02-17 Thread richard -rw- weinberger
On Sun, Feb 17, 2013 at 11:42 AM, Toralf Förster wrote: > This is the 2nd time in a row that a stable kernel (3.7.8 currently) crashes > in such a way > that even the sys-rq key doesn't work any longer. > Found nothing in the log. The screen shot is here [1]. First time this issue > was reported

Re: [PATCH 0/3] ELF executable signing and verification

2013-01-15 Thread richard -rw- weinberger
On Wed, Jan 16, 2013 at 12:15 AM, Vivek Goyal wrote: > On Tue, Jan 15, 2013 at 11:27:12PM +0100, richard -rw- weinberger wrote: >> On Tue, Jan 15, 2013 at 10:34 PM, Vivek Goyal wrote: >> > Upon exec(), we determine if executable is signed. If it is, then locks >> &g

Re: [PATCH 0/3] ELF executable signing and verification

2013-01-15 Thread richard -rw- weinberger
On Tue, Jan 15, 2013 at 10:34 PM, Vivek Goyal wrote: > Upon exec(), we determine if executable is signed. If it is, then locks > down the pages in memory (using MAP_LOCKED) and verfies the signature. > If signature does not match, process is killed. Unsigned processes > don't get affected at all.

Re: [PATCH] linux-firmware: add MISSING file

2013-01-12 Thread richard -rw- weinberger
On Sat, Jan 12, 2013 at 11:39 PM, Xose Vazquez Perez wrote: > to document the reason why a firmware is not present > > Cc: Daniel Drake > Cc: Ulrich Kunitz > Cc: David Woodhouse > Cc: Ben Hutchings > Cc: > Cc: > Signed-off-by: Xose Vazquez Perez > --- > MISSING | 20 >

Re: [PATCH] ewrk3: silence GCC warning

2012-11-25 Thread richard -rw- weinberger
On Sat, Nov 24, 2012 at 1:12 PM, Paul Bolle wrote: > Building ewrk3.o triggers this GCC warning: > drivers/net/ethernet/dec/ewrk3.c: In function '__check_irq': > drivers/net/ethernet/dec/ewrk3.c:1915:1: warning: return from > incompatible pointer type [enabled by default] > > This can be

Re: [RFC/PATCH 1/1] ubi: Add ubiblock driver

2012-11-20 Thread richard -rw- weinberger
On Tue, Nov 20, 2012 at 11:39 PM, Ezequiel Garcia wrote: > Block device emulation on top of ubi volumes with read/write support. > Block devices get automatically created for each ubi volume present. > > Each ubiblock is fairly cheap since it's based on workqueues > and not on threads. > > Read/wr

Re: [PATCH] scatterlist: don't BUG when we can trivially return a proper error.

2012-11-14 Thread richard -rw- weinberger
On Wed, Nov 14, 2012 at 11:15 PM, Nick Bowler wrote: > On 2012-11-14 13:05 -0800, Andrew Morton wrote: >> On Thu, 1 Nov 2012 15:03:00 -0400 >> Nick Bowler wrote: >> >> > There is absolutely no reason to crash the kernel when we have a >> > perfectly good return value already available to use for

Re: Sched - trivial spelling patch

2012-11-13 Thread richard -rw- weinberger
On Tue, Nov 13, 2012 at 1:13 PM, David R wrote: > Spell "logarithmic" correctly in sched debug. > > --- kernel/sched/debug.c.orig 2012-11-13 11:52:59.0 + > +++ kernel/sched/debug.c2012-11-13 11:53:30.0 + > @@ -318,7 +318,7 @@ > > static const char *sched_tunable_

Re: [PATCH] x86: memtest: make it a bit faster

2012-11-09 Thread richard -rw- weinberger
On Fri, Nov 9, 2012 at 2:12 PM, Alexander Holler wrote: > While implementing the same functionality for arm, I've noticed that > memtest does an unnecessary round to zero the memory. Just reversing the > order so that the last round writes 0s spares that round. > > While there, I've also changed t

Re: Why Cypress does not upstream its trackpad driver?

2012-11-07 Thread richard -rw- weinberger
On Thu, Nov 8, 2012 at 12:13 AM, Troy Abercrombia wrote: > Hello Kamal > > Unfortunately, We're not able to upstream the driver as it would be denied > because it changes the Linux mouse structure framework. Then write a sane driver or submit patches which add the features you need in the Linux

Re: Network routing problem after upgrading to 3.6.2

2012-11-07 Thread richard -rw- weinberger
On Wed, Nov 7, 2012 at 9:18 AM, Melby Sjamsuddin wrote: > Hi Richard, > > I tested 3.5.7 and everything seems to be normal, so it must be 3.6. > Let me know if there's anything I can help. Now you can do a git bisect between 3.5 and 3.6 to find the bad commit. And you can report the issue (in det

Re: Network routing problem after upgrading to 3.6.2

2012-11-05 Thread richard -rw- weinberger
On Mon, Nov 5, 2012 at 10:02 AM, Melby Sjamsuddin wrote: > I have a network issue with two routers at work. They're setup with vrrp and > do load balancing with > 'ip route nexthop' and iptables connmark, using different vlan to connect to > different modems. > > They have been working fine unti

Re: WARNING: at fs/sysfs/inode.c:324 sysfs_hash_and_remove+0xa9/0xb0()

2012-10-29 Thread richard -rw- weinberger
On Sat, Oct 20, 2012 at 7:00 PM, Richard Weinberger wrote: > Hi! > > I can reliably trigger the following warning by physically detaching my disk > array after > stopping md1. > > ---cut--- > [ 149.780554] md: md1 stopped. > [ 149.780559] md: unbind > [ 149.782025] md: export_rdev(sdh1) > [ 14

Re: [PATCH v3 1/2] update mem= option's spec according to its implementation

2012-10-29 Thread richard -rw- weinberger
On Mon, Oct 29, 2012 at 9:48 AM, Wen Congyang wrote: > Current mem= implementation seems buggy because specification and > implementation doesn't match. Current mem= has been working > for many years and it's not buggy, it works as expected. So > we should update the specification. > > Signed-off-

Re: [PATCH] Replace the type check code with typecheck() in kfifo_in

2012-10-24 Thread richard -rw- weinberger
On Wed, Oct 24, 2012 at 5:41 AM, Wei Yang wrote: > Signed-off-by: Wei Yang > Reviewed-by: Andrew Morton > Reviewed-by: richard -rw- weinberger I did *not* review this patch, nor did Andrew. -- Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe li

Re: [PATCH] remove untouched code in kfifo_in

2012-10-23 Thread richard -rw- weinberger
On Tue, Oct 23, 2012 at 4:27 AM, Richard Yang wrote: > On Mon, Oct 22, 2012 at 04:56:02PM -0700, Andrew Morton wrote: >>On Fri, 19 Oct 2012 09:34:43 +0200 (CEST) >>Jiri Kosina wrote: >> >>> On Fri, 19 Oct 2012, Stefani Seibold wrote: >>> >>> > > > In kfifo_in marco, one piece of code is arounded

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread richard -rw- weinberger
On Sun, Oct 21, 2012 at 2:59 PM, Ingo Molnar wrote: > You are wrong on three counts: > > - As I mentioned it in my first mail to you this is not the >same as 'vm run': you still have a qemu-root.img while >tools/kvm does not ... > >'vm run' works without having any disk image around,

Re: [GIT PULL] Linux KVM tool for v3.7-rc0

2012-10-21 Thread richard -rw- weinberger
On Sun, Oct 21, 2012 at 1:18 PM, Borislav Petkov wrote: > On Sun, Oct 21, 2012 at 01:07:31PM +1000, Dave Airlie wrote: >> Why couldn't this script just be a wrapper around qemu? >> >> I get the kvm developers developing features that isn't ideal, but for >> the quick boot a kernel tests, I don't s

Re: [PATCH] remove untouched code in kfifo_in

2012-10-19 Thread richard -rw- weinberger
On Fri, Oct 19, 2012 at 8:18 AM, Richard Yang wrote: > On Fri, Oct 19, 2012 at 07:23:09AM +0200, Stefani Seibold wrote: >> >>Am Freitag, den 19.10.2012, 00:37 +0200 schrieb richard -rw- weinberger: >>> On Thu, Oct 18, 2012 at 3:59 PM, Wei Yang >>> wrote: >

Re: [PATCH] remove untouched code in kfifo_in

2012-10-18 Thread richard -rw- weinberger
On Thu, Oct 18, 2012 at 3:59 PM, Wei Yang wrote: > In kfifo_in marco, one piece of code is arounded by if(0). This code in > introduced by Stefani Seibold to suppress a compiler > warning. This warning is not there with the upgrade of gcc version. > > This patch just remove this code. Are you su

Re: [PATCH 01/10] ext4: balloc: Fixed coding style issue

2012-10-17 Thread richard -rw- weinberger
On Wed, Oct 17, 2012 at 2:05 PM, Lukáš Czerner wrote: > On Wed, 17 Oct 2012, Adil Mujeeb wrote: > >> Date: Wed, 17 Oct 2012 00:42:56 +0530 >> From: Adil Mujeeb >> To: ty...@mit.edu, adilger.ker...@dilger.ca, linux-e...@vger.kernel.org, >> linux-kernel@vger.kernel.org >> Cc: Adil Mujeeb >> Su

Re: Linux 3.7-rc1 (uml uapi errors)

2012-10-15 Thread richard -rw- weinberger
On Mon, Oct 15, 2012 at 6:16 AM, Alex Shi wrote: >> >> Building um (uml) for x86_64 (defconfig) has lots of errors like: >> >> In file included from include/linux/irq.h:22:0, >> from include/asm-generic/hardirq.h:12, >> from arch/um/include/generated/asm/hardirq.h

Re: [PATCH 22/25] um: Use Kbuild infrastructure for kvm_para.h

2012-10-14 Thread richard -rw- weinberger
On Sat, Oct 13, 2012 at 4:26 AM, Steven Rostedt wrote: > From: Steven Rostedt > > All the headers but kvm_para.h use the Kbuild infrastructure to > get to the asm-generic headers. > > (also had to add ipcbuf.h) > > Cc: linux-kbu...@vger.kernel.org > Cc: user-mode-linux-de...@lists.sourceforge.net

Re: [GIT] TPM bugfixes

2012-10-11 Thread richard -rw- weinberger
On Fri, Oct 12, 2012 at 12:19 AM, Andrew Morton wrote: > On Thu, 11 Oct 2012 21:54:18 +1100 (EST) > James Morris wrote: > >> Please pull these fixes for the TPM code. >> >> The following changes since commit 12250d843e8489ee00b5b7726da855e51694e792: >> >> Merge branch 'i2c-embedded/for-next' of

Re: [PATCH v2] Makefile: Add option to disable gcc automatic inlining

2012-10-07 Thread richard -rw- weinberger
On Sun, Oct 7, 2012 at 9:18 PM, Ezequiel Garcia wrote: > The new option is CONFIG_CC_DISABLE_AUTO_INLINE and it's > located at: > * Kernel hacking > * Disable gcc automatic inlining Can you guarantee that this will still produce a valid kernel? AFAIK we have some functions which have to be

Re: [GIT PULL v2] Update LZO compression

2012-10-03 Thread richard -rw- weinberger
CC'in akpm. On Wed, Oct 3, 2012 at 12:34 PM, Markus F.X.J. Oberhumer wrote: > Hi all, > > is there some official maintainer who feels responsible for > pushing the LZO update to Linus? > > Otherwise I also could issue a pull-request on github, but somehow I > don't think that this is the preferre

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-28 Thread richard -rw- weinberger
On Fri, Sep 28, 2012 at 9:15 PM, richard -rw- weinberger wrote: > On Fri, Sep 28, 2012 at 9:04 PM, David Woodhouse wrote: >> On Fri, 2012-09-28 at 09:44 -0700, Linus Torvalds wrote: >>> On Fri, Sep 28, 2012 at 2:00 AM, Sasha Levin >>> wrote: >>> > >&

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-28 Thread richard -rw- weinberger
On Fri, Sep 28, 2012 at 9:04 PM, David Woodhouse wrote: > On Fri, 2012-09-28 at 09:44 -0700, Linus Torvalds wrote: >> On Fri, Sep 28, 2012 at 2:00 AM, Sasha Levin wrote: >> > >> > Is anyone planning on picking up Linus' patch? This is still not in -next >> > even. >> >> I was really hoping it wo

Re: UBI: Fastmap request for inclusion (v19)

2012-09-27 Thread richard -rw- weinberger
On Wed, Sep 26, 2012 at 5:51 PM, Richard Weinberger wrote: > MAINTAINERS |6 + > drivers/mtd/ubi/Kconfig | 20 ++ > drivers/mtd/ubi/Makefile|1 + > drivers/mtd/ubi/attach.c| 386 +++- > drivers/mtd/ubi/build.c | 70 +- > dri

Re: Advice on mmap() "feature"

2012-09-16 Thread richard -rw- weinberger
On Sun, Sep 16, 2012 at 9:21 PM, Mark Jackson wrote: > Apologies if this is the wrong place to post this query. Please feel free > to redirect me to the correct place. > > I have come across a weird (but documented [1]) "feature" of mmap(), which > is:- > > "The mmap()function adds an extra refer

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-15 Thread richard -rw- weinberger
On Sat, Sep 15, 2012 at 6:36 PM, Mike Galbraith wrote: >> Just using futex is unfortunately not the answer either. > > Yes, postgress performs loads better with it's spinlocks, but due to > that, it necessarily _hates_ preemption. How the is the scheduler > supposed to know that any specific user

  1   2   >