Re: Pin-pointing the root of unusual application latencies

2007-07-23 Thread John Sigler
Ingo Molnar wrote: John Sigler wrote: Here's a /proc/latency_trace dump. What is there to understand? # cat /proc/latency_trace preemption latency trace v1.1.5 on 2.6.20.7-rt8 latency: 26 us, #2/2, CPU#0 | (M:rt VP:0,

Re: [linux-pm] Re: Hibernation considerations

2007-07-23 Thread Miklos Szeredi
> Alan has recently proposed to introduce "suspend locks" to be acquired during > a suspend/hibernation and such that we can leave uninterruptible tasks that > don't hold any of them. Sounds sane. A global rwsem could be acquired for read by drivers, and for write by suspend/hibernate. Just

Re: [PATCH -rt] drop spurious rcu unlock

2007-07-23 Thread Paul E. McKenney
On Mon, Jul 23, 2007 at 06:37:19AM -0700, Daniel Walker wrote: > On Sun, 2007-07-22 at 20:13 -0700, Paul E. McKenney wrote: > > On Sun, Jul 22, 2007 at 10:22:37AM -0700, Daniel Walker wrote: > > > > > > Strange rcu_read_unlock() which causes a imbalance, and boot hang.. I > > > didn't notice a

Re: alpha, i386,mips,powerpc,ppc,xtensa compile brakage (was Re: Linus 2.6.23-rc1)

2007-07-23 Thread Gabriel C
Josh Boyer wrote: > On 7/23/07, Jan Dittmer <[EMAIL PROTECTED]> wrote: >> # ppc/bamboo_defconfig: broke >> >>GEN .version >>CHK include/linux/compile.h >>UPD include/linux/compile.h >>CC init/version.o >>LD init/built-in.o >>LD .tmp_vmlinux1 >>

Re: alpha, i386,mips,powerpc,ppc,xtensa compile brakage (was Re: Linus 2.6.23-rc1)

2007-07-23 Thread Josh Boyer
On 7/23/07, Jan Dittmer <[EMAIL PROTECTED]> wrote: # ppc/bamboo_defconfig: broke GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 drivers/built-in.o(.text+0x1ebda): In function

Re: [RFH] Partition table recovery

2007-07-23 Thread Theodore Tso
On Mon, Jul 23, 2007 at 10:15:21AM +0200, Rene Herman wrote: > On an integrated system like this, do you consider it acceptable to only do > the MS-DOS partitions and not the other types that may be present _inside_ > those partitions? (MINIX subpartitions, BSD slices, ...). I believe those >

Re: [linux-pm] Re: Hibernation considerations

2007-07-23 Thread Rafael J. Wysocki
On Monday, 23 July 2007 15:08, Miklos Szeredi wrote: > > > > The reason is that we want them to "park" in safe places, ie. where > > > > there > > > > are no locks held etc.  Thus, these safe places need to be chosen > > > > somehow > > > > and since they are not marked throughout the code, we

RE: [PATCH] aacraid: Resend, Fix security hole

2007-07-23 Thread Salyzyn, Mark
ACK. Unit tested with Adaptec RAID management applications with apparently no issue. Will push this into matrix testing in the coming week. Sincerely -- Mark Salyzyn > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alan Cox > Sent: Monday, July

Re: [RFH] Partition table recovery

2007-07-23 Thread Theodore Tso
On Mon, Jul 23, 2007 at 09:34:25AM +0200, Rene Herman wrote: > > The most profound issue is _what_ to save. I for example don't cylinder > align my partitions (I hate wasting disk just to appease broken software) > meaning that not all my end_head/sector values are consistent even at the >

Re: [PATCH -rt] drop spurious rcu unlock

2007-07-23 Thread Daniel Walker
On Sun, 2007-07-22 at 20:13 -0700, Paul E. McKenney wrote: > On Sun, Jul 22, 2007 at 10:22:37AM -0700, Daniel Walker wrote: > > > > Strange rcu_read_unlock() which causes a imbalance, and boot hang.. I > > didn't notice a reason for it, and removing it allows my system to make > > progress. > >

[PATCH] asus-laptop: ASUS laptop no longer compiles. I think this is the right fix ?

2007-07-23 Thread Alan Cox
Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.23rc1/drivers/misc/asus-laptop.c linux-2.6.23rc1/drivers/misc/asus-laptop.c --- linux.vanilla-2.6.23rc1/drivers/misc/asus-laptop.c 2007-07-23 12:56:12.0 +0100

[PATCH] aacraid: Resend, Fix security hole

2007-07-23 Thread Alan Cox
On the SCSI layer ioctl path there is no implicit permissions check for ioctls (and indeed other drivers implement unprivileged ioctls). aacraid however allows all sorts of very admin only things to be done so should check. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file

Re: What does irq_canonicalize mean?

2007-07-23 Thread Alan Cox
On Mon, 23 Jul 2007 21:12:22 +0800 "jidong xiao" <[EMAIL PROTECTED]> wrote: > I found this function, inside include/asm-i386/irq.h or > include/asm-x86_64/irq.h, ISA bus interrupt 2 is remapped to 9 on 16bit PC ISA bus platforms. Thus the user idea of "IRQ 2" is different to the hardware one -

Re: [DRIVER SUBMISSION] DRBD wants to go mainline

2007-07-23 Thread Satyam Sharma
On 7/23/07, Lars Ellenberg <[EMAIL PROTECTED]> wrote: On Sun, Jul 22, 2007 at 09:32:02PM -0400, Kyle Moffett wrote: [...] > Don't use signals between kernel threads, use proper primitives like > notifiers and waitqueues, which means you should also probably switch away > from kernel_thread() to

Re: [1/2] 2.6.23-rc1: known regressions

2007-07-23 Thread Al Viro
On Mon, Jul 23, 2007 at 02:12:07PM +0100, Richard Purdie wrote: > Fix the leak where asus-led registration fails half way through. Frankly, I don't think that any post-factum checks are needed. We should just bail out at the point of failure. See the patch posted earlier... BTW, your variant

Re: [DRIVER SUBMISSION] DRBD wants to go mainline

2007-07-23 Thread Jens Axboe
On Mon, Jul 23 2007, Lars Ellenberg wrote: > > +/* THINK maybe we actually want to use the default "event/%s" worker > > threads > > + * or similar in linux 2.6, which uses per cpu data and threads. > > + * > > + * To be general, this might need a spin_lock member. > > + * For now, please use the

Re: copy: Problems with kernel 2.6.22-git15, 2.6.23-rc1

2007-07-23 Thread Jan Engelhardt
On Jul 23 2007 09:40, werner wrote: >The kernel need to stay compatible to old versions of the file system and >other fundamental programs. > >Please correct this Please read Documentation/stable_api_nonsense.txt first. Jan -- - To unsubscribe from this list: send the line

Re: [PATCH] LinuxPPS - definitive version

2007-07-23 Thread David Woodhouse
On Tue, 2007-07-17 at 20:05 +0200, Rodolfo Giometti wrote: > Hello, > > here my last patch for PPS support. > > In my opinion it should be ok for inclusion... please, let me know if > something should be still changed. s/Documentaion/Documentation/ in the last line of Documentation/pps/pps.txt

Re: [RFH] Partition table recovery

2007-07-23 Thread Rene Herman
On 07/23/2007 03:15 PM, Jan-Benedict Glaw wrote: static inline uint32_t le_32(uint32_t n) { #ifdef __LITTLE_ENDIAN return n; #else return bswap_32(n); #endif } #if __BYTE_ORDER == __LITTLE_ENDIAN, that is. sigh. Don't forget PDP11 byteorder :-) How could I? It cracks me up

Re: [DRIVER SUBMISSION] DRBD wants to go mainline

2007-07-23 Thread Lars Ellenberg
On Sun, Jul 22, 2007 at 09:32:02PM -0400, Kyle Moffett wrote: > Ok, I didn't have a chance to get through anywhere near all of it, but > here's my comments so far. I didn't really go through things in any > particular order but most of these comments are about your drbd_int.h > header file.

copy: Problems with kernel 2.6.22-git15, 2.6.23-rc1

2007-07-23 Thread werner
There are incompatibilities in kmem_cache_create , which makes that a lot of important progs dont compile longer -- such as ndiskwrapper , btrfs (in this file system, me and other people storage important data) and others. Also obexfs/bluetooth seems to dont work more correctly, however by

Sorry!

2007-07-23 Thread Nigel Cunningham
Hi all. Sorry for all of the copies. I was holding the message in the outbox, and double clicking on it, trying to get the encoding right in kmail. Needless to say now, it lied to me about whether it was keeping the previous copy of email in the outbox or not. Nigel pgpSf0dckH1fV.pgp

Re: [PATCH] virtual sched_clock() for s390

2007-07-23 Thread Martin Schwidefsky
On Mon, 2007-07-23 at 09:15 +, Jan Glauber wrote: > > > As with s390, 64-bit PowerPC also uses CONFIG_VIRT_CPU_ACCOUNTING. > > > That affects how tsk->utime and tsk->stime are accumulated (we call > > > account_user_time and account_system_time directly rather than calling > > >

drivers/message/fusion/mptscsih.c: inconsequent NULL checking

2007-07-23 Thread Adrian Bunk
The Coverity checker spotted the following inconsequent NULL checking in drivers/message/fusion/mptscsih.c: <-- snip --> ... int mptscsih_qcmd(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) { ... if (vdev && (vdev->vtarget->tflags & MPT_TARGET_FLAGS_Q_YES)

Re: [RFC] [PATCH 0/5] Dynamically allocated pageflags.

2007-07-23 Thread Nigel Cunningham
Bah. Sorry for sending it twice. Fun with figuring out Kmail encoding. Anyway, I forgot to include the stats in the previous message. Here they are. [ 20.667431] Dynpageflags testing... [ 20.667433] Set page 1...Ok. [ 20.667440] Test memory hotplugging #1 ...Ok. [ 20.667442] Test memory

[PATCH] dev->priv to netdev_priv(dev), drivers/net/tokenring/

2007-07-23 Thread Yoann Padioleau
Replacing accesses to dev->priv to netdev_priv(dev). The replacment is safe when netdev_priv is used to access a private structure that is right next to the net_device structure in memory. Cf

[RFC] [PATCH 2/5] Dynamically allocated pageflags - PageMappedToDisk conversion.

2007-07-23 Thread Nigel Cunningham
Switch the "MappedToDisk" pageflag to using dynpageflags. Signed-off-by: Nigel Cunningham <[EMAIL PROTECTED]> include/linux/page-flags.h |9 + mm/dyn_pageflags.c |2 ++ mm/page_alloc.c|3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) diff -ruNp

[RFC] [PATCH 3/5] Dynamically allocated pageflags - PageSwapCache conversion.

2007-07-23 Thread Nigel Cunningham
Switch PageSwapCache flag to use dynamically allocated pageflags. Signed-off-by: Nigel Cunningham <[EMAIL PROTECTED]> include/linux/page-flags.h |7 --- mm/dyn_pageflags.c |3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff -ruNp

[RFC] [PATCH 5/5] Dynamically allocated pageflags - PageBuddy conversion.

2007-07-23 Thread Nigel Cunningham
Convert PageBuddy to dynamically allocate pageflags. Again, not sure that we'd actually want to apply this, but it demonstrates that the implementation is usable. Signed-off-by: Nigel Cunningham <[EMAIL PROTECTED]> include/linux/page-flags.h |8 mm/dyn_pageflags.c |2

[RFC] [PATCH 0/5] Dynamically allocated pageflags.

2007-07-23 Thread Nigel Cunningham
Hi all. As we all know, pageflags have been a scarce resource for a while now. These patches seek to help address that issue by adding support for a new type of 'dynamically allocated' pageflag. The basic idea is that we use per node & zone bitmaps built out of order zero allocations, to

[RFC] [PATCH 1/5] Dynamically allocated pageflags - core code.

2007-07-23 Thread Nigel Cunningham
This patch adds the core of the support for dynamically allocated pageflags. Signed-off-by: Nigel Cunningham <[EMAIL PROTECTED]> include/linux/dyn_pageflags.h | 65 +++ init/main.c |3 mm/Makefile |2 mm/dyn_pageflags.c| 774

[RFC] [PATCH 4/5] Dynamically allocated pageflags - PageSlab conversion.

2007-07-23 Thread Nigel Cunningham
Convert PageSlab to use dynamically allocated page flags. I'm not sure that we'll actually want to apply this, but it does work (I'm using it as I type this). Signed-off-by: Nigel Cunningham <[EMAIL PROTECTED]> include/linux/page-flags.h |8 mm/dyn_pageflags.c |4

Re: [RFH] Partition table recovery

2007-07-23 Thread Jan-Benedict Glaw
On Mon, 2007-07-23 14:39:11 +0200, Rene Herman <[EMAIL PROTECTED]> wrote: > On 07/23/2007 12:54 PM, Rene Herman wrote: > > > static inline uint32_t le_32(uint32_t n) > > { > > #ifdef __LITTLE_ENDIAN > > return n; > > #else > > return bswap_32(n); > > #endif > > } > > #if __BYTE_ORDER ==

What does irq_canonicalize mean?

2007-07-23 Thread jidong xiao
I found this function, inside include/asm-i386/irq.h or include/asm-x86_64/irq.h, static __inline__ int irq_canonicalize(int irq) { return ((irq == 2) ? 9 : irq); } there is no comments,so I am totally confused what does this function mean, why there is a "2", and why there is a "9"?

Re: [1/2] 2.6.23-rc1: known regressions

2007-07-23 Thread Richard Purdie
On Mon, 2007-07-23 at 12:25 +0100, Al Viro wrote: > On Mon, Jul 23, 2007 at 04:17:05AM -0700, Trent Piepho wrote: > > > Here's a trivial patch for this one. > > > > asus-laptop: Sync with changes to led class > > > >

Re: [linux-pm] Re: Hibernation considerations

2007-07-23 Thread Miklos Szeredi
> > > The reason is that we want them to "park" in safe places, ie. where there > > > are no locks held etc.  Thus, these safe places need to be chosen somehow > > > and since they are not marked throughout the code, we choose the obvious > > > one. :-) > > > > Why shouldn't locks be held? > > >

Re: fallocate() man page

2007-07-23 Thread Amit K. Arora
Hi Michael, On Mon, Jul 23, 2007 at 08:09:45AM +0200, Michael Kerrisk wrote: > Amit, > > I've taken the page that you sent and made various minor formatting and > wording fixes. I've also added various FIXMEs to the page. Some of these > ("FIXME .") are things that I need to check up later.

[BUG] 2.6.23-rc1 broke APM

2007-07-23 Thread Mikael Pettersson
On this machine (Gigabyte mobo with i815EP chipset and a PIII), APM worked fine up to 2.6.22. With 2.6.23-rc1 however the APM driver fails to locate the APM bios: --- dmesg-2.6.222007-07-23 14:07:46.0 +0200 +++ dmesg-2.6.23-rc12007-07-23 14:48:24.0 +0200 @@ -102,7

Re: Determine version of kernel that produced vmcore

2007-07-23 Thread Dan Aloni
On Mon, Jul 23, 2007 at 08:47:23PM +0900, Ken'ichi Ohmichi wrote: > > Hi, > > 2007/07/23 10:31:47 +0530, Vivek Goyal <[EMAIL PROTECTED]> wrote: [..] > > > >I am also in favour of a complete kernel based solution. Export required > >info from kernel and let kexec-tools parse that info, pass it to

arch/i386/mach-voyager/setup.c , compile error

2007-07-23 Thread Gabriel C
Hi, I got this error on current git with a randconfig : ... arch/i386/mach-voyager/setup.c: In function 'time_init_hook': arch/i386/mach-voyager/setup.c:52: error: implicit declaration of function 'safe_smp_processor_id' make[1]: *** [arch/i386/mach-voyager/setup.o] Error 1 make: ***

Re: vdso.so mislinked by buggy linker was Re: Linus 2.6.23-rc1

2007-07-23 Thread Jakub Jelinek
On Mon, Jul 23, 2007 at 01:56:20AM +0200, Andi Kleen wrote: > On Monday 23 July 2007 01:38:40 Andre Noll wrote: > [readded linux-kernel, Linus] > > > [Nr] Name Type Address Offset > >Size EntSize Flags Link Info Align > > [

Re: [PATCH] Fix fbcon - 'map_override' defined but not used warning

2007-07-23 Thread Antonino A. Daplas
On Mon, 2007-07-23 at 14:07 +0200, Gabriel C wrote: > Antonino A. Daplas wrote: > > On Sun, 2007-07-22 at 18:23 +0200, Gabriel C wrote: > >> Hi, > >> > >> I got this warning on current git: > >> > >> ... > >> > >> drivers/video/console/fbcon.c:130: warning: 'map_override' defined but not > >>

Intel Strataflash P30

2007-07-23 Thread veerasena reddy
Hi, Does Linux-2.6.12 or linux-2.6.18 has MTD flash device support for "Intel Strataflash P30" device? I appreciate your early response. Thanks in Advance. Regards, Veerasena. Get the freedom to save as many mails as you wish. To know how, go to

Re: [RFH] Partition table recovery

2007-07-23 Thread Rene Herman
On 07/23/2007 12:54 PM, Rene Herman wrote: static inline uint32_t le_32(uint32_t n) { #ifdef __LITTLE_ENDIAN return n; #else return bswap_32(n); #endif } #if __BYTE_ORDER == __LITTLE_ENDIAN, that is. sigh. Rene. - To unsubscribe from this list: send the line "unsubscribe

Re: [kvm-devel] [RFC 0/8]KVM: swap out guest pages

2007-07-23 Thread Avi Kivity
Christoph Hellwig wrote: Generic vmas will be more intrusive AFAICT. People use intrusive differently. Doing big changes to core code is not a problem if we actually get a proper interface. Just exporting core function without other changes and then writing code in modules that pokes

Re: [kvm-devel] [RFC 0/8]KVM: swap out guest pages

2007-07-23 Thread Christoph Hellwig
On Mon, Jul 23, 2007 at 03:29:36PM +0300, Avi Kivity wrote: > >Actually it requires lots of deep down VM internals symbols that'll never > >get exported. > > > > > > What's "it" here? kvm-specific address space or generic vmas. The patches in this thread. > Generic vmas will be more

Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK

2007-07-23 Thread Mel Gorman
On (23/07/07 13:38), Peter Zijlstra didst pronounce: > On Mon, 2007-07-23 at 12:21 +0100, Mel Gorman wrote: > > > Does this patch compile though? > > Ugh, the fix landed in another patch :-( > > updated patch below. > > --- > Daniel recently spotted that __GFP_ZERO is not (and has never been)

Re: [kvm-devel] [RFC 0/8]KVM: swap out guest pages

2007-07-23 Thread Avi Kivity
Christoph Hellwig wrote: On Mon, Jul 23, 2007 at 01:27:40PM +0300, Avi Kivity wrote: Having an address_space (like your patch does) is remarkably simple, and requires few hooks from the current vm. However using existing vmas mapped by the user has many advantages: Actually it

Re: [linux-pm] Re: Hibernation considerations

2007-07-23 Thread Oliver Neukum
Am Montag 23 Juli 2007 schrieb Miklos Szeredi: > > The reason is that we want them to "park" in safe places, ie. where there > > are no locks held etc.  Thus, these safe places need to be chosen somehow > > and since they are not marked throughout the code, we choose the obvious > > one. :-) > >

Re: sound is interrupting with new kernels

2007-07-23 Thread Ingo Molnar
could you try CONFIG_HZ_1000 instead of the 250 you are using currently? Also, please enable CONFIG_SCHED_DEBUG to improve the output of cfs-debug-info.sh. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [kvm-devel] [RFC 0/8]KVM: swap out guest pages

2007-07-23 Thread Christoph Hellwig
On Mon, Jul 23, 2007 at 01:27:40PM +0300, Avi Kivity wrote: > Having an address_space (like your patch does) is remarkably simple, and > requires few hooks from the current vm. However using existing vmas > mapped by the user has many advantages: Actually it requires lots of deep down VM

Re: [linux-pm] Re: Hibernation considerations

2007-07-23 Thread Rafael J. Wysocki
On Monday, 23 July 2007 14:14, Miklos Szeredi wrote: > > On Monday, 23 July 2007 12:24, Miklos Szeredi wrote: > > > > > The only thing to do is what Rafael has been working on: unfreeze > > > > > things, hope the tasks sort themselves out, and try again. > > > > > > > > That's what I'm

Re: [FIX] struct led_classdev conversion compile fallout

2007-07-23 Thread Gabriel C
Andreas Gruenbacher wrote: > Commit f8a7c6fe switched from a struct class_device to a struct device in > struct led_classdev. Need to adjust drivers/misc/asus-laptop.c as well. > > Signed-off-by: Andreas Gruenbacher <[EMAIL PROTECTED]> > > diff --git a/drivers/misc/asus-laptop.c

Re: [linux-pm] Re: Hibernation considerations

2007-07-23 Thread Miklos Szeredi
> On Monday, 23 July 2007 12:24, Miklos Szeredi wrote: > > > > The only thing to do is what Rafael has been working on: unfreeze > > > > things, hope the tasks sort themselves out, and try again. > > > > > > That's what I'm questioning. Is there a more reliable way and we've > > > just given up

Re: [PATCH] Fix fbcon - 'map_override' defined but not used warning

2007-07-23 Thread Gabriel C
Antonino A. Daplas wrote: > On Sun, 2007-07-22 at 18:23 +0200, Gabriel C wrote: >> Hi, >> >> I got this warning on current git: >> >> ... >> >> drivers/video/console/fbcon.c:130: warning: 'map_override' defined but not >> used >> >> ... >> >> Signed-off-by: Gabriel Craciunescu <[EMAIL PROTECTED]>

[FIX] struct led_classdev conversion compile fallout

2007-07-23 Thread Andreas Gruenbacher
Commit f8a7c6fe switched from a struct class_device to a struct device in struct led_classdev. Need to adjust drivers/misc/asus-laptop.c as well. Signed-off-by: Andreas Gruenbacher <[EMAIL PROTECTED]> diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c index f753060..2fdee5b

Re: sound is interrupting with new kernels

2007-07-23 Thread Ingo Molnar
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >Please run this script while using mplayer or audacious > >http://people.redhat.com/mingo/cfs-scheduler/tools/cfs-debug-info.sh > >and send results > > > I did it anyway ... see the attachment. The script has been running > while mplayer has been

Re: [linux-pm] Re: Hibernation considerations

2007-07-23 Thread Rafael J. Wysocki
On Monday, 23 July 2007 12:24, Miklos Szeredi wrote: > > > The only thing to do is what Rafael has been working on: unfreeze > > > things, hope the tasks sort themselves out, and try again. > > > > That's what I'm questioning. Is there a more reliable way and we've > > just given up too quickly?

Re: [PATCH] usb/atm: fix Kconfig garbage

2007-07-23 Thread Adrian Bunk
On Mon, Jul 23, 2007 at 08:56:04AM +0200, Borislav Petkov wrote: > Hi there, > > I don't know whether this is the proper Kconfig-way to fix this but it works > ok here. > > > When entered, the menu point "USB DSL modem support" in menuconfig, path > [Device Drivers->USB > Support] shows

Re: "build-id" changes break sparc64

2007-07-23 Thread Al Viro
On Mon, Jul 23, 2007 at 06:55:59PM +0930, Alan Modra wrote: > On Mon, Jul 23, 2007 at 10:14:35AM +0200, Sam Ravnborg wrote: > > But I would still like to hear from Alan what the benefits are. > > See http://sourceware.org/ml/binutils/2004-10/msg00178.html What does _not_ doing intermediates do

Re: Determine version of kernel that produced vmcore

2007-07-23 Thread Ken'ichi Ohmichi
Hi, 2007/07/23 10:31:47 +0530, Vivek Goyal <[EMAIL PROTECTED]> wrote: >On Thu, Jul 19, 2007 at 12:39:15PM -0400, Don Zickus wrote: >[..] >> >> I am not a big fan of this approach as it forces distros to require >> kexec-tools when building a kernel. Even Joe Hacker who wants a custom >> kernel

Re: [PATCH] add __GFP_ZERO to GFP_LEVEL_MASK

2007-07-23 Thread Peter Zijlstra
On Mon, 2007-07-23 at 12:21 +0100, Mel Gorman wrote: > Does this patch compile though? Ugh, the fix landed in another patch :-( updated patch below. --- Daniel recently spotted that __GFP_ZERO is not (and has never been) part of GFP_LEVEL_MASK. I could not find a reason for this in the

Re: "build-id" changes break sparc64

2007-07-23 Thread Alan Modra
On Mon, Jul 23, 2007 at 10:14:35AM +0200, Sam Ravnborg wrote: > But I would still like to hear from Alan what the benefits are. See http://sourceware.org/ml/binutils/2004-10/msg00178.html -- Alan Modra Australia Development Lab, IBM - To unsubscribe from this list: send the line "unsubscribe

2.6.23-rc1 section mismatch warnings

2007-07-23 Thread markus reichelt
Hi, 2.6.23-rc1 (as well as 2.6.22.x) produces some section mismatch warnings during compile on slackware 11 (gcc-3.4.6, glibc-2.3.6): LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x139c1): Section mismatch: reference to .init.data:trampoline_end (between 'setup_trampoline'

Re: [BUG] firewire: mass-storage i/o-problems

2007-07-23 Thread Stefan Richter
Manuel Lauss wrote: > I noticed the failures start when there are 2 concurrent disk accesses > (copy something from fw disk on shell 1 and it runs fine; start to > copy something TO the fw disk on shell 2 and a "management write failed" > error appears after 1-2 sec. with the orb timeout after a

Re: [BUG] firewire: mass-storage i/o-problems

2007-07-23 Thread Stefan Richter
Andreas Messer wrote: > On Monday, 23. Juli 2007 01:34 Stefan Richter wrote: >> Are you sure the FireWire controller is from VIA? Check with lscpi. >> The NVidia nForce2 chipset has an own FireWire controller, and that one >> is only "supported" by a gross hack in ohci1394 and at the moment >>

Re: [RFC 7/8]KVM: swap out guest pages

2007-07-23 Thread Avi Kivity
Shaohua Li wrote: Make KVM guest pages be allocated dynamically and able to be swaped out. One issue: all inodes returned from anon_inode_getfd are shared, if one module changes field of the inode, other moduels might break. Should we introduce a new API to not share inode? Signed-off-by:

Re: [1/2] 2.6.23-rc1: known regressions

2007-07-23 Thread Al Viro
On Mon, Jul 23, 2007 at 04:17:05AM -0700, Trent Piepho wrote: > Here's a trivial patch for this one. > > asus-laptop: Sync with changes to led class > > Driver was broken by commit f8a7c6fe14f556ca8eeddce258cb21392d0c3a2f

Re: [PATCH] add __GFP_ZERP to GFP_LEVEL_MASK

2007-07-23 Thread Mel Gorman
On (23/07/07 12:03), Peter Zijlstra didst pronounce: > > Daniel recently spotted that __GFP_ZERO is not (and has never been) > part of GFP_LEVEL_MASK. I could not find a reason for this in the > original patch: 3977971c7f09ce08ed1b8d7a67b2098eb732e4cd in the -bk > tree. > > This of course is in

Re: [RFC 6/8]KVM: introduce kvm_mmu_zap_pagetbl

2007-07-23 Thread Avi Kivity
Shaohua Li wrote: add a routine to zap all shadow pgtble for a gfn. If kvm supports SMP, the API should zap pgtble for all vcpus, but kvm shadow page table really should be per-vm, instead of per-vcpu. kvm shadow page tables _are_ per-vm. Current kvm.git even makes that more explicit

Re: [1/2] 2.6.23-rc1: known regressions

2007-07-23 Thread Trent Piepho
On Mon, 23 Jul 2007, Michal Piotrowski wrote: > ACPI > > Subject : drivers/misc/asus-laptop.c:*: error: 'struct led_classdev' > has no member named 'class_dev' > References : http://lkml.org/lkml/2007/7/22/299 > Last known good : ? > Submitter : Gabriel C <[EMAIL PROTECTED]> >

Re: SCSI vs SATA

2007-07-23 Thread Rene Herman
On 07/23/2007 12:52 PM, BuraphaLinux Server wrote: #! /bin/bash drive="sda" vendor=$( This is probably not a useful comment and a reasonable script in your local setting but still thought I'd point out that these days most anything is sda, so if !SATA it can generally also be USB, or FW, or

Re: [RFC 3/8]KVM: convert vm lock to a mutex

2007-07-23 Thread Avi Kivity
Shaohua Li wrote: convert kvm lock to a mutex. TBD: after this change, a lot of logic in kvm can be simplified, eg, we don't need release lock and then do operation blocking. This is now in the preempt-hooks branch. -- error compiling committee.c: too many arguments to function - To

Re: [DRIVER SUBMISSION] DRBD wants to go mainline

2007-07-23 Thread Lars Ellenberg
On Mon, Jul 23, 2007 at 11:19:40AM +0200, Sam Ravnborg wrote: > The message is quite clear. > For a driver like this do something like: > - Describe the functionality / the problem is solved > - Describe the overall design (maybe as a file in Documentation/?) I'm currently writing the paper for

Re: SCSI vs SATA

2007-07-23 Thread Michael Tokarev
BuraphaLinux Server wrote: > Hello, > >I have had a hard time determining if /dev/sda is SCSI or SATA > from my boot scripts. It matters for smartd which needs an added > parameter -d sat in the configuration file for SATA drives. Finally I Just FYI: Recent smartmontools (5.36+) can

Re: [RFH] Partition table recovery

2007-07-23 Thread Rene Herman
On 07/23/2007 10:41 AM, Jan-Benedict Glaw wrote: As multibyte on-disk variables, these will need LE/BE conversion. Indeed, thanks -- has been updated in the version that is attached. Also fixes a bug that snuck in (failed to add offset to entry->start). struct entry { uint8_t

SCSI vs SATA

2007-07-23 Thread BuraphaLinux Server
Hello, I have had a hard time determining if /dev/sda is SCSI or SATA from my boot scripts. It matters for smartd which needs an added parameter -d sat in the configuration file for SATA drives. Finally I came up with this, but I wonder if there is a better way? It appears that vendor is

Re: [linux-pm] Power Management framework proposal

2007-07-23 Thread Igor Stoppa
On Sun, 2007-07-22 at 14:21 -0700, ext [EMAIL PROTECTED] wrote: [snip] > this is another one. I'd be happy to get pointers to prior ones to learn > from. https://lists.linux-foundation.org/pipermail/linux-pm/2007-March/011204.html This is probably one of the latest. Previously there was some

Re: [RFC 1/8]KVM: fix bugs in kvm sched integration patch

2007-07-23 Thread Avi Kivity
Shaohua Li wrote: fix some bugs in kvm-sch patch. There is now a 'preempt-hooks' branch on kvm.git with the preempt-hooks work. I'll continually update and rebase it against master. 1. vmcs_readl/vmcs_writel are called with preempt enabled Why is that bad? 2. preempt_count check

Re: [RFC 1/1] lro: Generic Large Receive Offload for TCP traffic

2007-07-23 Thread Evgeniy Polyakov
Hi Jan-Bernd. On Fri, Jul 20, 2007 at 05:41:48PM +0200, Jan-Bernd Themann ([EMAIL PROTECTED]) wrote: > Generic LRO patch > > Signed-off-by: Jan-Bernd Themann <[EMAIL PROTECTED]> Besides couple trivial codyng/formatting nits I did not found any problematic places after review. Details below.

Re: [RFC 0/8]KVM: swap out guest pages

2007-07-23 Thread Avi Kivity
Shaohua Li wrote: This patch series make kvm guest pages be able to be swapped out and dynamically allocated. Without it, all guest memory is allocated at guest start time. patches are against latest git, and you need first patch Avi's kvm-sch integration patch

Re: [linux-pm] Re: Hibernation considerations

2007-07-23 Thread Miklos Szeredi
> > The only thing to do is what Rafael has been working on: unfreeze > > things, hope the tasks sort themselves out, and try again. > > That's what I'm questioning. Is there a more reliable way and we've > just given up too quickly? There obviously _are_ more reliable ways. A trivial one seems

Re: sound/core/init.c - address of 'snd_shutdown_f_ops' will always evaluate as 'true' , warning

2007-07-23 Thread Takashi Iwai
At Mon, 23 Jul 2007 02:43:29 +0200, Gabriel C wrote: > > Hi, > > I got this warning on current git using gcc 4.2.1: > > ... > > sound/core/init.c: In function 'snd_card_disconnect': > sound/core/init.c:307: warning: the address of 'snd_shutdown_f_ops' will > always evaluate as 'true' > > ...

Re: 2.6.23-rc1: known regressions with patches

2007-07-23 Thread Ingo Molnar
* Michal Piotrowski <[EMAIL PROTECTED]> wrote: > Subject : Regression with sys_time() speedup patch > References : http://lkml.org/lkml/2007/7/20/205 > Last known good : ? > Submitter : Takashi Iwai <[EMAIL PROTECTED]> > Caused-By : ? > Handled-By : Ingo Molnar

[2.6.23 regression fix] include/asm-xtensa/io.h must #include

2007-07-23 Thread Adrian Bunk
This patch fixes the following compile error: <-- snip --> ... CC kernel/time/clocksource.o In file included from /home/bunk/linux/kernel-2.6/linux-2.6.22-rc6-mm1/include/linux/clocksource.h:18, from

Re: [1/2] 2.6.23-rc1: known regressions

2007-07-23 Thread Al Viro
On Mon, Jul 23, 2007 at 11:47:30AM +0200, Michal Piotrowski wrote: > Subject : drivers/misc/asus-laptop.c:*: error: 'struct led_classdev' > has no member named 'class_dev' > References : http://lkml.org/lkml/2007/7/22/299 > Last known good : ? > Submitter : Gabriel C <[EMAIL

Re: [BUG] firewire: mass-storage i/o-problems

2007-07-23 Thread Andreas Micklei
Am Montag, 23. Juli 2007 schrieb Andreas Messer: > The first System, where harddisc don't work at all with the new stack: > Nvidia NForce2 Ultra Chipset; 1GB RAM; XP-M 2600; FW-Controller is > PCI addon card; lspci says Via Additional note: On the machine where my iPod 3G corruption occure I have

Re: [PATCH][37/37] Clean up duplicate includes in sound/soc/

2007-07-23 Thread Richard Purdie
On Sat, 2007-07-21 at 17:04 +0200, Jesper Juhl wrote: > This patch cleans up duplicate includes in > sound/soc/ > > > Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> Acked-by: Richard Purdie <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH 3/3] readahead: scale max readahead size depending on memory size

2007-07-23 Thread Jens Axboe
On Mon, Jul 23 2007, Jörn Engel wrote: > On Sun, 22 July 2007 18:44:03 +0200, Jens Axboe wrote: > > > > > > > I agree with the low point of 128k. > > > > > > Perhaps that should be enforced then, because currently a system with > > > <64M will get less. > > > > I think it should remain the low

Re: [PATCH 3/3] readahead: scale max readahead size depending on memory size

2007-07-23 Thread Jörn Engel
On Sun, 22 July 2007 18:44:03 +0200, Jens Axboe wrote: > > > > > I agree with the low point of 128k. > > > > Perhaps that should be enforced then, because currently a system with > > <64M will get less. > > I think it should remain the low point. I believe this whole thing is fundamentally

Re: [v4l-dvb-maintainer] [2.6.23 regression fix] usbvision: don't return an uninitialized value

2007-07-23 Thread Trent Piepho
On Mon, 23 Jul 2007, Adrian Bunk wrote: > Commit c5f48367fe54c46805774eeea8e828de54a5ad7b introduced this return > of an uninitialized variable. > > Spotted by the Coverity checker. It spotted that, but it seems it missed the bigger bug, reg->val is unsigned. Since reg->val can't be less than 0,

[PATCH] add __GFP_ZERP to GFP_LEVEL_MASK

2007-07-23 Thread Peter Zijlstra
Daniel recently spotted that __GFP_ZERO is not (and has never been) part of GFP_LEVEL_MASK. I could not find a reason for this in the original patch: 3977971c7f09ce08ed1b8d7a67b2098eb732e4cd in the -bk tree. This of course is in stark contradiction with the comment accompanying GFP_LEVEL_MASK.

Re: [PATCH] spinlock in function hugetlb_fault could be deleted

2007-07-23 Thread Zhang, Yanmin
On Mon, 2007-07-23 at 16:18 +0800, Zhang, Yanmin wrote: > Function hugetlb_fault needn't hold spinlock mm->page_table_lock, > because when hugetlb_fault is called: > 1) mm->mmap_sem is held already; > 2) hugetlb_instantiation_mutex is held by hugetlb_fault, which prevents > other threads/processes

Re: Pin-pointing the root of unusual application latencies

2007-07-23 Thread Ingo Molnar
* John Sigler <[EMAIL PROTECTED]> wrote: > Here's a /proc/latency_trace dump. What is there to understand? > > # cat /proc/latency_trace > preemption latency trace v1.1.5 on 2.6.20.7-rt8 > > latency: 26 us, #2/2, CPU#0 |

Re: Linus 2.6.23-rc1: ACPI-related oops on x86_64

2007-07-23 Thread Mel Gorman
On (22/07/07 14:04), Linus Torvalds didst pronounce: > > Ok, right on time, two weeks afetr 2.6.22, there's a 2.6.23-rc1 out there. > This was seen on a machine on test.kernel.org; Unable to handle kernel NULL pointer dereference at RIP: []

2.6.23-rc1: known regressions with patches

2007-07-23 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc1 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Andi Kleen 4

[1/2] 2.6.23-rc1: known regressions

2007-07-23 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc1. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Andi Kleen 4 Linus Torvalds

Re: [2/2] 2.6.23-rc1: known regressions

2007-07-23 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc1. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Andi Kleen 4 Linus Torvalds

Re: [PATCH][19/37] Clean up duplicate includes in fs/gfs2/

2007-07-23 Thread Steven Whitehouse
Hi, Now applied to the -nmw GFS2 git tree. Thanks, Steve. On Sat, 2007-07-21 at 17:03 +0200, Jesper Juhl wrote: > Hi, > > This patch cleans up duplicate includes in > fs/gfs2/ > > > Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> > --- > > diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c

Re: [DRIVER SUBMISSION] DRBD wants to go mainline

2007-07-23 Thread Sam Ravnborg
On Mon, Jul 23, 2007 at 10:01:01AM +0100, Christoph Hellwig wrote: > On Mon, Jul 23, 2007 at 11:00:38AM +0200, Sam Ravnborg wrote: > > On Mon, Jul 23, 2007 at 09:49:03AM +0100, Christoph Hellwig wrote: > > > On Sun, Jul 22, 2007 at 09:32:02PM -0400, Kyle Moffett wrote: > > > > First of all, if you

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