Re: realtime preemption performance difference

2007-09-26 Thread Jaswinder Singh
hello hufey, I am not using montavista kernel, I am using standard linux kernel. Realtime is known by worst case latencies. Ingo and team are claiming for realtime support so their should be some samples and performance numbers, Can someone please share their samples and/or numbers. Thank you,

Man page for revised timerfd API

2007-09-26 Thread Michael Kerrisk
Hi Davide, I've written a man page for the revised timerfd API. Could you review the text to make sure it matches matches the design you've intended to implement and let me know if there are any things that should be fixed or added. There are a few specific points that I'd like you to check -- s

Re: [patch 2/4] new timerfd API v2 - new timerfd API

2007-09-26 Thread Michael Kerrisk
Davide Libenzi wrote: > On Tue, 25 Sep 2007, Jonathan Corbet wrote: > >> One quick question: >> >>> Like the previous timerfd API implementation, read(2) and poll(2) are >>> supported >>> (with the same interface). >> Looking at that interface, it appears that a process doing a read() on a >> t

Re: subsystem_unregister() breakage in -mm

2007-09-26 Thread Cornelia Huck
On Tue, 25 Sep 2007 19:41:21 -0700, Greg KH <[EMAIL PROTECTED]> wrote: > Ok, here's a patch that fixes this for me. It should go on top of the > -mm tree. Let me know of this works or not. Looks sane to me. > In the end, we need to dynamically allocate these subsystems to properly > fix this.

Re: kswapd high CPU usage with no swap

2007-09-26 Thread Jan Kundrát
Rik van Riel wrote: > Could you try out the attached patch, too? Sorry, I wasn't able to apply it against 2.6.22-gentoo-r3 and vanilla 2.6.22.7; I don't have the "order" member in the "struct scan_control" and also the bit about "if (sync_writeback == PAGEOUT_IO_SYNC && may_enter_fs)" was missing

Re: [discuss] 2.6.23-rc8-mm1, -rc7-mm1 kill audio on HP nx6325

2007-09-26 Thread Jan Beulich
>>> Andrew Morton <[EMAIL PROTECTED]> 25.09.07 18:08 >>> >On Tue, 25 Sep 2007 13:53:51 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> >wrote: > >> Hi, >> >> This patch from Andi: >> >> x86_64-mm-cpa-einval.patch >> >> makes the hda_intel audio driver stop working on my HP nx6325. >> >> The foll

black screen after kill X [Was: 2.6.23-rc8-mm1]

2007-09-26 Thread Jiri Slaby
On 09/25/2007 10:46 AM, Andrew Morton wrote: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc8/2.6.23-rc8-mm1/ I don't know if this is a regression, I hadn't suspend working before rc7-mm1 (rc7-mm1 is the same), but X -> kill X -> console (OK) X -> suspend (2ram) -> resume

[PATCH] Module use count must be updated as bridges are created/destroyed

2007-09-26 Thread Jan Beulich
Otherwise 'modprobe -r' on a module having a dependency on bridge will implicitly unload bridge, bringing down all connectivity that was using bridges. Signed-off-by: Jan Beulich <[EMAIL PROTECTED]> net/bridge/br_if.c |9 + 1 file changed, 9 insertions(+) --- linux-2.6.23-rc8/net/br

Re: [git] CFS-devel, latest code

2007-09-26 Thread Mike Galbraith
On Tue, 2007-09-25 at 11:47 +0200, Ingo Molnar wrote: > Maybe there's more to come: if we can get CONFIG_FAIR_USER_SCHED to work > properly then your Xorg will have a load-independent 50% of CPU time all > to itself. (Group scheduling is quite impressive already: i can log in > as root without

NinjaSCSI PCMCIA card

2007-09-26 Thread Pavel Fedin
Hello! Can i get this card working? Hotplug doesn't recognise it, however i know that Linux supports it. My kernel is relatively new (2.6.11.1). cartctl info gives this: --- cut --- PRODID_1="" PRODID_2="NinjaSCSI Card_" PRODID_3="Ver 1.00" PRODID_4="NS00100M" MANFID=, FUNCI

Re: [patch 5/7] Use extended crashkernel command line on ppc64

2007-09-26 Thread Bernhard Walle
Hi, * Andrew Morton <[EMAIL PROTECTED]> [2007-09-25 21:45]: > On Tue, 25 Sep 2007 20:23:02 +0200 Bernhard Walle <[EMAIL PROTECTED]> wrote: > > > This patch adapts the ppc64 code to use the generic parse_crashkernel() > > function introduced in the generic patch of that series. > > I really don't

Re: subsystem_unregister() breakage in -mm

2007-09-26 Thread Miklos Szeredi
> > BUG: failure at mm/slab.c:591/page_get_cache()! > > Kernel panic - not syncing: BUG! > > Ok, here's a patch that fixes this for me. It should go on top of the > -mm tree. Let me know of this works or not. Yes, it works for me too. Thanks. Miklos - To unsubscribe from this list: send the l

Re: 2.6.23-rc8-mm1 - powerpc memory hotplug link failure

2007-09-26 Thread Kamalesh Babulal
Badari Pulavarty wrote: > On Wed, 2007-09-26 at 01:30 +0530, Kamalesh Babulal wrote: >> Hi Andrew, >> >> The 2.6.23-rc8-mm1 kernel linking fails on the powerpc (P5+) box >> >> CC init/version.o >> LD init/built-in.o >> LD .tmp_vmlinux1 >> drivers/built-in.o: In function `memory

Re: 2.6.23-rc8-mm1 - powerpc memory hotplug link failure

2007-09-26 Thread Kamalesh Babulal
KAMEZAWA Hiroyuki wrote: > On Wed, 26 Sep 2007 10:32:05 +0900 > KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: >> Maybe my patch is the problem. could you give me your .config ? >> > Ah, memory hot remove is selectable even if the arch doesn't support > itsorry. > > ok, this is fix. > > Thanks

Re: [discuss] 2.6.23-rc8-mm1, -rc7-mm1 kill audio on HP nx6325

2007-09-26 Thread Thomas Gleixner
On Wed, 2007-09-26 at 08:32 +0100, Jan Beulich wrote: > >ioremap_nocache() does __ioremap(..., _PAGE_PCD);, then __ioremap() does > >ioremap_page_range(..., _PAGE_PCD | other_stuff) That's one. > > > >__ioremap() then does ioremap_change_attr(..., _PAGE_PCD);. That's two. > > > >So I _think_ we're

Re: [PATCH 05/25] Unionfs: cast page->index loff_t before shifting

2007-09-26 Thread Christoph Hellwig
On Tue, Sep 25, 2007 at 11:09:44PM -0400, Erez Zadok wrote: > Fixes bugs in number promotion/demotion computation, as per > It's better to use te page_offset helper as that avoids any confusion on where to cast. - To unsubscribe from this list: send the line "u

Re: [PATCH] x86-64: Disable local APIC timer use on AMD systems with C1E

2007-09-26 Thread Ingo Molnar
* Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > On Tuesday, 25 September 2007 22:55, Thomas Gleixner wrote: > > On Tue, 2007-09-25 at 22:55 +0200, Rafael J. Wysocki wrote: > > > I have reworked the patch a bit so that it applies on top of > > > 2.6.23-rc8-mm1 > > > and compiles (my version is a

Re: [patch 1/7] Extended crashkernel command line

2007-09-26 Thread Bernhard Walle
* Oleg Verych <[EMAIL PROTECTED]> [2007-09-25 22:53]: > * Tue, 25 Sep 2007 20:22:58 +0200 > > > > +++ b/include/linux/kexec.h > > @@ -187,6 +187,8 @@ extern u32 vmcoreinfo_note[VMCOREINFO_NO > > extern size_t vmcoreinfo_size; > > extern size_t vmcoreinfo_max_size; > > > > +int __init parse_cras

Re: [PATCH 03/25] Unionfs: display informational messages only if debug is on

2007-09-26 Thread Jan Engelhardt
On Sep 25 2007 23:09, Erez Zadok wrote: >--- a/fs/unionfs/commonfops.c >+++ b/fs/unionfs/commonfops.c >@@ -394,8 +394,8 @@ int unionfs_file_revalidate(struct file *file, bool >willwrite) > if (willwrite && IS_WRITE_FLAG(file->f_flags) && > !IS_WRITE_FLAG(unionfs_lower_file(file)->

Re: missing mnt_drop_write() on open error

2007-09-26 Thread Miklos Szeredi
> On Wed, 2007-09-26 at 01:14 +0200, Miklos Szeredi wrote: > > I get this at umount, if there was a failed open(): > > > > WARNING: at fs/namespace.c:586 __mntput() > > > > I think the problem is that may_open() calls mnt_want_write(), but if > > open doesn't succeed, mnt_drop_write() will not be

Re: [PATCH 4/5] ibmebus: Move to of_device and of_platform_driver, match eHCA and eHEA drivers

2007-09-26 Thread Joachim Fenkes
Arnd Bergmann <[EMAIL PROTECTED]> wrote on 25.09.2007 16:42:40: > This is missing a description, The description is "ibmebus: Move to of_device and of_platform_driver, match eHCA and eHEA drivers" -- I thought that should be enough since the patch is rather straightforward. I can add a more det

Network slowdown due to CFS

2007-09-26 Thread Martin Michlmayr
I noticed that my network performance has gone down from 2.6.22 from [ 3] 0.0-10.0 sec113 MBytes 95.0 Mbits/sec to [ 3] 0.0-10.0 sec 75.7 MBytes 63.3 Mbits/sec with 2.6.23-rc1 (and 2.6.23-rc8), as measured with iperf. I did a git bisect today and tracked it back to the commit whe

Re: [PATCH 3/5] ibmebus: Add device creation and bus probing based on of_device

2007-09-26 Thread Joachim Fenkes
> > +/* These devices will automatically be added to the bus during init */ > > +static struct of_device_id builtin_matches[] = { > > + { .name = "lhca" }, > > + { .compatible = "IBM,lhca" }, > > + { .name = "lhea" }, > > + { .compatible = "IBM,lhea" }, > > + {}, > > +}; > > + > > Hmm,

Re: KPROBES: Instrumenting a function's call site

2007-09-26 Thread Ananth N Mavinakayanahalli
On Wed, Sep 26, 2007 at 10:09:33AM +0530, Ananth N Mavinakayanahalli wrote: > On Tue, Sep 25, 2007 at 06:12:38PM -0400, Avishay Traeger wrote: > > Hello, > > I am trying to use kprobes to measure the latency of a function by > > instrumenting its call site. Basically, I find the call instruction,

Re: [PATCH 2/5] ibmebus: Remove bus match/probe/remove functions

2007-09-26 Thread Joachim Fenkes
Arnd Bergmann <[EMAIL PROTECTED]> wrote on 25.09.2007 16:29:51: > The description makes it sound like a git-bisect would get broken > by this patch, which should never happen. If the patch indeed > ends up with a broken kernel, it would be better to merge it with > the later patch that fixes the c

Re: [Linux-fbdev-devel] [RFC] driving a LCD panel via I2C

2007-09-26 Thread Rodolfo Giometti
On Mon, Sep 24, 2007 at 12:34:08PM +0200, Haavard Skinnemoen wrote: > > I have a similar panel in the sense that it needs a bunch of SPI > commands to get started. I implemented a LCD driver > (drivers/video/backlight) for it so that it is automatically turned > on/off at bootup/shutdown, and can

Re: PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out"

2007-09-26 Thread Karl Meyer
Hi Francois, this is what I found and sent: The error exists from patch 2 on. I did some network testing with patch 1 and currently use it and have no errors so far. >From my experiences up to now patch 1 should be error free. Do you need additional info? 2007/9/12, Francois Romieu <[EMAIL PROT

Re: [PATCH 1/5] PowerPC: Move of_device allocation into of_device.[ch]

2007-09-26 Thread Joachim Fenkes
Arnd Bergmann <[EMAIL PROTECTED]> wrote on 25.09.2007 16:27:57: > The patch looks good to me, especially since you did exactly what I > suggested ;-) Yes, our discussions were very productive. Thanks and sorry I forgot to mention your input. > Maybe the description should have another sentence

Re: [kvm-devel] 2.6.23-rc8-mm1: drivers/kvm/ioapic.o build failure

2007-09-26 Thread Andrew Morton
On Wed, 26 Sep 2007 11:00:09 +0200 Avi Kivity <[EMAIL PROTECTED]> wrote: > Mariusz Kozlowski wrote: > > Hello, > > > > Similar (the same?) as in 2.6.23-rc6-mm1? > > > > http://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg208812.html > > > > CC [M] drivers/kvm/ioapic.o > > dri

[PATCH] Silent drivers/char/hpet.c build warnings on i386

2007-09-26 Thread S.Çağlar Onur
Following patch silents; ... drivers/char/hpet.c:72: warning: 'clocksource_hpet' defined but not used drivers/char/hpet.c:81: warning: 'hpet_clocksource' defined but not used ... build warnings on i386, they appeared after commit 3b2b64fd311c92f2137eb7cee7025794cd854057 Signed-off-by: S.Çağlar

Re: [kvm-devel] 2.6.23-rc8-mm1: drivers/kvm/ioapic.o build failure

2007-09-26 Thread Avi Kivity
Andrew Morton wrote: On Wed, 26 Sep 2007 11:00:09 +0200 Avi Kivity <[EMAIL PROTECTED]> wrote: Mariusz Kozlowski wrote: Hello, Similar (the same?) as in 2.6.23-rc6-mm1? http://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg208812.html CC [M] drivers/kvm/ioa

Re: [kvm-devel] 2.6.23-rc8-mm1: drivers/kvm/ioapic.o build failure

2007-09-26 Thread Avi Kivity
Mariusz Kozlowski wrote: Hello, Similar (the same?) as in 2.6.23-rc6-mm1? http://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg208812.html CC [M] drivers/kvm/ioapic.o drivers/kvm/ioapic.c: In function 'ioapic_deliver': drivers/kvm/ioapic.c:208: error: 'dest_LowestPr

Re: Network slowdown due to CFS

2007-09-26 Thread Ingo Molnar
* Martin Michlmayr <[EMAIL PROTECTED]> wrote: > I noticed that my network performance has gone down from 2.6.22 > from [ 3] 0.0-10.0 sec113 MBytes 95.0 Mbits/sec > to [ 3] 0.0-10.0 sec 75.7 MBytes 63.3 Mbits/sec > with 2.6.23-rc1 (and 2.6.23-rc8), as measured with iperf. > > I

[PATCH 0/5] [REPOST] PowerPC: ibmebus refactoring and fixes

2007-09-26 Thread Joachim Fenkes
This patchset will merge the ibmebus and of_platform bus drivers by basing a lot of ibmebus functionality on of_platform code and adding the features specific to ibmebus on top of that. This is a repost of my previous patchset incorporating Arnd's comments. I split the actual ibmebus rework into

[PATCH 1/5] PowerPC: Move of_device allocation into of_device.[ch]

2007-09-26 Thread Joachim Fenkes
Extract generic of_device allocation code from of_platform_device_create() and move it into of_device.[ch], called of_device_alloc(). Also, there's now of_device_free() which puts the device node. This way, bus drivers that build on of_platform (like ibmebus will) can build upon this code instead

[PATCH 2/5] ibmebus: Remove bus match/probe/remove functions

2007-09-26 Thread Joachim Fenkes
Remove old code that will be replaced by rewritten and shorter functions in the next patch. Keep struct ibmebus_dev and struct ibmebus_driver for now, but replace ibmebus_{,un}register_driver() by dummy functions. This way, the kernel will still compile and run during the transition and git bisect

[PATCH 3/5] ibmebus: Add device creation and bus probing based on of_device

2007-09-26 Thread Joachim Fenkes
The devtree root is now searched for devices matching a built-in whitelist during boot, so these devices appear on the bus from the beginning. It is still possible to manually add/remove devices to/from the bus by using the probe/remove sysfs interface. Also, when a device driver registers itself,

[PATCH 5/5] ibmebus: More speaking error return code in ibmebus_store_probe()

2007-09-26 Thread Joachim Fenkes
Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ibmebus.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c index c1e2963..0bd186c 100644 --- a/arch/powerpc/kernel/ibmebus.c +++ b/arch

[PATCH 4/5] ibmebus: Move to of_device and of_platform_driver, match eHCA and eHEA drivers

2007-09-26 Thread Joachim Fenkes
Replace struct ibmebus_dev and struct ibmebus_driver with struct of_device and struct of_platform_driver, respectively. Match the external ibmebus interface and drivers using it. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_classes.h |2 +- drivers/net

Re: Network slowdown due to CFS

2007-09-26 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > What kind of information can I supply so you can track this down? > > as a starter, could you boot the sched-devel.git kernel, with > CONFIG_SCHED_DEBUG=y and CONFIG_SCHEDSTATS=y enabled and could you run > this script while the iperf test is in the

Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

2007-09-26 Thread Henry Nestler
Hello Sam, Sam Ravnborg wrote: Hi Henry. On Tue, Sep 25, 2007 at 11:49:44AM +0200, Henry Nestler wrote: In reference of git 114f51577724b782a30f4f5ceaee9880de93d776: kbuild: use LDFLAGS_MODULE only for .ko links Sam Ravnborg pointed out that Documentation/kbuild/makefiles.txt al

[PATCH] Fix wrong filename reference in drivers-testing.txt

2007-09-26 Thread Ralf Baechle
Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/Documentation/power/drivers-testing.txt b/Documentation/power/drivers-testing.txt index 33016c2..e4bdcae 100644 --- a/Documentation/power/drivers-testing.txt +++ b/Documentation/power/drivers-testing.txt @@ -14,8 +14,8 @@ the machine's

Re: sys_chroot+sys_fchdir Fix

2007-09-26 Thread Nick Craig-Wood
Al Viro <[EMAIL PROTECTED]> wrote: > If you are within chroot jail and capable of chroot(), you can chdir to > its root, then chroot() to subdirectory and you've got cwd outside of > your new root. After that you can chdir all way out to original > root. Here is some code I wrote a while back

Re: 2.6.23-rc7-mm1 AHCI ATA errors -- won't boot

2007-09-26 Thread Bernd Schmidt
Jeff Garzik wrote: Would it also be possible for you to send along 'hdparm --Istdout' output for your config disk thingy, /dev/sdd ? One of these appears in my system as well (ASUS P5W-DH Deluxe mainboard). Here's the hdparm output: /dev/sdb: 0040 3fff c837 0010 003f 000

Re: Network slowdown due to CFS

2007-09-26 Thread Martin Michlmayr
* Ingo Molnar <[EMAIL PROTECTED]> [2007-09-26 11:47]: > > this will gather a good deal of info about the workload in question. > > Please send me the resulting debug file. > Another thing: please also do the same with the vanilla v2.6.22 kernel, > and send me that file too. (so that the two cases

linux-image-2.6.23-rc5-amd64: Ethernet not functioning on Nvidia MCP51

2007-09-26 Thread buffalo . phil
see: http://bugzilla.kernel.org/show_bug.cgi?id=9073 -- Philippe Bourcierhttp://bourcier.philippe.online.fr/ - 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

Re: Network slowdown due to CFS

2007-09-26 Thread Ingo Molnar
* Martin Michlmayr <[EMAIL PROTECTED]> wrote: > * Ingo Molnar <[EMAIL PROTECTED]> [2007-09-26 11:47]: > > > this will gather a good deal of info about the workload in question. > > > Please send me the resulting debug file. > > Another thing: please also do the same with the vanilla v2.6.22 kern

Re: Network slowdown due to CFS

2007-09-26 Thread Mike Galbraith
On Wed, 2007-09-26 at 10:52 +0200, Martin Michlmayr wrote: > I noticed that my network performance has gone down from 2.6.22 > >from [ 3] 0.0-10.0 sec113 MBytes 95.0 Mbits/sec > to [ 3] 0.0-10.0 sec 75.7 MBytes 63.3 Mbits/sec > with 2.6.23-rc1 (and 2.6.23-rc8), as measured with ip

Re: Network slowdown due to CFS

2007-09-26 Thread Mike Galbraith
On Wed, 2007-09-26 at 10:52 +0200, Martin Michlmayr wrote: > I noticed that my network performance has gone down from 2.6.22 > >from [ 3] 0.0-10.0 sec113 MBytes 95.0 Mbits/sec > to [ 3] 0.0-10.0 sec 75.7 MBytes 63.3 Mbits/sec > with 2.6.23-rc1 (and 2.6.23-rc8), as measured with ip

Re: Chroot bug

2007-09-26 Thread David Newall
Alan Cox wrote: Good call. Though I suppose, since it's used 24x7 to aid security on countless production servers, that security dwarfs testing. Still, debugging, yes that's valid. I don't suppose it makes and difference; whatever the purpose, a chroot that doesn't change the root is buggy.

Re: Chroot bug

2007-09-26 Thread David Newall
Kyle Moffett wrote: David, please do tell myself and Adrian how "locking down" chroot() the way you want will avoid letting root break out through any of the above ways? As has been said, there are thousands of ways to break out of a chroot. It's just that one of them should not be that chro

Re: sys_chroot+sys_fchdir Fix

2007-09-26 Thread David Newall
Al Viro wrote: Oh, for fsck sake... Folks, it's standard-required behaviour. Ability to chroot() implies the ability to break out of it. Could we please add that (along with reference to SuS) to l-k FAQ and be done with that nonsense? I'm pretty confident that it's only standard behavior for

[PATCH] Since we have counters in __u64 format we have to print them with %llu macros.

2007-09-26 Thread Maxim Uvarov
Small fix for documentation. --- Documentation/accounting/getdelays.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c index cbee3a2..739

Re: Chroot bug

2007-09-26 Thread Alan Cox
> > The dot-dot entry in the root directory is interpreted to mean the > > root directory itself. Thus, dot-dot cannot be used to access files > > outside the subtree rooted at the root directory. Which is behaviour chroot preserves properly. The specification says explicitly "The proc

Re: Chroot bug

2007-09-26 Thread Olivier Galibert
On Wed, Sep 26, 2007 at 07:57:38PM +0930, David Newall wrote: > As has been said, there are thousands of ways to break out of a chroot. > It's just that one of them should not be that chroot lets you walk out. chroot does not allow you to walk out if you're in. It only allows you to walk outs

Re: Network slowdown due to CFS

2007-09-26 Thread Martin Michlmayr
* Mike Galbraith <[EMAIL PROTECTED]> [2007-09-26 12:23]: > I noticed on the iperf website a patch which contains sched_yield(). > http://dast.nlanr.net/Projects/Iperf2.0/patch-iperf-linux-2.6.21.txt > > Do you have that patch applied by any chance? If so, it might be a > worth while to try it wit

Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

2007-09-26 Thread Sam Ravnborg
> >>What macro should set for linker parameters of foo.o ? I'm not shure. > >Have you read: > >Documentation/kbuild/makfilefiles.txt? > > Yes. This was a *very* helpfull. And many examples spokes about > LDFLAGS_$@ there. Not directly described for modules. Took a deeper look. I saw one referenc

Regression in 2.6.23-pre Was: Problems with 2.6.23-rc6 on AMD Geode LX800

2007-09-26 Thread Joerg Pommnitz
Hello all, this is what git bisect told me about the problem: [EMAIL PROTECTED]:~/linux-2.6$ git bisect good 4fd06960f120e02e9abc802a09f9511c400042a5 is first bad commit commit 4fd06960f120e02e9abc802a09f9511c400042a5 Author: H. Peter Anvin <[EMAIL PROTECTED]> Date: Wed Jul 11 12:18:56 2007 -070

Re: [PATCH] Since we have counters in __u64 format we have to print themwith %llu macros.

2007-09-26 Thread Balbir Singh
Maxim Uvarov wrote: > Small fix for documentation. > > > > --- > > Documentation/accounting/getdelays.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/Documentation/accounting/getdelays.c > b/Documentation/

Re: [PATCHSET 1/4] sysfs: misc updates

2007-09-26 Thread Cornelia Huck
On Thu, 20 Sep 2007 16:05:09 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > 0001-sysfs-kill-SYSFS_FLAG_REMOVED.patch > 0002-sysfs-fix-comments-of-sysfs_add-remove_one.patch > 0003-sysfs-fix-sysfs_chmod_file-such-that-it-updates-s.patch > 0004-sysfs-clean-up-header-files.patch > 0005-sysfs-kill

Re: Chroot bug

2007-09-26 Thread David Newall
Alan Cox wrote: The dot-dot entry in the root directory is interpreted to mean the root directory itself. Thus, dot-dot cannot be used to access files outside the subtree rooted at the root directory. Which is behaviour chroot preserves properly. And yet it is the dot-dot entry whi

Re: NMI error and Intel S5000PSL Motherboards

2007-09-26 Thread Alan Cox
> Aug 29 09:02:10 master kernel: Uhhuh. NMI received for unknown reason 30. > Aug 29 09:02:10 master kernel: Do you have a strange power saving mode > enabled? What would be useful is to know under what situations that board can raise NMI 30. > In other words, Intel seems to be blaming the probl

Re: Chroot bug

2007-09-26 Thread David Newall
Olivier Galibert wrote: chroot does not allow you to walk out if you're in. You're mistaken. Or more properly, further use of chroot lets you walk out. This really has been said before, and before, and before. chroot("subtree"); // enter chroot chdir("/");// now at subtree c

[patch/backport] CFS scheduler, -v22, for v2.6.23-rc8, v2.6.22.8, v2.6.21.7, v2.6.20.20

2007-09-26 Thread Ingo Molnar
By popular demand, here is release -v22 of the CFS scheduler. It is a full backport of the latest & greatest sched-devel.git code to v2.6.23-rc8, v2.6.22.8, v2.6.21.7 and v2.6.20.20. The patches can be downloaded from the usual place: http://people.redhat.com/mingo/cfs-scheduler/ This is t

Re: Chroot bug

2007-09-26 Thread Alan Cox
> >>> The dot-dot entry in the root directory is interpreted to mean the > >>> root directory itself. Thus, dot-dot cannot be used to access files > >>> outside the subtree rooted at the root directory. > >>> > > > > Which is behaviour chroot preserves properly. > > > And yet it is the

Re: sys_chroot+sys_fchdir Fix

2007-09-26 Thread Alan Cox
On Wed, 26 Sep 2007 20:04:14 +0930 David Newall <[EMAIL PROTECTED]> wrote: > Al Viro wrote: > > Oh, for fsck sake... Folks, it's standard-required behaviour. Ability > > to chroot() implies the ability to break out of it. Could we please > > add that (along with reference to SuS) to l-k FAQ and

Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR

2007-09-26 Thread Alan Cox
On Wed, 26 Sep 2007 00:03:19 -0400 Jeff Garzik <[EMAIL PROTECTED]> wrote: > Peer Chen wrote: > > According to the description of section 5.2.2.1 and 10.1.2 of AHCI > > specification rev1_1/rev1_2, GHC.HR shall only be set to ¡®1¡¯ > > by software when GHC.AE is set to ¡®1¡¯. > > > > Signed-off-b

Re: Network slowdown due to CFS

2007-09-26 Thread Ingo Molnar
* Martin Michlmayr <[EMAIL PROTECTED]> wrote: > * Mike Galbraith <[EMAIL PROTECTED]> [2007-09-26 12:23]: > > I noticed on the iperf website a patch which contains sched_yield(). > > http://dast.nlanr.net/Projects/Iperf2.0/patch-iperf-linux-2.6.21.txt > > > > Do you have that patch applied by any

Re: sys_chroot+sys_fchdir Fix

2007-09-26 Thread David Newall
Alan Cox wrote: On Wed, 26 Sep 2007 20:04:14 +0930 David Newall <[EMAIL PROTECTED]> wrote: Al Viro wrote: Oh, for fsck sake... Folks, it's standard-required behaviour. Ability to chroot() implies the ability to break out of it. Could we please add that (along with reference to SuS) t

Semantics of SO_REUSEADDR and P2P TCP NAT traversal

2007-09-26 Thread Paul Clark
Folks, I'm working on implementing a TCP NAT traversal scheme for a P2P application, similar to that described in: http://www.brynosaurus.com/pub/net/p2pnat/ and also in http://tools.ietf.org/html/draft-ietf-behave-p2p-state-03 [3.4] The idea in using TCP is to provide a P2P file transfer

Re: Network slowdown due to CFS

2007-09-26 Thread Martin Michlmayr
* Ingo Molnar <[EMAIL PROTECTED]> [2007-09-26 13:21]: > > > I noticed on the iperf website a patch which contains sched_yield(). > > > http://dast.nlanr.net/Projects/Iperf2.0/patch-iperf-linux-2.6.21.txt > > great! Could you try this too: >echo 1 > /proc/sys/kernel/sched_compat_yield > > does

Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)

2007-09-26 Thread Henry Nestler
Hello Sam, Sam Ravnborg wrote: What macro should set for linker parameters of foo.o ? I'm not shure. Have you read: Documentation/kbuild/makfilefiles.txt? Yes. This was a *very* helpfull. And many examples spokes about LDFLAGS_$@ there. Not directly described for modules. Took a deeper look.

Re: [PATCH] Since we have counters in __u64 format we have to print them with %llu macros.

2007-09-26 Thread Andreas Schwab
Maxim Uvarov <[EMAIL PROTECTED]> writes: > diff --git a/Documentation/accounting/getdelays.c > b/Documentation/accounting/getdelays.c > index cbee3a2..73924df 100644 > --- a/Documentation/accounting/getdelays.c > +++ b/Documentation/accounting/getdelays.c > @@ -208,7 +208,7 @@ void print_delayacc

Re: sys_chroot+sys_fchdir Fix

2007-09-26 Thread Alan Cox
> I've made no error. The documentation says what it says, and what it > doesn't say, other than for Linux, is that there is an unspecified way > of breaking out. Now see I've been working on Unix systems since 1988 or so and in that time I've learned to read the documentation properly (you hav

Re: Chroot bug

2007-09-26 Thread Miloslav Semler
Alan Cox napsal(a): but many program use this as security feature. So do you think that bind may use vserver? It would be a lot stronger if it did. A bind running non-root will be probably safe. A bind running as root can be attacked and break out of a chroot trivially. I guess it depends

Re: [PATCH] ahci: enable GHC.AE bit before set GHC.HR

2007-09-26 Thread Jeff Garzik
Alan Cox wrote: On Wed, 26 Sep 2007 00:03:19 -0400 Jeff Garzik <[EMAIL PROTECTED]> wrote: Peer Chen wrote: According to the description of section 5.2.2.1 and 10.1.2 of AHCI specification rev1_1/rev1_2, GHC.HR shall only be set to ¡®1¡¯ by software when GHC.AE is set to ¡®1¡¯. Signed-off-by:

Re: [PATCH] Since we have counters in __u64 format we have to print them with %llu macros.

2007-09-26 Thread Balbir Singh
Andreas Schwab wrote: > Maxim Uvarov <[EMAIL PROTECTED]> writes: > >> diff --git a/Documentation/accounting/getdelays.c >> b/Documentation/accounting/getdelays.c >> index cbee3a2..73924df 100644 >> --- a/Documentation/accounting/getdelays.c >> +++ b/Documentation/accounting/getdelays.c >> @@ -208

Re: sys_chroot+sys_fchdir Fix

2007-09-26 Thread David Newall
Alan Cox wrote: Now see I've been working on Unix systems since 1988 or so and in that time I've learned to read the documentation properly (you haven't) My, my, you can be unpleasant when you try. There's no need for it. As it happens I have years of UNIX experience on you. (Newbie!) You

RE: Network slowdown due to CFS

2007-09-26 Thread David Schwartz
> > I think the real fix would be for iperf to use blocking network IO > > though, or maybe to use a POSIX mutex or POSIX semaphores. > > So it's definitely not a bug in the kernel, only in iperf? Martin: Actually, in this case I think iperf is doing the right thing (though not the best thing) a

Re: [PATCH] TASK_KILLABLE version 2

2007-09-26 Thread Ric Wheeler
Bob Bell wrote: On Sat, Sep 01, 2007 at 08:43:49PM -0600, Matthew Wilcox wrote: Here's the second version of TASK_KILLABLE. A few changes since version 1: I obviously haven't covered every place that can result in a process sleeping uninterruptibly while attempting an operation. But sync_pa

Re: [PATCH] hibernation doesn't even build on frv - tons of helpers are missing

2007-09-26 Thread David Howells
Acked-By: David Howells <[EMAIL PROTECTED]> - 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 the FAQ at http://www.tux.org/lkml/

Re: 2.6.23-rc8-mm1

2007-09-26 Thread Andy Whitcroft
On Tue, Sep 25, 2007 at 03:05:53PM -0700, Badari Pulavarty wrote: > Hi Andy, > > One the patch you created in -mm is causing compile warning. > Here is the fix. Please verify. > > Thanks, > Badari > > arch/powerpc/mm/init_64.c: In function `vmemmap_populated': > arch/powerpc/mm/init_64.c:211: wa

Re: [PATCH] Since we have counters in __u64 format we have to print them with %llu macros.

2007-09-26 Thread Mikael Pettersson
On Wed, 26 Sep 2007 17:18:06 +0530, Balbir Singh wrote: > Andreas Schwab wrote: > > Maxim Uvarov <[EMAIL PROTECTED]> writes: > > > >> diff --git a/Documentation/accounting/getdelays.c > >> b/Documentation/accounting/getdelays.c > >> index cbee3a2..73924df 100644 > >> --- a/Documentation/accountin

Re: Chroot bug

2007-09-26 Thread Kyle Moffett
On Sep 26, 2007, at 06:27:38, David Newall wrote: Kyle Moffett wrote: David, please do tell myself and Adrian how "locking down" chroot () the way you want will avoid letting root break out through any of the above ways? As has been said, there are thousands of ways to break out of a chroo

Re: [PATCH] usbvision-video: buggered method tables

2007-09-26 Thread Mauro Carvalho Chehab
Em Qua, 2007-09-26 às 01:53 +0100, Al Viro escreveu: > duplicated .mmap in one, .vidioc_s_audio misspelled as .vidioc_g_audio > in other > > Signed-off-by: Al Viro <[EMAIL PROTECTED]> Acked-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> > --- > drivers/media/video/usbvision/usbvision-video.c |

Re: Oops in pwc v4l driver

2007-09-26 Thread Mauro Carvalho Chehab
Hi Oliver, May you send your Signed-off-by for the patch? Cheers, Mauro. Em Dom, 2007-09-02 às 15:02 +0200, Oliver Neukum escreveu: > Am Sonntag 02 September 2007 schrieb Alex Smith: > > Hi, > > > > I found an old Philips Askey VC010 webcam and attempted to get it > > working on Linux (latest g

Re: Chroot bug

2007-09-26 Thread Miloslav Semler
Kyle Moffett napsal(a): On Sep 26, 2007, at 06:27:38, David Newall wrote: Kyle Moffett wrote: David, please do tell myself and Adrian how "locking down" chroot() the way you want will avoid letting root break out through any of the above ways? As has been said, there are thousands of ways to

Re: Chroot bug

2007-09-26 Thread Bongani Hlope
On Wednesday 26 September 2007 13:06:51 David Newall wrote: > Alan Cox wrote: > >>> The dot-dot entry in the root directory is interpreted to mean the > >>> root directory itself. Thus, dot-dot cannot be used to access files > >>> outside the subtree rooted at the root directory. > > > > Which is b

Re: Oops in pwc v4l driver

2007-09-26 Thread Oliver Neukum
The pwc driver is defficient in locking, which can trigger an oops when disconnecting. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Regards Oliver --- --- a/drivers/media/video/pwc/pwc-if.c 2007-08-24 10:16:38.0 +0200 +++ b/drivers/media/video/pwc/pwc-if.c 2

[PATCH] Remove unused member from nsproxy

2007-09-26 Thread Pavel Emelyanov
The nslock spinlock is not used in the kernel at all. Remove it. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> --- diff --git a/include/linux/init_task.h b/include/linux/init_task.h index a3f2541..cae35b6 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h @@ -73,7 +73,6

Re: Oops in pwc v4l driver

2007-09-26 Thread Oliver Neukum
The pwc driver is defficient in locking, which can trigger an oops when disconnecting. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Regards Oliver --- --- a/drivers/media/video/pwc/pwc-if.c 2007-08-24 10:16:38.0 +0200 +++ b/drivers/media/video/pwc/pwc-if.c 2

Re: Chroot bug

2007-09-26 Thread linux-os \(Dick Johnson\)
On Wed, 26 Sep 2007, David Newall wrote: > Olivier Galibert wrote: >> chroot does not allow you to walk out if you're in. > > You're mistaken. Or more properly, further use of chroot lets you walk > out. This really has been said before, and before, and before. > >chroot("subtree"); // en

Re: [PATCH] Remove unused member from nsproxy

2007-09-26 Thread Serge E. Hallyn
Quoting Pavel Emelyanov ([EMAIL PROTECTED]): > The nslock spinlock is not used in the kernel at all. > Remove it. > > Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> Acked-by: Serge Hallyn <[EMAIL PROTECTED]> > --- > > diff --git a/include/linux/init_task.h b/include/linux/init_task.h > ind

[PATCH] Use KMEM_CACHE macro to create the nsproxy cache

2007-09-26 Thread Pavel Emelyanov
The blessed way for standard caches is to use it. Besides, this may give this cache a better alignment. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> --- diff --git a/kernel/nsproxy.c b/kernel/nsproxy.c index ee68964..31351cc 100644 --- a/kernel/nsproxy.c +++ b/kernel/nsproxy.c @@ -222,8 +2

Re: [PATCH] Remove unused member from nsproxy

2007-09-26 Thread Cedric Le Goater
Pavel Emelyanov wrote: > The nslock spinlock is not used in the kernel at all. it's also useless now that you have put some RCU rules around it. right ? C. > Remove it. > Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> > > --- > > diff --git a/include/linux/init_task.h b/include/linux/ini

Re: realtime preemption performance difference

2007-09-26 Thread Ankita Garg
Hi Jaswinder, On Mon, Sep 24, 2007 at 05:18:01PM +0530, Jaswinder Singh wrote: > Hi all, > > I want to check performance difference by using realtime preemption patch : > > http://www.kernel.org/pub/linux/kernel/projects/rt/ > > Please let me know from where I can download samples to test realt

Re: [PATCH 2/3] CRED: Split the task security data and move part of it into struct cred

2007-09-26 Thread David Howells
Stephen Smalley <[EMAIL PROTECTED]> wrote: > Precisely when to use one identity vs. the other though isn't always > clear, and the potential for accidental divergence is also a concern. What should auditing use in audit_filter_rules() when dealing with AUDIT_SUBJ_* cases? Should the SUBJ cases u

Re: Network slowdown due to CFS

2007-09-26 Thread Ingo Molnar
* David Schwartz <[EMAIL PROTECTED]> wrote: > > > I think the real fix would be for iperf to use blocking network IO > > > though, or maybe to use a POSIX mutex or POSIX semaphores. > > > > So it's definitely not a bug in the kernel, only in iperf? > > Martin: > > Actually, in this case I thin

2.6.23-rc7-ext4-1 patchset released

2007-09-26 Thread Theodore Ts'o
I've just released the 2.6.23-rc7-ext4-1; it's largely identical to 2.6.23-rc6-ext4-1 except that I've synchronized patches and patch names with patches that Andrew had pulled into 2.6.23-rc7-mm1. It's available in the standard place: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git

Re: [patch/backport] CFS scheduler, -v22, for v2.6.23-rc8, v2.6.22.8, v2.6.21.7, v2.6.20.20

2007-09-26 Thread S.Çağlar Onur
26 Eyl 2007 Çar tarihinde, Ingo Molnar şunları yazmıştı: > By popular demand, here is release -v22 of the CFS scheduler. It is a > full backport of the latest & greatest sched-devel.git code to > v2.6.23-rc8, v2.6.22.8, v2.6.21.7 and v2.6.20.20. The patches can be > downloaded from the usual place

  1   2   3   4   5   >