Re: [RFC] Tracking mlocked pages and moving them off the LRU

2007-02-07 Thread Christoph Lameter
On Tue, 6 Feb 2007, Nate Diller wrote: > > The dirty ratio with the ZVCS would be > > > > NR_DIRTY + NR_UNSTABLE_NFS > > / > > NR_FREE_PAGES + NR_INACTIVE + NR_ACTIVE + NR_MLOCK > > I don't understand why you want to account mlocked pages in > dirty_ratio. of course mlocked pages *can*

Re: [PATCH] backlight control for Frontpath ProGear HX1050+

2007-02-07 Thread Marcin Juszkiewicz
Dnia wtorek, 6 lutego 2007 20:26, Richard Purdie napisaƂ: > On Tue, 2007-02-06 at 14:30 +0100, Marcin Juszkiewicz wrote: > > Add control of LCD backlight for Frontpath ProGear HX1050+. > > Patch is based on > > http://downloads.sf.net/progear/progear-lcd-0.2.tar.gz driver by M > > Schacht. > This

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Christoph Lameter
On Wed, 7 Feb 2007, KAMEZAWA Hiroyuki wrote: > > Hmmm... Remove the node from the node_online_map instead? > > > Changing defintion of node_online_map is harmfil. (there are cpu-only-nodes.) > How about adding nodemask for nodes equips memory ? Ok that is better but... Would it be possible to

[patch] KVM, hotplug: export register_cpu_notifier

2007-02-07 Thread Ingo Molnar
Subject: [patch] KVM, hotplug: export register_cpu_notifier From: Ingo Molnar <[EMAIL PROTECTED]> KVM-trunk uses register_cpu_notifier() but it's a module and we only export this if CONFIG_HOTPLUG_CPU. Export it otherwise too. Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> --- kernel/cpu.c |

Re: [patch 1/3 take2] smaps: extract pte walker from smaps code

2007-02-07 Thread Christoph Lameter
On Tue, 6 Feb 2007, David Rientjes wrote: > Extracts the page table entry walker from the smaps-specific code in > fs/proc/task_mmu.c. This will be used later for clearing the reference > bits on pages to measure the number of pages accessed over a time period > through /proc/pid/smaps. Clearing

Re: [IA64] swiotlb abstraction (e.g. for Xen)

2007-02-07 Thread Christoph Hellwig
On Wed, Feb 07, 2007 at 07:59:18AM +, Linux Kernel Mailing List wrote: > [IA64] swiotlb abstraction (e.g. for Xen) > > Add abstraction so that the file can be used by environments other than > IA64 > and EM64T, namely for Xen. Tony, this code is more than ugly, and even furth

Re: PROBLEM: sata timeouts with intel 82801HB on amd64

2007-02-07 Thread Paolo Ornati
On Mon, 5 Feb 2007 21:08:33 -0500 (EST) "Trevor Offner Caira" <[EMAIL PROTECTED]> wrote: > (1) One-line summary: I'm getting SATA timeouts with Intel 82801HB on amd64. > > (2) Full description: Unless CONFIG_RCU_TORTURE_TEST is set, I get sata > timeouts of this form periodically: > > ata1.00: e

Re: [patch 1/3, resend] scripts: replace gawk, head, bc with shell, update

2007-02-07 Thread Jesper Juhl
On 06/02/07, Oleg Verych <[EMAIL PROTECTED]> wrote: scripts: replace gawk, head, bc with shell, update Replacing overhead of using some (external) programs instead of good old `sh'. Cc: Roman Zippel <[EMAIL PROTECTED]> Cc: Sam Ravnborg <[EMAIL PROTECTED]> Cc: William Stearns <[EMAIL PROTECT

Re: Problem with unix sockets: SOCK_DGRAM ignores MSG_TRUNC

2007-02-07 Thread Daniel Kabs
On Tuesday 06 February 2007 21:11, David Schwartz wrote: > > Why not improve consistency and make unix_dgram_recvmsg() return the > > full packet length? So it would behave as UDP does. What do you think > > about adding the following code to linux/net/unix/af_unix.c: > > It would be nice if the wo

Re: [patch] KVM, hotplug: export register_cpu_notifier

2007-02-07 Thread Avi Kivity
Ingo Molnar wrote: Subject: [patch] KVM, hotplug: export register_cpu_notifier From: Ingo Molnar <[EMAIL PROTECTED]> KVM-trunk uses register_cpu_notifier() but it's a module and we only export this if CONFIG_HOTPLUG_CPU. Export it otherwise too. Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>

Re: [PATCH 2 of 4] Introduce i386 fibril scheduling

2007-02-07 Thread Michael K. Edwards
Man, I should have edited that down before sending it. Hopefully this is clearer: - The usual programming model for AIO completion in GUIs, media engines, and the like is an application callback. Data that is available immediately may be handled quite differently from data that arrives after

Re: PROBLEM: 2.6.19.1 Oops while doing Disk IO + playing sound

2007-02-07 Thread Jan Kara
Hi, Has this bug got fixed? Are you still able to reproduce the problem with 2.6.20? > BUG: unable to handle kernel NULL pointer dereference at virtual address > 0029 > printing eip: > e0c25de0 > *pde = > Oops: [#1] > PREEMPT > Modules linked in: cbc blkcipher binfmt_mis

Re: [patch] KVM, hotplug: export register_cpu_notifier

2007-02-07 Thread Ingo Molnar
* Avi Kivity <[EMAIL PROTECTED]> wrote: > >-#ifdef CONFIG_HOTPLUG_CPU > >- > > EXPORT_SYMBOL(register_cpu_notifier); > > > >+#ifdef CONFIG_HOTPLUG_CPU > >+ > > void unregister_cpu_notifier(struct notifier_block *nb) > > { > > mutex_lock(&cpu_add_remove_lock); > > > > This is broken: regis

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Andi Kleen
KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> writes: > current mempolicy just checks whether a node is online or not. > If there is memory-less-node, mempolicy's target node can be > invalid. > This patch adds a check whether a node has memory or not. IMHO there shouldn't be any memory less nodes. The a

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Andi Kleen
Christoph Lameter <[EMAIL PROTECTED]> writes: > > Would it be possible to attach the cpus to the > next nodes with memory and mark the node offline? That way we could avoid > another mask that we constantly have to check? That is what x86-64 does and I believe is the right solution to this. -A

Re: Problem with unix sockets: SOCK_DGRAM ignores MSG_TRUNC

2007-02-07 Thread Daniel Kabs
On Monday 05 February 2007 01:52, David Miller wrote: > What UDP is doing is different, it's returning the full packet length > when the packet is larger then the given buffer size, but it does this > irregardless of whether you set MSG_TRUNC in the recvmsg() passed-in > flags. UDP itself sets the

Re: 2.6.20 doesn't compile with gcc-3.2.2

2007-02-07 Thread Andi Kleen
Al Boldi <[EMAIL PROTECTED]> writes: > Doing the following results in an incomplete vmlinuz: > > # make mrproper > # make allnoconfig > # make bzlilo > > objcopy: arch/i386/boot/compressed/vmlinux.bin: File truncated This looks more like some local problem. Are you sure you didn't run out of di

Re: [patch] KVM, hotplug: export register_cpu_notifier

2007-02-07 Thread Avi Kivity
Ingo Molnar wrote: * Avi Kivity <[EMAIL PROTECTED]> wrote: -#ifdef CONFIG_HOTPLUG_CPU - EXPORT_SYMBOL(register_cpu_notifier); +#ifdef CONFIG_HOTPLUG_CPU + void unregister_cpu_notifier(struct notifier_block *nb) { mutex_lock(&cpu_add_remove_lock); This is broken: register_cp

Re: [patch 1/3 take2] smaps: extract pte walker from smaps code

2007-02-07 Thread David Rientjes
On Wed, 7 Feb 2007, Christoph Lameter wrote: > Clearing reference bits? Ummm... That is a pretty inaccurate measure since > reclaim can remove pages and revert the reference bits. It can never work > reliably. > It's not intended to work precisely, it's intended to give a good estimate of tas

Re: [PATCH 2 of 4] Introduce i386 fibril scheduling

2007-02-07 Thread Michael K. Edwards
An idiot using my keyboard wrote: - AIO requests that are serviced from cache ought to immediately invoke the callback, in the same thread context as the caller, fixing up the stack so that the callback returns to the instruction following the syscall. That way the "immediate completion" pat

Re: Slower CPU frequency reported by the kernel

2007-02-07 Thread Andi Kleen
"Francis Moreau" <[EMAIL PROTECTED]> writes: > > What's going wrong ? Nothing. It's a feature that saves you enegery (=money) and noise when the computer doesn't have much to do. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PR

Re: [PATCH] wistron button support for fujitsu-siemens Amilo D88x0

2007-02-07 Thread Matthew Garrett
On Wed, Feb 07, 2007 at 07:23:47AM +0100, Michael Leun wrote: > On Tue, 6 Feb 2007 20:07:49 + > Matthew Garrett <[EMAIL PROTECTED]> wrote: > > Hm. Is there really no PNP id that tends to be associated with this > > wistron hardware? Fujitsu (at least) seem to be quite good at > > exposing a lo

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread KAMEZAWA Hiroyuki
On 07 Feb 2007 11:20:06 +0100 Andi Kleen <[EMAIL PROTECTED]> wrote: > KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> writes: > > > current mempolicy just checks whether a node is online or not. > > If there is memory-less-node, mempolicy's target node can be > > invalid. > > This patch adds a check whethe

[BUG][PATCH] mm: Fix dirty page accounting per backing_dev

2007-02-07 Thread Tomoki Sekiyama
Hello Andrew, I found a suspicious bug of I/O accounting in 2.6.20-rc6-mm3. The number of dirty pages per backing_dev available from /sys/block//queue/nr_dirty keeps growing when a file is rapidly overwritten several times. For example: % cat /sys/block/sda/queue/nr_dirty 104 % for i in 1 2; do d

Re: [PATCH] remove sb->s_files and file_list_lock usage in dquot.c

2007-02-07 Thread Jan Kara
On Tue 06-02-07 15:50:01, Andrew Morton wrote: > On Tue, 6 Feb 2007 14:23:33 +0100 > Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > > static void add_dquot_ref(struct super_block *sb, int type) > > { > > - struct list_head *p; > > + struct inode *inode; > > > > restart: > > - file_lis

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread KAMEZAWA Hiroyuki
On Wed, 7 Feb 2007 00:04:41 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Wed, 7 Feb 2007, KAMEZAWA Hiroyuki wrote: > > > > Hmmm... Remove the node from the node_online_map instead? > > > > > Changing defintion of node_online_map is harmfil. (there are > > cpu-only-nodes.) > > H

Re: [RFC 0/28] Patches to pass vfsmount to LSM inode security hooks

2007-02-07 Thread Andreas Gruenbacher
On Tuesday 06 February 2007 04:55, Stephen Smalley wrote: > On Mon, 2007-02-05 at 18:13 -0800, Andreas Gruenbacher wrote: > > Reiserfs should probably just mark all its xattr inodes as private in > > order to play nicely with other lsms. As far as pathname based lsms are > > concerned, pathname

Re: [RFC 0/28] Patches to pass vfsmount to LSM inode security hooks

2007-02-07 Thread Andreas Gruenbacher
On Tuesday 06 February 2007 01:52, Christoph Hellwig wrote: > On Mon, Feb 05, 2007 at 06:13:26PM -0800, Andreas Gruenbacher wrote: > > On Monday 05 February 2007 10:44, Christoph Hellwig wrote: > > > Looking at the actual patches I see you're lazy in a lot of places. > > > Please make sure that whe

Re: [RFC 0/28] Patches to pass vfsmount to LSM inode security hooks

2007-02-07 Thread Andreas Gruenbacher
Hi Trond, On Tuesday 06 February 2007 00:51, Trond Myklebust wrote: > > But there is no way to tell different hardlinks to the same inode in the > > same directory from each other (both the file and directory inode are the > > same), and depending on the export options, we may or may not be able t

Re: [RFC 0/28] Patches to pass vfsmount to LSM inode security hooks

2007-02-07 Thread Andreas Gruenbacher
On Tuesday 06 February 2007 01:47, Christoph Hellwig wrote: > On Mon, Feb 05, 2007 at 07:20:35PM -0800, Andreas Gruenbacher wrote: > > It's actually not hard to "fix", and nfsd would look a little less weird. > > But what would this add, what do pathnames mean in the context of nfsd, > > and would

Re: One-shot high-resolution POSIX timer periodically late

2007-02-07 Thread John
Ingo Molnar wrote: John wrote: Ingo Molnar wrote: 2.6.18-rt7 is pretty old, do you see the problem in 2.6.20-rc6-rt5 too? Ingo, Thomas, I cannot reproduce in 2.6.20-rc6-rt6, but it is not strictly an apples-to-apples comparison because I get a tsc clocksource in 2.6.20-rc6-rt6, and an a

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Andi Kleen
> AFAIK, ia64 creates nodes just depends on SRAT's possible resource > information. > Then, ia64 can create cpu-memory-less-node(node with no available resource.). > (*)I don't like this. > > If we don't allow memory-less-node, we may have to add several codes for > cpu-hot-add. > cpus should b

Re: [PATCH] input: Schedule removal of compaq touchscreen emulation (tsdev.c)

2007-02-07 Thread Richard Purdie
On Tue, 2007-02-06 at 20:52 -0800, Andrew Morton wrote: > On Tue, 06 Feb 2007 16:42:39 + Richard Purdie <[EMAIL PROTECTED]> wrote: > > > --- > > + > > +What: Compaq touchscreen device emulation > > +When: Oct 2007 > > +Files: drivers/input/tsdev.c > > +Why:The

Re: One-shot high-resolution POSIX timer periodically late

2007-02-07 Thread John
Peter Zijlstra wrote: John wrote: Ingo Molnar wrote: John wrote: John Stultz wrote: Also do check the -rt tree as Ingo suggested. I mis-read your earlier email and thought you were running it. I've been pulling my hair over a related issue for the past two days. (I think I may be tick

Re: Free Linux Driver Development!

2007-02-07 Thread Laurent Pinchart
> > > I have a Cisco USB webcam that supposedly conforms to the "USB Video > > > Device Class", but nothing happens when I plug it into my Linux box. > > > I assume the device class is specified as part of the USB spec... > > > > Are you sure? That spec just came out not so long ago and I hav

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread KAMEZAWA Hiroyuki
On Wed, 7 Feb 2007 11:19:02 +0100 Andi Kleen <[EMAIL PROTECTED]> wrote: > > > AFAIK, ia64 creates nodes just depends on SRAT's possible resource > > information. > > Then, ia64 can create cpu-memory-less-node(node with no available > > resource.). > > (*)I don't like this. > > > > If we don't

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Andi Kleen
On Wednesday 07 February 2007 11:37, KAMEZAWA Hiroyuki wrote: > On Wed, 7 Feb 2007 11:19:02 +0100 > Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > > > AFAIK, ia64 creates nodes just depends on SRAT's possible resource > > > information. > > > Then, ia64 can create cpu-memory-less-node(node with n

Re: [-mm patch] make gfs2_writepages() static

2007-02-07 Thread Steven Whitehouse
Hi, Now applied to the GFS2 -nmw git tree. Thanks, Steve. On Tue, 2007-02-06 at 23:12 +0100, Adrian Bunk wrote: > On Mon, Jan 29, 2007 at 08:45:28PM -0800, Andrew Morton wrote: > >... > > Changes since 2.6.20-rc6-mm2: > >... > > git-gfs2-nmw.patch > >... > > git trees > >... > > > This patch

Re: [PATCH] wistron button support for fujitsu-siemens Amilo D88x0

2007-02-07 Thread Michael Leun
On Wed, 7 Feb 2007 09:58:07 + Matthew Garrett <[EMAIL PROTECTED]> wrote: > On Wed, Feb 07, 2007 at 07:23:47AM +0100, Michael Leun wrote: > > Matthew Garrett <[EMAIL PROTECTED]> wrote: > > > Hm. Is there really no PNP id that tends to be associated with > > > this wistron hardware? Fujitsu (at

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread KAMEZAWA Hiroyuki
On Wed, 7 Feb 2007 11:41:25 +0100 Andi Kleen <[EMAIL PROTECTED]> wrote: > On Wednesday 07 February 2007 11:37, KAMEZAWA Hiroyuki wrote: > > On Wed, 7 Feb 2007 11:19:02 +0100 > > Andi Kleen <[EMAIL PROTECTED]> wrote: > > > You can also alias node numbers to solve this: just point multiple node > >

[PATCH 2/3, try #3] Blackfin: serial driver for Blackfinarchitecture against Linux kernel 2.6.20

2007-02-07 Thread Wu, Bryan
Hi folks, Thanks Russell's review, we update the serial core driver according to Russell's comments. Here is the change log: a) use "ttyBF" as blackfin serial name and use new serial major/minor number b) can accept command line serial setting like "console=ttyBF0,115200", delete the baud rate

Re: hdparm for lib_pata

2007-02-07 Thread Adam J. Richter
On 2007-02-04 Stephen Clark wrote: >I have had two different laptops that had to have boot time command line >overrides to get the >driver to allow the hardware work at what it was spec-ed at. Do you know if these drives were advertising less capability than they were spec-ed at? Do you

[2.6.20 regression] No text console picture after X start

2007-02-07 Thread Eduard Bloch
Hello, I have an ATI Radeon X800 GTO card [1], which works "well"[2] with xserver-xorg-video-ati 6.6.3-2 (Debian Sid). However, after upgrading to 2.6.20, the console screen is no longer restored after switching the virtual terminal to first console when X has been started once. Apparently the key

Re: [swsusp] s2ram fails to restore graphics

2007-02-07 Thread Pavel Machek
Hi! > I'm having problems with s2ram being unable to restore > my Intel 945GM (a Dell D420 laptop) when resuming. I > think everything else is restored properly (I have input > so I can reboot or suspend again). Full hibernation is > working flawless on this machine including restoring > fram

[patch] lockdep: forward declare struct trask_struct

2007-02-07 Thread Heiko Carstens
From: Heiko Carstens <[EMAIL PROTECTED]> 3117df0453828bd045c16244e6f50e5714667a8a causes this: In file included from arch/s390/kernel/early.c:13: include/linux/lockdep.h:300: warning: "struct task_struct" declared inside parameter list include/linux/lockdep.h:300:

Re: [patch 1/1] PM: Adds remount fs ro at suspend

2007-02-07 Thread Henrique de Moraes Holschuh
On Wed, 07 Feb 2007, Nigel Cunningham wrote: > Ok, as far as usage scenario goes, that's fair enough. But as to the > solution, I wonder though whether it's making life more complicated than > it needs to be. After all, we should also be able to cope okay with > having the power suddenly go out. If

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Andi Kleen
> How for_each_online_node(nid) works ? it can handle alias-nid ? > > == > for_each_online_node(nid) { > pgdat = NODE_DATA(nid); > == > This code never accesses pgdat_for_A twice ? It would. If there's a problem it could be changed to walk the pgdat lists instead, but at lea

Re: [patch 1/1] PM: Adds remount fs ro at suspend

2007-02-07 Thread Nigel Cunningham
Hi. On Wed, 2007-02-07 at 09:25 -0200, Henrique de Moraes Holschuh wrote: > On Wed, 07 Feb 2007, Nigel Cunningham wrote: > > Ok, as far as usage scenario goes, that's fair enough. But as to the > > solution, I wonder though whether it's making life more complicated than > > it needs to be. After a

Re: hdparm for lib_pata

2007-02-07 Thread Patrick Ale
Do you know if these drives were advertising less capability than they were spec-ed at? Do you recall if the IDE driver without kernel arguments printed its rationale for reverting to the slower setting? I can only speak for myself of course. On boot time the libsata driver detected my

Re: [PATCH] mfd: SM501 core driver

2007-02-07 Thread Ben Dooks
On Tue, Feb 06, 2007 at 09:09:30PM -0800, Andrew Morton wrote: > On Tue, 6 Feb 2007 19:26:28 + Ben Dooks <[EMAIL PROTECTED]> wrote: > > > This patch is an update patch, ready for merging > > for the Silicon Motion SM501 multi-function device > > core. > > > > This driver handles the core func

Re: [PATCH] wistron button support for fujitsu-siemens Amilo D88x0

2007-02-07 Thread Matthew Garrett
On Wed, Feb 07, 2007 at 11:43:46AM +0100, Michael Leun wrote: > [EMAIL PROTECTED]:~> cat /sys/bus/pnp/devices/*/id > PNP0a03 > PNP0200 > PNP0b00 > PNP0800 > PNP0c02 > PNP0c04 > PNP0303 > PNP0f13 > PNP0700 > PNP0400 > PNP0501 Hmm, yeah, none of those seem useful. Shame. -- Matthew Garrett | [EMAI

Re: [PATCH]: warrning fix: unsigned->signed

2007-02-07 Thread Jens Axboe
On Tue, Feb 06 2007, Andrew Morton wrote: > On Wed, 7 Feb 2007 00:39:45 +0300 > "Tomasz Kvarsin" <[EMAIL PROTECTED]> wrote: > > > While compiling my code, I always get bunch of warrning from headers, > > here is fix for them: > > __getblk is alawys called with unsigned argument, > > but it takes s

Re: Some "patch" between 2.6.20-rc7 and 2.6.20-final-vanilla has broken my SWSUSP resume

2007-02-07 Thread Pavel Machek
Hi! > please take a look at my bugreport. It is very important for me... > > http://bugzilla.kernel.org/show_bug.cgi?id=7936 > > Thanks a lot If it is really caused by difference between -rc7 and -final... then I guess it is 'git bisect' time...

Re: [2.6.20 regression] No text console picture after X start

2007-02-07 Thread Eduard Bloch
#include * Eduard Bloch [Wed, Feb 07 2007, 12:19:53PM]: > Hello, > > I have an ATI Radeon X800 GTO card [1], which works "well"[2] with > xserver-xorg-video-ati 6.6.3-2 (Debian Sid). However, after upgrading to > 2.6.20, the console screen is no longer restored after switching the > virtual termi

[LIBATA BUG] sr.c: TEST_UNIT_READY error

2007-02-07 Thread Conke Hu
Hi, TEST_UNIT_READY in get_capabilities (drivers/scsi/sr.c line 743, or see below) always returns error. code begin - retries = 0; do { memset((void *)cmd, 0, MAX_COMMAND_SIZE); cmd[0] = TEST_UNIT_READY; the_result

Re: [PATCH] wistron button support for fujitsu-siemens Amilo D88x0

2007-02-07 Thread Andrey Panin
On 038, 02 07, 2007 at 11:43:46AM +0100, Michael Leun wrote: > On Wed, 7 Feb 2007 09:58:07 + > Matthew Garrett <[EMAIL PROTECTED]> wrote: > > > On Wed, Feb 07, 2007 at 07:23:47AM +0100, Michael Leun wrote: > > > Matthew Garrett <[EMAIL PROTECTED]> wrote: > > > > Hm. Is there really no PNP id t

Re: [patch 1/1] PM: Adds remount fs ro at suspend

2007-02-07 Thread Henrique de Moraes Holschuh
On Wed, 07 Feb 2007, Nigel Cunningham wrote: > > We don't cope okay with the power going out, at all. And as an user case, a > > need for fsck if you do something that is a reasonable use case (unplugging > > devices while suspended) is not okay, either. > > Maybe it depends on the filesystem you

Re: [Ksummit-2007-discuss] Re: +1 4 cz (Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit)

2007-02-07 Thread Arnd Bergmann
On Tuesday 06 February 2007 21:10, James Simmons wrote: > > So it is between Britian or the Czech Republic. BTW how long of a train > ride is to swizterland from CZ. My wife's family lives there. Too long. 15 hours according to http://reiseauskunft.bahn.de/bin/query.exe/en . You probably want to

Re: [Ksummit-2007-discuss] Re: +1 4 cz (Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit)

2007-02-07 Thread Markus Rechberger
On 2/7/07, Arnd Bergmann <[EMAIL PROTECTED]> wrote: On Tuesday 06 February 2007 21:10, James Simmons wrote: > > So it is between Britian or the Czech Republic. BTW how long of a train > ride is to swizterland from CZ. My wife's family lives there. Too long. 15 hours according to http://reiseausk

Re: [PATCH] Ban module license tag string termination trick

2007-02-07 Thread Helge Hafting
David Schwartz wrote: The way I see this: There is a copyright enforcement scheme. (A simple test for the word GPL.) Trivial, but still an enforcement scheme. If this were true, then the Linux kernel with it could not be distributed. If it were a legal mechanism to prevent people from mo

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread KAMEZAWA Hiroyuki
On Wed, 7 Feb 2007 12:32:36 +0100 Andi Kleen <[EMAIL PROTECTED]> wrote: > > > How for_each_online_node(nid) works ? it can handle alias-nid ? > > > > == > > for_each_online_node(nid) { > > pgdat = NODE_DATA(nid); > > == > > This code never accesses pgdat_for_A twice ? > > It wou

Re: [PATCH] (2.6.20-rt3) PowerPC: convert spinlocks into raw

2007-02-07 Thread Sergei Shtylyov
Hello. Benjamin Herrenschmidt wrote: Convert the spinlocks in the PowerPC interrupt related code into the raw ones, also convert the PURR and PMC related spinlocks... Care to explain the difference ? In the realtime preemption mode, spinlocks are implemented via mutexes, and the kernel

Re: [LIBATA BUG] sr.c: TEST_UNIT_READY error

2007-02-07 Thread Jeff Garzik
Conke Hu wrote: Hi, TEST_UNIT_READY in get_capabilities (drivers/scsi/sr.c line 743, or see below) always returns error. code begin - retries = 0; do { memset((void *)cmd, 0, MAX_COMMAND_SIZE); cmd[0] = TEST_UNIT_READY;

Re: hwsusp defunct

2007-02-07 Thread Jiri Slaby
Cc: linux-acpi not-cc: linux-pm Rafael J. Wysocki napsal(a): On Tuesday, 6 February 2007 12:18, Jiri Slaby wrote: This is blindly written dmesg after resume. See it whole at [2]: Suspending device 0.0 ACPI Exception (exoparg2-0442): AE_AML_PACKAGE_LIMIT, Index (7) is beyon d end of obje

Re: hwsusp defunct

2007-02-07 Thread Luming Yu
For acpi issues, please enter bug into bugzilla.kernel.org with dmesg, acpidump output . On 2/7/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: Cc: linux-acpi not-cc: linux-pm Rafael J. Wysocki napsal(a): > On Tuesday, 6 February 2007 12:18, Jiri Slaby wrote: >> This is blindly written dmesg after r

RE: Could "bio_vec" be referenced any time?

2007-02-07 Thread Yu-Chen Wu
Hi NeilBrown, Thank you for your help and introducing "ksymoops" to me. I think you are right. The BIO is passed by MD put BIO into a share "kfifo". THX : ) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Brown Sent: We

Re: v2.6.20-rt1, yum/rpm

2007-02-07 Thread Ingo Molnar
* Arjan van de Ven <[EMAIL PROTECTED]> wrote: > patch below has 2 tweaks > 1) the new RCU feature wakes up once per second, make sure this is using > the new round_jiffies() infrastructure > 2) the slab background reap code is waking up once per 2 seconds per > cpu. The patch makes this more dyna

Re: [RFC/PATCH] revokeat/frevoke system calls V5

2007-02-07 Thread Jan Kara
Hello, > From: Pekka Enberg <[EMAIL PROTECTED]> > > The revokeat(2) and frevoke(2) system calls invalidate open file > descriptors and shared mappings of an inode. After an successful > revocation, operations on file descriptors fail with the EBADF or > ENXIO error code for regular and device f

Re: [RFC/PATCH] revokeat/frevoke system calls V5

2007-02-07 Thread Pekka J Enberg
Hi Honza, On Wed, 7 Feb 2007, Jan Kara wrote: > Have you considered using similar hack as bad_inode.c instead of > revoked_inode.c? I am not sure what you mean, revoked_inode.c looks pretty much the same as bad_inode.c in mainline... Pekka - To unsubscribe from this li

Re: [RFC/PATCH] revokeat/frevoke system calls V5

2007-02-07 Thread Jan Kara
On Wed 07-02-07 12:50:34, Pekka J Enberg wrote: > Hi Honza, > > On Wed, 7 Feb 2007, Jan Kara wrote: > > Have you considered using similar hack as bad_inode.c instead of > > revoked_inode.c? > > I am not sure what you mean, revoked_inode.c looks pretty much the same as > bad_inode.c in mainline

Re: [RFC 0/28] Patches to pass vfsmount to LSM inode security hooks

2007-02-07 Thread Christoph Hellwig
On Wed, Feb 07, 2007 at 01:58:15AM -0800, Andreas Gruenbacher wrote: > > It's not actually a pathname we care about, but a vfsmount + dentry > > combo. That one means as much in nfsd as elsewhere. We want nfsd > > to obey r/o or noatime mount flags if /export/foo is exported with them > > but /fo

Re: [patch 1/3, resend] scripts: replace gawk, head, bc with shell, update

2007-02-07 Thread Oleg Verych
On Wed, Feb 07, 2007 at 09:58:12AM +0100, Jesper Juhl wrote: > On 06/02/07, Oleg Verych <[EMAIL PROTECTED]> wrote: > >scripts: replace gawk, head, bc with shell, update > > > > Replacing overhead of using some (external) programs > > instead of good old `sh'. > > > >Cc: Roman Zippel <[EMAIL PROTE

Re: [Cbe-oss-dev] [PATCH 0/7] RFC: Cell SPE logos

2007-02-07 Thread Pavel Machek
Hi! > > > I would like to hear your opinions about the patchset below (updated > > > version > > > compared to yesterday, lkml added to the CC list). > > > > Can you just blast these pictures from userspace? There's really no > > excuse to advertise SPEs from kernel > > > > What's next, I h

Re: [PATCH 9/11] Panic delay fix

2007-02-07 Thread Pavel Machek
Hi! > > > >>Failure to use real-time delay here causes the > >>keyboard to become demonically > >>possessed in the event of a kernel crash, with wildly > >>blinking lights and > >>unpredictable behavior. This has resulted in several > >>injuries. > > > >There must be a reason why it wasn't de

Re: PROBLEM: sata timeouts with intel 82801HB on amd64

2007-02-07 Thread Trevor Offner Caira
> Are you using XFS, right? For /usr, /var and /home, yes. For /, no, my root partition is ext3. > Can you see if the problem goes away either: > > 1) disabling NCQ ("echo 1 > /sys/block/sda/device/queue_depth" in a > boot script) No, this does not fix it. > OR > > 2) mounting XFS filesyst

[GFS2 & DLM] Pull request

2007-02-07 Thread Steven Whitehouse
Hi, Please consider pulling the following GFS2 & DLM changes. They are as per the patches posted recently on lkml, except for three minor changes (two small bug fixes and a function which should have been static) which are marked with [*] in the list below. All the other patches have been in -mm,

Re: Free Linux Driver Development!

2007-02-07 Thread Sunil Naidu
On 2/7/07, Akemi Yagi <[EMAIL PROTECTED]> wrote: On Tue, 06 Feb 2007 19:07:50 +0530, Sunil Naidu wrote: > On 2/5/07, Stefan Seyfried <[EMAIL PROTECTED]> wrote: >> On Wed, Jan 31, 2007 at 03:14:31AM +0100, Adrian Bunk wrote: >> > On Tue, Jan 30, 2007 at 05:24:28PM -0800, Greg KH wrote: >> >> Wron

[git pull] jfs update

2007-02-07 Thread Dave Kleikamp
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git for-linus This will update the following files: fs/jfs/inode.c|6 ++--- fs/jfs/jfs_debug.h|5 fs/jfs/jfs_dmap.c | 16 ++--- fs/jfs/jfs_imap.c | 16 ++---

posix-timers overrun broken?

2007-02-07 Thread Milan Svoboda
Hi, I'm creating a driver for timer on ixp4xx (there are two hardware timers). It shall use posix api so I looked at the only driver that implements it in kernel: drivers/char/mmtimer.c. My driver uses almost the same logic that handles overruns. However, I found that receiving of number of ove

doors in linux (a bit OT)

2007-02-07 Thread Ian Brown
Hello, I saw that there is a project in sf.net called Linux Doors. (nikitadanilov) see http://sourceforge.net/projects/ldoor/ It is from 2001. The doors in a lightweight and fast IPC mechanism. It seems to me better (and maybe simpler?) than Unix local sockets or others podix IPC (maybe I am wr

alloc_bootmem - Kernel panic

2007-02-07 Thread Martyn Welch
Hi Everyone, First I'd like to appologise if my query is glaringly obvious. I'm reasonable new to this, but every that I have read (including the Linux Device Drivers book) seems to suggest that what I am doing should work... I am attempting to allocate a large buffer for DMA transfers in a drive

Re: Free Linux Driver Development!

2007-02-07 Thread Lennart Sorensen
On Wed, Feb 07, 2007 at 07:03:26PM +0530, Sunil Naidu wrote: > Yep, still floppies are useful. Example, when we buy a new device > (driver) with a floppy (sometimes by manufacturer). Plus, from the > customer (not user) POV, what's wrong in spending another $10 for a > FDD in a typical $1000 PC? Ma

Re: [patch] MTD: fix DOC2000/2001/2001PLUS build error

2007-02-07 Thread Sunil Naidu
On 2/7/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: And yes, then it's almost always correct to "turn things on as needed to make everything work out right", while turning things off would be actively wrong. I see a scenario (many others may have got this idea):- Reading H/W config at the t

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Christoph Lameter
On Wed, 7 Feb 2007, Andi Kleen wrote: > IMHO there shouldn't be any memory less nodes. The architecture code > should not create them. The CPU should be assigned to a nearby node instead. > At least x86-64 ensures that. Yes I wish we would do it that way on all platforms. SGI's SN2 does that too

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Christoph Lameter
On Wed, 7 Feb 2007, KAMEZAWA Hiroyuki wrote: > > IMHO there shouldn't be any memory less nodes. The architecture code > > should not create them. The CPU should be assigned to a nearby node instead. > > At least x86-64 ensures that. > > > AFAIK, ia64 creates nodes just depends on SRAT's possible

Re: [patch 1/1] PM: Adds remount fs ro at suspend

2007-02-07 Thread Rafael J. Wysocki
On Wednesday, 7 February 2007 13:05, Henrique de Moraes Holschuh wrote: > On Wed, 07 Feb 2007, Nigel Cunningham wrote: > > > We don't cope okay with the power going out, at all. And as an user > > > case, a > > > need for fsck if you do something that is a reasonable use case > > > (unplugging >

Re: 2.6.20 doesn't compile with gcc-3.2.2

2007-02-07 Thread Al Boldi
Andi Kleen wrote: > Al Boldi <[EMAIL PROTECTED]> writes: > > Doing the following results in an incomplete vmlinuz: > > > > # make mrproper > > # make allnoconfig > > # make bzlilo > > > > objcopy: arch/i386/boot/compressed/vmlinux.bin: File truncated > > This looks more like some local problem. It

Re: [PATCH] mfd: SM501 core driver

2007-02-07 Thread Greg KH
On Wed, Feb 07, 2007 at 11:48:25AM +, Ben Dooks wrote: > On Tue, Feb 06, 2007 at 09:09:30PM -0800, Andrew Morton wrote: > > On Tue, 6 Feb 2007 19:26:28 + Ben Dooks <[EMAIL PROTECTED]> wrote: > > > +/* sm501_null_release > > > + * > > > + * A release function for the platform devices we crea

Re: [patch 1/3, resend] scripts: replace gawk, head, bc with shell, update

2007-02-07 Thread Roman Zippel
Hi, On Tue, 6 Feb 2007, Oleg Verych wrote: > scripts: replace gawk, head, bc with shell, update > > Replacing overhead of using some (external) programs > instead of good old `sh'. awk is indeed a bit of overkill. > > Cc: Roman Zippel <[EMAIL PROTECTED]> > Cc: Sam Ravnborg <[EMAIL PROTECT

Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-07 Thread Etienne Lorrain
Eric W. Biederman wote: > H. Peter Anvin wrote: > > That's not a valid comparison, because you're using 32-bit registers to hold > > 16-bit pointers, and then sticking 67 prefixes on completely unnecessarily. > > Regardless if the size is good enough we can use it :) > > For romcc I had a 3x code b

Re: [PATCH 3/6] workqueue: make cancel_rearming_delayed_workqueue() work on idle dwork

2007-02-07 Thread Daniel Drake
Oleg Nesterov wrote: cancel_rearming_delayed_workqueue(dwork) will hang forever if dwork was not scheduled, because in that case cancel_delayed_work()->del_timer_sync() never returns true. Thanks! We hit this problem before with the zd1211rw driver and avoided using cancel_rearming_delayed_wor

Re: [patch 2/3, resend] kbuild: improve option checking, Kbuild.include cleanup

2007-02-07 Thread Roman Zippel
Hi, On Tue, 6 Feb 2007, Oleg Verych wrote: > -- all checks by shell united in one macro -- checker-shell; > -- one disposable output sym. link to /dev/null per shell, >thus no racing, `-Z' is removed; > -- modules' build output directory is used, if supplied; > -- every option checking functi

Re: [patch 3/3, resend] kbuild: correctly skip tilded backups in localversion files

2007-02-07 Thread Roman Zippel
Hi, On Tue, 6 Feb 2007, Oleg Verych wrote: > -nullstring := > -space := $(nullstring) # end of line > +pattern = ".*/localversion[^~]*" > +string = $(shell cat /dev/null \ > +`find $(objtree) $(srctree) -maxdepth 1 -regex $(pattern) | sort`) Calling find here is overkill, if the sa

2.6.20: Modular fb and logo crash

2007-02-07 Thread Geert Uytterhoeven
If you don't have any builtin frame buffer device driver and insmod a frame buffer device driver, the logo code will still try to display the logo (which is __initdata). This may cause a crash. Originally (2.1.x, is it that long ago I used a modular frame buffer device driver?), this didn't happen

Re: 2.6.20-rc6-mm3

2007-02-07 Thread Thomas Gleixner
On Tue, 2007-02-06 at 17:12 -0800, Daniel Walker wrote: > On Wed, 2007-02-07 at 00:36 +0100, Thomas Gleixner wrote: > > > There are no other clock event devices in a PC system at the moment > > and /proc/interrupt does not care, whether the interrupt was setup for a > > clock event device or somet

Re : Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-07 Thread Etienne Lorrain
Vivek Goyal wrote: >How do I know which program header is real mode code and the boot loader > is not supposed to load it? May be PT_LOAD header with physical addr 0? > What happens if changes happen and down the line we start compiling > real mode code for non-zero address? Yes, any PT_LOAD bel

Re: [PATCH 9/11] Panic delay fix

2007-02-07 Thread Dmitry Torokhov
On 2/6/07, Zachary Amsden <[EMAIL PROTECTED]> wrote: Andi Kleen wrote: > On Mon, Feb 05, 2007 at 07:53:30PM -0800, Zachary Amsden wrote: > >> Failure to use real-time delay here causes the keyboard to become demonically >> possessed in the event of a kernel crash, with wildly blinking lights and

Re: [Fastboot] [ PATCH ] fix to documentation for kexec

2007-02-07 Thread Lombard, David N
On Wed, Feb 07, 2007 at 04:33:16PM +0900, Horms wrote: > On Thu, Feb 01, 2007 at 01:25:04PM -0500, Robert P. J. Day wrote: > > On Thu, 1 Feb 2007, Judith Lebzelter wrote: > > > > > > -* "init 1" boots the dump-capture kernel into single-user mode without > > > - networking. If you want networking,

Re: [PATCH 3/6] workqueue: make cancel_rearming_delayed_workqueue() work on idle dwork

2007-02-07 Thread Oleg Nesterov
On 02/07, Daniel Drake wrote: > > Oleg Nesterov wrote: > >cancel_rearming_delayed_workqueue(dwork) will hang forever if dwork was not > >scheduled, because in that case cancel_delayed_work()->del_timer_sync() > >never > >returns true. > > Thanks! We hit this problem before with the zd1211rw drive

Re: hwsusp defunct

2007-02-07 Thread Jiri Slaby
Luming Yu napsal(a): For acpi issues, please enter bug into bugzilla.kernel.org with dmesg, acpidump output . Ok: http://bugzilla.kernel.org/show_bug.cgi?id=7958 thanks, -- http://www.fi.muni.cz/~xslaby/Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirisla

  1   2   3   4   >