Re: queue_work from interrupt Real time preemption2.6.11-rc2-RT-V0.7.37-03

2005-02-16 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > > See net/core/dev.c:softnet_data > > How about a design to put softirq's into domains. [...] just to make sure that the context of this discussion is not lost to David and other readers of lkml. We are not redesigning softirqs in any way, shape or

Re: [BK] upgrade will be needed

2005-02-16 Thread Roland Kuhn
Hi Clemens! On Feb 17, 2005, at 1:11 AM, Clemens Schwaighofer wrote: first. what kind of advantages does bk have over other svn? Seriously. If Apache can use it, and gcc might use it (again two very large projects), what makes linux so differetnt that it can't. And I don't want _anything_ from Larr

Re: queue_work from interrupt Real time preemption2.6.11-rc2-RT-V0.7.37-03

2005-02-16 Thread Ingo Molnar
* David S. Miller <[EMAIL PROTECTED]> wrote: > > Maybe the networking > > stack would break if we allowed the TIMER softirq (thread) to preempt > > the NET softirq (threads) (and vice versa)? > > The major assumption is that softirq's run indivisibly per-cpu. > Otherwise the per-cpu queues of RX

[PATCH] Fix buf in zeromap_pud_range() losing virtual address

2005-02-16 Thread Benjamin Herrenschmidt
Hi ! This patch fixes a nasty bug that took us almost a week to track down on ppc64, introduced by the 4L page table changes, and resulting in random memory corruption. All archs that rely on a PTE page's struct page to contain the mm & address (in mapping/index) will be affected. zeromap_pud_ran

[PATCH] Check for wraps in copy_page_range

2005-02-16 Thread Benjamin Herrenschmidt
Hi ! While browsing the 4 level page table changes (looking for a bug), I noticed that copy_page_range, unlike others, do not check for wraparound, which I suppose could be a problem with 4G/4G architectures or that sort of thing. This patch fixes it. Signed-off-by: Benjamin Herrenschmidt <[EMAI

[PATCH] Fix possible race with 4level-fixup.h

2005-02-16 Thread Benjamin Herrenschmidt
Hi ! When using 4level-fixup.h, a PMD page may end up beeing freed before the matching PGD entry is cleared due to the way the compatibility macros work. This can cause nasty races on some architectures. This patch fixes it by defining pud_clear() to be pgd_clear(). That means we'll actually writ

2.6.10: irq 12 nobody cared!

2005-02-16 Thread Joshua Kwan
Hi, Just migrated to 2.6.10 on an old VIA MVP3 box and I'm getting this: irq 12: nobody cared! [] __report_bad_irq+0x22/0x80 [] note_interrupt+0x4c/0x80 [] __do_IRQ+0x118/0x140 [] do_IRQ+0x36/0x60 === [] common_interrupt+0x1a/0x20 [] __do_softirq+0x30/0xa0 [] do_softirq+

Re: [BK] upgrade will be needed

2005-02-16 Thread Sean
On Thu, February 17, 2005 1:22 am, d.c said: > Do like them, ignore BK and continue using patch & diff. BK is just a > option, It doesn't stops you from developing in the linux kernel, I > can't understand why people cares so much about BK. The affects of many top level folks using a non free sy

Re: recursively unregistering platform devices

2005-02-16 Thread Robert Schwebel
On Wed, Feb 16, 2005 at 03:56:50PM -0800, Greg KH wrote: > Known issue, you can't recursivly register or unregister with the > driver core right now. I'm working on fixing this issue. Ok, great! Tell me if you have something we can test. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengut

Re: [ANNOUNCE] hotplug-ng 001 release

2005-02-16 Thread Michael Tokarev
> On Fri, Feb 11, 2005 at 11:46:27PM +0300, Roman Kagan wrote: > > On Fri, Feb 11, 2005 at 11:36:27AM -0800, Greg KH wrote: > > > Do one thing, and do it well. > > > > > > udev is for naming devices, not loading modules. > > > > Well currently udev is doing a lot more: serializing, waiting for sy

Re: [BK] upgrade will be needed

2005-02-16 Thread d.c
El Thu, 17 Feb 2005 00:57:55 -0500 (EST), "Sean" <[EMAIL PROTECTED]> escribió: > Even today, some top developers do not use BK and manage to get along Do like them, ignore BK and continue using patch & diff. BK is just a option, It doesn't stops you from developing in the linux kernel, I can't

Re: interrupt

2005-02-16 Thread Andi Kleen
On Wed, Feb 16, 2005 at 10:47:07PM -0800, YhLu wrote: > Interrupts always go to CPU 11. Run irqbalanced, but even then multiple CPUs will only be used when there are enough active interrupt sources. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

interrupt

2005-02-16 Thread YhLu
Interrupts always go to CPU 11. If dual core is diabled, it always go to CPU5. It is OK on 32bit mode. CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7 CPU8 CPU9 CPU10 CPU11 CPU12 CPU13 CPU14 CPU15 0:

Re: Fwd: dm perf scales poorly with 2.6.x kernel

2005-02-16 Thread Andi Kleen
Mike Snitzer <[EMAIL PROTECTED]> writes: > > Ultimately there appears to be a disproportionate increase in the DM > performance hit as the IO throughput capability of the underlying > block device increases (I'm obviously using a limited sampling so...). > But given the current results it is clear

RE: node_to_cpumask x86_64 broken

2005-02-16 Thread YhLu
Yes. should not use prink(ERR YH > -Original Message- > From: Andi Kleen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 16, 2005 10:22 PM > To: YhLu > Cc: linux-kernel@vger.kernel.org > Subject: Re: node_to_cpumask x86_64 broken > > On Wed, Feb 16, 2005 at 10:30:51PM -0800,

Re: node_to_cpumask x86_64 broken

2005-02-16 Thread Andi Kleen
On Wed, Feb 16, 2005 at 10:30:51PM -0800, YhLu wrote: > forget about it. I found the reason: I only put node 0 has RAM installed. There is some problem with this code - it complains on a few machines. However it's relatively harmless when this happens, so I haven't looked it yet. Should perhaps t

Re: [Fastboot] [PATCH] /proc/cpumem

2005-02-16 Thread Itsuro Oda
Hi, > I thought efi related data structures are of type __initdata and will be gone > after initilization. (efi.c) oops. certainly. and, devmem_is_allowed does same mistake :-) (I don't know who made it.) Thanks. -- Itsuro ODA <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line

Re: [ACPI] Call for help: list of machines with working S3

2005-02-16 Thread Len Brown
Pavel, I think that it is the BIOS' job on S3-suspend to save the video mode. On S3-resume the BIOS should re-POST and restore the video mode. While Linux's X drivers may be able to handle the case where X is running -- that doesn't help us with the cases where X is not running (a case that Windo

RE: node_to_cpumask x86_64 broken

2005-02-16 Thread YhLu
forget about it. I found the reason: I only put node 0 has RAM installed. YH > -Original Message- > From: YhLu > Sent: Wednesday, February 16, 2005 9:40 PM > To: Andi Kleen > Cc: linux-kernel@vger.kernel.org > Subject: node_to_cpumask x86_64 broken > > I add some printk in k8_bus.c >

Re: [BK] upgrade will be needed

2005-02-16 Thread Sean
On Wed, February 16, 2005 11:57 pm, Theodore Ts'o said: > On Thu, Feb 17, 2005 at 09:11:45AM +0900, Clemens Schwaighofer wrote: >> >> first. what kind of advantages does bk have over other svn? Seriously. >> If Apache can use it, and gcc might use it (again two very large >> projects), what makes l

[PATCH 2.6.11-rc4] m32r: warning fix

2005-02-16 Thread Hirokazu Takata
Hi, This patch removes the following warning of find_next_zero_bit() for m32r. Please apply. --- $ make ARCH=m32r CROSS_COMPILE=m32r-linux- : LDS arch/m32r/kernel/vmlinux.lds CC arch/m32r/mm/init.o In file included from /project/m32r-linux/kernel/linux-2.6.11-rc4-bk4/b/arch/m32

[BKPATCH] ACPI for 2.6.11

2005-02-16 Thread Len Brown
Hi Linus, please do a bk pull bk://linux-acpi.bkbits.net/to-linus This fixes two regressions in 2.6.11 vs 2.6.10 in the ACPI interpreter. thanks, -Len ps. a plain patch is also available here: ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.11

[BUG][x86-64]nmi_watchdog is not available

2005-02-16 Thread Itsuro Oda
Hi, nmi_watchdog is not available on my amd64 machine. --- activating NMI Watchdog ... done. testing NMI watchdog ... CPU#1: NMI appears to be stuck (0)! --- at least 2.6.9 and later, also 2.6.11-rc3-mm2. My investigation: this seems a sequence problem between the boot cpu and the secondary cpu.

Re: Swsusp, resume and kernel versions

2005-02-16 Thread Dmitry Torokhov
Hi Nigel, On Thursday 17 February 2005 00:15, Nigel Cunningham wrote: > Hi Dmitry. > > On Thu, 2005-02-17 at 15:46, Dmitry Torokhov wrote: > > Pavel, > > > > First of all I must say that swsusp has progressed alot and now works > > very reliably, at least for my configuration, and I use it a lot

node_to_cpumask x86_64 broken

2005-02-16 Thread YhLu
I add some printk in k8_bus.c node id = 0, node_to_cpumask = f i= 0 ldtbus = 0 i= 1 ldtbus = 40100 i= 2 ldtbus = 0 node id = 1, node_to_cpumask = 0 i= 0 ldtbus = 0 i= 1 ldtbus = 0 i= 2 ldtbus = 70500 node id = 2, node_to_cpumask = 0 i= 0 ldtbus = 0 i= 1 ldtbus = 0 i= 2 ldtbus = 0 node id = 3, node

Re: Swsusp, resume and kernel versions

2005-02-16 Thread Nigel Cunningham
Hi Dmitry. On Thu, 2005-02-17 at 15:46, Dmitry Torokhov wrote: > Pavel, > > First of all I must say that swsusp has progressed alot and now works > very reliably, at least for my configuration, and I use it a lot. Great > job! > > But I think there is one pretty severe issue present - even if sw

Re: [Fastboot] [PATCH] /proc/cpumem

2005-02-16 Thread Vivek Goyal
Hi, On Wed, 2005-02-16 at 14:19, Itsuro Oda wrote: > > BTW, does not kexec/kdump run on 2.6.11-rc3-mm2 ? > How do I get and examine the latest kexec/kdump ? Currently kdump is broken. I am working on Elf Header generation part in kexec-tools. Next week I should be able to post the initial patch

Re: [BK] upgrade will be needed

2005-02-16 Thread Theodore Ts'o
On Thu, Feb 17, 2005 at 09:11:45AM +0900, Clemens Schwaighofer wrote: > > first. what kind of advantages does bk have over other svn? Seriously. > If Apache can use it, and gcc might use it (again two very large > projects), what makes linux so differetnt that it can't. Compare the number of deve

[PATCH 2.6.11-rc4] m32r: defconfig updates

2005-02-16 Thread Hirokazu Takata
Hi, Here is a patchset to update defconfig files for m32r. The m32r kernel's API/ABI has been changed since 2.6.11-rc1. Please apply. Thanks, Signed-off-by: Hirokazu Takata <[EMAIL PROTECTED]> --- arch/m32r/defconfig | 44 arch/m32r/m32700ut/def

Swsusp, resume and kernel versions

2005-02-16 Thread Dmitry Torokhov
Pavel, First of all I must say that swsusp has progressed alot and now works very reliably, at least for my configuration, and I use it a lot. Great job! But I think there is one pretty severe issue present - even if swsusp is not enabled kernel should check if there is an image in swap and erase

Re: Pty is losing bytes

2005-02-16 Thread Theodore Ts'o
On Wed, Feb 16, 2005 at 08:06:00AM -0800, Linus Torvalds wrote: > Yes, yes, but did you see my suggested version that I had just below that > explained what I thought the real fix was? > > Th eproblem with checking for the "canon but no canon data" is that it's a > special case that IS ONLY VALID

Re: i810 BUG summary. Was Re: [SoftwareSuspend-devel] [Announce] 2.1.7 for 2.6.11-rc4

2005-02-16 Thread Nigel Cunningham
Hi Michael. Perhaps this belongs with the framebuffer devel guys? I'll copy them now. Antonio et al, have I called it right? Regards, Nigel On Thu, 2005-02-17 at 15:22, [EMAIL PROTECTED] wrote: > Hi Nigel! > > On Wednesday 16 February 2005 05:22, Nigel Cunningham wrote: > > Hi Michael. > > > >

Re: i810 resume fix. was: [SoftwareSuspend-devel] [Announce] 2.1.7 for 2.6.11-rc4

2005-02-16 Thread Nigel Cunningham
Hi Michael. On Thu, 2005-02-17 at 15:22, [EMAIL PROTECTED] wrote: > Hi Karol! > > Thank you for the patch. I tested it it resumes fine with > swsusp2 and S3. Would you please submit the patch to lkml. Already done via Dave Jones. Regards, Nigel -- Nigel Cunningham Software Engineer, Canberra

i810 BUG summary. Was Re: [SoftwareSuspend-devel] [Announce] 2.1.7 for 2.6.11-rc4

2005-02-16 Thread mhf
Hi Nigel! On Wednesday 16 February 2005 05:22, Nigel Cunningham wrote: > Hi Michael. > > On Tue, 2005-02-15 at 22:32, [EMAIL PROTECTED] wrote: > > - Removing intel-agp as well fixes the problem and X > > can be started alright after resume. > > Did you see Karol's patch? It looks like it should >

i810 resume fix. was: [SoftwareSuspend-devel] [Announce] 2.1.7 for 2.6.11-rc4

2005-02-16 Thread mhf
On Tuesday 15 February 2005 15:26, Karol Kozimor wrote: > Thus wrote [EMAIL PROTECTED]: > > Checked on modules: > > - Removing i810 and drm prior to suspend (after exiting > > X) has no effect. > > > > - Removing intel-agp as well fixes the problem and X > > can be started alright after resume. > >

[PATCH 2.6.11-rc4] m32r: fix sys_clone() (was [PATCH 2.6.10-bk4] m32r: fix sys_clone())

2005-02-16 Thread Hirokazu Takata
Sorry, I missed the previous mail's subject. This patch is against 2.6.11-rc4 or 2.6.11-rc4-bk4. -- Takata From: Hirokazu Takata <[EMAIL PROTECTED]> Subject: [PATCH 2.6.10-bk4] m32r: fix sys_clone() Date: Thu, 17 Feb 2005 12:18:33 +0900 (JST) > Hi, > > This patch is required to fix sys_clone() f

Re: -rc3 leaking NOT BIO [Was: Memory leak in 2.6.11-rc1?]

2005-02-16 Thread Horst von Brand
Andrew Morton <[EMAIL PROTECTED]> said: > Parag Warudkar <[EMAIL PROTECTED]> wrote: [...] > > Is there a reason X86_64 doesnt have CONFIG_FRAME_POINTER anywhere in > > the .config? > No good reason, I suspect. Does x86_64 use up a (freeable) register for the frame pointer or not? I.e., does -f

RE: SL811 problem on mach-pxa

2005-02-16 Thread Frank Buss
Now the driver is working, at least on my platform. Currently I'm using version 2.6.11-rc1 as my base, but the diff output is only this: --- linux-2.6.11-rc1.orig/drivers/usb/host/sl811-hcd.c Wed Jan 12 05:00:38 2005 +++ linux-2.6.11-rc4.orig/drivers/usb/host/sl811-hcd.c Sun Feb 13 04:05:51 2005

[PATCH 2.6.11-rc4] m32r: build fix for SMP kernel

2005-02-16 Thread Hirokazu Takata
Hello, Here is a patch to fix compile errors of 2.6.11-rc4 for the m32r SMP kernel. I think this patch should be included in 2.6.11. Please apply. * include/asm-m32r/spinlock.h: - Add read_can_lock() and write_can_lock() to fix build errors for SMP. - Rename 'lock' to 'slo

[PATCH 2.6.10-bk4] m32r: fix sys_clone()

2005-02-16 Thread Hirokazu Takata
Hi, This patch is required to fix sys_clone() for m32r. * arch/m32r/kernel/process.c: - Fix sys_clone; add arguments, parent_tidptr and child_tidptr. - Cosmetics: Change indentation of function parameters for sys_clone(), sys_vfork(). Thanks, Signed-off-by: Hiro

Source to learn about various DSP techniques.

2005-02-16 Thread krishna
Hi all, Can anyone tell me any source to understand/learn the DSP techniques used in communications and multimedia.(like DSSS, Frequency Hopping, Pulse Code Modulation ...) Regards, Krishna Chaitanya - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bod

Re: What is a purpose of GPIO pins

2005-02-16 Thread krishna
Hi Robert, Thank you very much. In my board it is also used for alternate function and to wake up from power save. The problem I am facing is as it is used for alternate function. My WLAN driver and the audio codec driver are conflicting. Regards, Krishna Chaitanya - To unsubscribe from this

[PATCH] pci/quirks.c: unhide SMBus device on Samsung P35 laptop

2005-02-16 Thread Carl-Daniel Hailfinger
Hi, this patch is needed to make the SMBus device on my Samsung P35 laptop visible. By default, it doesn't appear as a pci device. Patch tested, works perfectly for me. Please apply. Regards, Carl-Daniel -- http://www.hailfinger.org/ Signed-off-by: Carl-Daniel Hailfinger <[EMAIL PROTECTED]> =

Re: possible leak in kernel 2.6.10-ac12

2005-02-16 Thread Pedro Venda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pedro Venda wrote: | Noel Maddy wrote: | | On Thu, Feb 17, 2005 at 12:02:33AM +, Pedro Venda wrote: | | | | | |>admin proc # cat slabinfo | | | | ... | | | |>biovec-1 74224 74354 16 2261 : tunables 120 | 600 : | slabdata

Re: ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device

2005-02-16 Thread Sergio Monteiro Basto
with hdc=scsi haldeamon doesn't recognize cdwriter. but with hdc=ide-scsi (was the original from kernel 2.4) haldaamon reconize my cdwriter ! So this message of this subject just make me wast my time and lose my patience. ( because I forgot to enable haldaemon before to try understand the message

Re: [BK] upgrade will be needed

2005-02-16 Thread Alexandre Oliva
On Feb 16, 2005, Pavel Machek <[EMAIL PROTECTED]> wrote: >> > I want to pay the fee for Linus and Alan. >> I'd like to pay the fee to have Linus' license to use BK revoked. But >> I probably can't afford it, oh well :-) > Easy, start working for OSDL, then start hacking arch or > whatever. Puff

Re: Call for help: list of machines with working S3

2005-02-16 Thread Lukas Hejtmanek
On Thu, Feb 17, 2005 at 12:22:57AM +0100, Pavel Machek wrote: > > does anyone have some experiences with intel i855 video card and S3? > > > > For me the binary driver from Intel works with S3 but only X server is > > restored > > not the text console. > > > > With open source driver nothing is

Re: -rc3 leaking NOT BIO [Was: Memory leak in 2.6.11-rc1?]

2005-02-16 Thread Parag Warudkar
On Wednesday 16 February 2005 06:51 pm, Andrew Morton wrote: > 81002fe8 is the address of the slab object.  08a8 is > supposed to be the caller's text address.  It appears that > __builtin_return_address(0) is returning junk.  Perhaps due to > -fomit-frame-pointer. I tried manua

Re: [PATCH] dcache d_drop() bug fix / __d_drop() use fix

2005-02-16 Thread Ian Kent
On Wed, 16 Feb 2005, Jeff Moyer wrote: > ==> Regarding Re: [PATCH] dcache d_drop() bug fix / __d_drop() use fix; > [EMAIL PROTECTED] adds: > > raven> On Wed, 16 Feb 2005, Jan Blunck wrote: > >> This is a re-submission of the patch I sent about a month ago. > >> > >> While working on my code I r

Re: sil_blacklist - are all those entries necessary?

2005-02-16 Thread Witold Krecicki
Dnia czwartek 17 luty 2005 01:59, napisałeś: > > is there ANY way to test if this hack is necessary for specific model of > > a disk? > > You need a bus analyzer, and need to test different sizes of FIS's.  If > all possible sizes (2048 combinations) work on your device, the > blacklist entry is no

Re: sil_blacklist - are all those entries necessary?

2005-02-16 Thread Jeff Garzik
Witold Krecicki wrote: Dnia wtorek 15 luty 2005 21:29, napisałeś: Dnia wtorek 15 luty 2005 17:52, napisałeś: Witold Krecicki wrote: in sata_sil.c there is: sil_blacklist [] = { { "ST320012AS", SIL_QUIRK_MOD15WRITE }, { "ST330013AS", SIL_QUIRK_MOD15WRITE }, { "ST

page fault scalability patchsets update: prezeroing, prefaulting and atomic operations

2005-02-16 Thread Christoph Lameter
I thought I save myself the constant crossposting of large amounts of patches. Patches, documentation, test results etc are available at http://oss.sgi.com/projects/page_fault_performance/ Changes: - Performance tests for all patchsets (i386 single processor, Altix 8 processors and Altix 128 pr

[PATCH] procfs: use C99 struct inits

2005-02-16 Thread Randy.Dunlap
Al, Please add this to your patch queue if you don't already have it. Use C99 struct inits as requested by sparse: fs/proc/base.c:738:2: warning: obsolete struct initializer, use C99 syntax fs/proc/base.c:739:2: warning: obsolete struct initializer, use C99 syntax Signed-off-by: Randy Dunlap <[E

Re: possible leak in kernel 2.6.10-ac12

2005-02-16 Thread Pedro Venda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noel Maddy wrote: | On Thu, Feb 17, 2005 at 12:02:33AM +, Pedro Venda wrote: | | |>admin proc # cat slabinfo | | ... | |>biovec-1 74224 74354 16 2261 : tunables 120 600 : slabdata329329 0 |>bio

Re: [PATCH] quiet non-x86 option ROM warnings

2005-02-16 Thread Benjamin Herrenschmidt
On Wed, 2005-02-16 at 15:54 -0800, Jesse Barnes wrote: > On Tuesday, February 15, 2005 5:03 pm, Benjamin Herrenschmidt wrote: > > What about printing "No PCI ROM detected" ? I like having that info when > > getting user reports, but I agree that a less worrying message would > > be good. > > Ok, h

Re: ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device

2005-02-16 Thread Alan Cox
On Mer, 2005-02-16 at 17:36, [EMAIL PROTECTED] wrote: > OK, so the problem is that ide-cd is able to *burn* the CD just fine, but it > suffers lossage when ide-cd tries to read it back... > > Alan - are the sense-byte patches for ide-cd in a shape to push either > upstream > or to -mm? I think s

Re: sil_blacklist - are all those entries necessary?

2005-02-16 Thread Witold Krecicki
Dnia wtorek 15 luty 2005 21:29, napisałeś: > Dnia wtorek 15 luty 2005 17:52, napisałeś: > > Witold Krecicki wrote: > > > in sata_sil.c there is: > > > sil_blacklist [] = { > > > { "ST320012AS", SIL_QUIRK_MOD15WRITE }, > > > { "ST330013AS", SIL_QUIRK_MOD15WRITE }, > >

Re: [PATCH] /proc/cpumem

2005-02-16 Thread Itsuro Oda
Hi Eric, > The lack of a type field looses a fair amount of functionality compared > to /proc/iomem. In particular you can't see where the ACPI data is. Hmm, restricting System RAM only may be too pessimistic. (One of motivations of this work is for using /dev/mem safely. "dd if=/dev/mem of=xxx

Re: possible leak in kernel 2.6.10-ac12

2005-02-16 Thread Noel Maddy
On Thu, Feb 17, 2005 at 12:02:33AM +, Pedro Venda wrote: > admin proc # cat slabinfo ... > biovec-1 74224 74354 16 2261 : tunables 120 600 : > slabdata329329 0 > bio74212 74237 64 611 : tunables 120 600 : > slabdata

Re: recursively unregistering platform devices

2005-02-16 Thread Greg KH
On Sun, Feb 06, 2005 at 03:29:12PM +0100, Robert Schwebel wrote: > Hi, > > I have a locking problem with platform devices in a little bit unusual > scenario; we have an FPGA which has a device information memory block > for the several "parts" in the FPGA. So we have written a base driver > which

[PATCH] isicom: use NULL for ptr.

2005-02-16 Thread Randy.Dunlap
Use NULL instead of 0 for pointer value: drivers/char/isicom.c:1274:14: warning: Using plain integer as NULL pointer Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> diffstat:= drivers/char/isicom.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Naurp ./drivers/char/isicom.c~is

Re: [PATCH] /proc/cpumem

2005-02-16 Thread YAMAMOTO Takashi
hi, > + while (addr < end) { > + if (valid_phys_addr_range(addr, &size)) { > + if (!found) { > + found = 1; > + p->addr = addr; > + p->size = size; > + } else

Re: [BK] upgrade will be needed

2005-02-16 Thread Clemens Schwaighofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/17/2005 12:39 AM, d.c wrote: > El Wed, 16 Feb 2005 18:45:27 +0900, > Clemens Schwaighofer <[EMAIL PROTECTED]> escribió: > > >>than mature VCS. Apache group is switching to it, gcc people are >>strongly thinking about it, and those two are _huge

Re: [BK] upgrade will be needed

2005-02-16 Thread Clemens Schwaighofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/17/2005 12:43 AM, Olivier Galibert wrote: >>Perhaps its about time, that linux also switches. > > > Think what you want of Larry, but SVN is nowhere near BK is term of > capabilities (and neither is arch for he matter). It's only better > com

pci_map_rom bug?

2005-02-16 Thread Jesse Barnes
Jon, it looks like the loop at the bottom of pci_map_rom is busted? do { void __iomem *pds; /* Standard PCI ROMs start out with these bytes 55 AA */ if (readb(image) != 0x55) break; if (readb(image + 1)

Re: [BK] upgrade will be needed

2005-02-16 Thread Pavel Machek
Hi! > >> if they really need the more powerful features. Or we could donate > >> some on a case by case basis. > >> > >> If the hackers who are using BK can reach agreement that it would be > >> better if the BK they had didn't move forward unless they got commercial > >> seats then we could sta

Re: possible leak in kernel 2.6.10-ac12

2005-02-16 Thread Pedro Venda
Parag Warudkar wrote: > On Wednesday 16 February 2005 06:28 pm, Pedro Venda wrote: > >>Having upgraded most of them to 2.6.10-ac12, one of them showed a linear >>growth of used memory over the last 7 days, after the first 2.6.10-ac12 >>boot. It came to a point that it started swapping and the swap

Re: [BK] upgrade will be needed

2005-02-16 Thread Pavel Machek
Hi! > Those licenses don't care if you are competing with them or not, they > do a blanket do-not-reverse-engineer no matter who you are. We > tried Your license is way worse than standard do-not-reverse-engineer. Put standard do-not-reverse-engineer there and you'll see the screams going down..

Re: [PATCH] quiet non-x86 option ROM warnings

2005-02-16 Thread Jesse Barnes
On Tuesday, February 15, 2005 5:03 pm, Benjamin Herrenschmidt wrote: > What about printing "No PCI ROM detected" ? I like having that info when > getting user reports, but I agree that a less worrying message would > be good. Ok, how about this then? It changes the printks in both drivers to KERN

Re: -rc3 leaking NOT BIO [Was: Memory leak in 2.6.11-rc1?]

2005-02-16 Thread Andrew Morton
Parag Warudkar <[EMAIL PROTECTED]> wrote: > > On Wednesday 16 February 2005 12:12 am, Andrew Morton wrote: > > Plenty of moisture there. > > > > Could you please use this patch?  Make sure that you enable > > CONFIG_FRAME_POINTER (might not be needed for __builtin_return_address(0), > > but let's b

Re: -rc3 leaking NOT BIO [Was: Memory leak in 2.6.11-rc1?]

2005-02-16 Thread Andrew Morton
Parag Warudkar <[EMAIL PROTECTED]> wrote: > > On Wednesday 16 February 2005 12:12 am, Andrew Morton wrote: > > echo "size-4096 0 0 0" > /proc/slabinfo > > Is there a reason X86_64 doesnt have CONFIG_FRAME_POINTER anywhere in > the .config? No good reason, I suspect. > I tried -rc4 with Manfred'

Re: [BK] upgrade will be needed

2005-02-16 Thread Pavel Machek
On Po 14-02-05 08:00:27, Larry McVoy wrote: > On Mon, Feb 14, 2005 at 10:03:45AM -0500, Steven Rostedt wrote: > > Can you see Ford Motors telling > > someone that you can't go work for GM if you drive a Ford? > > You paid for the Ford. Suppose Ford offered to give you the car but > said if you ta

[PATCH] fs/cifs/cifssmb.c: fix endianness warnings

2005-02-16 Thread Alexey Dobriyan
fs/cifs/cifssmb.c: fix endianness warnings brought by __le'ifying posix_acl_xattr_entry. Patch for posix_acl_xattr_entry is at: http://marc.theaimsgroup.com/?l=linux-kernel&m=110858530106333&q=raw Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> Index: linux-warnings/fs/cifs/cifssmb.c

Re: possible leak in kernel 2.6.10-ac12

2005-02-16 Thread Parag Warudkar
On Wednesday 16 February 2005 06:28 pm, Pedro Venda wrote: > Having upgraded most of them to 2.6.10-ac12, one of them showed a linear > growth of used memory over the last 7 days, after the first 2.6.10-ac12 > boot. It came to a point that it started swapping and the swap usage too > started to gro

Re: -rc3 leaking NOT BIO [Was: Memory leak in 2.6.11-rc1?]

2005-02-16 Thread Parag Warudkar
On Wednesday 16 February 2005 12:12 am, Andrew Morton wrote: > Plenty of moisture there. > > Could you please use this patch?  Make sure that you enable > CONFIG_FRAME_POINTER (might not be needed for __builtin_return_address(0), > but let's be sure).  Also enable CONFIG_DEBUG_SLAB. Will try that

possible leak in kernel 2.6.10-ac12

2005-02-16 Thread Pedro Venda
hi everyone, I maintain a couple of linux servers in an academic environment. Having upgraded most of them to 2.6.10-ac12, one of them showed a linear growth of used memory over the last 7 days, after the first 2.6.10-ac12 boot. It came to a point that it started swapping and the swap usage too st

Re: Call for help: list of machines with working S3

2005-02-16 Thread Pavel Machek
Hi! > does anyone have some experiences with intel i855 video card and S3? > > For me the binary driver from Intel works with S3 but only X server is > restored > not the text console. > > With open source driver nothing is restored. I try to use s3_bios or s3_mode, > nothing helps. Using vbe

Re: 2.6.11-rc4: oops in swsusp

2005-02-16 Thread Pavel Machek
Hi! > i saw the following oops when trying to swsusp (echo disk > > /sys/power/state) my thinkpad r40. everything worked fine, except for > this debug message: > Stopping tasks: > =

Re: [ACPI] Re: [PATCH, new ACPI driver] new sony_acpi driver

2005-02-16 Thread Pavel Machek
Hi! > > > Related to that, I have a nastyish hack which lets the sonypi driver > > > generate ACPI events whenever a hotkey is pressed. Despite not strictly > > > being ACPI events, this makes it much easier to integrate sonypi stuff > > > with general ACPI support. I'll send it if you're interest

dup_mmap() questions

2005-02-16 Thread Menyhart, Zoltan
We lock the semaphore of the old "mm" for write. Usually we do this when the corresponding VMA list is being modified. Does "dup_mmap()" modify the old VMA list ? Or would a "down_read(&oldmm->mmap_sem)" be enough ? Should not we lock for write the semaphore of the new "mm" ? It is on the "mmlist",

upcall via DNOTIFY against /proc files

2005-02-16 Thread Steve French
Is there any argument against using the DNOTIFY/poll upcall approach (against pseudo files e.g. in /proc or /sysfs) that e.g. nfs uses now to get from kernel space to get data back from user space helper routines (e.g. for idmapping and gssapi)? Since there could be security and potential deni

Fwd: dm perf scales poorly with 2.6.x kernel

2005-02-16 Thread Mike Snitzer
figured I'd open this up to a wider audience in that I've not gotten a reply on dm-devel. -- Forwarded message -- From: Mike Snitzer <[EMAIL PROTECTED]> Date: Tue, 15 Feb 2005 21:08:00 -0700 Subject: dm perf scales poorly with 2.6.x kernel To: [EMAIL PROTECTED] I have seen a _ser

Re: queue_work from interrupt Real time preemption2.6.11-rc2-RT-V0.7.37-03

2005-02-16 Thread Mark Gross
On Wednesday 16 February 2005 09:59, George Anzinger wrote: > David S. Miller wrote: > > On Wed, 16 Feb 2005 06:16:45 +0100 > > > > Ingo Molnar <[EMAIL PROTECTED]> wrote: > >>Maybe the networking > >>stack would break if we allowed the TIMER softirq (thread) to preempt > >>the NET softirq (threads)

Re: 2.6.10 : kernel BUG at mm/rmap.c:483!

2005-02-16 Thread Erik de Castro Lopo
On Wed, 16 Feb 2005 08:07:11 + (GMT) Hugh Dickins <[EMAIL PROTECTED]> wrote: > Yes, I believe /dev/mem handling on 2.4 and 2.6 is much the same, > but the rmap.c BUG you're hitting in 2.6 had no equivalent in 2.4 - > maybe the 2.4 case has actually been unsafe too, or maybe not. OK, that make

[BK PATCH] USB fixes for 2.6.11-rc4

2005-02-16 Thread Greg KH
Hi, Here are a three USB bugfixes for 2.6.11-rc4. All of them have been promised to fix problems and not cause new ones :) Please pull from: bk://kernel.bkbits.net/gregkh/linux/fix-2.6 Patches will be posted to linux-usb-devel as a follow-up thread for those who want to see them. thank

Re: Oops in 2.6.10-ac12 in kjournald (journal_commit_transaction)

2005-02-16 Thread Andrew Morton
Dale Blount <[EMAIL PROTECTED]> wrote: > > This looks very similar (at least to me) to an OOPS I posted with 2.6.9 > on 12/03/2004. > http://marc.theaimsgroup.com/?l=linux-kernel&m=110210705504716&w=2 There have been a handful of reports - there's surely a race in there. Unfortunately I've yet to

Re: [PATCH] fix units/partition count in sd.c (2.4.x)

2005-02-16 Thread soohoon . lee
Conincidentally I've found the same problem but fixed it differently. Because nr_real is not real # of devices but max # of devices of a major #, it doesn't need to be changed on disk add/remove. 1223c1223 < sd_gendisks[i].nr_real = 0; --- > sd_gendisks[i].nr_real = SC

Re: Pty is losing bytes

2005-02-16 Thread Andrew Morton
Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > > On Wed, 16 Feb 2005, Roman Zippel wrote: > > > > Below is a new patch, which also fixes problems with very long lines. > > Ok, I agree with this one, but won't dare to apply it right now. Remind me > post-2.6.11, or - even better - see if one o

Re: [Problem] slow write to dvd-ram since 2.6.7-bk8

2005-02-16 Thread Droebbel
On Mi, 2005-02-16 at 22:55 +0100, Droebbel wrote: >Some new information: > >2.6.7 is ok, 2.6.7-mm2 is not ok, 2.6.7 with just the linus-patch from >mm2 is ok, 2.6.7 with linus.patch from mm3 isn't. >So I took some of the patches from the broken-out mm2 and tested them >seperately. > >The vmscan-don

Re: Customized 2.6.10 kernel on a Compact Flash

2005-02-16 Thread Rahul Karnik
> The GRUB detects the CF hard disk as > hda0 when we boot the embedded board and so in both the kernel parameter in > grub.conf as well as in the inittab file we have / (root) marked as > /dev/hda0. Grub and the kernel number things differently. In particular, grub numbers partitions starting at

Login on 2.6.x: can't reopen tty

2005-02-16 Thread bernd
Hi all, hope I'm not of topic here but had no response elsewhere... we observe a problem with login starting with kernel 2.6. Actually the problem still exists in 2.6.11-rc3-bk3-20050206171922-bigsmp which we loaded from SuSE. We never saw this problem before a

Re: Oops in 2.6.10-ac12 in kjournald (journal_commit_transaction)

2005-02-16 Thread Ralf Hildebrandt
* Dale Blount <[EMAIL PROTECTED]>: > This looks very similar (at least to me) to an OOPS I posted with 2.6.9 > on 12/03/2004. > http://marc.theaimsgroup.com/?l=linux-kernel&m=110210705504716&w=2 Could be. > My system is also a dual Xeon using SMP and Hyperthreading > (/proc/cpuinfo shows 4 cpus)

Re: RFC: [PATCH-2.6] Add helper function to lock multiple page cache pages.

2005-02-16 Thread Anton Altaparmakov
Hi Andrew, On Sun, 6 Feb 2005, Andrew Morton wrote: > Anton Altaparmakov <[EMAIL PROTECTED]> wrote: > > On Thu, 3 Feb 2005, Andrew Morton wrote: > > > I did a patch which switched loop to use the file_operations.read/write > > > about a year ago. Forget what happened to it. It always seemed the

Re: Kernel Driver Automation

2005-02-16 Thread Pete Zaitcev
On Wed, 16 Feb 2005 04:05:47 +0900, Chris White <[EMAIL PROTECTED]> wrote: > Ironically, if the network card driver is not working, there's no way to > google around for information on what modules to compile in for various > drivers. [...] I always google for the PCI IDs which lspci -n shows. >

Re: Oops in 2.6.10-ac12 in kjournald (journal_commit_transaction)

2005-02-16 Thread Dale Blount
On Wed, 2005-02-16 at 21:04 +0100, Ralf Hildebrandt wrote: > * Jan Kara <[EMAIL PROTECTED]>: > > > I guess the system is SMP... > > Indeed it is. Dual Xeon with SMP. > This looks very similar (at least to me) to an OOPS I posted with 2.6.9 on 12/03/2004. http://marc.theaimsgroup.com/?l=linux-

Re: [Problem] slow write to dvd-ram since 2.6.7-bk8

2005-02-16 Thread Droebbel
Some new information: 2.6.7 is ok, 2.6.7-mm2 is not ok, 2.6.7 with just the linus-patch from mm2 is ok, 2.6.7 with linus.patch from mm3 isn't. So I took some of the patches from the broken-out mm2 and tested them seperately. The vmscan-dont-reclaim-too-many-pages.patch led to the said reduction o

Re: Customized 2.6.10 kernel on a Compact Flash

2005-02-16 Thread Roland Dreier
govind> Thanks for all the pointers. We had taken the /sbin/init govind> from the existing Linux installation from where we had govind> created the customized image. We need to have a inittab govind> and we believe that we have set it correctly. The GRUB govind> detects the CF

Re: [rfc] keytables - the new keycode->keysym mapping

2005-02-16 Thread Andries Brouwer
On Wed, Feb 16, 2005 at 07:20:35PM +0100, Jirka Bohac wrote: > Now ... are there any more suggestions for any of the patches? For the time being I look only at the diacr for unicode part. The fragment below looks like a strange kludge. > - if (diacr) > - value = handle_diacr(vc,

Re: Customized 2.6.10 kernel on a Compact Flash

2005-02-16 Thread govind raj
Thanks for all the pointers. We had taken the /sbin/init from the existing Linux installation from where we had created the customized image. We need to have a inittab and we believe that we have set it correctly. The GRUB detects the CF hard disk as hda0 when we boot the embedded board and so i

RE: Customized 2.6.10 kernel on a Compact Flash

2005-02-16 Thread Atul Bhouraskar
> -Original Message- > From: [EMAIL PROTECTED] [mailto:linux-kernel- > [EMAIL PROTECTED] On Behalf Of linux-os > Sent: Thursday, 17 February 2005 08:25 > To: govind raj > Cc: Linux kernel > Subject: Re: Customized 2.6.10 kernel on a Compact Flash > > On Thu, 17 Feb 2005, govind raj wrote

  1   2   3   >