Re: [RFC 12/26] ext2 white-out support

2007-08-01 Thread Josef Sipek
On Wed, Aug 01, 2007 at 02:10:31PM -0500, Dave Kleikamp wrote: On Wed, 2007-08-01 at 14:44 -0400, Josef Sipek wrote: Alright not the greatest of examples, there is something to be said about symmetry, so...let me try again :) /a/ /b/bar (whiteout for bar) /c/foo/qwerty

Re: pm_trace displays the wrong time from the RTC

2007-08-01 Thread Rafael J. Wysocki
On Wednesday, 1 August 2007 20:15, Chuck Ebbert wrote: On 08/01/2007 11:47 AM, Rafael J. Wysocki wrote: Sorry for slow response, I've just noticed this thread. On Tuesday, 31 July 2007 23:20, Chuck Ebbert wrote: When resuming, systems print this when booted on 07/31/07: Date:

[PATCH] Remove unused struct proc_dir_entry::set

2007-08-01 Thread Alexey Dobriyan
After /proc/sys rewrite it was left unused. Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED] --- include/linux/proc_fs.h |1 - 1 file changed, 1 deletion(-) --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h @@ -75,7 +75,6 @@ struct proc_dir_entry { write_proc_t

Re: 2.6.23-rc1-mm2

2007-08-01 Thread Andrew Morton
On Wed, 01 Aug 2007 16:30:08 -0400 [EMAIL PROTECTED] wrote: As an aside, it looks like bitspieces of dynticks-for-x86_64 are in there. In particular, x86_64-enable-high-resolution-timers-and-dynticks.patch is in there, adding a menu that depends on GENERIC_CLOCKEVENTS, but then nothing in the

Re: Update: ACPI problems: 2.6.22-git17 working, 2.6.23-rc1* is not: (was ide not working)

2007-08-01 Thread Danny ter Haar
Okay Redid git bisect from start: git bisect log git-bisect start # good: [098fd16f5f665d3baa7e682d8cb3d7c0fe6f] Linux 2.6.22 git-bisect good 098fd16f5f665d3baa7e682d8cb3d7c0fe6f # good: [098fd16f5f665d3baa7e682d8cb3d7c0fe6f] Linux 2.6.22 git-bisect good

Re: [REGRESSION] tg3 dead after s2ram

2007-08-01 Thread Michael Chan
On Wed, 2007-08-01 at 10:47 -0700, Michael Chan wrote: You have 2 Broadcom devices in your system. 07:00.0 is a wireless device, I think. 8:4.0 is the tg3 device. It's clear that the tg3 device is still in D3 state after resume and that explains why all register accesses fail.

Re: drbd 8.0.2/3 doesn't load under kernel 2.6.21

2007-08-01 Thread Maurice Volaski
I'm making an assumption that depmod is somehow to blame and have logged this as a kernel bug, http://bugzilla.kernel.org/show_bug.cgi?id=8829 It turns out I was adding the web100 patch (http://www.web100.org) to the 2.6.21 kernel and that's what causes the symbol resolving problem below.

Re: [RFC] [PATCH] Deprecate a.out ELF interpreters

2007-08-01 Thread Jiri Kosina
On Wed, 1 Aug 2007, Jan Engelhardt wrote: config BINFMT_AOUT - tristate Kernel support for a.out and ECOFF binaries + tristate Kernel support for a.out and ECOFF binaries (OBSOLETE) I beg your pardon?! This definitely is not what Andi meant, right? We want to remove the legacy

Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

2007-08-01 Thread Oleg Nesterov
On 08/01, Daniel Walker wrote: On Thu, 2007-08-02 at 00:18 +0400, Oleg Nesterov wrote: On 08/01, Daniel Walker wrote: On Wed, 2007-08-01 at 22:12 +0400, Oleg Nesterov wrote: And I personally think it is not very useful, even if it was correct. You can create your own

Re: Examine user space locks

2007-08-01 Thread Rokas Masiulis
On Wed, Aug 01, 2007 at 09:51:06PM +0200, Jan Engelhardt wrote: On Aug 1 2007 22:07, Rokas Masiulis wrote: sometimes user space program hangs forever. In old days i remeber there was unkillable dosemu. May be there are good how to. Some one can point to it? This is problem/solution isn't

Re: 2.6.23-rc1-mm2

2007-08-01 Thread Torsten Kaiser
On 8/1/07, Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 01 Aug 2007 16:30:08 -0400 [EMAIL PROTECTED] wrote: As an aside, it looks like bitspieces of dynticks-for-x86_64 are in there. In particular, x86_64-enable-high-resolution-timers-and-dynticks.patch is in there, adding a menu that

Re: Marvell 7042 (sata_mv) fails to initialize drive

2007-08-01 Thread Markus Gutschke
I have done some more testing, and it now looks as if this was actually a hardware fault. Reseating the PCI-E card made the problem go away (knock on wood). I am a little puzzled that it is possible for the card to show up on the PCI bus, and for the driver to be able to detect whether a disk

Re: 2.6.23-rc1-mm2

2007-08-01 Thread Valdis . Kletnieks
On Tue, 31 Jul 2007 23:09:32 PDT, Andrew Morton said: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm2/ Builds, boots, runs here. Dell Latitude D820, Core2 Duo T7200, x86_64 kernel. -loop-use-unlocked_ioctl.patch Dropped, broken. Fixes one issue I

Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

2007-08-01 Thread Daniel Walker
On Thu, 2007-08-02 at 00:18 +0400, Oleg Nesterov wrote: On 08/01, Daniel Walker wrote: On Wed, 2007-08-01 at 22:12 +0400, Oleg Nesterov wrote: And I personally think it is not very useful, even if it was correct. You can create your own workqueue and change the priority of

kupdate weirdness

2007-08-01 Thread Miklos Szeredi
The following strange behavior can be observed: 1. large file is written 2. after 30 seconds, nr_dirty goes down by 1024 3. then for some time ( 30 sec) nothing happens (disk idle) 4. then nr_dirty again goes down by 1024 5. repeat from 3. until whole file is written So basically a 4Mbyte chunk

Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

2007-08-01 Thread Daniel Walker
On Thu, 2007-08-02 at 00:32 +0400, Oleg Nesterov wrote: On 08/02, Oleg Nesterov wrote: And I don't understand why rt_mutex_setprio() is called just before calling work-func(). This means that a high-priority work could be delayed by the low-priority -current_work. Aha, I missed the

Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

2007-08-01 Thread Oleg Nesterov
On 08/02, Oleg Nesterov wrote: And I don't understand why rt_mutex_setprio() is called just before calling work-func(). This means that a high-priority work could be delayed by the low-priority -current_work. Aha, I missed the rt_mutex_setprio() in insert_work(). This is not good either.

Re: pm_trace displays the wrong time from the RTC

2007-08-01 Thread Rafael J. Wysocki
On Wednesday, 1 August 2007 20:15, Chuck Ebbert wrote: On 08/01/2007 11:47 AM, Rafael J. Wysocki wrote: Sorry for slow response, I've just noticed this thread. On Tuesday, 31 July 2007 23:20, Chuck Ebbert wrote: When resuming, systems print this when booted on 07/31/07: Date:

Re: [BUG] Linux 2.6.22 - Atomic counter underflow in NFS

2007-08-01 Thread Chris Rankin
--- Satyam Sharma [EMAIL PROTECTED] wrote: I expect this is easy to reproduce at will (when shutting down nfs services, probably), right? I'm not sure about the at will part because this is the first time I've seen it since 2.6.22 was released. However, I was upgrading my Fedora 7 nfs-utils

Re: [patch 3/4] Enable link power management for ata drivers

2007-08-01 Thread Kristen Carlson Accardi
On Wed, 01 Aug 2007 17:27:39 +0900 Tejun Heo [EMAIL PROTECTED] wrote: Kristen Carlson Accardi wrote: snippy Is it safe to use ALPM on a device which only claims to support DIPM? Yes - I doubled checked this with the AHCI people - and of course you have Edvin's testing to prove it does fine.

Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

2007-08-01 Thread Gregory Haskins
On Thu, 2007-08-02 at 00:50 +0400, Oleg Nesterov wrote: On 08/01, Daniel Walker wrote: On Thu, 2007-08-02 at 00:18 +0400, Oleg Nesterov wrote: On 08/01, Daniel Walker wrote: On Wed, 2007-08-01 at 22:12 +0400, Oleg Nesterov wrote: And I personally think it is not very

Re: kupdate weirdness

2007-08-01 Thread Andrew Morton
On Wed, 01 Aug 2007 22:45:16 +0200 Miklos Szeredi [EMAIL PROTECTED] wrote: The following strange behavior can be observed: 1. large file is written 2. after 30 seconds, nr_dirty goes down by 1024 3. then for some time ( 30 sec) nothing happens (disk idle) 4. then nr_dirty again goes down

Re: 2.6.23-rc1-mm2

2007-08-01 Thread Andrew Morton
On Wed, 1 Aug 2007 22:52:44 +0200 Torsten Kaiser [EMAIL PROTECTED] wrote: On 8/1/07, Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 01 Aug 2007 16:30:08 -0400 [EMAIL PROTECTED] wrote: As an aside, it looks like bitspieces of dynticks-for-x86_64 are in there. In particular,

Re: [patch 2/4] Expose Power Management Policy option to users

2007-08-01 Thread Kristen Carlson Accardi
I was able to duplicate Tejun's problem on an ATAPI device I had here. this updated patch fixed my problem. These devices are just setting PhyReady (N) and CommWake (W) in Serror on power state changes, ignoring them seems to be fine, and fixed the problem for me. Enable Aggressive Link Power

Re: [patch 1/4] Store interrupt value

2007-08-01 Thread Kristen Carlson Accardi
Store interrupt value Use a stored value for which interrupts to enable. Changing this allows us to selectively turn off certain interrupts later and have them stay off. Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED] Index: 2.6-git/drivers/ata/ahci.c

Re: [RFC] [PATCH] Deprecate a.out ELF interpreters

2007-08-01 Thread Rene Herman
On 08/01/2007 08:30 PM, Jan Engelhardt wrote: On Aug 1 2007 14:33, Andi Kleen wrote: Comments? A kconfig entry (OBSOLETE)/(DEPRECATED) would be nice. (And if you want to test people, 'depends on EMBEDDED' for CONFIG_BINFMT_AOUT) Or just remove that junk. Rene. - To unsubscribe from this

Re: [BUG] Linux 2.6.22 - Atomic counter underflow in NFS

2007-08-01 Thread Satyam Sharma
On Wed, 1 Aug 2007, Chris Rankin wrote: --- Satyam Sharma [EMAIL PROTECTED] wrote: I expect this is easy to reproduce at will (when shutting down nfs services, probably), right? I'm not sure about the at will part because this is the first time I've seen it since 2.6.22 was released.

Re: [PATCH] Eliminate warnings in ide-tape.c

2007-08-01 Thread Bartlomiej Zolnierkiewicz
On Monday 30 July 2007, Stephen Rothwell wrote: drivers/ide/ide-tape.c: In function '__idetape_kmalloc_stage': drivers/ide/ide-tape.c:2588: warning: large integer implicitly truncated to unsigned type drivers/ide/ide-tape.c:2616: warning: large integer implicitly truncated to unsigned type

Re: [PATCH] fix runtogether printk's in cmd64x IDE driver

2007-08-01 Thread Bartlomiej Zolnierkiewicz
On Sunday 29 July 2007, Meelis Roos wrote: Fix a couple of runtogether printks in cmd64x.c IDE driver by adding proper newlines. Signed-off-by: Meelis Roos [EMAIL PROTECTED] applied - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: [BUG] Linux 2.6.22 - Atomic counter underflow in NFS

2007-08-01 Thread Satyam Sharma
Hi Chris, On Wed, 1 Aug 2007, Chris Rankin wrote: I am running a 2.6.22 kernel on a dual P4 Xeon (HT enabled) with 2 GB RAM, and I have just found this BUG in my dmesg log: nfsd: last server has exited nfsd: unexporting all filesystems BUG: atomic counter underflow at: [c01a382a]

RESEND [PATCH] - SN: Add support for CPU disable

2007-08-01 Thread John Keller
Add additional support for CPU disable on SN platforms. Correctly setup the smp_affinity mask for I/O error IRQs. Restrict the use of the feature to Altix 4000 and 450 systems running with a CPU disable capable PROM, and do not allow disabling of CPU 0. Signed-off-by: John Keller [EMAIL

Re: [PATCH 30] drivers/ide/arm/icside.c: kmalloc + memset conversion to kzalloc

2007-08-01 Thread Bartlomiej Zolnierkiewicz
On Tuesday 31 July 2007, Mariusz Kozlowski wrote: Is this a bug? In original verison memset cleared sizeof(state) bytes instead of sizeof(*state). If it was intentional then this patch is invalid. If not intentional - valid :) Please review. Yes, it is a bug so this patch is a valid bugfix.

Re: [PATCH 31] drivers/scsi/ide-scsi.c: kmalloc + memset conversion to kzalloc

2007-08-01 Thread Bartlomiej Zolnierkiewicz
On Tuesday 31 July 2007, Mariusz Kozlowski wrote: Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED] drivers/scsi/ide-scsi.c | 34642 - 34536 (-106 bytes) drivers/scsi/ide-scsi.o | 171728 - 171524 (-204 bytes) drivers/scsi/ide-scsi.c | 10 -- 1 file changed, 4 insertions(+), 6

Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

2007-08-01 Thread Daniel Walker
On Thu, 2007-08-02 at 00:50 +0400, Oleg Nesterov wrote: On 08/01, Daniel Walker wrote: On Thu, 2007-08-02 at 00:18 +0400, Oleg Nesterov wrote: On 08/01, Daniel Walker wrote: On Wed, 2007-08-01 at 22:12 +0400, Oleg Nesterov wrote: And I personally think it is not very

Re: [patch 2/4] Expose Power Management Policy option to users

2007-08-01 Thread Kristen Carlson Accardi
On Wed, 01 Aug 2007 12:24:44 +0900 Tejun Heo [EMAIL PROTECTED] wrote: Kristen Carlson Accardi wrote: I don't think the interface you're suggesting is a good one. Do you? I think if it's applicable to SCSI at all it is fine. If it is not, then I think we need to make do with the

[PATCH -mm 0/3] Freezer: Use wait queue instead of busy looping

2007-08-01 Thread Rafael J. Wysocki
Hi, The patches in the next three messages do the following: * make the freezer a bit more verbose * make try_to_freeze_tasks() go to sleep while waiting for tasks to enter the refrigerator instead of busy looping * make try_to_freeze_tasks() measure the time of freezing, regardless of

[PATCH -mm 1/3] Freezer: Be more verbose

2007-08-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] Increase the freezer's verbosity a bit, so that it's easier to read problem reports related to it. Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED] Acked-by: Nigel Cunningham [EMAIL PROTECTED] Acked-by: Pavel Machek [EMAIL PROTECTED] ---

[PATCH -mm 2/3] Freezer: Use wait queue instead of busy looping

2007-08-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] Use the observation that try_to_freeze_tasks() need not loop while waiting for the freezing tasks to enter the refrigerator and make it use a wait queue. The idea is that after sending freeze requests to the tasks regarded as freezable

[PATCH -mm 3/3] Freezer: Measure freezing time

2007-08-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] Measure the time of the freezing of tasks, even if it doesn't fail. Signed-off-by: Rafael J. Wysocki [EMAIL PROTECTED] Acked-by: Pavel Machek [EMAIL PROTECTED] --- kernel/power/process.c | 18 +++--- 1 file changed, 15 insertions(+), 3

Re: [rft] Kill junk from s2ram resume paths

2007-08-01 Thread Stefan Seyfried
On Tue, Jul 31, 2007 at 04:43:34PM +0200, Stefan Seyfried wrote: On Tue, Jul 31, 2007 at 04:01:40PM +0200, Pavel Machek wrote: Hi! # Running in *copy* of this code, somewhere in low 1MB. - movb$0xa1, %al ; outb %al, $0x80 Well, what was this for?

[patch 0/3] Updated ALPM patches

2007-08-01 Thread Kristen Carlson Accardi
Hi, This is an updated series of ALPM patches. I moved all link power management stuff out of scsi sysfs and just use the shost_addr pointer in the host template to create the sysfs files. This provides the same interface as before, without requiring any scsi changes. I also fixed a bug in the

[patch 1/3] Store interrupt value

2007-08-01 Thread Kristen Carlson Accardi
Use a stored value for which interrupts to enable. Changing this allows us to selectively turn off certain interrupts later and have them stay off. Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED] Index: 2.6-git/drivers/ata/ahci.c

[patch 2/3] Enable link power management for ata drivers

2007-08-01 Thread Kristen Carlson Accardi
libata drivers can define a function (enable_pm) that will perform hardware specific actions to enable whatever power management policy the user set up from the scsi sysfs interface if the driver supports it. This power management policy will be activated after all disks have been enumerated

[patch 3/3] Enable Aggressive Link Power management for AHCI controllers.

2007-08-01 Thread Kristen Carlson Accardi
This patch will set the correct bits to turn on Aggressive Link Power Management (ALPM) for the ahci driver. This will cause the controller and disk to negotiate a lower power state for the link when there is no activity (see the AHCI 1.x spec for details). This feature is mutually exclusive

Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

2007-08-01 Thread Oleg Nesterov
On 08/01, Gregory Haskins wrote: On Thu, 2007-08-02 at 00:50 +0400, Oleg Nesterov wrote: On 08/01, Daniel Walker wrote: It's translating priorities through the work queues, which doesn't seem to happen with the current implementation. A high priority, say SCHED_FIFO priority 99,

Re: 2.6.22-rc1-mm1 huge pages VM freeze (maybe?)

2007-08-01 Thread Nish Aravamudan
On 7/31/07, Zan Lynx [EMAIL PROTECTED] wrote: On Tue, 2007-07-31 at 15:02 -0700, Randy Dunlap wrote: On Tue, 31 Jul 2007 15:44:21 -0600 Zan Lynx wrote: I was playing with huge pages and libhugetlbfs. Small programs like ls work fine. I tried running Evolution through libhugetlbfs and

Re: [PATCH] mtdsuper: licensce = GPL

2007-08-01 Thread Satyam Sharma
On Wed, 1 Aug 2007, RafaƂ Bilski wrote: block2mtd: version $Revision: 1.30 $ block2mtd: mtd0: [d: /dev/sdc2] erase_size = 64KiB [65536] mtdsuper: module license 'unspecified' taints kernel. mtdsuper: Unknown symbol get_mtd_device mtdsuper: Unknown symbol put_mtd_device jffs2: Unknown

Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

2007-08-01 Thread Esben Nielsen
On Wed, 1 Aug 2007, Daniel Walker wrote: On Wed, 2007-08-01 at 07:59 -0400, Gregory Haskins wrote: On Tue, 2007-07-31 at 20:52 -0700, Daniel Walker wrote: Here's a simpler version .. uses the plist data structure instead of the 100 queues, which makes for a cleaner patch .. Hi Daniel,

debugfs helper for decimal challenged

2007-08-01 Thread Robin Getz
Greg: For those of us who forget that when bits 21 and bit 31 in a hardware register exposed with debugfs, I should see 2149580800 when I cat it (vs 0x8020), any objections to providing a hex output interface to the debugfs? Since the input side already takes decimal hex, I don't think

[git patches] IDE fixes

2007-08-01 Thread Bartlomiej Zolnierkiewicz
Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6.git/ to receive the following updates: drivers/ide/arm/icside.c |3 +- drivers/ide/ide-tape.c |2 +- drivers/ide/pci/alim15x3.c |2 +- drivers/ide/pci/cmd64x.c |4 +- drivers/ide/pci/cs5520.c

[patch 1/1] Adds flavor field to __mark_marker

2007-08-01 Thread nwatkins
This patch demonstrates an extension field to the low-level marker functionality, and updates macros to accept this additional data. Index: linux-2.6.22-rc6-mm1/include/linux/marker.h === ---

[patch 0/1] extending low-level markers

2007-08-01 Thread nwatkins
Mathieu I have been working with your Kernel Markers infrastructure now for some time and have run into an extendability issue. Essentially I am failing to find a way to extend the current __trace_mark macro with site-specific context. That is, I would like the ability to create different

Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

2007-08-01 Thread Gregory Haskins
On Thu, 2007-08-02 at 01:34 +0400, Oleg Nesterov wrote: On 08/01, Gregory Haskins wrote: On Thu, 2007-08-02 at 00:50 +0400, Oleg Nesterov wrote: On 08/01, Daniel Walker wrote: It's translating priorities through the work queues, which doesn't seem to happen with the current

Re: CS5530 Alsa driver fails

2007-08-01 Thread Alan Cox
I will give up. I didn't checked code earlier. This driver is using SMM. Probably firmware isn't what it should be, or I have overwritten it when I was flashing Linux. I see in datasheet that it isn't possible to write driver in other way. Sadly sound card is generating SMI only.

RE: [ck] Re: Linus 2.6.23-rc1 -- It does not matter who's code gets merged!

2007-08-01 Thread Arjan van de Ven
On Wed, 2007-08-01 at 11:40 -0700, Hua Zhong wrote: And, from a standpoint of ONGOING, long-term innovation: what matters is that brilliant, new ideas get rewarded one way or another. and in this case, the reward is that the idea got used and credit was given You mean, when

Re: [RFC 12/26] ext2 white-out support

2007-08-01 Thread Erez Zadok
In message [EMAIL PROTECTED], Dave Kleikamp writes: On Wed, 2007-08-01 at 15:33 -0400, Josef Sipek wrote: On Wed, Aug 01, 2007 at 02:10:31PM -0500, Dave Kleikamp wrote: On Wed, 2007-08-01 at 14:44 -0400, Josef Sipek wrote: Now what? How do you rename? Do you rename in the same branch

[PATCH] qla2xxx: allocate enough space for the full PCI descriptor.

2007-08-01 Thread Andrew Vasquez
Signed-off-by: Andrew Vasquez [EMAIL PROTECTED] --- On Thu, 26 Jul 2007, Andrew Vasquez wrote: On Thu, 26 Jul 2007, Andrew Patterson wrote: On Thu, 2007-07-26 at 15:36 +0200, Ulrich Windl wrote: Hi, 6QLogic Fibre Channel HBA

Re: [RFC] Deprecate a.out ELF interpreters

2007-08-01 Thread Theodore Tso
Do you mean deprecate a.out interpreters? I could imagine that there might be some people running some very old statically linked programs from a decade or so ago, but I agree they are pretty small in number. Is the fs/binfmt_aout.c causing problems? It's only 562 lines of code...

[PATCH] Fix WARN_ON() on bitfield ops for all other archs

2007-08-01 Thread Heiko Carstens
From: Heiko Carstens [EMAIL PROTECTED] Fixes WARN_ON() on bitfiels ops for all architectures that have been left out in 8d4fbcfbe0a4bfc73e7f0297c59ae514e1f1436f. Cc: Alexey Dobriyan [EMAIL PROTECTED] Cc: Herbert Xu [EMAIL PROTECTED] Cc: Paul Mundt [EMAIL PROTECTED] Cc: Haavard Skinnemoen [EMAIL

Re: VT_PROCESS, VT_LOCKSWITCH capabilities

2007-08-01 Thread Andrew Morton
On Wed, 01 Aug 2007 04:44:32 +0200 Frank Benkstein [EMAIL PROTECTED] wrote: Frank Benkstein wrote: I wonder why there are different permissions needed for VT_PROCESS (access to the current virtual console) and VT_LOCKSWITCH (CAP_SYS_TTY_CONFIG). To be more direct: require

Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

2007-08-01 Thread Oleg Nesterov
On 08/01, Gregory Haskins wrote: On Thu, 2007-08-02 at 01:34 +0400, Oleg Nesterov wrote: On 08/01, Gregory Haskins wrote: On Thu, 2007-08-02 at 00:50 +0400, Oleg Nesterov wrote: On 08/01, Daniel Walker wrote: It's translating priorities through the work queues, which

Re: debugfs helper for decimal challenged

2007-08-01 Thread Greg KH
On Wed, Aug 01, 2007 at 05:52:58PM -0400, Robin Getz wrote: Greg: For those of us who forget that when bits 21 and bit 31 in a hardware register exposed with debugfs, I should see 2149580800 when I cat it (vs 0x8020), any objections to providing a hex output interface to the debugfs?

Re: More documentation: system call how-to

2007-08-01 Thread Heiko Carstens
On Wed, Aug 01, 2007 at 02:06:57PM -0400, Ulrich Drepper wrote: I've added a few rules I could think of right now. What should be added as well is a rule for 64-bit parameters on 32-bit platforms. I leave this to the s390 people who have the biggest restrictions when it comes to this.

Re: drbd 8.0.2/3 doesn't load under kernel 2.6.21

2007-08-01 Thread Adrian Bunk
On Wed, Aug 01, 2007 at 04:21:29PM -0400, Maurice Volaski wrote: I'm making an assumption that depmod is somehow to blame and have logged this as a kernel bug, http://bugzilla.kernel.org/show_bug.cgi?id=8829 depmod is working fine. It's the interaction between your two patches that breaks it

Re: LinuxPPS spinlocks

2007-08-01 Thread Christopher Hoover
Satyam Sharma satyam at infradead.org writes: On Mon, 30 Jul 2007, Rodolfo Giometti wrote: On Mon, Jul 30, 2007 at 10:33:35AM +0530, Satyam Sharma wrote: Currently the RFC says to you that you should open the serial port: fd = open(/dev/ttyS0, ...); No, it does *NOT*. All it

Processes spinning forever, apparently in lock_timer_base()?

2007-08-01 Thread Chuck Ebbert
Looks like the same problem with spinlock unfairness we've seen elsewhere: it seems to be looping here? Or is everyone stuck just waiting for writeout? lock_timer_base(): for (;;) { tvec_base_t *prelock_base = timer-base; base =

Re: [patch] sched: yield debugging

2007-08-01 Thread Tim Chen
On Tue, 2007-07-31 at 22:33 +0200, Ingo Molnar wrote: ok, good! Could you try the updated debug patch below? I've done two changes: made '1' the default, and added the /proc/sys/kernel/sched_yield_granularity_ns tunable. (available if CONFIG_SCHED_DEBUG=y) Could you try to change the

Re: LinuxPPS spinlocks

2007-08-01 Thread Satyam Sharma
Hi, On Wed, 1 Aug 2007, Christopher Hoover wrote: Satyam Sharma satyam at infradead.org writes: On Mon, 30 Jul 2007, Rodolfo Giometti wrote: On Mon, Jul 30, 2007 at 10:33:35AM +0530, Satyam Sharma wrote: Currently the RFC says to you that you should open the serial port: fd

Re: [rfc] balance-on-fork NUMA placement

2007-08-01 Thread Martin Bligh
This topic seems to come up periodically every since we first introduced the NUMA scheduler, and every time we decide it's a bad idea. What's changed? What workloads does this improve (aside from some artificial benchmark like stream)? To repeat the conclusions of last time ... the primary

Re: [RFC] Deprecate a.out ELF interpreters

2007-08-01 Thread Andi Kleen
On Thursday 02 August 2007 00:14:48 Theodore Tso wrote: Do you mean deprecate a.out interpreters? No, just a.out interpreters for ELF binaries. I could imagine that there might be some people running some very old statically linked programs from a decade or so ago, but I agree they are

[PATCH][RFC] unbreak generic futex_atomic_cmpxchg_inatomic() on UP

2007-08-01 Thread Mikael Pettersson
[Resend. I messed up the To: line the first time] As has been reported recently by Lennert Buytenhek, robust futexes are broken on ARM: If you're also running into glibc's tst-robust1 test suite test locking up your ARM machine, you're probably running into the fact that asm-arm/futex.h includes

Re: drbd 8.0.2/3 doesn't load under kernel 2.6.21

2007-08-01 Thread Maurice Volaski
First, did you confirm this behavior? Can you please explain that? How could they possibly interact with one another? On Wed, Aug 01, 2007 at 04:21:29PM -0400, Maurice Volaski wrote: I'm making an assumption that depmod is somehow to blame and have logged this as a kernel bug,

Re: smaller kernel with no real time futexes

2007-08-01 Thread Jakub Jelinek
On Wed, Aug 01, 2007 at 09:24:34PM +0200, Andi Kleen wrote: Adrian, You said earlier you're looking at smaller allnoconfig kernels. One thing I noticed recently that realtime pi futexes are always enabled and that pulls in a lot of other code (like the plists) Userland needs to handle

Re: 2.6.22: oops in sbp2_remove_device

2007-08-01 Thread Olaf Hering
On Wed, Aug 01, Stefan Richter wrote: Revert commit 0555659d63c285ceb7ead3115532e1b71b0f27a7 from 2.6.22-rc1. The dma_set_mask call somehow failed on a PowerMac G5, PPC64: http://lkml.org/lkml/2007/8/1/344 This change fixes the oops, and I can access the drive again. - To unsubscribe from

[PATCH] scripts/ver_linux : correct printing of binutils version

2007-08-01 Thread Jesper Juhl
Hi, Currently scripts/ver_linux prints Binutils or other random information for the version number in the binutils output line on some distributions. This patch corrects that. When I initially submitted a patch to correct that, I was not aware that the output from ld -v could differ as much

[PATCH]hpet and rtc max_user_freq predefine in Kconfig

2007-08-01 Thread [EMAIL PROTECTED]
I think users should be able to set max_user_freq values for rtc and hpet during kernel configuration. The default value is set to 1024 with this patch. The default value of 64 is really too small for modern multimedia apps. Besides, this patch fixes link on intel hpet spec. Signed-off-by:

Re: 2.6.23-rc1-mm2

2007-08-01 Thread Mel Gorman
On (01/08/07 22:52), Torsten Kaiser didst pronounce: On 8/1/07, Andrew Morton [EMAIL PROTECTED] wrote: On Wed, 01 Aug 2007 16:30:08 -0400 [EMAIL PROTECTED] wrote: As an aside, it looks like bitspieces of dynticks-for-x86_64 are in there. In particular,

Re: [PATCH -mm 3/3] Freezer: Measure freezing time

2007-08-01 Thread Andrew Morton
On Wed, 1 Aug 2007 23:36:39 +0200 Rafael J. Wysocki [EMAIL PROTECTED] wrote: + do_gettimeofday(end); + elapsed_csecs64 = timeval_to_ns(end) - timeval_to_ns(start); + do_div(elapsed_csecs64, NSEC_PER_SEC / 100); + elapsed_csecs = elapsed_csecs64; I'd have thought that we had

Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

2007-08-01 Thread Gregory Haskins
On Thu, 2007-08-02 at 02:22 +0400, Oleg Nesterov wrote: No. However, IIUC the point of flush_workqueue() is a barrier only relative to your own submissions, correct?. E.g. to make sure *your* requests are finished, not necessarily the entire queue. No, You sure are a confident one

Re: [PATCH][RFC] unbreak generic futex_atomic_cmpxchg_inatomic() on UP

2007-08-01 Thread Lennert Buytenhek
On Thu, Aug 02, 2007 at 01:00:21AM +0200, Mikael Pettersson wrote: @@ -52,7 +53,34 @@ futex_atomic_op_inuser (int encoded_op, static inline int futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval) { +#ifdef CONFIG_SMP return -ENOSYS; +#else Since the callers

Re: [PATCH -mm] Introduce strtol_check_range()

2007-08-01 Thread Satyam Sharma
Hi Alexey, On Wed, 1 Aug 2007, Alexey Dobriyan wrote: On Tue, Jul 31, 2007 at 10:04:10PM +0530, Satyam Sharma wrote: Callers (especially store functions for sysfs or configfs attributes) that want to convert an input string to a number may often also want to check for simple input sanity

Re: [patch -mm][Intel-IOMMU] Optimize sg map/unmap calls

2007-08-01 Thread Andrew Morton
On Wed, 1 Aug 2007 13:06:23 -0700 Keshavamurthy, Anil S [EMAIL PROTECTED] wrote: +/* Computes the padding size required, to make the + * the start address naturally aligned on its size + */ +static int +iova_get_pad_size(int size, unsigned int limit_pfn) +{ + unsigned int pad_size = 0;

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

2007-08-01 Thread Kasper Sandberg
On Tue, 2007-07-31 at 10:57 +0200, Ingo Molnar wrote: * Peter Zijlstra [EMAIL PROTECTED] wrote: On Tue, 2007-07-31 at 01:46 +0200, Kasper Sandberg wrote: could perhaps be filesystem related, i have my maildir(extremely large) on reiserfs, and /home on xfs. what my mail client will

Re: [PATCH -mm 2/3] Freezer: Use wait queue instead of busy looping

2007-08-01 Thread Andrew Morton
On Wed, 1 Aug 2007 23:32:48 +0200 Rafael J. Wysocki [EMAIL PROTECTED] wrote: +/* + * Used to notify try_to_freeze_tasks() that the refrigerator has been entered + * by a task. + */ +static int refrigerator_called; this is rather icky. - To unsubscribe from this list: send the line

[PATCH] Fix two potential mem leaks in MPT Fusion (mpt_attach())

2007-08-01 Thread Jesper Juhl
Greetings Salutations, The Coverity checker spotted two potential memory leaks in drivers/message/fusion/mptbase.c::mpt_attach(). There are two returns that may leak the storage allocated for 'ioc' (sizeof(MPT_ADAPTER) bytes). A simple fix would be to simply add two kfree() calls before the

Re: cpufreq.c:(.text+0xaf178): undefined reference to `cpufreq_gov_performance'

2007-08-01 Thread Andrew Morton
On Wed, 1 Aug 2007 16:31:46 -0700 Miles Lane [EMAIL PROTECTED] wrote: LD .tmp_vmlinux1 drivers/built-in.o: In function `__cpufreq_governor': cpufreq.c:(.text+0xaf178): undefined reference to `cpufreq_gov_performance' cpufreq.c:(.text+0xaf18a): undefined reference to

[PATCH -mm] linux-audit list is subscribers-only

2007-08-01 Thread Gabriel C
Signed-off-by: Gabriel Craciunescu [EMAIL PROTECTED] --- --- linux-2.6.23-rc1-mm/MAINTAINERS.orig2007-08-02 01:51:40.0 +0200 +++ linux-2.6.23-rc1-mm/MAINTAINERS 2007-08-02 01:52:17.0 +0200 @@ -672,7 +672,7 @@ S: Maintained AUDIT SUBSYSTEM P: David Woodhouse

Re: drbd 8.0.2/3 doesn't load under kernel 2.6.21

2007-08-01 Thread Adrian Bunk
On Wed, Aug 01, 2007 at 07:02:14PM -0400, Maurice Volaski wrote: First, did you confirm this behavior? Can you please explain that? How could they possibly interact with one another? It's obvious when looking at the source code that both modules you are trying to use are buggy, and the sum of

Re: [PATCH 1/7] sysfs: fix locking in sysfs_lookup() and sysfs_rename_dir()

2007-08-01 Thread Greg KH
On Tue, Jul 31, 2007 at 07:15:08PM +0900, Tejun Heo wrote: sd children list walking in sysfs_lookup() and sd renaming in sysfs_rename_dir() were left out during i_mutex - sysfs_mutex conversion. Fix them. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Ok, to apply this, it messes with Eric's

Re: [PATCH][RFC] unbreak generic futex_atomic_cmpxchg_inatomic() on UP

2007-08-01 Thread Mikael Pettersson
On Thu, 2 Aug 2007 01:49:02 +0200, Lennert Buytenhek wrote: On Thu, Aug 02, 2007 at 01:00:21AM +0200, Mikael Pettersson wrote: @@ -52,7 +53,34 @@ futex_atomic_op_inuser (int encoded_op, static inline int futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval) {

Re: [PATCH -mm] Introduce strtol_check_range()

2007-08-01 Thread Satyam Sharma
On Thu, 2 Aug 2007, Satyam Sharma wrote: On Wed, 1 Aug 2007, Alexey Dobriyan wrote: On Tue, Jul 31, 2007 at 10:04:10PM +0530, Satyam Sharma wrote: Callers (especially store functions for sysfs or configfs attributes) that want to convert an input string to a number may often also

Re: [PATCH] Fix two potential mem leaks in MPT Fusion (mpt_attach())

2007-08-01 Thread Andrew Morton
On Thu, 2 Aug 2007 01:55:33 +0200 Jesper Juhl [EMAIL PROTECTED] wrote: Greetings Salutations, The Coverity checker spotted two potential memory leaks in drivers/message/fusion/mptbase.c::mpt_attach(). There are two returns that may leak the storage allocated for 'ioc'

Re: [PATCH] 2.6.23-rc1-mm1 - fix missing numa_zonelist_order sysctl

2007-08-01 Thread KAMEZAWA Hiroyuki
On Wed, 01 Aug 2007 15:02:51 -0400 Lee Schermerhorn [EMAIL PROTECTED] wrote: [But, maybe reordering the zonelists is not such a good idea when ZONE_MOVABLE is populated?] It's case-by-case I think. In zone order with ZONE_MOVABLE case, user's page cache will not use ZONE_NORMAL until

Re: [PATCH 026 of 35] Split any large bios that arrive at __make_request.

2007-08-01 Thread Neil Brown
On Thursday August 2, [EMAIL PROTECTED] wrote: Hmmm... Patches don't apply beyond this one. I'm applying against clean 2.6.23-rc1-mm1 grabbed using ketchup. So do you mean 027 doesn't apply, or that 028 doesn't apply next? It is possible that you missed 027. It originally has 3 consecutive

Re: cpufreq.c:(.text+0xaf178): undefined reference to `cpufreq_gov_performance'

2007-08-01 Thread Gabriel C
Andrew Morton wrote: On Wed, 1 Aug 2007 16:31:46 -0700 Miles Lane [EMAIL PROTECTED] wrote: LD .tmp_vmlinux1 drivers/built-in.o: In function `__cpufreq_governor': cpufreq.c:(.text+0xaf178): undefined reference to `cpufreq_gov_performance' cpufreq.c:(.text+0xaf18a): undefined

Re: [PATCH -mm] linux-audit list is subscribers-only

2007-08-01 Thread Randy Dunlap
On Thu, 02 Aug 2007 01:59:54 +0200 Gabriel C wrote: Signed-off-by: Gabriel Craciunescu [EMAIL PROTECTED] --- --- linux-2.6.23-rc1-mm/MAINTAINERS.orig 2007-08-02 01:51:40.0 +0200 +++ linux-2.6.23-rc1-mm/MAINTAINERS 2007-08-02 01:52:17.0 +0200 @@ -672,7 +672,7 @@

Re: [PATCH 1/7] sysfs: fix locking in sysfs_lookup() and sysfs_rename_dir()

2007-08-01 Thread Eric W. Biederman
Greg KH [EMAIL PROTECTED] writes: On Tue, Jul 31, 2007 at 07:15:08PM +0900, Tejun Heo wrote: sd children list walking in sysfs_lookup() and sd renaming in sysfs_rename_dir() were left out during i_mutex - sysfs_mutex conversion. Fix them. Signed-off-by: Tejun Heo [EMAIL PROTECTED] Ok,

Re: CS5530 Alsa driver fails

2007-08-01 Thread Ash Willis
the VGA video. If your box has VSA2 then VSA2 firmware has some kind of hooks to allow a native sound driver to take over and to reroute the interrupts without SB emulation. I don't have the docs for VSA2 but the horribly big natsemi provided audio driver does show how to do it. I wouldn't

Re: [PATCH][RFC] unbreak generic futex_atomic_cmpxchg_inatomic() on UP

2007-08-01 Thread Lennert Buytenhek
On Thu, Aug 02, 2007 at 02:06:27AM +0200, Mikael Pettersson wrote: @@ -52,7 +53,34 @@ futex_atomic_op_inuser (int encoded_op, static inline int futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval) { +#ifdef CONFIG_SMP return -ENOSYS; +#else

Re: [PATCH 1/7] sysfs: fix locking in sysfs_lookup() and sysfs_rename_dir()

2007-08-01 Thread Greg KH
On Wed, Aug 01, 2007 at 05:29:00PM -0700, Greg KH wrote: On Tue, Jul 31, 2007 at 07:15:08PM +0900, Tejun Heo wrote: sd children list walking in sysfs_lookup() and sd renaming in sysfs_rename_dir() were left out during i_mutex - sysfs_mutex conversion. Fix them. Signed-off-by: Tejun

<    5   6   7   8   9   10   11   >