BTRFS partition usage...

2008-02-11 Thread David Miller
Filesystems like ext2 put their superblock 1 block into the partition in order to avoid overwriting disk labels and other uglies. UFS does this too, as do several others. One of the few exceptions I've been able to find is XFS. This is a real issue on sparc where the default sun disk labels

Re: [PATCH] libata: Forcing PIO0 mode on reset must not freeze system

2008-02-11 Thread Tejun Heo
Holger Macht wrote: On a related note, shouldn't ata_acpi_handle_hotplug delete the device like what is done when doing echo 1 /sys/devices/.../block/sr0/device/delete Yeap, when the ata_acpi_handle_hotplug() was added, the focus was supporting hotplug when the controller itself doesn't

Re: REGRESSION: x86 vDSO: remove vdso-syms.o

2008-02-11 Thread Roland McGrath
Sam might want to experiment with something like: stdout_target = $(1) $(@D)/.tmp_$(@F) mv -f $(@D)/.tmp_$(@F) $@ cmd_foo = $(call stdout_target,blah | sed s/foo/bar/) to clean up all the places that would benefit from robust treatment for output files vs interrupted/erring

Re: [PATCH] [6/8] Account overlapped mappings in end_pfn_map

2008-02-11 Thread Andi Kleen
On Monday 11 February 2008 14:08:43 Ingo Molnar wrote: * Andi Kleen [EMAIL PROTECTED] wrote: When end_pfn is not aligned to 2MB (or 1GB) then the kernel might map more memory than end_pfn. Account this in end_pfn_mapped. can you see any practical relevance? Yes EFI needs to know

Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'

2008-02-11 Thread Sam Ravnborg
On Sun, Feb 10, 2008 at 04:47:43PM -0900, Mr. James W. Laferriere wrote: Hello All , grabbed using git just moments ago . make V=1 KBUILD_VERBOSE=1 INSTALL_PATH=/boot clean all install modules_install ...snip... make -f scripts/Makefile.clean obj=sound/usb/usx2y make -f

[PATCH - BUGFIX] Smack: Check for 'struct socket' with NULL sk

2008-02-11 Thread Ahmed S. Darwish
On Mon, Feb 11, 2008 at 07:26:02PM +0100, Joerg Platte wrote: Hi, when booting linux 2.6.25-rc1 I get the following error: BUG: unable to handle kernel NULL pointer dereference at 0138 IP: [c01aa59e] smack_netlabel+0x13/0xc8 *pde = Oops: [#1] PREEMPT Modules linked in:

Re: REGRESSION: x86 vDSO: remove vdso-syms.o

2008-02-11 Thread Roland McGrath
if that file is empty, it might be the effect of a Ctrl-C. I sometimes get that on .o files, if i Ctrl-C a highly parallel make -j at the wrong moment. (is this expected behavior? It's been like this for a long time.) It is the known situation with the compiler since the dawn of time, yes.

[PATCH] [1/1] CPA: Flush the caches when setting pages not present v2

2008-02-11 Thread Andi Kleen
The AMD64 pci-gart code sets pages not present to prevent cache coherency problems. When doing this it is safer to flush the caches too so that there are no cache lines left over from when the pages were still mapped. So consider clearing of the present bit as a cache flush indicator. Note

Re: [PATCH] libata: Forcing PIO0 mode on reset must not freeze system

2008-02-11 Thread Tejun Heo
Holger Macht wrote: It should be called via ata_acpi_{ap|dev}_notify() callbacks installed via acpi_install_notify_handler(). Can you add dump_stack() in the function and verify that it actually is being called? It could be that the method is called too late or libata takes too long to

Re: [PATCH] [6/8] Account overlapped mappings in end_pfn_map

2008-02-11 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: When end_pfn is not aligned to 2MB (or 1GB) then the kernel might map more memory than end_pfn. Account this in end_pfn_mapped. can you see any practical relevance? Your patch description only deals with the mechanical details of the change instead of

Re: [PATCH] [5/8] Fix logic error in 64bit memory hotadd

2008-02-11 Thread Andi Kleen
On Monday 11 February 2008 13:46:25 Ingo Molnar wrote: * Andi Kleen [EMAIL PROTECTED] wrote: The memory hotadd code assumes that the pud always exists already, but that might be not true. Allocate it if it isn't there. ok, this seems an like an ancient memory-hotplug bug. Yes. Does

Re: [PATCH] Silent compiler warning introduced by acea6852f32b8805e166d885ed7e9f0c7cd10d41 ([BLUETOOTH]: Move children of connection device to NULL before connection down.)

2008-02-11 Thread Stefan Richter
S.Çağlar Onur wrote: But you still not merged this one :), is there any problem exists or would you prefer this comes from with a subsystem tree I don't know exactly what Linus prefers, but I think the guidelines in Documentation/SubmittingPatches, sections Select e-mail destination and Select

Re: [PATCH] [5/8] Fix logic error in 64bit memory hotadd

2008-02-11 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: The memory hotadd code assumes that the pud always exists already, but that might be not true. Allocate it if it isn't there. ok, this seems an like an ancient memory-hotplug bug. Does anyone even use memory hotplug currently? Did you find this bug via

Re: [PATCH] [4/8] CPA: Fix set_memory_x for ioremap

2008-02-11 Thread Andi Kleen
Wrong. We do call __pa() on vmalloc ranges (which is a known uncleanliness that we intend to fix), AFAIK nobody does actually currently. Although I expect sooner or later someone will try since __ioremap() lost its pgprot argument that made it so powerful. Best would be probably to stick in

Re: [PATCH] Usbatm: convert heavy init dances to kthread API

2008-02-11 Thread Duncan Sands
Signed-off-by: Pavel Emelyanov [EMAIL PROTECTED] Tested-by: Duncan Sands [EMAIL PROTECTED] Signed-off-by: Duncan Sands [EMAIL PROTECTED] Thanks again for doing this! Best wishes, Duncan. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] quota: Turn quotas off when remounting read-only

2008-02-11 Thread Jan Kara
On Thu 07-02-08 22:27:27, Michael Tokarev wrote: Andrew Morton wrote: On Thu, 7 Feb 2008 15:37:21 +0100 Jan Kara [EMAIL PROTECTED] wrote: Turn off quotas before filesystem is remounted read only. Otherwise quota will try to write to read-only filesystem which does no good... We could

Re: [PATCH] [4/8] CPA: Fix set_memory_x for ioremap

2008-02-11 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: EFI currently calls set_memory_x() on potentially ioremapped addresses. This is problematic for several reasons: - The cpa code internally calls __pa on it which does not work for remapped addresses and will give some random result. Wrong. We do

if (2.6.24.1 capset bind9) bug()

2008-02-11 Thread Nick 'Zaf' Clifford
Please CC me on any/all replies After trying to upgrade to deal with the most recent security issue, I have encountered what has to either be me being very tired, or a kernel bug. After assuming that it was the former for 3 hours, I now conclude I'm more tired, and it has to be the latter.

lock_task_group_list() can be called from the atomic context

2008-02-11 Thread Denis V. Lunev
Hello, Ingo! I am seeing the following calltrace every day I am connecting to my test host by the gnome-panel: ssh -Y test.host gnome-terminal BUG: sleeping function called from invalid context at /home/den/src/linux-netns26/kernel/mutex.c:209 in_atomic():1, irqs_disabled():0 no locks held by

Re: [PATCH] libata: Forcing PIO0 mode on reset must not freeze system

2008-02-11 Thread Alan Cox
In the above example, even the reset sequence itself can cause hang if the hardware is implemented slightly differently. The reason why set_piomode() locks up but reset sequence doesn't is simple dumb luck. I think the proper fix is to tell libata to detach the cdrom before undocking. Just

Re: [LINUX-KERNEL] C++ in linux kernel

2008-02-11 Thread rohit h
On Feb 8, 2008 9:24 PM, Jan Engelhardt [EMAIL PROTECTED] wrote: On Feb 9 2008 00:14, Joonwoo Park wrote: 2008/2/8, rohit h [EMAIL PROTECTED]: Hi, I am a kernel newbie. I tried to insmod a C++ module containing classes, inheritance. I am getting 'unresolved symbol' error when I use

Re: [PATCH] libata: Forcing PIO0 mode on reset must not freeze system

2008-02-11 Thread Alan Cox
On Mon, Feb 11, 2008 at 11:04:46AM +0100, Holger Macht wrote: Wouldn't the proper fix be to call ata_acpi_handle_hotplug _somewhere_? (which is currently called nowhere AFAICS) I think so. The T61 at least generated ACPI dock and undock messages for IDE master/slaves and we can use those. --

parisc - error: 'VMALLOC_START' undeclared...

2008-02-11 Thread Domenico Andreoli
Hi, in building 2.6.25-rc1: CC arch/parisc/kernel/asm-offsets.s In file included from include/asm/pgtable.h:13, from arch/parisc/kernel/asm-offsets.c:36: include/linux/mm.h: In function 'is_vmalloc_addr': include/linux/mm.h:243: error: 'VMALLOC_START' undeclared (first

Re: udf regression: broken directory handling

2008-02-11 Thread Jan Kara
Hi, On Sun 10-02-08 11:48:17, Marcin Slusarz wrote: Current mainline has a problem with reading file list. Simple ls prints only 2 out of 8 files on my testing DVD. Reverting your patch udf: cleanup directory offset handling (af793295bf9ee92660f5e77d337b0493cea3f9b9) fixes the problem.

Re: [PATCH] [1/8] CPA: Fix gbpages support in try_preserve_lage_page

2008-02-11 Thread Andi Kleen
Ingo Molnar [EMAIL PROTECTED] writes: btw., v2.6.25-rc1 is not affected by this. Gbpages support is a still cooking feature only available in x86.git#mm, destined for .26, and even there it's default disabled and only available on Barcelona class hardware. (Some of these bits are upstream

Re: [PATCH 07/37] Security: De-embed task security record from task and use refcounting

2008-02-11 Thread James Morris
On Fri, 8 Feb 2008, David Howells wrote: Remove the temporarily embedded task security record from task_struct. Instead it is made to dangle from the task_struct::sec and task_struct::act_as pointers with references counted for each. ... These patches are kind of huge. +static int

[PATCH 7/8] Move backtrace tests to tests/

2008-02-11 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Move backtrace selftests to tests/ Signed-off-by: Ananth N Mavinakayanahalli [EMAIL PROTECTED] --- kernel/backtracetest.c | 48 kernel/Makefile|1 - lib/Kconfig.debug | 12

[PATCH 5/8] Move lkdtm to tests/

2008-02-11 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Move the lkdtm infrastructure to tests/ Signed-off-by: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Acked-by: Ankita Garg [EMAIL PROTECTED] --- drivers/misc/lkdtm.c | 345 --

[PATCH 4/8] Move rtmutex-tests to tests/

2008-02-11 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Move the rtmutex-tester infrastructure to tests/ Signed-off-by: Ananth N Mavinakayanahalli [EMAIL PROTECTED] --- kernel/rtmutex-tester.c | 442 kernel/Makefile |1 lib/Kconfig.debug

[PATCH 1/8] Create tests/ directory

2008-02-11 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Create a toplevel tests/ directory to house in-kernel subsystem specific tests. Thanks to Sam Ravnborg for the Makefile corrections. Signed-off-by: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Acked-by: Sam Ravnborg [EMAIL PROTECTED] ---

Re: [PATCH 06/37] Security: Separate task security context from task_struct

2008-02-11 Thread James Morris
On Fri, 8 Feb 2008, David Howells wrote: Separate the task security context from task_struct. At this point, the security data is temporarily embedded in the task_struct with two pointers pointing to it. Alpha needs further alteration as it refers to UID GID in entry.S via asm offsets.

Re: [PATCH] slob: fix linking for user mode linux

2008-02-11 Thread Pekka Enberg
Jeff Dike wrote: UML defined its own external __kmalloc and things. Isnt there some other way to fix it? I guess including slab.h is not possible here? It would be an annoyance to reintroduce um_kmalloc, but that might be the best thing to do here. I'm ok with that as long as we get this

Re: [PATCH] sys_remap_file_pages: fix -vm_file accounting

2008-02-11 Thread Oleg Nesterov
Sorry for delay, On 02/06, Hugh Dickins wrote: On Sun, 3 Feb 2008, Oleg Nesterov wrote: Off-topic question to all. sys_remap_file_pages() doesn't work with shared readonly mappings, why? Slight correction: it works with shared readonly mappings, doesn't it, so long as the mmap'ed file

Re: 2.6.24-git2: Oracle 11g VKTM process enters R state on startup and is unkillable [still broken in 2.6.25-rc1]

2008-02-11 Thread Ingo Molnar
* Ingo Molnar [EMAIL PROTECTED] wrote: no, they were not lost, they just didnt pass QA here (they crashed on a particularly hard to debug 8-way box i have) and Peter worked on that queue of fixes up until today to get it really correct. Could you check:

List: linux-hotplug - how to debug udev

2008-02-11 Thread sacarde
Hi, I have a problem with udev rule, and I try to debug udev variables this is the question: how can I view udev variables value ? for examples: what is value of: BUS SYSFS{idProduct} SYSFS{idVendor} when I insert my stick-usb wireless ? thank you [EMAIL PROTECTED] -- To

Re: [PATCH] ftrace: remove unused tracing_sched_switch_enabled

2008-02-11 Thread Ingo Molnar
* Eugene Teo [EMAIL PROTECTED] wrote: quote sender=Eugene Teo tracing_sched_switch_enabled isn't used anywhere. Signed-off-by: Eugene Teo [EMAIL PROTECTED] Sorry, I forgot to remove the variable declaration. Here's a resend: tracing_sched_switch_enabled isn't used anywhere.

Re: [PATCH][RESEND] drivers/base: export (un)register_memory_notifier

2008-02-11 Thread Dave Hansen
On Mon, 2008-02-11 at 10:49 +0100, Jan-Bernd Themann wrote: are you the right person to address this patch to? You might want to check the top of the file. ;) --- a/drivers/base/memory.c +++ b/drivers/base/memory.c @@ -52,11 +52,13 @@ int register_memory_notifier(struct notifier_block *nb)

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-11 Thread David Miller
From: Arjan van de Ven [EMAIL PROTECTED] Date: Mon, 11 Feb 2008 21:17:51 -0800 this is why you need specific trees for just the API change API trees don't work, just like other changes they will have interdependencies on things like fixups, cleanups, etc. This is why, with the networking,

Re: Integration of SCST in the mainstream Linux kernel

2008-02-11 Thread Vladislav Bolkhovitin
Luben Tuikov wrote: Is there an open iSCSI Target implementation which does NOT issue commands to sub-target devices via the SCSI mid-layer, but bypasses it completely? What do you mean? To call directly low level backstorage SCSI drivers queuecommand() routine? What are advantages of

Re: [rtc-linux] [patch 2.6.24-git] rtc: avoid legacy drivers with generic framework

2008-02-11 Thread Alessandro Zummo
On Sun, 10 Feb 2008 12:08:19 -0800 David Brownell [EMAIL PROTECTED] wrote: Kconfig tweaks to help reduce RTC configuration bugs, by avoiding legacy RTC drivers when the generic RTC framework is enabled: - If rtc-cmos is selected, disable the legacy rtc driver; - When using generic RTC

[patch 1/3] change clone_flags type to u64

2008-02-11 Thread clg
From: Cedric Le Goater [EMAIL PROTECTED] This is a preliminary patch changing the clone_flags type to 64bits for all the routines called by do_fork(). It prepares ground for the next patch which introduces an enhanced version of clone() supporting 64bits flags. This is work in progress. All

[patch 0/3] clone64() and unshare64() syscalls

2008-02-11 Thread clg
yet another try to extend the clone flags and probably not the last ! This patchset adds 2 new syscalls : long sys_clone64(unsigned long flags_high, unsigned long flags_low, unsigned long newsp); long sys_unshare64(unsigned long flags_high, unsigned long flags_low);

[PATCH] [8/8] CPA: Add statistics about state of direct mapping

2008-02-11 Thread Andi Kleen
Add information about the mapping state of the direct mapping to /proc/meminfo. This way we can see how many large pages are really used for it. Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86/mm/init_32.c |2 ++ arch/x86/mm/init_64.c |2 ++ arch/x86/mm/pageattr.c

[PATCH] [7/8] CPA: Don't flush caches on CPUs that support self-snoop

2008-02-11 Thread Andi Kleen
[2.6.25 candidate I believe] The specification of SS in the public manuals is a little unclear, but I got confirmation from Intel that SS implies that there is no cache flush needed on caching attribute changes. Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86/mm/pageattr.c |

[PATCH] [5/8] CPA: Move pool allocation/free into separate functions

2008-02-11 Thread Andi Kleen
Following up the previous ifdef patch this moves the pool allocation/free code into separate functions. Minor drawback is that the pgd_lock is now taken more times (this was needed to separate the with/without DEBUG_PAGEALLOC cases cleanly), but the additional lock only hits in the

[PATCH] [3/8] CPA: Fix some incorrect comments in the debug pagealloc code

2008-02-11 Thread Andi Kleen
Even with the pool cpa in debug_pagealloc can fail (e.g. consider memory hotplug) Also the code does not clear PSE anymore as the comment claims. Replace wrong comment with correct one. Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86/mm/pageattr.c |5 + 1 file changed, 1

[PATCH] [1/8] CPA: Remove my copyright notice

2008-02-11 Thread Andi Kleen
Not much left from the original code and I don't want my name on it because there is code in there I disagree with. I don't think any of the Ben inspired code is left in there either, but I left his name in for now. Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86/mm/pageattr.c |

[PATCH] [0/8] Misc CPA patchkit

2008-02-11 Thread Andi Kleen
(relative to git-x86#mm 05afd57b4438d4650d93e6f54f465b0cdd2d9ea8) They should be all safe/useful enough to be considered .25 candidates. Some minor features for pageattr.c: - Use less memory in the !DEBUG_PAGEALLOC case (second patch for that is just a optional cleanup) - Support CPU self

Re: scsi/arm/fas216.c compile error

2008-02-11 Thread Boaz Harrosh
On Mon, Feb 11 2008 at 0:44 +0200, James Bottomley [EMAIL PROTECTED] wrote: On Sun, 2008-02-10 at 22:02 +, Russell King wrote: On Sun, Feb 10, 2008 at 08:20:24AM -0600, James Bottomley wrote: On Sun, 2008-02-10 at 13:58 +, Russell King wrote: On Sun, Feb 10, 2008 at 03:07:09PM +0200,

Re: [PATCH] [1/8] CPA: Fix gbpages support in try_preserve_lage_page

2008-02-11 Thread Thomas Gleixner
On Mon, 11 Feb 2008, Andi Kleen wrote: Use correct page sizes and masks for GB pages in try_preserve_large_page() This prevents a boot hang on a GB capable system with CONFIG_DIRECT_GBPAGES enabled. Doh, yes. Applied. Thanks, tglx Signed-off-by: Andi Kleen [EMAIL PROTECTED]

[PATCH] [7/8] Implement true end_pfn_mapped for 32bit

2008-02-11 Thread Andi Kleen
Even on 32bit 2MB pages can map more memory than is in the true max_low_pfn if end_pfn is not highmem and not aligned to 2MB. Add a end_pfn_map similar to x86-64 that accounts for this fact. This is important for code that really needs to know about all mapping aliases. Needed for followup

[PATCH] [5/8] Fix logic error in 64bit memory hotadd

2008-02-11 Thread Andi Kleen
The memory hotadd code assumes that the pud always exists already, but that might be not true. Allocate it if it isn't there. Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- arch/x86/mm/init_64.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) Index:

[PATCH] [0/8] Various kernel mapping bug fixes

2008-02-11 Thread Andi Kleen
Relative to git-x86#mm 05afd57b4438d4650d93e6f54f465b0cdd2d9ea8) The first bug fix is the most important one -- it fixes a boot hang on gbpages systems -- the rest is for random issues I found while looking at the code. Several are related to EFI (see caveats in the descriptions), which looks

[PATCH] [2/8] CPA: Flush the caches when setting pages not present

2008-02-11 Thread Andi Kleen
e.g. the AMD64 pci-gart code sets pages not present to prevent potential cache coherency problems. When doing this it is probably safer to flush the caches too. So consider clearing of the present bit as a cache flush indicator. Note that debug pagealloc marks pages regularly not present

Documentation about sysfs/procfs entries (resent due to errors)

2008-02-11 Thread Peter Teoh
I was looking for documentation on the kstack_depth_to_print under /proc/sys/kernel, and I found it in Documentation/sysctl.txt (written by Rik). How about /proc/sys/net? or all other directories under /sys or /proc fs? Wouldn't it be useful to have a centralized store located in

[PATCH] [RESENDING] netconsole: register cmdline netconsole configs to configfs

2008-02-11 Thread Joonwoo Park
This patch intorduces cmdline netconsole configs to register to configfs with dynamic netconsole. Satyam Sharma who designed shiny dynamic reconfiguration for netconsole, mentioned about this issue already. (http://lkml.org/lkml/2007/7/29/360) But I think, without separately managing of two kind

[PATCH 1/2] [RESENDING] fs/dlm: get rid of unnecessary initialization

2008-02-11 Thread Joonwoo Park
default_groups was allocated with kcalloc, so initialize to NULL is unnecessary. Signed-off-by: Joonwoo Park [EMAIL PROTECTED] --- fs/dlm/config.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/dlm/config.c b/fs/dlm/config.c index c3ad1df..2b96428 100644 ---

Re: [PATCH] proc: extend /proc/pid/fdinfo/fd

2008-02-11 Thread Miklos Szeredi
On Sat, 2008-02-09 at 20:01 +0800, Eugene Teo wrote: This patch extends /proc/pid/fdinfo/fd to report information about open files, and pathname. This information can be useful to know when debugging an application. For each file descriptor, the information is provided in the following

Re: I/O collisions w/ hwmon/it87.c and watchdog/it8712f_wdt.c? (Super I/O chips in general..)

2008-02-11 Thread Jean Delvare
Hi Andrew, On Sun, 10 Feb 2008 16:04:25 -0500, Andrew Paprocki wrote: I'm interested in expanding the current support for the it87 Super I/O chip to provide access to more of its capabilities. I started by looking at two existing drivers which talk to different parts of the chip. Maybe I'm

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-11 Thread David Miller
From: Theodore Tso [EMAIL PROTECTED] Date: Tue, 12 Feb 2008 00:11:36 -0500 __deprecate the old one, Deprecate is garbage, shit hangs around in the tree forever and people just turn off the warnings. Clean sweeps work much better, albeit with some merge pain, we'll cope. -- To unsubscribe from

Re: [PATCH] Configure out DMI scanning code

2008-02-11 Thread Thomas Petazzoni
Hi Matt, Thanks for your review. Le Mon, 11 Feb 2008 13:01:18 -0600, Matt Mackall [EMAIL PROTECTED] a écrit : Looks ok. Please preserve original authorship (ie me) in some fashion in your description. Andrew seems to already have picked up the patch in -mm (I received an e-mail +

Re: [PATCH] [1/5] Only do century BCD conversion when we know the RTC is BCD

2008-02-11 Thread Thomas Gleixner
On Sat, 9 Feb 2008, Andi Kleen wrote: Minor logic fix. The century change was previously always BCD, even when the CMOS data would report itself not being BCD. I checked that whole rtc / BCD logic again. We always set RTC_ALWAYS_BCD: #ifndef RTC_PORT #define RTC_PORT(x)(0x70 + (x))

[PATCH 4/3] Documentation: Remove references to FASTCALL/fastcall

2008-02-11 Thread Harvey Harrison
An example function prototype and description of options that modify how arguments are passed had references to fastcall. Signed-off-by: Harvey Harrison [EMAIL PROTECTED] --- Andrew, I don't have the knowledge to deal with the rcupdate.c wrapper function, hopefully Paul will be able to have a

Re: Scheduler(?) regression from 2.6.22 to 2.6.24 for short-lived threads

2008-02-11 Thread Mike Galbraith
On Sun, 2008-02-10 at 01:00 -0600, Olof Johansson wrote: On Sun, Feb 10, 2008 at 07:15:58AM +0100, Willy Tarreau wrote: I agree that the testcase is highly artificial. Unfortunately, it's not uncommon to see these kind of weird testcases from customers tring to evaluate new hardware.

Re: Linux 2.6.25-rc1

2008-02-11 Thread Brice Goglin
Linus Torvalds wrote: - Lots of cleanups from the x86 merge (making more and more use of common files), but also the big page attribute stuff is in and caused a fair amount of churn, and while most of the issues should have been very obvious and all got fixed, this is definitely

Re: [PATCH] fib_trie: rcu_assign_pointer warning fix

2008-02-11 Thread David Miller
From: Paul E. McKenney [EMAIL PROTECTED] Date: Mon, 11 Feb 2008 17:27:41 -0800 On Mon, Feb 11, 2008 at 04:59:54PM -0800, Stephen Hemminger wrote: Eliminate warnings when rcu_assign_pointer is used with unsigned long. It is reasonable to use RCU with non-pointer values so allow it for general

[PATCH] ide: Add missing base addresses for falconide and macide

2008-02-11 Thread Geert Uytterhoeven
commit 29dd59755a849cc6475faa6a75f3b804e23a6fc2 (ide: remove ide_setup_ports) forgot to take into account the base addresses for the CONTROL registers for falconide and macide, as pointed out by Michael Schmitz. Falconide was tested on Aranym. Signed-off-by: Geert Uytterhoeven [EMAIL PROTECTED]

Re: [PATCH for 2.6.24][regression fix] Mempolicy: silently restrict nodemask to allowed nodes V3

2008-02-11 Thread David Rientjes
On Tue, 12 Feb 2008, KOSAKI Motohiro wrote: [PATCH] 2.6.24 - mempolicy: silently restrict nodemask to allowed nodes Linus has already merged this patch into his tree, but next time you pass along a contribution to a maintainer the first line should read: From: Lee Schermerhorn [EMAIL

Re: [-mm PATCH] register_memory/unregister_memory clean ups

2008-02-11 Thread Badari Pulavarty
On Mon, 2008-02-11 at 11:48 -0800, Andrew Morton wrote: On Mon, 11 Feb 2008 09:23:18 -0800 Badari Pulavarty [EMAIL PROTECTED] wrote: Hi Andrew, While testing hotplug memory remove against -mm, I noticed that unregister_memory() is not cleaning up /sysfs entries correctly. It also

Re: [RFC][PATCH 00/30] Read-only bind mounts (-mm resend)

2008-02-11 Thread Christoph Hellwig
On Fri, Feb 08, 2008 at 02:26:41PM -0800, Dave Hansen wrote: This is against current Linus git (a4ffc0a0b240a29cbe489f6db9dae112a49ef1c1). This rolls up all the -mm bugfixes that were accumulated, and addresses some new review comments from Al. Also contains some reworking from hch and a

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-11 Thread Trond Myklebust
On Mon, 2008-02-11 at 20:31 -0800, Arjan van de Ven wrote: in my experience, the only chance you have is doing API changes as first in the set of changes, and then hoping (making) all other trees use the new APIs. Any other order just turns into an impossible mismash. It would be very

Re: [GIT PATCH] final SCSI updates for 2.6.24 merge window

2008-02-11 Thread Harvey Harrison
On Fri, 2008-02-08 at 10:37 -0600, James Bottomley wrote: On Fri, 2008-02-08 at 10:03 +0100, Geert Uytterhoeven wrote: On Thu, 7 Feb 2008, James Bottomley wrote: On Thu, 2008-02-07 at 17:04 -0800, Harvey Harrison wrote: I'm going to guess that this is the entry in feature-removal.txt

[PATCH] slub: kmalloc page allocator pass-through cleanup

2008-02-11 Thread Pekka J Enberg
From: Pekka Enberg [EMAIL PROTECTED] This adds a proper function for kmalloc page allocator pass-through. While it simplifies any code that does slab tracing code a lot, I think it's a worthwhile cleanup in itself. Signed-off-by: Pekka Enberg [EMAIL PROTECTED] --- include/linux/slub_def.h |

Re: [PATCH 8/8] Re-enable msgmni automatic recomputing msgmni if set to negative

2008-02-11 Thread Andrew Morton
On Mon, 11 Feb 2008 15:16:54 +0100 [EMAIL PROTECTED] wrote: [PATCH 08/08] This patch is the enhancement as asked for by Yasunori: if msgmni is set to a negative value, register it back into the ipcns notifier chain. A new interface has been added to the notification mechanism:

Re: [-mm PATCH] register_memory/unregister_memory clean ups

2008-02-11 Thread Greg KH
On Mon, Feb 11, 2008 at 11:48:18AM -0800, Andrew Morton wrote: On Mon, 11 Feb 2008 09:23:18 -0800 Badari Pulavarty [EMAIL PROTECTED] wrote: Hi Andrew, While testing hotplug memory remove against -mm, I noticed that unregister_memory() is not cleaning up /sysfs entries correctly. It

Re: 2.6.25-rc1, weird build error

2008-02-11 Thread Ingo Molnar
* Roland McGrath [EMAIL PROTECTED] wrote: LD init/built-in.o distcc[12023] ERROR: compile (null) on localhost failed make: *** [vmlinux.o] Error 1 That message sure looks to me like it could only be a distcc bug. ok - but it never occured before. Ingo -- To unsubscribe

Re: [PATCH] Remove CONFIG_FORCE_INLINING from defconfigs

2008-02-11 Thread Harvey Harrison
On Mon, 2008-02-11 at 22:53 +0200, Adrian Bunk wrote: On Mon, Feb 11, 2008 at 12:29:06PM -0800, Harvey Harrison wrote: Option has been removed as of: 185c045c245f46485ad8bbd8cc1100e986ff3f13 x86, core: remove CONFIG_FORCED_INLINING ... I'm not a fan of patching defconfig's this way -

Re: 2.6.24-git20 -- BUG: sleeping function called from invalid context at include/asm/uaccess_32.h:449

2008-02-11 Thread Miles Lane
Excellent. Your patch fixed it for me. Thanks, Miles -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [patch 1/4] mempolicy: convert MPOL constants to enum

2008-02-11 Thread Christoph Lameter
On Mon, 11 Feb 2008, David Rientjes wrote: The second paragraphs seems to indicate that such an approach does not work since we also use MPOL_xx constants to set flags in the memory policies? Not sure I'm understanding your question, sorry. Mempolicy modes have always been int

Re: if (2.6.24.1 capset bind9) bug()

2008-02-11 Thread serge
Quoting Nick 'Zaf' Clifford ([EMAIL PROTECTED]): Please CC me on any/all replies After trying to upgrade to deal with the most recent security issue, I Judging by the 2.6.24.2 changelog I don't think the 2.6.24.1 kernel you grabbed has the fix you're looking for... have encountered what has

Re: [RFC PATCH] RTTIME watchdog timer proc interface

2008-02-11 Thread Alexey Dobriyan
On Mon, Feb 11, 2008 at 10:52:47PM +0100, Peter Zijlstra wrote: On Mon, 2008-02-11 at 13:44 -0800, Hiroshi Shimamoto wrote: Hi Ingo, I think an interface to access RLIMIT_RTTIME from outside is useful. It makes administrator able to set RLIMIT_RTTIME watchdog to existing real-time

Re: raw_pci_read in quirk_intel_irqbalance

2008-02-11 Thread Grant Grundler
On Mon, Feb 11, 2008 at 09:18:49AM -0800, Linus Torvalds wrote: I put it in the commit message, but it wasn't on page 34 when I checked (I changed it to 69), Sorry - page 34 was just the first reference to Extended Configuration Registers when I originally scrounged up the info for willy. Page

Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'

2008-02-11 Thread Mr. James W. Laferriere
Hello Sam , On Mon, 11 Feb 2008, Sam Ravnborg wrote: On Sun, Feb 10, 2008 at 04:47:43PM -0900, Mr. James W. Laferriere wrote: Hello All , grabbed using git just moments ago . make V=1 KBUILD_VERBOSE=1 INSTALL_PATH=/boot clean all install modules_install ...snip... make -f

[BUID_FAILURE] regression from 2.6.24-git18 to 2.6.25-rc1-git1 on section type conflict psmouse-base

2008-02-11 Thread Kamalesh Babulal
This build failure is seen on the powerpc from the 2.6.24-git18 kernel and is still visible in the 2.6.25-rc1-git1. drivers/input/mouse/psmouse-base.c:44: error: __param_proto causes a section type conflict drivers/input/mouse/psmouse-base.c:44: error: __param_proto causes a section type

Re: [PATCH?][arch/parisc/kernel/pci-dma.c] pcxl_dma_ops.alloc_noncoherent = pa11_dma_alloc_consistent?

2008-02-11 Thread Kyle McMartin
On Mon, Feb 11, 2008 at 05:23:33PM +0100, Roel Kluin wrote: How about just doing something like this: diff --git a/arch/parisc/kernel/pci-dma.c b/arch/parisc/kernel/pci-dma.c index 9448d4e..63f9b7f 100644 --- a/arch/parisc/kernel/pci-dma.c +++ b/arch/parisc/kernel/pci-dma.c @@ -409,7 +409,7 @@

Re: [PATCH?][arch/parisc/kernel/pci-dma.c] pcxl_dma_ops.alloc_noncoherent

2008-02-11 Thread Kyle McMartin
On Mon, Feb 11, 2008 at 07:56:10PM +0100, Roel Kluin wrote: +/* + * dma_alloc_noncoherent is a fallback for boxes PA7200 and below which + * cannot allocate coherent memory. + */ static void *pa11_dma_alloc_noncoherent(struct device *dev, size_t size,

Re: [patch 1/4] mempolicy: convert MPOL constants to enum

2008-02-11 Thread Andi Kleen
On Monday 11 February 2008 16:30:32 David Rientjes wrote: The mempolicy mode constants, MPOL_DEFAULT, MPOL_PREFERRED, MPOL_BIND, and MPOL_INTERLEAVE, are better declared as part of an enum for type checking. What type checking? There is none in standard C for enums. -Andi -- To unsubscribe

Re: [PATCH 1/8] LinuxPPS core support.

2008-02-11 Thread Rodolfo Giometti
On Mon, Feb 11, 2008 at 07:31:53PM +0100, Rodolfo Giometti wrote: Do you think is better create these files anyway and in case report a NULL string? Is that ok? /* * Attribute functions */ static ssize_t pps_show_assert(struct device *dev, struct

[PATCH 1/3] include/linux: Remove all users of FASTCALL() macro

2008-02-11 Thread Harvey Harrison
FASTCALL() is always expanded to empty, remove it. Signed-off-by: Harvey Harrison [EMAIL PROTECTED] --- Andrew, FASTCALL is never defined to anything but empty, remove it. include/linux/aio.h| 20 ++-- include/linux/buffer_head.h|6 +++---

[PATCH] [RFC] Smack: unlabeled outgoing ambient packets - v2

2008-02-11 Thread Casey Schaufler
From: Casey Schaufler [EMAIL PROTECTED] Smack uses CIPSO labeling, but allows for unlabeled packets by specifying an ambient label that is applied to incoming unlabeled packets. Because the other end of the connection may dislike IP options, and ssh is one know application that behaves thus, it

Re: [PATCH] Prevent IDE boot ops on NUMA system in mainline

2008-02-11 Thread Andi Kleen
On Mon, Feb 11, 2008 at 09:33:14AM -0800, Linus Torvalds wrote: On Mon, 11 Feb 2008, Andi Kleen wrote: Without this patch a Opteron test system here oopses at boot with currentg git. Calling to_pci_dev() on a NULL pointer gives a negative value so the following NULL

Re: [PATCH] Configure out DMI scanning code

2008-02-11 Thread Andrew Morton
On Tue, 12 Feb 2008 08:33:23 +0100 Thomas Petazzoni [EMAIL PROTECTED] wrote: If I resend a new one with proper credits, will Andrew pick it up and replace the old version by the new version ? yup. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: bug in checkpatch (on pointers to typedefs?)

2008-02-11 Thread Marcin Slusarz
On Mon, Feb 11, 2008 at 10:23:39AM +, Andy Whitcroft wrote: On Sun, Feb 10, 2008 at 03:33:02PM +0100, Marcin Slusarz wrote: Hi Checkpatch in current mainline outputs following errors: $ ./scripts/checkpatch.pl -q --file ./fs/udf/misc.c ERROR: need consistent spacing around '*'

Re: Announce: Linux-next (Or Andrew's dream :-))

2008-02-11 Thread Arjan van de Ven
On Mon, 11 Feb 2008 22:02:22 -0800 (PST) David Miller [EMAIL PROTECTED] wrote: From: Theodore Tso [EMAIL PROTECTED] Date: Tue, 12 Feb 2008 00:11:36 -0500 __deprecate the old one, Deprecate is garbage, shit hangs around in the tree forever and people just turn off the warnings. Clean

[PATCH] sound: opl3: Fix up opl3_synth build.

2008-02-11 Thread Paul Mundt
opl3 breaks allmodconfig in current git: sound/drivers/opl3/opl3_synth.c: In function `snd_opl3_find_patch': sound/drivers/opl3/opl3_synth.c:308: error: `OPL3_PATCH_HASH_SIZE' undeclared (first use in this function) sound/drivers/opl3/opl3_synth.c:308: error: (Each undeclared identifier is

Re: [PATCH] [7/8] CPA: Don't flush caches on CPUs that support self-snoop

2008-02-11 Thread Andi Kleen
On Monday 11 February 2008 18:36:06 Siddha, Suresh B wrote: On Mon, Feb 11, 2008 at 04:27:23PM +0100, Andi Kleen wrote: That is exactly the situation in pageattr.c. You're saying the manual is wrong here? I'm saying that we are not following step 2 (marking the pages not

Re: [REGRESSION]fan turns at highspeed after suspend2ram

2008-02-11 Thread Rafael J. Wysocki
On Monday, 11 of February 2008, Mirco Tischler wrote: Can you send me the output of acpidump from your system, please? I atach the output. BTW, does the kernel compile for you after reverting this patch? Rafael Yes, the kernel still compiles and runs on 2.6.25-rc1 with the commit

Re: [-mm PATCH] register_memory/unregister_memory clean ups

2008-02-11 Thread Greg KH
On Mon, Feb 11, 2008 at 09:23:18AM -0800, Badari Pulavarty wrote: Hi Andrew, While testing hotplug memory remove against -mm, I noticed that unregister_memory() is not cleaning up /sysfs entries correctly. It also de-references structures after destroying them (luckily in the code which

Re: Latest kernel doesn't boot

2008-02-11 Thread Jason Fleischli
On Sat, 2008-02-09 at 19:39 +0100, Thomas Meyer wrote: H. Peter Anvin schrieb: Thomas Meyer wrote: H. Peter Anvin schrieb: Thomas Meyer wrote: I can not revert the commit e429795c68d3001ecae74f6465420c9f043b0ece. it gave me errors. but i'm also not sure what could be wrong with

Re: [2.6.24 REGRESSION] BUG: Soft lockup - with VFS

2008-02-11 Thread Pete Zaitcev
On Tue, 12 Feb 2008 10:46:12 +0900, FUJITA Tomonori [EMAIL PROTECTED] wrote: On a serious note, it seems that two scatter lists per request leaded to this bug. Can the scatter list in struct ub_request be removed? Good question. It's an eyesore to be sure. The duplication exists for the sake

<    1   2   3   4   5   6   7   8   9   10   >