[PATCH] ftdi_sio: fix FT232RL support for TIOCMGET

2007-10-06 Thread Bernardo Innocenti
remove the dev_attr_latency_timer sysfs file in the FT232RL case. Note by Bernardo Innocenti: the ftdi_sio maintainer appears to have stepped down, so I'm sending this to Greg Kroah-Hartman as the generic USB serial maintainer. Please, let me know if this is not appropriate. Signed-Off-By: Francesco Sacchi &

[PATCH] ftdi_sio: fix FT232RL support for TIOCMGET

2007-10-06 Thread Bernardo Innocenti
the dev_attr_latency_timer sysfs file in the FT232RL case. Note by Bernardo Innocenti: the ftdi_sio maintainer appears to have stepped down, so I'm sending this to Greg Kroah-Hartman as the generic USB serial maintainer. Please, let me know if this is not appropriate. Signed-Off-By: Francesco Sacchi [EMAIL

Re: [PATCH] GEODE: decouple sleep/resume from powerdown/powerup

2007-10-05 Thread Bernardo Innocenti
he process. -- \___/ |___| Bernardo Innocenti - http://www.codewiz.org/ \___\ One Laptop Per Child - http://www.laptop.org/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-i

Re: [PATCH] GEODE: decouple sleep/resume from powerdown/powerup

2007-10-05 Thread Bernardo Innocenti
. -- \___/ |___| Bernardo Innocenti - http://www.codewiz.org/ \___\ One Laptop Per Child - http://www.laptop.org/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

[PATCH] GEODE: decouple sleep/resume from powerdown/powerup (take 2)

2007-09-23 Thread Bernardo Innocenti
in both the suspend and powerdown cases, otherwise we restore stale register state when we unfreeze. Signed-off-by: Bernardo Innocenti <[EMAIL PROTECTED]> --- drivers/video/fbmem.c | 47 +-- drivers/video/geode/geodefb.h | 13 +++-- drivers/video/geode/gxfb_core

[PATCH] GEODE: decouple sleep/resume from powerdown/powerup

2007-09-23 Thread Bernardo Innocenti
er amusing OLPC bug #3603 that made the toolbar icons come up tinted in green when "pretty boot" was enabled. Tested on both B2 (GX) and B3 (LX) machines. Both the freeze/unfreeze and suspend/resume codepaths work as expected. Signed-off-by: Bernardo Innocenti <[EMAIL PROTECTED]>

[PATCH] GEODE: decouple sleep/resume from powerdown/powerup

2007-09-23 Thread Bernardo Innocenti
bug #3603 that made the toolbar icons come up tinted in green when pretty boot was enabled. Tested on both B2 (GX) and B3 (LX) machines. Both the freeze/unfreeze and suspend/resume codepaths work as expected. Signed-off-by: Bernardo Innocenti [EMAIL PROTECTED] --- drivers/video/fbmem.c

[PATCH] GEODE: decouple sleep/resume from powerdown/powerup (take 2)

2007-09-23 Thread Bernardo Innocenti
and powerdown cases, otherwise we restore stale register state when we unfreeze. Signed-off-by: Bernardo Innocenti [EMAIL PROTECTED] --- drivers/video/fbmem.c | 47 +-- drivers/video/geode/geodefb.h | 13 +++-- drivers/video/geode/gxfb_core.c | 17 +++ drivers/video

Re: kdb: add rdmsr and wrmsr commands for i386

2007-05-17 Thread Bernardo Innocenti
cely from GPF anyway. It's the valid MSR writes that could cause unrecoveable problems! :) -- // Bernardo Innocenti \X/ http://www.codewiz.org/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majo

Re: kdb: add rdmsr and wrmsr commands for i386

2007-05-17 Thread Bernardo Innocenti
anyway. It's the valid MSR writes that could cause unrecoveable problems! :) -- // Bernardo Innocenti \X/ http://www.codewiz.org/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: kdb: add rdmsr and wrmsr commands for i386

2007-05-15 Thread Bernardo Innocenti
Sep 17 00:00:00 2001 From: Bernardo Innocenti <[EMAIL PROTECTED]> Date: Tue, 15 May 2007 15:29:48 -0400 Subject: [PATCH] kdb: add rdmsr and wrmsr commands for i386 (take 3) The syntax is: rdmsr wrmsr Signed-off-by: Bernardo Innocenti <[EMAIL PROTECT

Re: kdb: add rdmsr and wrmsr commands for i386

2007-05-15 Thread Bernardo Innocenti
to coordinate the order of the high and low dwords with the order they are specified with 'wrmsr'? Yeah, I did it as suggested by Mitch. Here's a thrid revision of the patch with everything included: From 1850ca76585306e2484cf5e709434049f1df3c1f Mon Sep 17 00:00:00 2001 From: Bernardo Innocenti

Re: Writing performance problem with SAS1068

2007-02-07 Thread Bernardo Innocenti
Thank you very much! But... who do you think I should bug to make this the system default? Does write caching need to be enabled by the driver itself, in the SCSI layer or perhaps by the distro initscripts? -- // Bernardo Innocenti - Develer S.r.l., R dept. \X/ http://www.devel

Re: Writing performance problem with SAS1068

2007-02-07 Thread Bernardo Innocenti
very much! But... who do you think I should bug to make this the system default? Does write caching need to be enabled by the driver itself, in the SCSI layer or perhaps by the distro initscripts? -- // Bernardo Innocenti - Develer S.r.l., RD dept. \X/ http://www.develer.com

Re: [Linux-fbdev-devel] How to mmap a shadow framebuffer in virtual memory

2007-02-06 Thread Bernardo Innocenti
Bernardo Innocenti wrote: I still couldn't solve my problem, but thanks for helping. The way you map memory in ps3fb_mmap() is basically the same. In my case, memory is allocated with __get_free_pages() instead of being at an absolute physical address, but I can't see how it could make any

Writing performance problem with SAS1068

2007-02-06 Thread Bernardo Innocenti
wer... less than 1MB/s. - Windows Vista (rc something) writes at 90MB/s. Too fast to believe, maybe dd from Cygwin is misbehaving. -- // Bernardo Innocenti - Develer S.r.l., R dept. \X/ http://www.develer.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Writing performance problem with SAS1068

2007-02-06 Thread Bernardo Innocenti
... less than 1MB/s. - Windows Vista (rc something) writes at 90MB/s. Too fast to believe, maybe dd from Cygwin is misbehaving. -- // Bernardo Innocenti - Develer S.r.l., RD dept. \X/ http://www.develer.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [Linux-fbdev-devel] How to mmap a shadow framebuffer in virtual memory

2007-02-06 Thread Bernardo Innocenti
Bernardo Innocenti wrote: I still couldn't solve my problem, but thanks for helping. The way you map memory in ps3fb_mmap() is basically the same. In my case, memory is allocated with __get_free_pages() instead of being at an absolute physical address, but I can't see how it could make any

Re: [Linux-fbdev-devel] How to mmap a shadow framebuffer in virtual memory

2007-01-14 Thread Bernardo Innocenti
b=HEAD I still couldn't solve my problem, but thanks for helping. The way you map memory in ps3fb_mmap() is basically the same. In my case, memory is allocated with __get_free_pages() instead of being at an absolute physical address, but I can't see how it could make any difference. -- //

Re: [Linux-fbdev-devel] How to mmap a shadow framebuffer in virtual memory

2007-01-14 Thread Bernardo Innocenti
still couldn't solve my problem, but thanks for helping. The way you map memory in ps3fb_mmap() is basically the same. In my case, memory is allocated with __get_free_pages() instead of being at an absolute physical address, but I can't see how it could make any difference. -- // Bernardo

How to mmap a shadow framebuffer in virtual memory

2007-01-13 Thread Bernardo Innocenti
r.l. (http://www.develer.com/) * Author: Bernardo Innocenti <[EMAIL PROTECTED]> * Author: Stefano Fedrigo <[EMAIL PROTECTED]> * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * f

How to mmap a shadow framebuffer in virtual memory

2007-01-13 Thread Bernardo Innocenti
. (http://www.develer.com/) * Author: Bernardo Innocenti [EMAIL PROTECTED] * Author: Stefano Fedrigo [EMAIL PROTECTED] * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details

Re: sched_yield() makes OpenLDAP slow

2005-08-18 Thread Bernardo Innocenti
Andi Kleen wrote: > Bernardo Innocenti <[EMAIL PROTECTED]> writes: > > It's really more a feature than a bug that it breaks so easily > because they should be really using futexes instead, which > have much better behaviour than any sched_yield ever could > (they will

Re: sched_yield() makes OpenLDAP slow

2005-08-18 Thread Bernardo Innocenti
ct sched_yield() to only reschedule the calling thread wrt its sibling threads, to be used to implement do-it-yourself spinlocks and the like. -- // Bernardo Innocenti - Develer S.r.l., R dept. \X/ http://www.develer.com/ - To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: sched_yield() makes OpenLDAP slow

2005-08-18 Thread Bernardo Innocenti
the calling thread wrt its sibling threads, to be used to implement do-it-yourself spinlocks and the like. -- // Bernardo Innocenti - Develer S.r.l., RD dept. \X/ http://www.develer.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: sched_yield() makes OpenLDAP slow

2005-08-18 Thread Bernardo Innocenti
Andi Kleen wrote: Bernardo Innocenti [EMAIL PROTECTED] writes: It's really more a feature than a bug that it breaks so easily because they should be really using futexes instead, which have much better behaviour than any sched_yield ever could (they will directly wake up another process

Re: sched_yield() makes OpenLDAP slow

2005-08-17 Thread Bernardo Innocenti
dap.org/its/index.cgi/Incoming?id=3950;page=2 -- // Bernardo Innocenti - Develer S.r.l., R dept. \X/ http://www.develer.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger

sched_yield() makes OpenLDAP slow

2005-08-17 Thread Bernardo Innocenti
other threads. See: int ldap_pvt_thread_yield( void ) { #if HAVE_THR_YIELD return thr_yield(); #elif HAVE_PTHREADS == 10 return sched_yield(); #elif defined(_POSIX_THREAD_IS_GNU_PTH) sched_yield(); return 0; #elif HAVE_PTHREADS == 6 pthread_yield(NULL);

sched_yield() makes OpenLDAP slow

2005-08-17 Thread Bernardo Innocenti
thr_yield(); #elif HAVE_PTHREADS == 10 return sched_yield(); #elif defined(_POSIX_THREAD_IS_GNU_PTH) sched_yield(); return 0; #elif HAVE_PTHREADS == 6 pthread_yield(NULL); return 0; #else pthread_yield(); return 0; #endif } -- // Bernardo

Re: sched_yield() makes OpenLDAP slow

2005-08-17 Thread Bernardo Innocenti
=2 -- // Bernardo Innocenti - Develer S.r.l., RD dept. \X/ http://www.develer.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: NFS client bug in 2.6.8-2.6.11

2005-03-15 Thread Bernardo Innocenti
ind out by downloading the SRPM. Now that Fedora provides a public CVS, perhaps it could be used to make such investigations directly with the cvsweb interface without downloading and unpacking a 40MB file. -- // Bernardo Innocenti - Develer S.r.l., R dept. \X/ http://www.develer.com/ - To unsu

Re: NFS client bug in 2.6.8-2.6.11

2005-03-15 Thread Bernardo Innocenti
provides a public CVS, perhaps it could be used to make such investigations directly with the cvsweb interface without downloading and unpacking a 40MB file. -- // Bernardo Innocenti - Develer S.r.l., RD dept. \X/ http://www.develer.com/ - To unsubscribe from this list: send the line unsubscribe

Re: NFS client bug in 2.6.8-2.6.11

2005-03-08 Thread Bernardo Innocenti
Anders Saaby wrote: On Tuesday 08 March 2005 08:03, Bernardo Innocenti wrote: Bernardo Innocenti wrote: Trond Myklebust wrote: I also can't reproduce the problem on an older client running 2.4.21. Well, actually I tried harder with the 2.4.21 client and I obtained a similar effect: So, instead

Re: NFS client bug in 2.6.8-2.6.11

2005-03-08 Thread Bernardo Innocenti
Trond Myklebust wrote: ty den 08.03.2005 Klokka 07:38 (+0100) skreiv Bernardo Innocenti: Two clients started showing the problem after being upgraded from FC2 to FC3, while the server remained unchanged. Can you produce tcpdumps to back that up? Neil's problem appeared rather to be server-related

Re: NFS client bug in 2.6.8-2.6.11

2005-03-08 Thread Bernardo Innocenti
Trond Myklebust wrote: ty den 08.03.2005 Klokka 07:38 (+0100) skreiv Bernardo Innocenti: Two clients started showing the problem after being upgraded from FC2 to FC3, while the server remained unchanged. Can you produce tcpdumps to back that up? Neil's problem appeared rather to be server-related

Re: NFS client bug in 2.6.8-2.6.11

2005-03-08 Thread Bernardo Innocenti
Anders Saaby wrote: On Tuesday 08 March 2005 08:03, Bernardo Innocenti wrote: Bernardo Innocenti wrote: Trond Myklebust wrote: I also can't reproduce the problem on an older client running 2.4.21. Well, actually I tried harder with the 2.4.21 client and I obtained a similar effect: So, instead

Re: NFS client bug in 2.6.8-2.6.11

2005-03-07 Thread Bernardo Innocenti
Bernardo Innocenti wrote: Trond Myklebust wrote: I also can't reproduce the problem on an older client running 2.4.21. Well, actually I tried harder with the 2.4.21 client and I obtained a similar effect: naraku:/pub/linux/distro/fedora-devel# ll ls: .: Stale NFS file handle naraku:/pub/linux

Re: NFS client bug in 2.6.8-2.6.11

2005-03-07 Thread Bernardo Innocenti
Trond Myklebust wrote: ty den 08.03.2005 Klokka 05:53 (+0100) skreiv Bernardo Innocenti: Appears to be a client bug. Why? Two clients started showing the problem after being upgraded from FC2 to FC3, while the server remained unchanged. I also can't reproduce the problem on an older client running

NFS client bug in 2.6.8-2.6.11

2005-03-07 Thread Bernardo Innocenti
Appears to be a client bug. The problem only happens when there's heavy filesystem activity on other filesystems (local or NFS). NFS mount options: rw,_netdev,rsize=32768,wsize=32768,hard,intr,proto=udp,addr=10.3.3.1 -- // Bernardo Innocenti - Develer S.r.l., R dept. \X/ http://www.develer.com

NFS client bug in 2.6.8-2.6.11

2005-03-07 Thread Bernardo Innocenti
Appears to be a client bug. The problem only happens when there's heavy filesystem activity on other filesystems (local or NFS). NFS mount options: rw,_netdev,rsize=32768,wsize=32768,hard,intr,proto=udp,addr=10.3.3.1 -- // Bernardo Innocenti - Develer S.r.l., RD dept. \X/ http://www.develer.com

Re: NFS client bug in 2.6.8-2.6.11

2005-03-07 Thread Bernardo Innocenti
Trond Myklebust wrote: ty den 08.03.2005 Klokka 05:53 (+0100) skreiv Bernardo Innocenti: Appears to be a client bug. Why? Two clients started showing the problem after being upgraded from FC2 to FC3, while the server remained unchanged. I also can't reproduce the problem on an older client running

Re: NFS client bug in 2.6.8-2.6.11

2005-03-07 Thread Bernardo Innocenti
Bernardo Innocenti wrote: Trond Myklebust wrote: I also can't reproduce the problem on an older client running 2.4.21. Well, actually I tried harder with the 2.4.21 client and I obtained a similar effect: naraku:/pub/linux/distro/fedora-devel# ll ls: .: Stale NFS file handle naraku:/pub/linux

PROBLEM: mounting affs over loop hangs in syscall (x86 only?)

2000-12-18 Thread Bernardo Innocenti
my system for deeper inspection. -- // Bernardo Innocenti \X/ http://www.codewiz.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

PROBLEM: mounting affs over loop hangs in syscall (x86 only?)

2000-12-18 Thread Bernardo Innocenti
my system for deeper inspection. -- // Bernardo Innocenti \X/ http://www.codewiz.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/