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 lin

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: "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 to

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 no

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: 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

[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 100

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]>

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 to

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 b/drivers/misc/a

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 questioning

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 intern

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 m

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 requir

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. :-) > > W

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 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 intrusive

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 i

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 linux

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 > >> used

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 http://help.yahoo.com/l/in/yahoo/mail/ya

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 > > [ 0]

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: *** [arch/i38

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

[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 +105,

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. So

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"? Th

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 > > > > Driver

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: [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 == _

[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

[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 repla

[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 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 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 921-page-swap-cache-pageflag.patch-o

[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 http://groups.google.com/group/comp.os.linux.development.system/browse_thread/thread/de19321bcd94dbb8/0d

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 > > > update_proce

[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 920

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

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 Descrip

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 oth

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. Hopef

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 e

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 "unsubsc

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: [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 d

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: 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 - To

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 t

[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 --recursiv

[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 ++

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. > > >

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 23,

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 > best

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 ch

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 > sh

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 >> dri

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 rea

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 need

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, KP:0,

Re: [linux-pm] Power Management framework proposal

2007-07-23 Thread Arjan van de Ven
On Sun, 2007-07-22 at 22:25 -0700, [EMAIL PROTECTED] wrote: > >> > >> only if the transitions don't cost anything significant, > > > > these are second order effects though. On a pc, the transition costs are > > quite low (as I said, single or low double digit microseconds). > > including pausing

Re: [PATCH] hugetlbfs read() support

2007-07-23 Thread Nishanth Aravamudan
On 20.07.2007 [14:47:31 +1000], Nick Piggin wrote: > Nishanth Aravamudan wrote: > >On 19.07.2007 [09:58:50 -0700], Andrew Morton wrote: > > > >>On Thu, 19 Jul 2007 08:51:49 -0700 Badari Pulavarty <[EMAIL PROTECTED]> > >>wrote: > >> > >> > >+} > >+ > >+of

Re: [linux-pm] Re: Hibernation considerations

2007-07-23 Thread Oliver Neukum
Am Samstag 21 Juli 2007 schrieb Alan Stern: > On Fri, 20 Jul 2007, Oliver Neukum wrote: > > > > We already have a pre-suspend notification available for drivers that > > > need to allocate large amounts of memory. > > > > Is that facility fine grained enough? > > It's a notifier chain that gets

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

2007-07-23 Thread Adam Litke
Hello. hugetlb_instantiation_mutex is an extremely heavy-weight lock whose days are numbered (hopefully). It exists primarily to arbitrate a race condition where n (n > 1) threads of execution race to satisfy the same page fault for a process. Even though only one hugetlb page is needed, if (n)

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

2007-07-23 Thread Arjan van de Ven
On Mon, 2007-07-23 at 23:05 +1000, Nigel Cunningham wrote: > 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. but... does this really solve

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

2007-07-23 Thread Richard Purdie
On Mon, 2007-07-23 at 14:36 +0100, Al Viro wrote: > 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 fa

[PATCH] eHEA: net_poll support

2007-07-23 Thread Jan-Bernd Themann
net_poll support for eHEA added Signed-off-by: Jan-Bernd Themann <[EMAIL PROTECTED]> --- drivers/net/ehea/ehea.h |2 +- drivers/net/ehea/ehea_main.c | 22 +- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/drivers/net/ehea/ehea.h b/drivers/net/ehea

Re: [PATCH 0/3] readahead drop behind and size adjustment

2007-07-23 Thread Fengguang Wu
On Mon, Jul 23, 2007 at 07:00:59PM +1000, Nick Piggin wrote: > Rusty Russell wrote: > >On Sun, 2007-07-22 at 16:10 +0800, Fengguang Wu wrote: > > >>So I opt for it being made tunable, safe, and turned off by default. > > I hate tunables :) Unless we have workload A that gets a reasonable > benefi

Re: [PATCH -rt] drop spurious rcu unlock

2007-07-23 Thread Daniel Walker
On Mon, 2007-07-23 at 07:06 -0700, Paul E. McKenney wrote: > > I was wondering what kind of side effects would happen with the > > preemptible RCU .. > > Well, if you had only one rcu_read_lock() outstanding in the system, > it would appear to be in a quiescent state, which would not be good. > G

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 oth

[patch] drivers/scsi/scsi_sysfs.c:718: warning: unused variable `rq'

2007-07-23 Thread Frederik Deweerdt
Hi James, A compile of the latest git on arm triggers the following warning: CC [M] drivers/scsi/scsi_sysfs.o drivers/scsi/scsi_sysfs.c: In function `scsi_sysfs_add_sdev': drivers/scsi/scsi_sysfs.c:718: warning: unused variable `rq' The following patch kills the intermediary variable. Reg

RE: where is the code for read system call?

2007-07-23 Thread Agarwal, Lomesh
For future how do I trace a system call to a function in a kernel? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karsten Wiese Sent: Friday, July 20, 2007 5:09 PM To: Agarwal, Lomesh Cc: linux-kernel@vger.kernel.org Subject: Re: where is the code for rea

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

2007-07-23 Thread Andi Kleen
> Looking at vdso.lds.S, if you change just VDSO_TEXT_OFFSET to 0xc00 and > don't tweak the linker script, then you jump backwards with the dot, you > should even get a linker warning about it: > > . = VDSO_PRELINK + VDSO_TEXT_OFFSET; > > .text : { *(.text) }:text >

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

2007-07-23 Thread Takashi Iwai
At Sat, 21 Jul 2007 17:04:07 +0200, Jesper Juhl wrote: > > Hi, > > This patch cleans up duplicate includes in > / sound/ppc? :) > > > Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> Now applied to ALSA tree. Thanks. Takashi > --- > > diff --git a/sound/ppc/snd_ps3.c b/sound/pp

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

2007-07-23 Thread Takashi Iwai
At Sat, 21 Jul 2007 17:04:03 +0200, Jesper Juhl wrote: > > Hi, > > This patch cleans up duplicate includes in > sound/core/ > > > Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> Applied to ALSA tree. Thanks. Takashi > --- > > diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c >

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

2007-07-23 Thread Takashi Iwai
At Sat, 21 Jul 2007 17:04:16 +0200, Jesper Juhl wrote: > > Hi, > > This patch cleans up duplicate includes in > sound/soc/ > > > Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> Applied this one, too. Thanks, Takashi > --- > > diff --git a/sound/soc/pxa/spitz.c b/sound/soc/pxa/spitz.c

Re: [PATCH] [2/11] x86: Fix alternatives and kprobes to remap write-protected kernel text

2007-07-23 Thread Mathieu Desnoyers
Hi Andi, I would recommend to prefix with __init every function that is assumed "safe" because executed at boot time. It would minimize the risks of buggy usage of these text-modification primitives. That includes text_poke() and a big chunk of the apply alternative code. (it should never be execu

[2.6 patch] cpqphp_ctrl.c: remove dead code

2007-07-23 Thread Adrian Bunk
If !mem_node we did already return -ENOMEM above in the function. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- drivers/pci/hotplug/cpqphp_ctrl.c | 28 +++- 1 file changed, 7 insertions(+), 21 deletions(-) --- linux-2.6.22-rc6-mm

[2.6 patch] sound/pci/cs46xx/: fix an off-by-one

2007-07-23 Thread Adrian Bunk
This patch fixes an off-by-one in a snd_assert() spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- --- linux-2.6.22-rc6-mm1/sound/pci/cs46xx/dsp_spos_scb_lib.c.old 2007-07-23 15:33:17.0 +0200 +++ linux-2.6.22-rc6-mm1/sound/pci/cs46xx/dsp_spos_scb

Re: 2.6.22-git17 boot failure

2007-07-23 Thread Jeremy Fitzhardinge
Tilman Schmidt wrote: > Attached are .config and dmesg (as captured in SuSE's /var/log/boot.msg) > of a CONFIG_XEN=n git-current build. That's dmesg from a successful boot? What does it look like when its unsuccessful? Where do they start to differ? J - To unsubscribe from this list: send

Re: [patch] drivers/scsi/scsi_sysfs.c:718: warning: unused variable `rq'

2007-07-23 Thread James Bottomley
On Mon, 2007-07-23 at 16:36 +0200, Frederik Deweerdt wrote: > - struct request_queue *rq = sdev->request_queue; > > if ((error = scsi_device_set_state(sdev, SDEV_RUNNING)) != 0) > return error; > @@ -736,7 +735,8 @@ int scsi_sysfs_add_sdev(struct scsi_device *sdev) >

Re: [PATCH] [2/11] x86: Fix alternatives and kprobes to remap write-protected kernel text

2007-07-23 Thread Andi Kleen
On Monday 23 July 2007 16:46:03 Mathieu Desnoyers wrote: > I would recommend to prefix with __init every function that is assumed > "safe" because executed at boot time. It would minimize the risks of > buggy usage of these text-modification primitives. That includes > text_poke() and a big chunk

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

2007-07-23 Thread Jan Engelhardt
On Jul 23 2007 15:18, Yoann Padioleau wrote: > >Here is an excerpt of the semantic patch that performs the transformation > >@@ > >- (T*) dev->priv >+ netdev_priv(dev) Note that dev->priv is a void*, and hence does not need casting. So dev->priv may also appear without one. > { > >- struct

Re: [patch] drivers/scsi/scsi_sysfs.c:718: warning: unused variable `rq'

2007-07-23 Thread Adrian Bunk
On Mon, Jul 23, 2007 at 04:36:38PM +0200, Frederik Deweerdt wrote: > Hi James, > > A compile of the latest git on arm triggers the following warning: > CC [M] drivers/scsi/scsi_sysfs.o > drivers/scsi/scsi_sysfs.c: In function `scsi_sysfs_add_sdev': > drivers/scsi/scsi_sysfs.c:718: warning:

Re: MTRR Patch still applies to 2.6.22-rc7.

2007-07-23 Thread Jesse Barnes
On Tuesday, July 3, 2007 4:00:07 am Justin Piszcz wrote: > Incase anyone is interested: > > p34:/usr/src/linux-2.6.22-rc7# patch -p1 < ../mtrr-v3.patch > patching file Documentation/kernel-parameters.txt > Hunk #1 succeeded at 548 (offset -5 lines). > patching file arch/i386/kernel/cpu/mtrr/generic

Re: [linux-pm] Re: Hibernation considerations

2007-07-23 Thread Alan Stern
On Sun, 22 Jul 2007 [EMAIL PROTECTED] wrote: > > You are confusing "userspace" with "user tasks". And not only that, > > you often use the term "userspace" when you should say "user mode". > > > > If you want I can explain the differences. > > please do, I have been treating all three as the sam

Re: [linux-pm] Re: Hibernation considerations

2007-07-23 Thread Alan Stern
On Mon, 23 Jul 2007, Nigel Cunningham wrote: > Take a step back for a second. > > The problem we're facing now is that we're getting some userspace threads, > used in processing I/O, that are functioning as exceptions to the "freeze > userspace, then freezeable kernel threads" rule. They are on

[PATCH] release quicklist before free_page

2007-07-23 Thread Daniel Walker
Resolves, BUG: sleeping function called from invalid context cc1(29651) at kernel/rtmutex.c:636 in_atomic():1 [0001], irqs_disabled():0 [] __might_sleep+0xf3/0xf9 [] __rt_spin_lock+0x21/0x3c [] get_zone_pcp+0x20/0x29 [] free_hot_cold_page+0xdc/0x167 [] add_preempt_count+0x12/0xcc [] pgd

Re: [PATCH] [2/11] x86: Fix alternatives and kprobes to remap write-protected kernel text

2007-07-23 Thread Mathieu Desnoyers
* Andi Kleen ([EMAIL PROTECTED]) wrote: > On Monday 23 July 2007 16:46:03 Mathieu Desnoyers wrote: > > > I would recommend to prefix with __init every function that is assumed > > "safe" because executed at boot time. It would minimize the risks of > > buggy usage of these text-modification primit

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

2007-07-23 Thread Paolo Ornati
On Mon, 23 Jul 2007 09:40:04 -0300 (GFT) "werner" <[EMAIL PROTECTED]> wrote: > > The kernel need to stay compatible to old versions of the file system and > other fundamental programs. This sounds new to me... Documentation/stable_api_nonsense.txt -- Paolo Ornati Linux 2.6.22

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

2007-07-23 Thread Oleg Verych
* Date: Mon, 23 Jul 2007 14:53:10 +0100 http://permalink.gmane.org/gmane.linux.kernel/559360 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read t

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

2007-07-23 Thread Yoann Padioleau
Jan Engelhardt <[EMAIL PROTECTED]> writes: > On Jul 23 2007 15:18, Yoann Padioleau wrote: >> >>Here is an excerpt of the semantic patch that performs the transformation >> >>@@ >> >>- (T*) dev->priv >>+ netdev_priv(dev) > > Note that dev->priv is a void*, and hence does not need casting. > So dev-

Re: [RFC] what should 'uptime' be on suspend?

2007-07-23 Thread Bill Davidsen
Ken Moffat wrote: On Sat, Jul 21, 2007 at 09:54:37AM -0400, Bill Davidsen wrote: So is setting it to a random number considered correct behavior? Any of the first three values I mentioned would make sense, but the value I see is neither time since resume, time since power-on to do the resume

Longer command line for kexec on i386

2007-07-23 Thread Ed Swierk
I'm attempting to get kexec to pass a command line longer than 256 bytes to the new kernel, using kexec-tools-testing-20070330 and kernel 2.6.22.1. The new kernel is a bzImage, and I'm using kexec to tack on a command line and an initrd. I made the following change to kexec: --- kexec-tools-tes

Re: Linus 2.6.23-rc1

2007-07-23 Thread Bob Picco
Gabriel C wrote:[Sun Jul 22 2007, 10:00:39PM EDT] > Linus Torvalds wrote: > > Ok, right on time, two weeks afetr 2.6.22, there's a 2.6.23-rc1 out there. > > > ... > > drivers/char/hpet.c:76: warning: integer constant is too large for 'long' type > > ... > > Introduced by 0aa366f351d044

Re: Linus 2.6.23-rc1, xen fix

2007-07-23 Thread Ingo Molnar
Subject: xen: fix process_msg() use-after-kfree From: Ingo Molnar <[EMAIL PROTECTED]> fix an obvious use-after-kfree bug in Xen. Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> --- drivers/xen/xenbus/xenbus_xs.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux/drivers/xen/xe

RE: Linus 2.6.23-rc1

2007-07-23 Thread Luck, Tony
> Sorry about that. I thought my review had caught all of these. I missed it too (my old gcc version 3.4.6 doesn't pop a warning for this). Presumably the same change is needed for clocksource_itc in arch/ia64/kernel/time.c -Tony - To unsubscribe from this list: send the line "unsubscribe linux

Re: [BUG] 2.6.23-rc1 broke APM

2007-07-23 Thread H. Peter Anvin
Mikael Pettersson wrote: > 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.22 2007-07-23 14:07:46.0 +0200 > +++ dmesg-2.6.23-rc1 2007-07-23 14:48:2

<    1   2   3   4   5   6   >