RE: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread albcamus
Hi roland, It's really an interesting feature, IMHO, maybe the UML would be no more needed. thanks very much;-) Regards, 2007/4/20, roland <[EMAIL PROTECTED]>: Hi ! I think this one is damn interestig for linux kernel development: link: http://stackframe.blogspot.com/ contents: see below

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Willy Tarreau
On Fri, Apr 20, 2007 at 04:02:41PM +1000, Peter Williams wrote: > Willy Tarreau wrote: > >On Fri, Apr 20, 2007 at 10:10:45AM +1000, Peter Williams wrote: > >>Ingo Molnar wrote: > >>>- bugfix: use constant offset factor for nice levels instead of > >>> sched_granularity_ns. Thus nice levels work

Re: [patch] CFS scheduler, v3

2007-04-20 Thread Peter Williams
Ingo Molnar wrote: * Peter Williams <[EMAIL PROTECTED]> wrote: - bugfix: use constant offset factor for nice levels instead of sched_granularity_ns. Thus nice levels work even if someone sets sched_granularity_ns to 0. NOTE: nice support is still naive, i'll address the many nice level

AGPGart / AMD K7

2007-04-20 Thread Preston A. Elder
Hi, I have a Tyan Thunder K7x Pro (S2469) and the amd-k7-agp module does not seem to be probing my AGP device. I have even tried putting debugging code into the amd-k7-agp module, and sure enough I can see it being loaded, but the probe function is never called. This is with kernel 2.6.19.

Re: CPU time limit patch / setrlimit(RLIMIT_CPU, 0) cheat fix

2007-04-20 Thread Andrew Morton
On Tue, 17 Apr 2007 16:57:55 +0300 Tom Alsberg <[EMAIL PROTECTED]> wrote: > Hi there. > > As discovered here today, the change in Kernel 2.6.17 intended to > inhibit users from setting RLIMIT_CPU to 0 (as that is equivalent to > unlimited) by "cheating" and setting it to 1 in such a case, does

Re: [PATCH] net/rxrpc: Convert to kthread API.

2007-04-20 Thread David Howells
Andrew Morton <[EMAIL PROTECTED]> wrote: > Do those patches convert all this code over to full use of the kthread > API? Because it seems that a conversion would be straightforward, and > is needed. No. They delete all that code entirely and use workqueues instead. So, I suppose merging

Re: [RFC 0/8] Variable Order Page Cache

2007-04-20 Thread David Chinner
On Fri, Apr 20, 2007 at 08:32:57AM +0200, Jens Axboe wrote: > On Fri, Apr 20 2007, David Chinner wrote: > > > The ramfs driver can be used to test higher order page cache functionality > > > (and may help troubleshoot the VM support until we get some real > > > filesystem > > > and real devices

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-20 Thread David Howells
Aubrey Li <[EMAIL PROTECTED]> wrote: > The patch works properly on my side. But > 1) I'm not sure why you re-wrote alloc/free_pg_vec function, doesn't > the current implement work for NOMMU? I know you want to allocate the > entire data buffer as one contiguous lump, but is it really necessary?

Re: Getting the new RxRPC patches upstream

2007-04-20 Thread David Howells
David Miller <[EMAIL PROTECTED]> wrote: > I applied already the patches I thought were appropriate, > you had some crypto layer changes that you need to work > out with Herbert Xu before the rest can be applied. Should the rest of it go via Andrew's tree then? David - To unsubscribe from this

Re: [PATCH -mm] workqueue: debug possible endless loop in cancel_rearming_delayed_work

2007-04-20 Thread Jarek Poplawski
On Fri, Apr 20, 2007 at 12:46:18AM +1000, David Chinner wrote: > On Thu, Apr 19, 2007 at 08:54:04AM +0200, Jarek Poplawski wrote: > > Hi, > > > > IMHO cancel_rearming_delayed_work is dangerous place: > > Agreed - I spent a couple of hours today learning why it > can only be used on work

[PATCH -mm] fix undefined symbol if CONFIG_PAGE_GROUP_BY_MOBILITY not set

2007-04-20 Thread Pierre Peiffer
Hi, This is a fix against the patch do-not-group-pages-by-mobility-type-on-low-memory-systems.patch (include in -mm tree): The error "page_group_by_mobility_disabled undefinied" occured if CONFIG_PAGE_GROUP_BY_MOBILITY is not set. Signed-off-by: Pierre Peiffer <[EMAIL PROTECTED]> ---

Re: [mmc] alternative TI FM MMC/SD driver for 2.6.21-rc7

2007-04-20 Thread Brad Campbell
Alex Dubov wrote: Have you looked at the last version (0.8)? It fixed all outstanding issues (as far as I know). Seconded. I've been running Alex's latest driver since its release. I routinely suspend/resume 60-100 times between boots to S3 and disk, I've suspended with cards in the socket

Re: Renice X for cpu schedulers

2007-04-20 Thread hui
On Fri, Apr 20, 2007 at 12:12:29AM -0700, Michael K. Edwards wrote: > Actual fractional CPU reservation is a bit different, and is probably > best handled with "container"-type infrastructure (not quite > virtualization, but not quite scheduling classes either). SGI > pioneered this (in "open

Re: [RFC 4/8] Enhance fallback functions in libs to support higher order pages

2007-04-20 Thread Jens Axboe
On Thu, Apr 19 2007, Christoph Lameter wrote: > +static inline int page_cache_shift(struct address_space *a) > +{ > + return a->order + PAGE_CACHE_SHIFT; > +} > + > +static inline unsigned long page_cache_size(struct address_space *a) > +{ > + return PAGE_CACHE_SIZE << a->order; > +} This

Re: Acecad USB Tablet: usbmouse takeover and odd motion

2007-04-20 Thread Giuseppe Bilotta
On 4/20/07, Jiri Kosina <[EMAIL PROTECTED]> wrote: On Fri, 20 Apr 2007, Giuseppe Bilotta wrote: > The first problem is that the usbmouse and usbhid drivers take control > of the device, so that when I plug it in the tablet appears as a mouse, > with extremely funny effects (cursor jumping

Re: [PATCH 7/7] [RFC] APM emulation driver for class batteries

2007-04-20 Thread Pavel Machek
Hi! > > > +static void (*old_apm_get_power_status)(struct apm_power_info*); > > > + > > > +static int __init apm_battery_init(void) > > > +{ > > > + printk(KERN_INFO "APM Battery Driver\n"); > > > + > > > + old_apm_get_power_status = apm_get_power_status; > > > + apm_get_power_status =

const struct pci_driver [Was: [RFC 2/2] Input: phantom, add a new driver]

2007-04-20 Thread Jiri Slaby
Andrew Morton napsal(a): > On Tue, 17 Apr 2007 22:02:10 +0200 (CEST) Jiri Slaby <[EMAIL PROTECTED]> > wrote: > >> phantom, add a new driver [...] >> +static struct pci_driver phantom_pci_driver = { >> +.name = "phantom", >> +.id_table = phantom_pci_tbl, >> +.probe = phantom_probe, >>

Re: [mmc] alternative TI FM MMC/SD driver for 2.6.21-rc7

2007-04-20 Thread Fabio Comolli
+1 On 4/20/07, Brad Campbell <[EMAIL PROTECTED]> wrote: Alex Dubov wrote: > Have you looked at the last version (0.8)? It fixed all outstanding issues (as far as I know). > Seconded. I've been running Alex's latest driver since its release. I routinely suspend/resume 60-100 times between

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-20 Thread Aubrey Li
On 4/20/07, David Howells <[EMAIL PROTECTED]> wrote: Aubrey Li <[EMAIL PROTECTED]> wrote: > The patch works properly on my side. But > 1) I'm not sure why you re-wrote alloc/free_pg_vec function, doesn't > the current implement work for NOMMU? I know you want to allocate the > entire data

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Xavier Bestel
On Fri, 2007-04-20 at 00:46 +0200, roland wrote: > We just quietly added an exciting feature to Workstation 6.0. I believe it > will make WS6 a great tool for Linux kernel development. You can now debug > kernel of Linux VM with gdb running on the Host without changing anything in > the Guest

Re: [RFC 0/8] Variable Order Page Cache

2007-04-20 Thread David Chinner
On Thu, Apr 19, 2007 at 09:47:18PM -0700, William Lee Irwin III wrote: > On Thu, Apr 19, 2007 at 09:35:04AM -0700, Christoph Lameter wrote: > > This patchset modifies the core VM so that higher order page cache pages > > become possible. The higher order page cache pages are compound pages > > and

Re: [PATCH -mm] fix undefined symbol if CONFIG_PAGE_GROUP_BY_MOBILITY not set

2007-04-20 Thread Mel Gorman
On Fri, 20 Apr 2007, Pierre Peiffer wrote: Hi, This is a fix against the patch do-not-group-pages-by-mobility-type-on-low-memory-systems.patch (include in -mm tree): The error "page_group_by_mobility_disabled undefinied" occured if CONFIG_PAGE_GROUP_BY_MOBILITY is not set. Signed-off-by:

Re: Dropping CONFIG_REORDER on x86-64 for 2.6.22

2007-04-20 Thread Måns Rullgård
Arjan van de Ven <[EMAIL PROTECTED]> writes: > Andi Kleen wrote: >> Rationale: >> - It cannot be enabled in normal builds because all current lds >> become very slow when they have to handle thousands of sections. >> > > afaik this is only ever reported on SuSE; I've not heard it on any > other

Re: [PATCH -mm] fix undefined symbol if CONFIG_PAGE_GROUP_BY_MOBILITY not set

2007-04-20 Thread Pierre Peiffer
Hi, Your fix looks correct but the compile-time option CONFIG_PAGE_GROUP_BY_MOBILITY was removed in a patch I sent to Andrew two days ago. It went into mm-commits last night so this problem should no longer exist. Ah ok, fine. Just forget it in this case :) Thanks, -- Pierre - To

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Rafael J. Wysocki
On Thursday, 19 April 2007 23:31, Andrew Morton wrote: > On Thu, 19 Apr 2007 17:34:19 +0530 > Gautham R Shenoy <[EMAIL PROTECTED]> wrote: > > > Threads which wait for completion on a frozen thread might result in > > causing the freezer to fail, if the waiting thread is freezeable. > > > >

Re: [PATCH] macintosh/mediabay: Convert to kthread API.

2007-04-20 Thread Benjamin Herrenschmidt
> Looks OK - there's no way of stopping the kernel thread anyway. > > It appears that nobody has tried to use this driver at the same time as > software-suspend. At least, not successfully. A strategic try_to_freeze() > should fix it. > > This will become (a little) more serious when cpu

Re: [PATCH -mm] workqueue: debug possible endless loop in cancel_rearming_delayed_work

2007-04-20 Thread David Chinner
On Fri, Apr 20, 2007 at 10:13:26AM +0200, Jarek Poplawski wrote: > On Fri, Apr 20, 2007 at 12:46:18AM +1000, David Chinner wrote: > > On Thu, Apr 19, 2007 at 08:54:04AM +0200, Jarek Poplawski wrote: > > > Hi, > > > > > > IMHO cancel_rearming_delayed_work is dangerous place: > > > > Agreed - I

Re: [PATCH] macintosh/therm_windtunnel.c: Convert to kthread API.

2007-04-20 Thread Benjamin Herrenschmidt
On Thu, 2007-04-19 at 16:37 -0700, Andrew Morton wrote: > On Thu, 19 Apr 2007 01:58:48 -0600 > "Eric W. Biederman" <[EMAIL PROTECTED]> wrote: > > > Start the g4fand using kthread_run not a combination > > of kernel_thread and deamonize. This makes the code > > a little simpler and more

Re: [PATCH][RFC][POWERPC] i2c: adds support for i2c bus on 8xx

2007-04-20 Thread Segher Boessenkool
+ compatible = "fsl-i2c-cpm"; "fsl,i2c-cpm" instead. Segher - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: Getting the new RxRPC patches upstream

2007-04-20 Thread David Miller
From: David Howells <[EMAIL PROTECTED]> Date: Fri, 20 Apr 2007 09:02:07 +0100 > David Miller <[EMAIL PROTECTED]> wrote: > > > I applied already the patches I thought were appropriate, > > you had some crypto layer changes that you need to work > > out with Herbert Xu before the rest can be

regression with gammu on 2.6.21-rc7

2007-04-20 Thread Wolfgang Erig
Hello, I have a regression with 2.6.21-rc7-g80d74d51. The utility "gammu" to talk to my mobile does not work anymore. With 2.6.20 gammu runs fine. Distribution is the latest Debian/testing Wolfgang $ gammu --backup backup Press Ctrl+C to break... I/O possible $ uname -a Linux max

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-20 Thread David Howells
Aubrey Li <[EMAIL PROTECTED]> wrote: > as checked in packet_set_ring, buffer size must be a multiple of PAGE_SIZE, > packet_set_ring > if (unlikely(req->tp_block_size & (PAGE_SIZE - 1))) > > So why not use __get_free_pages rather than kmalloc, Because

Re: [RFC 2/2] Input: phantom, add a new driver

2007-04-20 Thread Jiri Slaby
Andrew Morton napsal(a): > On Tue, 17 Apr 2007 22:02:10 +0200 (CEST) Jiri Slaby <[EMAIL PROTECTED]> > wrote: > >> phantom, add a new driver [...] >> +#define PHANTOM_VERSION "n0.9.4" > > That's an impressive version number ;) fork of 0.8 or so 2.4 linux driver -> the n in the

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Cornelia Huck
On Thu, 19 Apr 2007 16:49:11 +0200, Cornelia Huck <[EMAIL PROTECTED]> wrote: > On Thu, 19 Apr 2007 10:20:51 -0400 (EDT), > Alan Stern <[EMAIL PROTECTED]> wrote: > > > The patch below, applied on top of Cornelia's changes plus the > > kobject_init() patch I posted earlier, actually seems to

Re: [PATCH 01/01] New FBDev driver for Intel Vermilion Range

2007-04-20 Thread Alan Hourihane
I've updated the Vermilion Range (LE80578) patch against linus' tree. Hopefully this rectifies all of the issues noted previously. Let me know again if there's more updates needed. Thanks to all who responded with the feedback, it was appreciated. Alan. diff --git a/drivers/video/Kconfig

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-20 Thread Cornelia Huck
On Fri, 20 Apr 2007 14:27:06 +0900, Tejun Heo <[EMAIL PROTECTED]> wrote: > Hello, Alan. > > Alan Stern wrote: > > This doesn't solve a related problem: a subsystem wants to register > > devices and to provide a set of mutually-exclusive services to the > > devices' drivers. The mutual exclusion

Re: Fw: [PATCH -mm] workqueue: debug possible endless loop in cancel_rearming_delayed_work

2007-04-20 Thread Jarek Poplawski
On Thu, Apr 19, 2007 at 02:21:22PM +0400, Oleg Nesterov wrote: > On 04/19, Andrew Morton wrote: > > > > Begin forwarded message: > > > > Date: Thu, 19 Apr 2007 08:54:04 +0200 > > From: Jarek Poplawski <[EMAIL PROTECTED]> > > To: linux-kernel@vger.kernel.org > > Cc: Ingo Molnar <[EMAIL

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-20 Thread Eric Dumazet
On Fri, 20 Apr 2007 09:58:52 +0100 David Howells <[EMAIL PROTECTED]> wrote: > > Because kmalloc() may be able to get us a smaller chunk of memory. Actually, > calling __get_free_pages() might be a better, and then release the excess > pages. Interesting, that rings a bell here. I wonder why we

Re: [mmc] alternative TI FM MMC/SD driver for 2.6.21-rc7

2007-04-20 Thread Sergey Yanovich
Hi, Arnd Bergmann wrote: As very general comments, you should have the maintainer of the subsystem (Pierre in this case) on Cc when posting a driver, and you should include the patch inline in your mail, see Documentation/SubmittingPatches. I have cc'ed both Pierre and Alex, but my first

Re: PCI bridge range sizing bug

2007-04-20 Thread Ivan Kokshaysky
On Thu, Apr 19, 2007 at 05:19:20PM -0700, Linus Torvalds wrote: > I think we used to *never* assign PCI bus resources on x86, but that thing > got fixed some time ago. Now I think we only re-assign them if they were > unassigned *or* if the assignment wasn't working before. But I'm not 100% >

Re: [d_path 0/7] Fixes to d_path: Respin

2007-04-20 Thread Alan Cox
> As far as I can see, glibc internally looks at /proc/mounts (or else mtab) to > find out where tmpfs is mounted for opening files there, and to look up > filesystem information for statfs(), while accessing that path, too. Fstatfs() > also looks into the same files, but it only matches by

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Andi Kleen
Xavier Bestel <[EMAIL PROTECTED]> writes: > On Fri, 2007-04-20 at 00:46 +0200, roland wrote: > > > We just quietly added an exciting feature to Workstation 6.0. I believe it > > will make WS6 a great tool for Linux kernel development. You can now debug > > kernel of Linux VM with gdb running

Re: [d_path 1/7] Fix __d_path() for lazy unmounts and make it unambiguous

2007-04-20 Thread Alan Cox
On Fri, 20 Apr 2007 01:23:04 +0200 Andreas Gruenbacher <[EMAIL PROTECTED]> wrote: > First, when __d_path() hits a lazily unmounted mount point, it tries to > prepend > the name of the lazily unmounted dentry to the path name. It gets this wrong, > and also overwrites the slash that separates

Re: [d_path 6/7] Filter out disconnected paths from /proc/mounts

2007-04-20 Thread Alan Cox
> There is some disagreement what /proc/mounts should include. Currently it > reports all mounts from the current namespace and doesn't include lazy > unmounts. This leads to ambiguities with the rootfs (which is an internal > mount > irrelevant to user-space except in the initrd), and in

InitIO SCSI: Volunteers required

2007-04-20 Thread Alan Cox
I'm looking for some testers for a revamp of the initio driver. No real code changes other than to hopefully stop it exploding on load on 64bit, but a major reorganisation, commenting and "de-windowsification" so the code is actually readable and I can do the pci_find_device to pci_get_device

Re: [PATCH] dvb_en_50221: Convert to kthread API

2007-04-20 Thread Cedric Le Goater
Andrew Morton wrote: > On Fri, 20 Apr 2007 07:37:14 +0100 Christoph Hellwig <[EMAIL PROTECTED]> > wrote: > >>> urgh, yes, this is just sad. We should convert this driver fully to >>> the kthread API - it will end up much better. >>> >>> I'll queue this up as a -mm-only thing as a gentle

Re: [discuss] Dropping CONFIG_REORDER on x86-64 for 2.6.22

2007-04-20 Thread Andi Kleen
On Friday 20 April 2007 10:35:10 Måns Rullgård wrote: > Arjan van de Ven <[EMAIL PROTECTED]> writes: > > > Andi Kleen wrote: > >> Rationale: > >> - It cannot be enabled in normal builds because all current lds > >> become very slow when they have to handle thousands of sections. > >> > > > >

Re: [RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-20 Thread Keiichi KII
I started to do some cleanups and fixups here, but abandoned it when it was all getting a bit large. Here are some fixes against this patch: I'm going to fix my patches by following your reviews and send new patches on the LKML and the netdev ML in a few days. Thank you for your comments

Re: [RFC][PATCH -mm take4 2/6] support multiple logging

2007-04-20 Thread Keiichi KII
Please include an update to Documentation/networking/netconsole.txt OK, I update the documnet for the added functions in next patches. Thank you for your comments. -- Keiichi KII NEC Corporation OSS Promotion Center E-mail: [EMAIL PROTECTED] - To unsubscribe from this list: send the line

Re: [PATCH 16/16] alsa sound support for mips

2007-04-20 Thread Atsushi Nemoto
On Wed, 18 Apr 2007 22:13:02 +0800, Fuxin Zhang <[EMAIL PROTECTED]> wrote: > >> +#if defined(__mips__) && defined(CONFIG_DMA_NONCOHERENT) > >> + /* all mmap using uncached mode */ > >> + area->vm_page_prot = pgprot_noncached(area->vm_page_prot); > >> + area->vm_flags |= ( VM_RESERVED | VM_IO);

Re: [mmc] alternative TI FM MMC/SD driver for 2.6.21-rc7

2007-04-20 Thread Sergey Yanovich
Hi, > Have you looked at the last version (0.8)? It fixed all outstanding issues (as far as I know). > Seconded. I've been running Alex's latest driver since its release. I routinely suspend/resume 60-100 times between boots to S3 and disk, I've suspended with cards in the socket and I've

Re: Oops on 2.6.21 with dvb-usb-dib0700?

2007-04-20 Thread Markus Rechberger
Hi, this will be fixed in upcoming kernel releases, there's already a patch for that in the video4linux/dvb repository on linuxtv.org. So if you update your v4l-dvb drivers that problem shouldn't occure anymore. http://linuxtv.org/repo/ -Markus On 4/19/07, Chris Murton <[EMAIL PROTECTED]>

Re: [PATCH -mm] workqueue: debug possible endless loop in cancel_rearming_delayed_work

2007-04-20 Thread Jarek Poplawski
On Fri, Apr 20, 2007 at 06:53:54PM +1000, David Chinner wrote: ... > Yes, after spending another two hours working out why my fix was > then hanging in cancel_rearming_delayed_work() I was a little bit > annoyed at the now obviously misleading comment. Five minutes later I agree with your

Re: [Devel] Re: [PATCH] bluetooth bnep: Convert to kthread API.

2007-04-20 Thread Cedric Le Goater
Andrew Morton wrote: > On Thu, 19 Apr 2007 01:58:51 -0600 > "Eric W. Biederman" <[EMAIL PROTECTED]> wrote: > >> From: Eric W. Biederman <[EMAIL PROTECTED]> >> >> This patch starts kbenpd using kthread_run replacing >> a combination of kernel_thread and daemonize. Making >> the code a little

[patch 2/8] allow unprivileged umount

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> The owner doesn't need sysadmin capabilities to call umount(). Similar behavior as umount(8) on mounts having "user=UID" option in /etc/mtab. The difference is that umount also checks /etc/fstab, presumably to exclude another mount on the same

[patch 1/8] add user mounts to the kernel

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Add ownership information to mounts. A new mount flag, MS_SETUSER is used to make a mount owned by a user. If this flag is specified, then the owner will be set to the current real user id and the mount will be marked with the MNT_USER flag. On remount

[patch 4/8] propagate error values from clone_mnt

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Allow clone_mnt() to return errors other than ENOMEM. This will be used for returning a different error value when the number of user mounts goes over the limit. Fix copy_tree() to return EPERM for unbindable mounts. Don't propagate further from

[patch 6/8] put declaration of put_filesystem() in fs.h

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Declarations go into headers. Signed-off-by: Miklos Szeredi <[EMAIL PROTECTED]> --- Index: linux/fs/super.c === --- linux.orig/fs/super.c 2007-04-20 11:55:02.0 +0200 +++

[patch 5/8] allow unprivileged bind mounts

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Allow bind mounts to unprivileged users if the following conditions are met: - mountpoint is not a symlink or special file - parent mount is owned by the user - the number of user mounts is below the maximum Unprivileged mounts imply MS_SETUSER,

[patch 8/8] allow unprivileged fuse mounts

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Use FS_SAFE for "fuse" fs type, but not for "fuseblk". FUSE was designed from the beginning to be safe for unprivileged users. This has also been verified in practice over many years. In addition unprivileged mounts require the parent mount to be owned

[patch 3/8] account user mounts

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Add sysctl variables for accounting and limiting the number of user mounts. The maximum number of user mounts is set to 1024 by default. This won't in itself enable user mounts, setting a mount to be owned by a user is first needed Signed-off-by: Miklos

[patch 7/8] allow unprivileged mounts

2007-04-20 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Define a new fs flag FS_SAFE, which denotes, that unprivileged mounting of this filesystem may not constitute a security problem. Since most filesystems haven't been designed with unprivileged mounting in mind, a thorough audit is needed before setting

[patch 0/8] mount ownership and unprivileged mount syscall (v4)

2007-04-20 Thread Miklos Szeredi
This patchset has now been bared to the "lowest common denominator" that everybody can agree on. Or at least there weren't any objections to this proposal. Andrew, please consider it for -mm. Thanks, Miklos v3 -> v4: - simplify interface as much as possible, now only a single option

Re: [1/2] 2.6.21-rc7: known regressions

2007-04-20 Thread Takashi Iwai
At Thu, 19 Apr 2007 22:03:16 +0200, Michal Piotrowski wrote: > > Hi Takashi, > > Takashi Iwai napisał(a): > > At Mon, 16 Apr 2007 17:44:57 -0400, > > Chuck Ebbert wrote: > >> Adrian Bunk wrote: > >> > >>> This email lists some known regressions in Linus' tree compared to 2.6.20. > >>> > >>>

[PATCH 1/3] Char: mxser_new, fix recursive locking

2007-04-20 Thread Jiri Slaby
Andrew, I think it would be good to have these 3 in 2.6.21. -- mxser_new, fix recursive locking Acquire a port lock only if not in_interrupt in some places, because ISR holds the lock yet (and ldisc calls some of driver's routines which tries to acquire it again due to tty->low_latency). Thanks

[PATCH 2/3] Char: mxser_new, fix TIOCMIWAIT

2007-04-20 Thread Jiri Slaby
mxser_new, fix TIOCMIWAIT There was schedule() missing in the TIOCMIWAIT ioctl. Solve it by moving the code to the wait_event_interruptible. Cc: Jan "Yenya" Kasprzak <[EMAIL PROTECTED]> Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> --- commit bd99756ce7fb8f3e9105b076a71046b0d8ad1f8f tree

[PATCH 3/3] Char: mxser, fix TIOCMIWAIT

2007-04-20 Thread Jiri Slaby
mxser, fix TIOCMIWAIT There was schedule() missing in the TIOCMIWAIT ioctl. Solve it by moving the code to the wait_event_interruptible. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> --- commit 88c99e7bd7356c4b5a960f4a2b631d980bddc337 tree 4d713ce58282145839d6223a849c32a791e25a93 parent

Re: Getting the new RxRPC patches upstream

2007-04-20 Thread David Howells
David Miller <[EMAIL PROTECTED]> wrote: > Now that Herbert cleared up the crypto layer issues > the only problem left is that there are generic changes > in there which are not strictly networking but which > your subsequent networking changes depend upon. > > This is a mess, and makes merging

Re: [PATCH] CONFIG_PACKET_MMAP should depend on MMU

2007-04-20 Thread David Howells
Eric Dumazet <[EMAIL PROTECTED]> wrote: > Is it really possible to allocate an order-10 page, then release part of it > (say an order-8 subpage) ? Yes. David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Gautham R Shenoy
On Thu, Apr 19, 2007 at 02:31:33PM -0700, Andrew Morton wrote: > On Thu, 19 Apr 2007 17:34:19 +0530 > Gautham R Shenoy <[EMAIL PROTECTED]> wrote: > > > flush_workqueue() just needs to die. I think there are (almost) no > legitimate users of it once cancel_work_sync() is merged. > > > This

Re: [RFC 2/8] Basic allocation for higher order page cache pages

2007-04-20 Thread Mel Gorman
On (19/04/07 09:35), Christoph Lameter didst pronounce: > Variable Order Page Cache: Add basic allocation functions > > Extend __page_cache_alloc to take an order parameter and > modify caller sites. Modify mapping_set_gfp_mask to set > __GFP_COMP if the mapping requires higher order allocations.

RE: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread devzero
> It's really an interesting feature, IMHO, maybe the UML would be no > more needed. if you speak of debugging , uml seems to have another competitor now. maybe somebody make some side by side comparison of vmware & uml regarding kernel debugging. (and also compare that to traditional

Re: [PATCH -mm] workqueue: debug possible endless loop in cancel_rearming_delayed_work

2007-04-20 Thread David Chinner
On Fri, Apr 20, 2007 at 12:21:57PM +0200, Jarek Poplawski wrote: > On Fri, Apr 20, 2007 at 06:53:54PM +1000, David Chinner wrote: > ... > > Yes, after spending another two hours working out why my fix was > > then hanging in cancel_rearming_delayed_work() I was a little bit > > annoyed at the now

Re: [RFC 3/8] Flushing and zeroing higher order page cache pages

2007-04-20 Thread Mel Gorman
On (19/04/07 09:35), Christoph Lameter didst pronounce: > --- > include/linux/pagemap.h | 27 +++ > 1 file changed, 27 insertions(+) > > Index: linux-2.6.21-rc7/include/linux/pagemap.h > === > ---

[PATCH -mm] workqueue: debug possible endless loop in cancel_rearming_delayed_work

2007-04-20 Thread Jarek Poplawski
(take 2) I'm not sure we've agreed enough, who'll resubmit, so here it is with WARN_ON. If it was submited already - forget it. Jarek P. ---> IMHO cancel_rearming_delayed_work is dangerous place: - it assumes a work function always rearms (with no exception), which probably isn't explained

Re: [RFC 4/8] Enhance fallback functions in libs to support higher order pages

2007-04-20 Thread Mel Gorman
On (19/04/07 09:35), Christoph Lameter didst pronounce: > Variable Order Page Cache: Fixup fallback functions > > Fixup the fallback function in fs/libfs.c to be able to handle > higher order page cache pages. > > Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]> > > --- > fs/libfs.c | 16

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Gautham R Shenoy
On Fri, Apr 20, 2007 at 10:54:36AM +0200, Rafael J. Wysocki wrote: > > Hmm, can't we do something like this instead: > > --- > kernel/kthread.c | 10 ++ > 1 file changed, 10 insertions(+) > > Index: linux-2.6.21-rc7/kernel/kthread.c >

[S390] add arch_trampoline_kprobe.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Add the missing arch_trampoline_kprobe function for s390 required by kprobes-the-on-off-knob-thru-debugfs-updated.patch. Cc: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> Cc: Srinivasa DS <[EMAIL PROTECTED]> Cc: Andrew Morton <[EMAIL PROTECTED]>

Re: sky2 X86-64 PCI synchronization problems

2007-04-20 Thread Daniel J Blueman
Stephen, From your description of the problem, it sounds just like writes to PCI memory-mapped address space are being delayed and/or reordered in the processor when in x86-64 mode. I'd suggest to add wmb()/rmb() or (overkill) mb() calls after MMIO stores to flush writes immediately and force

Re: MMCv4 support (8-bit support missing)

2007-04-20 Thread Madhusudhan c
Hi Perre, Until 8-bit SD shows up, at which point things go to hell again. You need to present a valid case for why we need this bus testing stuff. The spec never requires it, and neither does any cards. So this is just crud that we know causes problems and doesn't give us anything back.

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Petr Vandrovec
Andi Kleen wrote: Xavier Bestel <[EMAIL PROTECTED]> writes: On Fri, 2007-04-20 at 00:46 +0200, roland wrote: We just quietly added an exciting feature to Workstation 6.0. I believe it will make WS6 a great tool for Linux kernel development. You can now debug kernel of Linux VM with gdb

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Nigel Cunningham
Hi. On Fri, 2007-04-20 at 12:27 +0200, Andi Kleen wrote: > Xavier Bestel <[EMAIL PROTECTED]> writes: > > > On Fri, 2007-04-20 at 00:46 +0200, roland wrote: > > > > > We just quietly added an exciting feature to Workstation 6.0. I believe > > > it > > > will make WS6 a great tool for Linux

[PATCH 0/7] Kconfig: cleanup s390.

2007-04-20 Thread Martin Schwidefsky
Greetings, my last try to straighten then Kconfig for s390 failed, probably due to the disable statement. I still want to get rid of the s390 specific Kconfig file in drivers/s390/Kconfig. Too much duplication, too often something that should have been added is forgotten.. So this is a new

[PATCH 1/8] Kconfig: refine depends statements.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Refine some depends statements to limit their visibility to the environments that are actually supported. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/auxdisplay/Kconfig |1 + drivers/char/Kconfig |1 +

[PATCH 2/8] Kconfig: unwanted menus for s390.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Disable all menus in the configuration that are of no interest to a s390 machine. There are quite a few of them.. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/ata/Kconfig|1 + drivers/char/ipmi/Kconfig |2 ++

[PATCH 3/8] Kconfig: unwanted config options for s390.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Disable all configuration options in the common Kconfig files that are of no interest to a s390 machine. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/char/Kconfig |9 ++--- 1 files changed, 6 insertions(+), 3

[PATCH 4/8] Kconfig: use common Kconfig for s390.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Disband drivers/s390/Kconfig, use the common Kconfig files. The s390 specific config options from drivers/s390/Kconfig are moved to the respective common Kconfig files. Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/Kconfig

preempt_rt bug or warn on arm v4t

2007-04-20 Thread Manfred Gruber
Hi ! I am using 2.6.21-rc7 with Preempt_rt Patch 2.6.20-rc6-rt0 on ep93xx. This oops does not trigger in preempt_rt patch is applied. On startup i get following oops when preemption is none. Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok BUG: at kernel/sched.c:4285

[PATCH 5/8] Kconfig: no wireless on s390.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Hide the config menues for wireless on s390. Goes on top of git-wireless.patch. Cc: John W. Linville <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/net/wireless/Kconfig |1 + net/Kconfig |

[PATCH 6/8] Kconfig: no userspace I/O on s390.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Hide the config menu for userspace I/O on s390. Goes on top of gregkh-driver-uio.patch. Cc: Greg Kroah-Hartman <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/uio/Kconfig |2 ++ 1 files changed, 2

[PATCH 7/8] Kconfig: silicon backplane dependency.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Make the "Sonics Silicon Backplane" menu dependent on the two buses it can be found on. Goes on top of git-wireless.patch. Cc: Michael Buesch <[EMAIL PROTECTED]> Cc: John W. Linville <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL

[PATCH 8/8] Kconfig: broadcom 4400 dependency.

2007-04-20 Thread Martin Schwidefsky
From: Martin Schwidefsky <[EMAIL PROTECTED]> Make the broadcom 4400 driver dependent on SSB. With the select statement for SSB the config option for the driver is always present even if the target of selection (SSB) is not available. Goes on top of git-wireless.patch. Cc: Michael Buesch <[EMAIL

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Avi Kivity
Andi Kleen wrote: > Xavier Bestel <[EMAIL PROTECTED]> writes: > > >> On Fri, 2007-04-20 at 00:46 +0200, roland wrote: >> >> >>> We just quietly added an exciting feature to Workstation 6.0. I believe it >>> will make WS6 a great tool for Linux kernel development. You can now debug >>>

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Avi Kivity
Nigel Cunningham wrote: > Hi. > > On Fri, 2007-04-20 at 14:45 +0300, Avi Kivity wrote: > >> Andi Kleen wrote: >> >>> Xavier Bestel <[EMAIL PROTECTED]> writes: >>> >>> >>> On Fri, 2007-04-20 at 00:46 +0200, roland wrote: > We just quietly

Re: VMWare Workstation 6 for debugging Linux Kernel (!)

2007-04-20 Thread Nigel Cunningham
Hi. On Fri, 2007-04-20 at 14:45 +0300, Avi Kivity wrote: > Andi Kleen wrote: > > Xavier Bestel <[EMAIL PROTECTED]> writes: > > > > > >> On Fri, 2007-04-20 at 00:46 +0200, roland wrote: > >> > >> > >>> We just quietly added an exciting feature to Workstation 6.0. I believe > >>> it > >>>

[PATCH 1/7] External power framework

2007-04-20 Thread Anton Vorontsov
External power framework - power supplies and power supplicants. Supplicants (batteries so far) may ask to notify they when power supply arrive/gone. This framework used by battery class (next patches). It's permitted for supply to be bound to several supplicants (think main and backup

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Rafael J. Wysocki
On Friday, 20 April 2007 13:05, Gautham R Shenoy wrote: > On Fri, Apr 20, 2007 at 10:54:36AM +0200, Rafael J. Wysocki wrote: > > > > Hmm, can't we do something like this instead: > > > > --- > > kernel/kthread.c | 10 ++ > > 1 file changed, 10 insertions(+) > > > > Index:

[PATCH 4/7] 1-Wire ds2760 chip battery driver

2007-04-20 Thread Anton Vorontsov
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]> --- drivers/battery/Kconfig |7 + drivers/battery/Makefile |1 + drivers/battery/ds2760_battery.c | 499 ++ include/linux/ds2760_battery.h | 32 +++ 4 files changed, 539

Re: GPL-incompatible Module Error Message

2007-04-20 Thread Adrian Bunk
On Fri, Apr 20, 2007 at 03:47:27AM +0200, Andi Kleen wrote: > Chris Bergeron <[EMAIL PROTECTED]> writes: > > > Hello all, > > > > Building the fglrx module against the current Linux kernel (2.6.20.7 > > as of this e-mail) I'm getting an error: > > > > FATAL: modpost: GPL-incompatible module

Re: [RFC PATCH(experimental) 2/2] Fix freezer-kthread_stop race

2007-04-20 Thread Gautham R Shenoy
On Fri, Apr 20, 2007 at 01:59:29PM +0200, Rafael J. Wysocki wrote: > > Actually, I thought about it for a while. The thread that is going to stop > another one may temporarily mark itself as freezable in all cases, which > will have no effect on it, since it's not going to cally try_to_freeze(),

<    1   2   3   4   5   6   7   8   >