[03/13] rocket.c: Fix ldisc ref count handling

2005-08-03 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Michal Ostrowski <[EMAIL PROTECTED]> If bailing out because there is nothing to receive in rp_do_receive(), tty_ldisc_deref is not called. Failure to do so increases the ref count=20 and causes rel

[05/13] [NET]: Fix signedness issues in net/core/filter.c

2005-08-03 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- This is the code to load packet data into a register: k = fentry->k; if (k < 0) { ... } else { u32 _

[07/13] [NETFILTER]: Fix potential memory corruption in NAT code (aka memory NAT)

2005-08-03 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- [NETFILTER]: Fix potential memory corruption in NAT code (aka memory NAT) The portptr pointing to the port in the conntrack tuple is declared static, which could result in memory corruption when two packe

[08/13] [NETFILTER]: Wait until all references to ip_conntrack_untracked are dropped on unload

2005-08-03 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- [NETFILTER]: Wait until all references to ip_conntrack_untracked are dropped on unload Fixes a crash when unloading ip_conntrack. Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: Chris

[11/13] sys_get_thread_area does not clear the returned argument

2005-08-03 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- sys_get_thread_area does not memset to 0 its struct user_desc info before copying it to user space... since sizeof(struct user_desc) is 16 while the actual datas which are filled are only 12 bytes + 9 bit

[12/13] [VLAN]: Fix early vlan adding leads to not functional device

2005-08-03 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- [VLAN]: Fix early vlan adding leads to not functional device OK, I can see what's happening here. eth0 doesn't detect link-up until after a few seconds, so when the vlan interface is opened immediately af

[13/13] Fix powernow oops on dual-core athlon

2005-08-03 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- powernow-k8 requires that a data structure for each core be created in the _cpu_init function call. The cpufreq infrastructure doesn't call _cpu_init for the second core in each processor. Some systems cr

Re: [10/13] [PATCH] bio_clone fix

2005-08-03 Thread Jens Axboe
On Wed, Aug 03 2005, Chris Wright wrote: > -stable review patch. If anyone has any objections, please let us know. Full ack. > > -- > > [PATCH] bio_clone fix > > Fix bug introduced in 2.6.11-rc2: when we clone a BIO we need to copy over the > current index into it as well. >

[10/13] [PATCH] bio_clone fix

2005-08-03 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- [PATCH] bio_clone fix Fix bug introduced in 2.6.11-rc2: when we clone a BIO we need to copy over the current index into it as well. It corrupts data with some MD setups. See http://bugzilla.kernel.org/s

[09/13] [XFRM]: Fix possible overflow of sock->sk_policy

2005-08-03 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- From: Herbert Xu <[EMAIL PROTECTED]> [XFRM]: Fix possible overflow of sock->sk_policy Spotted by, and original patch by, Balazs Scheidler. Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> Signed-off-by: Da

[06/13] [NETFILTER]: Fix deadlock in ip6_queue

2005-08-03 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- [NETFILTER]: Fix deadlock in ip6_queue Already fixed in ip_queue, ip6_queue was missed. Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> Signed-off-by: Chris Wright <[EMAIL PROTECTED]> Signed-off-by: G

Re: [PATCH] IDE disks show invalid geometries in /proc/ide/hd*/geometry

2005-08-03 Thread Andre Hedrick
Did you read ATA-1 through ATA-7 to understand all the variations? On Tue, 2 Aug 2005, Mark Bellon wrote: > The ATA specification tells large disk drives to return C/H/S data of > 16383/16/63 regardless of their actual size (other variations on this > return include 15 heads and/or 4092 cylind

Re: [patch 1/2] sched: reduce locking in newidle balancing

2005-08-03 Thread Ingo Molnar
* Nick Piggin <[EMAIL PROTECTED]> wrote: > Similarly to the earlier change in load_balance, only lock the > runqueue in load_balance_newidle if the busiest queue found has a > nr_running > 1. This will reduce frequency of expensive remote > runqueue lock aquisitions in the schedule() path on s

Re: [patch 2/2] sched: reduce locking in periodic balancing

2005-08-03 Thread Ingo Molnar
* Nick Piggin <[EMAIL PROTECTED]> wrote: > During periodic load balancing, don't hold this runqueue's lock while > scanning remote runqueues, which can take a non trivial amount of time > especially on very large systems. > > Holding the runqueue lock will only help to stabalise ->nr_running, s

Re: [PATCH] no-idle-hz aka dynamic ticks

2005-08-03 Thread Russell King
On Tue, Aug 02, 2005 at 10:25:26PM +1000, Con Kolivas wrote: > As promised, here is an updated patch for the newly released 2.6.13-rc5. > Boots and runs fine on P4HT (SMP+SMT kernel) built with gcc 4.0.1. Please note that ARM already has dyn-tick merged in mainline. If we're going to be adding dy

[ANNOUNCE] Interbench v0.26

2005-08-03 Thread Con Kolivas
This benchmark application is designed to benchmark interactivity in Linux. Direct download link: http://ck.kolivas.org/apps/interbench/interbench-0.26.tar.bz2 Web site: http://interbench.kolivas.org Changes since v0.24: v0.25: The timekeeping thread of background load no longer runs SCHED_FIFO

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-03 Thread Robin Holt
On Mon, Aug 01, 2005 at 11:18:42AM -0700, Linus Torvalds wrote: > On Mon, 1 Aug 2005, Linus Torvalds wrote: > > > > Ie something like the below (which is totally untested, obviously, but I > > think conceptually is a lot more correct, and obviously a lot simpler). > > I've tested it, and thought

Re: hotplug problem

2005-08-03 Thread Clemens Koller
Hi Ben! bgerard wrote: I'm working on an embeded system with linux kernel 2.4.27 and busybox 1.00. Lately I've decided to add hotplug feature to my kernel in order to automaticaly mount usb keys. When I plug the usb key, I can see in the kernel debug that "/sbin/hotplug" is called but my scr

Re: [04/13] x86_64 memleak from malicious 32bit elf program

2005-08-03 Thread Andi Kleen
Ok for me. Thanks Suresh. -Andi On Tue, Aug 02, 2005 at 11:52:20PM -0700, Chris Wright wrote: > -stable review patch. If anyone has any objections, please let us know. > > -- > > malicious 32bit app can have an elf section at 0xe000. During > exec of this app, we will hav

Re: [PATCH] String conversions for memory policy

2005-08-03 Thread Andi Kleen
On Mon, Aug 01, 2005 at 11:48:55AM -0700, Christoph Lameter wrote: > On Sat, 30 Jul 2005, Paul Jackson wrote: > > > Would it make sense for you to do the same thing, when displaying > > mempolicies in /proc//numa_policy? > > Here is a new rev of the conversions patch. Thanks for all the feedback:

Re: Power consumption HZ100, HZ250, HZ1000: new numbers

2005-08-03 Thread Oliver Neukum
Am Dienstag, 2. August 2005 16:20 schrieben Sie: > On 2005-08-02T10:02:59, Lee Revell <[EMAIL PROTECTED]> wrote: > > > > Maybe new desktop systems - but what about the tens of millions of old > > > systems that don't. > > Does anyone really give a shit about saving power on the desktop anyway? > >

Re: [PATCH] Disable the debug.exception-trace sysctl by default

2005-08-03 Thread Andi Kleen
On Wed, Jul 27, 2005 at 11:53:30PM -0700, Nicholas Miell wrote: > debug.exception-trace causes a large amount of log spew when on, and > it's on by default, which is an irritation. > Here's a patch to turn it off. Rejected. -Andi - To unsubscribe from this list: send the line "unsubscribe linux-

[PATCH] aktivate sata300 TX4 in sata_promise

2005-08-03 Thread Otto Meier
Hallo, this Patch get the Promise SATA300 TX4 card working. Please accept. Patch is against 2.6.13-rc3-git5. Signed-off-by: Otto Meier <[EMAIL PROTECTED]> --- linux/drivers/scsi/sata_promise.c.orig 2005-08-01 17:09:48.474824778 +0200 +++ linux/drivers/scsi/sata_promise.c 2005-07-31 12:

Re: [PATCH] no-idle-hz aka dynamic ticks

2005-08-03 Thread Tony Lindgren
* Russell King <[EMAIL PROTECTED]> [050803 00:59]: > On Tue, Aug 02, 2005 at 10:25:26PM +1000, Con Kolivas wrote: > > As promised, here is an updated patch for the newly released 2.6.13-rc5. > > Boots and runs fine on P4HT (SMP+SMT kernel) built with gcc 4.0.1. > > Please note that ARM already has

Re: [Linux-fbdev-devel] Re: Where is place of arch independed companion chips?

2005-08-03 Thread Andrey Volkov
Richard Purdie wrote: > On Mon, 2005-08-01 at 11:13 -0700, Greg KH wrote: > >>>Good question. I was about to submit a patch that created >>>drivers/platform because the toplevel driver for MQ11xx is a >>>platform_device driver. Any thoughts on this? >> >>drivers/platform sounds good to me. >

Re: [PATCH 00/14] GFS

2005-08-03 Thread Arjan van de Ven
> I don't know anything about GFS, but expecting a filesystem author to > use a journaling layer he does not want to is a bit arrogant. good that I didn't expect that then. I think it's fair enough to ask people if they can use it. If the answer is "No because it doesn't fit our model " then that

Re: Fix 32-bit thread debugging on x86_64

2005-08-03 Thread Andi Kleen
On Sun, Jul 31, 2005 at 04:05:58PM -0400, Daniel Jacobowitz wrote: > The IA32 ptrace emulation currently returns the wrong registers for > fs/gs; it's returning what x86_64 calls gs_base. We need regs.gsindex > in order for GDB to correctly locate the TLS area. Without this patch, > the 32-bit GD

Re: [PATCH] MM, NUMA : sys_set_mempolicy() doesnt check if mode < 0

2005-08-03 Thread Andi Kleen
On Tue, Aug 02, 2005 at 12:07:23AM +0200, Eric Dumazet wrote: > MM, NUMA : sys_set_mempolicy() doesnt check if mode < 0 > > A kernel BUG() is triggered by a call to set_mempolicy() with a negative > first argument. > This is because the mode is declared as an int, and the validity check > doesnt

Re: Power consumption HZ100, HZ250, HZ1000: new numbers

2005-08-03 Thread Hans Kristian Rosbach
On Tue, 2005-08-02 at 00:50 -0400, James Bruce wrote: > Theodore Ts'o wrote: > > On Mon, Aug 01, 2005 at 12:18:18PM -0400, James Bruce wrote: > >>The tradeoff is a realistic 4.4% power savings vs a 300% increase in > >>the minimum sleep period. A user will see zero power savings if they > >>ha

Re: [PATCH 00/14] GFS

2005-08-03 Thread Arjan van de Ven
On Wed, 2005-08-03 at 11:56 +0800, David Teigland wrote: > The point is you can define GFS2_ENDIAN_BIG to compile gfs to be BE > on-disk instead of LE which is another useful way to verify endian > correctness. that sounds wrong to be a compile option. If you really want to deal with dual disk end

Re: revert yenta free_irq on suspend

2005-08-03 Thread Pavel Machek
Hi! > > But that believe would be total fantasy -- supsend/resume is not > > working on a large number of machines, and no distro is currently > > able to support it. (I'm talking about S3 suspend to RAM primarily, > > suspend to disk is less interesting -- though Red Hat doesn't > > even su

[PATCH] Wrong printk return value

2005-08-03 Thread Guillaume Chazarain
What's the true meaning of the printk return value? Should it include the prioty prefix length of 3? and what about the timing information? In both cases it was broken: strace -e write echo 1 > /dev/kmsg => write(1, "1\n", 2) = 5 strace -e write echo "<1>1" > /dev/kmsg => wr

Re: hotplug problem

2005-08-03 Thread bgerard
Clemens Koller wrote: Hi Ben! bgerard wrote: I'm working on an embeded system with linux kernel 2.4.27 and busybox 1.00. Lately I've decided to add hotplug feature to my kernel in order to automaticaly mount usb keys. When I plug the usb key, I can see in the kernel debug that "/sbin/hotp

Re: 2.6VMM, uClinux, & Comedi

2005-08-03 Thread Ian Abbott
On 02/08/05 22:12, NZG wrote: On Tuesday 02 August 2005 08:27, Ian Abbott wrote: On 01/08/05 14:17, NZG wrote: I managed to successfully cross-compile Comedi for the Coldfire uClinux 2.6, however it has several unresolved symbols when I try to load it. comedi: Unknown symbol pgd_offset_k com

Re: [PATCH 00/14] GFS

2005-08-03 Thread David Teigland
On Wed, Aug 03, 2005 at 11:17:09AM +0200, Arjan van de Ven wrote: > On Wed, 2005-08-03 at 11:56 +0800, David Teigland wrote: > > The point is you can define GFS2_ENDIAN_BIG to compile gfs to be BE > > on-disk instead of LE which is another useful way to verify endian > > correctness. > > that soun

Re: [PATCH 2.6.12.3] Deny chmod in /proc//

2005-08-03 Thread Johan Veenhuizen
Jan Engelhardt <[EMAIL PROTECTED]> wrote: > > >This patch tries to fix the strange behaviour in /proc//, > >where it is currently possible for the owner of a process to > >temporarily chmod the entries. > > I am on 2.6.13-rc3-git5 and I do not see such behavior: > > 08:16 spectre:/proc/21345 # chow

what is internal pipeline clock?

2005-08-03 Thread Mehul Vora
hi, can anybody tell me what is the differnce between internal pileline clock and the clock used to run the system interface ?? Are physically differnet?? Or are they related to each other in any ratio or wt ?? tks in advance Mehul. Send instant messages to your online friends http://uk.mess

Re: [PATCH] Automatically enable bigsmp when we have more than 8 CPUs

2005-08-03 Thread Andi Kleen
On Thu, Jul 28, 2005 at 11:51:42AM -0700, Venkatesh Pallipadi wrote: > smp_found_config = 1; > - clustered_apic_check(); Removing that here will break x86-64. > --- linux-2.6.13-rc3/arch/i386/kernel/mpparse.c 2005-07-29 > 00:58:06.1

Re: [PATCH] x86_64: Fix off by one in e820_mapped

2005-08-03 Thread Andi Kleen
On Fri, Jul 29, 2005 at 12:53:56PM -0600, Eric W. Biederman wrote: > > This allows a valid iommu placed immediately after memory > to work, to be recognized as after the last byte of memory > and not overlapping it. Looks good thanks. I see Andrew has already queued it up. -Andi > > Signed-off

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-03 Thread Nick Piggin
Hugh Dickins wrote: On Tue, 2 Aug 2005, Linus Torvalds wrote: Go for it, I think whatever we do won't be wonderfully pretty. Here we are: get_user_pages quite untested, let alone the racy case, but I think it should work. Please all hack it around as you see fit, I'll check mail when I get

Re: [patch 2/2] sched: reduce locking in periodic balancing

2005-08-03 Thread Nick Piggin
Ingo Molnar wrote: [...] Thanks for the corrections. btw., holding the runqueue lock during the initial scanning portion of load-balancing is one of the top PREEMPT_RT critical paths on SMP. (It's not bad, but it's one of the factors that makes SMP latencies higher.) Good, I'm glad they

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-03 Thread Martin Schwidefsky
Hugh Dickins <[EMAIL PROTECTED]> wrote on 08/02/2005 10:55:31 PM: > > Go for it, I think whatever we do won't be wonderfully pretty. > > Here we are: get_user_pages quite untested, let alone the racy case, > but I think it should work. Please all hack it around as you see fit, > I'll check mail w

Re: 2.6.13-rc5 randconfig kernel build errors

2005-08-03 Thread Grant Coady
On Tue, 02 Aug 2005 22:58:59 +1000, Grant Coady <[EMAIL PROTECTED]> wrote: >Greetings, > >Preliminary results, better sample (some hundreds) in a day or so. After 300 random builds, add one more error: drivers/acpi/osl.c:261: error: `AmlCode' undeclared (first use in this function) drivers/acpi/o

Re: [PATCH] Add Documentation/kprobes.txt

2005-08-03 Thread Suparna Bhattacharya
On Tue, Aug 02, 2005 at 03:20:06PM -0700, Jim Keniston wrote: > The enclosed patch creates Documentation/kprobes.txt, a guide to using > the existing Kprobes facility for dynamic kernel instrumentation. > Please apply. > > Jim Keniston > > Acked-by: Prasanna S Panchamukhi <[EMAIL PROTECTED]> > Si

Re: [patch] Real-Time Preemption, -RT-2.6.13-rc4-V0.7.52-01

2005-08-03 Thread Steven Rostedt
On Tue, 2005-08-02 at 19:58 -0700, Daniel Walker wrote: > The stack trace should show where the problem is . If it's in the kernel > we will see kernel functions before do_IRQ() , if it's just a whacked > out task then do_IRQ() would be first in the stack trace . The problem is not differentiatin

Re: [PATCH 00/14] GFS

2005-08-03 Thread Lars Marowsky-Bree
On 2005-08-03T11:56:18, David Teigland <[EMAIL PROTECTED]> wrote: > > * Why use your own journalling layer and not say ... jbd ? > Here's an analysis of three approaches to cluster-fs journaling and their > pros/cons (including using jbd): http://tinyurl.com/7sbqq Very instructive read, thanks f

[Question] arch-independent way to differentiate between user and kernel

2005-08-03 Thread Steven Rostedt
Hi all, I'm dealing with a problem where I want to know from __do_IRQ in kernel/irq/handle.c if the interrupt occurred while the process was in user space or kernel space. But the trick here is that it must work on all architectures. Does anyone know of some way that that function can tell if it

Re: Fw: ati-remote strangeness from 2.6.12 onwards

2005-08-03 Thread mdew
Hi Pavel, Further testing, I initated xmodmap -e "keycode $X = p" (where X was 10->255), so theoritcally, all the buttons on the ati-remote should be mapped to "p". I found the TV Button, The DVD Button, the CH-/+ and the OK Button all non-working, every other button produced the "p". xbindkeys -m

Re: [Question] arch-independent way to differentiate between user and kernel

2005-08-03 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm dealing with a problem where I want to know from __do_IRQ in > kernel/irq/handle.c if the interrupt occurred while the process was in > user space or kernel space. But the trick here is that it must work > on all architectures. >

Re: Testing RC kernels

2005-08-03 Thread Jiri Slaby
Michael Krufky napsal(a): 2.6.13-rc* patches apply against 2.6.12 NOT 2.6.12.x The best way to find out this, is to look into patch file on --- linux-2.6.13-rc4/Makefile line, a few lines below is -old version (to patch) and +new version as result ;). - To unsubscribe from this list: send

Re: [Question] arch-independent way to differentiate between user andkernel

2005-08-03 Thread linux-os \(Dick Johnson\)
On Wed, 3 Aug 2005, Steven Rostedt wrote: > Hi all, > > I'm dealing with a problem where I want to know from __do_IRQ in > kernel/irq/handle.c if the interrupt occurred while the process was in > user space or kernel space. But the trick here is that it must work on > all architectures. > > Does

Re: pci cacheline size / latency oddness.

2005-08-03 Thread Andi Kleen
On Mon, Aug 01, 2005 at 07:35:17PM -0400, Dave Jones wrote: > During boot of todays -git, I noticed this.. > > PCI: Setting latency timer of device :00:1d.7 to 64 > > after boot, lspci shows.. > > 00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI > Controller (rev

Re: Linux 2.6.13-rc5 - possible acpi regression?

2005-08-03 Thread Jan De Luyck
On Tuesday 02 August 2005 12:50, Rafael J. Wysocki wrote: > Please try to ad the ec_polling parameter to the kernel command line and > retest. That helps a lot. Thanks, it's back to the 'old way'. Jan -- ...Deep Hack Mode -- that mysterious and frightening state of consciousness where Mortal Use

[Question]No memory release after enlarge fib_info hash table

2005-08-03 Thread Yan Zheng
linux 2.6.12.3 net/ipv4/fib_semantics.c:line 679 if (fib_info_cnt >= fib_hash_size) { unsigned int new_size = fib_hash_size << 1; struct hlist_head *new_info_hash; struct hlist_head *new_laddrhash; unsigned int bytes;

Re: [PATCH 2.4.31 1/1] scsi/megaraid2: add 64-bit application sup?port

2005-08-03 Thread Andrey Melnikoff
Ju, Seokmann <[EMAIL PROTECTED]> wrote: > [-- text/plain, encoding 7bit, charset: iso-8859-1, 1346 lines --] > Hi Marcelo, > I've made changes that reflect your comments. > On Tuesday, July 26, 2005 4:33 AM, Marcelo Tosatti wrote: > > vary_io has never been part of mainline. How come did you add

Re: ahci, SActive flag, and the HD activity LED

2005-08-03 Thread André Tomt
Martin Wilck wrote: Jens Axboe wrote: If I am reading the specs correctly, that'd mean the ahci driver is wrong in setting the SActive bit. I completely agree, that was my reading of the spec as well and hence my original posts about this in the NCQ thread. Have you (or has anybody else)

Re: 2.6.13-rc5 randconfig kernel build errors

2005-08-03 Thread Adrian Bunk
On Wed, Aug 03, 2005 at 07:58:02PM +1000, Grant Coady wrote: > On Tue, 02 Aug 2005 22:58:59 +1000, Grant Coady <[EMAIL PROTECTED]> wrote: > > >Greetings, > > > >Preliminary results, better sample (some hundreds) in a day or so. > > After 300 random builds, add one more error: > drivers/acpi/osl.c

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-03 Thread Hugh Dickins
On Wed, 3 Aug 2005, Robin Holt wrote: > On Mon, Aug 01, 2005 at 11:18:42AM -0700, Linus Torvalds wrote: > > > > Can somebody who saw the problem in the first place please verify? > > Unfortunately, I can not get the user test to run against anything but the > SLES9 SP2 kernel. I took the commit

Re: Calling suspend() in halt/restart/shutdown -> not a good idea

2005-08-03 Thread Benjamin Herrenschmidt
On Tue, 2005-08-02 at 11:53 +0200, Pavel Machek wrote: > Hi! > > > Why are we calling driver suspend routines in these ? This is _not_ > > Well, reason is that if you remove device_suspend() you'll get > emergency hard disk park during powerdown. As harddrives can survive > only limited number of

PROBLEM: ReiserFS crashing

2005-08-03 Thread Daniel Walter
Acessing the (software-)raid1 results in crash of shell raid worked ok for some days before error message appeared upon first hangup: Linux version 2.6.11.10BERNHADINERMBO.DE ([EMAIL PROTECTED]) (gcc version 3.3.4) #3 Fri Jul 15 11:53:00 CEST 2005 ReiserFS: warning: is_leaf: item location se

Re: [Question] arch-independent way to differentiate between user andkernel

2005-08-03 Thread Steven Rostedt
On Wed, 2005-08-03 at 06:56 -0400, linux-os (Dick Johnson) wrote: > On Wed, 3 Aug 2005, Steven Rostedt wrote: > The interrupt handler gets a pointer to a structure called "struct pt_regs". > That contains, amongst other things, the registers pushed onto the stack > during the interrupt. If the segm

Re: [linux-usb-devel] Re: Fw: ati-remote strangeness from 2.6.12 onwards

2005-08-03 Thread Frank Loeffler
Hi 'mdew' (you do have a name, do you?), mdew wrote: mapped to "p". I found the TV Button, The DVD Button, the CH-/+ and the OK Button all non-working, every other button produced the "p". Could you please try 'showkey -s' from a console on all of those keys? Pavel: I would think that 'more u

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-03 Thread Hugh Dickins
On Wed, 3 Aug 2005, Nick Piggin wrote: > Hugh Dickins wrote: > > > > Here we are: get_user_pages quite untested, let alone the racy case, > > but I think it should work. Please all hack it around as you see fit, > > I'll check mail when I get home, but won't be very responsive... > > Seems OK to

Re: revert yenta free_irq on suspend

2005-08-03 Thread Benjamin Herrenschmidt
On Tue, 2005-08-02 at 12:56 +0200, Pavel Machek wrote: > Hi! > > > > Also, as I said earlier, the better we support OSPM initiated power > > > management, the more likely APM will break. This may be technically > > > unavoidable on some isolated boxes without quirks. I agree with > > > Pavel tha

Re: Calling suspend() in halt/restart/shutdown -> not a good idea

2005-08-03 Thread Benjamin Herrenschmidt
On Tue, 2005-08-02 at 16:45 +0200, Pavel Machek wrote: > Hi! > > > >> Why are we calling driver suspend routines in these ? This is _not_ > > > > > > Well, reason is that if you remove device_suspend() you'll get > > > emergency hard disk park during powerdown. As harddrives can survive > > > only

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-03 Thread Hugh Dickins
On Wed, 3 Aug 2005, Martin Schwidefsky wrote: > Hugh Dickins <[EMAIL PROTECTED]> wrote on 08/02/2005 10:55:31 PM: > > > > Here we are: get_user_pages quite untested, let alone the racy case, > > Ahh, just tested it and everythings seems to work (even for s390).. > I'm happy :-) Thanks for testing

Re: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-03 Thread Jan De Luyck
On Wednesday 03 August 2005 07:59, Con Kolivas wrote: > This is the dynamic ticks patch for i386 as written by Tony Lindgen > <[EMAIL PROTECTED]> and Tuukka Tikkanen <[EMAIL PROTECTED]>. > Patch for 2.6.13-rc5 > Compiles and runs ok here. Is there actually any timer frequency that's advisable to

Re: Calling suspend() in halt/restart/shutdown -> not a good idea

2005-08-03 Thread Benjamin Herrenschmidt
On Tue, 2005-08-02 at 08:40 -0600, Eric W. Biederman wrote: > Pavel Machek <[EMAIL PROTECTED]> writes: > > > Hi! > > > >> Why are we calling driver suspend routines in these ? This is _not_ > > > > Well, reason is that if you remove device_suspend() you'll get > > emergency hard disk park during p

Re: Calling suspend() in halt/restart/shutdown -> not a good idea

2005-08-03 Thread Benjamin Herrenschmidt
On Tue, 2005-08-02 at 12:04 +0200, Pavel Machek wrote: > Hi! > > > Why are we calling driver suspend routines in these ? This is _not_ a > > good idea ! On various machines, the mecanisms for shutting down are > > quite different from suspend/resume, and current drivers have too many > > bugs to m

Re: Calling suspend() in halt/restart/shutdown -> not a good idea

2005-08-03 Thread Benjamin Herrenschmidt
> I'd like to get rid of shutdown callback. Having two copies of code > (one in callback, one in suspend) is ugly. Well, it's obviously not a good time for this. First, suspend and shutdown don't necessarily do the same thing, then it just doesn't work in practice. So either do it right completel

Re: [ck] [ANNOUNCE] Interbench v0.26

2005-08-03 Thread Con Kolivas
On Wed, 3 Aug 2005 22:01, Gabriel Devenyi wrote: > You haven't quite completely fixed the SD calculations it seems: > > > --- Benchmarking simulated cpu of Gaming in the presence of simulated--- > LoadLatency +/- SD (ms) Max Latency % Desired CPU > None 2.44 +/- nan 48.6

Re: [Question] arch-independent way to differentiate between user andkernel

2005-08-03 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > On Wed, 2005-08-03 at 06:56 -0400, linux-os (Dick Johnson) wrote: > > On Wed, 3 Aug 2005, Steven Rostedt wrote: > > The interrupt handler gets a pointer to a structure called "struct pt_regs". > > That contains, amongst other things, the registers pus

Re: [ck] [ANNOUNCE] Interbench v0.26

2005-08-03 Thread Gabriel Devenyi
You haven't quite completely fixed the SD calculations it seems: --- Benchmarking simulated cpu of Gaming in the presence of simulated--- LoadLatency +/- SD (ms) Max Latency % Desired CPU None 2.44 +/- nan 48.698.7 Video 12.8 +/- nan 55.2

Re: [Patch] v4l cx88 hue offset fix

2005-08-03 Thread Horms
On Tue, Aug 02, 2005 at 08:41:27AM -0400, Michael Krufky wrote: > Horms wrote: > > >Hi Marcelo, > > > >Another fix from 2.6.12.3 that seems approprite for 2.4. > >Should apply cleanly to your tree. > > > > > Horms- > > Thank you for the effort of trying to get this into 2.4, but I don't > thin

Re: [patch 2.6.13-rc4] fix get_user_pages bug

2005-08-03 Thread Nick Piggin
Hugh Dickins wrote: Stupidity was the reason I thought handle_mm_fault couldn't be inline: I was picturing it static inline within mm/memory.c, failed to make the great intellectual leap you've achieved by moving it to include/linux/mm.h. Well it was one of my finer moments, so don't be too h

Re: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-03 Thread Con Kolivas
On Wed, 3 Aug 2005 21:54, Jan De Luyck wrote: > On Wednesday 03 August 2005 07:59, Con Kolivas wrote: > > This is the dynamic ticks patch for i386 as written by Tony Lindgen > > <[EMAIL PROTECTED]> and Tuukka Tikkanen <[EMAIL PROTECTED]>. > > Patch for 2.6.13-rc5 > > Compiles and runs ok here. > >

Segfaults in mkdir under high load. Software or hardware?

2005-08-03 Thread Jules Colding
Hi, I am experiencing segfaults in mkdir, and mkdir alone, under high load. I have tried to eliminate the RAM by letting memtest86plus run overnight (no errors found). dmesg does report other filesystem related segfaults and some others that I am not so sure of. I am not really qualified to guess

Re: Bug#320379: Errors during initrd loading when / is on LVM over RAID

2005-08-03 Thread Horms
On Fri, Jul 29, 2005 at 12:41:38AM +0200, Frans Pop wrote: > Package: kernel > Tags: patch > > After switching from a 2.4.27 to 2.6.8 kernel for an old desktop Iuse as > a server, I noticed the following messages on console and kern.log. > Note: the errors are not harmful, just ugly; the system bo

Re: [Question] arch-independent way to differentiate between user and kernel

2005-08-03 Thread Steven Rostedt
On Wed, 2005-08-03 at 12:48 +0200, Ingo Molnar wrote: > > i dont think there's any. user_mode(regs) gets the closest - it might > make sense to generalize it over all arches. > > update_process_times() gets an arch-independent 'was the tick user-space > or kernel-space' flag, so the best starti

Re: [Question] arch-independent way to differentiate between user andkernel

2005-08-03 Thread Steven Rostedt
On Wed, 2005-08-03 at 14:04 +0200, Ingo Molnar wrote: > * Steven Rostedt <[EMAIL PROTECTED]> wrote: > > > On Wed, 2005-08-03 at 06:56 -0400, linux-os (Dick Johnson) wrote: > > > On Wed, 3 Aug 2005, Steven Rostedt wrote: > > > The interrupt handler gets a pointer to a structure called "struct > >

Re: Linux, Get the facts?

2005-08-03 Thread Bernd Petrovitsch
On Tue, 2005-08-02 at 14:19 -0600, Alejandro Bonilla wrote: [...] > I watched some commercials and I almost puked when I looked at the > Microsoft Get the Facts for Linux vs Windows Server stuff. > > They have a url which is http://www.microsoft.com/getthefacts Yes, this propaganda exists s

Re: BTTV - experimental no_overlay patch

2005-08-03 Thread Mauro Carvalho Chehab
Pavel, Em Qua, 2005-08-03 às 08:06 +0200, Pavel Machek escreveu: > Hi! > > > This small patch will allow no_overlay flag to disable BTTV driver to > > report OVERLAY capabilities. It should fix your troubles by enabling > > no_overlay=1 when inserting bttv module. > > > > This patch is a

Re: Segfaults in mkdir under high load. Software or hardware?

2005-08-03 Thread bert hubert
On Wed, Aug 03, 2005 at 02:14:03PM +0200, Jules Colding wrote: > I am experiencing segfaults in mkdir, and mkdir alone, under high load. I've seen errors like these happen, and they were kernel bugs. > [0.00] Bootdata ok (command line is root=/dev/sda4 vga=0x31B > video=vesafb:mtrr,ywrap

Re: [patch 07/15] Basic x86_64 support

2005-08-03 Thread Andi Kleen
Only reading the changes outside kgdb.c > + > +#ifdef CONFIG_KGDB > + /* > + * Has KGDB been told to break as soon as possible? > + */ > + if (kgdb_initialized == -1) > + tasklet_schedule(&kgdb_tasklet_breakpoint); That doesn't make much sense here. tasklet will

Re: Linux, Get the facts?

2005-08-03 Thread Martin Drab
On Wed, 3 Aug 2005, Jan Engelhardt wrote: > >> Hmmm . They put it such that it plays only in microsoft media player. > >> Case > >> closed :) > > > >I think you're vastly underestimating the skills of MPlayer. ;-) > >mplayer > >mms://wm.microsoft.com/ms/windowsserversystem/facts/videos/che

Re: Segfaults in mkdir under high load. Software or hardware?

2005-08-03 Thread Steven Rostedt
On Wed, 2005-08-03 at 14:57 +0200, bert hubert wrote: > I've seen errors like these happen, and they were kernel bugs. > > > [0.00] Bootdata ok (command line is root=/dev/sda4 vga=0x31B > > video=vesafb:mtrr,ywrap) > > [0.00] Linux version 2.6.12-gentoo-r6 ([EMAIL PROTECTED]) (gcc

Re: [PATCH] x86_64 : prefetchw() can fall back to prefetch() if !3DNOW

2005-08-03 Thread Andi Kleen
On Thu, Jul 28, 2005 at 07:10:41PM +0200, Eric Dumazet wrote: > [PATCH] x86_64 : prefetchw() can fall back to prefetch() if !3DNOW > > If the cpu lacks 3DNOW feature, we can use a normal prefetcht0 instruction > instead of NOP5. > "prefetchw (%rxx)" and "prefetcht0 (%rxx)" have the same length, r

Re: pci cacheline size / latency oddness.

2005-08-03 Thread Andi Kleen
On Mon, Aug 01, 2005 at 08:41:49PM -0400, Parag Warudkar wrote: > On Mon, 2005-08-01 at 19:35 -0400, Dave Jones wrote: > > This means we will do the wrong thing on AMD machines which have > > 64 byte cachelines. > > pcibios_init (in i386/pci/common.c, which is linked in by X86_64 PCI > code) seems

Re: [patch 07/15] Basic x86_64 support

2005-08-03 Thread Tom Rini
On Wed, Aug 03, 2005 at 03:05:31PM +0200, Andi Kleen wrote: > > Only reading the changes outside kgdb.c > > > + > > +#ifdef CONFIG_KGDB > > + /* > > +* Has KGDB been told to break as soon as possible? > > +*/ > > + if (kgdb_initialized == -1) > > + tasklet_schedule(&kgdb

PROBLEM: reproductible oops, NFS, gigabit network, x86_64

2005-08-03 Thread Laurent Wandrebeck
Hi, please CC me on replies. [1.] One line summary of the problem: Oops while copying on a distant volume using NFS. [2.] Full description of the problem/report: Two boxes A and B. B mounts /home from A. Start a big copy from B to A (using B). Oopses quite quickly. Doesn't happen if A moun

[PATCH] VM: add vm.free_node_memory sysctl

2005-08-03 Thread Martin Hicks
On Tue, Aug 02, 2005 at 11:07:46PM +0200, Ingo Molnar wrote: > > * Martin Hicks <[EMAIL PROTECTED]> wrote: > > > On Mon, Aug 01, 2005 at 09:54:26PM +0200, Ingo Molnar wrote: > > > > > > * Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > > > > We could perhaps add a CAP_SYS_ADMIN-only sysctl

Re: Power consumption HZ100, HZ250, HZ1000: new numbers

2005-08-03 Thread Dmitry Torokhov
On 8/3/05, Hans Kristian Rosbach <[EMAIL PROTECTED]> wrote: > On Tue, 2005-08-02 at 00:50 -0400, James Bruce wrote: > > Theodore Ts'o wrote: > > > On Mon, Aug 01, 2005 at 12:18:18PM -0400, James Bruce wrote: > > >>The tradeoff is a realistic 4.4% power savings vs a 300% increase in > > >>the min

Re: Bug#320379: Errors during initrd loading when / is on LVM over RAID

2005-08-03 Thread Adrian Bunk
On Wed, Aug 03, 2005 at 08:54:37PM +0900, Horms wrote: >... > Hi Frans, > > The null devfs_name check seems fine to me, > I've CCed Richard Gooch for comment, hopefully > he can offer one despite devfs being debricated > upstream. >... The DEVFS_FS config option is no longer available in 2.6.13 m

Re: [PATCH] VM: add vm.free_node_memory sysctl

2005-08-03 Thread Andi Kleen
On Wed, Aug 03, 2005 at 09:56:46AM -0400, Martin Hicks wrote: > > On Tue, Aug 02, 2005 at 11:07:46PM +0200, Ingo Molnar wrote: > > > > * Martin Hicks <[EMAIL PROTECTED]> wrote: > > > > > On Mon, Aug 01, 2005 at 09:54:26PM +0200, Ingo Molnar wrote: > > > > > > > > * Andrew Morton <[EMAIL PROTECT

Re: [UPDATE PATCH] Add schedule_timeout_{intr,unintr}{,_msecs}() interfaces

2005-08-03 Thread Roman Zippel
Hi, On Mon, 1 Aug 2005, Nishanth Aravamudan wrote: > +unsigned int __sched schedule_timeout_msecs(unsigned int timeout_msecs) > +{ > + unsigned long expire_jifs; > + > + if (timeout_msecs == MAX_SCHEDULE_TIMEOUT_MSECS) { > + expire_jifs = MAX_SCHEDULE_TIMEOUT; > + } else {

Re: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 3

2005-08-03 Thread Jan De Luyck
On Wednesday 03 August 2005 14:14, Con Kolivas wrote: > On Wed, 3 Aug 2005 21:54, Jan De Luyck wrote: > > On Wednesday 03 August 2005 07:59, Con Kolivas wrote: > > > This is the dynamic ticks patch for i386 as written by Tony Lindgen > > > <[EMAIL PROTECTED]> and Tuukka Tikkanen > > > <[EMAIL PROTE

Re: vesafb-fix-mtrr-bugs.patch added to -mm tree

2005-08-03 Thread Andi Kleen
> The pains of MTRR strike again. This stuff is just screaming for > a usable PAT implementation. Andi, you were working on that, any news ? No news yet, but work will hopefully start soon. > Or should I resurrect Terrence's patch again ? Perhaps useful for some preliminary testing. -Andi - To

Re: [PATCH] VM: add vm.free_node_memory sysctl

2005-08-03 Thread Martin Hicks
On Wed, Aug 03, 2005 at 04:15:29PM +0200, Andi Kleen wrote: > On Wed, Aug 03, 2005 at 09:56:46AM -0400, Martin Hicks wrote: > > > > Here's the promised sysctl to dump a node's pagecache. Please review! > > > > This patch depends on the zone reclaim atomic ops cleanup: > > http://marc.theaimsgro

2.6 partition support driver methods

2005-08-03 Thread Mukund JB.
Dear all, I have a driver implemented to support single partition in 2.6 kernels. I have a requirement of supporting multiple partitions in my block driver to support flash media devices. I have modified the alloc_disk(1) to alloc_dosk(16) to support a MAX of 16 partitions. This way I have conve

Re: [PATCH 00/14] GFS

2005-08-03 Thread Andi Kleen
David Teigland <[EMAIL PROTECTED]> writes: > Hi, GFS (Global File System) is a cluster file system that we'd like to > see added to the kernel. The 14 patches total about 900K so I won't send > them to the list unless that's requested. Comments and suggestions are > welcome. Thanks > > http://

  1   2   3   >