Re: [PATCH 2/3] kill_pid_info_as_uid: don't use security_task_kill()

2008-02-25 Thread Oleg Nesterov
On 02/25, Serge E. Hallyn wrote: > > Quoting Oleg Nesterov ([EMAIL PROTECTED]): > > kill_pid_info_as_uid() is solely used by drivers/usb/core/. The original > > "[PATCH] Fix signal sending in usbdevio on async URB completion" commit > > 46113830a18847cff8da73005e57bc49c2f95a56 was right, but nowada

Re: [PATCH]iommu-iotlb-flushing

2008-02-25 Thread Andrew Morton
On Mon, 25 Feb 2008 08:28:51 -0800 mark gross <[EMAIL PROTECTED]> wrote: > > > + /*just flush them all*/ > > > > I'm surprised that checkpatch didn't grump about the odd commenting style. > > It didn't. What's odd about the comment style here? We normally put a space after "/*" and before "*/"

[PATCH 1/1] x86_64: x86_64_cleanup_pda() should use nr_cpu_ids instead of NR_CPUS

2008-02-25 Thread Mike Travis
We allocate an array of nr_cpu_ids pointers, so we should respect its bonds. Delay change of _cpu_pda after array initialization. Also take into account that alloc_bootmem_low() : - calls panic() if not enough memory - already clears allocated memory Signed-off-by: Eric Dumazet <[EMAIL PROTECTED

Re: [PATCH 2/3] kill_pid_info_as_uid: don't use security_task_kill()

2008-02-25 Thread Stephen Smalley
On Mon, 2008-02-25 at 20:42 +0300, Oleg Nesterov wrote: > kill_pid_info_as_uid() is solely used by drivers/usb/core/. The original > "[PATCH] Fix signal sending in usbdevio on async URB completion" commit > 46113830a18847cff8da73005e57bc49c2f95a56 was right, but nowadays we use > struct pid and th

[PATCH 0/1] x86_64: x86_64_cleanup_pda() should use nr_cpu_ids instead of NR_CPUS

2008-02-25 Thread Mike Travis
Hi Andrew - would you add this to your -mm patchset? It fixes a possible panic. (I based it on 2.6.25-rc2 + 2.6.25-rc2-mm1 + my patches from broken-out-0223 as I could not get 2.6.25-rc2 + all of broken-out-0223 to apply.) Thanks, Mike ..from Eric Dumazet: > You might want to apply this patch.

[PATCH] Memory Resource Controller use strstrip while parsing arguments

2008-02-25 Thread Balbir Singh
The memory controller has a requirement that while writing values, we need to use echo -n. This patch fixes the problem and makes the UI more consistent. Signed-off-by: Balbir Singh <[EMAIL PROTECTED]> --- Documentation/controllers/memory.txt |6 +++--- kernel/res_counter.c

Re: [RFC][PATCH] make /proc/pid/pagemap work with huge pages and return page size

2008-02-25 Thread Dave Hansen
On Mon, 2008-02-25 at 13:09 +0100, Hans Rosenfeld wrote: > On Sat, Feb 23, 2008 at 10:31:01AM -0800, Dave Hansen wrote: > > > > - 4 bits for the page size, with 0 meaning native page size (4k on x86, > > > > 8k on alpha, ...) and values 1-15 being specific to the architecture > > > > (I used 1

Re: [RFC] Genirq and CPU isolation

2008-02-25 Thread Max Krasnyanskiy
Randy Dunlap wrote: On Fri, 22 Feb 2008 22:19:18 -0800 Max Krasnyansky wrote: Hi Max, diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 438a014..e74db94 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -488,6 +491,26 @@ void free_irq(unsigned int irq, void *dev_id) }

Re: [PATCHv4 2.6.25] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

2008-02-25 Thread Jochen Friedrich
Hi Olof, > And even if you DO decide to go that route, guess what? You need a > translation table just as with (3) anyway! True. 3. use a glue layer with a translation map. >>> In my opinion this is an OK solution since the same information has to >>> be added somewhere already anyway -- ei

Re: [PATCH] fbcon: replace mono_col macro with static inline

2008-02-25 Thread Andrew Morton
On Mon, 25 Feb 2008 10:13:57 -0800 Harvey Harrison <[EMAIL PROTECTED]> wrote: > Use __u32 for max_len to match the declaration of length in the > struct fb_bitfield. > > Suppresses sparse shadowed variable warnings from the nested max() > macros: > drivers/video/console/fbcon.h:130:8: warning: sy

Re: [PATCH] 2.6.25-rc2-mm1 - fix mcount GPL bogosity.

2008-02-25 Thread Steven Rostedt
[ added Alan to CC ] [EMAIL PROTECTED] wrote: The symbol 'mcount' has EXPORT_SYMBOL_GPL attached to it. This is because "things that use this symbol are too chummy with kernel internals to not be derivative". However, the symbol may or may not actually be referenced by a given module, dependin

Re: 2.6.25-rc2: ohci1394 problem

2008-02-25 Thread Thomas Meyer
Stefan Richter schrieb: My conclusion so far: There is something wrong with your system which is below/ before the control of the ieee1394 or firewire stack. Yes. I agree with you. So i did a "make clean" and a "make" (not a make -j3 as i use to do) and recompiled 2.6.25-rc3 and now it works

Re: Page scan keeps touching kernel text pages

2008-02-25 Thread Jörn Engel
On Mon, 25 February 2008 09:48:22 -0800, Dave Hansen wrote: > On Mon, 2008-02-25 at 15:07 +, Andy Whitcroft wrote: > > shrink_page_list() would be expected to be passed pages pulled from > > the active or inactive lists via isolate_lru_pages()? I would not have > > expected to find the kernel

Re: [PATCH] Memory Resource Controller Add Boot Option

2008-02-25 Thread Paul Menage
I'll send out a prototype for comment. Something like the patch below. The effects of cgroup_disable=foo are: - foo doesn't show up in /proc/cgroups - foo isn't auto-mounted if you mount all cgroups in a single hierarchy - foo isn't visible as an individually mountable subsystem As a result th

Re: Huawei E220 and usb storage

2008-02-25 Thread Pete Zaitcev
On Wed, 20 Feb 2008 07:57:23 +0100, Norbert Preining <[EMAIL PROTECTED]> wrote: > > that you did, after taking care of detection and initialization. > > Look at his dmesg in comment #44 in this: > > Yes, that looks very similar. Someone reported on the bug that a firmware update exists to resolv

Re: One minute delay when booting 2.6.24.1

2008-02-25 Thread Benoît Dejean
Le mardi 12 février 2008 à 08:33 +, Tvrtko A. Ursulin a écrit : > On Saturday 09 February 2008 22:01:44 Jan Engelhardt wrote: > > On Feb 9 2008 13:29, Tvrtko A. Ursulin wrote: > > >Hi all, > > > > > >As the subject says I get ~1 minute delay when booting 2.6.24.1 > > >pretty reliably. It is po

Re: 2.6.25-rc2: ohci1394 problem

2008-02-25 Thread Stefan Richter
Thomas Meyer wrote: So i did a "make clean" and a "make" (not a make -j3 as i use to do) and recompiled 2.6.25-rc3 and now it works again. Case closed under strange error. 2.6.24 works with the same config, i.e. both drivers are build as modules. What a relief. :-) Thanks for retesting. -- St

Re: latest commit on thinkpad_acpi.c 6c231bd5eb07 shows warning

2008-02-25 Thread Henrique de Moraes Holschuh
On Sun, 24 Feb 2008, Zdenek Kabelac wrote: > Commit 6c231bd5eb07ce546517019f334652b9ecfc329a > generate this warning: > > drivers/misc/thinkpad_acpi.c: In function 'tpacpi_input_send_tabletsw': > include/linux/input.h:1290: warning: 'state' is used uninitialized in > this function > drivers/misc/t

Re: [PATCH] Add rdc321x defconfig file

2008-02-25 Thread Sam Ravnborg
On Mon, Feb 25, 2008 at 12:17:07PM +0100, Ingo Molnar wrote: > > * Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > What I want is that e.g. after fiddling with kernel headers I want an > > easy way of having much compile coverage. And my script that builds > > all defconfig's is trivial (although

Re: 2.6.25-rc2: ohci1394 problem

2008-02-25 Thread Stefan Richter
Thomas Meyer wrote: So i did a "make clean" and a "make" (not a make -j3 as i use to do) and recompiled 2.6.25-rc3 and now it works again. Case closed under strange error. 2.6.24 works with the same config, i.e. both drivers are build as modules. BTW, of course "make -j..." is supposed to wor

Re: [PATCH] Memory Resource Controller use strstrip while parsing arguments

2008-02-25 Thread Andrew Morton
On Mon, 25 Feb 2008 23:57:46 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > The memory controller has a requirement that while writing values, we need > to use echo -n. This patch fixes the problem and makes the UI more consistent. that's a decent improvement ;) btw, could I ask that you, Paul

Re: [PATCH] x86_64: make amd quad core 8 socket system not be clustered_box v2

2008-02-25 Thread Ravikiran Thirumalai
On Sun, Feb 24, 2008 at 01:29:03PM +0100, Andi Kleen wrote: >On Sat, Feb 23, 2008 at 09:48:42PM -0800, Yinghai Lu wrote: >> >> quad core 8 socket system will have apic id lifting.the apic id range could >> be [4, 0x23]. and apic_is_clustered_box will think that need to three >> clusters >> and th

Re: [2.6.25-rc] pcmcia section mismatches

2008-02-25 Thread Sam Ravnborg
On Mon, Feb 25, 2008 at 11:45:12AM +0300, Andrey Borzenkov wrote: > During compilation: > > LD [M] drivers/pcmcia/pcmcia_core.o > WARNING: drivers/pcmcia/pcmcia_core.o(.data+0x1d4): Section mismatch in > reference from the variable pccard_sysfs_interface to the function > .devinit.text:pccard

voyager/KVM build problem

2008-02-25 Thread Randy Dunlap
I could have sworn that we had patches that made KVM depend on !VOYAGER and !VISWS, but with 2.6.25-rc3 and linux-next, it's possible to select VOYAGER machine type (x86_32) and then enable KVM and watch the build fail. ERROR: "smp_ops" [arch/x86/kvm/kvm.ko] undefined! make[1]: *** [__modpost] Err

[PATCH] Try both endianess when checking for endianess.

2008-02-25 Thread Ralf Baechle
From: Chris Dearman <[EMAIL PROTECTED]> When checking for the swap header try byteswapping the endianess dependent fields to allow the swap partition to be shared between big & little endian systems. Signed-off-by: Chris Dearman <[EMAIL PROTECTED]> Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>

compile problem in current x86.git

2008-02-25 Thread Jeremy Fitzhardinge
CC arch/x86/kernel/traps_32.o /home/jeremy/hg/xen/paravirt/linux/arch/x86/kernel/traps_32.c:59:27: error: asm/kmemcheck.h: No such file or directory asm-x86/kmemcheck.h does seem to be completely missing. Looks like 8db0acefb3025795abe3f37669354677a03de680 "x86: add hooks for kmemcheck"

Re: [PATCH] 2.6.25-rc2-mm1 - fix mcount GPL bogosity.

2008-02-25 Thread Adrian Bunk
On Mon, Feb 25, 2008 at 06:19:57PM +, Alan Cox wrote: > > The reason I added GPL is not because of some idea that this is all > > "chummy" with the kernel. But because I derived the mcount code from > > glibc's version of mcount. Now you may argue that glibc is under LGPL > > and a non-GPL e

extra bytes written to SATA DVD drive on kernel 2.6.23 till 2.6.24.2

2008-02-25 Thread Gerold Jury
Hello, I have two DVD drives, one connected to the SATA port (LG) the other to the IDE port (PHILIPS) of a via chipset. They are driven by VIA SATA support (SATA_VIA) and VIA PATA support (PATA_VIA). When I write an iso image to the drive on the SATA port /dev/sr0 it has some extra bytes on di

Re: latest commit on thinkpad_acpi.c 6c231bd5eb07 shows warning

2008-02-25 Thread Zdenek Kabelac
2008/2/25, Henrique de Moraes Holschuh <[EMAIL PROTECTED]>: > On Sun, 24 Feb 2008, Zdenek Kabelac wrote: > > > Commit 6c231bd5eb07ce546517019f334652b9ecfc329a > > generate this warning: > > > > drivers/misc/thinkpad_acpi.c: In function 'tpacpi_input_send_tabletsw': > > include/linux/input.h:129

Re: 2.6.24 new perfmon kernel code base + libpfm + pfmon finally available!

2008-02-25 Thread Pekka Enberg
Hi Stephane, On Mon, Feb 25, 2008 at 7:00 PM, stephane eranian <[EMAIL PROTECTED]> wrote: > I have finally released the perfmon2 kernel patch for kernel v2.6.24. It > took longer than expected to due my job change and several technical issues > related to perfmon kernel bugs. [snip] > As usu

Re: 2.6.25-rc[1,2]: failed to setup dm-crypt key mapping

2008-02-25 Thread Jan Niehusmann
On Fri, Feb 22, 2008 at 08:34:23PM +0800, Herbert Xu wrote: > Does this patch fix the problem? It does fix the problem on my system. Jan -- 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.ke

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-25 Thread Andreas Schwab
"Kiyoshi Ueda" <[EMAIL PROTECTED]> writes: > I'm looking at this problem, but currently no idea why the conversion > to blk_end_request causes it. cdrom_newpc_intr apparently never sets rq->sense_len. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstr

Re: Clocksource tsc is always unstable with 2.6.25-* kernels and CONFIG_NO_HZ=y on my box

2008-02-25 Thread Thomas Gleixner
On Mon, 25 Feb 2008, Gabriel C wrote: > >>> Booting nohz=off fixes that. > >>> > >>> Another strange thing is when I try to boot that kernel with > >>> clocksource=acpi_pm it just hangs. What happens if you add clocksource=acpi_pm and nohz=off to the kernel commandline ? > >> Please post your ful

Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p

2008-02-25 Thread Alexey Starikovskiy
Michael S. Tsirkin wrote: On my T61p, 2.6.25-rc2 seems to get acpi events from keypresses such as Fn-F4 and lid open/close, prints them in /var/log/acpid and reacts accordingly (my acpi scripts suspend on lid close and Fn-F4). This no longer happens in 2.6.25-rc3: I see nothing in /var/log/acpid

new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p

2008-02-25 Thread Michael S. Tsirkin
On my T61p, 2.6.25-rc2 seems to get acpi events from keypresses such as Fn-F4 and lid open/close, prints them in /var/log/acpid and reacts accordingly (my acpi scripts suspend on lid close and Fn-F4). This no longer happens in 2.6.25-rc3: I see nothing in /var/log/acpid after power on: [Mon Feb 25

Re: Page scan keeps touching kernel text pages

2008-02-25 Thread Andy Whitcroft
On Mon, Feb 25, 2008 at 07:53:20PM +0100, Jörn Engel wrote: > On Mon, 25 February 2008 09:48:22 -0800, Dave Hansen wrote: > > On Mon, 2008-02-25 at 15:07 +, Andy Whitcroft wrote: > > > shrink_page_list() would be expected to be passed pages pulled from > > > the active or inactive lists via iso

Re: Page scan keeps touching kernel text pages

2008-02-25 Thread Dave McCracken
On Monday 25 February 2008, Andy Whitcroft wrote: > I thought that init sections were deliberatly pushed to the end of the > kernel when linked, cirtainly on my laptop here that seems to be so. > That would make the first two "after" the kernel.  The other two appear > to be before the traditional

Re: [linux-pm] Fundamental flaw in system suspend, exposed by freezer removal

2008-02-25 Thread Alan Stern
On Mon, 25 Feb 2008, Alan Stern wrote: > The only possible solution is to have the drivers themselves be > responsible for preventing calls to device_add() or device_register() > during a system sleep. (It's also necessary to prevent driver binding, > but this isn't a major issue.) The most st

Re: [PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-25 Thread Alexander van Heukelum
On Mon, 25 Feb 2008 10:13:17 -0800, "H. Peter Anvin" <[EMAIL PROTECTED]> said: > Alexander van Heukelum wrote: > > > > arch/x86/kernel/head64.c | 45 > > +++-- > > 1 files changed, 27 insertions(+), 18 deletions(-) > > > > diff --git a/arch/x86/kernel/h

Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p

2008-02-25 Thread Andrew Morton
On Mon, 25 Feb 2008 21:19:24 +0200 "Michael S. Tsirkin" <[EMAIL PROTECTED]> wrote: > On my T61p, 2.6.25-rc2 seems to get acpi events from keypresses > such as Fn-F4 and lid open/close, prints them in /var/log/acpid > and reacts accordingly (my acpi scripts suspend on lid close and Fn-F4). You me

Re: [PATCH] 2.6.25-rc2-mm1 - fix mcount GPL bogosity.

2008-02-25 Thread Alan Cox
On Mon, Feb 25, 2008 at 09:27:10PM +0200, Adrian Bunk wrote: > > As I understand it if Vladis wants to submit his own change to the symbol > > thats up to him, and he'll be liable for any fallout with the FSF, or > > harm to Linux resulting, so long he's the one who signs it off. > > Why isn't any

Re: 2.6.24-git: kmap_atomic() WARN_ON()

2008-02-25 Thread Björn Steinbrink
On 2008.02.07 00:58:42 +0100, Thomas Gleixner wrote: > current mainline triggers: > > WARNING: at /home/tglx/work/kernel/x86/linux-2.6/arch/x86/mm/highmem_32.c:52 > kmap_atomic_prot+0xe5/0x19b() > Modules linked in: ahci(+) sata_sil libata sd_mod scsi_mod raid1 ext3 jbd > ehci_hcd ohci_hcd uhci_

Re: Bugs in MMC [was: [Bug 10030] Suspend doesn't work when SD card is inserted]

2008-02-25 Thread Alan Stern
On Mon, 25 Feb 2008, Pierre Ossman wrote: > > What do you think of the patch attached to comment #40 in the Bugzilla > > entry? > > > > Looks ok. As long as those two synchronization points are guaranteed, > then I'm happy. Maybe a better approach would be to leave the workqueue unfreezable, a

Re: printk_ratelimit and net_ratelimit conflict and tunable behavior

2008-02-25 Thread David Miller
From: "Hawkes Steve-FSH016" <[EMAIL PROTECTED]> Date: Mon, 25 Feb 2008 09:47:11 -0600 > > .facility = NULL > > How about this? Actually, for compile time initializations, setting anything to zero is superfluous and by convention is not therefore explicitly done in the sources. -- To unsubscribe

Re: [PATCH] 2.6.25-rc2-mm1 - fix mcount GPL bogosity.

2008-02-25 Thread Adrian Bunk
On Mon, Feb 25, 2008 at 02:48:35PM -0500, Alan Cox wrote: > On Mon, Feb 25, 2008 at 09:27:10PM +0200, Adrian Bunk wrote: > > > As I understand it if Vladis wants to submit his own change to the symbol > > > thats up to him, and he'll be liable for any fallout with the FSF, or > > > harm to Linux re

RE: printk_ratelimit and net_ratelimit conflict and tunable behavior

2008-02-25 Thread Joe Perches
On Mon, 2008-02-25 at 09:47 -0600, Hawkes Steve-FSH016 wrote: > How about this? line wrapped, but seems better. > Signed-off-by: Steve Hawkes <[EMAIL PROTECTED]> > > diff -uprN linux-2.6.24/include/linux/kernel.h > linux-2.6.24-printk_ratelimit/include/linux/kernel.h > --- linux-2.6.24/include/

Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Henrique de Moraes Holschuh
On Mon, 25 Feb 2008, Rafael J. Wysocki wrote: > > 2.6.25-rc2-git7 has regression, thinkpad keys do not work any more. > > > > Probably this commit broke things 6c231bd5eb07ce546517019f334652b9ecfc329a This commit is indeed broken, and I have a tentative fix for it. But I'd like to have a better

Re: 2.6.24-git: kmap_atomic() WARN_ON()

2008-02-25 Thread Jeff Garzik
Björn Steinbrink wrote: On 2008.02.07 00:58:42 +0100, Thomas Gleixner wrote: current mainline triggers: WARNING: at /home/tglx/work/kernel/x86/linux-2.6/arch/x86/mm/highmem_32.c:52 kmap_atomic_prot+0xe5/0x19b() Modules linked in: ahci(+) sata_sil libata sd_mod scsi_mod raid1 ext3 jbd ehci_hcd

Re: ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)

2008-02-25 Thread Chuck Ebbert
On 02/23/2008 12:48 PM, Vegard Nossum wrote: > > I don't see the connection between (no-)smp and ata. Something with > interrupt routing/IPI, missing irq ack? Booting another !SMP kernel > works fine. The problem also exists in 2.6.24-rc2. > "nosmp" disables the IO-APIC which will change interru

Re: [PATCH 2/3] kill_pid_info_as_uid: don't use security_task_kill()

2008-02-25 Thread Oleg Nesterov
On 02/25, Stephen Smalley wrote: > > On Mon, 2008-02-25 at 20:42 +0300, Oleg Nesterov wrote: > > kill_pid_info_as_uid() is solely used by drivers/usb/core/. The original > > "[PATCH] Fix signal sending in usbdevio on async URB completion" commit > > 46113830a18847cff8da73005e57bc49c2f95a56 was rig

Re: [PATCH 2/3] kill_pid_info_as_uid: don't use security_task_kill()

2008-02-25 Thread Casey Schaufler
--- Stephen Smalley <[EMAIL PROTECTED]> wrote: > > ... > > > > I think we should omit the permission checks completely, the task which > does > > ioctl(USBDEVFS_SUBMITURB) explicitly asks to send the signal to it, we > should > > not deny the signal even if the task changes its credentials in a

Re: [PCI] duplicate sysfs symbols getting registered in current git

2008-02-25 Thread Greg KH
On Mon, Feb 25, 2008 at 07:15:57PM +0100, Guennadi Liakhovetski wrote: > On Mon, 25 Feb 2008, Guennadi Liakhovetski wrote: > > > On Tue, 19 Feb 2008, Greg KH wrote: > > > > > On Mon, Feb 18, 2008 at 09:52:25PM +0100, Guennadi Liakhovetski wrote: > > > > Booting an x86 SMP PC with todays git-snaps

Re: Patch kernel: I have 8 Gbytes RAM, but why I can only allocate 2.8 Gbytes RAM for a single process?

2008-02-25 Thread Arnd Hannemann
J.C. Pizarro schrieb: > 2008/2/25, Ady Wicaksono <[EMAIL PROTECTED]>: >> I have 8 Gbytes RAM, but why I can allocate 2.8 Gbytes RAM for a single >> process? >> How to patch kernel so I have more than 2.8 Gbytes limitation? >> >> Kernel: >> --- >> Linux xxx.com 2.6.9-023

Re: [PCI] duplicate sysfs symbols getting registered in current git

2008-02-25 Thread Guennadi Liakhovetski
On Mon, 25 Feb 2008, Greg KH wrote: > On Mon, Feb 25, 2008 at 07:15:57PM +0100, Guennadi Liakhovetski wrote: > > On Mon, 25 Feb 2008, Guennadi Liakhovetski wrote: > > > > > On Tue, 19 Feb 2008, Greg KH wrote: > > > > > > > On Mon, Feb 18, 2008 at 09:52:25PM +0100, Guennadi Liakhovetski wrote: >

Re: vmlinux.lds cleanup

2008-02-25 Thread Sam Ravnborg
On Mon, Feb 25, 2008 at 12:58:00PM +0300, Cyrill Gorcunov wrote: > Hi Sam, > > you know I've just take a look on different architectures and I suddenly > realized that I even can't test my changes I'm bringnin in. For example - > xtensa arch, most of lds numeric constants could (and should) be cha

Re: 2.6.24.2: 4KSTACKS + pcdrw + dm + mount -> stack overflow: ide-cd related? dm-related?

2008-02-25 Thread Andrew Morton
On Sun, 24 Feb 2008 17:02:26 + Nix <[EMAIL PROTECTED]> wrote: > On 24 Feb 2008, Peter Osterlund told this: > > > Nix <[EMAIL PROTECTED]> writes: > >> But while I'd normally blame pktcdvd there's only one pktcdvd function > >> in these tracebacks (pkt_open) and it's not got a significant stack

net: tx timeouts with skge, 8139too, dmfe drivers/NICs

2008-02-25 Thread Marin Mitov
Hi all, I experience very rare freezes at heavy outbound traffic (sending ~4GB DVD image to another host(s) on the same LAN) using skge driver (NIC on the mobo) as well as (recently tested) using rtl8139 or dmfe NICs on the PCI bus. There is a single switch between them (tested with another one

Re: 2.6.24-git: kmap_atomic() WARN_ON()

2008-02-25 Thread Björn Steinbrink
On 2008.02.25 15:08:35 -0500, Jeff Garzik wrote: > Björn Steinbrink wrote: >> Hm, do you have lockdep enabled? If not, does lockdep make this go away? >> Because lockdep will set IRQF_DISABLED for all interrupt handlers, and >> unless that flag is set, handle_IRQ_event will reenable interrupts whil

Re: Please, put 64-bit counter per task and incr.by.one each ctxt switch.

2008-02-25 Thread Andrew Morton
On Sun, 24 Feb 2008 14:12:47 +0100 "J.C. Pizarro" <[EMAIL PROTECTED]> wrote: > It's statistic, yes, but it's a very important parameter for the > CPU-scheduler. > The CPU-scheduler will know the number of context switches of each task > before of to take a blind decision into infinitum!. We alr

printk_ratelimit and net_ratelimit conflict and tunable behavior

2008-02-25 Thread Steven Hawkes
From: Steve Hawkes <[EMAIL PROTECTED]> The printk_ratelimit() and net_ratelimit() functions each have their own tunable parameters to control their respective rate limiting feature, but they share common state variables, preventing independent tuning of the parameters from working correctly. Also,

Re: compile problem in current x86.git

2008-02-25 Thread Vegard Nossum
Hello! On Mon, Feb 25, 2008 at 8:23 PM, Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > CC arch/x86/kernel/traps_32.o > /home/jeremy/hg/xen/paravirt/linux/arch/x86/kernel/traps_32.c:59:27: error: > asm/kmemcheck.h: No such file or directory > > > asm-x86/kmemcheck.h does seem to be comp

Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p

2008-02-25 Thread Michael S. Tsirkin
On Mon, Feb 25, 2008 at 9:42 PM, Alexey Starikovskiy <[EMAIL PROTECTED]> wrote: > Michael S. Tsirkin wrote: > > On my T61p, 2.6.25-rc2 seems to get acpi events from keypresses > > such as Fn-F4 and lid open/close, prints them in /var/log/acpid > > and reacts accordingly (my acpi scripts suspend

Re: Page scan keeps touching kernel text pages

2008-02-25 Thread Jörn Engel
On Mon, 25 February 2008 13:46:32 -0600, Dave McCracken wrote: > On Monday 25 February 2008, Andy Whitcroft wrote: > > I thought that init sections were deliberatly pushed to the end of the > > kernel when linked, cirtainly on my laptop here that seems to be so. > > That would make the first two "a

Re: [PATCH] 2.6.25-rc2-mm1 - fix mcount GPL bogosity.

2008-02-25 Thread Alan Cox
On Mon, Feb 25, 2008 at 10:09:03PM +0200, Adrian Bunk wrote: > Being able to sue someone who has so many lawsuits that there's anyway > no money left for me sounds like a bad compensation for serving a few > years in jail... [1] If the FSF wrote the code then he should ask the FSF, that seems si

Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p

2008-02-25 Thread Michael S. Tsirkin
On Mon, Feb 25, 2008 at 9:46 PM, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Mon, 25 Feb 2008 21:19:24 +0200 "Michael S. Tsirkin" <[EMAIL PROTECTED]> > wrote: > > > On my T61p, 2.6.25-rc2 seems to get acpi events from keypresses > > such as Fn-F4 and lid open/close, prints them in /var/log/acp

[BUG] 2.6.25-rc3 hangs in early boot on Sun Ultra5

2008-02-25 Thread Mikael Pettersson
Booting 2.6.25-rc3 on my Ultra5 causes a hang before or as the console is switched over to the framebuffer. The console output is (extrapolated from dmesg in -rc2 and handwritten notes, as I don't have a serial cable to my U5): PROMLIB: Sun IEEE Boot Prom 'OBP 3.25.3 2000/06/29 14:12' PROMLIB: Roo

Re: [PATCH 2/3] kill_pid_info_as_uid: don't use security_task_kill()

2008-02-25 Thread Oleg Nesterov
On 02/25, Casey Schaufler wrote: > > --- Stephen Smalley <[EMAIL PROTECTED]> wrote: > > > > > ... > > > > > > I think we should omit the permission checks completely, the task which > > does > > > ioctl(USBDEVFS_SUBMITURB) explicitly asks to send the signal to it, we > > should > > > not deny t

Re: 2.6.24-git: kmap_atomic() WARN_ON()

2008-02-25 Thread Andrew Morton
On Mon, 25 Feb 2008 15:08:35 -0500 Jeff Garzik <[EMAIL PROTECTED]> wrote: > Bj__rn Steinbrink wrote: > > On 2008.02.07 00:58:42 +0100, Thomas Gleixner wrote: > >> current mainline triggers: > >> > >> WARNING: at > >> /home/tglx/work/kernel/x86/linux-2.6/arch/x86/mm/highmem_32.c:52 > >> kmap_atom

Re: Clocksource tsc is always unstable with 2.6.25-* kernels and CONFIG_NO_HZ=y on my box

2008-02-25 Thread Andrew Morton
On Sun, 24 Feb 2008 01:31:21 +0100 Gabriel C <[EMAIL PROTECTED]> wrote: > Hi, > > I noticed tsc is always marked unstable on my box with 2.6.25* , 2.6.24 is > fine. > > ... > > [0.825760] ACPI: PCI Interrupt :03:0e.0[A] -> GSI 22 (level, low) -> > IRQ 22 > [0.805755] Switched to h

Re: 2.6.24.2: 4KSTACKS + pcdrw + dm + mount -> stack overflow: ide-cd related? dm-related?

2008-02-25 Thread Andrew Morton
On Sun, 24 Feb 2008 17:56:09 +0100 Peter Osterlund <[EMAIL PROTECTED]> wrote: > > drivers/block/pktcdvd.c | 16 > 1 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c > index 674cd66..f2510e7 100644 > --- a/driver

Re: compile problem in current x86.git

2008-02-25 Thread Ingo Molnar
* Vegard Nossum <[EMAIL PROTECTED]> wrote: > > asm-x86/kmemcheck.h does seem to be completely missing. Looks like > > 8db0acefb3025795abe3f37669354677a03de680 "x86: add hooks for > > kmemcheck" should have added the file. > > Hm. This is x86#testing, no? I don't think there's any kmemcheck

Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p

2008-02-25 Thread Michael S. Tsirkin
On Mon, Feb 25, 2008 at 9:46 PM, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Mon, 25 Feb 2008 21:19:24 +0200 "Michael S. Tsirkin" <[EMAIL PROTECTED]> > wrote: > > > On my T61p, 2.6.25-rc2 seems to get acpi events from keypresses > > such as Fn-F4 and lid open/close, prints them in /var/log/acp

Re: 2.6.25-rc1/2 CD/DVD burning broken

2008-02-25 Thread Borislav Petkov
On Mon, Feb 25, 2008 at 08:38:22PM +0100, Andreas Schwab wrote: > "Kiyoshi Ueda" <[EMAIL PROTECTED]> writes: > > > I'm looking at this problem, but currently no idea why the conversion > > to blk_end_request causes it. > > cdrom_newpc_intr apparently never sets rq->sense_len. > actually it does

Re: Clocksource tsc is always unstable with 2.6.25-* kernels and CONFIG_NO_HZ=y on my box

2008-02-25 Thread Gabriel C
Thomas Gleixner wrote: > On Mon, 25 Feb 2008, Gabriel C wrote: > Booting nohz=off fixes that. > > Another strange thing is when I try to boot that kernel with > clocksource=acpi_pm it just hangs. > > What happens if you add clocksource=acpi_pm and nohz=off to the kernel > commandli

Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Lukas Hejtmanek
On Mon, Feb 25, 2008 at 05:03:54PM -0300, Henrique de Moraes Holschuh wrote: > This commit is indeed broken, and I have a tentative fix for it. But I'd > like to have a better description of just "how" the thinkpad keys do not > work anymore, to make sure I fix the entire breakage in one go. I wi

Re: compile problem in current x86.git

2008-02-25 Thread Ingo Molnar
> > Hm. This is x86#testing, no? I don't think there's any kmemcheck > > code whatsoever in other branches. ah. that was x86.git#mm i think - a kmemcheck commit indeed prematurely got into that branch. I've updated x86.git and it should all have the correct ordering now. (as of HEAD c9d2f5489

Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p

2008-02-25 Thread Alexey Starikovskiy
Michael S. Tsirkin wrote: Did you guys stop accepting reports by mail? I hope not. It is easier to track bug information in bugzilla. If you for some reason do not wish to create a bug report, I can do it for you. You only need to provide acpidump. and attach acpidump? I'll see if I can get

[PATCH] video: limit stack usage of ir-kbd-i2c.c

2008-02-25 Thread Marcin Slusarz
ir_probe allocated struct i2c_client on stack; it's pretty big structure, so allocate it with kzalloc make checkstack output without this patch: x059d ir_probe [ir-kbd-i2c]: 1000 compile tested only Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> Cc: Mauro Carvalho Ch

Re: net: tx timeouts with skge, 8139too, dmfe drivers/NICs

2008-02-25 Thread Jeff Garzik
Marin Mitov wrote: Hi all, I experience very rare freezes at heavy outbound traffic (sending ~4GB DVD image to another host(s) on the same LAN) using skge driver (NIC on the mobo) as well as (recently tested) using rtl8139 or dmfe NICs on the PCI bus. There is a single switch between them (te

Re: Patch kernel: I have 8 Gbytes RAM, but why I can only allocate 2.8 Gbytes RAM for a single process?

2008-02-25 Thread Masoud Sharbiani "مسعود شربیانی"
On 2/24/08, Ady Wicaksono <[EMAIL PROTECTED]> wrote: > I have 8 Gbytes RAM, but why I can allocate 2.8 Gbytes RAM for a single > process? > How to patch kernel so I have more than 2.8 Gbytes limitation? > > Kernel: > --- > Linux xxx.com 2.6.9-023stab046.2-enterprise #1

new regression in 2.6.25-rc3: can't resume from suspend to ram, ata1 errors

2008-02-25 Thread Michael S. Tsirkin
On my T61p, 2.6.25-rc2 seems to wake up fine from suspend to ram. Not so 2.6.25-rc3: it hangs on suspend to ram, with a blank screen. At one point I got lucky and got this on console (wrote down by hand, there could be typos): ata1: COMRESET failed (errno=-16) ata1: COMRESET failed (errno=-16) end

broken suspend in .2.6.25-rc3 on T61p (was Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p)

2008-02-25 Thread Rafael J. Wysocki
On Monday, 25 of February 2008, Michael S. Tsirkin wrote: > On Mon, Feb 25, 2008 at 9:46 PM, Andrew Morton > <[EMAIL PROTECTED]> wrote: > > On Mon, 25 Feb 2008 21:19:24 +0200 "Michael S. Tsirkin" <[EMAIL PROTECTED]> > > wrote: > > > > > On my T61p, 2.6.25-rc2 seems to get acpi events from keypres

Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Henrique de Moraes Holschuh
On Mon, 25 Feb 2008, Lukas Hejtmanek wrote: > On Mon, Feb 25, 2008 at 05:03:54PM -0300, Henrique de Moraes Holschuh wrote: > > This commit is indeed broken, and I have a tentative fix for it. But I'd > > like to have a better description of just "how" the thinkpad keys do not > > work anymore, to

Re: new regression in 2.6.25-rc3: can't resume from suspend to ram, ata1 errors

2008-02-25 Thread Rafael J. Wysocki
On Monday, 25 of February 2008, Michael S. Tsirkin wrote: > On my T61p, 2.6.25-rc2 seems to wake up fine from suspend to ram. > Not so 2.6.25-rc3: it hangs on suspend to ram, with a blank screen. Thanks for the report. > At one point I got lucky and got this on console (wrote down by hand, > ther

Re: new regression in 2.6.25-rc3: can't resume from suspend to ram, ata1 errors

2008-02-25 Thread Jeff Garzik
Michael S. Tsirkin wrote: git bisect points at this commit: commit 559bbe6cbd0d8c68d40076a5f7dc98e3bf5864b2. power_state: get rid of write-only variable in SATA Hello Pavel -- It looks like this not a write-only variable after all... Jeff -- To unsubscribe from this list: send the

Re: 2.6.25-rc2 regression in rt61pci wireless driver

2008-02-25 Thread Chris Clayton
Hi, Firstly apologies for trimming linux-kernel and linux-wireless from my reply to Ivo yesterday. Basically, I replied saying that the patch below didn't fix the problem. But please do read on... On Friday 22 February 2008, Ivo van Doorn wrote: > On Friday 22 February 2008, Chris Clayton wrote

Re: [patch 2.6.25-rc3] lockdep: add spin_lock_irq_nested()

2008-02-25 Thread David Brownell
> > I thought the way to use the *_nested() calls was "consistently"! > > Very much depends on your view of consistent :-) > > > That is, if one instance of a lock access uses it, they all should, > > since that's the only way lockdep learns about equivalence classes. > > Also, locks shouldn't move

Re: [PCI] duplicate sysfs symbols getting registered in current git

2008-02-25 Thread Greg KH
On Mon, Feb 25, 2008 at 09:31:22PM +0100, Guennadi Liakhovetski wrote: > On Mon, 25 Feb 2008, Greg KH wrote: > > > On Mon, Feb 25, 2008 at 07:15:57PM +0100, Guennadi Liakhovetski wrote: > > > On Mon, 25 Feb 2008, Guennadi Liakhovetski wrote: > > > > > > > On Tue, 19 Feb 2008, Greg KH wrote: > > >

[PATCH] (02/25/08 linus git) smack functions smk_cipso_doi and smk_unlbl_ambient made static

2008-02-25 Thread Casey Schaufler
From: Casey Schaufler <[EMAIL PROTECTED]> The functions smk_cipso_doi and smk_unlbl_ambient are not used outside smackfs.c and should hence be static. Signed-off-by: Casey Schaufler <[EMAIL PROTECTED]> --- security/smack/smackfs.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

Re: [PATCH] reserve_early end-of-conventional-memory to 1MB

2008-02-25 Thread H. Peter Anvin
Alexander van Heukelum wrote: Hello hpa, I failed to find a comment referring to 0x413 or int 0x12 in arch/x86/kernel. I do know the comment in Documentation/i386/boot.txt, however, suggesting that "INT 12h" _should_ be used, but that it would be pointless for zImage and old bzImage kernels, be

Re: [PATCH] 2.6.25-rc2-mm1 - fix mcount GPL bogosity.

2008-02-25 Thread Valdis . Kletnieks
On Mon, 25 Feb 2008 21:27:10 +0200, Adrian Bunk said: > On Mon, Feb 25, 2008 at 06:19:57PM +, Alan Cox wrote: (Following was actually Steve Rostedt writing): > > > The reason I added GPL is not because of some idea that this is all > > > "chummy" with the kernel. But because I derived the mcou

Re: broken suspend in .2.6.25-rc3 on T61p (was Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p)

2008-02-25 Thread Pavel Machek
Hi! > On Monday, 25 of February 2008, Michael S. Tsirkin wrote: > > On Mon, Feb 25, 2008 at 9:46 PM, Andrew Morton > > <[EMAIL PROTECTED]> wrote: > > > On Mon, 25 Feb 2008 21:19:24 +0200 "Michael S. Tsirkin" <[EMAIL > > > PROTECTED]> wrote: > > > > > > > On my T61p, 2.6.25-rc2 seems to get acpi

[2.6.25-rc3] ACPI _PPC limiting processor speed...

2008-02-25 Thread Daniel J Blueman
My 2.2GHz [1] Thinkpad T61 is unable to get past 1.2GHz, seemingly because of the _PPC ACPI objects [2]. Given that the _PPC object is different for both cores, is this more of a BIOS bug or an ACPI interpreter problem? The problem was present in 2.6.24-rc, 2.6.24 final and since. BIOS is 7LETA9W

RE: [PATCH 1/1] scsi: megaraid_sas - Fix random failure of DCDBcmds with sense info

2008-02-25 Thread Yang, Bo
James, Thanks for the reply. We will resubmit the patch to rollback it to our original implementation. Regards. Bo Yang -Original Message- From: James Bottomley [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 11:36 AM To: Yang, Bo Cc: Matthew Wilcox; [EMAIL PROTECTED]; [EMAI

Re: Compex FreedomLine 32 PnP-PCI2 broken with de2104x

2008-02-25 Thread Ondrej Zary
On Monday 25 February 2008 08:28:14 Jeff Garzik wrote: > Grant Grundler wrote: > > ISTR there was a time when tulip would compete with de4x5 for devices. > > tulip is the preferred driver. That's clearly no longer the case > > and perhaps both distro's need to revisit this. > > The only reason why

Re: broken suspend in .2.6.25-rc3 on T61p (was Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p)

2008-02-25 Thread Michael S. Tsirkin
On Mon, Feb 25, 2008 at 11:26 PM, Pavel Machek <[EMAIL PROTECTED]> wrote: > Hi! > > > > On Monday, 25 of February 2008, Michael S. Tsirkin wrote: > > > On Mon, Feb 25, 2008 at 9:46 PM, Andrew Morton > > > <[EMAIL PROTECTED]> wrote: > > > > On Mon, 25 Feb 2008 21:19:24 +0200 "Michael S. Tsirkin"

Re: broken suspend in .2.6.25-rc3 on T61p (was Re: new regression in 2.6.25-rc3: no keyboard/lid acpi events on thinkpad T61p)

2008-02-25 Thread Jeff Garzik
Pavel Machek wrote: commit 559bbe6cbd0d8c68d40076a5f7dc98e3bf5864b2 Author: Pavel Machek <[EMAIL PROTECTED]> Date: Thu Feb 21 13:56:55 2008 +0100 power_state: get rid of write-only variable in SATA This is pretty unlikely to be it. Can you double check that this patch really breaks somet

Re: new regression in 2.6.25-rc3: can't resume from suspend to ram, ata1 errors

2008-02-25 Thread Bartlomiej Zolnierkiewicz
On Monday 25 February 2008, Rafael J. Wysocki wrote: > On Monday, 25 of February 2008, Michael S. Tsirkin wrote: > > On my T61p, 2.6.25-rc2 seems to wake up fine from suspend to ram. > > Not so 2.6.25-rc3: it hangs on suspend to ram, with a blank screen. > > Thanks for the report. > > > At one po

Re: net: tx timeouts with skge, 8139too, dmfe drivers/NICs

2008-02-25 Thread Marin Mitov
On Monday 25 February 2008 10:53:01 pm you wrote: > Marin Mitov wrote: > > Hi all, > > > > I experience very rare freezes at heavy outbound traffic > > (sending ~4GB DVD image to another host(s) on the same LAN) > > using skge driver (NIC on the mobo) as well as (recently tested) > > using rtl8139

Re: Tabs, spaces, indent and 80 character lines

2008-02-25 Thread Richard Knutsson
Benny Halevy wrote: On Feb. 24, 2008, 7:40 -0800, Richard Knutsson <[EMAIL PROTECTED]> wrote: Krzysztof Halasa wrote: Richard Knutsson <[EMAIL PROTECTED]> writes: Why hinder a developer who prefer 2, 4, 6 or any other != 8 width? I guess we could use tabs only

<    1   2   3   4   5   6   >