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 rich...@nod.at 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

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 mar...@oberhumer.com 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

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 elezegar...@gmail.com 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

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 melb...@vulytrampolines.com 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

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 melb...@vulytrampolines.com 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

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 t...@cypress.com 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

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 weiy...@linux.vnet.ibm.com 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 weiy...@linux.vnet.ibm.com wrote

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 b...@alien8.de 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

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 mi...@kernel.org 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

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 weiy...@linux.vnet.ibm.com 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 jkos...@suse.cz wrote: On Fri, 19 Oct 2012, Stefani Seibold wrote: In kfifo_in marco, one

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 weiy...@linux.vnet.ibm.com wrote: Signed-off-by: Wei Yang weiy...@linux.vnet.ibm.com Reviewed-by: Andrew Morton a...@linux-foundation.org Reviewed-by: richard -rw- weinberger richard.weinber...@gmail.com I did *not* review this patch, nor did Andrew

Re: [GIT] TPM bugfixes

2012-10-11 Thread richard -rw- weinberger
On Fri, Oct 12, 2012 at 12:19 AM, Andrew Morton a...@linux-foundation.org wrote: On Thu, 11 Oct 2012 21:54:18 +1100 (EST) James Morris jmor...@namei.org wrote: Please pull these fixes for the TPM code. The following changes since commit 12250d843e8489ee00b5b7726da855e51694e792: Merge

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 we...@cn.fujitsu.com 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

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 rich...@nod.at 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: unbindsdh1 [ 149.782025] md:

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 hol...@ahsoftware.de 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,

Re: Sched - trivial spelling patch

2012-11-13 Thread richard -rw- weinberger
On Tue, Nov 13, 2012 at 1:13 PM, David R da...@unsolicited.net 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

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 rost...@goodmis.org wrote: From: Steven Rostedt srost...@redhat.com 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:

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 lkml.a...@gmail.com 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

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 lczer...@redhat.com wrote: On Wed, 17 Oct 2012, Adil Mujeeb wrote: Date: Wed, 17 Oct 2012 00:42:56 +0530 From: Adil Mujeeb mujeeb.a...@gmail.com To: ty...@mit.edu, adilger.ker...@dilger.ca, linux-e...@vger.kernel.org,

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 weiy...@linux.vnet.ibm.com wrote: In kfifo_in marco, one piece of code is arounded by if(0). This code in introduced by Stefani Seibold stef...@seibold.net to suppress a compiler warning. This warning is not there with the upgrade of gcc version. This

Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues

2012-07-13 Thread richard -rw- weinberger
On Fri, Jul 13, 2012 at 10:54 PM, Myklebust, Trond trond.mykleb...@netapp.com wrote: We could at least make selection of a minimal set of drivers for the more common virtualised platforms a lot easier. Right now, you need to hunt through 30+ different menus in order to find what you need to

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000010 on 3.5-rc6

2012-07-14 Thread richard -rw- weinberger
On Sat, Jul 14, 2012 at 2:11 PM, devendra.aaru devendra.a...@gmail.com wrote: 3.5-rc6 with git head at fdb1335a82e. (from Torvald's branch) CC'in futex guys... dmesg: [43610.535421] BUG: unable to handle kernel NULL pointer dereference at 0010 Is this the first error message in

Re: [PATCH 12/15] Tools: hv: Gather DHCP information

2012-07-14 Thread richard -rw- weinberger
On Sat, Jul 14, 2012 at 10:34 PM, K. Y. Srinivasan k...@microsoft.com wrote: Collect information on dhcp setting for the specified interface. We invoke an exyernal script to get this information. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang

Re: [PATCH 12/15] Tools: hv: Gather DHCP information

2012-07-14 Thread richard -rw- weinberger
On Sun, Jul 15, 2012 at 1:02 AM, KY Srinivasan k...@microsoft.com wrote: I have a bunch of other cleanups lined up for this user level daemon. If it is ok with you, I could address this as part of that patch set. However, if there are more substantive changes needed in this patch-set, I will

Re: [PATCH] Checkpatch fixes for drivers/staging/panel/panel.c

2012-07-15 Thread richard -rw- weinberger
On Sun, Jul 15, 2012 at 2:44 PM, Cruz Julian Bishop c...@massive-dynamics.biz wrote: #if 0 - printk(KERN_DEBUG - entering panel_process_inputs with pp=%016Lx pc=%016Lx\n, + pr_debug(entering panel_process_inputs with pp=%016Lx pc=%016Lx\n, phys_prev,

Re: Current Status of Kernel Summit Core Day 1 Invitations

2012-07-18 Thread richard -rw- weinberger
James, On Wed, Jul 18, 2012 at 12:39 PM, James Bottomley james.bottom...@hansenpartnership.com wrote: The current state is that we've invited 74 people. The list is here: https://docs.google.com/spreadsheet/ccc?key=0ArpHfE64ikfsdHVrYkw0Yk0tQWJzWUJzc3k2NmU4VGc#gid=0 This file is not public.

Re: QUESTION: Why might Linux suddenly stop replying to pings for no apparent reason?

2012-07-18 Thread richard -rw- weinberger
On Wed, Jul 18, 2012 at 4:42 PM, Terry Phelps tgphelp...@gmail.com wrote: I have this strange recurring problem with SEVERAL machines, all running the Oracle Unbreakable Enterprise Kernel, which is based on the 3.0.16 kernel. Ask Oracle. -- Thanks, //richard -- To unsubscribe from this list:

Re: ANNOUNCE: linux-kernel-lzo-20120716 - update LZO

2012-07-19 Thread richard -rw- weinberger
Hi! On Mon, Jul 16, 2012 at 8:30 PM, Markus F.X.J. Oberhumer mar...@oberhumer.com wrote: I encourage all compression users to test and benchmark this new version, and I also would ask some official LZO maintainer to convert the updated source files into a GIT commit and possibly push it to

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 lf...@altera.com 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.

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 sk...@ithnet.com 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

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 toralf.foers...@gmx.de 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 madvise Does the attached patch fix

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 toralf.foers...@gmx.de 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,

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 dw...@infradead.org 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 7:26 PM, Toralf Förster toralf.foers...@gmx.de 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 --silentoldconfig arch

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 toralf.foers...@gmx.de 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 trinity-madvise UML

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 toralf.foers...@gmx.de 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 toralf.foers...@gmx.de 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: 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 toralf.foers...@gmx.de 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

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 hu...@google.com 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 toralf.foers...@gmx.de wrote: Using trinity I often trigger under a user

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 ren...@renton.name 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

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 srinivas.e...@oracle.com 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

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 richard.weinber...@gmail.com wrote: On Tue, Feb 26, 2013 at 7:31 AM, Srinivas Eeda srinivas.e...@oracle.com wrote: This is due to a race in lock mastery/purge. I have recently fixed this problem but haven't yet submitted the patch

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 srinivas.e...@oracle.com wrote: On 02/27/2013 03:52 AM, richard -rw- weinberger wrote: On Tue, Feb 26, 2013 at 8:54 AM, richard -rw- weinberger richard.weinber...@gmail.com wrote: On Tue, Feb 26, 2013 at 7:31 AM, Srinivas Eeda srinivas.e

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

2013-03-02 Thread richard -rw- weinberger
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 node3 joins the kernel on node3 crashes. (Somtimes later

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 vgo...@redhat.com 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 vgo...@redhat.com wrote: Upon exec(), we determine if executable is signed. If it is, then locks down

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 toralf.foers...@gmx.de 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

Re: What is tip-bot?

2013-02-19 Thread richard -rw- weinberger
On Tue, Feb 19, 2013 at 10:40 AM, Alexander Holler hol...@ahsoftware.de 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

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 toralf.foers...@gmx.de 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

Re: Suggestions for the Future of Linux

2012-09-07 Thread richard -rw- weinberger
On Fri, Sep 7, 2012 at 9:39 PM, Angela Bernard agelbern...@gmail.com wrote: Peoples, we're entering a new era of tech - so let's get Linux going the way people want it to. 1: Remove ethernet support. Ethernet is just bloat - devices only have it for the stubborn old geezers. Other than that,

Re: [PATCH 1/1] Arch: mips: Delete Makefile.rej

2012-09-12 Thread richard -rw- weinberger
On Thu, Sep 13, 2012 at 12:50 AM, Tracey Dent tdent48...@gmail.com wrote: Makefile.rej should not be there. That was introduced in commit 3fa68afc3d774bab1e91cbb3a3cdd1e36068ee95 . Linus' tree does not contain such a commit id. -- Thanks, //richard -- To unsubscribe from this list: send the

Re: [BUG 3.6-rc] samba works rather randomly with w2k+debian server

2012-09-15 Thread richard -rw- weinberger
On Fri, Sep 14, 2012 at 8:16 PM, auto75914...@hushmail.com wrote: 3.5.3 and older works, 3.6-rc not - shared directories sometimes work, sometimes not, /etc/init.d/samba restart did help atleast once with 3.6-rc5, What exactly does not work? Can you provide a test case? hope this helps

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 efa...@gmx.de 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

Re: Advice on mmap() feature

2012-09-16 Thread richard -rw- weinberger
On Sun, Sep 16, 2012 at 9:21 PM, Mark Jackson mpfj-l...@mimc.co.uk 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

Re: [GIT PULL] PWM subsystem for v3.6

2012-07-27 Thread richard -rw- weinberger
On Fri, Jul 27, 2012 at 7:10 AM, Thierry Reding thierry.red...@avionic-design.de wrote: Right. I don't have any signatures on my GPG key, but I'm not aware of any kernel developers in my area and unfortunately I don't get around much either. I can request key-signing via us...@kernel.org and

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-30 Thread richard -rw- weinberger
On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov xe...@parallels.com wrote: This project is an attempt to implement the checkpoint-restore functionality for processes and containers without driving too much code into the kernel tree, but putting there various oddball helper code instead. Is

Re: [PATCH] ACPI: replace strlen(string) with sizeof(string) -1

2012-07-30 Thread richard -rw- weinberger
On Mon, Jul 30, 2012 at 4:26 PM, Ian Campbell i...@hellion.org.uk wrote: I thought gcc optimised strlen(string literal) into a compile time constant too. It does in a little userspace test I just wrote, but I didn't look at its behaviour with the kernel's strlen. It depends whether you use the

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 10:53 AM, Pavel Emelyanov xe...@parallels.com wrote: On 07/30/2012 02:42 PM, richard -rw- weinberger wrote: On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov xe...@parallels.com wrote: This project is an attempt to implement the checkpoint-restore functionality

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 11:07 AM, Pavel Emelyanov xe...@parallels.com wrote: Sorry :( However, if you can help with patches on that issue that would be highly appreciated :) Yeah, but I fear it's not that easy. We'd have to change crtools to work without ptrace(). -- Thanks, //richard -- To

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 11:54 AM, Pavel Emelyanov xe...@parallels.com wrote: Yeah, but I fear it's not that easy. We'd have to change crtools to work without ptrace(). Well, this is hard. Using ptrace saved us from having many special-purpose APIs for dumping various stuff (there will be an

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 12:16 PM, Cyrill Gorcunov gorcu...@openvz.org wrote: On Tue, Jul 31, 2012 at 12:08:22PM +0200, richard -rw- weinberger wrote: On Tue, Jul 31, 2012 at 11:54 AM, Pavel Emelyanov xe...@parallels.com wrote: Yeah, but I fear it's not that easy. We'd have to change

Re: 3.6rc-3 doesn't compile um arch

2012-08-31 Thread richard -rw- weinberger
On Fri, Aug 31, 2012 at 2:14 PM, Marco Stornelli marco.storne...@gmail.com wrote: Hi, I'm trying to compile the latest kernel for arch um, using the latest Linus's tree, but it doesn't compile due to the commit: um: pass siginfo to the guest process. I think the fix is trivial. At line 117

Re: [PATCH] um: fix compilation error

2012-08-31 Thread richard -rw- weinberger
On Fri, Aug 31, 2012 at 3:11 PM, Marco Stornelli marco.storne...@gmail.com wrote: Fix a compilation error due to a regression of commit d3c1cfcdb43e023ab1b1c7a555cd9e929026500a um: pass siginfo to guest process. Signed-off-by: Marco Stornelli marco.storne...@gmail.com Thanks, patch will be

Re: How to hack syscall-table, in kernel 2.6+ ?

2012-08-14 Thread richard -rw- weinberger
On Tue, Aug 14, 2012 at 1:31 PM, Ajay Garg ajaygargn...@gmail.com wrote: So, now as a developer, if I wish to hack into the syscall-table, and change the syscall-function-pointers to my custom-function-pointers (mainly for the reason of adding/preventing access to certain files, via

Re: How to hack syscall-table, in kernel 2.6+ ?

2012-08-14 Thread richard -rw- weinberger
On Tue, Aug 14, 2012 at 6:13 PM, Ajay Garg ajaygargn...@gmail.com wrote: So, the use-case I am trying to solve, is that only a particular process should be able to read a group of files, and no one else (i.e. no-other-user/ no-other-process/no-other-anything). The only exception is the root

Re: A question on serial driver

2012-08-07 Thread richard -rw- weinberger
On Tue, Aug 7, 2012 at 10:22 AM, Shashidhar Hiremath shashidh...@vayavyalabs.com wrote: Hi, I have written a console driver where I also do the serial driver registration and handling. The driver seems to work fine till the login point(reads and writes). The driver for some reason does not

Re: A question on serial driver

2012-08-07 Thread richard -rw- weinberger
On Tue, Aug 7, 2012 at 10:49 AM, Shashidhar Hiremath shashidh...@vayavyalabs.com wrote: Hi Richard, I am new to serial framework. Can you please elaborate on what you mean by implementing a hangup ? struct tty_operations' hangup() -- Thanks, //richard -- To unsubscribe from this list:

Re: A question on serial driver

2012-08-07 Thread richard -rw- weinberger
On Tue, Aug 7, 2012 at 11:51 AM, Shashidhar Hiremath shashidh...@vayavyalabs.com wrote: the code is a bit unclean to send directly. But any information like does driver change modes once it prompts for login can be helpful for debugging since my code does not seem to work after login . Then

Re: how to vm_munmap memory range for other processes?

2012-08-08 Thread richard -rw- weinberger
On Wed, Aug 8, 2012 at 9:46 AM, Richard Zhao richard.z...@freescale.com wrote: Hi Al, I saw two commits from you in git tree: 17d1587 unexport do_munmap() bfce281 kill mm argument of vm_munmap() They remove the mm arguments, so it look like impossible to unmap memory of other processes

Re: fuse: implement i_op-atomic_open() prevents writes to ntfs-3g filesystem

2012-08-12 Thread richard -rw- weinberger
On Sun, Aug 12, 2012 at 3:59 PM, Arthur Marsh arthur.ma...@internode.on.net wrote: [repost, apologies if you see it twice] I'm running Debian unstable on AMD64 (quad core) with Linus' github.com kernels. Recently (post 3.5.0 kernels) writes to an ntfs-3g filesystem started failing, and I

Re: [PATCH v2] futex: mark get_robust_list as deprecated

2012-08-02 Thread richard -rw- weinberger
On Fri, Mar 23, 2012 at 8:08 PM, Kees Cook keesc...@chromium.org wrote: Notify get_robust_list users that the syscall is going away. Suggested-by: Thomas Gleixner t...@linutronix.de Signed-off-by: Kees Cook keesc...@chromium.org --- I'm using this system call in an application and noticed

Re: [PATCH v2] futex: mark get_robust_list as deprecated

2012-08-03 Thread richard -rw- weinberger
On Thu, Aug 2, 2012 at 1:11 PM, Eric W. Biederman ebied...@xmission.com wrote: richard -rw- weinberger richard.weinber...@gmail.com writes: On Fri, Mar 23, 2012 at 8:08 PM, Kees Cook keesc...@chromium.org wrote: Notify get_robust_list users that the syscall is going away. Suggested

Re: [PATCH v2] futex: mark get_robust_list as deprecated

2012-08-03 Thread richard -rw- weinberger
On Fri, Aug 3, 2012 at 1:02 PM, Cyrill Gorcunov gorcu...@openvz.org wrote: I'm using this system call in an application and noticed that's marked as deprecated now. My application collects all kind of information from crashing programs. It's installed in /proc/sys/kernel/core_pattern.

Re: [PATCH] Forbid invocation of kexec_load() outside initial PID namespace

2012-08-03 Thread richard -rw- weinberger
On Fri, Aug 3, 2012 at 12:53 PM, Daniel P. Berrange berra...@redhat.com wrote: From: Daniel P. Berrange berra...@redhat.com The following commit commit cf3f89214ef6a33fad60856bc5ffd7bb2fc4709b Author: Daniel Lezcano daniel.lezc...@free.fr Date: Wed Mar 28 14:42:51 2012 -0700

Re: [PATCH v2] futex: mark get_robust_list as deprecated

2012-08-03 Thread richard -rw- weinberger
On Fri, Aug 3, 2012 at 1:27 PM, Cyrill Gorcunov gorcu...@openvz.org wrote: On Fri, Aug 03, 2012 at 01:19:24PM +0200, richard -rw- weinberger wrote: CRIU folks, how do you deal with futex robust lists? Well, I believe we were over-optimistic in claiming that we don't need this syscall

Re: [PATCH v2] futex: mark get_robust_list as deprecated

2012-08-03 Thread richard -rw- weinberger
On Fri, Aug 3, 2012 at 1:35 PM, Cyrill Gorcunov gorcu...@openvz.org wrote: On Fri, Aug 03, 2012 at 01:30:31PM +0200, richard -rw- weinberger wrote: On Fri, Aug 3, 2012 at 1:27 PM, Cyrill Gorcunov gorcu...@openvz.org wrote: On Fri, Aug 03, 2012 at 01:19:24PM +0200, richard -rw- weinberger wrote

Re: [PATCH v2] futex: mark get_robust_list as deprecated

2012-08-03 Thread richard -rw- weinberger
On Fri, Aug 3, 2012 at 2:58 PM, Eric W. Biederman ebied...@xmission.com wrote: The permissions on the syscall were fixed them withR ptrace_may_access. We have identified two legitimate use cases. It looks like it is time for someone to generate the path to remove the depreciation. Who is

Re: [PATCH] Revert futex: Mark get_robust_list as deprecated

2012-08-03 Thread richard -rw- weinberger
On Fri, Aug 3, 2012 at 3:34 PM, Cyrill Gorcunov gorcu...@openvz.org wrote: On Fri, Aug 03, 2012 at 03:29:53PM +0200, Richard Weinberger wrote: get_robust_list has at least two valid use cases. 1. checkpoint/restore in userspace 2. post mortem analysis Cc: Randy Dunlap rdun...@xenotime.net

Re: TCP Delayed ACK in FIN/ACK

2012-08-04 Thread richard -rw- weinberger
On Sat, Aug 4, 2012 at 4:45 PM, Sławek Janecki jane...@gmail.com wrote: I have a node.js client (10.177.62.7) requesting some data from http rest service from server (10.177.0.1). Client is simply using nodejs http.request() method (agent=false). Client is on Ubuntu 11.10 box. Why client

Re: Why is there no nouveau driver maintainer listed in MAINTAINERS?

2012-08-04 Thread richard -rw- weinberger
On Sat, Aug 4, 2012 at 5:36 PM, Miles Lane miles.l...@gmail.com wrote: I would like to report an issue in the nouveau driver, but don't know who to report it to. We have a script for this. rw@raccoon:/media/data1/linux-2.6 (master) ./scripts/get_maintainer.pl -f ./drivers/gpu/drm/nouveau Ben

Re: [PATCH] fs: Introducing Lanyard Filesystem

2012-08-18 Thread richard -rw- weinberger
On Sun, Aug 19, 2012 at 1:38 AM, Dan Luedtke m...@danrl.de wrote: This patch introduces the Lanyard Filesystem (LanyFS), a filesystem for highly mobile and removable storage devices. What are the use cases of this filesystem? It looks very minimal without much features. -- Thanks, //richard

Re: [PATCH] fs: Introducing Lanyard Filesystem

2012-08-18 Thread richard -rw- weinberger
On Sun, Aug 19, 2012 at 12:22 AM, Dan Luedtke m...@danrl.de wrote: That's the feature, actually. Think of the Arduino platform or other embedded devices (TV, Car Entertainment) that just want to read/play files. You're right, no big features, but that's by design. So your fs is designed to run

Re: [PATCH]RIFS-V3-Test For 3.4.x kernel.

2012-07-08 Thread richard -rw- weinberger
On Sun, Jul 8, 2012 at 2:16 PM, Chen hi3766...@gmail.com wrote: But we can disable CGROUP while compiling. Without CGROUP systemd will always sleep and that won't affect you when you are using your box. Not supporting cgroups is no-go. -- Thanks, //richard -- To unsubscribe from this list:

Re: [PATCH]RIFS-V3-Test For 3.4.x kernel.

2012-07-09 Thread richard -rw- weinberger
On Mon, Jul 9, 2012 at 2:37 PM, Hillf Danton dhi...@gmail.com wrote: On Sun, Jul 8, 2012 at 8:23 PM, richard -rw- weinberger richard.weinber...@gmail.com wrote: Not supporting cgroups is no-go. Then what is the point of supporting cgroups for surfing T, F and G, watching video

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-10 Thread richard -rw- weinberger
On Tue, Jul 10, 2012 at 8:01 PM, Jan Ceuleers jan.ceule...@computer.org wrote: Perhaps it's a typo, and was meant to be AArgh64 :-) Still a much better name than aarch64. -- Thanks, //richard -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] kernel: fix mishandling of out of memory in poweroff

2012-07-11 Thread richard -rw- weinberger
On Wed, Jul 11, 2012 at 11:30 AM, Ozan Çağlayan ozan...@gmail.com wrote: It would be nice to have a Reported-by here, but we were only given Scan Subscription scan-subscript...@coverity.com. Is there some human behind these reports? If so, can that person's details please be included? Also

Re: 0xB16B00B5? Really? (was Re: Move hyperv out of the drivers/staging/ directory)

2012-07-20 Thread richard -rw- weinberger
On Fri, Jul 20, 2012 at 4:00 PM, KY Srinivasan k...@microsoft.com wrote: Thank you for your interest in fixing this problem. When we decide to change this ID, we will conform to the MSFT guidelines on constructing this guest ID. I'm wondering why it hasn't been conform to the MSFT guidelines

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 elezegar...@gmail.com 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

Re: [PATCH] ewrk3: silence GCC warning

2012-11-25 Thread richard -rw- weinberger
On Sat, Nov 24, 2012 at 1:12 PM, Paul Bolle pebo...@tiscali.nl 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]

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 nbow...@elliptictech.com wrote: On 2012-11-14 13:05 -0800, Andrew Morton wrote: On Thu, 1 Nov 2012 15:03:00 -0400 Nick Bowler nbow...@elliptictech.com wrote: There is absolutely no reason to crash the kernel when we have a perfectly good

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 dw...@infradead.org wrote: On Fri, 2012-09-28 at 09:44 -0700, Linus Torvalds wrote: On Fri, Sep 28, 2012 at 2:00 AM, Sasha Levin levinsasha...@gmail.com wrote: Is anyone planning on picking up Linus' patch? This is still not in -next even.

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 richard.weinber...@gmail.com wrote: On Fri, Sep 28, 2012 at 9:04 PM, David Woodhouse dw...@infradead.org wrote: On Fri, 2012-09-28 at 09:44 -0700, Linus Torvalds wrote: On Fri, Sep 28, 2012 at 2:00 AM, Sasha Levin levinsasha...@gmail.com

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 xose.vazq...@gmail.com wrote: to document the reason why a firmware is not present Cc: Daniel Drake d...@laptop.org Cc: Ulrich Kunitz k...@deine-taler.de Cc: David Woodhouse dw...@infradead.org Cc: Ben Hutchings b...@decadent.org.uk Cc:

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 vgo...@redhat.com 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

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 ezequiel.gar...@free-electrons.com 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.

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 torva...@linux-foundation.org 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)

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: [811297d9] mem_cgroup_page_lruvec+0x79/0x90 [35355.883056] PGD

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) mtk.manpa...@gmail.com wrote: Hi Serge, On Fri, Mar 15, 2013 at 4:38 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: Hi, you mention that after creating a new user namespace you at first have all capabilities in the new ns. You

Re: Placing ext3 journal on mtd device

2013-04-29 Thread richard -rw- weinberger
On Mon, Apr 29, 2013 at 6:08 PM, d.soumya...@iitg.ernet.in 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

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 r...@landley.net 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) mtk.manpa...@gmail.com wrote: Hi Serge, On Fri, Mar 15, 2013 at 4:38 PM, Serge Hallyn serge.hal

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 christof.warl...@siemens.com wrote: Mikael Pettersson mi...@it.uu.se 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.

  1   2   3   >