RE: RSDL v0.31

2007-03-29 Thread David Schwartz
Bill Davidsen wrote: > I agree for giving a process more than a fair share, but I don't think > "latency" is the best term for what you describe later. If you think of > latency as the time between a process unblocking and the time when it > gets CPU, that is a more traditional interpretation.

Re: [rfc][patch] queued spinlocks (i386)

2007-03-29 Thread Nick Piggin
On Thu, Mar 29, 2007 at 03:36:52AM +0200, Nick Piggin wrote: > In most cases, no. For the uncontended case they should be about the > same. They have the same spinning behaviour. However there is a little > window where they might be a bit slower I think... actually perhaps I'm > wrong! > >

Re: [PATCH] x86: tighten kernel image page access rights

2007-03-29 Thread Jan Beulich
>>> Andi Kleen <[EMAIL PROTECTED]> 28.03.07 21:07 >>> > >> +#ifdef CONFIG_HOTPLUG_CPU >> +/* It must still be possible to apply SMP alternatives. */ >> +if (num_possible_cpus() <= 1) > >It would be better to temporarily change the pages where the alternatives >are applied while that is

Re: Linux-VServer example results for sharing vs. separate mappings ...

2007-03-29 Thread Bodo Eggert
Ethan Solomita <[EMAIL PROTECTED]> wrote: > I suggest a variant on what Andrew says: don't change reclaim. > Instead, when referencing a page, don't mark the page as referenced if > the current task is not permitted to allocate from the page's node. I'm > thinking in terms of cpusets, with

Re: RSDL v0.31

2007-03-29 Thread Nick Piggin
David Schwartz wrote: Bill Davidsen wrote: I agree for giving a process more than a fair share, but I don't think "latency" is the best term for what you describe later. If you think of latency as the time between a process unblocking and the time when it gets CPU, that is a more traditional

a question about kernel copy userspace data

2007-03-29 Thread
hello , i am programming a trial firewall based on netfilter ,which needs the module to access the data of user space ,so i use copy_from_user() but it can't work ,the code(simple test code) is like this: ---user space program- #include #include int main(int argc ,char *argv[]) { char

2.6.21-rc5: swsusp: Not enough free memory

2007-03-29 Thread Jiri Slaby
Hi, I'm getting this while trying to swsups the machine in -rc5, -rc4 is fine: Disabling non-boot CPUs CPU 1 is now offline SMP alternatives: switching to UP code CPU1 is down swsusp: critical section: swsusp: Need to copy 131380 pages swsusp: Not enough free memory Error -12 suspending Enabling

[PATCH] ignore vgacon if hardware not present

2007-03-29 Thread Rusty Russell
(Did this fall through the cracks? I don't see it in -mm. It's standalone, and saves some silly code in lguest and presumably others). == Avoid trying to set up vgacon if there's no vga hardware present. Signed-off-by: Jeremy Fitzhardinge <[EMAIL PROTECTED]> Signed-off-by: Rusty Russell

shmid_ds.shm_nattch bug or misunderstanding?

2007-03-29 Thread Steffen Sledz
We've a problem when calling shmctl to determine the number of current attaches on an shared memory segment. Because we see the problem on various 2. 4 and 2.6 kernels i believe it's not a bug but a misunderstanding in using the functions. A main process allocates shared memory segments and

[PATCH] fix amd64-agp aperture validation

2007-03-29 Thread Jan Beulich
Under CONFIG_DISCONTIGMEM, assuming that a !pfn_valid() implies all subsequent pfn-s are also invalid is wrong. Thus replace this by explicitly checking against the E820 map. Signed-off-by: Jan Beulich <[EMAIL PROTECTED]> Acked-by: Mark Langsdorf <[EMAIL PROTECTED]> ---

Re: a question about kernel copy userspace data

2007-03-29 Thread Cong WANG
2007/3/29, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: hello , i am programming a trial firewall based on netfilter ,which needs the module to access the data of user space ,so i use copy_from_user() but it can't work ,the code(simple test code) is like this: ---user space program- #include

Re: 2.6.21-rc5-mm2 -- ACPI problems (lid switch broken, always shows running from AC, plugging in AC hangs machine)

2007-03-29 Thread Miles Lane
On 3/28/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Wed, 28 Mar 2007 13:55:54 -0700 "Miles Lane" <[EMAIL PROTECTED]> wrote: > My laptop (HP dv1240us) is always showing that my laptop is plugged > into AC power, even when it is running off of the battery. When I > plug into the AC after

Re: 2.6.21-rc5-mm2 -- ACPI problems (lid switch broken, always shows running from AC, plugging in AC hangs machine)

2007-03-29 Thread Andrew Morton
On Thu, 29 Mar 2007 01:00:45 -0700 "Miles Lane" <[EMAIL PROTECTED]> wrote: > On 3/28/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Wed, 28 Mar 2007 13:55:54 -0700 > > "Miles Lane" <[EMAIL PROTECTED]> wrote: > > > > > My laptop (HP dv1240us) is always showing that my laptop is plugged > > >

Re: [PATCH] sched: staircase deadline misc fixes

2007-03-29 Thread Mike Galbraith
Rereading to make sure I wasn't unclear anywhere... On Thu, 2007-03-29 at 07:50 +0200, Mike Galbraith wrote: > > I don't see what a < 95% load really means. Egad. Here I'm pondering the numbers and light load as I'm typing, and my fingers (seemingly independent when mind wanders off) typed <

RE: cifs causes BUG: soft lockup detected on CPU

2007-03-29 Thread Valentin Zaharov
Anyone? I am new here, excuse me if format is wrong. Please assist with this problem. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Valentin Zaharov Sent: Wednesday, March 28, 2007 8:36 PM To: linux-kernel@vger.kernel.org Subject: cifs causes BUG:

Re: [PATCH] max_loop limit, loop.c final working version

2007-03-29 Thread Tomas M
This is a diff from Ken Chen, who sent it to me a week ago and received the claimed prize $256. I think it's partially based on Jan's code, while if fixes the bug Jan mentioned (as far as I know). It does the following: - allocate loop dynamically on the fly - allocate one more (spare) loop

Re: [PATCH 13/21] MSI: Do MSI masking in the arch code

2007-03-29 Thread Michael Ellerman
On Wed, 2007-03-28 at 00:39 -0600, Eric W. Biederman wrote: > Michael Ellerman <[EMAIL PROTECTED]> writes: > > > It's an arch detail whether MSI irqs need to be masked using the PCI > > MSI registers. > > Agreed. It isn't an arch detail that they need to be unmasked in > the pci configuration

Re: cifs causes BUG: soft lockup detected on CPU

2007-03-29 Thread Andrew Morton
On Wed, 28 Mar 2007 20:35:55 +0200 "Valentin Zaharov" <[EMAIL PROTECTED]> wrote: > Hi, > > We have continous problem with server freezes. We are using cifs mounts > on apache powered web servers with content located on Win2k3 server. > Servers freeze from time to time, producing following error

[Patch -mm 0/3] uevent_suppress handling.

2007-03-29 Thread Cornelia Huck
Hi, following up on the firmware loading problems in 2.6.21-rc4-mm1, I've been looking into uevent_suppress and using it in the firmware class. As an added bonus, I also managed to suppress some unwanted uevents on s390. Works for me on i386 (the firmware stuff) and on s390 (the subchannel

[Patch -mm 1/3] Driver core: suppress uevents via filter.

2007-03-29 Thread Cornelia Huck
From: Cornelia Huck <[EMAIL PROTECTED]> Suppress uevents for devices if uevent_suppress is set via dev_uevent_filter(). This makes the driver core suppress all device uevents, not just the add event in device_add(). Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> --- drivers/base/core.c |

[Patch -mm 3/3] s390: cio: Delay uevents for subchannels.

2007-03-29 Thread Cornelia Huck
From: Cornelia Huck <[EMAIL PROTECTED]> We often have the situation that we register a subchannel and start device recognition, only to find out that the device is not usable after all, which triggers an unregister of the subchannel. This often happens on hundreds of subchannels on a LPAR,

[Patch -mm 2/3] Driver core: switch firmware_class to uevent_suppress.

2007-03-29 Thread Cornelia Huck
From: Cornelia Huck <[EMAIL PROTECTED]> Use uevent_suppress instead of returning an error code in firmware_uevent(). Get rid of the now unneeded FW_STATUS_READY and FW_STATUS_READY_NOHOTPLUG. Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> --- drivers/base/firmware_class.c | 10 ++

RE: cifs causes BUG: soft lockup detected on CPU

2007-03-29 Thread Valentin Zaharov
Thanks for your response! I've tried different kernel versions. Right now iam using generic 2.6.9-42 on one machine and 2.6.20.1 on another one. I also tried various distributions ( Suse, CentOS, RHEL4 ) - not sure it is relevant. Tried installing latest cifs modules, tried changing

Re: cifs causes BUG: soft lockup detected on CPU

2007-03-29 Thread Andrew Morton
On Thu, 29 Mar 2007 11:13:04 +0200 "Valentin Zaharov" <[EMAIL PROTECTED]> wrote: > I've tried different kernel versions. > Right now iam using generic 2.6.9-42 on one machine and 2.6.20.1 on > another one. > I also tried various distributions ( Suse, CentOS, RHEL4 ) - not sure it > is relevant. >

[PATCH] fix dependency generation

2007-03-29 Thread Jan Beulich
Commit 2e3646e51b2d6415549b310655df63e7e0d7a080 changed the way the split config tree is built, but failed to also adjust fixdep accordingly - if changing a config option from or to m, files referencing the respective CONFIG_..._MODULE (but not the corresponding CONFIG_...) didn't get rebuilt.

Re: Corrupt XFS -Filesystems on new Hardware and Kernel

2007-03-29 Thread Jan Kara
> Oliver Joa wrote: > >>eason or another, xfs has detected a corrupted on-disk inode format > >>which it cannot recognize, and shuts down. > > Oh, one other thing that may not apply in your case, but may. > Does your SATA disk support write caching? Does it support > something called a

RE: cifs causes BUG: soft lockup detected on CPU

2007-03-29 Thread Valentin Zaharov
I get this error when try to apply the patch: patch -p1 < cifs.patch patching file include/linux/fs.h patch: malformed patch at line 26: /* Am I missing something or patch is bad? Thanks in advance -Original Message- From: Andrew Morton [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: [PATCH] x86: tighten kernel image page access rights

2007-03-29 Thread Andi Kleen
On Thursday 29 March 2007 09:17, Jan Beulich wrote: > >>> Andi Kleen <[EMAIL PROTECTED]> 28.03.07 21:07 >>> > > > >> +#ifdef CONFIG_HOTPLUG_CPU > >> + /* It must still be possible to apply SMP alternatives. */ > >> + if (num_possible_cpus() <= 1) > > > >It would be better to temporarily change

Student Project Ideas

2007-03-29 Thread Russ Meyerriecks
Hi all, I've been hacking on the Linux kernel all semester for my OS: Internals class. We are given full autonomy in picking our final programming project and I would love for mine to be /useful/ for the Linux kernel and not just a theoretical exorcise. If anybody has any bug fixes or features

Re: Student Project Ideas

2007-03-29 Thread Helge Hafting
Russ Meyerriecks wrote: Hi all, I've been hacking on the Linux kernel all semester for my OS: Internals class. We are given full autonomy in picking our final programming project and I would love for mine to be /useful/ for the Linux kernel and not just a theoretical exorcise. If anybody has

Re: Student Project Ideas

2007-03-29 Thread Cong WANG
2007/3/29, Russ Meyerriecks <[EMAIL PROTECTED]>: Hi all, I've been hacking on the Linux kernel all semester for my OS: Internals class. We are given full autonomy in picking our final programming project and I would love for mine to be /useful/ for the Linux kernel and not just a theoretical

Re: [PATCH] ignore vgacon if hardware not present

2007-03-29 Thread Andi Kleen
On Thu, Mar 29, 2007 at 05:46:48PM +1000, Rusty Russell wrote: > (Did this fall through the cracks? I don't see it in -mm. It's > standalone, and saves some silly code in lguest and presumably others). Normally it should go to some some console maintainer? Ok I can add it. -Andi - To

[PATCH -mm] blackfin arch fix bug bf561 rev ID are 8-bit

2007-03-29 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/setup.c|3 +++ include/asm-blackfin/mach-bf561/bf561.h |2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index b494f73..96ee2fa

Re: [PATCH] x86_64 irq: keep consistent for changing IRQ0_VECTOR from 0x20 to 0x30

2007-03-29 Thread Andi Kleen
> --- > From: Yinghai Lu <[EMAIL PROTECTED]> > Subject: x86_64 irq: Fix comments after changing IRQ0_VECTOR from 0x20 to 0x30 applied thanks -Andi - 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: [patches] [PATCH] fix amd64-agp aperture validation

2007-03-29 Thread Andi Kleen
On Thursday 29 March 2007 09:58, Jan Beulich wrote: > Under CONFIG_DISCONTIGMEM, assuming that a !pfn_valid() implies all > subsequent pfn-s are also invalid is wrong. Thus replace this by > explicitly checking against the E820 map. Applied thanks. -Andi - To unsubscribe from this list: send the

[PATCH] blackfin arch fix stamp537 ISP1716 IRQ setting bug

2007-03-29 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/mach-bf537/boards/stamp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 0f90ff9..a4219df 100644 ---

[PATCH] blackfin arch fix bug prevent warning in case BF531 is target

2007-03-29 Thread Wu, Bryan
Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/kernel/setup.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 96ee2fa..ce51882 100644 --- a/arch/blackfin/kernel/setup.c +++

Re: [PATCH] blackfin arch fix stamp537 ISP1716 IRQ setting bug

2007-03-29 Thread Wu, Bryan
Sorry for word wrap. this one is ok. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/mach-bf537/boards/stamp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index

Re: [PATCH 1/4] coredump: add an interface to control the core dump routine

2007-03-29 Thread Pavel Machek
Hi! > I have discussed with my colleagues why you say "ugly" against my > procfs interface, then I noticed I may have misunderstood what you said. > Is the reason for saying "ugly" two interfaces, i.e. preexisting ulimit > (get/setrlimit) and my proc entry, exist to control core file size? Yes.

Re: [RFC: 2.6 patch] fix ISDN_CAPI<->ISDN_DIVAS

2007-03-29 Thread Armin Schindler
On Sat, 24 Mar 2007, Adrian Bunk wrote: > On Sat, Mar 24, 2007 at 02:49:42PM +0100, Armin Schindler wrote: > > On Sat, 24 Mar 2007, Adrian Bunk wrote: > > > Randy Dunlap reported in kernel Bugzilla #8241 the following compile > > > error with CONFIG_ISDN_CAPI=m, CONFIG_ISDN_DIVAS=y: > > > > > >

Re: [PATCH] ignore vgacon if hardware not present

2007-03-29 Thread Rusty Russell
On Thu, 2007-03-29 at 12:36 +0200, Andi Kleen wrote: > On Thu, Mar 29, 2007 at 05:46:48PM +1000, Rusty Russell wrote: > > (Did this fall through the cracks? I don't see it in -mm. It's > > standalone, and saves some silly code in lguest and presumably others). > > Normally it should go to some

Re: Corrupt XFS -Filesystems on new Hardware and Kernel

2007-03-29 Thread Jens Axboe
On Thu, Mar 29 2007, Jan Kara wrote: > > Oliver Joa wrote: > > >>eason or another, xfs has detected a corrupted on-disk inode format > > >>which it cannot recognize, and shuts down. > > > > Oh, one other thing that may not apply in your case, but may. > > Does your SATA disk support write

[test] hackbench.c interactivity results: vanilla versus SD/RSDL

2007-03-29 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > * Con Kolivas <[EMAIL PROTECTED]> wrote: > > > I'm cautiously optimistic that we're at the thin edge of the bugfix > > wedge now. [...] > and the numbers he posted: > > http://marc.info/?l=linux-kernel=117448900626028=2 > > his test conclusion was

Re: 2.6.21-rc1 and 2.6.21-rc2 kwin dies silently

2007-03-29 Thread Sid Boyce
Adrian Bunk wrote: On Wed, Mar 28, 2007 at 04:26:05AM +0100, Sid Boyce wrote: Eric W. Biederman wrote: Sid Boyce <[EMAIL PROTECTED]> writes: This is what I've got so far on the first boot, I shall have to check the manpage for git-bisect again to see if there is anything

Re: 2.6.21-rc1 and 2.6.21-rc2 kwin dies silently

2007-03-29 Thread Sid Boyce
Eric W. Biederman wrote: Sid I think I have found the problem. Could you try the following patch. I believe I accidentally switched the sense of a test diff --git a/kernel/exit.c b/kernel/exit.c index f132349..b55ed4c 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -790,7 +790,7 @@

Re: [PATCH] Add support for deferrable timers (respun-Mar28)

2007-03-29 Thread Andi Kleen
> ondemand is the biggest offender and the patch below reduces the number of > interrupts by 50% or more (depending on HZ) on different test systems here. Cool! > Yes. There are quite a few other timers inside kernel that can be > migrated. I will use timer_stats and track others and send in

Re: [PATCH] Add support for deferrable timers (respun-Mar28)

2007-03-29 Thread Kyle Moffett
On Mar 29, 2007, at 07:41:12, Andi Kleen wrote: ondemand is the biggest offender and the patch below reduces the number of interrupts by 50% or more (depending on HZ) on different test systems here. Cool! Yes. There are quite a few other timers inside kernel that can be migrated. I will

Re: [PATCH] Add support for deferrable timers (respun-Mar28)

2007-03-29 Thread Andi Kleen
> Might also be useful to add an extra option to "top" to reduce the > polling frequency if the system is otherwise idle. A fixed 30-sec > timer and a deferrable 1-sec timer or somesuch? Hmm, i think the current implementation is per CPU. top really would like to have one that applies to

[patch 2.6.21-rc5] nicksched v33

2007-03-29 Thread Nick Piggin
This contains fixes for a bug that could cause too much latency with non-zero niced processes, as well as fixes so that it SMP balancing actually works now (the v32 forward port on top of smpnice was buggy). X should be reniced to -10 for best results. /proc/sys/kernel/base_timeslice can be

[PATCH] x86: tighten kernel image page access rights (re-diff against firstfloor tree)

2007-03-29 Thread Jan Beulich
On x86-64, kernel memory freed after init can be entirely unmapped instead of just getting 'poisoned' by overwriting with a debug pattern. On i386 and x86-64 (under CONFIG_DEBUG_RODATA), kernel text and bug table can also be write-protected. (Not sure what the symbol 'stext' is good for; can it

Re: [v4l-dvb-maintainer] [2.6 patch] drivers/media/video/bt8xx/bttv-cards.c: fix off-by-one

2007-03-29 Thread Mauro Carvalho Chehab
Hi Adrian, Em Seg, 2007-03-26 às 06:08 +0200, Adrian Bunk escreveu: > This patch fixes an off-by-one error spotted by the Coverity checker. Thanks for pointing us about this. Instead of your patch, however, it is better to replace all magic numbers at for on all gpiomask stuff. This will avoid

Re: [PATCH] ignore vgacon if hardware not present

2007-03-29 Thread Andi Kleen
On Thu, Mar 29, 2007 at 09:06:57PM +1000, Rusty Russell wrote: > On Thu, 2007-03-29 at 12:36 +0200, Andi Kleen wrote: > > On Thu, Mar 29, 2007 at 05:46:48PM +1000, Rusty Russell wrote: > > > (Did this fall through the cracks? I don't see it in -mm. It's > > > standalone, and saves some silly

Re: Linux page cache issue?

2007-03-29 Thread Jan Kara
Hello, > Now I want to explain the problem that leads me to explore the Linux > disk cache management. This is actually from my project. In a file > system I am working on, two files may have different inodes, but share > the same data blocks. Of course additional block-level reference >

Interface for the new fallocate() system call

2007-03-29 Thread Amit K. Arora
Hello, We need to come up with the best possible layout of arguments for the fallocate() system call. Various architectures have different requirements for how the arguments should look like. Since the mail chain has become huge, here is the summary of various inputs received so far. Platform:

Re: Software RAID (non-preempt) server blocking question. (2.6.20.4)

2007-03-29 Thread Justin Piszcz
On Thu, 29 Mar 2007, Neil Brown wrote: On Tuesday March 27, [EMAIL PROTECTED] wrote: I ran a check on my SW RAID devices this morning. However, when I did so, I had a few lftp sessions open pulling files. After I executed the check, the lftp processes entered 'D' state and I could do

Re: Software RAID (non-preempt) server blocking question. (2.6.20.4)

2007-03-29 Thread Justin Piszcz
On Thu, 29 Mar 2007, Henrique de Moraes Holschuh wrote: On Thu, 29 Mar 2007, Justin Piszcz wrote: Did you look at "cat /proc/mdstat" ?? What sort of speed was the check running at? Around 44MB/s. I do use the following optimization, perhaps a bad idea if I want other processes to 'stay

Re: Software RAID (non-preempt) server blocking question. (2.6.20.4)

2007-03-29 Thread Henrique de Moraes Holschuh
On Thu, 29 Mar 2007, Justin Piszcz wrote: > >Did you look at "cat /proc/mdstat" ?? What sort of speed was the check > >running at? > Around 44MB/s. > > I do use the following optimization, perhaps a bad idea if I want other > processes to 'stay alive'? > > echo "Setting minimum resync speed to

Re: [PATCH] x86: tighten kernel image page access rights (re-diff against firstfloor tree)

2007-03-29 Thread Andi Kleen
On Thursday 29 March 2007 14:01, Jan Beulich wrote: > On x86-64, kernel memory freed after init can be entirely unmapped instead > of just getting 'poisoned' by overwriting with a debug pattern. > > On i386 and x86-64 (under CONFIG_DEBUG_RODATA), kernel text and bug table > can also be

2.6.21-rc5-rt4 inconsistent lock state

2007-03-29 Thread Michal Piotrowski
Hi, artsd during kde start triggered this = [ INFO: inconsistent lock state ] [ 2.6.21-rc5-rt4 #4 - inconsistent {hardirq-on-W} -> {in-hardirq-W} usage. artsd/3454 [HC1[1]:SC0[0]:HE0:SE1] takes: ((raw_spinlock_t

Re: [PATCH] blackfin arch fix stamp537 ISP1716 IRQ setting bug

2007-03-29 Thread Paul Mundt
On Thu, Mar 29, 2007 at 06:47:32PM +0800, Wu, Bryan wrote: > diff --git a/arch/blackfin/mach-bf537/boards/stamp.c > b/arch/blackfin/mach-bf537/boards/stamp.c > index 0f90ff9..a4219df 100644 > --- a/arch/blackfin/mach-bf537/boards/stamp.c > +++ b/arch/blackfin/mach-bf537/boards/stamp.c > @@ -68,7

Re: tty OOPS (Re: 2.6.21-rc5-mm2)

2007-03-29 Thread Maneesh Soni
On Wed, Mar 28, 2007 at 01:07:56PM -0700, Andrew Morton wrote: > On Wed, 28 Mar 2007 22:56:32 +0400 > Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > > On Wed, Mar 28, 2007 at 10:38:14PM +0400, Alexey Dobriyan wrote: > > > On Wed, Mar 28, 2007 at 08:04:46PM +0200, Andreas Mohr wrote: > > > >

Re: [ck] Re: [PATCH] sched: staircase deadline misc fixes

2007-03-29 Thread michael chang
On 3/29/07, Mike Galbraith <[EMAIL PROTECTED]> wrote: Rereading to make sure I wasn't unclear anywhere... On Thu, 2007-03-29 at 07:50 +0200, Mike Galbraith wrote: > > I don't see what a < 95% load really means. Egad. Here I'm pondering the numbers and light load as I'm typing, and my fingers

Re: [PATCH] i386: add command line option "local_apic_timer_c2_ok"

2007-03-29 Thread Andi Kleen
Len Brown <[EMAIL PROTECTED]> writes: > On an Intel processor, it seems that the safe and simple route > is if the system exports C2 or deeper, don't use the LAPIC timer. > (which is what 2.6.21-rc5 is doing as of this moment) > We may be able to white-list some systems over time. On AMD it is

Re: USB: on suspend to ram/disk all usb devices are replugged

2007-03-29 Thread Mark Lord
Maxim Levitsky wrote: Hi, I noticed that after suspend/resume cycle all my usb devices are unplugged/replugged by uhci driver. While it is not that big problem to me, that can be a real problem if a device is a flash card with mounted file-system, because disappeared device will cause

Re: [PATCH] i386: add command line option "local_apic_timer_c2_ok"

2007-03-29 Thread Andi Kleen
Linus Torvalds <[EMAIL PROTECTED]> writes: > On Tue, 27 Mar 2007, Len Brown wrote: > > > > I think the only fool-proof way to do this automatically is to > > Why not just take the known-good CPUID signature? I didn't think we could reliably distingush mobile cpus with C2+ versus desktop CPUs

Re: [PATCH 13/21] MSI: Do MSI masking in the arch code

2007-03-29 Thread Eric W. Biederman
Michael Ellerman <[EMAIL PROTECTED]> writes: > > The main motivation was to have the arch in control of as much direct > register writing as possible. Even though our HV does allow us to write > to config space, it's not obviously safe for Linux to be flipping bits > and also calling the HV to

staircase deadline 0.36 backport 2.6.18.8 and 2.6.19.7

2007-03-29 Thread Fortier,Vincent [Montreal]
Hi all, Backports of the staircase deadline cpu scheduler for 2.6.18.8 and 2.6.19.7 kernels are available at http://linux-dev.qc.ec.gc.ca/. Also, Debian Etch 4.0 kernels for both i686 and x86_64 are available. Fedora Core 6 kernels might also be available later today/tomorrow. Both patches

Re: [PATCH] x86: tighten kernel image page access rights (re-diff against firstfloor tree)

2007-03-29 Thread Jan Beulich
>>> Andi Kleen <[EMAIL PROTECTED]> 29.03.07 14:22 >>> >On Thursday 29 March 2007 14:01, Jan Beulich wrote: >> On x86-64, kernel memory freed after init can be entirely unmapped instead >> of just getting 'poisoned' by overwriting with a debug pattern. >> >> On i386 and x86-64 (under

Re: [PATCH] x86: tighten kernel image page access rights (re-diff against firstfloor tree)

2007-03-29 Thread Andi Kleen
On Thursday 29 March 2007 15:49, Jan Beulich wrote: > >>> Andi Kleen <[EMAIL PROTECTED]> 29.03.07 14:22 >>> > >On Thursday 29 March 2007 14:01, Jan Beulich wrote: > >> On x86-64, kernel memory freed after init can be entirely unmapped instead > >> of just getting 'poisoned' by overwriting with a

Re: max_loop limit

2007-03-29 Thread Bill Davidsen
Tomas M wrote: 255 loop devices are insufficient? What kind of scenario do you have in mind? Thank you very much for replying. In 1981, Bill Gates said that 64KB of memory is enough for everybody. And you know how much RAM do you have right now. :) Actually, I believe the number was 640k,

[PATCH] fix file specification in comments

2007-03-29 Thread Uwe Kleine-König
Many files include the filename at the beginning, serveral used a wrong one. Signed-off-by: Uwe Kleine-König <[EMAIL PROTECTED]> --- This is a follow up to f30c2269544bffc7bf1b0d7c0abe5be1be83b8cb. This patch was generated with the same program as the former patch.

Re: max_loop limit

2007-03-29 Thread Bill Davidsen
roland wrote: partitions on loop or device-mapper devices ? you can use kpartx tool for this. bryn m. reeves told me, that it's probably poissible to create udev rules that will automatically create partition maps when a new loop device is setup, which is better than adding partitioning

Re: 2.6.20.3-rt8 - DMA suffers excessive delay periodically

2007-03-29 Thread John
Lee Revell wrote: John wrote: Would someone know how to disable SMM in this BIOS? There's no generic way. I understand. Would someone know how to disable SMM in the VIA Pro133T chipset (VT82C596B south bridge). What I/O ports do I need to write to, and what values should I write to

Re: [ PATCH] Add suspend/resume for HPET was: Re: [3/6] 2.6.21-rc4: known regressions

2007-03-29 Thread Sergei Shtylyov
Hello. Maxim wrote: --- This adds support of suspend/resume on i386 for HPET The part after usually "---" gets cut off, the patch description and signoff should actially *precede* it. Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> diff --git a/arch/i386/kernel/hpet.c

Re: [ PATCH] Add suspend/resume for HPET was: Re: [3/6] 2.6.21-rc4: known regressions

2007-03-29 Thread Maxim
On Thursday 29 March 2007 15:20:27 Sergei Shtylyov wrote: > Hello. > > Maxim wrote: > > > --- > > This adds support of suspend/resume on i386 for HPET > >The part after usually "---" gets cut off, the patch description and > signoff should actially *precede* it. > > > Signed-off-by: Maxim

[PATCH v2] Add suspend/resume for HPET

2007-03-29 Thread Maxim Levitsky
Subject: Add suspend/resume for HPET This adds support of suspend/resume on i386 for HPET Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> --- arch/i386/kernel/hpet.c | 68 +++ 1 files changed, 68 insertions(+), 0 deletions(-) diff --git

Re: [2.6 patch] the scheduled eepro100 removal

2007-03-29 Thread Roberto Nibali
Sounds sane to me. My overall opinion on eepro100 removal is that we're not there yet. Rare problem cases remain where e100 fails but eepro100 works, and it's older drivers so its low priority for everybody. Needs to happen, though... It seems that several Tyan Opteron base system that were

Re: [git patches] net driver fixes

2007-03-29 Thread Jeff Garzik
Guennadi Liakhovetski wrote: Jeff, might be worth getting the sk_buff leak fix in ppp from http://www.spinics.net/lists/netdev/msg27706.html in 2.6.21 too? Don't know how important it is for stable. It was present in 2.6.18 too. Can you resend the patch to me, please? Easier for the system

Re: [PATCH] ehea: removing unused functionality

2007-03-29 Thread Jeff Garzik
Jan-Bernd Themann wrote: This patch includes: - removal of unused fields in structs - ethtool statistics cleanup - removes unsed functionality from send path Signed-off-by: Jan-Bernd Themann <[EMAIL PROTECTED]> --- This patch applies on top of the netdev upstream branch for 2.6.22

Re: [RFT] e100 driver on ARM

2007-03-29 Thread Lennart Sorensen
On Thu, Mar 29, 2007 at 01:17:38AM -0400, David Acker wrote: > I have a pxa255 based system with PCI added to it. The e100 would have > memory corruption in its receive buffers detected by slab debugging > unless I put in the patch to use the S-bit. > > Here is a link to the patch posting: >

Re: [3/6] 2.6.21-rc4: known regressions

2007-03-29 Thread Jeff Chua
On 3/29/07, Michael S. Tsirkin <[EMAIL PROTECTED]> wrote: > Quoting Maxim <[EMAIL PROTECTED]>: > The patch below is a temporally fix, until > clock-events and clocksources will get proper suspend/resume > hooks: Bingo! I confirmed that it suspend/resume

Re: [linux-usb-devel] [RFC] HID bus design overview.

2007-03-29 Thread Jiri Kosina
On Thu, 29 Mar 2007, Li Yu wrote: > The last word is a question, what's the future of hiddev? It will merge > into hidraw later? I think so, but can't sure. Hi Li, no, it won't, it doesn't provide compatible interface for purpose. hiddev has currently the following drawbacks: -

Re: [linux-usb-devel] possible USB regression with 2.6.21-rc4: iPod doesn't work

2007-03-29 Thread Bill Davidsen
Tino Keitel wrote: On Mon, Mar 26, 2007 at 17:15:53 -0400, Alan Stern wrote: [...] The lack of messages from the iPod seems to indicate that the hub isn't working right. You could try plugging the iPod into a different hub or directly into the computer. Or maybe into a different port of

Re: 2.6.21-rc5: swsusp: Not enough free memory

2007-03-29 Thread Rafael J. Wysocki
On Thursday, 29 March 2007 09:44, Jiri Slaby wrote: > Hi, > > I'm getting this while trying to swsups the machine in -rc5, -rc4 is fine: > > Disabling non-boot CPUs > CPU 1 is now offline > SMP alternatives: switching to UP code > CPU1 is down > swsusp: critical section: > swsusp: Need to copy

Re: 2.6.21-rc5: swsusp: Not enough free memory

2007-03-29 Thread Jiri Slaby
Rafael J. Wysocki napsal(a): > On Thursday, 29 March 2007 09:44, Jiri Slaby wrote: >> Hi, >> >> I'm getting this while trying to swsups the machine in -rc5, -rc4 is fine: >> >> Disabling non-boot CPUs >> CPU 1 is now offline >> SMP alternatives: switching to UP code >> CPU1 is down >> swsusp:

Re: kmalloc() with size zero

2007-03-29 Thread Bill Davidsen
Stephane Eranian wrote: Hi, On Sun, Mar 25, 2007 at 06:30:34PM +0200, Folkert van Heusden wrote: I'd say "feature", glibc's malloc also returns an address on malloc(0). This is implementation defined-the standard allows for return of either null or an address. Entirely for entertainment:

RE: [PATCH] i386: add command line option "local_apic_timer_c2_ok"

2007-03-29 Thread Langsdorf, Mark
> > If we really care about using the LAPIC timer on systems with deeper > > than C1 support, the only alternative seems to be to test > > if it actually works or not at boot and run-time. > > Otherwise, we wait for future hardware with guaranteed > > not to break under any (BIOS) conditions

Re: cifs causes BUG: soft lockup detected on CPU

2007-03-29 Thread Steven French
This should be fixed in 2.6.21 as of 2/26. The fix was http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3677db10a635a39f63ea509f8f0056d95589ff90 Steve French Senior Software Engineer Linux Technology Center - IBM Austin phone: 512-838-2294 email: sfrench at-sign us

Re: [PATCH] fix dependency generation

2007-03-29 Thread Randy Dunlap
On Thu, 29 Mar 2007 10:27:14 +0100 Jan Beulich wrote: > Commit 2e3646e51b2d6415549b310655df63e7e0d7a080 changed the way > the split config tree is built, but failed to also adjust fixdep > accordingly - if changing a config option from or to m, files > referencing the respective CONFIG_..._MODULE

RE: cifs causes BUG: soft lockup detected on CPU

2007-03-29 Thread Valentin Zaharov
Thanks a lot, I will try to update to latest kernel version and see if it helps. -Original Message- From: Steven French [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 5:06 PM To: Andrew Morton Cc: Valentin Zaharov; linux-kernel@vger.kernel.org Subject: Re: cifs causes BUG:

Re: [PATCH] i386: add command line option "local_apic_timer_c2_ok"

2007-03-29 Thread Andi Kleen
"Langsdorf, Mark" <[EMAIL PROTECTED]> writes: > > > If we really care about using the LAPIC timer on systems with deeper > > > than C1 support, the only alternative seems to be to test > > > if it actually works or not at boot and run-time. > > > Otherwise, we wait for future hardware with

Re: USB: on suspend to ram/disk all usb devices are replugged

2007-03-29 Thread Alan Stern
On Thu, 29 Mar 2007, Mark Lord wrote: > Maxim Levitsky wrote: > > Hi, > > I noticed that after suspend/resume cycle all my usb devices are > > unplugged/replugged by uhci driver. > > While it is not that big problem to me, that can be a real problem if a > > device is a flash card with

Re: USB: on suspend to ram/disk all usb devices are replugged

2007-03-29 Thread Mark Lord
Alan Stern wrote: On Thu, 29 Mar 2007, Mark Lord wrote: Mmm.. this sounds really bad -- I wonder what happens if the rootfs is on USB ? The system crashes as soon as it resumes. As you might expect. With older kernels, things just "worked" this way. Has it now been broken ?? No; it has

Re: [PATCH] fix dependency generation

2007-03-29 Thread Jan Beulich
>>> Randy Dunlap <[EMAIL PROTECTED]> 29.03.07 17:39 >>> >> --- linux-2.6.21-rc5/scripts/basic/fixdep.c 2007-02-04 19:44:54.0 >> +0100 >> +++ 2.6.21-rc5-fixdep-mod/scripts/basic/fixdep.c 2007-03-29 >> 11:11:10.0 +0200 >> @@ -29,8 +29,7 @@ >> * option which is mentioned in

[QUESTION] check for mem in slab

2007-03-29 Thread Cyrill Gorcunov
Hi list, in file mm/slab.c and routine kmem_cache_init() I found there is no checking for allocated memory on line: /* 4) Replace the bootstrap head arrays */ { struct array_cache *ptr; ptr = kmalloc(sizeof(struct arraycache_init), GFP_KERNEL);

Re: 2.6.21-rc1 and 2.6.21-rc2 kwin dies silently

2007-03-29 Thread Sid Boyce
Sid Boyce wrote: Eric W. Biederman wrote: Sid I think I have found the problem. Could you try the following patch. I believe I accidentally switched the sense of a test diff --git a/kernel/exit.c b/kernel/exit.c index f132349..b55ed4c 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@

Re: Student Project Ideas

2007-03-29 Thread Stefan Richter
Russ Meyerriecks wrote: > If anybody has any bug fixes or features maybe they never got > around to, http://bugzilla.kernel.org/buglist.cgi?bug_status=NEW_status=ASSIGNED has 1504 hits right now. > and would be suitable for this situation, This may be a problem. -- Stefan Richter -=-=-===

Re: [PATCH] fix dependency generation

2007-03-29 Thread Randy Dunlap
On Thu, 29 Mar 2007 17:06:24 +0100 Jan Beulich wrote: > >>> Randy Dunlap <[EMAIL PROTECTED]> 29.03.07 17:39 >>> > >> --- linux-2.6.21-rc5/scripts/basic/fixdep.c2007-02-04 > >> 19:44:54.0 +0100 > >> +++ 2.6.21-rc5-fixdep-mod/scripts/basic/fixdep.c 2007-03-29 > >>

Re: [patch v2] Fixes and cleanups for earlyprintk aka boot console.

2007-03-29 Thread Olaf Dabrunz
On 15-Mar-07, John Stoffel wrote: > Would this explain why recent version of GDM don't find the keyboard > properly when you boot with a kernel command line of: > >kernel ... console=tty0 console=ttyS1,96008N1 > > until you stop and restart GDM? This was filed under Debian bug > #406457

[PATCH] Fix 82875 PCI setup

2007-03-29 Thread Adam Jackson
From: John Feeney <[EMAIL PROTECTED]> The 82875 EDAC driver enables an otherwise-hidden PCI device, but doesn't register it as a PCI device properly. Therefore, the device list in /proc/bus/pci/devices is different than the tree in /sys/bus/pci. This usually manifests as the X server failing to

  1   2   3   4   5   6   >