kbuild: kconfig source with " " or not

2007-10-20 Thread Yinghai Lu
Sam, in Kconfig, most of source to include other kconfig has "..." for example: in arch/x86_64/Kconfig: source "net/Kconfig" but some other don't < ./drivers/w1/Kconfig:source drivers/w1/masters/Kconfig < ./drivers/w1/Kconfig:source drivers/w1/slaves/Kconfig < ./drivers/i2c/Kconfig:source driv

Re: [PATCH 9/9] RT: Only dirty a cacheline if the priority is actually changing

2007-10-20 Thread Steven Rostedt
-- On Sat, 20 Oct 2007, Roel Kluin wrote: > Gregory Haskins wrote: > > We can avoid dirtying a rq related cacheline with a simple check, so why > > not. > > > > Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> > > --- > > > > 0 files changed, 0 insertions(+), 0 deletions(-) > > I think you wa

Re: kbuild: kconfig source with " " or not

2007-10-20 Thread Sam Ravnborg
Hi Yinghai. On Sat, Oct 20, 2007 at 12:30:50AM -0700, Yinghai Lu wrote: > Sam, > > in Kconfig, most of source to include other kconfig has "..." > > for example: > > in arch/x86_64/Kconfig: > source "net/Kconfig" > > but some other don't > > < ./drivers/w1/Kconfig:source drivers/w1/masters/Kc

PROBLEM: oops, Linus tree: 2.6.23-g4fa4d23f, BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004

2007-10-20 Thread Dave Haywood
BUG: unable to handle kernel NULL pointer dereference at virtual address 0004 Linux s1 2.6.23-g4fa4d23f #4 Fri Oct 19 10:15:50 BST 2007 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux Gnu C 4.2.0 Gnu make 3.81 binutils 2.18 util-linux

[PATCH] restore arch/ppc/boot cflags

2007-10-20 Thread Milton Miller
Commit 9a39e273d4df0560c724c5fe71f6314a0583ca2b removed the boot directory addition to CFLAGS that was being used by the subdirectory builds. For the other files, that patch set EXTRA_CFLAGS, but Makefile.build explicitly sets that to empty as it is explicitly for a single directory only. Append t

Re: Laptop keyboard unusable when ACPI is active was Re: [2.6.22] i8042, ACPI, ipw2100 and issues reported by psmouse.c atkbd.c

2007-10-20 Thread Pavel Machek
Hi! > [EMAIL PROTECTED] ha scritto: > > Kernel: 2.6.22-r5 > > Kernel option: i8042.nomux=1 > I am now using kernel 2.6.22-r8 (Gentoo) and the following kernel options: > > i8042.nomux=1 acpi=off > > I have tried kernel 2.6.23-rc9 but the problem is still there. Try usb keyboard. Are you experi

Re: Regression: 2.6.23-rc9 okay, 2.6.23.1 resume problems

2007-10-20 Thread Pavel Machek
Hi! > Since upgrading to 2.6.23.1 from 2.6.23-rc9, > resume-from-RAM has been misbehaving here. > > It takes much (+5-7 seconds) longer to resume > *sometimes*, but not all/most of the time. > And sometimes I get get flashing keyboard LEDs and have > to hold the power button > in for a full ha

Re: [BLOCK2MTD] WARNING: at kernel/lockdep.c:2331 lockdep_init_map()

2007-10-20 Thread Jörn Engel
On Fri, 19 October 2007 16:04:10 -0400, Erez Zadok wrote: > In message <[EMAIL PROTECTED]>, =?utf-8?B?SsO2cm4=?= Engel writes: > > > > Since when roughly? 2.6.20ish? Before? > > Yeah, I guess around that time. If you want, I could go back and test each > of my backports and see if it has the l

Re: New CD/DVD drive - 80-wire cable detection failure

2007-10-20 Thread Nick Warne
On Friday 19 October 2007 23:28:21 Bartlomiej Zolnierkiewicz wrote: > On Saturday 20 October 2007, Nick Warne wrote: > > On Friday 19 October 2007 22:44:27 Bartlomiej Zolnierkiewicz wrote: > > > > hdparm -I > > It should have been hdparm --Istdout (sorry, once again). > hdparm --Istdout /dev/hdd

Re: git/cscope with x86 merge

2007-10-20 Thread Yinghai Lu
On 10/15/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > On Mon, 15 Oct 2007, Yinghai Lu wrote: > > > > after the merge: > > 1. git > > git log -p arch/x86/kernel/io_apic_64.c > > only can show the log from the merge..., and can not get log before > > merge for x86_64/kernel/io_apic.c > > Any g

Re: OOM killer gripe (was Re: What still uses the block layer?)

2007-10-20 Thread Pavel Machek
Hi! > > Would an oom-kill-someone-now sysrq be of help, I wonder? > > *shrug* It might. I was a letting it run hoping it would complete itself > when sysrq-f, IIRC. > it locked solid. (The keyboard LEDs weren't flashing, so I don't _think_ it > paniced. I was in X so I wouldn't have seen

Re: OOM killer gripe (was Re: What still uses the block layer?)

2007-10-20 Thread Pavel Machek
Hi! > I suppose I should just configure suspending to a file instead of a > swap partition, but I've just historically trusted suspend/resume to a > swap partition much more than to a file. Or maybe I should hack in a > sysctl to prevent any swapping even though the swap partition is > configured

[RFC 0/2] readdir() as an inode operation

2007-10-20 Thread Jan Blunck
This is a first try to move readdir() to become an inode operation. This is necessary for a VFS implementation of "something like union-mounts" where a readdir() needs to read the directory contents of multiple directories. Besides that the new interface is no longer giving the struct file to the f

[RFC 1/2] i_op->readdir: Change readdir() to be an inode operation

2007-10-20 Thread Jan Blunck
This patch adds a new readdir() inode operation. The purpose of this patch is to enable the VFS to support directory reading on a stack of directories. The new interface isn't passing the struct file to the filesystem implementation anymore. Normally the filesystem implementation shouldn't depend o

[RFC 2/2] i_op->readdir: Change libfs users to the new interface

2007-10-20 Thread Jan Blunck
This patch changes dcache_readdir() to the new inode operations readdir interface. Hence all the users of libfs.c are changed to use the new interface too. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> --- fs/autofs4/autofs_i.h |5 ++--- fs/autofs4/root.c | 41 --

[PATCH] x86: unify a.out{,_32,_64}.h

2007-10-20 Thread Chris Snook
From: Chris Snook <[EMAIL PROTECTED]> Unify x86 a.out_32.h and a.out_64.h Signed-off-by: Chris Snook <[EMAIL PROTECTED]> diff -Nurp a/include/asm-x86/a.out_32.h b/include/asm-x86/a.out_32.h --- a/include/asm-x86/a.out_32.h2007-10-20 06:20:01.0 -0400 +++ b/include/asm-x86/a.out_32

Re: [PATCH 9/9] RT: Only dirty a cacheline if the priority is actually changing

2007-10-20 Thread Gregory Haskins
On Sat, 2007-10-20 at 04:48 +0200, Roel Kluin wrote: > Gregory Haskins wrote: > > We can avoid dirtying a rq related cacheline with a simple check, so why > > not. > > > > Signed-off-by: Gregory Haskins <[EMAIL PROTECTED]> > > --- > > > > 0 files changed, 0 insertions(+), 0 deletions(-) > > I

Re: [PATCH] x86: merge mmu{,_32,_64}.h

2007-10-20 Thread Thomas Gleixner
On Sat, 20 Oct 2007, Chris Snook wrote: > From: Chris Snook <[EMAIL PROTECTED]> > > Merge mmu_32.h and mmu_64.h into mmu.h. > > Signed-off-by: Chris Snook <[EMAIL PROTECTED]> Applied. Thanks, tglx - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 0/3] x86: unify crash_32/64.c

2007-10-20 Thread Thomas Gleixner
On Fri, 19 Oct 2007, Hiroshi Shimamoto wrote: > Hi, > > I made patches to unify crash_32/64.c. > There are three patches; > 1. add lapic_shutdown for x86_64 > 2. add safe_smp_processor_id for x86_64 > 3. unify crash_32/64.c > > I'm not sure that it's good to split to these patches. It's fine. S

Re: [PATCH] x86: unify a.out{,_32,_64}.h

2007-10-20 Thread Thomas Gleixner
On Sat, 20 Oct 2007, Chris Snook wrote: > From: Chris Snook <[EMAIL PROTECTED]> > > Unify x86 a.out_32.h and a.out_64.h The include/asm-x86/Kbuild fixup is missing. I fixed it up. Applied. Thanks, tglx - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bo

Re: PROBLEM: oops, Linus tree: 2.6.23-g4fa4d23f, BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004

2007-10-20 Thread Jiri Kosina
added some relevant CCs On Sat, 20 Oct 2007, Dave Haywood wrote: > BUG: unable to handle kernel NULL pointer dereference at virtual address > 0004 > > Linux s1 2.6.23-g4fa4d23f #4 Fri Oct 19 10:15:50 BST 2007 i686 Pentium III > (Coppermine) GenuineIntel GNU/Linux > > Gnu C

Re: LSM conversion to static interface

2007-10-20 Thread Jan Engelhardt
On Oct 19 2007 13:40, Linus Torvalds wrote: >On Fri, 19 Oct 2007, Andreas Gruenbacher wrote: >> >> Non-trivial modules (i.e., practically everything beyond capabilities) >> become >> effective only after loading policy, anyway. If you can load policy, you can >> as well first load a security m

Re: [RFD] iptables: mangle table obsoletes filter table

2007-10-20 Thread Jan Engelhardt
On Oct 20 2007 00:47, [EMAIL PROTECTED] wrote: >> Sure, the idea was to mark the filter table obsolete as to make people start >> using the mangle table to do their filtering for new setups. The filter >> table would then still be available for legacy/special setups. But this >> would only be

Re: [RFC] [PATCH -mm] ASIC3 driver

2007-10-20 Thread Samuel Ortiz
On Fri, Oct 19, 2007 at 11:00:34AM -0700, Andrew Morton wrote: > On Fri, 19 Oct 2007 12:53:00 +0200 Samuel Ortiz <[EMAIL PROTECTED]> wrote: > > > On Thu, Oct 18, 2007 at 03:05:44PM -0700, Andrew Morton wrote: > > > On Thu, 18 Oct 2007 11:12:41 +0200 > > > Samuel Ortiz <[EMAIL PROTECTED]> wrote: >

Re: PROBLEM: oops, Linus tree: 2.6.23-g4fa4d23f, BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004

2007-10-20 Thread Guillaume Chazarain
> > BUG: unable to handle kernel NULL pointer dereference at virtual address > > 0004 This should be fixed in recent git by http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9b013e05e0289c190a53d78ca029e2f21c0e4485 HTH. -- Guillaume - To unsubscribe from this list

Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

2007-10-20 Thread Nix
On 20 Oct 2007, Paolo Giarrusso told this: > Guess most people are not using SMP right now, and that the error disappears > without that setting It doesn't. It fails with non-SMP as well. Rob, your patch works for me. (Not that the reboot into 2.6.23.1 was problem-free: iproute2-071016 fails to

[PATCH] x86: unify div64{,_32,_64}.h

2007-10-20 Thread Chris Snook
From: Chris Snook <[EMAIL PROTECTED]> Unify x86 div64.h headers. Signed-off-by: Chris Snook <[EMAIL PROTECTED]> diff -Nurp a/include/asm-x86/div64_32.h b/include/asm-x86/div64_32.h --- a/include/asm-x86/div64_32.h2007-10-20 07:33:53.0 -0400 +++ b/include/asm-x86/div64_32.h

Re: Laptop keyboard unusable when ACPI is active was Re: [2.6.22] i8042, ACPI, ipw2100 and issues reported by psmouse.c atkbd.c

2007-10-20 Thread [EMAIL PROTECTED]
Pavel Machek ha scritto: > Hi! > Hi! Finally an answer, thank you. >> [EMAIL PROTECTED] ha scritto: >> >>> Kernel: 2.6.22-r5 >>> Kernel option: i8042.nomux=1 >>> >> I am now using kernel 2.6.22-r8 (Gentoo) and the following kernel options: >> >> i8042.nomux=1 acpi=off >> >> I have t

Re: [bug] ata subsystem related crash with latest -git

2007-10-20 Thread Torsten Kaiser
[Just catching with reading lkml to this post] On 10/18/07, Jens Axboe <[EMAIL PROTECTED]> wrote: > > Theory - ata_sg_is_last() isn't returning true for the last entry. Can > you double check that it correcly marks the last entry in mv_fill_sg()? > Alternatively, just try this patch. I "hate" to

[PATCH] Kconfig bug

2007-10-20 Thread Nick Warne
Hi all, I noticed I had a module option being built that wasn't in menuconfig. It is missing description. I also added a brief help message. Signed off by: Nick Warne <[EMAIL PROTECTED]> Nick -- Free Software Foundation Associate Member 5508 --- linux-current/drivers/scsi/Kconfig_old 2007-10

[PATCH] vfat permissions

2007-10-20 Thread Jan Engelhardt
[fs/fat/]: Refine chmod checks Prohibit mode changes in non-quiet mode that cannot be stored reliably with the on-disk format. Suppose a vfat filesystem is mounted with umask=0 and [not-quiet]. Then all files will have mode 0777. Trying to change the owner will fail, because fat does not know abo

[PATCH 1/2] cfq_exit_queue() should cancel cfq_data->unplug_work

2007-10-20 Thread Oleg Nesterov
(untested, needs an explicit ack/nack from maintainer) Spotted by Nick <[EMAIL PROTECTED]>, perhaps explains the first trace in http://bugzilla.kernel.org/show_bug.cgi?id=9180. cfq_exit_queue() should cancel cfqd->unplug_work before freeing cfqd. blk_sync_queue() seems unneeded, removed. Q: why

[PATCH 2/2] blk_sync_queue() should cancel request_queue->unplug_work

2007-10-20 Thread Oleg Nesterov
(untested, needs an explicit ack/nack from maintainer) blk_sync_queue() cancels the timer, but forgets to cancel the work. Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> --- K/block/ll_rw_blk.c~2_blk 2007-10-13 14:51:42.0 +0400 +++ K/block/ll_rw_blk.c 2007-10-20 16:10:08.0 +0

Re: oops in lbmIODone, fails to boot [Re: 2.6.23-mm1]

2007-10-20 Thread Dave Kleikamp
On Fri, 2007-10-19 at 22:34 -0700, Andrew Morton wrote: > On Sat, 20 Oct 2007 13:57:54 +0900 Mattia Dongili <[EMAIL PROTECTED]> wrote: > > > On Thu, Oct 11, 2007 at 09:31:26PM -0700, Andrew Morton wrote: > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23/2.6.23-mm1/

Re: New CD/DVD drive - 80-wire cable detection failure

2007-10-20 Thread Nick Warne
Hi all, SOLVED! On Saturday 20 October 2007 10:37:31 Nick Warne wrote: > On Friday 19 October 2007 23:28:21 Bartlomiej Zolnierkiewicz wrote: > > On Saturday 20 October 2007, Nick Warne wrote: > > > On Friday 19 October 2007 22:44:27 Bartlomiej Zolnierkiewicz wrote: > > > > > > hdparm -I > > > > I

Re: PDA Suspend SA1100

2007-10-20 Thread Kristoffer Ericson
On Fri, 19 Oct 2007 08:56:18 +0800 "eric miao" <[EMAIL PROTECTED]> wrote: > On 10/19/07, Kristoffer Ericson <[EMAIL PROTECTED]> wrote: > > Greetings, > > > > I've been trying to implement proper suspend on my jornada 720 machine. But > > as far as I can see it never reaches > > the sa11x0_suspend

Re: [PATCH / HP6XX] : Add Timer values into HD64461.h

2007-10-20 Thread Kristoffer Ericson
On Fri, 19 Oct 2007 12:49:37 +0900 Paul Mundt <[EMAIL PROTECTED]> wrote: > On Thu, Oct 18, 2007 at 09:39:04PM -0700, Kristoffer Ericson wrote: > > This patch adds HD64461 Timer adresses & registers to the HD64461 > > header file (/include/asm-sh/hd64461.h). The timers (TMU0 & TMU1) can > > hold 1

Re: Power button policy and mechanism

2007-10-20 Thread Kristoffer Ericson
On Fri, 19 Oct 2007 10:54:27 +0100 Richard Purdie <[EMAIL PROTECTED]> wrote: > On Tue, 2007-10-16 at 10:34 -0400, Dmitry Torokhov wrote: > > On 10/16/07, Kristoffer Ericson <[EMAIL PROTECTED]> wrote: > > > This is mainly an embedded issue, but I feel it's quite important. > > > It should apply to

tristate and bool not enogh for Kconfig anymore

2007-10-20 Thread Henrik Carlqvist
I think there is a need for Kconfig to specify that a functionality could be built as a module or not built at all. Some drivers require that firmware is loaded when the driver is initialized. The kernel has functionalities for this by using a userspace program. However, this userspace program is

Kconfig.instrumentation not available on i386

2007-10-20 Thread Aneesh Kumar K.V
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index f6e44fc..9e8a74f 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig @@ -1258,6 +1258,8 @@ source "drivers/Kconfig" source "fs/Kconfig" +source "kernel/Kconfig.instrumentation" + source "arch/i386/Kconfig.debug" source "security/Kconfi

Re: VIA VT6307 OHCI version?

2007-10-20 Thread Krzysztof Halasa
Stefan Richter <[EMAIL PROTECTED]> writes: > What if we add a whitelisting in the driver which ignores the register > contents which state OHCI 1.0 implementation level, and just treats > these VIA chips as OHCI 1.1 implementations? It would be interesting but I'm not sure it would work. I guess

Re: [patch 2.6.23-git] toplevel Makefile/depmod bugfix

2007-10-20 Thread Sam Ravnborg
> > > Is it truly protable with "=" or do we need to be more clever? > > I don't know how you managed to get it to work wtih "==". > String equality should be "=" in all /bin/sh versions. > It's been that way since it was written in pseudo-Algol. [EMAIL PROTECTED] kbuild.git]$ if [ "x86_64" == "

[PATCH] cfq_get_queue: fix possible NULL pointer access

2007-10-20 Thread Oleg Nesterov
cfq_get_queue()->cfq_find_alloc_queue() can fail, check the returned value. Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> --- K/block/cfq-iosched.c~3_get 2007-10-20 15:48:35.0 +0400 +++ K/block/cfq-iosched.c 2007-10-20 17:05:30.0 +0400 @@ -1443,8 +1443,11 @@ cfq_get_queue

Re: VIA VT6307 OHCI version?

2007-10-20 Thread Stefan Richter
Krzysztof Halasa wrote: > (the datasheet seems to suggest that) Well, as mentioned, I don't put much trust into the datasheet. It is incomplete regarding the 1.0/1.1 issue. > I wonder if OHCI 1.0 hardware based on VT6307 (and 6306) is > a common thing, or is it just an exception. Both chips are

Re: BUG at mm/filemap.c:1749 (2.6.24, jffs2, unionfs)

2007-10-20 Thread David Woodhouse
On Fri, 2007-10-19 at 13:38 -0400, Erez Zadok wrote: > Nick, the patch worked. All of my unionfs-over-jffs2 tests passed. Can I have a Signed-off-by: for it please? -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [PATCH] bluetooth: hidp core debug code wrong argument fix

2007-10-20 Thread Marcel Holtmann
Hi Dave, > In the debug code of the hidp_queue_report function, the "device" variable > does not exist, replace it with "session->hid" applied to my tree. Thanks. Regards Marcel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTE

Re: [Bluez-devel] [PATCH] bluetooth: Eliminate checks for impossible conditions in irq handler

2007-10-20 Thread Marcel Holtmann
Hi Jeff, > [BLUETOOTH] Eliminate checks for impossible conditions in irq handler > > Our info structure and info->hdev is always passed to the irq handler, > so we don't have to worry about these checks in every interrupt. > > Leave a BUG_ON() just to help unwary programm

Re: Regression: 2.6.23-rc9 okay, 2.6.23.1 resume problems

2007-10-20 Thread Mark Lord
Pavel Machek wrote: Hi! Since upgrading to 2.6.23.1 from 2.6.23-rc9, resume-from-RAM has been misbehaving here. It takes much (+5-7 seconds) longer to resume *sometimes*, but not all/most of the time. I suspend those long delays may have something to do with USB, as it takes longer for my

Problem with reiserfs in 2.6.23-mm1

2007-10-20 Thread Ben
Hello. Whenever I log into xfce with gdm my computer will freeze when i use reiserfs as my /home on 2.6.23-mm1. Logging into the VT works perfectly fine. Previously my system would crash when logging into the VT but the make-reiserfs-stop-using-struct-file-for-internal.patch patch fixed the is

oops in lbmIODone, fails to boot [Re: 2.6.23-mm1]

2007-10-20 Thread Mattia Dongili
On Thu, Oct 11, 2007 at 09:31:26PM -0700, Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23/2.6.23-mm1/ Hey there!! fails to boot here with this friendly oops: http://oioio.altervista.org/linux/dsc01702.jpg .config: http://oioio.altervista.org/linux/co

RE: [patch] PCI: disable MSI on more ATI NorthBridges

2007-10-20 Thread Shane Huang
Quoting "David G" > "Here" as in "here at AMD"?! I'm stunned... > Both AMD and the former ATI should have quite some experience?! When I used "here", I was just meaning our youthful linux southbridge drivers team instead of the whole AMD. Sorry for the confusion to you. Quoting "Linas" > As so

Re: 2.6.23-mm1 - autofs broken

2007-10-20 Thread Rik van Riel
On Sat, 20 Oct 2007 01:54:45 -0400 Rik van Riel <[EMAIL PROTECTED]> wrote: > On Sat, 20 Oct 2007 01:54:04 -0400 > Rik van Riel <[EMAIL PROTECTED]> wrote: > > > On Fri, 19 Oct 2007 22:39:00 -0700 > > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > On Sat, 20 Oct 2007 01:13:10 -0400 Rik van Rie

Re: [BUG] 2.6.23.1 host freezes when running kvm

2007-10-20 Thread Bart Trojanowski
* Bart Trojanowski <[EMAIL PROTECTED]> [071019 20:03]: > * Bart Trojanowski <[EMAIL PROTECTED]> [071019 17:00]: > > > > > Once the system is booted, I attached using vnc, then I ssh in and ran > > 'svn update'... and the host machine froze. > > > > The last messages I on my serial console are: >

[PATCH] compat_ioctl: introduce generic_compat_ioctl helper

2007-10-20 Thread Arnd Bergmann
Many drivers use only compatible ioctl numbers. In order to avoid having to write a special compat_ioctl handler for each of them or listing every ioctl number in fs/compat_ioctl.c, let's introduce a generic handler that simply calls the driver specific f_op->unlocked_ioctl() or f_op->ioctl() handl

Re: git/cscope with x86 merge

2007-10-20 Thread Linus Torvalds
On Sat, 20 Oct 2007, Yinghai Lu wrote: > > git log -p --follow arch/x86/kernel/vmlinux_64.lds.S > > can not trace to arch/x86_64/kernel/vmlinux.lds.S Hmm. I get: [EMAIL PROTECTED] linux]$ git log --stat --follow arch/x86/kernel/vmlinux_64.lds.S commit 250c22777fe1ccd7ac588579

[PATCH] Kconfig.instrumentation sourcing missing on i386 and x86_64

2007-10-20 Thread Mathieu Desnoyers
The same happened on i386 and x86_64. I guess some bits from the combine-instrumentation-menus-in-kernel-kconfiginstrumentation.patch were lost during the mainline merge. Andrew, could you forward this patch to Linus ? It applies on top of the current 2.6.23 git HEAD. Signed-off-by: Mathieu Desn

[PATCH] hiddev: simplify 32bit ioctl compatibilty

2007-10-20 Thread Arnd Bergmann
hiddev has both entries in fs/compat_ioctl.c and its own compat_ioctl() handler. Remove both and use the new generic_compat_ioctl helper instead. Signed-off-by: Arnd Bergmann <[EMAIL PROTECTED]> Index: linux-2.6/drivers/hid/hidraw.c =

Re: [PATCH] compat_ioctl: introduce generic_compat_ioctl helper

2007-10-20 Thread Christoph Hellwig
On Sat, Oct 20, 2007 at 05:50:57PM +0200, Arnd Bergmann wrote: > Many drivers use only compatible ioctl numbers. In order to > avoid having to write a special compat_ioctl handler for each > of them or listing every ioctl number in fs/compat_ioctl.c, > let's introduce a generic handler that simply

Re: [PATCH] compat_ioctl: introduce generic_compat_ioctl helper

2007-10-20 Thread Arnd Bergmann
On Saturday 20 October 2007, Christoph Hellwig wrote: > At least for the unlocked_ioctl case this is not nessecary because > the driver an simply set both the unlocked_ioctl and compat_ioctl > handlers to the same function.  For the drivers not using unlocked_ioctl > yet a function like this makes

Re: [patch 1/8] Add rt_nr_running accounting

2007-10-20 Thread Dmitry Adamushko
On 19/10/2007, Steven Rostedt <[EMAIL PROTECTED]> wrote: > [ ... ] > Index: linux-test.git/kernel/sched.c > === > --- linux-test.git.orig/kernel/sched.c 2007-10-19 12:32:39.0 -0400 > +++ linux-test.git/kernel/sched.c 200

Re: git/cscope with x86 merge

2007-10-20 Thread Sam Ravnborg
On Sat, Oct 20, 2007 at 08:56:18AM -0700, Linus Torvalds wrote: > > > On Sat, 20 Oct 2007, Yinghai Lu wrote: > > > > git log -p --follow arch/x86/kernel/vmlinux_64.lds.S > > > > can not trace to arch/x86_64/kernel/vmlinux.lds.S > > Hmm. I get: > > [EMAIL PROTECTED] linux]$ git log --sta

Re: [patch 4/7] Immediate Values - i386 Optimization

2007-10-20 Thread Mathieu Desnoyers
* Jeremy Fitzhardinge ([EMAIL PROTECTED]) wrote: > H. Peter Anvin wrote: > > Allowing different registers should be doable, but if so, one would have > > to put 0: at the *end* of the instruction and use (0f)-4 instead, since > > the non-%eax forms are one byte longer. > > > > OK, that's alread

Re: 2.6.23-git Kconfig regression

2007-10-20 Thread Sam Ravnborg
Jan - I assume you will look into this. And thanks to David/Randy for narrowing this down. Thanks, Sam On Fri, Oct 19, 2007 at 09:25:55PM -0700, Linus Torvalds wrote: > > > On Fri, 19 Oct 2007, David Brownell wrote: > > > > My (quick, meaning that I may have missed something) testing

Re: nfsv2 ref leak in 2.6.24?

2007-10-20 Thread Trond Myklebust
On Fri, 2007-10-19 at 22:33 -0400, Erez Zadok wrote: > Trond, good news. I was able to narrow down the problem to purely the > client-side, probably dcache/readdir related, and I have a shell script that > deterministically triggers the problem each time for me (this is a FC6 image > under Vmware

Re: [PATCH] xconfig: set title bar

2007-10-20 Thread Sam Ravnborg
On Fri, Oct 19, 2007 at 02:55:28PM -0700, Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > menuconfig and gconfig already place a title (or caption) on the top > bar of their window (or whatever that is properly called). However, > qconf (xconfig) just says "qconf". I tried to fi

Re: [NFS] [GIT] NFS client fixes for 2.6.23++

2007-10-20 Thread Trond Myklebust
On Fri, 2007-10-19 at 19:32 -0700, Linus Torvalds wrote: > > On Fri, 19 Oct 2007, Erez Zadok wrote: > > > > Trond, with Linus's latest tree, you need to #include in > > fs/nfs/unlink.c, else I get: > > > > CC [M] fs/nfs/unlink.o > > fs/nfs/unlink.c: In function 'nfs_dec_sillycount': > > fs/

Re: [NFS] [GIT] NFS client fixes for 2.6.23++

2007-10-20 Thread Trond Myklebust
On Fri, 2007-10-19 at 20:41 -0500, Olof Johansson wrote: > nfs: Fix build break with CONFIG_NFS_V4=n > > Signed-off-by: Olof Johansson <[EMAIL PROTECTED]> Acked-by: Trond Myklebust <[EMAIL PROTECTED]> with apologies. > --- > > > On Fri, Oct 19, 2007 at 05:23:13PM -0400, Trond Myklebust w

Re: [PATCH] Bug fix for the s390 dcssblk driver

2007-10-20 Thread emist
Frans Pop wrote: > emist wrote: >> The following patch fixes and issue in the s390 dcssblk driver. The >> issue is caused when an unsuccessful attempt is made in order to change >> a segment's type through the device attribute file "shared". This causes >> the driver to remove the device in questio

Re: git/cscope with x86 merge

2007-10-20 Thread Thomas Gleixner
On Sat, 20 Oct 2007, Sam Ravnborg wrote: > On Sat, Oct 20, 2007 at 08:56:18AM -0700, Linus Torvalds wrote: > > so it definitely works for me. > > But you do not see the rename arch/x86_64/kernel/{vmlinux.lds.S => > vmlinux.lds.S} > And this is I thing the important step here. > > For vmlinux.lds

[PATCH] x86: merge required-features.h

2007-10-20 Thread Brian Gerst
Signed-off-by: Brian Gerst <[EMAIL PROTECTED]> --- include/asm-x86/required-features.h| 73 ++- include/asm-x86/required-features_32.h | 55 include/asm-x86/required-features_64.h | 46 3 files changed, 70 insertio

Re: [PATCH] xconfig: set title bar

2007-10-20 Thread Sam Ravnborg
On Sat, Oct 20, 2007 at 07:14:03PM +0200, Sam Ravnborg wrote: > On Fri, Oct 19, 2007 at 02:55:28PM -0700, Randy Dunlap wrote: > > From: Randy Dunlap <[EMAIL PROTECTED]> > > > > menuconfig and gconfig already place a title (or caption) on the top > > bar of their window (or whatever that is properl

Re: [PATCH] xconfig: set title bar

2007-10-20 Thread Randy Dunlap
On Sat, 20 Oct 2007 20:12:02 +0200 Sam Ravnborg wrote: > On Sat, Oct 20, 2007 at 07:14:03PM +0200, Sam Ravnborg wrote: > > On Fri, Oct 19, 2007 at 02:55:28PM -0700, Randy Dunlap wrote: > > > From: Randy Dunlap <[EMAIL PROTECTED]> > > > > > > menuconfig and gconfig already place a title (or captio

Re: [patch 2/8] track highest prio queued on runqueue

2007-10-20 Thread Dmitry Adamushko
On 19/10/2007, Steven Rostedt <[EMAIL PROTECTED]> wrote: > [ ... ] > === > --- linux-test.git.orig/kernel/sched.c 2007-10-19 12:33:09.0 -0400 > +++ linux-test.git/kernel/sched.c 2007-10-19 12:34:32.0 -0400 > @@ -

Re: [PATCH] xconfig: set title bar

2007-10-20 Thread Randy Dunlap
On Sat, 20 Oct 2007 19:14:03 +0200 Sam Ravnborg wrote: > I found this one to work: > + setCaption("hello my little world"); Thanks, your search expressions were better than mine. > We should show the prompt associated with mainmenu here. You want all 3 of them converted to symbol_

Re: git/cscope with x86 merge

2007-10-20 Thread Linus Torvalds
On Sat, 20 Oct 2007, Sam Ravnborg wrote: > > But you do not see the rename arch/x86_64/kernel/{vmlinux.lds.S => > vmlinux.lds.S} Umm. What you are describing isn't a rename - that's the same name. Do you perhaps mean vmlinux.lds.S => vmlinux_64.lds.S ? And yes, it doesn't show that as a rena

Re: 2.6.23-git Kconfig regression

2007-10-20 Thread Jan Beulich
I'll try to, but it may take some time. Jan >>> Sam Ravnborg <[EMAIL PROTECTED]> 10/20/07 6:50 PM >>> Jan - I assume you will look into this. And thanks to David/Randy for narrowing this down. Thanks, Sam On Fri, Oct 19, 2007 at 09:25:55PM -0700, Linus Torvalds wrote: > > > On Fri, 1

Re: [PATCH] xconfig: set title bar

2007-10-20 Thread Sam Ravnborg
On Sat, Oct 20, 2007 at 11:18:47AM -0700, Randy Dunlap wrote: > On Sat, 20 Oct 2007 19:14:03 +0200 Sam Ravnborg wrote: > > > I found this one to work: > > + setCaption("hello my little world"); > > Thanks, your search expressions were better than mine. > > > We should show the prompt assoc

Re: Laptop keyboard unusable when ACPI is active was Re: [2.6.22] i8042, ACPI, ipw2100 and issues reported by psmouse.c atkbd.c

2007-10-20 Thread Pavel Machek
Hi! > > Try disabling acpi embedded controller. > > > How can I accomplish this? Are you referring to the i8042? rmmod acpi_ec or how is it called. But I'm not sure how easy this is. > > Try watching keyboard interrupts. Are they lost? > > > I am pretty sure they are. I think that ACPI pau

Re: [patch 4/7] Immediate Values - i386 Optimization

2007-10-20 Thread H. Peter Anvin
Mathieu Desnoyers wrote: I have tried generating asm-to-"register" c variables for char, short and int on i386 and I do not see this happening. The char opcode is always 1 byte, short 2 bytes and int 1 byte. Result: The comment was referring to x86-64, but I incorrectly remembered that apply

rt73usb: support for wireless in Kohjinsha subnotebook

2007-10-20 Thread Pavel Machek
Hi! Kohjinsha subnotebook seems to contain wifi with USB IDs 0x18e8, 0x6206... I hope that to be compatible with net/wireless/rt2x00/rt73usb.c . [Sidenote: could we add some real author info into rt73usb.c?] I did this on 2.6.23-rc8-mm1 kernel (The RT hack may not be neccessary), but then it oop

Re: [PATCH] restore arch/ppc/boot cflags

2007-10-20 Thread Sam Ravnborg
On Sat, Oct 20, 2007 at 03:58:03AM -0500, Milton Miller wrote: > Commit 9a39e273d4df0560c724c5fe71f6314a0583ca2b removed the boot directory > addition to CFLAGS that was being used by the subdirectory builds. For the > other files, that patch set EXTRA_CFLAGS, but Makefile.build explicitly > sets

Re: git/cscope with x86 merge

2007-10-20 Thread Linus Torvalds
On Sat, 20 Oct 2007, Linus Torvalds wrote: > > I could perhaps look at making "git log --follow" also break up files that > got totally rewritten (git already has a notion of "-B" to do that), but > no, we don't do it right now. Ok, if you guys have a current git source, and want to try some

Re: [PATCH] x86: merge required-features.h

2007-10-20 Thread Thomas Gleixner
On Sat, 20 Oct 2007, Brian Gerst wrote: > Signed-off-by: Brian Gerst <[EMAIL PROTECTED]> > --- > include/asm-x86/required-features.h| 73 ++- > include/asm-x86/required-features_32.h | 55 > include/asm-x86/required-features_64.h | 46

Re: nfsv2 ref leak in 2.6.24?

2007-10-20 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, Trond Myklebust writes: > > On Fri, 2007-10-19 at 22:33 -0400, Erez Zadok wrote: > > Trond, good news. I was able to narrow down the problem to purely the > > client-side, probably dcache/readdir related, and I have a shell script that > > deterministically trigger

Re: git/cscope with x86 merge

2007-10-20 Thread Sam Ravnborg
On Sat, Oct 20, 2007 at 11:49:51AM -0700, Linus Torvalds wrote: > > > On Sat, 20 Oct 2007, Linus Torvalds wrote: > > > > I could perhaps look at making "git log --follow" also break up files that > > got totally rewritten (git already has a notion of "-B" to do that), but > > no, we don't do i

Re: tristate and bool not enogh for Kconfig anymore

2007-10-20 Thread Sam Ravnborg
On Sat, Oct 20, 2007 at 02:42:38PM +0200, Henrik Carlqvist wrote: > I think there is a need for Kconfig to specify that a functionality could > be built as a module or not built at all. I assume depends on MODULES should do the trick. Sam - To unsubscribe from this list: send the

Re: nfsv2 ref leak in 2.6.24?

2007-10-20 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, Erez Zadok writes: > In message <[EMAIL PROTECTED]>, Trond Myklebust writes: [...] > > Looking at > > nfs_proc_create(), there is indeed a missing call to > > nfs_mark_for_revalidate(). The reason why you need such a call being the > > usual one: NFSv2 doesn't provid

[PATCH 2/2] irq_flags_t: annotate kernel/

2007-10-20 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- include/linux/sched.h|4 +- kernel/audit.c | 10 +++--- kernel/cpu_acct.c|2 - kernel/delayacct.c |6 +-- kernel/hrtimer.c | 16 - kernel/irq/chip.c|

Re: BUG in: Driver core: convert block from raw kobjects to core devices

2007-10-20 Thread Alan Stern
On Sat, 20 Oct 2007, Kay Sievers wrote: > Here is what I see, the error handler hangs without the final put and > the kobject never gets cleaned up. Note the missing: > kobject sdb: cleaning up > > What is your CONFIG_SYSFS_DEPRECATED option? I have it unset, and that > may be the difference in

Re: what to call it after 2.6.23 but before 2.6.24-rc1?

2007-10-20 Thread Linus Torvalds
On Sat, 20 Oct 2007, Erez Zadok wrote: > > One more small git question: I keep a separate tree for unionfs, which I > rebase often based on your tree. But my tree sez: > > $ git-describe > v2.6.21-rc1-22880-g3a1848d > > "v2.6.21-rc1"? What am I missing (some tags I forgot to pull?) Why isn't

Re: [PATCH v2] ibmpex: Change printk to dev_{info,err} macros

2007-10-20 Thread Jean Delvare
On Fri, 19 Oct 2007 16:35:07 -0700, Darrick J. Wong wrote: > Ok, I'll change the message to be a bit more accurate. > --- > Clean up printk use in ibmpex. > > Signed-off-by: Darrick J. Wong <[EMAIL PROTECTED]> > --- Acked-by: Jean Delvare <[EMAIL PROTECTED]> > > drivers/hwmon/ibmpex.c | 48

Re: what to call it after 2.6.23 but before 2.6.24-rc1?

2007-10-20 Thread Linus Torvalds
On Sat, 20 Oct 2007, Erez Zadok wrote: > > Linus, is there a preferred name to refer to the kernel version in your tree > after 2.6.23 is out (and the official 2.6.23.y git was created) but before > you release 2.6.24-rc1? Well, since you can only get one of those kernels in two ways, there's a

Re: git/cscope with x86 merge

2007-10-20 Thread Linus Torvalds
On Sat, 20 Oct 2007, Andi Kleen wrote: > > It's not only next. The latest release (1.5.3.4) has this problem. Yes. It's ok in the master branch, but due to unlucky timing with noticing this bug, and Junio being away, no releases got cut with the fix. In general, the kernel people haven't don

Re: git/cscope with x86 merge

2007-10-20 Thread Linus Torvalds
On Sat, 20 Oct 2007, Sam Ravnborg wrote: > > I pulled next branch of git and applied your patch. > > When running > git log --follow -B arch/x86/kernel/vmlinux_64.lds.S > > I got no output at all (in a newly pulled linux kernel dir). Try with "-p". It's possible (nay, likely) that "nex

[PATCH] Smackv8: Omit non-cipso labels in cipso_seq_start

2007-10-20 Thread Ahmed S. Darwish
Hi!, [Casey, sending patches in public to get an early review] Omit non-cipso labels in cipso_seq_start(). Signed-off-by: Ahmed S. Darwish <[EMAIL PROTECTED]> --- stopping seq_show() if smk_cipso = NULL only fixes the bug symptom. We'll issue a BUG() in that case cause it signals a serious misb

Re: [patch] PCI: disable MSI on more ATI NorthBridges

2007-10-20 Thread Benjamin Herrenschmidt
On Fri, 2007-10-19 at 16:21 -0400, Jeff Garzik wrote: > Take a look at tg3.c net driver change > 2fbe43f6f631dd7ce19fb1499d6164a5bdb34568 which is a similar situation. > > However, it may turn out that removing the pci_intx() stuff as a > general > rule is easier than quirking these devices, if

Re: what to call it after 2.6.23 but before 2.6.24-rc1?

2007-10-20 Thread Erez Zadok
In message <[EMAIL PROTECTED]>, Linus Torvalds writes: > On Sat, 20 Oct 2007, Erez Zadok wrote: [...] > - if you are a git user, and got it that way, just use the git name, and >use "git describe" to get it. > >So my current head is called "v2.6.23-6562-g8add244" which tells you >

[PATCH 1/2] irq_flags_t: intro and core annotations

2007-10-20 Thread Alexey Dobriyan
One of type of bugs steadily being fought is the following one: unsigned int flags; spin_lock_irqsave(&lock, flags); where "flags" should be "unsigned long". Here is far from complete list of commits fixing such bugs: 099575b6cb7eaf18211ba72de56264f67651b90b 5efee174f8a101cafb160

[PATCH] Fix sched_domain sysctl registration again

2007-10-20 Thread Milton Miller
commit 029190c515f15f512ac85de8fc686d4dbd0ae731 (cpuset sched_load_balance flag) was not tested SCHED_DEBUG enabled as committed as it dereferences NULL when used and it reordered the sysctl registration to cause it to never show any domains or their tunables. Fixes: 1) restore arch_init_sched_d

[PATCH] Fix sched_domain sysctl registration again

2007-10-20 Thread Milton D. Miller II
commit 029190c515f15f512ac85de8fc686d4dbd0ae731 (cpuset sched_load_balance flag) was not tested SCHED_DEBUG enabled as committed as it dereferences NULL when used and it reordered the sysctl registration to cause it to never show any domains or their tunables. Fixes: 1) restore arch_init_sched_d

  1   2   >