Re: kernel bugzilla is FPOS (was: Re: "buggy cmd640" message followed by soft lockup)

2007-11-26 Thread Adrian Bunk
On Mon, Nov 26, 2007 at 01:30:06AM +0100, Rafael J. Wysocki wrote: > On Monday, 26 of November 2007, Adrian Bunk wrote: >... > > That's not possible, but as already said it's not required. > > And more important, it's unrelated to any problems we have. > > > > And it sounds funny that you first

Re: [PATCH 2/3] teach set_special_pids() to use struct pid

2007-11-26 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > On 11/26, Eric W. Biederman wrote: >> >> Oleg Nesterov <[EMAIL PROTECTED]> writes: >> >> > - set_special_pids(1, 1); >> > + if (current->nsproxy != _nsproxy) { >> > + get_nsproxy(_nsproxy); >> > + switch_task_namespaces(current,

[PATCH] x86: disable hpet legacy replacement for kexec

2007-11-26 Thread OGAWA Hirofumi
Hi, This seems to introduced after 2.6.23, so if possible, I'd like to fix before 2.6.24. What do you think the following? Thanks. -- OGAWA Hirofumi <[EMAIL PROTECTED]> If HPET was enabled by pci quirks, we use i8253 as initial clockevent because pci quirks doesn't run until pci is

Re: [PATCH 1/3] fix setsid() for sub-namespace /sbin/init

2007-11-26 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > On 11/26, Eric W. Biederman wrote: >> >> Oleg Nesterov <[EMAIL PROTECTED]> writes: >> >> > sys_setsid() still deals with pid_t's from the global namespace. This means >> > that the "session > 1" check can't help for sub-namespace init, setsid() > can't

Re: [PATCH] -mm (2.4.26-rc3-mm1) v2 Smack using capabilities 32 and 33

2007-11-26 Thread Serge E. Hallyn
Quoting Casey Schaufler ([EMAIL PROTECTED]): > From: Casey Schaufler <[EMAIL PROTECTED]> > > This patch takes advantage of the increase in capability bits > to allocate capabilities for Mandatory Access Control. Whereas > Smack was overloading a previously allocated capability it is > now using a

Re: freeze vs freezer

2007-11-26 Thread Rafael J. Wysocki
On Monday, 26 of November 2007, David Chinner wrote: > On Sat, Nov 24, 2007 at 12:47:21AM +0100, Rafael J. Wysocki wrote: > > On Thursday, 22 of November 2007, Jeremy Fitzhardinge wrote: > > > It seems that a process blocked in a write to an xfs filesystem due to > > > xfs_freeze cannot be frozen

Re: uml doesn't work on 2.6.24-rc2

2007-11-26 Thread Miklos Szeredi
> On Wed, Nov 14, 2007 at 04:26:11PM +0100, Miklos Szeredi wrote: > > This one fixed the EINVAL messages, and now UML boots, but consumes > > 100% CPU constantly. > > Can you disable NO_HZ and try the patch below, which WorksForMe (TM)? Yes, it fixes the busy looping for me as well. Thanks!

Re: [RFC][PATCH] Update REPORTING-BUGS

2007-11-26 Thread Adrian Bunk
On Mon, Nov 26, 2007 at 01:51:37AM +0100, Rafael J. Wysocki wrote: > On Monday, 26 of November 2007, Adrian Bunk wrote: > > On Mon, Nov 26, 2007 at 01:04:25AM +0100, Rafael J. Wysocki wrote: >... > > > No, it doesn't, as long as the bug reports reach the right place. Now, > > > the > > >

Re: [PATCH -mm] x86 allnoconfig memory model

2007-11-26 Thread Andrew Morton
On Mon, 26 Nov 2007 13:00:03 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Mon, 26 Nov 2007, Randy Dunlap wrote: > > > This patch allows allnoconfig to build cleanly. > > Well this sortof works. > > One can again select a memory model but there is only one to choose from. > It

Re: [PATCH -mm] x86 allnoconfig memory model

2007-11-26 Thread Randy Dunlap
Christoph Lameter wrote: On Mon, 26 Nov 2007, Randy Dunlap wrote: This patch allows allnoconfig to build cleanly. Well this sortof works. One can again select a memory model but there is only one to choose from. At least the help text allows / explains that. It would be best if the

Re: freeze vs freezer

2007-11-26 Thread David Chinner
On Sat, Nov 24, 2007 at 12:47:21AM +0100, Rafael J. Wysocki wrote: > On Thursday, 22 of November 2007, Jeremy Fitzhardinge wrote: > > It seems that a process blocked in a write to an xfs filesystem due to > > xfs_freeze cannot be frozen by the freezer. > > The freezer doesn't handle tasks in

Re: XFS related Oops (suspend/resume related)

2007-11-26 Thread David Chinner
On Mon, Nov 26, 2007 at 02:12:10PM +0100, Tino Keitel wrote: > On Wed, Nov 14, 2007 at 10:04:45 +1100, David Chinner wrote: > > On Tue, Nov 13, 2007 at 11:51:19AM +0100, Tino Keitel wrote: > > > On Tue, Nov 13, 2007 at 09:27:20 +1100, David Chinner wrote: > > > > > > [...] > > > > > > > No. I'd

[PATCH 2/2] UML - Cover stubs with a VMA

2007-11-26 Thread Jeff Dike
Give the stubs a VMA. This allows the removal of a truly nasty kludge to make sure that mm->nr_ptes was correct in exit_mmap. The underlying problem was always that the stubs, which have ptes, and thus allocated a page table, weren't covered by a VMA. This patch fixes that by using

[PATCH 0/2] UML - Two rediffs

2007-11-26 Thread Jeff Dike
These two should wait for 2.6.25. They are rediffs against rc3-mm1 after they conflicted with other stuff last week. In particular, the first one, which cleans up UML's use of TASK_SIZE, is vulnerable to the a.out work. Jeff -- Work email - jdike at linux dot

[PATCH 1/2] UML - Clean up TASK_SIZE usage

2007-11-26 Thread Jeff Dike
Clean up the calculation and use of the usable address space size on the host. task_size is gone, replaced with TASK_SIZE, which is calculated from CONFIG_TOP_ADDR. get_kmem_end and set_task_sizes_skas are also gone. host_task_size, which refers to the entire address space usable by the UML

Re: [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3, v2.6.23.9, v2.6.22.13, v2.6.21.7

2007-11-26 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > By popular demand, here is release -v24 of the CFS scheduler patch. > > It is a full backport of the latest & greatest scheduler code to > v2.6.24-rc3, v2.6.23.8, v2.6.22.13, v2.6.21.7. The patches can be > downloaded from the usual place: > >

Re: freeze vs freezer

2007-11-26 Thread Rafael J. Wysocki
On Monday, 26 of November 2007, Jeremy Fitzhardinge wrote: > Rafael J. Wysocki wrote: > > On Thursday, 22 of November 2007, Jeremy Fitzhardinge wrote: > > > >> It seems that a process blocked in a write to an xfs filesystem due to > >> xfs_freeze cannot be frozen by the freezer. > >> > > >

Re: [PATCH -mm] x86 allnoconfig memory model

2007-11-26 Thread Christoph Lameter
On Mon, 26 Nov 2007, Randy Dunlap wrote: > This patch allows allnoconfig to build cleanly. Well this sortof works. One can again select a memory model but there is only one to choose from. It would be best if the memory model selection would not occur. - To unsubscribe from this list: send the

Re: 2.6.24-rc3-mm1

2007-11-26 Thread Christoph Lameter
On Mon, 26 Nov 2007, Randy Dunlap wrote: > ARCH_SELECT_MEMORY_MODEL depends on X86_32. Is that too restrictive? No. X86_64 only has one memory model. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: 2.6.24-rc3-mm1 - Kernel Panic on IO-APIC

2007-11-26 Thread Christoph Lameter
On Mon, 26 Nov 2007, Andrew Morton wrote: > hm. This smells like a startup ordering problem, but everything which > refresh_zone_stat_thresholds() should be set up by the time we run > initcalls. Maybe the zone lists are bad? refresh_zone_stat_thresholds goes through each zone and updates the

Re: 2.6.24-rc3-mm1 - Kernel Panic on IO-APIC

2007-11-26 Thread Rik van Riel
On Mon, 26 Nov 2007 12:33:19 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > Unable to handle kernel NULL pointer dereference at 0021 RIP: > > [] refresh_zone_stat_thresholds+0x6d/0x90 > > PGD 0 > > Oops: 0002 [1] SMP > > last sysfs file: > > CPU 0 > > Modules linked in: > > Pid:

Re: [PATCH] x86_64: not set boot cpu in cpu_online_map at smp_prepare_boot_cpu

2007-11-26 Thread Zachary Amsden
On Mon, 2007-11-26 at 00:38 -0800, Yinghai Lu wrote: > [PATCH] x86_64: not set boot cpu in cpu_online_map at smp_prepare_boot_cpu > > in init/main.c boot_cpu_init() does that before > > Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> > > diff --git a/arch/x86/kernel/smpboot_64.c

Re: uml doesn't work on 2.6.24-rc2

2007-11-26 Thread Jeff Dike
On Wed, Nov 14, 2007 at 04:26:11PM +0100, Miklos Szeredi wrote: > This one fixed the EINVAL messages, and now UML boots, but consumes > 100% CPU constantly. Can you disable NO_HZ and try the patch below, which WorksForMe (TM)? Jeff -- Work email - jdike at linux

Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)

2007-11-26 Thread serge
(finally starting to make headway through this thread over a month late) Quoting Alan Cox ([EMAIL PROTECTED]): > > To reject an LSM for providing "bad" security, IMHO you should have to > > show how it is possible to subvert the self-stated goals of that LSM. > > Complaints that the LSM fails to

[PATCH -mm] x86 allnoconfig memory model

2007-11-26 Thread Randy Dunlap
This patch allows allnoconfig to build cleanly. --- From: Randy Dunlap <[EMAIL PROTECTED]> Make allnoconfig on x86_64 build by allowing ARCH_SELECT_MEMORY_MODEL to be enabled on X86 32/64, not just X86_32. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- arch/x86/Kconfig |2 +- 1 file

Re: 2.6.24-rc3-mm1 - Kernel Panic on IO-APIC

2007-11-26 Thread Ingo Molnar
* Andrew Morton <[EMAIL PROTECTED]> wrote: > On Mon, 26 Nov 2007 14:39:43 -0500 > Rik van Riel <[EMAIL PROTECTED]> wrote: > > > On Tue, 20 Nov 2007 22:18:39 -0800 > > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > > ..MP-BIOS bug: 8254 timer not connected to IO-APIC > > > > Kernel panic -

[RFC][PATCH] Update REPORTING-BUGS (rev. 2)

2007-11-26 Thread Rafael J. Wysocki
Hi, On Sunday, 25 of November 2007, Rafael J. Wysocki wrote: > Hi, > > The recent "kernel bugzilla is FPOS" thread made me think that it might be a > good idea to update REPORTING-BUGS, so that it's more "friendly" to people who > want to report a kernel bug for the first time. > > The patch

Re: 2.6.24-rc3-mm1

2007-11-26 Thread Randy Dunlap
On Mon, 26 Nov 2007 11:34:15 -0800 (PST) Christoph Lameter wrote: > On Mon, 26 Nov 2007, Randy Dunlap wrote: > > > On Tue, 20 Nov 2007 20:45:25 -0800 Andrew Morton wrote: > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc3/2.6.24-rc3-mm1/ > > > >

[PATCH] -mm (2.4.26-rc3-mm1) v2 Smack using capabilities 32 and 33

2007-11-26 Thread Casey Schaufler
From: Casey Schaufler <[EMAIL PROTECTED]> This patch takes advantage of the increase in capability bits to allocate capabilities for Mandatory Access Control. Whereas Smack was overloading a previously allocated capability it is now using a pair, one for overriding access control checks and the

Re: revoke man page

2007-11-26 Thread Michael Kerrisk
[+linux-kernel] On Nov 26, 2007 9:13 PM, Michael Kerrisk <[EMAIL PROTECTED]> wrote: > Maybe I missed it. Did someone write a man-pages for revoke(), which > I assume is heading towards mainline before long? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[git pull] scheduler fixes

2007-11-26 Thread Ingo Molnar
Linus, please pull the latest scheduler git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched.git 6 commits: two fixes, a tuning tweak and 3 small cleanups. Thanks! Ingo --> Ingo Molnar (4): sched: fix prev_stime calculation

Re: 2.6.24-rc3-mm1 - Kernel Panic on IO-APIC

2007-11-26 Thread Andrew Morton
On Mon, 26 Nov 2007 14:39:43 -0500 Rik van Riel <[EMAIL PROTECTED]> wrote: > On Tue, 20 Nov 2007 22:18:39 -0800 > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > ..MP-BIOS bug: 8254 timer not connected to IO-APIC > > > Kernel panic - not syncing: IO-APIC + timer doesn't work! Try using the > >

[PATCH -mm] kernel/module.c: make_driver_name() can use kasrpintf()

2007-11-26 Thread Mariusz Kozlowski
Hello, make_driver_name() wants kasprintf(). Compile tested, also boots fine. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> kernel/module.c | 68034 -> 67872 (-162 bytes) kernel/module.o | 128520 -> 128328 (-192 bytes) kernel/module.c | 10 +- 1 file changed, 1

Re: [Patch 4/4] sched: Improve fairness of cpu bandwidth allocation for task groups

2007-11-26 Thread Ingo Molnar
* Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: > +static inline void lock_doms_cur(void) > +{ > + mutex_lock(_cur_mutex); > +} > + > +static inline void unlock_doms_cur(void) > +{ > + mutex_unlock(_cur_mutex); > +} > + > #else > > static inline void set_task_cfs_rq(struct

Re: [Patch 4/4] sched: Improve fairness of cpu bandwidth allocation for task groups

2007-11-26 Thread Ingo Molnar
* Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: > + /* we don't want this thread's execution to be limited by the shares > + * assigned to default group (init_task_group). Hence make it run > + * as a RT task. > + */ > + schedparm.sched_priority = 0; /* run at the lowest

Re: [2.6 patch] ipv4/arp.c:arp_process(): remove bogus #ifdef mess

2007-11-26 Thread Adrian Bunk
On Mon, Nov 26, 2007 at 11:19:26PM +0800, Herbert Xu wrote: > On Sun, Nov 25, 2007 at 04:30:03PM +, Adrian Bunk wrote: > > > > > > > > Please look at net/ipv4/arp.c:arp_process() > > > > > > > > Am I right that CONFIG_NET_ETHERNET=n and CONFIG_NETDEV_1000=y or > > > > CONFIG_NETDEV_1=y

Re: [PATCH 2/3] teach set_special_pids() to use struct pid

2007-11-26 Thread Oleg Nesterov
On 11/26, Eric W. Biederman wrote: > > Oleg Nesterov <[EMAIL PROTECTED]> writes: > > > - set_special_pids(1, 1); > > + if (current->nsproxy != _nsproxy) { > > + get_nsproxy(_nsproxy); > > + switch_task_namespaces(current, _nsproxy); > > + } > > Is there a reason for

Re: unionfs: several more problems

2007-11-26 Thread Hugh Dickins
On Mon, 26 Nov 2007, Erez Zadok wrote: > > I just posted a series of patches to unionfs (already in unionfs.git on > korg), which fix every problem LTP found, as well as other problems > mentioned in your email. With this series of patches, the same set of tests > which pass on ext3 also pass

Re: [PATCH 1/3] fix setsid() for sub-namespace /sbin/init

2007-11-26 Thread Oleg Nesterov
On 11/26, Eric W. Biederman wrote: > > Oleg Nesterov <[EMAIL PROTECTED]> writes: > > > sys_setsid() still deals with pid_t's from the global namespace. This means > > that the "session > 1" check can't help for sub-namespace init, setsid() > > can't > > succeed because copy_process(CLONE_NEWPID)

[PATCH] capabilities: introduce per-process capability bounding set (v10)

2007-11-26 Thread Serge E. Hallyn
>From 22da6ccb1a24d1b6fa481d990a26197c6bfdfa77 Mon Sep 17 00:00:00 2001 From: Serge E. Hallyn <[EMAIL PROTECTED]> Date: Mon, 19 Nov 2007 13:54:05 -0500 Subject: [PATCH 1/1] capabilities: introduce per-process capability bounding set (v10) The capability bounding set is a set beyond which

Re: [PATCHv4 5/6] Allow setting O_NONBLOCK flag for new sockets

2007-11-26 Thread Davide Libenzi
On Mon, 26 Nov 2007, H. Peter Anvin wrote: > Ingo Molnar wrote: > > > > So it's not like sys_indirect() would break some magic pristine state of a > > flat parameter space - on the contrary, most of the nontrivial syscalls take > > pointers to structures or pointers to streams of information.

Re: + smack-version-11c-simplified-mandatory-access-control-kernel.patch added to -mm tree

2007-11-26 Thread Joshua Brindle
Kyle Moffett wrote: On Nov 24, 2007, at 22:36:43, Crispin Cowan wrote: Kyle Moffett wrote: Actually, a fully-secured strict-mode SELinux system will have no unconfined_t processes; none of my test systems have any. Generally "unconfined_t" is used for situations similar to what AppArmor was

Re: High priority tasks break SMP balancer?

2007-11-26 Thread Micah Dowty
Dmitry, Thank you for the detailed explanation of the scheduler behaviour I've been seeing. On Thu, Nov 22, 2007 at 01:53:02PM +0100, Dmitry Adamushko wrote: > > - Is there a good way to detect, without any kernel debug flags > >set, whether the current machine has any scheduling domains >

Re: 2.6.24-rc3-mm1 - Kernel Panic on IO-APIC

2007-11-26 Thread Rik van Riel
On Tue, 20 Nov 2007 22:18:39 -0800 Andrew Morton <[EMAIL PROTECTED]> wrote: > > ..MP-BIOS bug: 8254 timer not connected to IO-APIC > > Kernel panic - not syncing: IO-APIC + timer doesn't work! Try using the > > 'noapic' kernel parameter > > ACPI or x86 breakage, I guess. > > Did 'noapic' work?

Re: 2.6.24-rc3-mm1

2007-11-26 Thread Christoph Lameter
On Mon, 26 Nov 2007, Randy Dunlap wrote: > On Tue, 20 Nov 2007 20:45:25 -0800 Andrew Morton wrote: > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc3/2.6.24-rc3-mm1/ > > allnoconfig on x86_64 gives: > > arch/x86/mm/init_64.c:84: error: implicit declaration of

[git pull] x86 arch fixes for v2.6.24

2007-11-26 Thread Ingo Molnar
Linus, please pull the latest x86 fixes for v2.6.24 tree from: git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git small fixlets: regression fixes, build and boot fixes, an NTP API fix (acked by Ulrich), kernel version added to WARN_ON() for QA and an ACPI fix. NOTE: this

Re: 2.6.24-rc3-mm1

2007-11-26 Thread Jiri Slaby
On 11/26/2007 07:48 PM, Rik van Riel wrote: ERROR: "empty_zero_page" [drivers/kvm/kvm.ko] undefined! [...] > FYI, x86_64 has the exact same issue. yes: hot-fixes/git-x86-dont-unexport-empty_zero_page.patch regards, -- Jiri Slaby ([EMAIL PROTECTED]) Faculty of Informatics, Masaryk

Re: [PATCH? 3/3] move daemonized kernel threads into the swapper's session

2007-11-26 Thread Eric W. Biederman
[EMAIL PROTECTED] (Eric W. Biederman) writes: > Hmm. I wonder if we could ensure kernel_thread always > returns a global pid_t, and then reallocate the struct > pid for the task we have just daemonized so that it only > has a single pid in the init_pid_ns. Well we can't reallocate the struct

Re: [PATCHv4 5/6] Allow setting O_NONBLOCK flag for new sockets

2007-11-26 Thread H. Peter Anvin
Linus Torvalds wrote: On Tue, 20 Nov 2007, H. Peter Anvin wrote: If the whole thing about "a dozen new [system calls]" then a dozen system calls added to the existing tables are better than this mess. No it's not. The point about the indirect calls is that we can do it for other things

Re: [kvm-devel] [PATCH 3/3] virtio PCI device

2007-11-26 Thread Anthony Liguori
Avi Kivity wrote: rx and tx are closely related. You rarely have one without the other. In fact, a turned implementation should have zero kicks or interrupts for bulk transfers. The rx interrupt on the host will process new tx descriptors and fill the guest's rx queue; the guest's transmit

Re: [PATCH 1/3] fix setsid() for sub-namespace /sbin/init

2007-11-26 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > sys_setsid() still deals with pid_t's from the global namespace. This means > that the "session > 1" check can't help for sub-namespace init, setsid() can't > succeed because copy_process(CLONE_NEWPID) populates PIDTYPE_PGID/SID links. We can do even

Re: 2.6.24-rc3-mm1

2007-11-26 Thread Randy Dunlap
On Tue, 20 Nov 2007 20:45:25 -0800 Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc3/2.6.24-rc3-mm1/ allnoconfig on x86_64 gives: arch/x86/mm/init_64.c:84: error: implicit declaration of function 'pfn_valid' mm/page_alloc.c:2533: error: implicit

Re: [PATCHv4 5/6] Allow setting O_NONBLOCK flag for new sockets

2007-11-26 Thread H. Peter Anvin
Ingo Molnar wrote: So it's not like sys_indirect() would break some magic pristine state of a flat parameter space - on the contrary, most of the nontrivial syscalls take pointers to structures or pointers to streams of information. The parameter count histogram i believe further underlines

[linux-usb-devel] [FEATURE REQUEST] Transparent hot plugging of root file system on portable storage devices.

2007-11-26 Thread Raymano Garibaldi
Hi, I would like to request a feature in the Linux kernel that would allow a user to unplug a live read-only root file system which exists on a detachable storage device such as a USB key drive. The desired behavior is that once the same device is reattached to the computer the user can continue

Re: 2.6.24-rc3-$SHA1: kernel BUG at fs/jbd/checkpoint.c:683!

2007-11-26 Thread Jan Kara
> In a desperate attempt to screw up /proc one more time, I added some > proc fixes, wrote test module which creates and removes simple proc > file, then ran a) modprobe/rmmod loop, b) cat /proc/foo/bar loop, > c) LTP loop. So far so good -- survived overnight run. > > While rebooting into new

Fondazion Di Vittorio, ITALY

2007-11-26 Thread Fondazion Di Vittorio.
<<< No Message Collected >>> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH? 3/3] move daemonized kernel threads into the swapper's session

2007-11-26 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > Any reason why daemonized kthread still uses 1,1 special pids? This patch > sets 0,0 pids, this matches kthread_create'ed threads. You got it in your reply... > Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> Acked-by: "Eric W. Biederman" <[EMAIL

Re: enable dual rng on VIA C7

2007-11-26 Thread Dave Jones
On Mon, Nov 26, 2007 at 06:02:39PM +0100, Udo van den Heuvel wrote: > I did not know we are already that far ;-) > I mean: can this patch be aplied without hurting C3/C7 CPU's with just > one RNG? Maybe an expert needs to test/answer? > Maybe some logic needs to be applied around the extra

Re: [2.6 patch] remove CONFIG_EXPERIMENTAL

2007-11-26 Thread Adrian Bunk
On Mon, Nov 26, 2007 at 12:27:07PM +, Pavel Machek wrote: > On Sun 2007-11-25 17:16:31, Adrian Bunk wrote: > > This patch removes the EXPERIMENTAL option and all dependencies on > > EXPERIMENTAL because they are pointless. > > > > Complete rationale: > > - Many people and all distributions

Re: [PATCH 2/3] teach set_special_pids() to use struct pid

2007-11-26 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > Change set_special_pids() to work with struct pid, not pid_t from global name > space. This again speedups and imho cleanups the code. > > Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> Overall I like it, and the version I keep meaning to send missed

Re: 2.6.24-rc3-mm1

2007-11-26 Thread Rik van Riel
On Wed, 21 Nov 2007 14:03:34 +0800 "Dave Young" <[EMAIL PROTECTED]> wrote: > On Nov 21, 2007 2:00 PM, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Wed, 21 Nov 2007 13:51:47 +0800 "Dave Young" <[EMAIL PROTECTED]> wrote: > > > > > Hi, andrew > > > > > > modpost failed for me: > > > MODPOST 360

Re: [PATCHv4 5/6] Allow setting O_NONBLOCK flag for new sockets

2007-11-26 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > Quite frankly, I can't really see many other approaches. And of the > above three ones, the sys_indirect() approach really does seem to be > the simplest *and* the best-performing. It's basically faster to just > unconditionally load six registers

Re: freeze vs freezer

2007-11-26 Thread Jeremy Fitzhardinge
Rafael J. Wysocki wrote: > On Thursday, 22 of November 2007, Jeremy Fitzhardinge wrote: > >> It seems that a process blocked in a write to an xfs filesystem due to >> xfs_freeze cannot be frozen by the freezer. >> > > The freezer doesn't handle tasks in TASK_UNINTERRUPTIBLE and I don't

Re: [linux-usb-devel] [BUG] USB_PERSIST

2007-11-26 Thread Raymano Garibaldi
Thanks for responding Alan. On 11/26/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Sun, 25 Nov 2007, Raymano Garibaldi wrote: > > > The device which has the root fs is a READ-ONLY device. There is no > > way for it to change between getting detached and reattached to the > > computer which is

Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro.

2007-11-26 Thread Stephen Hemminger
On Mon, 26 Nov 2007 12:28:14 +1100 Rusty Russell <[EMAIL PROTECTED]> wrote: > On Monday 26 November 2007 07:27:03 Roland Dreier wrote: > > > This patch allows to export symbols only for specific modules by > > > introducing symbol name spaces. A module name space has a white > > > list of

Re: [PATCHv4 5/6] Allow setting O_NONBLOCK flag for new sockets

2007-11-26 Thread Linus Torvalds
On Tue, 20 Nov 2007, H. Peter Anvin wrote: > > If the whole thing about "a dozen new [system calls]" then a dozen system > calls added to the existing tables are better than this mess. No it's not. The point about the indirect calls is that we can do it for other things than just a dozen

Re: [PATCH? 3/3] move daemonized kernel threads into the swapper's session

2007-11-26 Thread Oleg Nesterov
On 11/26, Oleg Nesterov wrote: > > Any reason why daemonized kthread still uses 1,1 special pids? Actually, I guess the reason is that this was not possible before. Now that set_special_pids uses "struct pid" we can do this. Perhaps it is better to move the callsite to reparent_to_kthreadd() and

Re: [PATCH] ehea: Add kdump support

2007-11-26 Thread Linas Vepstas
Hi, On Mon, Nov 26, 2007 at 01:41:37PM -0200, Luke Browning wrote: > On Mon, 2007-11-26 at 19:16 +1100, Michael Ellerman wrote: > > > For kdump we have to assume that the kernel is fundamentally broken, If I may so humbly suggest: since ehea is a power6 thing only, we should refocus our

__rcu_process_callbacks() in Linux 2.6

2007-11-26 Thread Manfred Spraul
Hi James, If I understand the issue correctly, then the race is: step 1: cpu 1: starts a new rcu batch (i.e. rcp->cur++, smb_mb) step 2: cpu 2: completes the quiet state step 3: cpu 2: reads pointer 0x123 (ptr to a rcu protected struct) step 4: cpu 3: call_rcu(0x123): rcu protected struct

Re: uml doesn't work on 2.6.24-rc2

2007-11-26 Thread Jeff Dike
On Wed, Nov 14, 2007 at 10:29:57PM +0100, Miklos Szeredi wrote: > nanosleep({0, 0}, {0, 0}) = 0 > gettimeofday({1195075504, 182333}, NULL) = 0 > setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, > {it_interval={0, 0}, it_value={0, 0}}) = 0 > nanosleep({0, 0}, {0, 0})

Re: [PATCH] [RESEND] crypto test: use print_hex_dump from instead

2007-11-26 Thread Joe Perches
On Tue, 2007-11-27 at 01:28 +0800, Denis Cheng wrote: > -static void hexdump(unsigned char *buf, unsigned int len) > -{ > - while (len--) > - printk("%02x", *buf++); > - > - printk("\n"); > -} #define hexdump(buf, len) \ print_hex_dump(KERN_CONT, "", DUMP_PREFIX_NONE,

Linux 2.6.23.9

2007-11-26 Thread Greg Kroah-Hartman
We (the -stable team) are announcing the release of the 2.6.23.9 kernel. It a number of bugfixes and anyone using the 2.6.23 kernel series is recommended to upgrade. I'll also be replying to this message with a copy of the patch between 2.6.23.8 and 2.6.23.9 The updated 2.6.23.y git tree can be

Re: Linux 2.6.23.9

2007-11-26 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 435a3d7..2b2a73b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 23 -EXTRAVERSION = .8 +EXTRAVERSION = .9 NAME = Arr Matey! A Hairy Bilge Rat! # *DOCUMENTATION* diff --git a/arch/i386/lib/delay.c

Re: [BUG] jiffies counter leaps in 2.6.24-rc3

2007-11-26 Thread Stefano Brivio
On Sat, 24 Nov 2007 20:31:25 +0100 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > On Saturday, 24 of November 2007, Stefano Brivio wrote: > > On Sat, 24 Nov 2007 19:48:58 +0100 > > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > > > > > NO_HZ? Highres timers? > > > > CONFIG_HZ_1000=y > > #

[PATCH] file capabilities: don't prevent signaling setuid root programs.

2007-11-26 Thread Serge E. Hallyn
This patch is needed to preserve legacy behavior when CONFIG_SECURITY_FILE_CAPABILITIES=y. Without this patch, xinit can't kill X, so manually starting X in runlevel 3 then exiting your window manager will not cause X to exit. thanks, -serge >From 81a6d780ad570f9a326fc27912ec0e373f5fa14f Mon

Re: [PATCH 1/1] mm: add dirty_highmem option

2007-11-26 Thread Linus Torvalds
On Thu, 22 Nov 2007, Bron Gondwana wrote: > > This patch includes some code cleanup from Linus and a toggle in > /proc/sys/vm/dirty_highmem which can be set to 1 to add the highmem > back to the total available memory count. Just to verify - can you confirm that this "just fixes it" for you?

Re: [uml-devel] uml doesn't work on 2.6.24-rc2

2007-11-26 Thread Jeff Dike
On Wed, Nov 14, 2007 at 10:29:57PM +0100, Miklos Szeredi wrote: > nanosleep({0, 0}, {0, 0}) = 0 > gettimeofday({1195075504, 182333}, NULL) = 0 > setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, > {it_interval={0, 0}, it_value={0, 0}}) = 0 > nanosleep({0, 0}, {0, 0})

Re: Small System Paging Problem - OOM-killer goes nuts

2007-11-26 Thread Josh Goldsmith
David: The exact command this time was a "tar jxf linux-2.6.23.tar.bz2" as part of an emerge (gentoo). Gnu tar version 1.18 but has happened with prior versions too. I replicated it after my post by manually untarring it on the command line and can almost always replicate the problem with

Re: mmc select voltage functionality

2007-11-26 Thread Pierre Ossman
On Thu, 22 Nov 2007 05:34:11 -0800 (PST) Madhusudhan C <[EMAIL PROTECTED]> wrote: > Hi Pierre, > > I have a question on the mmc_select_voltage fn of the mmc core file > drivers/mmc/core/core.c. > > During the power up sequence the mmc_power_up fn sets the OCR bit to setup > 3V. Subsequentely

[PATCH] hexdump: don't print bytes with bit 7 set

2007-11-26 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> As Herbert Xu pointed out, bytes (chars) with bit 7 (0x80) set are true with isprint() but they may not be isascii() but be Unicode instead, so don't try to print them in hex dumps. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- lib/hexdump.c |3

Re: + smack-version-11c-simplified-mandatory-access-control-kernel.patch added to -mm tree

2007-11-26 Thread Kyle Moffett
On Nov 24, 2007, at 22:36:43, Crispin Cowan wrote: Kyle Moffett wrote: Actually, a fully-secured strict-mode SELinux system will have no unconfined_t processes; none of my test systems have any. Generally "unconfined_t" is used for situations similar to what AppArmor was designed for,

Re: [PATCH 2/2] iwlwifi: add power management support -v2

2007-11-26 Thread Tomas Winkler
> > At some point everyone needs to standardize on power levels so that > userland has a hope of mapping the right state to the right power level > in the driver. Otherwise, we get into a situation where broadcom power > levels don't map the same way iwl powerlevels do, and then we can't ever >

[PATCH] [RESEND] crypto test: use print_hex_dump from instead

2007-11-26 Thread Denis Cheng
this patch is against cryptodev-2.6, and have passed scripts/checkpatch.pl KERN_DEBUG is stripped out, this acts more like the original in tcrypto.c and the last parameter "bool ascii" set to zero to disable ascii output, this could keep it happy on Unicode terminals. Cc: Randy Dunlap <[EMAIL

[PATCH] fix up ext2_fs.h for userspace after reservations backport

2007-11-26 Thread Eric Sandeen
From: Tobias Poschwatta <[EMAIL PROTECTED]> In commit a686cd898bd999fd026a51e90fb0a3410d258ddb: "Val's cross-port of the ext3 reservations code into ext2." include/linux/ext2_fs.h got a new function whose return value is only defined if __KERNEL__ is defined. Putting #ifdef __KERNEL__ around

Re: [PATCH 2/2] iwlwifi: add power management support -v2

2007-11-26 Thread Dan Williams
On Mon, 2007-11-26 at 19:11 +0200, Tomas Winkler wrote: > On Nov 26, 2007 6:18 PM, Miguel Botón <[EMAIL PROTECTED]> wrote: > > > > On Saturday 17 November 2007 07:15:05 Tomas Winkler wrote: > > > Why power management shouldn't be enabled while in AC? The semantic of > > > this > > > ioctls is

Re: [PATCH] [MIPS]: Compliment va_start() with va_end().

2007-11-26 Thread Ralf Baechle
On Sat, Nov 24, 2007 at 10:22:19PM +0100, Richard Knutsson wrote: > Compliment va_start() with va_end(). Thanks, applied. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [RFC] Documentation about unaligned memory access

2007-11-26 Thread Ben Dooks
On Fri, Nov 23, 2007 at 01:43:29PM +0200, Heikki Orsila wrote: > On Fri, Nov 23, 2007 at 12:15:53AM +, Daniel Drake wrote: > > Why unaligned access is bad > > === > > > > Most architectures are unable to perform unaligned memory accesses. Any > > unaligned access

Re: Clarification re: outstanding IPC flaws

2007-11-26 Thread Tom Burns
Sorry for the double post. On Nov 26, 2007 12:01 PM, Tom Burns <[EMAIL PROTECTED]> wrote: > I have some questions about this comment. > > Most importantly - does this mean that if I have multiple processes > queued inside semop() calls with sem_val = -1 (also, if it matters, > SEM_UNDO flag is

Re: [PATCH 2/2] iwlwifi: add power management support -v2

2007-11-26 Thread Tomas Winkler
On Nov 26, 2007 6:18 PM, Miguel Botón <[EMAIL PROTECTED]> wrote: > > On Saturday 17 November 2007 07:15:05 Tomas Winkler wrote: > > Why power management shouldn't be enabled while in AC? The semantic of this > > ioctls is quite unclear. > I > IWL_POWER_AC and IWL_POWER_BATTERY are just two power

Re: enable dual rng on VIA C7

2007-11-26 Thread Udo van den Heuvel
Andrew Morton wrote: > On Sun, 11 Nov 2007 19:49:08 +0100 Udo van den Heuvel <[EMAIL PROTECTED]> > wrote: > >> Any reason why the second rng on the VIA C7 CPU is not enabled? (...) > Does the patch work? Yes, at least: dd if=/dev/hwrng of=/dev/null bs=1024 count=1024 shows a higher speed than

Clarification re: outstanding IPC flaws

2007-11-26 Thread Tom Burns
Hi List, Reading current kernel git ipc/sem.c I see the following comment: -- * - The previous code had two flaws: ... * 2) It did not wake up all zero waiting processes. We try to do * better but only get the semops right which only wait for zero or * increase. If there are

Re: [2.6.22.y][PATCH] atl1: disable broken 64-bit DMA

2007-11-26 Thread Chris Snook
Jay Cliburn wrote: atl1: disable broken 64-bit DMA [ Upstream commit: 5f08e46b621a769e52a9545a23ab1d5fb2aec1d4 ] The L1 network chip can DMA to 64-bit addresses, but multiple descriptor rings share a single register for the high 32 bits of their address, so only a single, aligned, 4 GB

Reminder: Linux Storage and Filesystem Workshop

2007-11-26 Thread Chris Mason
Hello everyone, The deadline for position statements to the Linux Storage and Filesystem Workshop is quickly approaching. The position statements are an easy way for you to tell the organizers that you would like to attend, and which topics you are most interesting in. You can find all the

Re: Small System Paging Problem - OOM-killer goes nuts

2007-11-26 Thread Pavel Machek
On Sun 2007-11-25 22:28:03, Josh Goldsmith wrote: > Thanks for the response Mikael. > > Is your 486 running a IDE disk on a normal interface or > via USB? I wonder if the NSLU2 only having I/O via USB > might be significant. Also, this is a 2.6 kernel and I'd suspect USB is significant

Re: [PATCH 2/2] ide-scsi: use print_hex_dump from

2007-11-26 Thread Randy Dunlap
Matthew Wilcox wrote: On Mon, Nov 26, 2007 at 04:37:50PM +0800, rae l wrote: I know this is different from the original hexdump in ide-scsi.c, I just want to tell someone that there's a good implementation of hexdump in kernel.h, and I think the default KERN_DEBUG and print_hex_dump is more

[PATCH] [REISERFS]: Complement va_start() with va_end().

2007-11-26 Thread Richard Knutsson
Complement va_start() with va_end(). Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> --- Compile-tested on i386 with allyesconfig and allmodconfig. BTW, the nested if()'s (lines above) may look better if unnested. diff --git a/fs/reiserfs/prints.c b/fs/reiserfs/prints.c index

Re: Question regarding naming scheme (HP Jornada 6XX/7XX)

2007-11-26 Thread Kristoffer Ericson
On Mon, 26 Nov 2007 09:40:14 -0500 "Dmitry Torokhov" <[EMAIL PROTECTED]> wrote: > On Nov 25, 2007 11:30 PM, Paul Mundt <[EMAIL PROTECTED]> wrote: > > On Mon, Nov 26, 2007 at 12:03:29AM +0100, Kristoffer Ericson wrote: > > > > > Why I want to use 600-series/700-series instead of 6XX/7XX is simply

Re: Bogus PCI vendor ID

2007-11-26 Thread Kyle McMartin
On Sun, Nov 25, 2007 at 01:36:19PM +0100, Kai Ruhnau wrote: > If this is the same like the kernel option 'pci=conf1', that fixes the > vendor IDs. > Same effect. Ubuntu and many other distros are shipping kernels with MMCONFIG off by default for reasons like this. Check to see if you have an

Re: unionfs: several more problems

2007-11-26 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, Hugh Dickins writes: [...] > Please try running LTP (e.g. ltp-full-20071031.tgz) after something like [...] Hugh, I just posted a series of patches to unionfs (already in unionfs.git on korg), which fix every problem LTP found, as well as other problems mentioned

[PATCH 14/16] Unionfs: prevent multiple writers to lower_page

2007-11-26 Thread Erez Zadok
Without this patch, the LTP fs test "rwtest04" triggers a BUG_ON(PageWriteback(page)) in fs/buffer.c:1706. CC: Hugh Dickins <[EMAIL PROTECTED]> Signed-off-by: Erez Zadok <[EMAIL PROTECTED]> --- fs/unionfs/mmap.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

<    1   2   3   4   5   6   7   8   9   >