Re: 2.6.22-rc6-mm1

2007-06-30 Thread Andrew Morton
On Sat, 30 Jun 2007 23:10:17 +0200 Sam Ravnborg [EMAIL PROTECTED] wrote: I continue to believe that kbuild's lets-trash-your-symlink behaviour is obnoxious, but I was unable to persuade anyone else of this. I thought we fixed that long time ago?!?! Nope, a simple `make oldconfig' breaks

Re: A simpler variant on sys_indirect?

2007-06-30 Thread Linus Torvalds
On Sat, 30 Jun 2007, [EMAIL PROTECTED] wrote: The downsides are that you need to save and restore the prefix flags across signal delivery, and you have a second user/kernel/user transition. Both of these are basically horrible mistakes. The first one will almost certainly break things

Re: [patch 0/6] sys_indirect RFC - sys_indirect introduction

2007-06-30 Thread Ulrich Drepper
On 6/30/07, Davide Libenzi [EMAIL PROTECTED] wrote: But, a __get_user(), once you scrap off all the gcc wrapping, is bacially a move. That could even be removed, but really I don't see the reason since it allows for a cleaner strcture definition in userland. Don't generalize. The 4G/4G

Re: [PATCH] b44: power down PHY when interface down

2007-06-30 Thread Michael Buesch
On Saturday 30 June 2007 13:47:35 Török Edvin wrote: When the interface is down (or driver removed), the BroadCom 44xx card remains powered on, and both its MAC and PHY is using up power. This patch makes the driver issue a MAC_CTRL_PHY_PDOWN when the interface is halted, and does a partial

Re: [PATCH] b44: power down PHY when interface down

2007-06-30 Thread Lennert Buytenhek
On Sat, Jun 30, 2007 at 11:53:25PM +0200, Michael Buesch wrote: When the interface is down (or driver removed), the BroadCom 44xx card remains powered on, and both its MAC and PHY is using up power. This patch makes the driver issue a MAC_CTRL_PHY_PDOWN when the interface is halted,

Re: [PATCH] b44: power down PHY when interface down

2007-06-30 Thread Michael Buesch
On Sunday 01 July 2007 00:03:01 Lennert Buytenhek wrote: On Sat, Jun 30, 2007 at 11:53:25PM +0200, Michael Buesch wrote: When the interface is down (or driver removed), the BroadCom 44xx card remains powered on, and both its MAC and PHY is using up power. This patch makes the

Re: [PATCH] retrieve VBE EDID/DDC info independent of used video mode

2007-06-30 Thread Daniel Drake
Jan Beulich wrote: The code to retrieve this information was (a) inside a CONFIG_VIDEO_SELECT section and (b) protected by a check of a variable (vbe_version) that would get initialized only when a VESA mode was selected on the command line. This patch solves a 2.6.20.11 (and 2.6.21)

Re: [patch 0/6] sys_indirect RFC - sys_indirect introduction

2007-06-30 Thread Davide Libenzi
On Sat, 30 Jun 2007, Ulrich Drepper wrote: On 6/30/07, Davide Libenzi [EMAIL PROTECTED] wrote: But, a __get_user(), once you scrap off all the gcc wrapping, is bacially a move. That could even be removed, but really I don't see the reason since it allows for a cleaner strcture definition

Re: [patch 0/6] sys_indirect RFC - sys_indirect introduction

2007-06-30 Thread Davide Libenzi
On Sat, 30 Jun 2007, Davide Libenzi wrote: Think about if we had this for the latest pselect/ppoll/epoll_pwait. Think about how your solution and mine would apply to that very much concrete case. This is how all those overloaded syscalls looks like, BTW: if (sigmask) {

Re: [PATCH] retrieve VBE EDID/DDC info independent of used video mode

2007-06-30 Thread Andrew Morton
On Sat, 30 Jun 2007 18:25:31 -0400 Daniel Drake [EMAIL PROTECTED] wrote: Jan Beulich wrote: The code to retrieve this information was (a) inside a CONFIG_VIDEO_SELECT section and (b) protected by a check of a variable (vbe_version) that would get initialized only when a VESA mode was

Re: IRQ handling difference between i386 and x86_64

2007-06-30 Thread Krzysztof Oledzki
On Sat, 30 Jun 2007, Arjan van de Ven wrote: On Sat, 2007-06-30 at 16:55 +0200, Krzysztof Oledzki wrote: Hello, It seems that IRQ handling is somehow different between i386 and x86_64. In my Dell PowerEdge 1950 is it possible to enable interrupts spreading over all CPUs. This a single CPU,

Re: [PATCH] b44: power down PHY when interface down

2007-06-30 Thread Lennert Buytenhek
On Sun, Jul 01, 2007 at 12:24:40AM +0200, Michael Buesch wrote: Hm, I was going to measure the real power advantage with a PCI-extender card. But my B44B0 card doesn't seem to work in that extender card. It works perfectly fine sticked directly into the motherboard, though, and other

[PATCH][ISDN][resend] Guard against a potential NULL pointer dereference in old_capi_manufacturer()

2007-06-30 Thread Jesper Juhl
(first send: Monday 25 June 2007, resending due to no response) In drivers/isdn/capi/kcapi.c::old_capi_manufacturer(), if the call to get_capi_ctr_by_nr(ldef.contr); in line 823 returns NULL, then we'll be dereferencing a NULL pointer in the very next line. (Found by Coverity checker as bug

[PATCH][ISDN][resend] fix possible NULL deref on low memory condition in capidrv.c::send_message()

2007-06-30 Thread Jesper Juhl
(first send: Monday 25 June 2007, resending due to no response) If we fail to allocate an skb in drivers/isdn/capi/capidrv.c::send_message(), then we'll end up dereferencing a NULL pointer. Since out of memory conditions are not unheard of, I believe it is better to print a error message and

[PATCH][Documentation][resend] Add missing files and dirs to 00-INDEX in Documentation/

2007-06-30 Thread Jesper Juhl
(originally send: Wed, 6 Jun 2007, resending since it doesn't seem to have been picked up anywhere) This patch adds descriptions for a number of missing files and directories to the Documentation/00-INDEX file. People really should learn to keep this file up-to-date when adding or moving

[PATCH][XFS][resend] memory leak; allocated transaction not freed in xfs_inactive_free_eofblocks() in failure case.

2007-06-30 Thread Jesper Juhl
(this is back from May 16 2007, resending since it doesn't look like the patch ever made it in anywhere) Fix XFS memory leak; allocated transaction not freed in xfs_inactive_free_eofblocks() in failure case. the code allocates a transaction, but in the case where 'truncate' is !=0 and

[PATCH][XFS][resend] fix memory leak in xfs_inactive()

2007-06-30 Thread Jesper Juhl
(this is back from May 16 2007, resending since it doesn't look like the patch ever made it in anywhere) The Coverity checker found a memory leak in xfs_inactive(). The offending code is this bit : 1671tp = xfs_trans_alloc(mp, XFS_TRANS_INACTIVE); At conditional (1): truncate !=

Re: [possible regression] 2.6.22 reiserfs/libata sporadically hangs on resume from hibernation

2007-06-30 Thread Michal Piotrowski
Andrey Borzenkov pisze: On Sunday 01 July 2007, Rafael J. Wysocki wrote: On Saturday, 30 June 2007 06:59, Andrey Borzenkov wrote: Since 2.6.18 I do not have suspend to RAM; now I am starting to lose suspend to disk :) Environment - vanilla kernel (2.6.22-rc6 currently + squashfs + single

[PATCH][isapnp] Fix a potential NULL pointer dereference in isapnp_read_tag()

2007-06-30 Thread Jesper Juhl
The Coverity checker spotted (as bug #809) that we dereference 'type' long before we actually test it against NULL in drivers/pnp/isapnp/core.c::isapnp_read_tag() - both branches of the 'if (tag 0x80)' dereference type, and since this 'if' is before the test against NULL and the return of -1,

Re: [1/2] 2.6.22-rc6: known regressions with patches

2007-06-30 Thread Michal Piotrowski
Hi Ingo, Ingo Molnar pisze: * Michal Piotrowski [EMAIL PROTECTED] wrote: Subject: fix nmi_watchdog=2 bootup hang References : http://lkml.org/lkml/2007/6/25/51 Submitter : Ingo Molnar [EMAIL PROTECTED] Caused-By : Jeremy Fitzhardinge [EMAIL PROTECTED] Andi Kleen [EMAIL

Re: [patch 0/4] MAP_NOZERO v2 - VM_NOZERO/MAP_NOZERO early summer madness

2007-06-30 Thread Kyle Moffett
On Jun 30, 2007, at 15:03:07, Davide Libenzi wrote: Hmm, why would you need MAP_REUSABLE? If a page is visible at any time for a given UID, and you have a login under such UID, you can fetch the content of the page at any time (ie, ptrace_attach, gdb, ...). Not under SELinux or other

Re: [patch 0/4] MAP_NOZERO v2 - VM_NOZERO/MAP_NOZERO early summer madness

2007-06-30 Thread Davide Libenzi
On Sat, 30 Jun 2007, Kyle Moffett wrote: On Jun 30, 2007, at 15:03:07, Davide Libenzi wrote: Hmm, why would you need MAP_REUSABLE? If a page is visible at any time for a given UID, and you have a login under such UID, you can fetch the content of the page at any time (ie, ptrace_attach,

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-06-30 Thread Michal Piotrowski
Hi, Bjorn Helgaas pisze: [patch] PNP SMCf010 quirk: work around Toshiba Portege 4000 ACPI issues When we enable the SMCf010 IR device, the Toshiba Portege 4000 BIOS claims the device is working, but it really isn't configured correctly. The BIOS *will* configure it, but only if we call

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-06-30 Thread Michal Piotrowski
Michal Piotrowski pisze: Hi, Bjorn Helgaas pisze: [patch] PNP SMCf010 quirk: work around Toshiba Portege 4000 ACPI issues When we enable the SMCf010 IR device, the Toshiba Portege 4000 BIOS claims the device is working, but it really isn't configured correctly. The BIOS *will* configure

Re: [patch 0/4] MAP_NOZERO v2 - VM_NOZERO/MAP_NOZERO early summer madness

2007-06-30 Thread Kyle Moffett
On Jun 30, 2007, at 19:57:18, Davide Libenzi wrote: On Sat, 30 Jun 2007, Kyle Moffett wrote: Very simple case: SELinux is turned on, an s9 (IE: TOP_SECRET) process calls free(), and an s3 (IE: UNCLASSIFIED) process calls malloc(), getting the data from the TOP_SECRET process. Note that

Re: 2.6.22-rc6-mm1

2007-06-30 Thread Roman Zippel
Hi, On Fri, 29 Jun 2007, Andrew Morton wrote: Reset generates values only if Kconfig and .config agree. unclear. Could you please explain further what this change does? Normally generated values (Kconfig entries without a prompt) are cleared as they are regenerated anyway and so they

Re: 2.6.22-rc6-mm1

2007-06-30 Thread Roman Zippel
Hi, On Sat, 30 Jun 2007, Andrew Morton wrote: I continue to believe that kbuild's lets-trash-your-symlink behaviour is obnoxious, but I was unable to persuade anyone else of this. I thought we fixed that long time ago?!?! Nope, a simple `make oldconfig' breaks the symlink.

Re: speedstep-centrino (no such device)

2007-06-30 Thread Renato S. Yamane
Robert Hancock wrote: Renato S. Yamane wrote: Is impossible use speedstep in my Laptop with Pentium M 1,86Ghz: #modprobe speedstep-centrino FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.18-3-686/kernel/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.ko): No such device To do

Re: [RFC 1/7] cpuset write dirty map

2007-06-30 Thread Ethan Solomita
Christoph Lameter wrote: On Wed, 27 Jun 2007, Ethan Solomita wrote: I looked over it at one point. Most of the code doesn't conflict, but I believe that the code path which calculates the dirty limits will need some merging. Doable but non-trivial. -- Ethan I hope you will keep

Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip

2007-06-30 Thread Bjorn Helgaas
On Saturday 30 June 2007 03:13:24 pm Andrey Borzenkov wrote: After some digging, it works now :) So the story: PCMCIA includes code for checking for free IO range(s) code is active only if CONFIG_ISA is defined CONFIG_ISA has this excellent help text: Find out whether you have ISA

Re: Kernel doesn't recognize complete memory

2007-06-30 Thread Matthew Garrett
The 945 chipset used in the Z61 can only address 4GB of physical address space and your BIOS is using some of this for PCI and other bits of hardware. That only leaves 3GB for RAM. I believe that this restriction is mentioned on the IBM website somewhere. -- Matthew Garrett | [EMAIL

Re: [patch 0/4] MAP_NOZERO v2 - VM_NOZERO/MAP_NOZERO early summer madness

2007-06-30 Thread Davide Libenzi
On Sat, 30 Jun 2007, Kyle Moffett wrote: On Jun 30, 2007, at 19:57:18, Davide Libenzi wrote: On Sat, 30 Jun 2007, Kyle Moffett wrote: Very simple case: SELinux is turned on, an s9 (IE: TOP_SECRET) process calls free(), and an s3 (IE: UNCLASSIFIED) process calls malloc(), getting the

kvm_amd: Unknown symbol signal_pending - where should I be looking?

2007-06-30 Thread jim miro
I am trying to get Kvm running on Debian with a custom 2.6.22-rc5 amd dual core kernel. To prepare I do: /sbin/modprobe kvm-amd FATAL: Error inserting kvm_amd (/lib/modules/2.6.22-rc5/extra/kvm-amd.ko): Unknown symbol in module, or unknown parameter (see dmesg) dmesg returns: kvm_amd: Unknown

Re: kvm_amd: Unknown symbol signal_pending - where should I be looking?

2007-06-30 Thread Satyam Sharma
On 7/1/07, jim miro [EMAIL PROTECTED] wrote: I am trying to get Kvm running on Debian with a custom 2.6.22-rc5 amd dual core kernel. Custom as in custom (non-mainline) patches? Can't really help with those, then. To prepare I do: /sbin/modprobe kvm-amd FATAL: Error inserting kvm_amd

Re: PM policy, hotplug, power saving (was Re: [PATCH] b44: power down PHY when interface down)

2007-06-30 Thread Kyle Moffett
On Jun 30, 2007, at 12:42:06, Jeff Garzik wrote: Definitely matters. Switch renegotiation can take a while, and you must take into account the common case of interface bouncing (immediate down, then up). Hoards actively complained the few times we experimented with this, because of e.g.

Re: 2.6.22-rc6-mm1

2007-06-30 Thread Satyam Sharma
On 7/1/07, Sam Ravnborg [EMAIL PROTECTED] wrote: [...] I am heading for vacation for 20 days without Internet (real vacation :-)) I hope I'm not late in catching you here ... By the way - kbuild.git is lacking behind on patches. I have several queded from other peopel and have more in the

<    1   2   3   4