Re: [PATCH] Ban module license tag string termination trick

2007-02-12 Thread Helge Hafting
David Schwartz wrote: Indeed, but using the provided key is not circumventing. Loading a non-GPL module that uses GPL symbols anyway is prevented, so forcibly loading such a module "the rootkit way" by patching /dev/mem is a circumvention. Catch one of the script kiddies inside the US, and you

Re: Documenting MS_RELATIME

2007-02-12 Thread Dave Jones
On Sun, Feb 11, 2007 at 10:55:04PM -0800, Valerie Henson wrote: > On Sat, Feb 10, 2007 at 07:54:00PM -0500, Dave Jones wrote: > > > > Whilst on the subject of RELATIME, is there any good reason why > > not to make this a default mount option ? > > Ubuntu has been shipping with noatime as

Re: [PATCH 6/7] containers (V7): BeanCounters over generic process containers

2007-02-12 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:27AM -0800, [EMAIL PROTECTED] wrote: > This patch implements the BeanCounter resource control abstraction > over generic process containers. Forgive my confusion, but do we really need two-levels of resource control abstraction here? Why can't resource controllers

Re: [take35 0/10] kevent: Generic event handling mechanism.

2007-02-12 Thread Ulrich Drepper
Evgeniy Polyakov wrote: > I think that mean that everybody is happy with APi, design and set of > features. No comment means that I still have not been able to test anything since regardless of what version I tried, it failed to build. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧

Re: [PATCH 3/7] containers (V7): Add generic multi-subsystem API to containers

2007-02-12 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:24AM -0800, [EMAIL PROTECTED] wrote: > +/* > + * Call css_get() to hold a reference on the container; following a > + * return of 0, this container subsystem state object is guaranteed > + * not to be destroyed until css_put() is called on it. A non-zero > + * return

SATA-performance: Linux vs. FreeBSD

2007-02-12 Thread Martin A. Fink
Dear all, I did some performance tests that made me really wonder: My Hardware: Asus P5LD2 board with Intel i945P chipset, ICH7R southbridge CPU Intel Core 2 Duo E6300 at 1.86 GHz, 2 MB Cache 1 GB RAM My Software: OpenSuSE 10.2 with Linux kernel 2.6.18, x86-64 architecture FreeBSD 6.2

Re: [GIT PATCH] SCSI updates for 2.6.20

2007-02-12 Thread Rolf Eike Beer
James Bottomley wrote: > On Mon, 2007-02-12 at 11:29 +0100, Rolf Eike Beer wrote: > > Am Sonntag, 11. Februar 2007 schrieb James Bottomley: > > > This is the accumulated SCSI tree for 2.6.20. It is available at > > > > > > master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git > > > >

Please pull git390 'for-linus' branch

2007-02-12 Thread Martin Schwidefsky
Please pull from 'for-linus' branch of git://git390.osdl.marist.edu/pub/scm/linux-2.6.git for-linus to receive the following updates: arch/s390/kernel/smp.c| 15 +-- drivers/s390/cio/device_id.c |3 ++- drivers/s390/cio/device_ops.c | 32

Re: [patches] [PATCH x86 for review II] [18/39] x86_64: Allow to run a program when a machine check event is detected

2007-02-12 Thread Pavel Machek
On Mon 2007-02-12 09:04:43, Andi Kleen wrote: > On Monday 12 February 2007 08:54, Oliver Neukum wrote: > > Am Montag, 12. Februar 2007 08:38 schrieb Andi Kleen: > > > When a machine check event is detected (including a AMD RevF threshold > > > overflow event) allow to run a "trigger" program.

broken CONFIG_COMPAT_VDSO on i386

2007-02-12 Thread Jan Beulich
After updating several machines to 2.6.20, I can't boot anymore the single one of them that supports the NX bit and is configured as a 32-bit system. My understanding is that the VDSO changes in 2.6.20-rc7 were not fully cooked, in that with that config option enabled VDSO_SYM(x) now equals x,

Re: NAK new drivers without proper power management?

2007-02-12 Thread Pavel Machek
Hi! > > "If the device requires that, implement .suspend and .resume or at least > > > define .suspend that will always return -ENOSYS (then people will know they > ^^^ > >

Re: [PATCH 7/8] lguest: trivial guest block driver

2007-02-12 Thread Jens Axboe
On Mon, Feb 12 2007, Rusty Russell wrote: > On Mon, 2007-02-12 at 06:32 +0100, Jens Axboe wrote: > > On Mon, Feb 12 2007, Rusty Russell wrote: > > > On Mon, 2007-02-12 at 05:43 +0100, Jens Axboe wrote: > > > > Here you map the entire request (lets call that segment A..Z), but > > > > end_request()

Using kernel with modules for nics that cause errors.

2007-02-12 Thread Michael D. Setzer II
Question on using modules with kernel. I've been building the latest git kernels for the G4L project, and the latest kernels have added support for a lot of newer hardware, but currently have two of the nic drivers that cause problems when build into the kernel. DEPCA causes a kernel

Re: What will be in the x86-64/x86 2.6.21 merge

2007-02-12 Thread James Morris
On Mon, 12 Feb 2007, Andi Kleen wrote: > > It's currently useful and stable, > > How do you know? I've been working on it for some weeks. At this stage, it's also useful for some simple kernel hacking. - James -- James Morris <[EMAIL PROTECTED]> - To unsubscribe from this list: send the

Re: [GIT PATCH] SCSI updates for 2.6.20

2007-02-12 Thread James Bottomley
On Mon, 2007-02-12 at 11:29 +0100, Rolf Eike Beer wrote: > Am Sonntag, 11. Februar 2007 schrieb James Bottomley: > > This is the accumulated SCSI tree for 2.6.20. It is available at > > > > master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git > > You once again have not included

Re: unfixed regression in 2.6.20-rc6 (since 2.6.19)

2007-02-12 Thread Rainer Weikusat
Greg KH <[EMAIL PROTECTED]> writes: > On Tue, Jan 30, 2007 at 06:40:10PM +0100, Rainer Weikusat wrote: >> Greg KH <[EMAIL PROTECTED]> writes: >> >> [...] >> >> > Rainer's problem is a real bug in the USB driver code, which we need to >> > work on getting fixed, > > Ok, here's an updated version,

[PATCH 1/1] Enable fully functional truncate for hugetlbfs

2007-02-12 Thread Dave McCracken
This patch enables the full functionality of truncate for hugetlbfs files. Truncate was originally limited to reducing the file size because page faults were not supported for hugetlbfs. Now that page faults have been implemented it is now possible to fully support truncate. Signed-off-by: Dave

[BUG] 2.6.20 Oopses in xfrm_audit_log

2007-02-12 Thread Charles-Edouard Ruault
Hi All, i upgraded to vanilla kernel 2.6.20 and while i was using strongswan 2.8.2 to setup an IPSEC VPN i got the following kernel Ooops. I had successfully established the same tunnel a few times, but key renegotiation caused a problem ( both ends did not renegotiate at the same time so the

Re: What will be in the x86-64/x86 2.6.21 merge

2007-02-12 Thread Andi Kleen
On Monday 12 February 2007 15:11, James Morris wrote: > On Sat, 10 Feb 2007, Andi Kleen wrote: > > > - lguest > > * still seems heavily in development. Not sure it will be ready in time. > > How would you define ready? Used by at least some people for something, got some real world testing,

Re: What will be in the x86-64/x86 2.6.21 merge

2007-02-12 Thread James Morris
On Sat, 10 Feb 2007, Andi Kleen wrote: > - lguest > * still seems heavily in development. Not sure it will be ready in time. How would you define ready? It's currently useful and stable, and features a lack of enterprise-class complexity. - James -- James Morris <[EMAIL PROTECTED]> - To

Re: [PATCH 1/6] AKT - Tunable structure and registration routines

2007-02-12 Thread Andi Kleen
[EMAIL PROTECTED] writes: > + > +This feature aims at making the kernel automatically change the tunables > +values as it sees resources running out. The only reason we have resource limit is to avoid DOS when one resource consumes too much memory. When there is no such danger then there isn't

Re: [RFC PATCH] add filesystem subtype support

2007-02-12 Thread Miklos Szeredi
> > There's a slight problem with filesystem type representation in fuse > > based filesystems. > > > > >From the kernel's view, there are just two filesystem types: fuse and > > fuseblk. From the user's view there are lots of different filesystem > > types. The user is not even much concerned

Re: Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-12 Thread H. Peter Anvin
Eric W. Biederman wrote: With ELF we get a single file format that works on multiple architectures and for multiple OS-s, with well understood rules. This allows for a broader audience who can review and maintain the code. In addition to the real possibility of multi-architecture or multi-os

Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-12 Thread Etienne Lorrain
--- "Eric W. Biederman" <[EMAIL PROTECTED]> wrote: > What I was thinking is that in the not we place the physical address > and length that we load the real mode code at. My assumption being > that we have marked the real mode code __init or the equivalent, > so we always load and just ignore it

Re: [PATCH 1/2] Re: [autofs] Bad race condition in the new autofs protocol somewhere

2007-02-12 Thread Olivier Galibert
On Mon, Feb 12, 2007 at 03:43:14PM +0900, Ian Kent wrote: > On Thu, 2007-02-08 at 11:33 +0900, Ian Kent wrote: > > On Wed, 2007-02-07 at 19:18 +0100, Olivier Galibert wrote: > > > On Thu, Feb 08, 2007 at 03:07:41AM +0900, Ian Kent wrote: > > > > It may be better to update to a later kernel so I

Re: [PATCH 0/7] RFC: Cell SPE logos

2007-02-12 Thread Geert Uytterhoeven
On Wed, 31 Jan 2007, Geert Uytterhoeven wrote: > I would like to hear your opinions about the patchset below (updated version > compared to yesterday, lkml added to the CC list). > > The Cell Broadband Engine contains a 64-bit PowerPC core with 2 hardware > threads (called PPEs) and 8 Synergistic

Re: NAK new drivers without proper power management?

2007-02-12 Thread Tino Keitel
On Sun, Feb 11, 2007 at 07:46:36 +0100, Willy Tarreau wrote: [...] > Many people also have Linux on their notebooks, but as a dual-boot. You > read the word ? "dual-boot". It means that they cleanly shutdown their > system every time they don't use it anymore, and they won't know what > OS

Re: Recent and not-so problems with tifm_sd driver

2007-02-12 Thread Pierre Ossman
Alex Dubov wrote: > I removed that line altogether (it does not really needed as mmc host will > not be accessed > anymore). The problem is more elaborate. Here, the card fails, > mmc_host_remove is called without > sleep beforehand, and "after remove" message is printed immediately after it. >

Re: [PATCH 2.6.20] sound/pci/ca0106: add device attribute to ca0106 devices

2007-02-12 Thread Takashi Iwai
At Fri, 9 Feb 2007 17:52:11 +0100, Wouter Paesen wrote: > > > The ca0106 driver does not install a reference to the pci > device in it's __devinit function. This will result in a > missing "device" attribute on the sound devices associated with > this card, which makes hal/libhal ignore the

Re: git backlight tree

2007-02-12 Thread Richard Purdie
On Sat, 2007-02-10 at 23:45 -0500, Len Brown wrote: > On Saturday 10 February 2007 19:33, Richard Purdie wrote: > > As mentioned previously, I've setup a backlight git tree at: > > > > http://git.o-hand.com/?p=linux-rpurdie-backlight;a=shortlog;h=for-mm > >

[PATCH] lockdep: debug_locks check after check_chain_key

2007-02-12 Thread Jarek Poplawski
In __lock_acquire check_chain_key can turn off debug_locks, so check is needed to assure proper return code. Signed-off-by: Jarek Poplawski <[EMAIL PROTECTED]> --- diff -Nurp linux-2.6.20-git7-/kernel/lockdep.c linux-2.6.20-git7/kernel/lockdep.c --- linux-2.6.20-git7-/kernel/lockdep.c

Re: 2.6.20 "IRQ handler type mismatch for IRQ 4"

2007-02-12 Thread Florian Schmidt
On Monday 12 February 2007, Alan wrote: > > [ 23.783913] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ > > sharing enabled > > [ 23.787063] pnp: Device 00:0c activated. > > [ 23.787420] 00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A > > So the PnP layers put a device on IRQ 4,

Re: [take36 10/10] kevent: Kevent based generic AIO.

2007-02-12 Thread Evgeniy Polyakov
On Mon, Feb 12, 2007 at 01:12:57PM +, Alan ([EMAIL PROTECTED]) wrote: > > I'm sure others would want them then for their favourite system call combo > > too. If they were really useful it might make more sense to have a batch() > > system call that works for arbitary calls, but I'm not

[q] kbuild for private asm-offsets (Re: [PATCH 6/10] lguest code: the little linux hypervisor.)

2007-02-12 Thread Oleg Verych
> From: Rusty Russell > Newsgroups: gmane.linux.kernel,gmane.linux.kernel.virtualization > Subject: Re: [PATCH 6/10] lguest code: the little linux hypervisor. > Date: Sat, 10 Feb 2007 02:23:19 +1100 Hallo, Rusty, guys. > On Fri, 2007-02-09 at 15:17 +0100, Sam Ravnborg wrote: >> I do not quite

Re: [PATCH x86 for review II] [26/39] i386: fix 32-bit ioctls on x64_32

2007-02-12 Thread Giuliano Procida
This is a nicer version of the MTRR compatibilty ioctl patch, compiles smaller and also tested. Signed-off-by: Giuliano Procida <[EMAIL PROTECTED]> --- linux-source-2.6.19.1.orig/arch/i386/kernel/cpu/mtrr/if.c 2006-12-11 19:32:53.0 + +++

Post-boot PCI device detection

2007-02-12 Thread Andrea Galbusera
Hi all, I work on a custom board and I have a PCI realated question. Please redirect me to a more suitable list if you find the following off-topic. On my board I have a powerpc and an fpga that I need to configure at boot: once this is accomplished, the fpga implements a PCI device. At moment I

Re: Recent and not-so problems with tifm_sd driver - one more

2007-02-12 Thread Andreas Steinmetz
Brad Campbell wrote: > Alex, it's still hit and miss getting this card detected. I had to > insert/remove the card over 10 times with random driver load/unloads > until it created the device entries.. And for me it's still worse, no matter what I try with 2.6.20: speedy:~ # find /sys/devices |

Re: [RFC PATCH] add filesystem subtype support

2007-02-12 Thread Szakacsits Szabolcs
Hi, On Mon, 12 Feb 2007, Miklos Szeredi wrote: > There's a slight problem with filesystem type representation in fuse > based filesystems. > > >From the kernel's view, there are just two filesystem types: fuse and > fuseblk. From the user's view there are lots of different filesystem > types.

Re: 2.6.20 "IRQ handler type mismatch for IRQ 4"

2007-02-12 Thread Alan
> [ 23.783913] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ > sharing enabled > [ 23.787063] pnp: Device 00:0c activated. > [ 23.787420] 00:0c: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A So the PnP layers put a device on IRQ 4, which is sensible > [ 37.516000] eth1: orinoco_cs

Re: [take36 10/10] kevent: Kevent based generic AIO.

2007-02-12 Thread Alan
> I'm sure others would want them then for their favourite system call combo > too. If they were really useful it might make more sense to have a batch() > system call that works for arbitary calls, but I'm not convinced yet > it's even needed. It would be certainly ugly. batch() would possibly

Re: NAK new drivers without proper power management?

2007-02-12 Thread Gerhard Mack
On Sun, 11 Feb 2007, Willy Tarreau wrote: > On Sun, Feb 11, 2007 at 09:37:06AM +1100, Nigel Cunningham wrote: > > On Sat, 2007-02-10 at 23:20 +0100, Rafael J. Wysocki wrote: > > Many people also have Linux on their notebooks, but as a dual-boot. You > read the word ? "dual-boot". It means that

utrace regressions (was: -mm merge plans for 2.6.21)

2007-02-12 Thread Alexey Dobriyan
> utrace-utrace-tracehook.patch > utrace-utrace-tracehook-ia64.patch > utrace-utrace-tracehook-sparc64.patch > utrace-utrace-tracehook-s390.patch > utrace-utrace-regset.patch > utrace-utrace-regset-ia64.patch > utrace-utrace-regset-sparc64.patch > utrace-utrace-regset-s390.patch >

[PATCH] Remove "#include " from semaphore headers.

2007-02-12 Thread Robert P. J. Day
Remove all inclusions of "linux/rwsem.h" from the standard semaphore header files, since anyone who needs R/W semaphores should be including that header file directly. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- it *seems* fairly obvious that the numerous

Re: [PATCH 1/7] containers (V7): Generic container system abstracted from cpusets code

2007-02-12 Thread Srivatsa Vaddagiri
On Mon, Feb 12, 2007 at 12:15:22AM -0800, [EMAIL PROTECTED] wrote: > +void container_fork(struct task_struct *child) > +{ > + task_lock(current); Can't this be just rcu_read_lock()? > + child->container = current->container; > + atomic_inc(>container->count); > +

Re: Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-12 Thread Eric W. Biederman
Etienne Lorrain <[EMAIL PROTECTED]> writes: > --- "Eric W. Biederman" wrote: >> So I really don't care if we move whole real mode section into a note >> or if we just put a pointer to it into a note. What is important is >> that we use a note to find it. > > Well, we can advertise by a note the

Re: [take36 10/10] kevent: Kevent based generic AIO.

2007-02-12 Thread Evgeniy Polyakov
On Mon, Feb 12, 2007 at 02:08:10PM +0100, Andi Kleen ([EMAIL PROTECTED]) wrote: > Evgeniy Polyakov <[EMAIL PROTECTED]> writes: > > > > aio_sendfile_path() is essentially aio_sendfile(), except that it takes > > source filename as parameter, has a pointer to private header > > and its size (which

Re: [take36 10/10] kevent: Kevent based generic AIO.

2007-02-12 Thread Andi Kleen
Evgeniy Polyakov <[EMAIL PROTECTED]> writes: > > aio_sendfile_path() is essentially aio_sendfile(), except that it takes > source filename as parameter, has a pointer to private header > and its size (which allows to send header and file's content in one syscall > instead of three (open, send,

Re: Recent and not-so problems with tifm_sd driver

2007-02-12 Thread Alex Dubov
--- Pierre Ossman <[EMAIL PROTECTED]> wrote: > Alex Dubov wrote: > > > > It just occurred to me that my synopsis of the problem was utterly lame. > > Here, the correct description: > > When the card is pulled out, I mark the host as "ejected" (so it fast-fails > > all the requests), > > sleep

[RFC PATCH] add filesystem subtype support

2007-02-12 Thread Miklos Szeredi
There's a slight problem with filesystem type representation in fuse based filesystems. >From the kernel's view, there are just two filesystem types: fuse and fuseblk. From the user's view there are lots of different filesystem types. The user is not even much concerned if the filesystem is

Found trivial error in linux-headers-2.6.17-11-generic/include/linux/tty.h

2007-02-12 Thread Milan Markovic
I upgraded the kernel on my Kubuntu 6.10 to 2.6.17-11-generic and had a lot of trouble compiling my softmodem driver. Apparently it was, among others, because of a mistake in kernel-headers this is what I've found in tty.h $ cat -n /usr/src/linux-headers-2.6.17-11-generic/include/linux/tty.h |

[take36 5/10] kevent: Timer notifications.

2007-02-12 Thread Evgeniy Polyakov
Timer notifications. Timer notifications can be used for fine grained per-process time management, since interval timers are very inconvenient to use, and they are limited. This subsystem uses high-resolution timers. id.raw[0] is used as number of seconds id.raw[1] is used as number of

[take36 4/10] kevent: Socket notifications.

2007-02-12 Thread Evgeniy Polyakov
Socket notifications. This patch includes socket send/recv/accept notifications. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/fs/inode.c b/fs/inode.c index bf21dc6..82817b1 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -21,6 +21,7 @@ #include #include #include +#include

[take36 8/10] kevent: Kevent posix timer notifications.

2007-02-12 Thread Evgeniy Polyakov
Kevent posix timer notifications. Simple extension to POSIX timers which allows to deliver notification of the timer expiration through kevent queue. Example application posix_timer.c can be found in archive on project homepage. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git

[take36 9/10] kevent: Private userspace notifications.

2007-02-12 Thread Evgeniy Polyakov
Private userspace notifications. Allows to register notifications of any private userspace events over kevent. Events can be marked as ready using kevent_ctl(KEVENT_READY) command. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/kernel/kevent/kevent_unotify.c

[take36 10/10] kevent: Kevent based generic AIO.

2007-02-12 Thread Evgeniy Polyakov
Kevent based generic AIO. This patch only implements network AIO, which is _COMPLETELY_ impossible and broken in _ANY_ micro-thread design. For details and test consider following link: http://tservice.net.ru/~s0mbre/blog/2007/02/10#2007_02_10 Designing AIO without network in mind can only be

Re: Why can't I build a running Kernel?

2007-02-12 Thread Jiri Slaby
albcamus napsal(a): 2007/2/9, Jiri Slaby <[EMAIL PROTECTED]>: Reg Clemens napsal(a): > Why can't I build a running Kernel? > I have in the past, but since some time in the 2.6.19 series, > I have got the following series of errors. > Same thing now with 2.6.20. > > I build with: > > make

[take36 7/10] kevent: Signal notifications.

2007-02-12 Thread Evgeniy Polyakov
Signal notifications. This type of notifications allows to deliver signals through kevent queue. One can find example application signal.c on project homepage. If KEVENT_SIGNAL_NOMASK bit is set in raw_u64 id then signal will be delivered only through queue, otherwise both delivery types are

[take36 1/10] kevent: Description.

2007-02-12 Thread Evgeniy Polyakov
Description. diff --git a/Documentation/kevent.txt b/Documentation/kevent.txt new file mode 100644 index 000..d6e126f --- /dev/null +++ b/Documentation/kevent.txt @@ -0,0 +1,271 @@ +Description. + +int kevent_init(struct kevent_ring *ring, unsigned int ring_size, + unsigned int

[take36 3/10] kevent: poll/select() notifications.

2007-02-12 Thread Evgeniy Polyakov
poll/select() notifications. This patch includes generic poll/select notifications. kevent_poll works simialr to epoll and has the same issues (callback is invoked not from internal state machine of the caller, but through process awake, a lot of allocations and so on). Signed-off-by: Evgeniy

[take36 6/10] kevent: Pipe notifications.

2007-02-12 Thread Evgeniy Polyakov
Pipe notifications. diff --git a/fs/pipe.c b/fs/pipe.c index 68090e8..0c75bf1 100644 --- a/fs/pipe.c +++ b/fs/pipe.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include @@ -313,6 +314,7 @@ redo: break; }

RE: AHCI - remove probing of ata2

2007-02-12 Thread Paul Rolland
Hello Tejun, > You have a Maxtor connected to that port, right? That's caused by Waoh, you are using crystal ball ? :) You are right, this is a Maxtor disk, 250 MB. If you want more details about this disk, I can send you a complete details. > firmware bug. Future kernels will consider that

Re: [Linux-fbdev-devel] [PATCH] mfd: SM501 core driver

2007-02-12 Thread Ben Dooks
5BOn Thu, Feb 08, 2007 at 05:56:02PM +, James Simmons wrote: > > > Do you have a new patch? New mfd driver posted to the linux-kernel list. Will post new sm501 driver (fixed cursor code) and option for byte-swap on systems with big-endian cpu and little-endian pci -- Ben ([EMAIL

Re: somebody dropped a (warning) bomb

2007-02-12 Thread Sergei Organov
Linus Torvalds <[EMAIL PROTECTED]> writes: > On Fri, 9 Feb 2007, Sergei Organov wrote: >> >> As far as I can read the C99 standard, the "char", "signed char", and >> "unsigned char", are all different types: > > Indeed. Search for "pseudo-unsigned", and you'll see more. There are > actually

[PATCH] mfd: SM501 core driver (#2)

2007-02-12 Thread Ben Dooks
This is a new release of the SM501 MFD driver. This driver handles the core function of the chip, including the clock, power control and allocation of resources for drivers. It also exports a series of platform devices for the function drivers to attach to. This patch supports both platform and

Re: Sata_via problems in a Vintage2-AE1

2007-02-12 Thread Leopold Palomo-Avellaneda
A Dilluns 12 Febrer 2007 10:11, Jean Delvare va escriure: > Le Samedi 10 Février 2007 15:45, Tejun Heo a écrit : > > [cc'ing Alan and Jean, Hi!] > > > > Leopold Palomo Avellaneda wrote: > > > A Divendres 09 Febrer 2007 18:13, Leopold Palomo Avellaneda va escriure: > > >> A Divendres 09 Febrer 2007

Re: Recent and not-so problems with tifm_sd driver - one more

2007-02-12 Thread Brad Campbell
Pierre Ossman wrote: Brad Campbell wrote: [EMAIL PROTECTED]:/sys/block/mmcblk0$ ls -laR .: total 0 drwxr-xr-x 6 root root0 2007-02-11 23:29 . drwxr-xr-x 13 root root0 2007-02-11 23:27 .. -r--r--r-- 1 root root 4096 2007-02-11 23:28 dev lrwxrwxrwx 1 root root0 2007-02-11 23:27

Re : [PATCH] Compressed ia32 ELF file generation for loading by Gujin 1/3

2007-02-12 Thread Etienne Lorrain
--- "Eric W. Biederman" wrote: > So I really don't care if we move whole real mode section into a note > or if we just put a pointer to it into a note. What is important is > that we use a note to find it. Well, we can advertise by a note the section number or the section name which contains

Re: [take35 0/10] kevent: Generic event handling mechanism.

2007-02-12 Thread Evgeniy Polyakov
On Mon, Feb 05, 2007 at 05:23:36PM +0300, Evgeniy Polyakov ([EMAIL PROTECTED]) wrote: > On Thu, Feb 01, 2007 at 01:12:30PM +0300, Evgeniy Polyakov ([EMAIL > PROTECTED]) wrote: > > > > Generic event handling mechanism. > > > > Kevent is a generic subsytem which allows to handle event

Re: [PATCH 10/10] atomic.h : Add atomic64 cmpxchg, xchg and add_unless to x86_64

2007-02-12 Thread Andi Kleen
Mathieu Desnoyers <[EMAIL PROTECTED]> writes: > > /** > @@ -402,7 +405,7 @@ static __inline__ long atomic64_sub_return(long i, > atomic64_t *v) > */ > #define atomic_add_unless(v, a, u) \ > ({ \ > - int

Re: [GIT PATCH] SCSI updates for 2.6.20

2007-02-12 Thread Rolf Eike Beer
Am Sonntag, 11. Februar 2007 schrieb James Bottomley: > This is the accumulated SCSI tree for 2.6.20. It is available at > > master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6.git You once again have not included this two patches Andrew sent you on 20070602: [patch 08/33] remove

Re: [patches] [PATCH 2.6.21 review I] [21/25] x86_64: a memcpy that tries to reduce cache pressure

2007-02-12 Thread Andi Kleen
> This looks a little strange to me: > - the first 128 bytes are still going through the cache > - up to 192 bytes past the copied area are being marked non-temporal, while > there's nothing known about that area Yes that seems quite bogus. > - sfence seems questionable here, I would have

Re: [QUESTION] file access time in millisecond?

2007-02-12 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Jeff Chua <[EMAIL PROTECTED]> wrote: >On 12 Feb 2007 10:02:28 +0100, Andi Kleen <[EMAIL PROTECTED]> wrote: > >> > stat() returns time in seconds, >> >> Not correct (at least for glibc stat). It supports nanoseconds these days, >> although not all file systems

Adjusting destination pointer with copy_to_user

2007-02-12 Thread Timur Aydin
Hi, I am passing a packet consisting of a fixed length header and a variable length data block to a user mode application. The user mode application passes the pointer of its buffer with an ioctl call (buff_ptr). When the driver receives buff_ptr, it makes two calls to pass the packet to user

Re: [patches] [PATCH 2.6.21 review I] [21/25] x86_64: a memcpy that tries to reduce cache pressure

2007-02-12 Thread Jan Beulich
>>> Andi Kleen <[EMAIL PROTECTED]> 10.02.07 12:50 >>> > >From: "Bryan O'Sullivan" <[EMAIL PROTECTED]> > >This copy routine is memcpy-compatible, but on some architectures will use >cache-bypassing loads to avoid bringing the source data into the cache. > >One case where this is useful is when a

Re: [QUESTION] file access time in millisecond?

2007-02-12 Thread Andi Kleen
On Monday 12 February 2007 10:52, Jeff Chua wrote: > On 12 Feb 2007 10:02:28 +0100, Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > stat() returns time in seconds, > > > > Not correct (at least for glibc stat). It supports nanoseconds these days, > > although not all file systems (including ext3)

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-12 Thread Paul Jackson
Paul M, responding to Paul J: > I think it could be made smarter than that, e.g. have a workqueue task > that's only woken when a refcount does actually reach zero. (I think > that waking a workqueue task is something that can be done without too > much worry about locks) > > > > > Can you

Re: [QUESTION] file access time in millisecond?

2007-02-12 Thread Jeff Chua
On 12 Feb 2007 10:02:28 +0100, Andi Kleen <[EMAIL PROTECTED]> wrote: > stat() returns time in seconds, Not correct (at least for glibc stat). It supports nanoseconds these days, although not all file systems (including ext3) do yet. I'm using gcc-3.4.5, and glibc-2.3.6. Don't think 2.3.6

Re: Sata_via problems in a Vintage2-AE1

2007-02-12 Thread Tejun Heo
Jean Delvare wrote: I've read the whole thread, the source code (quickly) and the patches to ahci.c and sata_via.c, and here are some comments: It looks like support for the VT8251 was added to the ahci driver in kernel 2.6.18, and was then updated in 2.6.20. The code is different from the

[PATCH 1/1][RFC] EXT34 retry loop issue V(2)

2007-02-12 Thread Dmitriy Monakhov
Patch depends on : "[PATCH 0/1][RFC] prepare_write positive return value V(2)" This patch solve ext3/4 retry loop issue. Issue description: What we can do if block_prepare_write fail inside ext3_prepare_write ? a) Stop transaction and do retry if possible, but what happend if reboot comes

Re: NAK new drivers without proper power management?

2007-02-12 Thread Arjan van de Ven
> > By adding dummy functions, wouldn't that just look awkward ? not really; if you have a template pm_no_suspend_needed and pm_no_restore_needed functions, and just make it part of ALL device structs that don't need it.. it's not that bad or maybe pm_generic_no_suspend

[PATCH 0/1][RFC] prepare_write positive return value V(2)

2007-02-12 Thread Dmitriy Monakhov
Changes from ver(1) - __page_symlink(): In order to be on a safe side add explicit zeroing content before fail (just in case). -do_lo_send_aops(): If prepare_write can't handle total size of bytes requested from loop_dev it is safer to fail. -

Re: genirq: Add a set_irq_handler_locked() function

2007-02-12 Thread Russell King
On Mon, Feb 12, 2007 at 02:17:28PM +1100, David Gibson wrote: > On Fri, Feb 09, 2007 at 07:36:40AM +, Russell King wrote: > > On Fri, Feb 09, 2007 at 02:48:42PM +1100, David Gibson wrote: > > > At present set_irq_handler() and all the existing variants take the > > > desc->lock for the irq in

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-12 Thread Paul Menage
On 2/12/07, Paul Jackson <[EMAIL PROTECTED]> wrote: You'll have a rough time selling me on the idea that some kernel thread should be waking up every few seconds, grabbing system-wide locks, on a big honkin NUMA box, for the few times per hour, or less, that a cpuset is abandoned. I think it

Open reiserfs transactions (was Re: 2.6.19-rc5: grub is much slower resuming from suspend-to-disk than in 2.6.18)

2007-02-12 Thread Stefan Rompf
Andrey Borzenkov wrote: > This is rather funny; in 2.6.19-rc5 grub is *really* slow loading kernel > when I switch on the system after suspend to disk. Actually, after kernel > has been loaded, the whole resuming (up to the point I have usable desktop > again) takes about three time less than the

Re: [patches] [PATCH 2.6.21 review I] [4/25] x86: kernel-mode faults pollute current->thead

2007-02-12 Thread Jan Beulich
>>> Andi Kleen <[EMAIL PROTECTED]> 10.02.07 12:50 >>> > >From: Jeff Dike <[EMAIL PROTECTED]> > >Kernel-mode traps on x86_64 can pollute the trap information for a previous >userspace trap for which the signal has not yet been delivered to the >process. > >do_trap and do_general_protection set

Re: [RFC] [PATCH] To list all active probes in the system---Take-2

2007-02-12 Thread Ananth N Mavinakayanahalli
On Mon, Feb 12, 2007 at 12:45:15AM -0800, Andrew Morton wrote: > On Thu, 08 Feb 2007 17:16:15 +0530 Srinivasa Ds <[EMAIL PROTECTED]> wrote: > > > + if (p->pre_handler == pre_handler_kretprobe) > > This breaks on sparc64: > > kernel/kprobes.c: In function `report_probe': >

Re: 2.6.16.32 stuck in generic_file_aio_write()

2007-02-12 Thread Igmar Palsenberg
Hi, > I can not make sure it is hardware problem, but I have interest in this > case's reproducing. > If you tell me your platform's construction, I will try it and give you good > solution. The machines giving problems are almost identical when it comes to hardware specs : Intel SE7520BD2

Re: [QUESTION] file access time in millisecond?

2007-02-12 Thread Jeff Chua
On 2/12/07, Arjan van de Ven <[EMAIL PROTECTED]> wrote: see the "utimes()" function Arjan, I checked the man page, and it says ... utime, utimes - change access and/or modification times of an inode I just want to "read" the access time, and not changing it. Thanks, Jeff. - To

Re: pcim_enable_device BUGs for libata devices in 2.6.20-git6

2007-02-12 Thread Tejun Heo
[cc'ing Pavel, Hi!] Robert Hancock wrote: I'm seeing BUGs like these on all libata-driven controllers when suspending to disk on 2.6.20-git6: sata_nv :00:07.0: resuming BUG: at drivers/pci/pci.c:817 pcim_enable_device() Call Trace: [] pcim_enable_device+0x8a/0xa5 []

Re: [PATCH 0/7] containers (V7): Generic Process Containers

2007-02-12 Thread Paul Jackson
> - temporarily removed the "release agent" support. ouch > ... it can be re-added ... via a kernel thread that periodically polls > containers ... double ouch. You'll have a rough time selling me on the idea that some kernel thread should be waking up every few seconds, grabbing system-wide

Re: [PATCH 5/7] cleanup: Rename cpu_gdt_descr and remove extern declaration from smpboot.c

2007-02-12 Thread Zachary Amsden
Rusty Russell wrote: When I implemented the DECLARE_PER_CPU(var) macros, I was careful that people couldn't use "var" in a non-percpu context, by prepending percpu__. I never considered that this would allow them to overload the same name for a per-cpu and a non-percpu variable. It is only one

Re: Sata_via problems in a Vintage2-AE1

2007-02-12 Thread Jean Delvare
Le Samedi 10 Février 2007 15:45, Tejun Heo a écrit : > [cc'ing Alan and Jean, Hi!] > > Leopold Palomo Avellaneda wrote: > > A Divendres 09 Febrer 2007 18:13, Leopold Palomo Avellaneda va escriure: > >> A Divendres 09 Febrer 2007 10:46, Tejun Heo va escriure: > >>> Leopold Palomo Avellaneda wrote:

[PATCH 2.6.20 07/10] nfnetlink_log: fix module reference counting

2007-02-12 Thread Michał Mirosław
Count module references correctly: after instance_destroy() there might be timer pending and holding a reference for this netlink instance. Signed-off-by: Michał Mirosław <[EMAIL PROTECTED]> --- linux-2.6.20/net/netfilter/nfnetlink_log.c.52007-02-11 22:24:56.0 +0100 +++

Re: Recent and not-so problems with tifm_sd driver - one more

2007-02-12 Thread Pierre Ossman
Brad Campbell wrote: > [EMAIL PROTECTED]:/sys/block/mmcblk0$ ls -laR > .: > total 0 > drwxr-xr-x 6 root root0 2007-02-11 23:29 . > drwxr-xr-x 13 root root0 2007-02-11 23:27 .. > -r--r--r-- 1 root root 4096 2007-02-11 23:28 dev > lrwxrwxrwx 1 root root0 2007-02-11 23:27 device -> >

[PATCH 2.6.20 08/10] nfnetlink_log: shorten instances_lock holding time

2007-02-12 Thread Michał Mirosław
Shorten instances_lock window at the cost of doing unnecessary work on the failure case. I don't know if it makes sense actually. ;> Signed-off-by: Michał Mirosław <[EMAIL PROTECTED]> --- linux-2.6.20/net/netfilter/nfnetlink_log.c.62007-02-11 22:31:19.0 +0100 +++

[PATCH 2.6.20 03/10] nfnetlink_log: kill duplicate code

2007-02-12 Thread Michał Mirosław
Kill some duplicate code in nfulnl_log_packet(). Signed-off-by: Michał Mirosław <[EMAIL PROTECTED]> --- linux-2.6.20/net/netfilter/nfnetlink_log.c.12007-02-11 20:51:57.0 +0100 +++ linux-2.6.20/net/netfilter/nfnetlink_log.c 2007-02-11 20:43:24.0 +0100 @@ -666,30 +666,23

[PATCH 2.6.20 09/10] nfnetlink_log: fix NULL pointer dereference

2007-02-12 Thread Michał Mirosław
Fix the nasty NULL dereference on multiple packets per netlink message. BUG: unable to handle kernel NULL pointer dereference at virtual address 0004 printing eip: f8a4b3bf *pde = Oops: 0002 [#1] SMP Modules linked in: nfnetlink_log ipt_ttl ipt_REDIRECT xt_tcpudp iptable_nat

[PATCH 2.6.20 01/10] nfnetlink_log: don't count max(a,b) twice

2007-02-12 Thread Michał Mirosław
We don't need local nlbufsiz (skb size) as nfulnl_alloc_skb() takes the maximum anyway. Signed-off-by: Michał Mirosław <[EMAIL PROTECTED]> --- linux-2.6.20/net/netfilter/nfnetlink_log.c.orig 2007-02-10 18:25:14.0 +0100 +++ linux-2.6.20/net/netfilter/nfnetlink_log.c 2007-02-11

[PATCH 2.6.20 04/10] nfnetlink_log: fix possible use-after-free

2007-02-12 Thread Michał Mirosław
Paranoia: instance_put() might have freed the inst pointer when we spin_unlock_bh(). Signed-off-by: Michał Mirosław <[EMAIL PROTECTED]> --- linux-2.6.20/net/netfilter/nfnetlink_log.c.22007-02-11 20:43:24.0 +0100 +++ linux-2.6.20/net/netfilter/nfnetlink_log.c 2007-02-11

[PATCH 2.6.20 00/10] nfnetlink_log: patch series introduction

2007-02-12 Thread Michał Mirosław
Dear list, After meeting a faint-hearted Linux kernel lately I decided to try myself at persuading it to not be afraid of NFLOG. This chat gave a series of ten commandments I present today. Take a look and agree or comment. Here's the list: 1. nfulnl_log_packet() - don't count the same thing

<    1   2   3   4   5   6   7   8   9   >