[-mm patch] USB: make dev_attr_authorized_default static

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: ... Changes since 2.6.22-rc6-mm1: ... +gregkh-usb-usb-add-the-concept-of-default-authorization-to-usb-hosts.patch ... USB tree updates ... dev_attr_authorized_default can become static. Signed-off-by: Adrian Bunk [EMAIL

[2.6 patch] backlight: make 2 structs static

2007-07-29 Thread Adrian Bunk
This patch makes two needlessly global structs static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/video/backlight/backlight.c |2 +- drivers/video/backlight/lcd.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---

[-mm patch] security/ cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following cleanups that are now possible: - remove the unused security_operations-inode_xattr_getsuffix - remove the no longer used security_operations-unregister_security - remove some no longer required exit code - remove a bunch of no longer used exports Signed-off-by:

[2.6.23 regression fix] acpi_ec_remove(): fix use-after-free

2007-07-29 Thread Adrian Bunk
This patch fixes an obvious use-after-free introduced by commit 837012ede14a8fc088be3682c964da7fc6af026b. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- --- linux-2.6.23-rc1-mm1/drivers/acpi/ec.c.old 2007-07-28 07:59:49.0 +0200 +++

[2.6 patch] unexport pm_power_off_prepare

2007-07-29 Thread Adrian Bunk
This patch removes the unused EXPORT_SYMBOL(pm_power_off_prepare). Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- --- linux-2.6.23-rc1-mm1/kernel/sys.c.old 2007-07-28 07:38:45.0 +0200 +++ linux-2.6.23-rc1-mm1/kernel/sys.c 2007-07-28 07:38:59.0 +0200 @@ -104,7 +104,6 @@

[PATCH] BLOCK=n , LGUEST=m/y compile error

2007-07-29 Thread Gabriel C
Hi Rusty, Lguest should depend on BLOCK too , without BLOCK set I get this error: ... drivers/block/lguest_blk.c: In function 'end_entire_request': drivers/block/lguest_blk.c:80: error: implicit declaration of function 'end_that_request_first' drivers/block/lguest_blk.c:80: error:

Re: Linus 2.6.23-rc1

2007-07-29 Thread Volker Armin Hemmann
On Sonntag, 29. Juli 2007, Kasper Sandberg wrote: On Sun, 2007-07-29 at 01:41 +0200, Volker Armin Hemmann wrote: Hi, I never tried Con's patchset, for two reasons: I tried his 2.4 patches ones, and I never saw any improvements. So when people were reporting huge improvements with his SD

Re: nvidia installer DIW with 2.6.23-rc1

2007-07-29 Thread Jan Engelhardt
On Jul 29 2007 10:57, Gene Heskett wrote: /tmp/selfgz9678/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In function ‘nvidia_init_module’: /tmp/selfgz9678/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1326: error: too many arguments to function ‘kmem_cache_create’ Is this a

[2.6 patch] parisc: extern inline - static inline

2007-07-29 Thread Adrian Bunk
extern inline will have different semantics with gcc 4.3, and static inline is correct here. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- arch/parisc/lib/memcpy.c |4 ++-- include/asm-parisc/io.h|2 +- include/asm-parisc/pci.h |2 +-

Re: request for patches: showing mount options

2007-07-29 Thread Jan Engelhardt
[cc trim on purpose, just autofs interest here] On Jul 28 2007 14:45, Ian Kent wrote: Oh .. sorry, I wasn't paying enough attention. But now might be a good time to propose the removal of autofs and rename autofs4 to autofs. I would need to provide some way to map autofs4 module load requests

[PATCH] usb-serial: Fix edgeport regression on non-EPiC devices

2007-07-29 Thread Adam Kropelin
Fix serious regression on non-EPiC edgeport usb-serial devices. Baud rate and MCR/LCR registers are not being written on these models due to apparent copy-n-paste errors introduced with EPiC support. Failure reported by Nick Pasich [EMAIL PROTECTED]. Signed-off-by: Adam Kropelin [EMAIL

Re: Linus 2.6.23-rc1

2007-07-29 Thread Ingo Molnar
hi Kasper, * Kasper Sandberg [EMAIL PROTECTED] wrote: Im still not so keen about this, Ingo never did get CFS to match SD in smoothness for 3d applications, where my test subjects are quake(s), world of warcraft via wine, unreal tournament 2004. And this is despite many patches he sent

[2.6 patch] mm/vmstat.c: cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following cleanups: - make the needlessly global setup_vmstat() static - remove the unused refresh_vm_stats() Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Christoph Lameter [EMAIL PROTECTED] --- This patch has been sent on: - 9 Jul 2007 mm/vmstat.c | 19

[2.6 patch] fs/afs/: possible cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following possible cleanups: - make the following needlessly global functions static: - rxrpc.c: afs_send_pages() - vlocation.c: afs_vlocation_queue_for_updates() - write.c: afs_writepages_region() - make the following needlessly global variables static: - mntpt.c:

[RFC: 2.6 patch] allow disabling DNOTIFY without EMBEDDED

2007-07-29 Thread Adrian Bunk
This patch allows disabling DNOTIFY with CONFIG_EMBEDDED=n. I'm currently running a kernel with dnotify disabled and I haven't run into any problem. Is there any popular application left that breaks without dnotify support in the kernel? Note that this patch does not remove dnotify support, it

[2.6 patch] i386: no need to make enable_cpu_hotplug a variable

2007-07-29 Thread Adrian Bunk
As long as there's no write access to this variable there's no reason to let gcc check it at runtime. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- This patch has been sent on: - 6 Jul 2007 arch/i386/kernel/topology.c |2 -- include/asm-i386/cpu.h |2 +- 2 files changed, 1

[2.6 patch] lib/ioremap.c should #include linux/io.h

2007-07-29 Thread Adrian Bunk
Every file should include the headers containing the prototypes for its global functions (in this case ioremap_page_range()). Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Haavard Skinnemoen [EMAIL PROTECTED] --- This patch has been sent on: - 6 Jul 2007 ---

[2.6 patch] kernel/audit.c: change the exports to EXPORT_SYMBOL_GPL

2007-07-29 Thread Adrian Bunk
This patch changes some completely unused audit exports from EXPORT_SYMBOL to EXPORT_SYMBOL_GPL. They are still completely unused, but hopefully some of the theoretical code that might use it will appear in the kernel in the near future... Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by:

[2.6 patch] arch/i386/mm/discontig.c: make some variables static

2007-07-29 Thread Adrian Bunk
This patch makes some needlessly global variables static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- This patch has been sent on: - 6 Jul 2007 arch/i386/mm/discontig.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) ---

[2.6 patch] ipc/shm.c: make 2 functions static

2007-07-29 Thread Adrian Bunk
This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- This patch has been sent on: - 6 Jul 2007 ipc/shm.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- linux-2.6.22-rc6-mm1/ipc/shm.c.old 2007-07-05 16:08:24.0

[2.6 patch] kernel/sched.c: make code static

2007-07-29 Thread Adrian Bunk
This patch makes the following needlessly global code static: - arch_reinit_sched_domains() - struct attr_sched_mc_power_savings - struct attr_sched_smt_power_savings Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- This patch has been sent on: - 6 Jul 2007 include/linux/cpu.h |2 -

[2.6 patch] mm/shmem.c: make 3 functions static

2007-07-29 Thread Adrian Bunk
This patch makes three needlessly global functions static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- This patch has been sent on: - 6 Jul 2007 include/linux/mm.h | 15 --- mm/shmem.c | 10 +- 2 files changed, 5 insertions(+), 20 deletions(-) ---

[2.6 patch] mm/migrate.c: cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following cleanups: - every file should include the headers containing the prototypes for its global functions - make the needlessly global putback_lru_pages() static Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Christoph Lameter [EMAIL PROTECTED] --- This

[2.6 patch] mm/mempolicy.c: cleanups

2007-07-29 Thread Adrian Bunk
This patch contains the following cleanups: - every file should include the headers containing the prototypes for its global functions - make the follosing needlessly global functions static: - migrate_to_node() - do_mbind() - sp_alloc() - mpol_rebind_policy() Signed-off-by: Adrian Bunk

[2.6 patch] mm/: remove unused exports

2007-07-29 Thread Adrian Bunk
This patch removes the following unused EXPORT_SYMBOL's: - migrate.c: migrate_page - mmap.c: get_unmapped_area - nommu.c: get_unmapped_area Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- This patch has been sent on: - 13 Jul 2007 mm/migrate.c |1 - mm/mmap.c|2 -- mm/nommu.c |

[2.6 patch] drivers/scsi/constants.c: make 2 functions static

2007-07-29 Thread Adrian Bunk
This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- This patch has been sent on: - 24 Mar 2007 drivers/scsi/constants.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.21-rc4-mm1/drivers/scsi/constants.c.old

[2.6 patch] remove fs/jffs2/ioctl.c

2007-07-29 Thread Adrian Bunk
fs/jffs2/ioctl.c is already for so long in the might be used later state that I doubt it will ever be actually used... And if it will ever be used, reverting this patch will be trivial. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- fs/jffs2/Makefile |2 +- fs/jffs2/dir.c |1

Reading a bad sector does not report failure as 'read error' but hangs PC with 'Machine Check Exception'

2007-07-29 Thread Hendrik .
Last night I discovered a problem in my RAID5 array and finally after a lot of tests I narrowed it down to a bad sector on one of the hard disks and some goofy kernels. I just yesterday build a new PC using an existing array of 5 disks in RAID 5. I did build the array with only 4 out of 5 disks

[2.6 patch] include/linux/Kbuild: remove duplicate entries

2007-07-29 Thread Adrian Bunk
This patch removes three headers from header-y that were also listed as unifdef-y. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- include/linux/Kbuild |3 --- 1 file changed, 3 deletions(-) --- linux-2.6.23-rc1-mm1/include/linux/Kbuild.old 2007-07-28 17:15:01.0 +0200 +++

2.6.23-rc1-mm1 compile error in function `acpi_pci_choose_state':

2007-07-29 Thread Berck E. Nash
drivers/built-in.o: In function `acpi_pci_choose_state': pci-acpi.c:(.text+0xdccf): undefined reference to `acpi_pm_device_sleep_state' drivers/built-in.o: In function `pnpacpi_suspend': core.c:(.text+0x35a7c): undefined reference to `acpi_pm_device_sleep_state' Config file attached. # #

Re: [Linux-usb-users] [REGRESSION] 2.6.23-rc1: uhci_hcd. irq 4: nobody cared

2007-07-29 Thread Alan Stern
On Sun, 29 Jul 2007, Mark Hindley wrote: Hi, I have just tried 2.6.23-rc1 on my Acer Aspire 1350. On boot I get the following error as the uhci_hcd module is loaded: Jul 28 18:23:20 mercury kernel: ACPI: PCI Interrupt :00:10.0[A] - Link [LNKA] - GSI 4 (level, low) - IRQ 4 Jul 28

Re: RFT: updatedb morning after problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Ray Lee
On 7/29/07, Rene Herman [EMAIL PROTECTED] wrote: On 07/29/2007 04:58 PM, Ray Lee wrote: On 7/29/07, Rene Herman [EMAIL PROTECTED] wrote: Right over my head. Why does log-structure help anything? Log structured disk layouts allow for better placement of writeout, so that you cn eliminate

ttyS1: LSR safety check engaged! - misidentification?

2007-07-29 Thread Christian P. Schmidt
Hi all, Ever since Kernel 2.6.21(rc) or so I'm plagued with this message, disabling my serial ports that have been working perfectly from 2.6.14 till that day (and are still doing so, given that I continuously remove the code from the source). Actually I cannot blame the code, but it seems that

[2.6 patch] unexport fb_prepare_logo

2007-07-29 Thread Adrian Bunk
The logo code is not and should not be used by modules. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- --- linux-2.6.23-rc1-mm1/drivers/video/fbmem.c.old 2007-07-28 07:48:45.0 +0200 +++ linux-2.6.23-rc1-mm1/drivers/video/fbmem.c 2007-07-28 07:49:09.0 +0200 @@ -1653,7

acpi_battery_add(): use-after-free

2007-07-29 Thread Adrian Bunk
The Coverity checker spotted the following use-after-free in acpi_battery_add(): -- snip -- ... static int acpi_battery_add(struct acpi_device *device) { ... if (result) { acpi_battery_remove_fs(device); kfree(battery); }

[2.6 patch] drivers/scsi/scsi_error.c should #include scsi_transport_api.h

2007-07-29 Thread Adrian Bunk
Every file should #include the headers containing the prototypes for its global functions (in this case for scsi_schedule_eh()). Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- --- linux-2.6.23-rc1-mm1/drivers/scsi/scsi_error.c.old 2007-07-28 17:10:48.0 +0200 +++

[-mm patch] export v4l2_int_device_{,un}register

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: ... Changes since 2.6.22-rc6-mm1: ... git-dvb.patch ... git trees ... This patch fixes the following build error: -- snip -- ... MODPOST 2135 modules ERROR: v4l2_int_device_register [drivers/media/video/tcm825x.ko]

[-mm patch] kernel/pid.c: remove unused exports

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: ... Changes since 2.6.22-rc6-mm1: ... +pid-namespaces-define-is_global_init-and-is_container_init.patch ... pid namespaces ... This patch removes two unused exports. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] ---

[-mm patch] kernel/printk.c: make 2 variables static

2007-07-29 Thread Adrian Bunk
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: ... Changes since 2.6.22-rc6-mm1: ... +slow-down-printk-during-boot.patch ... Misc ... This patch makes two needlessly global variables static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- ---

[2.6 patch] drivers/usb/serial/sierra.c: make 3 functions static

2007-07-29 Thread Adrian Bunk
This patch makes three needlessly global functions static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/usb/serial/sierra.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) --- linux-2.6.23-rc1-mm1/drivers/usb/serial/sierra.c.old2007-07-26

Re: How can we make page replacement smarter

2007-07-29 Thread Rik van Riel
Alan Cox wrote: Files are different. File content tends to be grouped in large related chunks, both logically in the file and on disk. Generally there is a lot more file data on a system than what fits in memory. Binary paging patterns don't always look like that unfortunately although I

Re: RFT: updatedb morning after problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Rene Herman
On 07/29/2007 04:58 PM, Ray Lee wrote: On 7/29/07, Rene Herman [EMAIL PROTECTED] wrote: On 07/29/2007 03:12 PM, Alan Cox wrote: More radically if anyone wants to do real researchy type work - how about log structured swap with a cleaner ? Right over my head. Why does log-structure help

[2.6 patch] make nf_ct_ipv6_skip_exthdr() static

2007-07-29 Thread Adrian Bunk
nf_ct_ipv6_skip_exthdr() can now become static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- include/net/netfilter/ipv6/nf_conntrack_ipv6.h |3 --- net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c |4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) ---

[2.6 patch] make pktgen.c:get_ipsec_sa() static and non-inline

2007-07-29 Thread Adrian Bunk
Non-static inline code usually doesn't makes sense. In this case making is static and non-inline is the correct solution. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- --- linux-2.6.23-rc1-mm1/net/core/pktgen.c.old 2007-07-26 20:12:01.0 +0200 +++

Re: Reading a bad sector does not report failure as 'read error' but hangs PC with 'Machine Check Exception'

2007-07-29 Thread Robert Hancock
Hendrik . wrote: Last night I discovered a problem in my RAID5 array and finally after a lot of tests I narrowed it down to a bad sector on one of the hard disks and some goofy kernels. I just yesterday build a new PC using an existing array of 5 disks in RAID 5. I did build the array with only

Re: RFT: updatedb morning after problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Rene Herman
On 07/29/2007 05:20 PM, Ray Lee wrote: I understand what log structure is generally, but how does it help swapin? Look at the swap out case first. Right now, when swapping out the kernel places whatever it can wherever it can inside the swap space. The closer you are to filling your swap

Re: IRQF_DISABLED problem

2007-07-29 Thread Robert Hancock
David Miller wrote: From: Arjan van de Ven [EMAIL PROTECTED] Date: Fri, 27 Jul 2007 13:11:56 -0700 On Thu, 2007-07-26 at 16:17 -0700, Linus Torvalds wrote: On Thu, 26 Jul 2007, Linus Torvalds wrote: (c) one IRQF_DISABLED means that everything runs disabled. This is quite possibly

Re: [PATCH 0/3] core_pattern: cleaned up repost/continuing post of core_pattern enhancements

2007-07-29 Thread Martin Pitt
Hi Eugene, Eugene Teo [2007-07-29 21:03 +0800]: Also, it is probably good to think how we can drop privileges while piping the core dump output to an external program. A malicious user can potentially use it as a possible backdoor since anything that is executed by |program will

Re: 2.6.23-rc1-mm1 compile error in function `acpi_pci_choose_state':

2007-07-29 Thread Gabriel C
Berck E. Nash wrote: drivers/built-in.o: In function `acpi_pci_choose_state': pci-acpi.c:(.text+0xdccf): undefined reference to `acpi_pm_device_sleep_state' drivers/built-in.o: In function `pnpacpi_suspend': core.c:(.text+0x35a7c): undefined reference to `acpi_pm_device_sleep_state' This

Re: nvidia installer DIW with 2.6.23-rc1

2007-07-29 Thread Stefan Richter
Jan Engelhardt wrote: On Jul 29 2007 10:57, Gene Heskett wrote: /tmp/selfgz9678/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In function ‘nvidia_init_module’: /tmp/selfgz9678/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1326: error: too many arguments to function

Re: RFT: updatedb morning after problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Ray Lee
On 7/29/07, Rene Herman [EMAIL PROTECTED] wrote: On 07/29/2007 05:20 PM, Ray Lee wrote: This seems to be now fixing the different problem of swap-space filling up. I'm quite willing to for now assume I've got plenty free. I was trying to point out that currently, as an example, memory that is

Re: [2.6 patch] make kernel/power/main.c:suspend_enter() static

2007-07-29 Thread Rafael J. Wysocki
On Sunday, 29 July 2007 16:57, Adrian Bunk wrote: suspend_enter() can now become static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- Acked-by: Rafael J. Wysocki [EMAIL PROTECTED] kernel/power/main.c |2 +- kernel/power/power.h |1 - 2 files changed, 1 insertion(+), 2

Re: [lm-sensors] [2.6 patch] make abituguru3_read_increment_offset() static

2007-07-29 Thread Hans de Goede
Adrian Bunk wrote: abituguru3_read_increment_offset() can become static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Looks good, good catch. Acked-by: Hans de Goede [EMAIL PROTECTED] --- --- linux-2.6.23-rc1-mm1/drivers/hwmon/abituguru3.c.old 2007-07-26 08:56:33.0 +0200 +++

Re: TCP SACK issue, hung connection, tcpdump included

2007-07-29 Thread Willy Tarreau
On Sun, Jul 29, 2007 at 12:28:04PM +0300, Ilpo Järvinen wrote: (...) Limitation for 48 byte segments? You have to be kidding... :-) But yes, it seems that one of the directions is dropping packets for some reason though I would not assume MTU limitation... Or did you mean some other

[PATCH] ac97/ac97_codec.c: make 2 functions stacic

2007-07-29 Thread Mariusz Kozlowski
Hello, Fix sparc64 warnings. sound/pci/ac97/ac97_patch.h:86: warning: 'snd_ac97_restore_status' declared 'static' but never defined sound/pci/ac97/ac97_patch.h:87: warning: 'snd_ac97_restore_iec958' declared 'static' but never defined Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED]

Re: [PATCH] Fix compilation for non CONFIG_HOTPLUG case

2007-07-29 Thread Sergei Shtylyov
Hello. Niklaus Giger wrote: Fixes compilation issues for embedded boards which do not support HOTPLUG Signed-off-by: Niklaus Giger [EMAIL PROTECTED] diff --git a/drivers/base/core.c b/drivers/base/core.c index 3599ab2..a09bfc8 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@

Re: Reading a bad sector does not report failure as 'read error' but hangs PC with 'Machine Check Exception'

2007-07-29 Thread Hendrik .
HARDWARE ERROR CPU 0: Machine Check Exception: 4 Bank 4: b2070f0f TSC b7d4a144d0 This is not a software problem! Run through mcelog --ascii to decode and contact your hardware vendor Kernel panic - not syncing: Machine check You should run this through mcelog as it

Re: TCP SACK issue, hung connection, tcpdump included

2007-07-29 Thread Ilpo Järvinen
On Sun, 29 Jul 2007, Willy Tarreau wrote: On Sun, Jul 29, 2007 at 12:28:04PM +0300, Ilpo Järvinen wrote: [...snip...] BTW, some information are missing. It would have been better if the trace had been read with tcpdump -Svv. We would have got seq numbers and ttl. Also, we do not

Re: [Linux-usb-users] [REGRESSION] 2.6.23-rc1: uhci_hcd. irq 4: nobody cared

2007-07-29 Thread Mark Hindley
On Sun, Jul 29, 2007 at 11:19:47AM -0400, Alan Stern wrote: On Sun, 29 Jul 2007, Mark Hindley wrote: Hi, I have just tried 2.6.23-rc1 on my Acer Aspire 1350. On boot I get the following error as the uhci_hcd module is loaded: Jul 28 18:23:20 mercury kernel: ACPI: PCI Interrupt

Re: [PATCH] drivers/bluetooth/hci_ldisc.c: fix possible NULL dereferences

2007-07-29 Thread Marcel Holtmann
Hi Eugene, Commit 22ad42033b7d2b3d7928fba9f89d1c7f8a3c9581 did not completely fix all the possible NULL dereferences. Besides hci_uart_close(), we also need to make sure that hdev is valid before calling hci_{unregister,free}_dev(). I don't see any issue. Without HCI_UART_PROTO_SET, the

Re: [-mm patch] kernel/printk.c: make 2 variables static

2007-07-29 Thread Randy Dunlap
On Sun, 29 Jul 2007 16:59:18 +0200 Adrian Bunk wrote: On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: ... Changes since 2.6.22-rc6-mm1: ... +slow-down-printk-during-boot.patch ... Misc ... This patch makes two needlessly global variables static. Signed-off-by:

Re: [2.6 patch] unexport pm_power_off_prepare

2007-07-29 Thread Rafael J. Wysocki
On Sunday, 29 July 2007 16:59, Adrian Bunk wrote: This patch removes the unused EXPORT_SYMBOL(pm_power_off_prepare). Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Rafael J. Wysocki [EMAIL PROTECTED] --- --- linux-2.6.23-rc1-mm1/kernel/sys.c.old 2007-07-28 07:38:45.0

Re: [2.6 patch] drivers/base/power/: make 2 functions static

2007-07-29 Thread Rafael J. Wysocki
On Sunday, 29 July 2007 16:56, Adrian Bunk wrote: suspend_device() and resume_device() can now become static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- Acked-by: Rafael J. Wysocki [EMAIL PROTECTED] drivers/base/power/power.h |6 -- drivers/base/power/resume.c |2

checkpatch.pl false positive on exported pointers

2007-07-29 Thread Dan Williams
WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable #563: FILE: drivers/scsi/iioc34x/iioc34x_sas.c:58: +EXPORT_SYMBOL(iioc34x_transport_template); drivers/scsi/iioc34x/iioc34x_sas.c:57 struct scsi_transport_template *iioc34x_transport_template;

Re: RFT: updatedb morning after problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Rene Herman
On 07/29/2007 06:04 PM, Ray Lee wrote: I am very aware of the costs of seeks (on current magnetic media). Then perhaps you can just take it on faith -- log structured layouts are designed to help minimize seeks, read and write. I am particularly bad at faith. Let's take that stupid program

Re: [PATCH 01/10] Task Containers(V11): Basic task container framework

2007-07-29 Thread Paul Menage
On 7/26/07, YAMAMOTO Takashi [EMAIL PROTECTED] wrote: +Other fields in the container_subsys object include: +- hierarchy: an index indicating which hierarchy, if any, this + subsystem is currently attached to. If this is -1, then the + subsystem is not attached to any hierarchy, and all

[PATCH] Use ERESTARTNOHAND if poll() is interrupted by a signal

2007-07-29 Thread Manfred Spraul
Hi Andrew, poll() returns -EINTR if a signal is pending. EINTR is a bad choice: it means that poll returns to user space if the task is stopped by SIGSTOP/SIGCONT or by the freezer. select() and ppoll() both use ERESTARTNOHAND, this avoids a return to user space for signals that are handled by

Re: SD still better than CFS for 3d ?(was Re: 2.6.23-rc1)

2007-07-29 Thread Ingo Molnar
* Kasper Sandberg [EMAIL PROTECTED] wrote: Im still not so keen about this, Ingo never did get CFS to match SD in smoothness for 3d applications, where my test subjects are quake(s), world of warcraft via wine, unreal tournament 2004. [...] here's an update: checking whether Wine could be

Re: [PATCH] Fix compilation for non CONFIG_HOTPLUG case

2007-07-29 Thread Gabriel C
This problem is already fixed in -mm . http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm1/broken-out/gregkh-driver-kobject-fix-link-error-when-config_hotplug-is-disabled.patch Regards, Gabriel - To unsubscribe from this list: send the line unsubscribe

Re: RFT: updatedb morning after problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Ray Lee
On 7/29/07, Rene Herman [EMAIL PROTECTED] wrote: On 07/29/2007 06:04 PM, Ray Lee wrote: I am very aware of the costs of seeks (on current magnetic media). Then perhaps you can just take it on faith -- log structured layouts are designed to help minimize seeks, read and write. I am

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-29 Thread Kyle Moffett
On Jul 27, 2007, at 17:05:30, Jeff Garzik wrote: Bjorn Helgaas wrote: And couldn't we use udev to associate a fixed name with a MAC address? Then the user could use the same persistent name, regardless of the order in which the driver found the devices. I don't know about udev, but people

Re: TCP SACK issue, hung connection, tcpdump included

2007-07-29 Thread Darryl L. Miles
This is a reproducible problem (would take me between 30 mins and a day to reproduce it). Please feel free to provide me with tcpdump options to be sure I include to get the information you need. I've been informed there is no firewall at all, the only firewalling that takes place is the

Re: RFT: updatedb morning after problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Rene Herman
On 07/29/2007 07:19 PM, Ray Lee wrote: The program is not a real-world issue and if you do not consider it a useful boundary condition either (okay I guess), how would log structured swap help if I just assume I have plenty of free swap to begin with? Is that generally the case on your

[patch] sched: yield debugging

2007-07-29 Thread Ingo Molnar
Tim, * Tim Chen [EMAIL PROTECTED] wrote: Ingo, Volanomark slows by 80% with CFS scheduler on 2.6.23-rc1. Benchmark was run on a 2 socket Core2 machine. thanks for testing and reporting this! The change in scheduler treatment of sched_yield could play a part in changing Volanomark

Re: [ck] Re: Linus 2.6.23-rc1

2007-07-29 Thread Sam Ravnborg
On Sun, Jul 29, 2007 at 12:56:28PM +0200, Martin Steigerwald wrote: Am Sonntag 29 Juli 2007 schrieb Sam Ravnborg: I actually also think that the communication between Ingo and Con could have been better especially when Ingo decided to write CFS while Con was still working hard on SD.

Re: RFT: updatedb morning after problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Alan Cox
Is that generally the case on your systems? Every linux system I've run, regardless of RAM, has always pushed things out to swap. For me, it is generally the case yes. We are still discussing this in the context of desktop machines and their problems with being slow as things have been

[PATCH] ppc: chipsfb.c build fix for CONFIG_PM

2007-07-29 Thread Mariusz Kozlowski
Hello, This patch fixes the following build error on powerpc: CC drivers/video/chipsfb.o drivers/video/chipsfb.c: In function 'chipsfb_pci_suspend': drivers/video/chipsfb.c:461: error: 'PM_SUSPEND_MEM' undeclared (first use in this function) drivers/video/chipsfb.c:461: error:

Re: RFT: updatedb morning after problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Ray Lee
On 7/29/07, Rene Herman [EMAIL PROTECTED] wrote: On 07/29/2007 07:19 PM, Ray Lee wrote: For me, it is generally the case yes. We are still discussing this in the context of desktop machines and their problems with being slow as things have been swapped out and generally I expect a desktop to

Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports to platform devices - broke my serial console

2007-07-29 Thread Russell King
On Fri, Jul 27, 2007 at 12:16:59PM -0600, Bjorn Helgaas wrote: For example, 8250_pnp could have rules like COM1 should always be ttyS0 or a port at 0x3f8 should always be ttyS0. In which case register via the legacy ports first, and then register PNP ports. If the PNP ports correspond with

[PATCH] Reboot Dreamcast under software control

2007-07-29 Thread Adrian McMenamin
In the light of more up to date technical information I have discovered there is a register at physical address 0x005F6890 on the Dreamcast that if written a magic number (0x7611) will force a reboot under software control. Presumably a better option than the current catch-all mechanism.

ACPI on Averatec 2370

2007-07-29 Thread Frank Hale
I have an Averatec 2370 laptop with the nVidia MCP51. With kernel 2.6.20 I had no issues with ACPI however with 2.6.21 and higher the kernel will hang on boot until I press the suspend button or the power button in which case the kernel wakes up and finishes the boot process. Including the

Re: [linux-usb-devel] [PATCH] USB Pegasus driver - avoid a potential NULL pointer dereference.

2007-07-29 Thread Satyam Sharma
On Sun, 29 Jul 2007, Oliver Neukum wrote: Am Sonntag 29 Juli 2007 schrieb Jesper Juhl: On 29/07/07, Satyam Sharma [EMAIL PROTECTED] wrote: Hi, On 7/29/07, Jesper Juhl [EMAIL PROTECTED] wrote: Hello, This patch makes sure we don't dereference a NULL pointer in

Re: ACPI on Averatec 2370

2007-07-29 Thread Gabriel C
Frank Hale wrote: [ added linux-acpi to CC ] I have an Averatec 2370 laptop with the nVidia MCP51. With kernel 2.6.20 I had no issues with ACPI however with 2.6.21 and higher the kernel will hang on boot until I press the suspend button or the power button in which case the kernel wakes up

Re: [PATCH] sb1000: prevent a potential NULL pointer dereference in sb1000_dev_ioctl()

2007-07-29 Thread Satyam Sharma
On Sun, 29 Jul 2007, Domen Puncer wrote: On 29/07/07 00:02 +0200, Jesper Juhl wrote: Hi, Here's a small patch, prompted by a find by the Coverity checker, that removes a potential NULL pointer dereference from drivers/net/sb1000.c::sb1000_dev_ioctl(). The checker

Re: [ck] Re: Linus 2.6.23-rc1

2007-07-29 Thread Martin Steigerwald
Am Sonntag 29 Juli 2007 schrieb Sam Ravnborg: On Sun, Jul 29, 2007 at 12:56:28PM +0200, Martin Steigerwald wrote: Am Sonntag 29 Juli 2007 schrieb Sam Ravnborg: I actually also think that the communication between Ingo and Con could have been better especially when Ingo decided to

Fwd: [PATCH] Reboot Dreamcast under software control

2007-07-29 Thread Adrian McMenamin
Apologies. I meant to cc: this to the lists first time round and appear to have bcc'ed it instead. -- Forwarded message -- From: Adrian McMenamin [EMAIL PROTECTED] Date: 29-Jul-2007 19:04 Subject: [PATCH] Reboot Dreamcast under software control To: [EMAIL PROTECTED] In the light

Re: Sparc32 not working:2.6.23-rc1 (git commit 1e4dcd22efa7d24f637ab2ea3a77dd65774eb005)

2007-07-29 Thread Mark Fortescue
On Sun, 29 Jul 2007, Krzysztof Helt wrote: On Sun, 29 Jul 2007 00:21:06 +0100 (BST) Mark Fortescue [EMAIL PROTECTED] wrote: Hi Krzysztof, There have been lots of changes to the DMA system (git bisect is not viable form my working 2.6.22 kernel as the dma changes kill the build for over

Re: [ck] Re: Linus 2.6.23-rc1

2007-07-29 Thread Martin Steigerwald
Am Sonntag 29 Juli 2007 schrieb Diego Calleja: This time it was Con being the Mindcraft catalyst. But he's on *our* side and he got beat down by the Linux kernel community. That's the tragedy here. He was beaten down by the very people he was trying to help out and support. It should have

Re: nvidia installer DIW with 2.6.23-rc1

2007-07-29 Thread Mike Houston
On Sun, 29 Jul 2007 10:57:33 -0400 Gene Heskett [EMAIL PROTECTED] wrote: Greetings; I got around to building the 2.6.23-rc1 tree, updated to yesterday with git from the linus tree. The build was fairly clean, but when I rebooted to it, the latest nvidia installer fails, with these

Re: [ck] Re: Linus 2.6.23-rc1

2007-07-29 Thread Satyam Sharma
Hi Martin, On Sun, 29 Jul 2007, Martin Steigerwald wrote: Am Sonntag 29 Juli 2007 schrieb Sam Ravnborg: On Sun, Jul 29, 2007 at 12:56:28PM +0200, Martin Steigerwald wrote: Am Sonntag 29 Juli 2007 schrieb Sam Ravnborg: I actually also think that the communication between Ingo and

Re: [PATCH] Fix regression caused by typo in lm90.c

2007-07-29 Thread Mark M. Hoffman
Hi: On 7/26/2007, Guillaume Chazarain [EMAIL PROTECTED] wrote: diff -r 4cad6fced1a8 drivers/hwmon/lm90.c --- a/drivers/hwmon/lm90.c Thu Jul 26 13:44:58 2007 -0700 +++ b/drivers/hwmon/lm90.c Tue Jul 24 00:02:52 2007 +0200 @@ -585,7 +585,7 @@ static int lm90_detect(struct i2c_adapte

Re: [2.6 patch] kernel/audit.c: change the exports to EXPORT_SYMBOL_GPL

2007-07-29 Thread Arjan van de Ven
On Sun, 2007-07-29 at 17:02 +0200, Adrian Bunk wrote: This patch changes some completely unused audit exports from EXPORT_SYMBOL to EXPORT_SYMBOL_GPL. They are still completely unused, but hopefully some of the theoretical code that might use it will appear in the kernel in the near

Re: Reading a bad sector does not report failure as 'read error' but hangs PC with 'Machine Check Exception'

2007-07-29 Thread Hendrik .
Probably a similar problem is described in the linux-ide mailing list a while ago: http://www.opensubscriber.com/message/[EMAIL PROTECTED]/6490911.html Argh. I'm seeing a show stopper bug on sata_nv here. ata_exec_internal is MCE-ing on the READ_NATIVE_MAX_EXT command on both i386 and

Re: [PATCH] sb1000: prevent a potential NULL pointer dereference in sb1000_dev_ioctl()

2007-07-29 Thread Michael Buesch
On Sunday 29 July 2007 20:34:46 Satyam Sharma wrote: (2) !(dev-flags IFF_UP) is bogus because the functions of this ioctl can (and should) be allowed even when the interface is not up and running. Are you _sure_? This function does poke with the device hardware. It might return crap or even

Re: [lm-sensors] [2.6 patch] make abituguru3_read_increment_offset() static

2007-07-29 Thread Mark M. Hoffman
Hi: * Hans de Goede [EMAIL PROTECTED] [2007-07-29 18:08:46 +0200]: Adrian Bunk wrote: abituguru3_read_increment_offset() can become static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Looks good, good catch. Acked-by: Hans de Goede [EMAIL PROTECTED] --- ---

Re: [PATCH] sb1000: prevent a potential NULL pointer dereference in sb1000_dev_ioctl()

2007-07-29 Thread Satyam Sharma
Hi Michael, On Sun, 29 Jul 2007, Michael Buesch wrote: On Sunday 29 July 2007 20:34:46 Satyam Sharma wrote: (2) !(dev-flags IFF_UP) is bogus because the functions of this ioctl can (and should) be allowed even when the interface is not up and running. Are you _sure_? This function does

Re: ACPI on Averatec 2370

2007-07-29 Thread Frank Hale
Frank, can you try a non-SMP build with ACPI and see if you still have the problem? I certainly will, I never tried it without it so now I am curious. Thanks a bunch! - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: RFT: updatedb morning after problem [was: Re: -mm merge plans for 2.6.23]

2007-07-29 Thread Rene Herman
On 07/29/2007 07:52 PM, Ray Lee wrote: Shrug Well, that doesn't match my systems. My laptop has 400MB in swap: Which in your case is slightly more than 1/3 of available swap space. Quite a lot for a desktop indeed. And if it's more than a few percent fragmented, please fix current swapout

Re: ACPI on Averatec 2370

2007-07-29 Thread Cal Peake
On Sun, 29 Jul 2007, Gabriel C wrote: Frank Hale wrote: [ added linux-acpi to CC ] I have an Averatec 2370 laptop with the nVidia MCP51. With kernel 2.6.20 I had no issues with ACPI however with 2.6.21 and higher the kernel will hang on boot until I press the suspend button or the power

[PATCH] pci_ids: additional NFORCE MCP61 devices

2007-07-29 Thread Indrek Kruusa
This patch adds the following 7 Nforce devices: - LPC Bridge (MCP61_LPC_BRG) - Memory Controller (MCP61_MC1) - High Definition Audio (MCP61_HDA) - USB Controller (MCP61_OHCI) - USB Controller (MCP61_EHCI) - PCI bridge (MCP61_PCI_BRG) - Memory Controller (MCP61_MC2) to the pci_ids.h file.

<    1   2   3   4   5   6   7   8   >