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

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 >

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

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

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

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

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: 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

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

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:

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

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

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: [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

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

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

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: 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

[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~

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

[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

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

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

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.

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

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

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

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

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()

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

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]

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", >

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

[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

[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

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

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

[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: [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

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;

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 of class_id

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== snip [ 1561.768492] page allocated:60ea9000 [ 1561.768497] vmalloc_to_page tpage :7fcf7e18 Why the page address get from

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() instead of

[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

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. Really, I did't think it

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

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,

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, but

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.

[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] ---

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 welcome

[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

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 use preemption

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. Hmpf. Still

[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

[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.

[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

[PATCH 4/5] KVM: MMU: Report nx faults to the guest

2007-01-23 Thread Avi Kivity
Rith the recent guest page fault change, we perform access checks on our own instead of relying on the cpu. This means we have to perform the nx checks as well. Software like the google toolbar on windows appears to rely on this somehow. Signed-off-by: Avi Kivity [EMAIL PROTECTED] Index:

[PATCH 5/5] KVM: SVM: Propagate cpu shutdown events to userspace

2007-01-23 Thread Avi Kivity
From: Joerg Roedel [EMAIL PROTECTED] 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

[ANNOUNCE] kvm-12 release

2007-01-23 Thread Avi Kivity
Perhaps the most visible change is that -no-acpi is no longer required to install Windows (it is still recommended as the Windows ACPI HAL will eat a lot of cpu time). Changes from kvm-11: - More migration work (Uri Lublin) - savevm/loadvm (and migration) work on AMD (Leonard Norrgard) - More

[PATCH] correct sys_shmget allocation check

2007-01-23 Thread Guy Streeter
As written, sys_shmget will return ENOSPC when one page is still available for allocation. This patch corrects the test. Signed-off-by: Guy Streeter [EMAIL PROTECTED] -- Index: linux-2.6/ipc/shm.c === --- linux-2.6.orig/ipc/shm.c

Re: [Alsa-devel] [2.6 patch] echo3g_dsp.c shouldn't include #include linux/irq.h

2007-01-23 Thread Takashi Iwai
At Tue, 23 Jan 2007 16:17:56 +0100, Adrian Bunk wrote: Despite being under linux/, linux/irq.h shouldn't be #include'd by arch independent code. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Thanks, I applied to ALSA tree now. Takashi - To unsubscribe from this list: send the line

[PATCH] mxser: remove useless fields

2007-01-23 Thread Cedric Le Goater
the session and pgrp fields in mxser_struct are unused. Signed-off-by: Cedric Le Goater [EMAIL PROTECTED] --- drivers/char/mxser.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) Index: 2.6.20-rc4-mm1/drivers/char/mxser.c

Is it possible to directly call do_path_lookup() in kernel?

2007-01-23 Thread Xin Zhao
Hi, I tried to call the following code in a kernel module: error = do_path_lookup(AT_FDCWD, /etc/profile.d/glib2.csh, LOOKUP_PARENT, nd); I exported the function do_path_lookup() using EXPORT_SYMBOL_GPL(do_path_lookup); But do_path_lookup() caused the general protection fault:

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Pavel Machek
Hi! 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, but it works. Nonetheless I

Re: [PATCH] MMC: au1xmmc R6 response support

2007-01-23 Thread Pierre Ossman
Manuel Lauss wrote: Hi, here's a trivial patch which adds R6 reponse support to the au1xmmc driver. Fixes SD card detection / operation. NAK. MMC_RSP_R1 and MMC_RSP_R6 have the same value so this will break the switch. Rgds -- -- Pierre Ossman Linux kernel, MMC maintainer

reading a binary sysfs attribute continues forever

2007-01-23 Thread Jonathan M. McCune
Hello, I have written a kernel module which introduces a new subsystem in sysfs, and it contains several attributes, one of which is binary. So far, I've been testing it using text. My problem is, attempting to read data continues forever. For example: # echo test data

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Mattia Dongili
On Tue, Jan 23, 2007 at 05:34:42PM +0100, Pavel Machek wrote: [...] 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? hmmm... EVIOCGRAB for example? the synaptics Xorg driver is using it,

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Pavel Machek
On Tue 2007-01-23 20:01:07, Mattia Dongili wrote: On Tue, Jan 23, 2007 at 05:34:42PM +0100, Pavel Machek wrote: [...] 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? hmmm...

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

2007-01-23 Thread Joel Becker
On Tue, Jan 23, 2007 at 02:49:59PM +0100, Michael Noisternig wrote: Sorry, I wasn't clear. I meant that it's not possible to let the user create the parent directory via mkdir(2) within sysfs. I.e. # mkdir object -- create object/, configfs only # ls object type # echo b object/type --

+1 4 cz (Re: [Ksummit-2006-discuss] 2007 Linux Kernel Summit)

2007-01-23 Thread Oleg Verych
In gmane.linux.kernel, David Miller wrote: 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

Re: [Proposal] 2.6.18-stable release plans?

2007-01-23 Thread Sunil Naidu
On 1/23/07, Stefan Richter [EMAIL PROTECTED] wrote: This would be hard to organize and support. There are news sites like LWN which give outlines of important kernel changes, and there are mailinglists or community sites for architectures or driver subsystems if you are interested in special

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Scott Preece
On 1/23/07, Pavel Machek [EMAIL PROTECTED] wrote: Hi1 ... 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?

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

2007-01-23 Thread Anton Altaparmakov
Hi, On Tue, 23 Jan 2007, Yu-Chen Wu wrote: 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;

Re: Any problem if softirq are done in a interrupt context (IRQ stack)?

2007-01-23 Thread Steven Rostedt
On Wed, 2007-01-03 at 11:43 +0100, Björn Steinbrink wrote: [Re-added lkml to the CC list, please don't drop anything from CC] yes, since I would not have replied to this ;) On 2007.01.03 17:39:48 +0800, [EMAIL PROTECTED] wrote: Hi! Thanks very much for your clear explanation ! I

Re: [PATCH 4/11] i386 vDSO: use VM_ALWAYSDUMP

2007-01-23 Thread Andrew Morton
On Sat, 13 Jan 2007 21:34:28 -0800 (PST) Roland McGrath [EMAIL PROTECTED] wrote: + vma = vma-vm_next ?: vma == gate_vma ? NULL : gate_vma) { Painful. Can we do this? diff -puN fs/binfmt_elf.c~i386-vdso-use-vm_alwaysdump-tidy fs/binfmt_elf.c ---

Re: XFS or Kernel Problem / Bug

2007-01-23 Thread Chuck Ebbert
Stefan Priebe - FH wrote: I've 3 Servers which works wonderful with 2.6.16.X (also testet the latest 2.6.16.37) but with 2.6.18.6 i get these errors: general protection fault: [#1] Modules linked in: CPU:0 EIP:0060:[c01c8fd2]Not tainted VLI EFLAGS: 00010246 (2.6.18.6

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

2007-01-23 Thread Sunil Naidu
On 1/22/07, Alan Cox [EMAIL PROTECTED] wrote: Ditto.. Definitely disagree with that. I'd like to see the conference somewhere else different this time - perhaps Czech Republic, or somewhere else more easterly and Linux active (or even Finland...) While we're at it it would be nice to get rid

Re: [PATCH 4/11] i386 vDSO: use VM_ALWAYSDUMP

2007-01-23 Thread Linus Torvalds
On Tue, 23 Jan 2007, Andrew Morton wrote: /* + * Helper function for iterating across a vma list. It ensures that the caller + * will visit `gate_vma' prior to terminating the search. Well, the comment is wrong. The code doesn't actually visit 'gate_vma' if the list of VMA's is

Re: [PATCH 4/11] i386 vDSO: use VM_ALWAYSDUMP

2007-01-23 Thread Roland McGrath
On Sat, 13 Jan 2007 21:34:28 -0800 (PST) Roland McGrath [EMAIL PROTECTED] wrote: +vma = vma-vm_next ?: vma == gate_vma ? NULL : gate_vma) { Painful. Can we do this? Can't stand concise, eh? ;-) Your version is fine with me. Thanks, Roland - To unsubscribe from this list:

Re: [patch 1/3] Scheduled removal of SA_xxx interrupt flags

2007-01-23 Thread Andrew Morton
On Sun, 14 Jan 2007 08:33:45 - Thomas Gleixner [EMAIL PROTECTED] wrote: The name space cleanup of the interrupt request flags (SA_xxx - IRQF_xxx) left a 6 month grace period for the old deprecated flags. Remove them. fwiw, I'll make this [patch 3/3], so the kernel compiles OK at each step.

Re: [Proposal] 2.6.18-stable release plans?

2007-01-23 Thread Stefan Richter
Sunil Naidu wrote: ... Am talking from the Linux users point of view (who need to know deep about the Kernel development, etc. Imagine, a student or a professional who wants to build a kernel with a patch for a i686 machine? You speak of advanced users with very special requirements. They can

Re: [ANNOUNCE] System Inactivity Monitor v1.0

2007-01-23 Thread Mattia Dongili
On Tue, Jan 23, 2007 at 08:02:57PM +0100, Pavel Machek wrote: On Tue 2007-01-23 20:01:07, Mattia Dongili wrote: On Tue, Jan 23, 2007 at 05:34:42PM +0100, Pavel Machek wrote: [...] Do you believe it could be a user-space daemon or what? Yes, what prevents userspace daemon watching

Re: [PATCH 4/11] i386 vDSO: use VM_ALWAYSDUMP

2007-01-23 Thread Roland McGrath
Not that the old code did either, so it's not like it's a new bug, but I thought I'd point it out anyway. As if we care (but you can probably trigger this by having an app that does munmap(NULL, TASK_SIZE); which will cause a SIGSEGV on return (because the stack doesn't exist) and

[PATCH 0/2] Mechanism to turn of ASR on a per-ELF binary basis

2007-01-23 Thread Samium Gromoff
These patches allow the binaries which absolutely require that their address space layout to be unaffected by address space randomisation to specify that in their ELF header. The first part defines the ELF header flag, the second implements the corresponding part of the interpreter functionality.

[PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

2007-01-23 Thread Samium Gromoff
Author: Samium Gromoff [EMAIL PROTECTED] Date: Tue Jan 23 22:31:13 2007 +0300 Define the ELF binary header flag EF_AS_NO_RANDOM EF_AS_NO_RANDOM should mean that the binary requests to not apply randomisation to address spaces of its processes. diff --git a/include/linux/elf.h

Re: [patch 1/3] Scheduled removal of SA_xxx interrupt flags

2007-01-23 Thread Thomas Gleixner
On Tue, 2007-01-23 at 12:02 -0800, Andrew Morton wrote: The name space cleanup of the interrupt request flags (SA_xxx - IRQF_xxx) left a 6 month grace period for the old deprecated flags. Remove them. fwiw, I'll make this [patch 3/3], so the kernel compiles OK at each step. Yup, should

[PATCH 2/2] Make the EF_AS_NO_RANDOM e_flag bit disable PF_RANDOMIZE

2007-01-23 Thread Samium Gromoff
Author: Samium Gromoff [EMAIL PROTECTED] Date: Tue Jan 23 23:12:16 2007 +0300 load_elf_binary: do not set PF_RANDOMIZE if the ELF file has EF_AS_NO_RANDOM s et diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 7cb2872..007dedd 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@

Re: [PATCH -rt] whitespace cleanup for 2.6.20-rc5-rt7

2007-01-23 Thread Richard Knutsson
Satoru Takeuchi wrote: At Tue, 23 Jan 2007 00:42:31 +0100, Richard Knutsson wrote: Michal Piotrowski wrote: How about this script? d) Ensure that your patch does not add new trailing whitespace. The below script will fix up your patch by stripping off such whitespace.

Re: 2.6.18-stable release plans?

2007-01-23 Thread Chuck Ebbert
Jesper Juhl wrote: On 22/01/07, Chuck Ebbert [EMAIL PROTECTED] wrote: Is there going to be another 2.6.18-stable release? 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

Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

2007-01-23 Thread Jakub Jelinek
On Tue, Jan 23, 2007 at 11:28:13PM +0300, Samium Gromoff wrote: Author: Samium Gromoff [EMAIL PROTECTED] Date: Tue Jan 23 22:31:13 2007 +0300 Define the ELF binary header flag EF_AS_NO_RANDOM EF_AS_NO_RANDOM should mean that the binary requests to not apply randomisation

Re: 2.6.18-stable release plans?

2007-01-23 Thread Adrian Bunk
On Tue, Jan 23, 2007 at 03:33:48PM -0500, Chuck Ebbert wrote: Jesper Juhl wrote: On 22/01/07, Chuck Ebbert [EMAIL PROTECTED] wrote: Is there going to be another 2.6.18-stable release? Now that 2.6.19 is out, most likely not. -stable releases are made for the latest stable 2.6.x

Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

2007-01-23 Thread Samium Gromoff
At Tue, 23 Jan 2007 15:50:18 -0500, Jakub Jelinek wrote: On Tue, Jan 23, 2007 at 11:28:13PM +0300, Samium Gromoff wrote: Author: Samium Gromoff [EMAIL PROTECTED] Date: Tue Jan 23 22:31:13 2007 +0300 Define the ELF binary header flag EF_AS_NO_RANDOM EF_AS_NO_RANDOM

identifying CONFIG variable typoes in the source tree

2007-01-23 Thread Robert P. J. Day
because it's cold outside and i was bored, i put together the following script, to be run from the top of the source tree: ==B #!/bin/sh CV=$(grep -rh ^#.*if.* CONFIG_[A-Za-z0-9] . | grep -v endif) CVARS=$(echo ${CV} | sed s/.*\(CONFIG_[^

Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit

2007-01-23 Thread Jakub Jelinek
On Wed, Jan 24, 2007 at 12:06:45AM +0300, Samium Gromoff wrote: Should we introduce per-arch asm/elf.h files to hold the relevant flag definitions then? On some architectures there are no bits left. On others you'd need to go through whomever maintains the relevant psABI to get a bit

<    1   2   3   4   5   6   7   >