Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-28 Thread Alexey Kuznetsov
Hello! > the context-switch argument i'll believe if i see numbers. You'll > probably need in excess of tens of thousands of irqs/sec to even be able > to measure its overhead. (workqueues are driven by nice kernel threads > so there's no TLB overhead, etc.) It was authors of the patch who wer

Re: 2.6.22-rc6 spurious hangs

2007-06-28 Thread Oleg Nesterov
On 06/28, Thomas Sattler wrote: > > As Ingo told me I run 'echo t > /proc/sysrq-trigger' this time. The > corresponding part of my syslogs is attached, as well as my kernel config. xs_connect() and release_dev() are blocked on flush_workqueue(). Perhaps this is OK, but may be not. Could you try t

Re: [RFC][Patch 0/3] integrity: Linux Integrity Module(LIM) and provider

2007-06-28 Thread Pavel Machek
Hi! > This is a request for comments for a subset of the original integrity > patches. By submitting this subset of the original patches, we hope to > simplify its review and ultimately ease its inclusion into the kernel. We still don't know what these are good for... ...preventing user from tak

Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume

2007-06-28 Thread Pavel Machek
Hi! > FWIW, I'm on record stating that "sync" is not sufficient to quiesce an XFS > filesystem for a suspend/resume to work safely and have argued that the only Hmm, so XFS writes to disk even when its threads are frozen? > safe thing to do is freeze the filesystem before suspend and thaw it aft

Re: beeping patch for debugging acpi sleep

2007-06-28 Thread Pavel Machek
Hi! > > The results are a bit unclear, I took a 2.6.22-rc4 with beep. > > Logged into KDE. > > (hardware: Dell Latitude D810) > > > > S = successfull resume > > D = had to resume 2 times, that means when pressing the power button the > > LED goes from blinking to on and after a few seconds it goe

[PATCH 2.6.22-rc6-mm1] compile error when CONFIG_DM_NETLINK is not defined

2007-06-28 Thread Dave Kleikamp
On Thu, 2007-06-28 at 03:43 -0700, Andrew Morton wrote: > -agk-dm-dm-use-singlethread-workqueues.patch > +agk-dm-dm-use-singlethread-workqueues.patch > +agk-dm-dm-snapshot-fix-invalidation-deadlock.patch > +agk-dm-dm-snapshot-permit-invalid-activation.patch > +agk-dm-dm-raid1-clear-region-outside-s

Re: [PATCH 3/5 v2] Add the platform device support with RapidIO to MPC8641HPCN platform.

2007-06-28 Thread Arnd Bergmann
On Thursday 28 June 2007, Zhang Wei-r63237 wrote: > > > +static __init int mpc86xx_of_device_init(void) > > > +{ > > > +   return of_platform_bus_probe(NULL, mpc86xx_of_ids, NULL); > > > +} > > > > This will add any devices below the "fsl,rapidio-delta" device > > as an of_device. Is that what

Re: Adding subroot information to /proc/mounts, or obtaining that through other means

2007-06-28 Thread Pavel Machek
Hi! > > ... or, alternatively, add a subfield to the first field (which would > > entail escaping whatever separator we choose): > > > > /dev/md6 /export ext3 rw,data=ordered 0 0 > > /dev/md6:/users/foo /home/foo ext3 rw,data=ordered 0 0 > > /dev/md6:/users/bar /home/bar ext3 rw,data=ordered 0 0

Re: [PATCH] Optional Beeping During Resume From Suspend To Ram.

2007-06-28 Thread Pavel Machek
Hi! > Hi all > > Here's what I have after today's work. > > I haven't yet been able to test on x86, but can confirm that it works okay on > x86_64. I'm currently working towards testing it on my old Omnibook. My P4 > desktop won't resume from suspend to ram at all, and hasn't produced any > b

Re: 2.6.22-rc6 spurious hangs

2007-06-28 Thread Thomas Sattler
>> As Ingo told me I run 'echo t > /proc/sysrq-trigger' this time. The >> corresponding part of my syslogs is attached, as well as my kernel config. > > Could you try the patch below? It dumps some info when flush_workqueue() > hangs. I'm compiling a patched kernel right now. As I wrote in my for

Re: 2.6.22-rc6 spurious hangs

2007-06-28 Thread Ingo Molnar
* Thomas Sattler <[EMAIL PROTECTED]> wrote: > >> As Ingo told me I run 'echo t > /proc/sysrq-trigger' this time. The > >> corresponding part of my syslogs is attached, as well as my kernel config. > > > > Could you try the patch below? It dumps some info when flush_workqueue() > > hangs. > > I'

Network "freeze/lost"

2007-06-28 Thread serge
Hello everybody. First of all, excus emy (poor) english, i'm french. I have a big trouble with several server, web server. They are debian sarge based. Program that run on it are principally Apache2, PHP5, Zend cluster with session management, Postfix and NFS client Theses servers work we

Re: [patch -mm] s390: rename CPU_IDLE to S390_CPU_IDLE

2007-06-28 Thread Ingo Molnar
* Heiko Carstens <[EMAIL PROTECTED]> wrote: > From: Heiko Carstens <[EMAIL PROTECTED]> > > sched-cfs-v2.6.22-git-v18.patch introduces CPU_IDLE in sched.h. > This conflict with the already existing define in > include/asm-s390/processor.h > Just rename the s390 defines, since they will go away as

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-28 Thread Rene Herman
On 06/28/2007 02:42 PM, Anton Petrusevich wrote: Please always use Reply-to-All on this list -- subscribers here like to also get personal copies. I have ICE1724, a very good sound card to my taste, works like a charm. But with ALSA I had a really hard time to configure it properly, wanna see

[PATCH] myri10ge: SET_NETDEV_DEV()

2007-06-28 Thread Maik Hampel
SET_NETDEV_DEV() in myri10ge to create the "/sys/class/net//device" symlink. Signed-off-by: Maik Hampel <[EMAIL PROTECTED]> diff -Naur a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c --- a/drivers/net/myri10ge/myri10ge.c 2007-06-28 16:04:41.0 +0200 +++ b/drivers/net/

Re: implement-file-posix-capabilities.patch

2007-06-28 Thread Casey Schaufler
--- Andrew Morgan <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Serge E. Hallyn wrote: > >> Does that explain it? > > > > Yes, thanks, but then it still could come in handy to have fE be a full > > bitset, so the application gets some eff caps automatically, w

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-28 Thread Jeff Garzik
Ingo Molnar wrote: * Jeff Garzik <[EMAIL PROTECTED]> wrote: Tasklets fill a niche not filled by either workqueues (slower, requiring context switches, and possibly much latency is all wq's processes are active) [...] ... workqueues are also possibly much more scalable (percpu workqueues are

Re: [linux-lvm] 2.6.22-rc4 XFS fails after hibernate/resume

2007-06-28 Thread Rafael J. Wysocki
On Wednesday, 27 June 2007 22:49, Pavel Machek wrote: > Hi! > > > FWIW, I'm on record stating that "sync" is not sufficient to quiesce an XFS > > filesystem for a suspend/resume to work safely and have argued that the only > > Hmm, so XFS writes to disk even when its threads are frozen? > > > sa

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-28 Thread Jeff Garzik
Alexey Kuznetsov wrote: Hello! the context-switch argument i'll believe if i see numbers. You'll probably need in excess of tens of thousands of irqs/sec to even be able to measure its overhead. (workqueues are driven by nice kernel threads so there's no TLB overhead, etc.) It was authors o

Re: New format Intel microcode...

2007-06-28 Thread Andi Kleen
> Slashdot carried an article this morning saying that an error in Intel > microcode was being fixed. However, it listed only Windows related sites That's a little misleading. Always dangerous getting your information from slashdot. Let's say Intel clarified some corner cases in TLB flushing th

Re: Please release a stable kernel Linux 3.0

2007-06-28 Thread William D Waddington
Helge Hafting wrote: Bill Waddington wrote: (And taking my drivers main-line isn't an option. It would be fine with me, but there is *zero* chance that my funky code would be welcomed into the tree.) If the only merge-stopper is code quality, why not post your driver and get some feedback

Re: [RFC] get rid of CONFIG_DISABLE_CONSOLE_SUSPEND

2007-06-28 Thread Rafael J. Wysocki
Hi, On Thursday, 28 June 2007 15:51, Pavel Machek wrote: > Hi! > > What about this? (Only compile tested, but looks pretty obvious to > me). Something like this should get us rid of ugly option, and still > solve debugging problems... Hmmm? >

Re: 2.6.21.5: BUG: usbtouchscreen.c DMC TSC-10 wrong descriptor type / type->init() failed.

2007-06-28 Thread Clemens Koller
Hello, Dimitry! Dmitry Torokhov schrieb: Hi, On 6/27/07, Clemens Koller <[EMAIL PROTECTED]> wrote: drivers/usb/input/usbtouchscreen.c: usbtouch_probe - type->init() failed, err: -19 dmc_tsc10_init() returns -ENODEV (-19) when device responds with something other than 0x06 0x00 to the "reset"

Re: Please release a stable kernel Linux 3.0

2007-06-28 Thread Al Boldi
Al Viro wrote: > On Thu, Jun 28, 2007 at 01:32:23AM +0300, Al Boldi wrote: > > > > You are effectively inhibiting the development of an out-of-tree GPL > > > > module pool, by constantly pulling the rug under that community. > > > > > > The same thing happens with any yet-to-be-merged code. > > > >

Re: [PATCH 2.6.22-rc6-mm1] compile error when CONFIG_DM_NETLINK is not defined

2007-06-28 Thread Alasdair G Kergon
On Thu, Jun 28, 2007 at 09:49:17AM -0500, Dave Kleikamp wrote: > I got this compile error: > LD drivers/md/built-in.o > drivers/md/dm-multipath.o: In function `dm_path_event': > drivers/md/dm-netlink.h:56: multiple definition of `dm_path_event' > drivers/md/dm-mod.o:drivers/md/dm-netlink.h:5

Re: implement-file-posix-capabilities.patch

2007-06-28 Thread Serge E. Hallyn
Quoting Casey Schaufler ([EMAIL PROTECTED]): > > --- Andrew Morgan <[EMAIL PROTECTED]> wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Serge E. Hallyn wrote: > > >> Does that explain it? > > > > > > Yes, thanks, but then it still could come in handy to have fE be a full >

[PATCH 1/2] selinux: don't enable minimum mmap checking by default

2007-06-28 Thread James Morris
Don't enable minimum mmap checking by default in SELinux, as it may break existing applications which do not have updated policy. We will be able to enable it by default later, once we have code to handle new permissions which are not present in the user's policy. Signed-off-by: James Morris <[EM

Re: Adding subroot information to /proc/mounts, or obtaining that through other means

2007-06-28 Thread H. Peter Anvin
Pavel Machek wrote: Hi! ... or, alternatively, add a subfield to the first field (which would entail escaping whatever separator we choose): /dev/md6 /export ext3 rw,data=ordered 0 0 /dev/md6:/users/foo /home/foo ext3 rw,data=ordered 0 0 /dev/md6:/users/bar /home/bar ext3 rw,data=ordered 0 0

Re: [RFC][PATCH -mm] PM: Do not use saved_state from struct dev_pm_info on ARM (was: Re: patch pm-remove-saved_state-from-struct-dev_pm_info.patch added to gregkh-2.6 tree)

2007-06-28 Thread Rafael J. Wysocki
On Wednesday, 27 June 2007 23:11, Rafael J. Wysocki wrote: > On Tuesday, 26 June 2007 23:03, Greg KH wrote: > > On Tue, Jun 26, 2007 at 11:00:06PM +0200, Rafael J. Wysocki wrote: > > > On Friday, 15 June 2007 00:57, [EMAIL PROTECTED] wrote: > > > > > > > > This is a note to let you know that I've

[PATCH 2/2] security: move mmap_min_addr sysctl to /proc/sys/vm

2007-06-28 Thread James Morris
Move mmap_min_addr sysctl to /proc/sys/vm, as suggested by Andrew Morton. Signed-off-by: James Morris <[EMAIL PROTECTED]> --- Documentation/sysctl/kernel.txt | 14 -- Documentation/sysctl/vm.txt | 15 +++ kernel/sysctl.c | 20 ++--

Re: [PATCH] RFC: have tcp_recvmsg() check kthread_should_stop() and treat it as if it were signalled

2007-06-28 Thread Satyam Sharma
On 6/28/07, Oleg Nesterov <[EMAIL PROTECTED]> wrote: (trimmed the cc: list) On 06/28, Satyam Sharma wrote: > On 6/27/07, Oleg Nesterov <[EMAIL PROTECTED]> wrote: > > > >Contrary, I believe we should avoid signals when it > >comes to kernel threads. > > And I agree, but there's quite a subtle diff

Re: New format Intel microcode...

2007-06-28 Thread Chuck Ebbert
On 06/28/2007 11:27 AM, Andi Kleen wrote: > > But the problem is very obscure and you can likely ignore it too. If your > machine crashes it's very likely something else. What about deliberate exploits of these bugs from userspace? Theo thinks they are possible... - To unsubscribe from this lis

Re: [PATCH 1/2] selinux: don't enable minimum mmap checking by default

2007-06-28 Thread Eric Paris
On Thu, 2007-06-28 at 11:40 -0400, James Morris wrote: > Don't enable minimum mmap checking by default in SELinux, as it may break > existing applications which do not have updated policy. > > We will be able to enable it by default later, once we have code to handle > new permissions which are no

Re: New format Intel microcode...

2007-06-28 Thread Alex Riesen
By any chance, do you known anything about microcode driver which uses standard firmware load interfaces (like those used by wlan card)? In particular, what format does the driver expect the microcode in? It didn't accept Tigran's files in past, does it accept them now? - To unsubscribe from this

Re: implement-file-posix-capabilities.patch

2007-06-28 Thread Andrew Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Casey Schaufler wrote: >> The only reason for having an fE bitmap is to allow a capability-aware >> program (you really trust to do its privileged operations carefully) to >> be lazy and get some of its capabilities raised for free. Perhaps you >> can

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-28 Thread Steven Rostedt
On Thu, 28 Jun 2007, Alexey Kuznetsov wrote: > > the context-switch argument i'll believe if i see numbers. You'll > > probably need in excess of tens of thousands of irqs/sec to even be able > > to measure its overhead. (workqueues are driven by nice kernel threads > > so there's no TLB overhead,

Re: implement-file-posix-capabilities.patch

2007-06-28 Thread Casey Schaufler
--- "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > Quoting Casey Schaufler ([EMAIL PROTECTED]): > > > > --- Andrew Morgan <[EMAIL PROTECTED]> wrote: > > > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA1 > > > > > > Serge E. Hallyn wrote: > > > >> Does that explain it? > > > > > > > >

Re: Userspace compiler support of "long long"

2007-06-28 Thread Mark Brown
On Thu, Jun 28, 2007 at 08:11:59AM -0400, Kyle Moffett wrote: > I can't even find the docs for their "tcc". Their "tchk" appears to tchk is the same thing pretty much with output disabled. There's a HTML copy of the man page here: http://www.penguin-soft.com/penguin/man/1/tendracc.html It

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-28 Thread Ingo Molnar
* Alexey Kuznetsov <[EMAIL PROTECTED]> wrote: > > the context-switch argument i'll believe if i see numbers. You'll > > probably need in excess of tens of thousands of irqs/sec to even be > > able to measure its overhead. (workqueues are driven by nice kernel > > threads so there's no TLB over

RE: [patch -mm] s390: struct bin_attribute changes

2007-06-28 Thread Zhang, Rui
Oops. Sorry. Thanks for fixing it. Best regards, Rui -Original Message- From: Heiko Carstens [mailto:[EMAIL PROTECTED] Sent: 2007年6月28日 21:39 To: Andrew Morton Cc: linux-kernel@vger.kernel.org; Martin Schwidefsky; Zhang, Rui; Greg KH; Brown, Len Subject: [patch -mm] s390: struct bin_att

Re: [AppArmor 32/44] Enable LSM hooks to distinguish operations on file descriptors from operations on pathnames

2007-06-28 Thread James Morris
On Tue, 26 Jun 2007, [EMAIL PROTECTED] wrote: > Struct iattr already contains ia_file since commit cc4e69de from > Miklos (which is related to commit befc649c). Use this to pass > struct file down the setattr hooks. This allows LSMs to distinguish > operations on file descriptors from operations

Re: Linux Kernel include files

2007-06-28 Thread Jan Engelhardt
On Jun 28 2007 12:57, Jan-Benedict Glaw wrote: >> > >> > It's not an accusation -- it's merely an observation. You may not have >> > noticed that your mailer was misbehaving; now you _do_ know, and if you >> > care about RFC compliance you might want to fix it. You're not _obliged_ >> > to fix it,

Re: man-pages-2.59 and man-pages-2.60 are released

2007-06-28 Thread Michael Kerrisk
Alexander, > > I just released man-pages-2.59 and man-pages-2.60. > > > > These releases are now available for download at: > > > > http://www.kernel.org/pub/linux/docs/manpages Yes, just this morning I decided to tidy away some of the old tarballs into a newly created "old" directory. >

Re: [PATCH] RFC: have tcp_recvmsg() check kthread_should_stop() and treat it as if it were signalled

2007-06-28 Thread Satyam Sharma
On 6/28/07, Oleg Nesterov <[EMAIL PROTECTED]> wrote: > [...] > Hmm... actually, such a change breaks the > > while (signal_pending(current)) > dequeue_signal_and_so_something(); > > loop, see jffs2_garbage_collect_thread() for example. BTW jffs2_garbage_collect_thread() i

Re: [PATCH] RFC: have tcp_recvmsg() check kthread_should_stop() and treat it as if it were signalled

2007-06-28 Thread Satyam Sharma
On 6/28/07, Satyam Sharma <[EMAIL PROTECTED]> wrote: [...] [ BTW even there we're safe as long as we check kthread_stop() _before_ flushing or ^^ Whoops, that should have been "kthread_should_stop()". dequeueing the signals, but then that'll be an u

Re: Please release a stable kernel Linux 3.0

2007-06-28 Thread Alan Cox
> Fair enough: > http://www.tahomatech.com/downloads/drivers/linux_2.6/pci/x86/compressed_tarfiles/ > or for your browsing pleasure: > http://www.tahomatech.com/downloads/drivers/linux_2.6/pci/x86/files/ > > But I really don't see much hope :( Coding style, masses of ioctls, > build and install t

Re: [PATCH 1/1] file capabilities: get_file_caps cleanups

2007-06-28 Thread Andrew Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Serge E. Hallyn wrote: kfree(dcaps); > Move this two lines down (rc defaults to 0 in goto above): > from here--> +clear_caps: + if (rc) { > to here--> > >> Hmm? But if we succeeded we still want to free dcaps if we >> kmall

Re: man-pages-2.59 and man-pages-2.60 are released

2007-06-28 Thread Alexander E. Patrakov
Michael Kerrisk wrote: How about a link in /pub/linux/docs/manpages/ of the form "LATEST-IS-m.xy"? Rob Landley was wanting something like this, and I guess it would be easy for LFS to build a simple script that looks for that link and deduces "man-pages-m.xy" from it. (I've just now created s

Re: [RFC/PATCH] debug workqueue deadlocks with lockdep

2007-06-28 Thread Johannes Berg
On Wed, 2007-06-27 at 20:40 +0200, Johannes Berg wrote: > --- linux-2.6-git.orig/kernel/workqueue.c 2007-06-27 19:10:35.183199046 > +0200 > +++ linux-2.6-git/kernel/workqueue.c 2007-06-27 20:30:00.896667168 +0200 > @@ -61,8 +61,15 @@ struct workqueue_struct { > const char *name; >

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-28 Thread Anton Petrusevich
On Thursday 28 June 2007 17:02:55 you wrote: > Please always use Reply-to-All on this list -- subscribers here like to > also get personal copies. I am not subscribed to linux-kernel, I am reading it on the web. > > I have ICE1724, a very good sound card to my taste, works like a charm. > > But w

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-28 Thread Oleg Nesterov
On 06/28, Steven Rostedt wrote: > > I also don't see any nice API to have the priority set for a workqueue > thread from within the kernel. Looks like one needs to be added, > otherwise, I need to have the wrapper dig into the workqueue structs to > find the thread that handles the workqueue. It

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-28 Thread Xavier Bestel
On Thu, 2007-06-28 at 18:34 +0200, Anton Petrusevich wrote: > > Please always use Reply-to-All on this list -- subscribers here like to > > also get personal copies. > > I am not subscribed to linux-kernel, I am reading it on the web. Then please subscribe just for the time you want to participat

Re: Please release a stable kernel Linux 3.0

2007-06-28 Thread William D Waddington
Alan Cox wrote: [snip] A cleaned-up, consistent, and out-of-tree friendly way of handling API changes might help us all. The problem is that its very impractical. If I change a kernel API I fix up the in tree users and test those I can, that's "accepted practice" - you make mess doing a job y

[patch 0/6] resend: guest page hinting version 5.

2007-06-28 Thread Martin Schwidefsky
Greetings, after Carsten pitched CMM2 on the kvm mini summit here is a repost of version 5 of the guest page hinting patches. The code is still the same but has been adapted to the latest git level. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. - To unsubscribe from t

[patch 2/6] Guest page hinting: volatile swap cache.

2007-06-28 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> From: Hubertus Franke <[EMAIL PROTECTED]> From: Himanshu Raj <[EMAIL PROTECTED]> The volatile page state can be used for anonymous pages as well, if they have been added to the swap cache and the swap write is finished. The tricky bit is in free_swap_an

[patch 3/6] Guest page hinting: mlocked pages.

2007-06-28 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> From: Hubertus Franke <[EMAIL PROTECTED]> From: Himanshu Raj <[EMAIL PROTECTED]> Add code to get mlock() working with guest page hinting. The problem with mlock is that locked pages may not be removed from page cache. That means they need to be stable.

[patch 1/6] Guest page hinting: core + volatile page cache.

2007-06-28 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> From: Hubertus Franke <[EMAIL PROTECTED]> From: Himanshu Raj <[EMAIL PROTECTED]> The guest page hinting patchset introduces code that passes guest page usage information to the host system that virtualizes the memory of its guests. There are three diffe

[patch 4/6] Guest page hinting: writable page table entries.

2007-06-28 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> From: Hubertus Franke <[EMAIL PROTECTED]> From: Himanshu Raj <[EMAIL PROTECTED]> The volatile state for page cache and swap cache pages requires that the host system needs to be able to determine if a volatile page is dirty before removing it. This excl

[patch 5/6] Guest page hinting: minor fault optimization.

2007-06-28 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> From: Hubertus Franke <[EMAIL PROTECTED]> From: Himanshu Raj <[EMAIL PROTECTED]> On of the challenges of the guest page hinting scheme is the cost for the state transitions. If the cost gets too high the whole concept of page state information is in que

[patch 6/6] Guest page hinting: s390 support.

2007-06-28 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> From: Hubertus Franke <[EMAIL PROTECTED]> From: Himanshu Raj <[EMAIL PROTECTED]> s390 uses the milli-coded ESSA instruction to set the page state. The page state is formed by four guest page states called block usage states and three host page states ca

Re: [PATCH 1/1] file capabilities: get_file_caps cleanups

2007-06-28 Thread Serge E. Hallyn
Quoting Andrew Morgan ([EMAIL PROTECTED]): > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Serge E. Hallyn wrote: > kfree(dcaps); > > Move this two lines down (rc defaults to 0 in goto above): > > from here--> > +clear_caps: > +if (rc) { > > to here-->

Re: man-pages-2.59 and man-pages-2.60 are released

2007-06-28 Thread Michael Kerrisk
> Michael Kerrisk wrote: > > How about a link in /pub/linux/docs/manpages/ of the form > > "LATEST-IS-m.xy"? Rob Landley was wanting something like this, > > and I guess it would be easy for LFS to build a simple > > script that looks for that link and deduces "man-pages-m.xy" > > from it. (I'v

Fwd: Mounting MMC card

2007-06-28 Thread Midhun Agnihotram
Hi All, I am new to linux kernel stuff. I am using Cogent CSB535FS board. I have configured the kernel to include support for MMC card and also i.MX MMC driver. When I insert the card, it says : # imx-mmc imx-mmc.0: card inserted So, the kernel has identified that MMC has been inserted. I h

Re: [PATCH] RFC: have tcp_recvmsg() check kthread_should_stop() and treat it as if it were signalled

2007-06-28 Thread Oleg Nesterov
On 06/28, Satyam Sharma wrote: > > Second, we *must* break that tcp_recvmsg() inside the kthread's > main loop, of course! We want it stopped, after all, and if we don't > make it "break" out of that function, the kthread _will_never_exit_. In that case this kthread is buggy. We have sock->sk_rcvt

Mounting MMC card

2007-06-28 Thread Midhun Agnihotram
Sorry for resending. I dont know if my previous mail has reached the list with "Fwd" in the subject line. I am pretty sure there must a filter in Majordomo to discard forwards. Actually I am resending the mail I had sent to Linux-Arm-Kernel. Thanks. -- Forwarded message -- From:

Unable to change sata NCQ depth due to readonly /sys/block/sdc/device/queue_depth file

2007-06-28 Thread Roy Franz
Hi, I am unable to change the NCQ settings for a sata drive that supports it - NCQ is always on. This is due to the sysfs queue_depth file being read-only. This is on vanilla 2.6.21.5 running with Debian Etch. (Several earlier versions of the kernel had this same issue.) The drive (WD Raptor

Re: [PATCH -mm] ALSA portman2x4 section mismatch

2007-06-28 Thread Randy Dunlap
On Wed, 27 Jun 2007 12:02:32 +0200 Takashi Iwai wrote: > At Tue, 26 Jun 2007 15:30:13 -0700, > Randy Dunlap wrote: > > > > From: Randy Dunlap <[EMAIL PROTECTED]> > > > > FIx section mismatch when CONFIG_HOTPLUG=n: > > > > WARNING: sound/built-in.o(.exit.text+0x271): Section mismatch: reference

Re: [Possible BUG] Logitech USB keyboard inconsistent led state

2007-06-28 Thread Jiri Kosina
On Thu, 28 Jun 2007, Antonino Ingargiola wrote: > $ cat /sys/bus/usb/devices/1-1.2/idVendor > 046d > $ cat /sys/bus/usb/devices/1-1.2/idProduct > c311 Please try the patch below (against any post-2.6.22-rc1 kernel) diff --git a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c in

Re: [RFC] get rid of CONFIG_DISABLE_CONSOLE_SUSPEND

2007-06-28 Thread Stefan Seyfried
(CC'ing Linus, since disabling consoles during suspend was his idea IIRC) On Thu, Jun 28, 2007 at 05:34:54PM +0200, Rafael J. Wysocki wrote: > Hi, > > On Thursday, 28 June 2007 15:51, Pavel Machek wrote: > > Hi! > > > > What about this? (Only compile tested, but looks pretty obvious to > > me).

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-28 Thread Jeff Garzik
Ingo Molnar wrote: my argument was: workqueues are more scalable than tasklets in general. Here is my argument: that is totally irrelevant to $subject, when it comes to dealing with managing existing [network driver] behavior and performance. My overall objection is the attempt to replace

Re: New format Intel microcode...

2007-06-28 Thread Chuck Ebbert
On 06/28/2007 10:12 AM, Arjan van de Ven wrote: > (while I work for Intel this is not an official Intel statement, but > there is so much FUD going around now that I feel I need to at least > point out a few things others "forget") >> Slashdot carried an article this morning saying that an error in

Re: New format Intel microcode...

2007-06-28 Thread Arjan van de Ven
Chuck Ebbert wrote: On 06/28/2007 10:12 AM, Arjan van de Ven wrote: (while I work for Intel this is not an official Intel statement, but there is so much FUD going around now that I feel I need to at least point out a few things others "forget") Slashdot carried an article this morning saying th

Re: [RFC/PATCH] debug workqueue deadlocks with lockdep

2007-06-28 Thread Johannes Berg
On Thu, 2007-06-28 at 18:33 +0200, Johannes Berg wrote: > I think I misunderstood how lockdep works because the output was > actually wrong, should the key be part of the workqueue_struct as well? No, that's not right either, but Arjan just helped me a bit with how lockdep works and I think I hav

Re: 2.6.22-rc6 spurious hangs

2007-06-28 Thread Thomas Sattler
As Ingo told me I run 'echo t > /proc/sysrq-trigger' this time. The corresponding part of my syslogs is attached, as well as my kernel config. >>> Could you try the patch below? It dumps some info when flush_workqueue() >>> hangs. >> I'm compiling a patched kernel right now. As I wrote in

Re: how about mutual compatibility between Linux's GPLv2 and GPLv3?

2007-06-28 Thread Alexandre Oliva
On Jun 28, 2007, "David Schwartz" <[EMAIL PROTECTED]> wrote: >> Let's hope courts see it this way. >> But then, why is it that I can't use hardware to stop someone from >> copying or modifying the source code, but I can use hardware to stop >> someone from copying or modifying the binary? Or is

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-28 Thread Jeff Garzik
Ingo Molnar wrote: But it was not me who claimed that 'workqueues are slow'. The claim was: slower than tasklets. choice. I am just wondering out loud whether this particular tool, in its current usage pattern, makes much technological sense. My claim is: it could very well be that it does

Re: 2.6.22-rc6 spurious hangs

2007-06-28 Thread Thomas Sattler
Here is the logfile. Thomas -- keep mailinglists in english, feel free to send PM in german messages.gz Description: application/gzip

[PATCH -mm] scripts/decodecode: fix for /bin/sh

2007-06-28 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Convert substring expressions to be sh-compatible. Tested by Arne Georg Gleditsch <[EMAIL PROTECTED]> Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- scripts/decodecode |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-2.6.22-rc6-

Re: how about mutual compatibility between Linux's GPLv2 and GPLv3?

2007-06-28 Thread Alexandre Oliva
On Jun 28, 2007, Alexandre Oliva <[EMAIL PROTECTED]> wrote: > So, let's narrow the scenario to: tivoized machine downloads binary > from protected site, refrains from downloading sources that it could > download, user can still access and copy the binaries, but can't > obtain the sources because t

Re: Mounting MMC card

2007-06-28 Thread Jan Dittmer
Midhun Agnihotram wrote: > Sorry for resending. I dont know if my previous mail has reached the > list with "Fwd" in the subject line. I am pretty sure there must a > filter in Majordomo to discard forwards. Actually I am resending the > mail I had sent to Linux-Arm-Kernel. The mail came already t

Re: New format Intel microcode...

2007-06-28 Thread Daniel J Blueman
On 28/06/07, Chuck Ebbert <[EMAIL PROTECTED]> wrote: On 06/28/2007 10:12 AM, Arjan van de Ven wrote: [snip] >> However, it listed only Windows related sites >> for the "fix" download. Is this the same TLB issue? And are these really >> fixes for Windows to flush the TLB properly the way Linux

Re: 2.6.22-rc6-mm1

2007-06-28 Thread Andrew Morton
On Thu, 28 Jun 2007 14:08:49 +0200 Gabriel C <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc6/2.6.22-rc6-mm1/ > > > > > > Compile error here. > > ... > > Kernel: arch/i386/boot/bzImage is ready (#1) > ERROR: "check

Re: [PATCH 1/7] ICH Force HPET: Make generic time capable of switching broadcast timer

2007-06-28 Thread Andrew Morton
On Thu, 28 Jun 2007 08:12:48 -0400 (EDT) James Morris <[EMAIL PROTECTED]> wrote: > > My fix: > > This should work. > uh, OK, surprised. Completer version: --- a/security/selinux/hooks.c~git-selinux-disable-mmap_min_addr-by-default +++ a/security/selinux/hooks.c @@ -112,9 +112,6 @@ int selinux

Re: [PATCH 0/6][TAKE5] fallocate system call

2007-06-28 Thread Amit K. Arora
On Thu, Jun 28, 2007 at 02:55:43AM -0700, Andrew Morton wrote: > On Mon, 25 Jun 2007 18:58:10 +0530 "Amit K. Arora" <[EMAIL PROTECTED]> wrote: > > > N O T E: > > --- > > 1) Only Patches 4/7 and 7/7 are NEW. Rest of them are _already_ part > >of ext4 patch queue git tree hosted by Ted. >

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-28 Thread Dan Williams
On 6/28/07, Steven Rostedt <[EMAIL PROTECTED]> wrote: Hi Dan, On Mon, 25 Jun 2007, Dan Williams wrote: > Yes you are right, ARM does not flush L1 when prev==next in switch_mm. > > > Perhaps something else is at fault here. > > > I'll try and dig a bit deeper... BTW: static int __init iop_ad

Re: [PATCH 1/7] ICH Force HPET: Make generic time capable of switching broadcast timer

2007-06-28 Thread Andrew Morton
On Thu, 28 Jun 2007 08:45:48 -0400 Eric Paris <[EMAIL PROTECTED]> wrote: > On Thu, 2007-06-28 at 01:27 -0700, Andrew Morton wrote: > > On Thu, 28 Jun 2007 00:12:21 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > I can't start the X server any more, but that's probably unrelated ;) > > >

Re: [patch -mm] Make check_signature() depend on CONFIG_HAS_IOMEM

2007-06-28 Thread Andrew Morton
On Thu, 28 Jun 2007 15:37:15 +0200 Heiko Carstens <[EMAIL PROTECTED]> wrote: > From: Heiko Carstens <[EMAIL PROTECTED]> > > check_signature() uses readb() and therefore should only be build on > CONFIG_HAS_IOMEM. > > Otherwise breaks s390: > lib/check_signature.c: In function `check_signature':

Re: [PATCH 7/7][TAKE5] ext4: support new modes

2007-06-28 Thread Amit K. Arora
On Wed, Jun 27, 2007 at 10:04:56AM +1000, David Chinner wrote: > On Wed, Jun 27, 2007 at 12:59:08AM +0530, Amit K. Arora wrote: > > On Tue, Jun 26, 2007 at 12:14:00PM -0400, Andreas Dilger wrote: > > > On Jun 26, 2007 17:37 +0530, Amit K. Arora wrote: > > > > I think, modifying ctime/mtime should

Re: Mounting MMC card

2007-06-28 Thread Hans-Jürgen Koch
Am Donnerstag 28 Juni 2007 19:08 schrieb Midhun Agnihotram: > How do I access the MMC card data now? If I try to mount it, > busybox doesnot mount it. > > # mount /dev/mmcblk0p0 /mnt/mmc > mount: mounting /dev/mmcblk0p0 on /mnt/mmc failed > > I have tried with /dev/mmcblk0p0, mmcblk0p1,etc

Re: 2.6.22-rc6 spurious hangs

2007-06-28 Thread Oleg Nesterov
On 06/28, Thomas Sattler wrote: > > Here is the logfile. > Jun 28 18:26:03 pearl ERR!! events/0 flush hang: f573759c f573759c 5782 5782 > 0 1 > Jun 28 18:26:03 pearl CURR: 5557 5557 dvbd 0 129024 > Jun 28 18:26:03 pearl wq_barrier_func+0x0/0xd > Jun 28 18:26:03 pearl cache_reap+0x0/0xe3 > Jun 28

Re: [PATCH -mm] ALSA portman2x4 section mismatch

2007-06-28 Thread Sam Ravnborg
On Thu, Jun 28, 2007 at 10:24:38AM -0700, Randy Dunlap wrote: > On Wed, 27 Jun 2007 12:02:32 +0200 Takashi Iwai wrote: > > > At Tue, 26 Jun 2007 15:30:13 -0700, > > Randy Dunlap wrote: > > > > > > From: Randy Dunlap <[EMAIL PROTECTED]> > > > > > > FIx section mismatch when CONFIG_HOTPLUG=n: > >

Re: [patch 3/3] Fix XFS_IOC_FSBULKSTAT{,_SINGLE} and XFS_IOC_FSINUMBERS in compat mode

2007-06-28 Thread Andrew Morton
On Tue, 19 Jun 2007 15:25:52 +0200 [EMAIL PROTECTED] wrote: > * 32bit struct xfs_fsop_bulkreq has different size and layout of > members, no matter the alignment. Move the code out of the #else > branch (why was it there in the first place?). Define _32 variants of > the ioctl constants. > *

Re: [AppArmor 32/44] Enable LSM hooks to distinguish operations on file descriptors from operations on pathnames

2007-06-28 Thread Andreas Gruenbacher
On Thursday 28 June 2007 18:12, James Morris wrote: > Are you trying to cater for the case where you're holding an open fd for a > file which has been deleted, and thus has no pathname? Yes, see the AA_CHECK_FD flag in security/apparmor/main.c:aa_perm_dentry(). We want to distinguish between the

Re: [patch 1/3] MAP_NOZERO - implement a new VM_NOZERO/MAP_NOZERO page retirement policy

2007-06-28 Thread Davide Libenzi
On Wed, 27 Jun 2007, Andy Isaacson wrote: > On Tue, Jun 26, 2007 at 09:32:44PM -0700, Davide Libenzi wrote: > > > Because an SUID program can change its UID back. > > > > > > At least, one that was SUID root. OTOH, any > > > program running as root can change UID, so we > > > should probably not

Re: [PATCH 3/5 v2] Add the platform device support with RapidIO to MPC8641HPCN platform.

2007-06-28 Thread Segher Boessenkool
Of course, looking at the device tree, rapidio is a device, not a bus, because it does not have a device_type and it does not have any children of its own. It's a device _of course_, but it's also a bus parent, since it has a "#address-cells" not equal to zero (and, if this used real OF, it wo

Re: [patch -mm] Make check_signature() depend on CONFIG_HAS_IOMEM

2007-06-28 Thread Geert Uytterhoeven
On Thu, 28 Jun 2007, Andrew Morton wrote: > On Thu, 28 Jun 2007 15:37:15 +0200 Heiko Carstens <[EMAIL PROTECTED]> wrote: > > > From: Heiko Carstens <[EMAIL PROTECTED]> > > > > check_signature() uses readb() and therefore should only be build on > > CONFIG_HAS_IOMEM. > > > > Otherwise breaks s390

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-28 Thread Andrew Morton
On Thu, 28 Jun 2007 18:00:01 +0200 Ingo Molnar <[EMAIL PROTECTED]> wrote: > with 1.2 usecs and 10,000 > irqs/sec the cost is 1.2 msecs/sec, or 0.1%. off-by-10 error. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majo

Re: [PATCH 4/7][TAKE5] support new modes in fallocate

2007-06-28 Thread Amit K. Arora
On Wed, Jun 27, 2007 at 09:18:04AM +1000, David Chinner wrote: > On Tue, Jun 26, 2007 at 11:34:13AM -0400, Andreas Dilger wrote: > > On Jun 26, 2007 16:02 +0530, Amit K. Arora wrote: > > > On Mon, Jun 25, 2007 at 03:46:26PM -0600, Andreas Dilger wrote: > > > > Can you clarify - what is the current

[PATCH 1/1] file caps: update selinux xattr hooks

2007-06-28 Thread Serge E. Hallyn
This fixes a shortcoming of the cap_setfcap patch I sent earlier, pointed out by Stephen Smalley. Seems to compile and boot on my little systems. thanks, -serge >From d729000b922a2877a48ce2b5a03a9366d8c65d04 Mon Sep 17 00:00:00 2001 From: Serge E. Hallyn <[EMAIL PROTECTED]> Date: Thu, 28 Jun 200

Please pull from 'from_linus' branch

2007-06-28 Thread Kumar Gala
Please pull from 'for_linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git for_linus to receive the following updates: drivers/net/phy/mdio_bus.c |3 ++- drivers/net/phy/vitesse.c |2 +- 2 files changed, 3 insertions(+), 2 deletions(-) Kumar Gala (1):

<    1   2   3   4   >