[ALSA PATCH] alsa-git merge request

2007-01-23 Thread Jaroslav Kysela
Linus, please do an update from: http://www.kernel.org/pub/scm/linux/kernel/git/perex/alsa.git (linus branch) The GNU patch is available at: ftp://ftp.alsa-project.org/pub/kernel-patches/alsa-git-2007-01-23.patch.gz The following files will be updated: sound/usb/usx2y/usbusx2yaudio.c |

Re: XFS or Kernel Problem / Bug

2007-01-23 Thread Stefan Priebe - FH
Hi! I can give you an idea of the workload :-) I have the same problem on an nearly idle Server. There runs only a few cronjobs (normal Debian System crons). The load was not higher than 0.01 on this system the last 3 days and this morning it crashes with the same error. I've not tested 2.

Re: Why active list and inactive list?

2007-01-23 Thread Peter Zijlstra
On Mon, 2007-01-22 at 18:03 -0800, Christoph Lameter wrote: > What happened to all those advanced page replacement endeavors? They are here: http://programming.kicks-ass.net/kernel-patches/page-replace/2.6.19-pr1/ I should update to .20 soonish. > What is the most promising of those? I'm still

Re: [PATCH] Undo some of the pseudo-security madness

2007-01-23 Thread Pavel Machek
Hi! > > nor will they work if the sysadmin applies a security update and glibc > > or another library changes one page in size. Or changes the stack rlimit > > or .. or .. > > Now, i figured out, there is a certain reasonable safety gap which works > for people, because the libraries depended on

Re: [PATCH] Undo some of the pseudo-security madness

2007-01-23 Thread Pavel Machek
Hi! > > > not "core-dumps" but "core files", in the lispspeak, but anyway. > > > > > > the reason is trivial -- if i can write programs enjoying setuid > > > privileges in C, i want to be able to do the same in Lisp. > > > > Go read up on how the XEmacs crew designed their "portable dumper", > >

2.6.19.2 sky2/acpi crashes

2007-01-23 Thread Lionel Landwerlin
Hi, I'm running a macbook with a Marvell ethernet controller, and I have a lots of freezes when using the ethernet controller under a load of ~100K/s. Since I'm running a 2.6.19.2 kernel, I'm able to get some report from the kernel. Here they are : Jan 23 09:30:57 cocoduo kernel: [ 662.92] N

usb2 external disk not recognized if connected during boot, but recognized if not connected during boot

2007-01-23 Thread Yakov Lerner
On a small Celeron-based appliance, Usb2 disk is not recognized *if* it is connected during kernel boot. But if not connected during boot, and I connect it later, it is recognized and works ok. I tried various 2.6.16, 17 and 18 kernels, both modular, and all-static, with the same result. What can

Re: [BUG] eth0 appers many times in /proc/interrupts after resume

2007-01-23 Thread Andrei Popa
It's ok, after 4 suspend/resume cycles, eth0 only appers one time. On Sun, 2007-01-21 at 21:22 +, Frederik Deweerdt wrote: > On Sun, Jan 21, 2007 at 09:17:41PM +0200, Andrei Popa wrote: > > It's the 10th resume and in /proc/interrupts eth0 appers 10 times. > > > Hi, > > The e100_resume() fu

Re: [PATCH] binfmt_elf: core dump masking support

2007-01-23 Thread Pavel Machek
On Tue 2007-01-23 13:42:00, Kawai, Hidehiro wrote: > Hi, > > >>>(run echo 1 > coremask, echo 0 > coremask in a loop while dumping > >>>core. Do you have enough locking to make it work as expected?) > >> > >>Currently, any lock isn't acquired. But I think the kernel only > >>have to preserve the c

Re: 2.6.19.2 sky2/acpi crashes

2007-01-23 Thread Luming Yu
Please try to remove processor module. On 1/23/07, Lionel Landwerlin <[EMAIL PROTECTED]> wrote: Hi, I'm running a macbook with a Marvell ethernet controller, and I have a lots of freezes when using the ethernet controller under a load of ~100K/s. Since I'm running a 2.6.19.2 kernel, I'm able to

Re: PROBLEM: KB->KiB, MB -> MiB, ... (IEC 60027-2)

2007-01-23 Thread Andreas Schwab
Krzysztof Halasa <[EMAIL PROTECTED]> writes: > Andreas Schwab <[EMAIL PROTECTED]> writes: > >> But other than the sector size there is no natural power of 2 connected to >> disk size. A disk can have any odd number of sectors. > > But the manufacturers don't count in sectors. The exact number of

New patch: drm-populated memory types

2007-01-23 Thread thomas
This one incorporates some of Arjan's suggestions and a fix for the i810 problem introduced with the previous patch. /Thomas - 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/ma

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Pavel Machek
Hi! > >While functionality is extremely interesting does it really have > >to be in kernel? > > I think so. While the X server grabs off any keyboard and mouse activity > on its own, there is no such thing for the [read "all"] console[s]. I believe input subsystem can already do that.

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Pavel Machek
Hi! >> +if [ ! -d "/proc/sin" ]; then >> +echo "/proc/sin not found, has sinmod been loaded?" >> +exit >> +fi > >No new /proc files, please. > > This was merely a prototype realized in a hurry, not a production > driver. Really, I did't think it could be interesting f

i965 testers wanted (Re: intel-agp PM experiences)

2007-01-23 Thread Pavel Machek
Hi! > > > Whitelist? Let me blacklist it all the way to Timbuktu instead! > > > > > I've been doing more testing, and X never managed to come back to working > > > state without some of my couple intel-agp changes: > > > - a proper suspend method, doing a proper pci_save_state() > > > or improv

[patch] notifiers: fix blocking_notifier_call_chain() scalability

2007-01-23 Thread Ingo Molnar
Subject: [patch] notifiers: fix blocking_notifier_call_chain() scalability From: Ingo Molnar <[EMAIL PROTECTED]> while lock-profiling the -rt kernel i noticed weird contention during mmap-intense workloads, and the tracer showed the following gem, in one of our MM hotpaths: threaded-2771 1...

[PATCH] MMC: au1xmmc R6 response support

2007-01-23 Thread Manuel Lauss
Hi, here's a trivial patch which adds R6 reponse support to the au1xmmc driver. Fixes SD card detection / operation. --- Add Response type R6 support to the au1xmmc driver; fixes SD card detection and operation. Signed-off-by: Manuel Lauss <[EMAIL PROTECTED]> --- a/drivers/mmc/au1xmmc.c~20

Re: 2.6.19.2 sky2/acpi crashes

2007-01-23 Thread Soeren Sonnenburg
On Tue, 23 Jan 2007 08:59:28 +, Lionel Landwerlin wrote: > Hi, > > I'm running a macbook with a Marvell ethernet controller, and I have a > lots of freezes when using the ethernet controller under a load of > ~100K/s. Since I'm running a 2.6.19.2 kernel, I'm able to get some > report from the

Re: System crash after "No irq handler for vector" linux 2.6.19

2007-01-23 Thread l . genoni
reproduced. it took more or less one hour to reproduce it. I could reproduce it olny running also irqbalance 0.55 and commenting out the sleep 1. The message in syslog is the same and then, after a few seconds I think, KABOM! system crash and reboot. I tested also a similar system that has 4

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-23 Thread Alon Bar-Lev
On 1/23/07, Russell King <[EMAIL PROTECTED]> wrote: which reflects precisely what I've been saying concerning the addition of __initdata. Great! So what do you thing we should do? Modify this: char __initdata boot_command_line[COMMAND_LINE_SIZE]; Into: char __initdata boot_command_line[COMMAN

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-23 Thread Russell King
On Tue, Jan 23, 2007 at 12:37:06PM +0200, Alon Bar-Lev wrote: > On 1/23/07, Russell King <[EMAIL PROTECTED]> wrote: > >which reflects precisely what I've been saying concerning the addition > >of __initdata. > > Great! > So what do you thing we should do? > > Modify this: > char __initdata boot_c

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-23 Thread Alon Bar-Lev
On 1/23/07, Russell King <[EMAIL PROTECTED]> wrote: See Message-ID: <[EMAIL PROTECTED]> sent on 18 January in this thread. Such strings might as well be initialised to an empty string. So it will be fine if I initialize it to "" and remove the static from the your example? BTW: Is there a diff

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-23 Thread Russell King
On Tue, Jan 23, 2007 at 12:50:15PM +0200, Alon Bar-Lev wrote: > On 1/23/07, Russell King <[EMAIL PROTECTED]> wrote: > >See Message-ID: <[EMAIL PROTECTED]> sent on > >18 January in this thread. Such strings might as well be initialised to > >an empty string. > > So it will be fine if I initialize

Re: [uml-devel] [PATCH] [UML] fix mknod

2007-01-23 Thread Blaisorblade
On Monday 22 January 2007 21:13, Johannes Stezenbach wrote: > Hi, > > I was playing with user-mode Linux and found that mknod creates > devices node in hostfs with wrong major/minor numbers. > The patch below fixes it for me. > > Johannes Hmpf. Still having this bug on hostfs is quite bad. Thanks

[RFC 2/6] bidi support: request_io_part

2007-01-23 Thread Boaz Harrosh
The patch was probably too big and did not go through the mailing list. I have compressed and attached it, is that OK or must I put it online somewhere? - Extract all I/O members of struct request into a request_io_part member. - Define API to access the I/O part - Adjust block layer accordingly.

[RFC 2/6] bidi support: request_io_part

2007-01-23 Thread Boaz Harrosh
The patch was probably too big and did not go through the mailing list. I have compressed and attached it, is that OK or must I put it online somewhere? - Extract all I/O members of struct request into a request_io_part member. - Define API to access the I/O part - Adjust block layer accordingly.

Re: Kernel 2.6.19.2 New RAID 5 Bug (oops when writing Samba -> RAID5)

2007-01-23 Thread Justin Piszcz
On Tue, 23 Jan 2007, Neil Brown wrote: > On Monday January 22, [EMAIL PROTECTED] wrote: > > Justin Piszcz wrote: > > > My .config is attached, please let me know if any other information is > > > needed and please CC (lkml) as I am not on the list, thanks! > > > > > > Running Kernel 2.6.19.2 on

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-23 Thread Alon Bar-Lev
On 1/23/07, Russell King <[EMAIL PROTECTED]> wrote: Why do you want to remove the static? Since current design declare a buffer in main.c which is used by arch specific startup code, mainly setup.c. Regards, Alon Bar-Lev. - To unsubscribe from this list: send the line "unsubscribe linux-kernel

Re: i810fb fails to load

2007-01-23 Thread Thomas Hellström
Dave Airlie wrote: >> >> > > Don't know. But I bet someone on the Cc does... > Tilman, Thanks for reporting. Can you try the attached patch to see if that fixes the problem. Hi Thomas, This also fixes X starting on old i810/5 hardware, I had noticed it broken but hadn't had time to investiga

Re: 2.6.19.2 sky2/acpi crashes

2007-01-23 Thread Andrew Lyon
On 1/23/07, Soeren Sonnenburg <[EMAIL PROTECTED]> wrote: On Tue, 23 Jan 2007 08:59:28 +, Lionel Landwerlin wrote: > Hi, > > I'm running a macbook with a Marvell ethernet controller, and I have a > lots of freezes when using the ethernet controller under a load of > ~100K/s. Since I'm running

Re: [patch] notifiers: fix blocking_notifier_call_chain() scalability

2007-01-23 Thread Peter Zijlstra
On Tue, 2007-01-23 at 10:45 +0100, Ingo Molnar wrote: > Subject: [patch] notifiers: fix blocking_notifier_call_chain() scalability > From: Ingo Molnar <[EMAIL PROTECTED]> > > while lock-profiling the -rt kernel i noticed weird contention during > mmap-intense workloads, and the tracer showed the

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-23 Thread Alon Bar-Lev
On 1/23/07, Russell King <[EMAIL PROTECTED]> wrote: > So it will be fine if I initialize it to "" and remove the static from > the your example? Why do you want to remove the static? Rossell, I am confused. There are many places in kernel where there is static __initdata without initialization

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-23 Thread Russell King
On Tue, Jan 23, 2007 at 01:31:25PM +0200, Alon Bar-Lev wrote: > On 1/23/07, Russell King <[EMAIL PROTECTED]> wrote: > >> So it will be fine if I initialize it to "" and remove the static from > >> the your example? > > > >Why do you want to remove the static? > > Rossell, I am confused. > There ar

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-23 Thread Alon Bar-Lev
On 1/23/07, Russell King <[EMAIL PROTECTED]> wrote: > Rossell, I am confused. > There are many places in kernel where there is static __initdata > without initialization. Should all these be corrected too? Or your > comment applies only to none static global data? From what I remembered from pre

Re: System crash after "No irq handler for vector" linux 2.6.19

2007-01-23 Thread Eric W. Biederman
"Luigi Genoni" <[EMAIL PROTECTED]> writes: > reproduced. > it took more or less one hour to reproduce it. I could reproduce it olny > running also irqbalance 0.55 and commenting out the sleep 1. The message in > syslog is the same and then, after a few seconds I think, KABOM! system crash > an

Re: [PATCH] binfmt_elf: core dump masking support

2007-01-23 Thread Kawai, Hidehiro
Hi, >(run echo 1 > coremask, echo 0 > coremask in a loop while dumping >core. Do you have enough locking to make it work as expected?) Currently, any lock isn't acquired. But I think the kernel only have to preserve the coremask setting in a local variable at the begining

[PATCH] funsoft: ktermois fix

2007-01-23 Thread Al Viro
Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- drivers/usb/serial/funsoft.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/serial/funsoft.c b/drivers/usb/serial/funsoft.c index 31501c9..2bebd63 100644 --- a/drivers/usb/serial/funsoft.c +++ b/drivers/usb/seri

[PATCH] horizon.c: missing __devinit

2007-01-23 Thread Al Viro
Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- drivers/atm/horizon.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c index 4dc1010..f96446c 100644 --- a/drivers/atm/horizon.c +++ b/drivers/atm/horizon.c @@ -1845,7 +1845,7 @@

[PATCH] s2io bogus memset

2007-01-23 Thread Al Viro
memset() after kmalloc() on size * 8 would better be on size * 8, not just size; fixed by switching to kcalloc() - it's more idiomatic anyway. Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c @@ -

kernel panic when inserting usb isdn modem

2007-01-23 Thread Christian Weiske
Hello, I reproducably get a kernel panic when plugging in a usb isdn modem, Billion tiny USB ISDN TA 128). It is said to work with the hfc_usb isdn drivers in the kernel, so I compiled them into it. Kernel is 2.6.20-rc5, gcc 3.4.6 on a via epia 5000 board. Is there anything I can do? Shall I fi

[PATCH] fix prototype of csum_ipv6_magic() (ia64)

2007-01-23 Thread Al Viro
Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- include/asm-ia64/checksum.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/asm-ia64/checksum.h b/include/asm-ia64/checksum.h index 2b78582..97af155 100644 --- a/include/asm-ia64/checksum.h +++ b/include/asm-ia64/

Re: 2.6.19.2 sky2/acpi crashes

2007-01-23 Thread Lionel Landwerlin
Le mardi 23 janvier 2007 à 17:22 +0800, Luming Yu a écrit : > Please try to remove processor module. Ok, that's done. Same problem. Just to show you I did not forget to remove processor.ko from initrd image, I tried to load speedstep_centrino : Jan 23 13:09:58 cocoduo kernel: [ 105.697279] spee

[PATCH] agpgart: Allow drm-populated agp memory types

2007-01-23 Thread thomas
From: Thomas Hellstrom <[EMAIL PROTECTED]> This patch allows drm to populate an agpgart structure with pages of its own. It's needed for the new drm memory manager which dynamically flips pages in and out of AGP. The patch modifies the generic functions as well as the intel agp driver. The inte

Re: [PATCH 04/12] clocksource: avr32 initialize list value

2007-01-23 Thread Haavard Skinnemoen
On 1/23/07, Daniel Walker <[EMAIL PROTECTED]> wrote: Update arch/avre32/ with list initialization. Signed-Off-By: Daniel Walker <[EMAIL PROTECTED]> Looks good to me, although I suppose it wouldn't hurt to include as well since there seems to be an ongoing effort to reduce the number of files

Re: [patch 03/26] Dynamic kernel command-line - arm

2007-01-23 Thread Russell King
On Tue, Jan 23, 2007 at 01:59:14PM +0200, Alon Bar-Lev wrote: > On 1/23/07, Russell King <[EMAIL PROTECTED]> wrote: > >> Rossell, I am confused. > >> There are many places in kernel where there is static __initdata > >> without initialization. Should all these be corrected too? Or your > >> comment

Re: How to use an usb interface than is claimed by HID?

2007-01-23 Thread Rolf Offermanns
Ivan Ukhov wrote: >> .. which wouldn't help you either, supposing that you don't want to touch >> the kernel sources at all, because this function is unexported and >> static. >> >> So I think that there is no straightforward way, sorry. >> >> Is this a device that doesn't exist anywhere else than

Could convert a buffer that allocated by vmalloc to pages?

2007-01-23 Thread Yu-Chen Wu
Hi, I write a driver have a big buffer (16MB,allocated by vmalloc). I want to use the buffer to do DMA transmission so I need getting the pages of the buffer. Have any kernel API can do this? My platform is x86_64 and 2GB RAM THX - To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [PATCH 04/12] clocksource: avr32 initialize list value

2007-01-23 Thread Daniel Walker
On Tue, 2007-01-23 at 13:42 +0100, Haavard Skinnemoen wrote: > On 1/23/07, Daniel Walker <[EMAIL PROTECTED]> wrote: > > Update arch/avre32/ with list initialization. > > > > Signed-Off-By: Daniel Walker <[EMAIL PROTECTED]> > > Looks good to me, although I suppose it wouldn't hurt to include > as

Re: [linux-usb-devel] [GIT PATCH] USB fixes for 2.6.20-rc5

2007-01-23 Thread Cornelia Huck
On Mon, 22 Jan 2007 21:28:24 +0100, Marcel Holtmann <[EMAIL PROTECTED]> wrote: > > I don't feel comfortable adding them to the 2.6.20 kernel at this late > > period, for a variety of reasons. I really want them to be tested out > > in the -mm tree and then in the full -rc series due to the fact t

Re: Kernel 2.6.19.2 New RAID 5 Bug (oops when writing Samba -> RAID5)

2007-01-23 Thread Michael Tokarev
Justin Piszcz wrote: [] > Is this a bug that can or will be fixed or should I disable pre-emption on > critical and/or server machines? Disabling pre-emption on critical and/or server machines seems to be a good idea in the first place. IMHO anyway.. ;) /mjt - To unsubscribe from this list: sen

Re: Kernel 2.6.19.2 New RAID 5 Bug (oops when writing Samba -> RAID5)

2007-01-23 Thread Justin Piszcz
On Tue, 23 Jan 2007, Michael Tokarev wrote: > Justin Piszcz wrote: > [] > > Is this a bug that can or will be fixed or should I disable pre-emption on > > critical and/or server machines? > > Disabling pre-emption on critical and/or server machines seems to be a good > idea in the first place.

Re: Kernel 2.6.19.2 New RAID 5 Bug (oops when writing Samba -> RAID5)

2007-01-23 Thread Michael Tokarev
Justin Piszcz wrote: > > On Tue, 23 Jan 2007, Michael Tokarev wrote: > >> Disabling pre-emption on critical and/or server machines seems to be a good >> idea in the first place. IMHO anyway.. ;) > > So bottom line is make sure not to use preemption on servers or else you > will get weird spinlo

Re: SATA hotplug from the user side ?

2007-01-23 Thread Henrique de Moraes Holschuh
On Tue, 23 Jan 2007, Tejun Heo wrote: > Henrique de Moraes Holschuh wrote: > > Does SATA electrical conector keying let the disk firmware unload > > heads before the user manages to pull it out enough to sever power? > > I don't think so. Heh, thought as much. (Good) SCSI hotswap bays notice you

Re: Could convert a buffer that allocated by vmalloc to pages?

2007-01-23 Thread Anton Altaparmakov
On Tue, 2007-01-23 at 21:04 +0800, Yu-Chen Wu wrote: > Hi, > I write a driver have a big buffer (16MB,allocated by vmalloc). > I want to use the buffer to do DMA transmission so I need getting the pages > of the buffer. > Have any kernel API can do this? > My platform is x86_64 and 2GB RAM vmalloc

Re: PROBLEM: KB->KiB, MB -> MiB, ... (IEC 60027-2)

2007-01-23 Thread Krzysztof Halasa
Andreas Schwab <[EMAIL PROTECTED]> writes: > The exact number of sectors is often printend on the label. Sure, I'd even say "almost always" for recent disks. Still, they count in GBs, not sectors. OTOH it would be great if they say "xxx,xxx,xxx 512-byte sectors", and maybe "approx. X GB". -- Kr

Re: [PATCH]: MTRR: fix 32-bit ioctls on x64_32

2007-01-23 Thread Giuliano Procida
On 17/01/07, H. Peter Anvin <[EMAIL PROTECTED]> wrote: Adding a case can add substantially to the generated code, especially if it makes a compact set of case labels non-compact. Is this one any better? It certainly makes for a slimmer object. Compiled, but not yet tested. Caveat patcher. Sig

Re: [Proposal] 2.6.18-stable release plans?

2007-01-23 Thread Sunil Naidu
On 1/23/07, Jesper Juhl <[EMAIL PROTECTED]> wrote: Now that 2.6.19 is out, most likely not. -stable releases are made for the latest stable 2.6.x kernel, once 2.6.x+1 is out that's the one -stable patches are made for (2.6.16 is an exception).. Earlier I was going through the stable paches wh

Re: [PATCH 04/12] clocksource: avr32 initialize list value

2007-01-23 Thread Haavard Skinnemoen
On Tue, 23 Jan 2007 05:02:49 -0800 Daniel Walker <[EMAIL PROTECTED]> wrote: > On Tue, 2007-01-23 at 13:42 +0100, Haavard Skinnemoen wrote: > > On 1/23/07, Daniel Walker <[EMAIL PROTECTED]> wrote: > > > Update arch/avre32/ with list initialization. > > > > > > Signed-Off-By: Daniel Walker <[EMAIL P

Re: configfs: return value for drop_item()/make_item()?

2007-01-23 Thread Michael Noisternig
If you argue that they are in fact created by the user because they are a direct result of a user action, then I can apply the same argument to this one example: ... This is precisely what configfs is designed to forbid. The kernel does not, ever, create configfs objects on its own. It does it

Re: [PATCH] Undo some of the pseudo-security madness

2007-01-23 Thread Samium Gromoff
At Tue, 23 Jan 2007 08:48:07 +, Pavel Machek wrote: > > Are you saying that the usefulness of AS randomisation is > > overall exceeding that of MAP_FIXED, and the latter should be > > abolished? > > MAP_FIXED still works. You just have to be more careful where you map. No amount of carefulnes

RE: Could convert a buffer that allocated by vmalloc to pages?

2007-01-23 Thread Yu-Chen Wu
Hi Anton, Thanks for r your answer. I tried vmalloc_to_page() and I have some question. I print the "pages" in vm_struct structure of the buffer to compare the address get from vmalloc_to_page(), result as follows: //===source code L2cache=vmalloc(L2SIZE);// L2SIZE=40960 printk(KERN_IN

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Alessandro Di Marco
Pavel Machek <[EMAIL PROTECTED]> writes: Hi! >> +if [ ! -d "/proc/sin" ]; then >> +echo "/proc/sin not found, has sinmod been loaded?" >> +exit >> +fi > >No new /proc files, please. > > This was merely a prototype realized in a hurry, not a p

Re: revert "Fix up" of mmap_kmem

2007-01-23 Thread Franck Bui-Huu
On 1/22/07, Hugh Dickins <[EMAIL PROTECTED]> wrote: Please revert 2.6.19's 99a10a60ba9bedcf5d70ef81414d3e03816afa3f (shown below) for 2.6.20. Nadia Derbey has reported that mmap of /dev/kmem no longer works with the kernel virtual address as offset, and Franck has confirmed that his patch came f

Re: [RFC][PATCH 6/6] automatic tuning applied to some kernel components

2007-01-23 Thread Nadia Derbey
Andrew Morton wrote: On Tue, 16 Jan 2007 07:15:22 +0100 [EMAIL PROTECTED] wrote: The following kernel components register a tunable structure and call the auto-tuning routine: . file system . shared memory (per namespace) . semaphore (per namespace) . message queues (per namespace) This is

[PATCH 1/3] Char: mxser_new, do not null driver_data

2007-01-23 Thread Jiri Slaby
mxser_new, do not null driver_data driver_data are initialzed to NULL from tty layer, no need to do it in the driver. In this case it cases oops, since driver_data may be NULL for a short while for another closing process. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> ---

[PATCH 2/3] Char: mxser_new, lock count and flags

2007-01-23 Thread Jiri Slaby
mxser_new, lock count and flags Both open count and INITIALIZED flag should be changed under lock. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> --- commit 76b3ee2d5737395df62553cec1b8193252476147 tree dfc50c164ddde6b73a954f694dfdcb98ed921629 parent f49b6914c3113f930a31ff

[PATCH 3/3] Char: mxser_new, fix sparse warning

2007-01-23 Thread Jiri Slaby
mxser_new, fix sparse warning Feed NULL instead of 0 where pointer is expected. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> --- commit e87e9f65c3ac51d447cfe435217032a07f7a56e0 tree fbb8597542ed5919d3fae6b9ab45865e0659e922 parent 76b3ee2d5737395df62553cec1b8193252476147

Re: i965 testers wanted (Re: intel-agp PM experiences)

2007-01-23 Thread Sunil Naidu
On 1/23/07, Pavel Machek <[EMAIL PROTECTED]> wrote: > I've post a patch which trys to resolve pci config restore issue, see > http://lkml.org/lkml/2007/1/16/297. It resolves s3 issue with my 965G machine, > that my X can come back to live after s3, but I wasn't aware of the issues Andreas > has

RE: Could convert a buffer that allocated by vmalloc to pages?

2007-01-23 Thread Anton Altaparmakov
On Tue, 23 Jan 2007, Yu-Chen Wu wrote: > I tried vmalloc_to_page() and I have some question. > I print the "pages" in vm_struct structure of the buffer to compare the > address get from vmalloc_to_page(), result as follows: Both the code you are showing and your question do not make any sense to

Re: Suspend to RAM generates oops and general protection fault

2007-01-23 Thread Luming Yu
On 1/23/07, Jean-Marc Valin <[EMAIL PROTECTED]> wrote: Luming Yu a écrit : > what about removing psmouse module? Trying that now. Any particular reason you suspect that one? I suspect it is due to broken modules. If not psmouse, please trying a boot with minimal modules loaded, and re-test .

Re: Why active list and inactive list?

2007-01-23 Thread Rik van Riel
Peter Zijlstra wrote: On Mon, 2007-01-22 at 18:03 -0800, Christoph Lameter wrote: What happened to all those advanced page replacement endeavors? They are here: http://programming.kicks-ass.net/kernel-patches/page-replace/2.6.19-pr1/ I should update to .20 soonish. What is the most promisin

Re: [patch] notifiers: fix blocking_notifier_call_chain() scalability

2007-01-23 Thread Nick Piggin
Peter Zijlstra wrote: On Tue, 2007-01-23 at 10:45 +0100, Ingo Molnar wrote: The fix is to enhance blocking_notifier_call_chain() to only take the lock if there appears to be work on the call-chain. With this patch applied i get nicely saturated system, and much higher munmap performance, on

Re: Suspend to RAM generates oops and general protection fault

2007-01-23 Thread Jean-Marc Valin
Luming Yu a écrit : > what about removing psmouse module? Trying that now. Any particular reason you suspect that one? Jean-Marc > On 1/23/07, Jean-Marc Valin <[EMAIL PROTECTED]> wrote: >> >>> will be a device driver. Common causes of suspend/resume problems >> from >> >>> the list you g

[2.6 patch] echo3g_dsp.c shouldn't include #include

2007-01-23 Thread Adrian Bunk
Despite being under linux/, linux/irq.h shouldn't be #include'd by arch independent code. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.20-rc4-mm1/sound/pci/echoaudio/echo3g_dsp.c.old 2007-01-23 15:16:37.0 +0100 +++ linux-2.6.20-rc4-mm1/sound/pci/echoaudio/echo3g_dsp.c

[PATCH] KVM: propagate SHUTDOWN intercept to userspace on SVM

2007-01-23 Thread Joerg Roedel
This patch implements forwarding of SHUTDOWN intercepts from the guest on to userspace on AMD SVM. A SHUTDOWN event occurs when the guest produces a triple fault (e.g. on reboot). This also fixes the bug that a guest reboot actually causes a host reboot under some circumstances. Signed-off-by: Joe

Re: [PATCH] KVM: propagate SHUTDOWN intercept to userspace on SVM

2007-01-23 Thread Avi Kivity
Joerg Roedel wrote: This patch implements forwarding of SHUTDOWN intercepts from the guest on to userspace on AMD SVM. A SHUTDOWN event occurs when the guest produces a triple fault (e.g. on reboot). This also fixes the bug that a guest reboot actually causes a host reboot under some circumstance

Re: [PATCH] Undo some of the pseudo-security madness

2007-01-23 Thread Alan
> SBCL is the most actively developed open source Common Lisp implementation, > which has an optimising native compiler built in, so it is not an interpreter, > and is, most certainly, not crappy. If it requires MAP_FIXED I would beg to disagree. > 1. cannot serve as a vehicle for exploitation fo

Re: SATA exceptions with 2.6.20-rc5

2007-01-23 Thread Larry Walton
The last patch (sata_nv-force-int-dev-in-interrupt.patch) seems to have fix the problem. Much appreciated, thank you. I'd consider it a must have in 2.6.20. -- *--* Mail: [EMAIL PROTECTED] *--* Voice: 206.892.6269 *--* Cell: 206.225.0154 *--* HTTP://real.com --

RE: Could convert a buffer that allocated by vmalloc to pages?

2007-01-23 Thread Yu-Chen Wu
Hi Anton, All of the code as below: //== extern struct vm_struct *vmlist; struct vm_struct *vmlist2,*L2vm; int find_vm_struct(void *addr) { struct vm_struct **p; int i; struct page *pg; prin

Re: [PATCH 2.6.20-rc5] SPI: alternative fix for spi_busnum_to_master

2007-01-23 Thread David Brownell
On Monday 22 January 2007 5:10 pm, Atsushi Nemoto wrote: > On Mon, 22 Jan 2007 14:12:02 -0800, David Brownell <[EMAIL PROTECTED]> wrote: > > > Here is a revised version. The children list of spi_master_class > > > contains only spi_master class so we can just compare bus_num member > > > instead o

Re: Could convert a buffer that allocated by vmalloc to pages?

2007-01-23 Thread Kyle McMartin
On Tue, Jan 23, 2007 at 10:15:33PM +0800, Yu-Chen Wu wrote: > printk(KERN_INFO "vmalloc_to_page tpage :%x\n",tpage); > //===info of dmesg== > [ 1561.768492] page allocated:60ea9000 > [ 1561.768497] vmalloc_to_page tpage :7fcf7e18 > > Why the page address get from vmalloc_t

Re: [PATCH 2.6.20-rc5] SPI: alternative fix for spi_busnum_to_master

2007-01-23 Thread Atsushi Nemoto
On Tue, 23 Jan 2007 07:42:15 -0800, David Brownell <[EMAIL PROTECTED]> wrote: > > Indeed the check can be omitted. Should I send a new patch just > > moving class_device_get() into "if (master->bus_num == bus_num)" > > block? > > Yes, please. OK, here is. This patch uses spi_master_get() instea

[PATCH RFC] hwmon/f71805f: Fix a race condition

2007-01-23 Thread Jean Delvare
Hi all, I think I introduced a potential race condition bug with commit 51c997d80e1f625aea3426a8a9087f5830ac6db3. I didn't realize it back then, but platform_device_put and platform_device_release both appear to free the platform data associated with the device. This makes an explicit kfree redund

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Pavel Machek
Hi1 >>> +if [ ! -d "/proc/sin" ]; then >>> +echo "/proc/sin not found, has sinmod been loaded?" >>> +exit >>> +fi >> >>No new /proc files, please. >> >> This was merely a prototype realized in a hurry, not a production >> driver. Real

LSISAS1068 controller reset (mptsas driver)

2007-01-23 Thread Emiliano Gabrielli (aka AlberT)
Hi, I'm not subscribed to the list .. so plz CC: to me on answer I'm having some problems with the LSISAS1068 controller (on a Dell PowerEdge 860 havind 2 SAS HD in HW raid 1)... dmesg gives a number of the following errors: sd 0:8:0:0: command: cdb[0]=0x2a: 2a 00 04 29 49 14 00 00 0

SAS1068 PCI-X Fusion-MPT SAS 1000:0055

2007-01-23 Thread areq
Hi I have new NEC server with SAS1068 PCI-X Fusion-MPT SAS pciid: 1000:0055 mptsas form 2.6.20-rc5 don't recognize it ;( I see that driver support only 1000:0054 and 1000:0058 devices. ./drivers/message/fusion/mptsas.c: { PCI_VENDOR_ID_LSI_LOGIC, MPI_MANUFACTPAGE_DEVID_SAS1068, ./drivers/me

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Alessandro Di Marco
Pavel Machek <[EMAIL PROTECTED]> writes: >But I still believe it can be out. > > Do you believe it could be a user-space daemon or what? Yes, what prevents userspace daemon watching /dev/input/event* to provide this functionality? Well that was my first attempt. Just an hack,

Re: [Proposal] 2.6.18-stable release plans?

2007-01-23 Thread Stefan Richter
Sunil Naidu wrote: > I have to dig deep into the patch & kernel version to understand what > are the features/implementations or fixes (patch). Problem here is 2 > ways:- > > 1) Identifying which is a better kernel (features) for > Desktop/Embedded/Server (I know, info mentioned in Changelog. But

Re: SATA problems

2007-01-23 Thread Pablo Sebastian Greco
Tejun Heo wrote: Hello, Pablo. Please apply common hardware debugging method. You know, swap drives. Use separate power supply for disks, swap cables, etc... It seems more like a hardware problem at this point. Thanks. Well, it took me a few days, but I think I'm ready to report back. On

[PATCH] videobuf_qbuf: fix? possible videobuf_queue->stream corruption and lockup

2007-01-23 Thread Oleg Nesterov
I am pretty sure the bug is real, but the patch may be wrong, please review. We are doing ->buf_prepare(buf) before adding buf to q->stream list. This means that videobuf_qbuf() should not try to re-add a STATE_PREPARED buffer. Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]> --- 6.19/drivers/me

Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit

2007-01-23 Thread David Miller
From: Alan Cox <[EMAIL PROTECTED]> Date: Mon, 22 Jan 2007 07:45:02 -0500 > On Mon, Jan 22, 2007 at 12:07:11PM +0100, Christoph Hellwig wrote: > > > process. This year, the Kernel Summit will be held in Cambridge, > > > England, at the DeVere University Arms Hotel, September 5-6 (with a > > > welc

[PATCH 3/3] replacement patch for pipefs and sockfs

2007-01-23 Thread Jeff Layton
Hi Andrew, I sent a set of 3 patches to you a week or so ago. This patch is a replacement for the third one in the set. Either one will work, but I think this is a better approach. The main differences here are: 1) pipefs declares its drop_inode function to be generic_delete_inode, which obviat

Re: [PATCH 13/15] ide: fix UDMA/MWDMA/SWDMA masks

2007-01-23 Thread Sergei Shtylyov
Hello. Alan wrote: Ugh, I'm not seeing any *actual* support for MW/SW DMA in this driver... Thats long been broken. Should be correct in the libata driver Here's a surprise for you. pata_cmd64x copied the SW/MW DMA setup code from the IDE driver. No way it could be working. You may

Re: Kernel 2.6.19.2 New RAID 5 Bug (oops when writing Samba -> RAID5)

2007-01-23 Thread Justin Piszcz
On Tue, 23 Jan 2007, Michael Tokarev wrote: > Justin Piszcz wrote: > > > > On Tue, 23 Jan 2007, Michael Tokarev wrote: > > > >> Disabling pre-emption on critical and/or server machines seems to be a good > >> idea in the first place. IMHO anyway.. ;) > > > > So bottom line is make sure not to

Re: change strip_cache_size freeze the whole raid

2007-01-23 Thread kyle
I can try and do this later this week possibly. Justin. alt-sysrq-T or "echo t > /proc/sysrq-trigger" can be really helpful to diagnose this sort of problem (providing the system isn't so badly stuck that the kernel logs don't get stored). It is probably hitting a memory-allocation deadlock,

Re: [uml-devel] [PATCH] [UML] fix mknod

2007-01-23 Thread Johannes Stezenbach
On Tue, Jan 23, 2007 at 09:02:30AM +0100, Blaisorblade wrote: > On Monday 22 January 2007 21:13, Johannes Stezenbach wrote: > > > > I was playing with user-mode Linux and found that mknod creates > > devices node in hostfs with wrong major/minor numbers. > > The patch below fixes it for me. > > Hm

[PATCH 0/5] KVM fixes for 2.6.20

2007-01-23 Thread Avi Kivity
The following series of patches fixes several kvm problems. I believe they are important and well-tested enough to be included in 2.6.20, especially the host reboot fix on AMD machines. -- error compiling committee.c: too many arguments to function - To unsubscribe from this list: send the li

[PATCH 1/5] KVM: SVM: Fix SVM idt confusion

2007-01-23 Thread Avi Kivity
From: Leonard Norrgard <[EMAIL PROTECTED]> There's an obvious typo in svm_{get,set}_idt, causing it to access the ldt instead. Because these functions are only called for save/load on AMD, the bug does not impact normal operation. With the fix, save/load works as expected on AMD hosts. Signed-o

[PATCH 2/5] KVM: Emulate IA32_MISC_ENABLE msr

2007-01-23 Thread Avi Kivity
This allows netbsd 3.1 i386 to get further along installing. Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Index: linux-2.6/drivers/kvm/kvm_main.c === --- linux-2.6.orig/drivers/kvm/kvm_main.c +++ linux-2.6/drivers/kvm/kvm_main.c @@

[PATCH 3/5] KVM: MMU: Perform access checks in walk_addr()

2007-01-23 Thread Avi Kivity
Check pte permission bits in walk_addr(), instead of scattering the checks all over the code. This has the following benefits: 1. We no longer set the accessed bit for accessed which fail permission checks. 2. Setting the accessed bit is simplified. 3. Under some circumstances, we used to pretend

  1   2   3   4   >