Problem with SMP and NCCH-DL motherboard

2005-07-26 Thread Pedro Pla
Hello, I'm running a system with an Asus NCCH-DL motherboard with dual Nocona Xeon 3.2 GHZ cpu's, when I boot the system with a single cpu kernel with acpi not compiled in it works fine, however when I try to boot a kernel with smp it gives a timeout detecting the cpus and then the machine reboots

[RFC][2.6.13-rc3-mm1] IRQ compression/sharing patch

2005-07-26 Thread James Cleverdon
Here's a patch that builds on Natalie Protasevich's IRQ compression patch and tries to work for MPS boots as well as ACPI. It is meant for a 4-node IBM x460 NUMA box, which was dying because it had interrupt pins with GSI numbers > NR_IRQS and thus overflowed irq_desc. The problem is that this

Re: [PATCH] add NULL short circuit to fb_dealloc_cmap()

2005-07-26 Thread Geert Uytterhoeven
On Sun, 17 Jul 2005, Jon Smirl wrote: > On 7/17/05, Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > > > > > > struct fb_super_cmap { > > >struct fb_cmap cmap; > > >__u16 red[255]; > > >__u16 blue[255]; > > >__u16 green[255]; > > >__u16 transp[255]; > > ^^^ > >

[patch] ucb1x00: driver model fixes

2005-07-26 Thread Pavel Machek
This fixes u32 vs. pm_message_t confusion and uses cleaner try_to_freeze() [fixing compilation as a side-effect on newer kernels.] Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> --- linux-rmk.clean//drivers/misc/mcp.h 2005-07-26 09:15:05.0 +0200 +++ linux-rmk/drivers/misc/mcp.h20

Re: [PATCH] kill bio->bi_set

2005-07-26 Thread Jens Axboe
On Tue, Jul 26 2005, Peter Osterlund wrote: > Jens Axboe <[EMAIL PROTECTED]> writes: > > > On Sat, Jul 23 2005, Peter Osterlund wrote: > > > Jens Axboe <[EMAIL PROTECTED]> writes: > > > > > > > Dunno why I didn't notice before, but ->bi_set is totally unnecessary > > > > bloat of struct bio. Just

[RFC] fix compilation in mcp-core.c

2005-07-26 Thread Pavel Machek
Hi! I had to do this to get mcp-core to compile, but it feels wrong. Where do I get device_unregister_wait? Pavel diff --git a/drivers/misc/mcp-core.c b/drivers/misc/mcp-core.c --- a/drivers/misc/mcp-core.c +++ b/drivers/misc/mcp-co

Re: "seeing minute plus hangs during boot" - 2.6.12 and 2.6.13

2005-07-26 Thread Andrew Morton
"Francisco Figueiredo Jr." <[EMAIL PROTECTED]> wrote: > > Indeed udev update solved my problem with "preparing system to use udev" > hang. It now works like a charm. I had 030 version too. > > Only the "mounting filesystem" hangs persists :( Please use ALT-SYSRQ-T to generate an all-task backtr

[patch] ucb1x00: touchscreen cleanups

2005-07-26 Thread Pavel Machek
These are small ucb1x00-ts cleanups, as suggested by Vojtech, Dmitri and the lists. Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> Cleanups suggested by Dmitri, Vojtech and lists. --- commit 79c98a2279c45098d102ba69ecf940c00da3dfee tree f15a3d27de9a84694f4588374a5e383938866a54 parent 080578bff8

Re: [patch] ucb1x00: touchscreen cleanups

2005-07-26 Thread Mark Underwood
Hi Pavel, I am in the process of porting Linux 2.6.11.5 to the Helio PDA (MIPS R3912 based) and if I remember correctly it is using a UCB1x00 (or Toshiba clone). Please could you make sure your patches will work across arch. Now I have my kernel up and running (well mainly falling :-() my next tas

Re: [patch] ucb1x00: touchscreen cleanups

2005-07-26 Thread Pavel Machek
Hi! > I am in the process of porting Linux 2.6.11.5 to the > Helio PDA (MIPS R3912 based) and if I remember > correctly it is using a UCB1x00 (or Toshiba clone). > Please could you make sure your patches will work > across arch. Now I have my kernel up and running (well > mainly falling :-() my ne

[patch 0/6] remove PageReserved

2005-07-26 Thread Nick Piggin
Hi Andrew, If you're feeling like -mm is getting too stable, then you might consider giving these patches a spin? (unless anyone else raises an objection). Ben thought I should get moving with them soon. Not much change from last time. A bit of ppc64 input from Ben, and some rmap.c input from H

PROBLEM: UHCI_HCD misses SETUP_TD (First != element) after firmware upload

2005-07-26 Thread Giedrius Liubavičius
Hi there, I've got to setup D-Link DSL200i Kernel: 2.6.11.12 Slackware 10.1.0 Aditional software user: eagle-usb.org or atm.eagle-usb.org Problem: on my own computer, everything works fine (USB HUB 2.0, Intel chipset, UHCI) On this one - only when on high load I tried to play

[patch 1/6] mm: comment rmap

2005-07-26 Thread Nick Piggin
1/6 Just be clear that VM_RESERVED pages here are a bug, and the test is not there because they are expected. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/mm/rmap.c === --- linux-2.6.orig/mm/rmap.c +++ linux-2.6/

[patch 2/6] mm: micro-optimise rmap

2005-07-26 Thread Nick Piggin
2/6 Microoptimise page_add_anon_rmap. Although these expressions are used only in the taken branch of the if() statement, the compiler can't reorder them inside because atomic_inc_and_test is a barrier. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/mm/rmap.c ==

[patch 4/6] mm: remove atomic

2005-07-26 Thread Nick Piggin
4/6 OK, these first 4 patches don't have much to do with removing PageReserved, but I put them in this series because that's how I have them arranged. This bitop does not need to be atomic because it is performed when there will be no references to the page (ie. the page is being freed). Signed

[patch 5/6] mm: remap ZERO_PAGE mappings

2005-07-26 Thread Nick Piggin
5/6 Remap ZERO_PAGE ptes when remapping memory. This is currently just an optimisation for MIPS, which is the only architecture with multiple zero pages - it now retains the mapping it needs for good cache performance, and as well do_wp_page is now able to always correctly detect and optimise zer

[patch 3/6] mm: cleanup rmap

2005-07-26 Thread Nick Piggin
3/6 Thanks to Bill Irwin for pointing this out. Signed-off-by: Nick Piggin <[EMAIL PROTECTED]> Index: linux-2.6/mm/rmap.c === --- linux-2.6.orig/mm/rmap.c +++ linux-2.6/mm/rmap.c @@ -448,16 +448,12 @@ void page_add_anon_rmap(struct

Re: [patch 0/6] remove PageReserved

2005-07-26 Thread Nick Piggin
Nick Piggin wrote: Hi Andrew, If you're feeling like -mm is getting too stable, then you might consider giving these patches a spin? (unless anyone else raises an objection). Patches are against 2.6.13-rc3-git7 -- SUSE Labs, Novell Inc. Send instant messages to your online friends http://au

Re: 2.6.13-rc3 udev/hotplug use memory after free

2005-07-26 Thread Keith Owens
On Mon, 25 Jul 2005 15:01:19 -0700, Andrew Morton <[EMAIL PROTECTED]> wrote: >Keith Owens <[EMAIL PROTECTED]> wrote: >> >> 2.6.13-rc3 + kdb (which does not touch udev/hotplug) on IA64 (Altix). >> gcc version 3.3.3 (SuSE Linux). Compiled with DEBUG_SLAB, >> DEBUG_PREEMPT, DEBUG_SPINLOCK, DEBUG_S

[patch 6/6] mm: core remove PageReserved

2005-07-26 Thread Nick Piggin
6/6 Remove PageReserved() calls from core code by tightening VM_RESERVED handling in mm/ to cover PageReserved functionality. PageReserved special casing is removed from get_page and put_page. All setting and clearning of PageReserved is retained, and it is now flagged in the page_alloc checks

Re: xor as a lazy comparison

2005-07-26 Thread Bernd Petrovitsch
On Tue, 2005-07-26 at 08:07 +0200, Jan Engelhardt wrote: [...] > To answer for x *= 2 vs x <<= 1: and x += x > Use * when you would logically want to do a multiplication, > << if you're working on a bitfield. It's just for keeping the code clean > enough so that others may understand it. > > In

Re: Netlink connector

2005-07-26 Thread Harald Welte
On Mon, Jul 25, 2005 at 02:02:10AM -0400, James Morris wrote: > On Sun, 24 Jul 2005, David S. Miller wrote: > >From: Evgeniy Polyakov <[EMAIL PROTECTED]> > >Date: Sat, 23 Jul 2005 13:14:55 +0400 > >>Andrew has no objection against connector and it lives in -mm > >A patch sitting in -mm has zero sig

[patch 6/6] mm: core remove PageReserved (take 2)

2005-07-26 Thread Nick Piggin
Nick Piggin wrote: 6/6 Actually I think Hugh gave me some feedback about the introduced `print_invalid_pfn` function, which I ignored. So here is patch 6 again, with print_invalid_pfn renamed invalid_pfn, and using a macro to alleviate the requirement of passing in the function name by hand.

Re: Netlink connector

2005-07-26 Thread Evgeniy Polyakov
On Tue, Jul 26, 2005 at 04:42:14AM -0400, Harald Welte ([EMAIL PROTECTED]) wrote: > On Mon, Jul 25, 2005 at 02:02:10AM -0400, James Morris wrote: > > On Sun, 24 Jul 2005, David S. Miller wrote: > > >From: Evgeniy Polyakov <[EMAIL PROTECTED]> > > >Date: Sat, 23 Jul 2005 13:14:55 +0400 > > >>Andrew

serial driver help

2005-07-26 Thread Rahul Tank
hello all, i am a newbee trying to write a device driver for a serial port. i read the /driver/char/serial.c and have got the idea of how the gs_write works. however i am unable to understand how to read or write to a serial port. any pointers, plz help thanks in advance.

[PATCH -mm/-rc] fix xip sparse file handling in ext2

2005-07-26 Thread Carsten Otte
[PATCH -mm/-rc] fix xip sparse file handling in ext2 Oliver Paukstadt from our test department is testing the xip patches in Linus' git-tree. He found a problem that shows when reading a file that contains sparse blocks (holes) on a -o xip mounted ext2 filesystem: the BUG_ON() in fs/ext2/xip.c:40 t

PSX Gamepad Support

2005-07-26 Thread Christoph Litters
Hello, I have an adapter usb to psx i have tried it with 2.6.9 and it works perfectly with the kernel driver. with 2.6.12 i cant get it to work and with 2.6.13-rc3 i havent seen any option to enable it. could anybody help me? Greets and thanks c. litters - To unsubscribe from this list: sen

Re: kernel optimization

2005-07-26 Thread Adrian Bunk
On Tue, Jul 26, 2005 at 08:22:59AM +0300, Al Boldi wrote: > Dr. Horst H. von Brand wrote: { > Al Boldi <[EMAIL PROTECTED]> wrote: > > Adrian Bunk wrote: { > > On Fri, Jul 22, 2005 at 07:55:48PM +0100, christos gentsis wrote: > > > i would like to ask if it possible to change the optimization of th

Re: Netlink connector

2005-07-26 Thread Harald Welte
On Mon, Jul 25, 2005 at 11:33:51PM +0400, Evgeniy Polyakov wrote: > Netlink is transport protocol - no need to add complexity into it, > it must be as simple as possible and thus extensible. yes. but when you run into a serious addressing shortage (like the internet does with ipv4), you develop

Re: 2.6.13-rc3 test: finding compile errors with make randconfig

2005-07-26 Thread Adrian Bunk
On Tue, Jul 26, 2005 at 11:26:33AM +1000, Grant Coady wrote: > On Sun, 24 Jul 2005 23:27:22 +0200, Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > >You should edit init/Kconfig to disallow CONFIG_CLEAN_COMPILE=n, since > >any errors you see with CONFIG_BROKEN=y aren't interesting. > > Straight over

Re: Linux tty layer hackery: Heads up and RFC

2005-07-26 Thread Mark Underwood
Hi Rogier, Having just written a DMA UART driver I can say this is good news :-). Here are some things to think about: What my driver would like to do is to handle its own input buffers. It would pass the buffer to the tty layer when it is full and the tty layer would pass the buffer back once it

Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop.

2005-07-26 Thread Stefan Seyfried
Puneet Vyas wrote: > ide : failed opcode was : unknown > hdc : status error: status 0x00 { } This is _not_ an USB cd writer but an IDE drive. You may not just pull it out. -- Stefan Seyfried \ "I didn't want to write for pay. I QA / R&D Team Mobile Devices \ wanted to be pa

[INPUT] simple question on driver initialisation.

2005-07-26 Thread moreau francis
Hi, I'm currently developping a very simple driver for a pinpad by using Input module. I'm using Event handler to pass events from pinpad to userland. In this simple case, I'm wondering if I really need to initialise "phys" field in in "input_dev" struct before calling "input_register_device". Wha

Re: [PATCH] 2.6.13rc3: RLIMIT_RTPRIO broken

2005-07-26 Thread Ingo Molnar
* Andreas Steinmetz <[EMAIL PROTECTED]> wrote: > RLIMIT_RTPRIO is supposed to grant non privileged users the right to > use SCHED_FIFO/SCHED_RR scheduling policies with priorites bounded by > the RLIMIT_RTPRIO value via sched_setscheduler(). This is usually used > by audio users. > > Unfortun

Re: BUG: Yamaha OPL3SA2 does not work with ALSA on 2.6 kernels.

2005-07-26 Thread Andrew Haninger
On 7/26/05, Jaroslav Kysela <[EMAIL PROTECTED]> wrote: > We have already two similar reports #440 and #879. Please, provide us > all info (working manual conf etc.).. Yes. #879 is the one that mentions that this might be a kernel bug (so I reported it here): "I suspect this is kernel bug and it co

Re: BUG: Yamaha OPL3SA2 does not work with ALSA on 2.6 kernels.

2005-07-26 Thread Andrew Haninger
On 7/26/05, Andrew Haninger <[EMAIL PROTECTED]> wrote: > I'll report what I know in bug #879. *Durr* I didn't scroll down. I've already reported my current semi-working (works+oopses) setup in that bug report I'm reporting this here now because of the part of that bug report that suggests that it

Re: Linux tty layer hackery: Heads up and RFC

2005-07-26 Thread Alan Cox
On Maw, 2005-07-26 at 10:55 +0100, Mark Underwood wrote: > What my driver would like to do is to handle its own > input buffers. It would pass the buffer to the tty > layer when it is full and the tty layer would pass the In theory you can do that already, although the locking is a bit screwed up

Re: [SOLVED ?] VIA KT400 + Kernel 2.6.12 + IO-APIC + ehci_hcd = IRQ trouble

2005-07-26 Thread Michel Bouissou
Le Mardi 26 Juillet 2005 04:13, Protasevich, Natalie a écrit : > > > Le Lundi 25 Juillet 2005 22:44, Alan Stern a écrit : > > > > Natalie, that's all I can think of. Now it's up to you to > > invent a patch Michel can try out, to show just where the > > IO-APIC code is going wrong. > > I will sure

Re: [PATCH] 2.6.13-rc3-git5: fix Bug #4416 (2/2)

2005-07-26 Thread Rafael J. Wysocki
The following patch adds basic suspend/resume support to the sk98lin network driver. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- linux-2.6.13-rc3-git5/drivers/net/sk98lin/skge.c2005-07-23 19:26:29.0 +0200 +++ patched/drivers/net/sk98lin/skge.c 2005-07-25 18:17:57.00

[PATCH] 2.6.13-rc3-git5: fix Bug #4416 (0/2)

2005-07-26 Thread Rafael J. Wysocki
Hi, The following two patches are necessary to prevent my box (Asus L5D) from hanging solid during resume from disk. The problem is that, apparently, some out-of-order interrupts may be generated during resume and if some drivers do not call free_irq() on suspend, these interrupts are mishandled.

Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread Vojtech Pavlik
On Tue, Jul 26, 2005 at 12:23:40PM +0200, moreau francis wrote: > I'm currently developping a very simple driver for a pinpad by using > Input module. I'm using Event handler to pass events from pinpad to userland. > In this simple case, I'm wondering if I really need to initialise > "phys" field

[PATCH] 2.6.13-rc3-git5: fix Bug #4416 (1/2)

2005-07-26 Thread Rafael J. Wysocki
The following patch adds free_irq() and request_irq() to the suspend and resume, respectively, routines in the snd_intel8x0 driver. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- linux-2.6.13-rc3-git5/sound/pci/intel8x0.c 2005-07-23 19:26:43.0 +0200 +++ patched/sound/pci/intel

As of 2.6.13-rc1 Fusion-MPT very slow

2005-07-26 Thread Holger Kiehl
Hello On a four CPU Opteron with Fusion-MPT compiled in, I get the following results (up to 2.6.13-rc3-git7) with hdparm on the first channel with four disks: sdc74 MB/s sdd 2 MB/s sde 2 MB/s sdf 2 MB/s On the second channel also with

Re: [IBM] RE: [BUG] Fusion MPT Base Driver initialization failure wit h kdum p

2005-07-26 Thread Vivek Goyal
On Mon, Jul 25, 2005 at 03:10:33PM -0700, Andrew Morton wrote: > Vivek Goyal <[EMAIL PROTECTED]> wrote: > > > > > If you don't stop the DMA engines before you boot the new kernel, the > > > addresses they have to send data to will now be random points in that > > > kernel's memory, leading to pot

Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop.

2005-07-26 Thread Denis Vlasenko
On Tuesday 26 July 2005 13:15, Stefan Seyfried wrote: > Puneet Vyas wrote: > > > ide : failed opcode was : unknown > > hdc : status error: status 0x00 { } > > This is _not_ an USB cd writer but an IDE drive. > You may not just pull it out. Interesting how he's connecting floppy to IDE ;] -- vda

Re: PROBLEM:Machine hangs on pulling out USB cd writer on laptop.

2005-07-26 Thread Stefan Seyfried
Denis Vlasenko wrote: > On Tuesday 26 July 2005 13:15, Stefan Seyfried wrote: >> This is _not_ an USB cd writer but an IDE drive. >> You may not just pull it out. > > Interesting how he's connecting floppy to IDE ;] The connector probably has IDE and USB, the floppy is using the USB part, the CDR

Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread moreau francis
hello, --- Vojtech Pavlik <[EMAIL PROTECTED]> a écrit : > > What is this field for ? > > It is intended for identifying the device based on "location" in the > system. > hmm, sorry but I don't understand you. I initialised this field with "pinpad/input0" but the only place I can grep or find

Re: [PATCH] 2.6.13rc3: RLIMIT_RTPRIO broken

2005-07-26 Thread Paolo Ciarrocchi
2005/7/26, Ingo Molnar <[EMAIL PROTECTED]>: [...] > [back from KS/OLS] > > indeed. The effect of the bug is that RLIMIT_RTPRIO is completely > non-functional in 2.6.12. > > Acked-by: Ingo Molnar <[EMAIL PROTECTED]> Ingo, Lee, Andreas, the patch seems to be quite simple and is a fix for a regress

Re: 2.6.12 PREEMPT_RT && PPC

2005-07-26 Thread Ingo Molnar
* john cooper <[EMAIL PROTECTED]> wrote: > Ingo, > Attached is a patch for 51-28 which brings PPC up to date for > 2.6.12 PREEMPT_RT. My goal was to get a more recent vintage of this > work building and minimally booting for PPC. Yet this has been stable > even under our internal stress

Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread Vojtech Pavlik
On Tue, Jul 26, 2005 at 01:47:05PM +0200, moreau francis wrote: > hello, > > --- Vojtech Pavlik <[EMAIL PROTECTED]> a écrit : > > > > What is this field for ? > > > > It is intended for identifying the device based on "location" in the > > system. > > > > hmm, sorry but I don't understand you

Re: [PATCH] 2.6.13rc3: RLIMIT_RTPRIO broken

2005-07-26 Thread Ingo Molnar
* Paolo Ciarrocchi <[EMAIL PROTECTED]> wrote: > 2005/7/26, Ingo Molnar <[EMAIL PROTECTED]>: > [...] > > [back from KS/OLS] > > > > indeed. The effect of the bug is that RLIMIT_RTPRIO is completely > > non-functional in 2.6.12. > > > > Acked-by: Ingo Molnar <[EMAIL PROTECTED]> > > Ingo, Lee, An

Re: Obsolete files in 2.6 tree

2005-07-26 Thread Vojtech Pavlik
On Thu, Jul 21, 2005 at 11:47:32AM +0200, Jiri Slaby wrote: > Jiri Slaby napsal(a): > > >Are these files obsolete and could be deleted from tree. > >Does anybody use them? Could anybody compile them? > > New list should be: > drivers/char/drm/gamma_dma.c > drivers/char/drm/gamma_drv.c > drivers/

Re: [ACPI] Re: [PATCH] 2.6.13-rc3-git5: fix Bug #4416 (2/2)

2005-07-26 Thread Carl-Daniel Hailfinger
Rafael J. Wysocki schrieb: > The following patch adds basic suspend/resume support to the sk98lin > network driver. [snipped] The current in-kernel sk98lin driver is years behind the version downloadable from Syskonnect. Maybe it would make sense to update it first before applying any new patches.

Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread moreau francis
Thanks Vojtech for your answers ! --- Vojtech Pavlik <[EMAIL PROTECTED]> a écrit : > It's also available via an ioctl() and in sysfs. This allows you to > specify in an application that you want a device plugged into a specific > port of the machine. Not many applications can use it at the moment

Re: Linux tty layer hackery: Heads up and RFC

2005-07-26 Thread Mark Underwood
Hi Alan, Thanks for your help, I might give this ago once I've fixed some flow control problems in my driver. On a loosely related topic I have extended serial_core.c to handle DMA UARTS (only the TX path is effected). Once I'm happy with my changes I post a patch. Best Regards, Mark --- Alan

Re: [PATCH repost] PROT_DONTCOPY: ifiniband uverbs fork support

2005-07-26 Thread Hugh Dickins
On Mon, 25 Jul 2005, Michael S. Tsirkin wrote: > > This patch adds PROT_DONTCOPY to mmap and mprotect, to set VM_DONTCOPY on vma. > This is needed for infiniband userspace i/o, where we need to protect against > - the child process accessing the parent hardware page > - the parent registered a

Re: [PATCH] 1 Wire drivers illegally overload NETLINK_NFLOG

2005-07-26 Thread Harald Welte
On Sun, Jul 24, 2005 at 07:15:05PM -0700, David S. Miller wrote: > > I strongly disrecommend increasing NPROTO. Maybe we should look into > > reusing NETLINK_FIREWALL (which was an old 2.2.x kernel interface). > > ip_queue.c still uses NETLINK_FIREWALL so we really can't use > that. sorry, I d

[no subject]

2005-07-26 Thread robertk
Hi, I am currently using Slackware 10.1 with 2.4.29 kernel and encountered following problem: I use Sagem Fast 800 ADSL modem of my provider and use my linux station as a router (iptables+masquerade). The problem is that after a few hours of working my linux crashes with the message: " serwer

Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread Vojtech Pavlik
On Tue, Jul 26, 2005 at 02:26:02PM +0200, moreau francis wrote: > Thanks Vojtech for your answers ! > > --- Vojtech Pavlik <[EMAIL PROTECTED]> a écrit : > > > It's also available via an ioctl() and in sysfs. This allows you to > > specify in an application that you want a device plugged into a sp

Re: [patch 0/6] remove PageReserved

2005-07-26 Thread Kumar Gala
On Jul 26, 2005, at 3:15 AM, Nick Piggin wrote: Hi Andrew, If you're feeling like -mm is getting too stable, then you might consider giving these patches a spin? (unless anyone else raises an objection). Ben thought I should get moving with them soon. Not much change from last time. A bit of

Re: elvtune with 2.6 kernels (under FC3)

2005-07-26 Thread Bill Davidsen
Gaspar Bakos wrote: Hi, I am cc-ing this to the kernel list, a i have the suspicion that it may be a kernel related feature. -- I noticed that elvtune does not work on FC3 with a 2.6.12.3 (self-compiled, pristine) kernel. I also tried it with other 2.6.* kernels. elvtune /dev/sde i

[PATCH linux-2.6-block:master] overview of soon-to-be-posted patches

2005-07-26 Thread Tejun Heo
Hello, Jens. I hope you had fun on your vacation and at OLS. I'm posting 18 welcome-back patches today. :-p This mail is to show the overview of the patches. All patches are against master head of linux-2.6-block tree. patch #1: fix-elevator_find. remove try_module_get race in

Re: 2.6.13-rc3 Battery times at 100/250/1000 Hz = Zero difference

2005-07-26 Thread Vojtech Pavlik
On Thu, Jul 21, 2005 at 08:04:48PM +0200, Voluspa wrote: > > I'd gladly (ehum..) redo this mind-numbingly boring test if someone can > point me to a magic software which unleashes some untapped powersaving > feature of the CPU. > > _Kernel 2.6.13-rc3 Boot to Death_: > > 2h48m at 100 HZ > 2h48m a

Re: ACPI oddity

2005-07-26 Thread Bill Davidsen
Brown, Len wrote: On a HT system, why does ACPI recognize CPU0 and CPU1, refer to them as such in dmesg This is the Linux CPU number. ie the namespace where 0 is the boot processor and the others are numbered in the order that they were started. and then call them CPU1 and CPU2 in /proc/acp

[PATCH linux-2.6-block:master] block: fix try_module_get race in elevator_find

2005-07-26 Thread Tejun Heo
Hello, Jens. This patch removes try_module_get race in elevator_find. try_module_get should always be called with the spinlock protecting what the module init/cleanup routines register/unregister to held. In the case of elevators, we should be holding elv_list to avoid it going away between spi

[PATCH linux-2.6-block:master] block: fix cfq_find_next_crq

2005-07-26 Thread Tejun Heo
Hi, In cfq_find_next_crq(), when determining rbnext, if rb_next(&last->rb_node) is NULL, rb_first() is used without checking if it equals last. If it equals last, rbnext should be NULL not last. This bug is masked by duplicate calls to cfq_find_next_crq which ends up clearing cfqq->next_crq as,

Re: [PATCH repost] PROT_DONTCOPY: ifiniband uverbs fork support

2005-07-26 Thread Michael S. Tsirkin
Hi, Hugh! Thanks for the comments. Quoting Hugh Dickins <[EMAIL PROTECTED]>: > Subject: Re: [PATCH repost] PROT_DONTCOPY: ifiniband uverbs fork support > > On Mon, 25 Jul 2005, Michael S. Tsirkin wrote: > > > > This patch adds PROT_DONTCOPY to mmap and mprotect, to set VM_DONTCOPY on > > vma. >

[PATCH linux-2.6-block:master 00/05] blk: generic dispatch queue

2005-07-26 Thread Tejun Heo
Hello, Jens. This patchset implements generic dispatch queue. The patches are against the master head of linux-2.6-block tree. Changes from the first posting of this patchset are... * elevator_activate_req_fn is now called when the driver first sees the request (the first elv_next_reques

Re: [PATCH linux-2.6-block:master 01/05] blk: implement generic dispatch queue

2005-07-26 Thread Tejun Heo
01_blk_implement-generic-dispatch-queue.patch Implements generic dispatch queue which can replace all dispatch queues implemented by each iosched. This reduces code duplication, eases enforcing semantics over dispatch queue, and simplifies specific ioscheds. Signe

Re: [PATCH linux-2.6-block:master 04/05] blk: remove last_merge handling from ioscheds

2005-07-26 Thread Tejun Heo
04_blk_generic-last_merge-handling-update-for-ioscheds.patch Remove last_merge handling from all ioscheds. This patch removes merging capability of noop iosched. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> as-iosched.c | 35 --- cfq-iosc

Re: [PATCH linux-2.6-block:master 03/05] blk: move last_merge handling into generic elevator code

2005-07-26 Thread Tejun Heo
03_blk_generic-last_merge-handling.patch Currently, both generic elevator code and specific ioscheds participate in the management and usage of last_merge. This and the following patches move last_merge handling into generic elevator code. Signed-off-by: Tejun Heo

Re: [PATCH linux-2.6-block:master 02/05] blk: update ioscheds to use generic dispatch queue

2005-07-26 Thread Tejun Heo
02_blk_generic-dispatch-queue-update-for-ioscheds.patch This patch updates all four ioscheds to use generic dispatch queue. There's one behavior change in as-iosched. * In as-iosched, when force dispatching (ELEVATOR_INSERT_BACK), batch_data_dir is reset to REQ_

Re: [PATCH linux-2.6-block:master 05/05] blk: update biodoc

2005-07-26 Thread Tejun Heo
05_blk_update-biodoc.patch Updates biodoc to reflect changes in elevator API. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> biodoc.txt | 113 - 1 files changed, 52 insertions(+), 61 deletions(-) Index: blk-fixes/Documentation/

Re: Fw: Oops in hidinput_hid_event

2005-07-26 Thread Sergey Vlasov
On Tue, 19 Jul 2005 09:30:58 -0400 Vojtech Pavlik wrote: > On Mon, Jul 18, 2005 at 02:16:37PM -0700, Pete Zaitcev wrote: > > > I think this patch is rather obvious, so maybe I should ask Andrew to > > apply it to -mm for now, to get some testing. Would that help to verify > > it for acceptance? >

[PATCH linux-2.6-block:master] reimplement elevator switch

2005-07-26 Thread Tejun Heo
Hello, Jens. This patch reimplements elevator switch. This patch assumes generic dispatch queue patchset is applied. * Each request is tagged with REQ_ELVPRIV flag if it has its elevator private data set. * Requests which doesn't have REQ_ELVPRIV flag set never enter iosched. They are

Re: Problem with Asus P4C800-DX and P4 -Northwood-

2005-07-26 Thread Bill Davidsen
Andreas Baer wrote: Bill Davidsen wrote: One other oddment about this motherboard, Forgive if I have over-snipped this trying to make it relevant... Andreas Baer wrote: Willy Tarreau wrote: On Mon, Jul 25, 2005 at 03:10:08PM +0200, Andreas Baer wrote: There clearly is a problem

Re: [PATCH] 2.6.13rc3: RLIMIT_RTPRIO broken

2005-07-26 Thread Lee Revell
On Tue, 2005-07-26 at 14:06 +0200, Ingo Molnar wrote: > i'd not put it into stable just yet - the fact that it has not been > tested in 2.6.12 _at all_ up until very recently means there's little > QA feedback. Yes, it's simple, but it also triggers something we never > did before. 2.6.13 ought to

Re: [PATCH] Re: itimer oddness in 2.6.12

2005-07-26 Thread George Anzinger
Andrew Morton wrote: George Anzinger wrote: + while (time_before_eq(p->signal->real_timer.expires, jiffies)) + p->signal->real_timer.expires += inc; It gives me the creeps when I see timer code doing this, and it seems to be done relatively frequently. Surely it can be

Re: 2.6.12 PREEMPT_RT && PPC

2005-07-26 Thread K.R. Foley
Ingo Molnar wrote: * john cooper <[EMAIL PROTECTED]> wrote: Ingo, Attached is a patch for 51-28 which brings PPC up to date for 2.6.12 PREEMPT_RT. My goal was to get a more recent vintage of this work building and minimally booting for PPC. Yet this has been stable even under our inter

Re: 2.6.13-rc3 Battery times at 100/250/1000 Hz = Zero difference

2005-07-26 Thread Bill Davidsen
Brown, Len wrote: Digging up this patch from last month regarding C2 on a AMD K7 implies that the whole blame can be put on kernel acpi: http://marc.theaimsgroup.com/?l=linux-kernel&m=111933745131301&w=2 The current Linus tree includes generic ACPI support for deep C-states on SMP machines

[2.6 patch] remove sound/oss/skeleton.c

2005-07-26 Thread Adrian Bunk
We do no longer need a template for OSS drivers. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- sound/oss/skeleton.c | 219 --- 1 files changed, 219 deletions(-) --- linux-2.6.13-rc3-mm1-full/sound/oss/skeleton.c 2005-06-17 21:48:29.0

[2.6 patch] include/linux/bio.h: "extern inline" -> "static inline"

2005-07-26 Thread Adrian Bunk
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/linux/bio.h |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) --- linux-2.6.13-rc3-mm1-full/include/linux/bio.h.old 2005-07-26 13:40:47.0 +0200 +++ linux-2.6.13-rc3-mm

Re: 2.6.13-rc3 Battery times at 100/250/1000 Hz = Zero difference

2005-07-26 Thread Voluspa
On Tue, 26 Jul 2005 15:14:39 +0200 Vojtech Pavlik wrote: > This almost looks like a regular Athlon 64, not even the mobile > version. I wouldn't expect very big deep sleep capabilities on that > one. You can check the > > /proc/acpi/processor/CPU1/power > > file for the list of C states. A

[2.6 patch] include/linux/dcookies.h: dummy functions must be "static inline"

2005-07-26 Thread Adrian Bunk
We don't want these to be global functions. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.13-rc3-mm1-full/include/linux/dcookies.h.old 2005-07-26 11:15:22.0 +0200 +++ linux-2.6.13-rc3-mm1-full/include/linux/dcookies.h 2005-07-26 11:15:38.0 +0200 @@ -48,12 +

Re: Kernel cached memory

2005-07-26 Thread Bill Davidsen
Robert Hancock wrote: John Pearson wrote: Wouldn't having (practically) all your memory used for cache slow down starting a new program? First it would have to free up that space, and then put stuff in that space, taking potentially twice as long. If the cache pages are clean (not been mod

[2.6 patch] "extern inline" -> "static inline"

2005-07-26 Thread Adrian Bunk
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/linux/reiserfs_fs.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) --- linux-2.6.13-rc3-mm1-full/include/linux/reiserfs_fs.h.old 2005-07-26 13:42:59.0 +0200 +++ linu

Re: 2.6.12 PREEMPT_RT && PPC

2005-07-26 Thread Ingo Molnar
* K.R. Foley <[EMAIL PROTECTED]> wrote: > > > On X86 -51-36 won't build with CONFIG_BLOCKER=Y without the attached > patch. thanks. I changed the include to asm/rtc.h, this should give what PPC wants to have, and should work on all architectures. Released the -37 patch. Ingo - To u

Re: [INPUT] simple question on driver initialisation.

2005-07-26 Thread moreau francis
--- Vojtech Pavlik <[EMAIL PROTECTED]> a écrit : > > > > I can't find "pinpad/input0" in sysfs, does that mean I need to add sysfs > > suppport in my driver, and it's not done in input module when I register > > my input driver ? > > I'm sorry, I thought it's already in mainline, but that bit i

Re: [PATCH] Remove Comtrol mail address from MAINTAINERS [next 1 address]

2005-07-26 Thread Linux Maillist
On 7/21/05, Rolf Eike Beer <[EMAIL PROTECTED]> wrote: > Am Donnerstag, 21. Juli 2005 01:43 schrieb Jiri Slaby: > >Rolf Eike Beer wrotes: > >>Send a patch, you know the addresses. > > > >kernel 2.6.13-rc3-git4 > > > >Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> > > > >--- a/MAINTAINERS 2005-07

Re: topology api confusion

2005-07-26 Thread Bill Davidsen
Matthew Dobson wrote: Nathan Lynch wrote: We need some clarity on how asm-generic/topology.h is intended to be used. I suspect that it's supposed to be unconditionally included at the end of the architecture's topology.h so that any elements which are undefined by the arch have sensible defaul

Re: [PATCH] fix (again) MAX_USER_RT_PRIO and MAX_RT_PRIO (was: MAX_USER_RT_PRIO and MAX_RT_PRIO are wrong!)

2005-07-26 Thread Dean Nelson
Steve, your change to XPC looks good. Thanks, Dean Signed-off-by: Dean Nelson <[EMAIL PROTECTED]> On Mon, Jul 25, 2005 at 04:28:39PM -0400, Steven Rostedt wrote: > Dean, > > I've CC you since it also has the change to > linux-2.6.13-rc3/arch/ia64/sn/kernel/xpc_main.c in it. But I don't see > th

Re: 2.6.12 PREEMPT_RT && PPC

2005-07-26 Thread K.R. Foley
Ingo Molnar wrote: * K.R. Foley <[EMAIL PROTECTED]> wrote: On X86 -51-36 won't build with CONFIG_BLOCKER=Y without the attached patch. thanks. I changed the include to asm/rtc.h, this should give what PPC wants to have, and should work on all architectures. Released the -37 patch.

[2.6 patch] include/asm-i386/: "extern inline" -> "static inline"

2005-07-26 Thread Adrian Bunk
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/asm-i386/div64.h |2 +- include/asm-i386/processor.h |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- linux-2.6.13-rc3-mm1-full/include/asm-i386/div64.h.old 2005-0

Re: RFT - gconfig fix

2005-07-26 Thread Joachim Nilsson
Sam Ravnborg wrote: > Joachim - any specific reason why you ifdeffed out usage of stock Gtk icons? Only to have a consistent look between xconfig and gconfig. A better way would perhaps be to use stock KDE and GNOME icons, but I never had the time to make a fix for xconfig so I made this compromi

[2.6 patch] schedule obsolete OSS drivers for removal

2005-07-26 Thread Adrian Bunk
This patch schedules obsolete OSS drivers (with ALSA drivers that support the same hardware) for removal. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- I've Cc'ed the people listed in MAINTAINERS as being responsible for one or more of these drivers, and I've also Cc'ed the ALSA people.

Re: [2.6 patch] schedule obsolete OSS drivers for removal

2005-07-26 Thread Jesper Juhl
On 7/26/05, Adrian Bunk <[EMAIL PROTECTED]> wrote: > This patch schedules obsolete OSS drivers (with ALSA drivers that > support the same hardware) for removal. > > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > --- > > I've Cc'ed the people listed in MAINTAINERS as being responsible for

Re: [2.6 patch] schedule obsolete OSS drivers for removal

2005-07-26 Thread Thomas Sailer
On Tue, 2005-07-26 at 17:08 +0200, Adrian Bunk wrote: > This patch schedules obsolete OSS drivers (with ALSA drivers that > support the same hardware) for removal. > > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Thomas Sailer <[EMAIL PROTECTED]> - To unsubscribe from this list:

Re: [PATCH linux-2.6-block:master 10/10] blk: I/O barrier documentation

2005-07-26 Thread Tejun Heo
10_blk_add-barrier-doc.patch I/O barrier documentation Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> barrier.txt | 271 biodoc.txt | 10 -- 2 files changed, 273 insertions(+), 8 deletions(-) Index: blk-fixes/Documentation/

Re: [PATCH linux-2.6-block:master 07/10] blk: add FUA support to libata

2005-07-26 Thread Jeff Garzik
Tejun Heo wrote: 07_blk_libata-add-fua-support.patch Add FUA support to libata. NAK -- doesn't appear to take into account that read/write(6) don't support FUA. Correct me if I'm wrong. Otherwise, looks OK. - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH linux-2.6-block:master 06/10] blk: update libata to use new blk_ordered

2005-07-26 Thread Jeff Garzik
Tejun Heo wrote: 06_blk_libata-update-ordered.patch Reflect changes in SCSI midlayer and updated to use new ordered request implementation ACK - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordom

  1   2   3   4   >