[PATCH]: Fix get_compat_sigevent()

2005-04-04 Thread David S. Miller
I have no idea how a bug like this lasted so long. Anyways, obvious memset()'ing of incorrect pointer. Please apply, thanks. Signed-off-by: David S. Miller <[EMAIL PROTECTED]> = kernel/compat.c 1.46 vs edited = --- 1.46/kernel/compat.c2005-03-13 15:29:47 -08:00 +++

Re: [PATCH 00/04] Load keyspan firmware with hotplug

2005-04-04 Thread Sven Luther
On Tue, Apr 05, 2005 at 12:23:29AM -0400, Jan Harkes wrote: > On Mon, Apr 04, 2005 at 12:17:46PM -0700, Greg KH wrote: > > On Mon, Apr 04, 2005 at 08:27:53PM +0200, Sven Luther wrote: > > > Mmm, probably that 2001 discussion about the keyspan firmware, right ? > > > > > >

Re: [PATCH 0/5] ppc RT: Realtime preempt support for PPC

2005-04-04 Thread Ingo Molnar
* Frank Rowand <[EMAIL PROTECTED]> wrote: > I looked at all the architectures and found that the disparity of the > type of the "lock" field in struct rwlock_t is even larger than I had > indicated in my earlier email. I am attaching a proof of concept > patch to handle this. If this looks

Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00

2005-04-04 Thread Ingo Molnar
* Esben Nielsen <[EMAIL PROTECTED]> wrote: > > Now the question is, who will fix it? Preferably the maintainers, but I > > don't know how much of a priority this is to them. I don't have the time > > now to look at this and understand enough about the code to be able to > > make a proper fix,

Re: Netlink Connector / CBUS

2005-04-04 Thread James Morris
On Tue, 5 Apr 2005, James Morris wrote: > A few questions: Also, please allow cn_add_callback() allow it to be passed a NULL callback function, so the caller doesn't pass in a dummy function and your code doesn't waste time dealing with something which isn't real. - James -- James Morris

Netlink Connector / CBUS

2005-04-04 Thread James Morris
Evgeniy, Please send networking patches to [EMAIL PROTECTED] Your connector code (under drivers/connector) is now in the -mm tree and as far as I can tell, has not received any review from the network developers. Looking at it briefly, it seems quite unfinished. I'm not entirely sure what

Re: Linux 2.6.12-rc2

2005-04-04 Thread Gene Heskett
On Monday 04 April 2005 17:32, Linus Torvalds wrote: >The diffstat output tells the story: this is a lot of very small > changes, ie tons of small cleanups and bug fixes. With a few new > drivers thrown in for good measure. > >This is also the point where I ask people to calm down, and not send >

Re: [PATCH 00/04] Load keyspan firmware with hotplug

2005-04-04 Thread Dmitry Torokhov
On Monday 04 April 2005 23:23, Jan Harkes wrote: > On Mon, Apr 04, 2005 at 12:17:46PM -0700, Greg KH wrote: > > On Mon, Apr 04, 2005 at 08:27:53PM +0200, Sven Luther wrote: > > > Mmm, probably that 2001 discussion about the keyspan firmware, right ? > > > > > >

RE: Isn't there race issue during fput() and the dentry_open()?

2005-04-04 Thread Tomita, Haruo
Hi Viro, Thank you for your help and advice. I made the following patches referring to your advice. I try to debugging by using this patch. Thanks again, Haruo diff -urN linux-2.6.12-rc2.orig/fs/file_table.c linux-2.6.12-rc2/fs/file_table.c ---

[PATCH 03/04] Load keyspan firmware with hotplug

2005-04-04 Thread Jan Harkes
Simple program to convert the keyspan firmware header files to IHEX formatted files that can be loaded with hotplug. This is really only needed once to convert the existing keyspan firmware headers, which is what the next patch will do. Signed-off-by: Jan Harkes <[EMAIL PROTECTED]> Index:

[PATCH 02/04] Load keyspan firmware with hotplug

2005-04-04 Thread Jan Harkes
Convert the keyspan USB serial driver to use request_firmware and firmware_load_ihex. Signed-off-by: Jan Harkes <[EMAIL PROTECTED]> Index: linux/drivers/usb/serial/keyspan.c === --- linux.orig/drivers/usb/serial/keyspan.c

[PATCH 01/04] Load keyspan firmware with hotplug

2005-04-04 Thread Jan Harkes
Adding firmware_load_ihex, to load IHEX formatted firmware images. Signed-off-by: Jan Harkes <[EMAIL PROTECTED]> drivers/base/firmware_class.c | 151 ++ include/linux/firmware.h | 26 +++ 2 files changed, 177 insertions(+) Index:

[PATCH 00/04] Load keyspan firmware with hotplug

2005-04-04 Thread Jan Harkes
On Mon, Apr 04, 2005 at 12:17:46PM -0700, Greg KH wrote: > On Mon, Apr 04, 2005 at 08:27:53PM +0200, Sven Luther wrote: > > Mmm, probably that 2001 discussion about the keyspan firmware, right ? > > > > http://lists.debian.org/debian-legal/2001/04/msg00145.html > > > > Can you summarize the

Re: ext3 allocate-with-reservation latencies

2005-04-04 Thread Ingo Molnar
* Lee Revell <[EMAIL PROTECTED]> wrote: > I can trigger latencies up to ~1.1 ms with a CVS checkout. It looks > like inside ext3_try_to_allocate_with_rsv, we spend a long time in this > loop: > > ext3_test_allocatable (bitmap_search_next_usable_block) > find_next_zero_bit

Re: Crash during boot for 2.6.12-rc2.

2005-04-04 Thread James Morris
On Mon, 4 Apr 2005, Andrew Morton wrote: > > I got this on a dual P4 Xeon with HT. If anyone wants more information, > > let me know. > > > > .config, please.. # # Automatically generated make config: don't edit # Linux kernel version: 2.6.12-rc2 # Mon Apr 4 16:17:49 2005 # CONFIG_X86=y

help with the result of ksymoops < oops.txt

2005-04-04 Thread sns_main
ksymoops 2.4.9 on i686 2.4.26. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.26/ (default) -m /usr/src/linux/System.map (default) Warning: You did not tell me where to find symbol information. I will assume that the

Re: Adding a field to ext2_dir_entry_2

2005-04-04 Thread Theodore Ts'o
On Mon, Apr 04, 2005 at 07:12:51PM -0600, Andreas Dilger wrote: > > Let me be more clear about what I am trying to do. In my masters > > project, I am encrypting inodes along with the data part of the file. Keys > > of different users are different. In the same directory, if there are > > 2 files

ext3 allocate-with-reservation latencies

2005-04-04 Thread Lee Revell
I can trigger latencies up to ~1.1 ms with a CVS checkout. It looks like inside ext3_try_to_allocate_with_rsv, we spend a long time in this loop: ext3_test_allocatable (bitmap_search_next_usable_block) find_next_zero_bit (bitmap_search_next_usable_block) find_next_zero_bit

Re: Logitech MX1000 Horizontal Scrolling

2005-04-04 Thread David A. Desrosiers
> This did it. I got it completely working now. Both the horizontal > and the vertical cruise control is working with no problems. I'm > scrolling and I can't find a single problem with the device. Using these same instructions on Debian Unstable, with my Thinkpad T42P (2373Q1U), this

Re: Crash during boot for 2.6.12-rc2.

2005-04-04 Thread Andrew Morton
James Morris <[EMAIL PROTECTED]> wrote: > > I got this on a dual P4 Xeon with HT. If anyone wants more information, > let me know. > .config, please.. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: scheduler/SCHED_FIFO behaviour

2005-04-04 Thread Steven Rostedt
On Tue, 2005-04-05 at 07:46 +0530, Arun Srinivas wrote: > > So, what I want from the above code is whenever process1 or process2 is > being scheduled measure the time and print the timedifference. But, when I > run my 2 processes as SCHED_FIFO processes i get only one set of >

Crash during boot for 2.6.12-rc2.

2005-04-04 Thread James Morris
I got this on a dual P4 Xeon with HT. If anyone wants more information, let me know. Creating /dev Starting udev input: AT Translated Set 2 keyboard on isa0060/serio0 atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly. atkbd.c:

Re: Logitech MX1000 Horizontal Scrolling

2005-04-04 Thread Esben Stien
Jeremy Nickurak <[EMAIL PROTECTED]> writes: > Now it's just the vertical scroller issue. It's working perfectly here; just following that last link. -- Esben Stien is [EMAIL PROTECTED] http://www. irc://irc./%23contact [sip|iax]:

Re: Logitech MX1000 Horizontal Scrolling

2005-04-04 Thread Esben Stien
Juergen Kreileder <[EMAIL PROTECTED]> writes: > http://blog.blackdown.de/2005/04/03/logitech-mx1000-configuration/ This did it. I got it completely working now. Both the horizontal and the vertical cruise control is working with no problems. I'm scrolling and I can't find a single problem with

Re: ... no drivers for IEEE1394 product 0x/0x/0x in kernel 2.6.12-rc1-bk6

2005-04-04 Thread Barry K. Nathan
On Mon, Apr 04, 2005 at 08:22:56PM -0600, Bob Gill wrote: > Hi. I recently built 2.6.12-rc1-bk6. The kernel seems to be tripping > over sbp2. The error messages keep right on rolling till I hit the > reboot button (I let it run for more than 90 seconds last time). > 2.6.11.6 builds/runs without

Re: Processes stuck on D state on Dual Opteron

2005-04-04 Thread Andrew Morton
Claudio Martins <[EMAIL PROTECTED]> wrote: > >While stress testing 2.6.12-rc2 on an HP DL145 I get processes stuck in D > state after some time. >This machine is a dual Opteron 248 with 2GB (ECC) on one node (the other > node has no RAM modules plugged in, since this board works only

Re: [patch] sched: auto-tune migration costs [was: Re: Industry db benchmark result on recent 2.6 kernels]

2005-04-04 Thread Ingo Molnar
latest patch attached. Changes: - stabilized calibration even more, by using cache flushing instructions to generate a predictable working set. The cache flushing itself is not timed, it is used to create quiescent cache state. I only guessed the ia64 version - e.g. i didnt know

... no drivers for IEEE1394 product 0x/0x/0x in kernel 2.6.12-rc1-bk6

2005-04-04 Thread Bob Gill
Hi. I recently built 2.6.12-rc1-bk6. The kernel seems to be tripping over sbp2. The error messages keep right on rolling till I hit the reboot button (I let it run for more than 90 seconds last time). 2.6.11.6 builds/runs without any problems. My build scripts includes: # IEEE 1394 (FireWire)

Re: Touchpad does not work anymore

2005-04-04 Thread Benoit Boissinot
On Fri, Apr 01, 2005 at 07:29:15PM +0200, Benoit Boissinot wrote: > On Fri, Apr 01, 2005 at 12:00:42PM -0500, Dmitry Torokhov wrote: > > On Apr 1, 2005 11:43 AM, Benoit Boissinot <[EMAIL PROTECTED]> wrote: > > > On Fri, Apr 01, 2005 at 11:28:05AM -0500, Dmitry Torokhov wrote: > > > > On Apr 1,

Processes stuck on D state on Dual Opteron

2005-04-04 Thread Claudio Martins
Hi, While stress testing 2.6.12-rc2 on an HP DL145 I get processes stuck in D state after some time. This machine is a dual Opteron 248 with 2GB (ECC) on one node (the other node has no RAM modules plugged in, since this board works only with pairs). I was using stress

Re: scheduler/SCHED_FIFO behaviour

2005-04-04 Thread Arun Srinivas
ok.My program runs for 30 sec. approx. I did #!/bin/sh cat /proc/interrupts run_test cat /proc/interrupts and I see there is quite some difference in the numbers.meaning interrupts have been processed by the respective processor when my SCHED_FIFO processes have been running on both the

Re: [RFC 1/6]SEP initialization rework

2005-04-04 Thread Li Shaohua
On Tue, 2005-04-05 at 03:10, Zwane Mwaikambo wrote: > On Mon, 4 Apr 2005, Li Shaohua wrote: > > > linux-2.6.11-root/arch/i386/kernel/smpboot.c |6 ++ > > linux-2.6.11-root/arch/i386/kernel/sysenter.c | 10 ++ > >

Re: [ACPI] Re: [RFC 5/6]clean cpu state after hotremove CPU

2005-04-04 Thread Li Shaohua
Hi, On Mon, 2005-04-04 at 23:33, Nathan Lynch wrote: > > I'd say fix the smpboot code so that it doesn't create new idle tasks > except during boot. I'd like the the CPU hotremove case just likes the case that CPU isn't boot. A non-boot CPU hasn't a idle thread. But you may think it's not worthy

Re: [patch] sched: auto-tune migration costs [was: Re: Industry db benchmark result on recent 2.6 kernels]

2005-04-04 Thread Ingo Molnar
* Chen, Kenneth W <[EMAIL PROTECTED]> wrote: > Perhaps, I'm not getting the latest patch? It skipped measuring > because migration cost array is non-zero (initialized to -1LL): yeah ... some mixup here. I've attached the latest. > Also, the cost calculation in measure_one() looks fishy to me

RE: [patch] sched: auto-tune migration costs [was: Re: Industry db benchmark result on recent 2.6 kernels]

2005-04-04 Thread Chen, Kenneth W
* Chen, Kenneth W <[EMAIL PROTECTED]> wrote: > The cache size information on ia64 is already available at the finger > tip. Here is a patch that I whipped up to set max_cache_size for ia64. Ingo Molnar wrote on Monday, April 04, 2005 4:38 AM > thanks - i've added this to my tree. > > i've

Re: i8042 controller on Toshiba Satellite P10 notebook - patch

2005-04-04 Thread Dmitry Torokhov
On Monday 04 April 2005 19:35, Jaco Kroon wrote: > Dmitry Torokhov wrote: > > > A-haa.. Well, in that case we'll cheat ;) and just disable MUX mode > > for your Toshiba via a DMI quirk, like we do for certain Fujitsus. If > > there is no external port there is no reason to have the controller in

Re: Adding a field to ext2_dir_entry_2

2005-04-04 Thread Christopher Li
That design sounds bad. Anyway, I guess the error you are getting might have some thing to do with the "." and ".." entry. Your current directory need to in the same format as well. That is the price you pay for breaking the compatibility. Chris On Mon, Apr 04, 2005 at 08:08:57PM -0400, Vineet

Re: Adding a field to ext2_dir_entry_2

2005-04-04 Thread Andreas Dilger
On Apr 04, 2005 20:08 -0400, Vineet Joglekar wrote: > I have created another file system - copied everything from ext2, > renaming it as some different file system and doing some experiments on that. > > Let me be more clear about what I am trying to do. In my masters > project, I am encrypting

Re: [RFC 5/6]clean cpu state after hotremove CPU

2005-04-04 Thread Li Shaohua
On Tue, 2005-04-05 at 03:11, Zwane Mwaikambo wrote: > On Mon, 4 Apr 2005, Li Shaohua wrote: > > > Clean up all CPU states including its runqueue and idle thread, > > so we can use boot time code without any changes. > > Note this makes /sys/devices/system/cpu/cpux/online unworkable. > > > >

Re: i8042 controller on Toshiba Satellite P10 notebook - patch

2005-04-04 Thread Jaco Kroon
Dmitry Torokhov wrote: > A-haa.. Well, in that case we'll cheat ;) and just disable MUX mode > for your Toshiba via a DMI quirk, like we do for certain Fujitsus. If > there is no external port there is no reason to have the controller in > MUX mode. > > Could you please send me output of

Re: [openib-general] [PATCH][RFC][3/4] IB: userspace verbs mthca changes

2005-04-04 Thread Tom Duffy
On Mon, 2005-04-04 at 15:09 -0700, Roland Dreier wrote: > --- linux-export.orig/drivers/infiniband/hw/mthca/mthca_dev.h 2005-04-04 > 14:57:12.254750421 -0700 > +++ linux-export/drivers/infiniband/hw/mthca/mthca_dev.h 2005-04-04 > 14:58:12.411669307 -0700 > @@ -49,14 +49,6 @@ > #define

Re: i8042 controller on Toshiba Satellite P10 notebook - patch

2005-04-04 Thread Dmitry Torokhov
On Apr 4, 2005 6:54 PM, Jaco Kroon <[EMAIL PROTECTED]> wrote: > Dmitry Torokhov wrote: > > Ok, try booting with "usb-handoff i8042.nomux". If that cures > > yes, it cures both problems (death on reboot and ALPS), in fact. But I > must have *both* params. nomux without usb-handoff causes all

Re: [ACPI] Re: [RFC 5/6]clean cpu state after hotremove CPU

2005-04-04 Thread Nigel Cunningham
Hi. On Tue, 2005-04-05 at 08:46, Nathan Lynch wrote: > Hi Nigel! > > On Tue, Apr 05, 2005 at 08:14:25AM +1000, Nigel Cunningham wrote: > > > > On Tue, 2005-04-05 at 01:33, Nathan Lynch wrote: > > > > Yes, exactly. Someone who understand do_exit please help clean up the > > > > code. I'd like to

Re: [ACPI] Re: [RFC 5/6]clean cpu state after hotremove CPU

2005-04-04 Thread Nathan Lynch
Hi Nigel! On Tue, Apr 05, 2005 at 08:14:25AM +1000, Nigel Cunningham wrote: > > On Tue, 2005-04-05 at 01:33, Nathan Lynch wrote: > > > Yes, exactly. Someone who understand do_exit please help clean up the > > > code. I'd like to remove the idle thread, since the smpboot code will > > > create a

Re: Adding a field to ext2_dir_entry_2

2005-04-04 Thread Vineet Joglekar
Hi Andreas, I have created another file system - copied everything from ext2, renaming it as some different file system and doing some experiments on that. Let me be more clear about what I am trying to do. In my masters project, I am encrypting inodes along with the data part of the

Re: [PATCH 2.6.12-rc1-mm4] mips: update VR41xx CPU-PCI bridge support

2005-04-04 Thread Yoichi Yuasa
Hello Andrew, I received a comment from Mita-san. On Tue, 5 Apr 2005 00:45:24 +0900 Yoichi Yuasa <[EMAIL PROTECTED]> wrote: > This patch updates NEC VR4100 series CPU-PCI bridge support. > This patch already had applied to Ralf's cvs. > > + if (request_mem_region(PCIU_BASE, PCIU_SIZE,

Re: [ACPI] Re: [RFC 5/6]clean cpu state after hotremove CPU

2005-04-04 Thread Ashok Raj
On Mon, Apr 04, 2005 at 03:46:20PM -0700, Nathan Lynch wrote: > >Hi Nigel! > >On Tue, Apr 05, 2005 at 08:14:25AM +1000, Nigel Cunningham wrote: >> >> On Tue, 2005-04-05 at 01:33, Nathan Lynch wrote: >> > > Yes, exactly. Someone who understand do_exit please help clean > >

Re: [openib-general] [PATCH][RFC][3/4] IB: userspace verbs mthca changes

2005-04-04 Thread Roland Dreier
Tom> Now, you are really gonna hate me for asking you to put this Tom> in as you probably did not want to include this in the patch Tom> to lkml. Tom> So, maybe Grant was right ;-) Oh well, I didn't read the patches over carefully enough. Fortunately it was just my "for review"

Re: [patch 2/3] hd eliminate bad section references

2005-04-04 Thread Rusty Russell
On Tue, 2005-04-05 at 01:05 +0200, maximilian attems wrote: > On Mon, 04 Apr 2005, Randy.Dunlap wrote: > > Rusty, can you explain when __setup functions are called relative > > to in-kernel init functions? or put another way, can a __setup > > function safely call in __init function? Yes. init

Re: i8042 controller on Toshiba Satellite P10 notebook - patch

2005-04-04 Thread Jaco Kroon
Dmitry Torokhov wrote: > Ok, try booting with "usb-handoff i8042.nomux". If that cures yes, it cures both problems (death on reboot and ALPS), in fact. But I must have *both* params. nomux without usb-handoff causes all input devices to fail. Thanks goodness for ssh. Anyway - I'm now running

Re: Linux 2.6.12-rc2

2005-04-04 Thread Al Viro
On Tue, Apr 05, 2005 at 12:49:55AM +0100, Russell King wrote: > IOW, when sysdev.h is updated to prototype the function pointer with > pm_message_t, this'll also be solved. > > Therefore, if anything, linux/pm.h should be added to linux/sysdev.h as > the minimal patch. OK... - To unsubscribe

Re: Linux 2.6.12-rc2

2005-04-04 Thread Al Viro
On Tue, Apr 05, 2005 at 09:37:18AM +1000, Stephen Rothwell wrote: > On Mon, 4 Apr 2005 14:32:52 -0700 (PDT) Linus Torvalds <[EMAIL PROTECTED]> > wrote: > > > > o missing include in lanai.c > > After this patch I have ended up with linux/dma-mapping.h included twice > in this file ... Argh.

Re: Linux 2.6.12-rc2

2005-04-04 Thread Russell King
On Tue, Apr 05, 2005 at 12:24:19AM +0100, Al Viro wrote: > On Mon, Apr 04, 2005 at 02:32:52PM -0700, Linus Torvalds wrote: > > This is also the point where I ask people to calm down, and not send me > > anything but clear bug-fixes etc. We're definitely well into -rc land. So > > keep it quiet

Re: iomapping a big endian area

2005-04-04 Thread Benjamin Herrenschmidt
On Mon, 2005-04-04 at 08:59 -0500, James Bottomley wrote: > On Mon, 2005-04-04 at 17:50 +1000, Benjamin Herrenschmidt wrote: > > I disagree. The driver will never "know" ... > > ? the driver has to know. Look at the 53c700 to see exactly how awful > it is. This beast has byte and word

scheduler/SCHED_FIFO behaviour

2005-04-04 Thread Arun Srinivas
I am scheduling 2 SCHED_FIFO processes and set them affinity( process A runs on processor 1 and process B runs on processor 2), on a HT processor.(I did this cause I wanted to run them together).Now, in schedule() I measure the timedifference between when they are scheduled. I found that when I

Re: Linux 2.6.12-rc2

2005-04-04 Thread Andres Salomon
On Mon, 04 Apr 2005 14:32:52 -0700, Linus Torvalds wrote: > > > The diffstat output tells the story: this is a lot of very small changes, > ie tons of small cleanups and bug fixes. With a few new drivers thrown in > for good measure. > > This is also the point where I ask people to calm down,

Re: [patch 1/3] pnpbios eliminate bad section references

2005-04-04 Thread Adam Belay
On Mon, Apr 04, 2005 at 12:56:32PM -0700, Randy.Dunlap wrote: > maximilian attems wrote: > >one of the last buildcheck errors on i386, > >thanks Randy again for double checking. > > > >Fix pnpbios section references: > >make dmi_system_id pnpbios_dmi_table __initdata > > > >Error:

Re: iomapping a big endian area

2005-04-04 Thread Benjamin Herrenschmidt
> > Well ... it's like this. Native means "pass through without swapping" > > and has an easy implementation on both BE and LE platforms. Logically > > io{read,write}{16,32}be would have to do byte swaps on LE platforms. > > Being lazy, I'm opposed to doing the work if there's no actual use for

Re: Linux 2.6.12-rc2

2005-04-04 Thread Stephen Rothwell
On Mon, 4 Apr 2005 14:32:52 -0700 (PDT) Linus Torvalds <[EMAIL PROTECTED]> wrote: > > o missing include in lanai.c After this patch I have ended up with linux/dma-mapping.h included twice in this file ... -- Cheers, Stephen Rothwell[EMAIL PROTECTED]

Re: Adding a field to ext2_dir_entry_2

2005-04-04 Thread Andreas Dilger
On Apr 04, 2005 18:54 -0400, Vineet Joglekar wrote: > I working with linux kernel 2.4.28. I want to add 1 more field to > ext2_dir_entry_2 - the new version of directory entry for ext2fs. > > I did add the __u32 field to the struct ext2_dir_entry_2 defined in > ext2_fs.h I also modified the

Re: Oops in i810_audio (reply to herbert)

2005-04-04 Thread Herbert Xu
On Mon, Apr 04, 2005 at 10:07:30PM +0200, SuD (Alex) wrote: > > /* Check for an AC97 1.0 soft modem (ID1) */ > codec->codec_read(codec, AC97_RESET) returned 0xd3a > ... > > /* Check for an AC97 2.x soft modem */ ... > codec->codec_read(codec, AC97_EXTENDED_MODEM_ID) returned 0x1 Interesting.

Re: [PATCH 1/4] create mm/Kconfig for arch-independent memory options

2005-04-04 Thread Mike Kravetz
On Mon, Apr 04, 2005 at 10:50:09AM -0700, Dave Hansen wrote: diff -puN mm/Kconfig~A6-mm-Kconfig mm/Kconfig --- memhotplug/mm/Kconfig~A6-mm-Kconfig 2005-04-04 09:04:48.0 -0700 +++ memhotplug-dave/mm/Kconfig 2005-04-04 10:15:23.0 -0700 @@ -0,0 +1,25 @@ > +choice > + prompt

Re: [PATCH 1/4] create mm/Kconfig for arch-independent memory options

2005-04-04 Thread Dave Hansen
On Mon, 2005-04-04 at 16:22 -0700, Mike Kravetz wrote: > Do you need to set ARCH_DISCONTIGMEM_DEFAULT instead of just > CONFIG_ARCH_DISCONTIGMEM_ENABLE to have DISCONTIGMEM be the > default? or am I missing something? I don't see > ARCH_DISCONTIGMEM_DEFAULT turned on by default in any of these >

Re: Linux 2.6.12-rc2

2005-04-04 Thread Al Viro
On Mon, Apr 04, 2005 at 02:32:52PM -0700, Linus Torvalds wrote: > This is also the point where I ask people to calm down, and not send me > anything but clear bug-fixes etc. We're definitely well into -rc land. So > keep it quiet out there, * missing include in arm/kernel/time.c - see

Re: [PATCH 2.4] PCI 2/2 update pci.ids (0/2)

2005-04-04 Thread Grant Coady
On Tue, 05 Apr 2005 08:24:20 +1000, Grant Coady <[EMAIL PROTECTED]> wrote: >Hi Marcelo, > >This patch updates pci.ids to latest snapshot, requires patch 1/2 >to compile. gzip'd due to size. Compile and run tested. > >Sign-off-by: Grant Coady <[EMAIL PROTECTED]> Sorry about the borked

Re: Linux 2.6.12-rc2

2005-04-04 Thread Andres Salomon
On Mon, 04 Apr 2005 14:32:52 -0700, Linus Torvalds wrote: > > > The diffstat output tells the story: this is a lot of very small changes, > ie tons of small cleanups and bug fixes. With a few new drivers thrown in > for good measure. > > This is also the point where I ask people to calm down,

Re: UPDATE: out of vmalloc space - but vmalloc parameter does not allow boot

2005-04-04 Thread Ranko Zivojnovic
Ok, I think I've figured it out so I will try and answer my own questions (the best part is at the end)... On Mon, 2005-04-04 at 17:36 +0300, Ranko Zivojnovic wrote: > (please do CC replies as I am still not on the list) > > As I am kind of pressured to resolve this issue, I've set up a test >

Re: scheduler/SCHED_FIFO behaviour

2005-04-04 Thread Steven Rostedt
On Tue, 2005-04-05 at 04:36 +0530, Arun Srinivas wrote: > I am scheduling 2 SCHED_FIFO processes and set them affinity( process A runs > on processor 1 and process B runs on processor 2), on a HT processor.(I did > this cause I wanted to run them together).Now, in schedule() I measure the >

Re: [patch 2/3] hd eliminate bad section references

2005-04-04 Thread maximilian attems
On Mon, 04 Apr 2005, Randy.Dunlap wrote: > >-static int parse_hd_setup (char *line) { > >+static int __init parse_hd_setup (char *line) { .. > This one is fairly interesting and needs some resolution by someone > who knows thanks a lot for your quick and profund feedback. > On the

Re: [PATCH] network configs: disconnect network options from drivers

2005-04-04 Thread Randy.Dunlap
Sam Ravnborg wrote: - Move submenu to the top - Rename top menu to "Networking" and located it just before "File systems" I still prefer Networking to come before Device Drivers FWIW. Just makes some kind of hierarchical sense to me. Moved up as suggested. I propose that the new file

Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00

2005-04-04 Thread Esben Nielsen
On Mon, 4 Apr 2005, Zwane Mwaikambo wrote: > On Mon, 4 Apr 2005, Steven Rostedt wrote: > > > On Mon, 2005-04-04 at 22:47 +0200, Ingo Molnar wrote: > > > > > > Currently my fix is in yield to lower the priority of the task calling > > > > yield and raise it after the schedule. This is NOT a

Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00

2005-04-04 Thread Esben Nielsen
On Mon, 4 Apr 2005, Steven Rostedt wrote: > On Mon, 2005-04-04 at 22:47 +0200, Ingo Molnar wrote: > > > > Currently my fix is in yield to lower the priority of the task calling > > > yield and raise it after the schedule. This is NOT a proper fix. It's > > > just a hack so I can get by it and

Re: [PATCH] create a kstrdup library function

2005-04-04 Thread Andres Salomon
On Mon, 04 Apr 2005 20:44:17 +0100, Paulo Marques wrote: > > Hi, > > This patch creates a new kstrdup library function and changes the > "local" implementations in several places to use this function. > > This is just a cleanup to allow reusing the strdup code, and to prevent > bugs in

Re: i8042 controller on Toshiba Satellite P10 notebook - patch

2005-04-04 Thread Dmitry Torokhov
On Apr 4, 2005 4:51 PM, Jaco Kroon <[EMAIL PROTECTED]> wrote: > Dmitry Torokhov wrote: > > On Apr 4, 2005 3:35 PM, Jaco Kroon <[EMAIL PROTECTED]> wrote: > > > >>As for loading the modules i8042, atkbd and psmouse (in that order): > >>black void of death. > >> > > Hmm.. remind me, if you boot with

Re: Linux 2.6.12-rc2

2005-04-04 Thread Andres Salomon
On Mon, 04 Apr 2005 14:32:52 -0700, Linus Torvalds wrote: [...] > > > Summary of changes from v2.6.12-rc1 to v2.6.12-rc2 > == > [...] > > Andres Salomon: > o Possible AMD8111e free irq issue > o Possible VIA-Rhine free irq issue Those

Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00

2005-04-04 Thread Steven Rostedt
On Mon, 2005-04-04 at 16:51 -0600, Zwane Mwaikambo wrote: > I'm sure a lot of the yield() users could be converted to > schedule_timeout(), some of the users i saw were for low memory conditions > where we want other tasks to make progress and complete so that we a bit > more free memory. >

Re: security issue: hard disk lock

2005-04-04 Thread Chris Friesen
Horst von Brand wrote: Doing it in initrd should be plenty of time, no need to involve the kernel. Not everyone uses an initrd. Chris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00

2005-04-04 Thread Zwane Mwaikambo
On Mon, 4 Apr 2005, Steven Rostedt wrote: > On Mon, 2005-04-04 at 22:47 +0200, Ingo Molnar wrote: > > > > Currently my fix is in yield to lower the priority of the task calling > > > yield and raise it after the schedule. This is NOT a proper fix. It's > > > just a hack so I can get by it and

Adding a field to ext2_dir_entry_2

2005-04-04 Thread Vineet Joglekar
Hi All, I working with linux kernel 2.4.28. I want to add 1 more field to ext2_dir_entry_2 - the new version of directory entry for ext2fs. I did add the __u32 field to the struct ext2_dir_entry_2 defined in ext2_fs.h I also modified the EXT2_DIR_REC_LEN macro to: (((name_len) + 12

Re: [Fwd: Re: [Bug] invalid mac address after rebooting (kernel 2.6.11.5)]

2005-04-04 Thread Daniel Ritz
On Sunday 03 April 2005 16:02, Daniel Drake wrote: > Peter Baumann wrote: > > On Wed, Mar 23, 2005 at 06:52:25PM -0800, Andrew Morton wrote: > > > >>Peter Baumann <[EMAIL PROTECTED]> wrote: > >> > >>> > >>>I'm hitting an annoying bug in kernel 2.6.11.5 > >>> > >>>Every time I _reboot_ (warmstart)

Re: [PATCH] meminfo: add Cached underflow check

2005-04-04 Thread Martin Hicks
On Mon, Apr 04, 2005 at 03:10:49PM -0700, Andrew Morton wrote: > Martin Hicks <[EMAIL PROTECTED]> wrote: > > > > Working on some code lately I've been getting huge values > > for "Cached". The cause is that get_page_cache_size() is an > > approximate value, and for a sufficiently small returned

[PATCH][RFC][0/4] InfiniBand userspace verbs implementation

2005-04-04 Thread Roland Dreier
Here is an initial implementation of InfiniBand userspace verbs. I plan to commit this code to the OpenIB repository shortly, and submit it for inclusion during the 2.6.13 cycle, so I am posting it early for comments. This code, in conjunction with the libibverbs and libmthca userspace libraries

[PATCH][RFC][3/4] IB: userspace verbs mthca changes

2005-04-04 Thread Roland Dreier
Add Mellanox HCA-specific userspace verbs support to mthca. Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> --- linux-export.orig/drivers/infiniband/hw/mthca/mthca_cq.c2005-04-04 14:57:12.228756073 -0700 +++ linux-export/drivers/infiniband/hw/mthca/mthca_cq.c 2005-04-04 14:58:12.364679525

[PATCH][RFC][2/4] IB: userspace verbs main module

2005-04-04 Thread Roland Dreier
Add device-independent userspace verbs support (ib_uverbs module). Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> --- /dev/null 1970-01-01 00:00:00.0 + +++ linux-export/drivers/infiniband/core/uverbs.h 2005-04-04 14:55:10.496227053 -0700 @@ -0,0 +1,124 @@ +/* + * Copyright

[PATCH][RFC][1/4] IB: core changes for userspace verbs

2005-04-04 Thread Roland Dreier
Add new structs and struct members required by userspace verbs to IB core. Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> --- linux-export.orig/drivers/infiniband/core/verbs.c 2005-01-11 09:35:27.046388000 -0800 +++ linux-export/drivers/infiniband/core/verbs.c2005-04-04

[PATCH][RFC][4/4] IB: userspace verbs Kconfig/Makefile changes

2005-04-04 Thread Roland Dreier
Hook userspace verbs up to Kconfig and Makefile. Signed-off-by: Roland Dreier <[EMAIL PROTECTED]> --- linux-export.orig/drivers/infiniband/Kconfig2005-04-04 14:58:53.397756926 -0700 +++ linux-export/drivers/infiniband/Kconfig 2005-04-04 15:01:08.716332258 -0700 @@ -7,6 +7,14 @@

Re: [RFC] spinlock_t & rwlock_t break_lock member initialization (patch seeking comments included)

2005-04-04 Thread Zwane Mwaikambo
On Mon, 28 Mar 2005, Jesper Juhl wrote: > On Sun, 27 Mar 2005, Zwane Mwaikambo wrote: > > > On Sun, 27 Mar 2005, Jesper Juhl wrote: > > > > > I've now been running kernels (both PREEMPT, SMP, both and without both) > > > with the patch below applied for a few days and I see no ill effects. I'm

[PATCH 2.4] PCI 2/2 update pci.ids (0/2)

2005-04-04 Thread Grant Coady
Hi Marcelo, This patch updates pci.ids to latest snapshot, requires patch 1/2 to compile. gzip'd due to size. Compile and run tested. Sign-off-by: Grant Coady <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

[PATCH 2.4] PCI 1/2 update pci.ids

2005-04-04 Thread Grant Coady
Hi Marcelo, Found the size of pci.ids strings (MAX_NAME_SIZE) needed increasing to accommodate latest pci.ids snapshot, compile failed at 140, succeeded at 150, so I went 160. This patch is required for the update to latest pci.ids snapshot patch 2/2. Signed-off-by: Grant Coady <[EMAIL

Re: [patch] inotify 0.22

2005-04-04 Thread John McCutchan
On Mon, 2005-04-04 at 16:50 -0400, Dale Blount wrote: > Will inotify watch directories recursively? A quick browse through the > source doesn't look like it, but I very well could be wrong. Last I > checked, dnotify did not either. I am looking for a way to synchronize > files in

Re: [ACPI] Re: [RFC 5/6]clean cpu state after hotremove CPU

2005-04-04 Thread Nigel Cunningham
Hi. On Tue, 2005-04-05 at 01:33, Nathan Lynch wrote: > > Yes, exactly. Someone who understand do_exit please help clean up the > > code. I'd like to remove the idle thread, since the smpboot code will > > create a new idle thread. > > I'd say fix the smpboot code so that it doesn't create new

Re: [patch 2/3] hd eliminate bad section references

2005-04-04 Thread Randy.Dunlap
maximilian attems wrote: Fix hd section references: make parse_hd_setup() __init Error: ./drivers/ide/legacy/hd.o .text refers to 0943 R_386_PC32 .init.text Signed-off-by: maximilian attems <[EMAIL PROTECTED]> --- linux-2.6.12-rc1-bk5/drivers/ide/legacy/hd.c.orig 2005-04-04 18:39:04.0

Re: [PATCH] meminfo: add Cached underflow check

2005-04-04 Thread Andrew Morton
Martin Hicks <[EMAIL PROTECTED]> wrote: > > Working on some code lately I've been getting huge values > for "Cached". The cause is that get_page_cache_size() is an > approximate value, and for a sufficiently small returned value > of get_page_cache_size() the value underflows. OK.. I think I'd

[PATCH] crypto: don't check for NULL before kfree(), it's redundant.

2005-04-04 Thread Jesper Juhl
Checking a pointer for NULL before calling kfree() on it is redundant. This patch removes such checks from crypto/ Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> diff -up linux-2.6.12-rc1-mm4-orig/crypto/cipher.c linux-2.6.12-rc1-mm4/crypto/cipher.c ---

Accessing performance counters for a processor in a multi-processor environment

2005-04-04 Thread Abhinkar, Sameer
Hi there, I'm a newbie in Linux kernel development and hopefully my question has some quick solution.. I'm trying to access performance counters on a dual Xeon processor machine (both processors are 32-bit and HT enabled). Since each processor (logical/physical) has their own performance

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-04 Thread Sven Luther
On Mon, Apr 04, 2005 at 11:24:05PM +0200, Sven Luther wrote: > It assuredly can't hurt to add a few lines of comments to tg3.c, and since it > is probably (well, 1/3 chance here) you who added said firmware to the tg3.c > file, i guess you are even well placed to at least exclude it from being >

Re: kernel.org replaced

2005-04-04 Thread Fao, Sean
H. Peter Anvin wrote: HP has most graciously donated a pair of DL585 quad Opteron servers with 24 GB of RAM and 10 TB of disk using a pair of MSA-30 arrays for each server. If you don't mind me asking, what all does this server do/host? Just curious, -- Sean - To unsubscribe from this list: send

Re: [patch 3/3] efi eliminate bad section references

2005-04-04 Thread Randy.Dunlap
(adding Matt Domsch to cc:) maximilian attems wrote: Randy please double check especially this one. there may be a better solution. Fix efi section references: remove __initdata for struct efi efi_phys and struct efi_memory_map memmap 'memmap' can be used after init, so remove __initdata from

Re: i8042 controller on Toshiba Satellite P10 notebook - patch

2005-04-04 Thread Jaco Kroon
Dmitry Torokhov wrote: > On Apr 4, 2005 3:35 PM, Jaco Kroon <[EMAIL PROTECTED]> wrote: > >>As for loading the modules i8042, atkbd and psmouse (in that order): >>black void of death. >> > Hmm.. remind me, if you boot with usb-handoff does it switch the i8042 > into active multiplexing mode (you

Re: [PATCH] network configs: disconnect network options from drivers

2005-04-04 Thread Sam Ravnborg
> >- Move submenu to the top > >- Rename top menu to "Networking" and located it just before > > "File systems" > > I still prefer Networking to come before Device Drivers FWIW. > Just makes some kind of hierarchical sense to me. Moved up as suggested. > I propose that the new file

  1   2   3   4   5   6   7   >