Re: Versioning file system

2007-06-19 Thread Theodore Tso
On Mon, Jun 18, 2007 at 03:48:15PM -0700, Jeremy Allison wrote: > Did you ever code up forkdepot ? Just wondering ? There is a partial implementation lieing around somewhere, but there were a number of problems we ran into that were discussed in the slidedeck. Basically, if the only program acces

Re: [patch 4/6] ps3: Disk Storage Driver

2007-06-19 Thread Geert Uytterhoeven
On Mon, 18 Jun 2007, David Miller wrote: > What I really care about is what will work transparently for existing > userspace. In particular, distribution installers and existing tools > like fdisk. > > When a slice it being exported, it's not being exported like that so > that the client can just

Re: Versioning file system

2007-06-19 Thread Theodore Tso
On Tue, Jun 19, 2007 at 12:26:57AM +0200, Jörn Engel wrote: > The main difference appears to be the potential size. Both extended > attributes and forks allow for extra data that I neither want or need. > But once the extra space is large enough to hide a rootkit in, it > becomes a security proble

Re: [PATCH 1/1] Char: istallion, init+locking fixes

2007-06-19 Thread Jiri Slaby
Ingo Korb napsal(a): > Move brdp->iosize assignment in stli_initecp up a few lines to stop the > driver from requesting an I/O region of length 0. > > Remove spin_lock_irqsave/spin_unlock_irqrestore from __stli_sendcmd as > all users of that function take the lock already. > > Signed-off-by: Ingo

Re: [PATCH 1/1] V4L: stk11xx, add a new webcam driver

2007-06-19 Thread Jiri Slaby
Oliver Neukum napsal(a): > Am Freitag, 15. Juni 2007 schrieb Jiri Slaby: >> +struct stk11xx_frame_buf { >> + void *data; >> + volatile int filled; >> + struct stk11xx_frame_buf *next; >> +}; >> + > > What's the "volatile" doing here? removed (s/volatile/unsigned/), thanks, -- h

Re: [patch 0/5] m68k 53c700 SCSI

2007-06-19 Thread Geert Uytterhoeven
Hi James, On Sun, 17 Jun 2007, Geert Uytterhoeven wrote: > These patches add support for m68k to the 53c700 SCSI core and introduce new > drivers for various m68k hardware using this 53c700 SCSI core, to replace the > just removed drivers using the old 53c7xx SCSI core. > > [1] [PATCH]

Re: [PATCH] atmel_lcdfb: Fix STN LCD support

2007-06-19 Thread Haavard Skinnemoen
On Fri, 15 Jun 2007 10:50:12 +0200 Nicolas Ferre <[EMAIL PROTECTED]> wrote: > From: Nicolas Ferre <[EMAIL PROTECTED]> > > Fixes STN LCD support for the atmel_lcdfb framebuffer driver. > > Signed-off-by: Nicolas Ferre <[EMAIL PROTECTED]> Looks correct to me. Although... > Index: b/drivers/video

Re: Question about a strange behavior of copy_to_user() in ioctl call

2007-06-19 Thread Jiri Slaby
News Letter napsal(a): > Hi, > > I need some help here to understand copy_to_user(). I encountered a > strange copy_to_user() behavior when working on CentOS from Redhat > (kernel version 2.6.9-22.ELsmp, x86_64 CPU). > > For a kernel module, I wrote a ioctl call to allow user mode program > to ge

Re: Versioning file system

2007-06-19 Thread Jack Stone
Kyle Moffett wrote: > On Jun 18, 2007, at 13:56:05, Bryan Henderson wrote: >>> The question remains is where to implement versioning: directly in >>> individual filesystems or in the vfs code so all filesystems can use it? >> >> Or not in the kernel at all. I've been doing versioning of the types

Re: [PATCH/RFC] oops and panic message logging to MTD

2007-06-19 Thread Artem Bityutskiy
On Mon, 2007-06-18 at 17:31 +0100, Richard Purdie wrote: > +static int mtdoops_erase_block(struct mtd_info *mtd, int offset) > +{ > + struct erase_info erase; > + DECLARE_WAITQUEUE(wait, current); > + wait_queue_head_t wait_q; > + int ret; > + > + init_waitqueue_head(&wait_q); >

[PATCH] net: Make skb_seq_read unmap the last fragment

2007-06-19 Thread Olaf Kirch
From: Olaf Kirch <[EMAIL PROTECTED]> Make skb_seq_read unmap the last fragment Having walked through the entire skbuff, skb_seq_read would leave the last fragment mapped. As a consequence, the unwary caller would leak kmaps, and proceed with preempt_count off by one. The only (kind of non-intuit

Re: [PATCH] Quota netlink interface

2007-06-19 Thread Jan Kara
On Mon 18-06-07 12:01:03, Randy Dunlap wrote: > On Mon, 18 Jun 2007 14:14:55 +0200 Jan Kara wrote: > > > Hello, > > > > I've written a patch implementing quota netlink interface. Whenever some > > event happens (like user exceeding softlimit), a message is sent to > > userpace. Then, in users

Re: [PATCH] Quota netlink interface

2007-06-19 Thread Jiri Kosina
On Tue, 19 Jun 2007, Jan Kara wrote: > OK, I can make it 'depends on NET' instead. I guess it's no problem in > this case since whoever wants quota is going to have NET enabled. > The problem I sometimes have with 'depends on' is that the option is > invisible until you have enabled all the de

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Alexandre Oliva
On Jun 19, 2007, Daniel Hazelton <[EMAIL PROTECTED]> wrote: > On Tuesday 19 June 2007 02:44:32 Alexandre Oliva wrote: >> GPLv3 forbids tivoization, therefore developer has requirement for >> tivoization in the license, therefore GPLv3 forbidding tivoization >> is bad. > However, my argument is st

Re: [patch 4/6] ps3: Disk Storage Driver

2007-06-19 Thread Christoph Hellwig
On Mon, Jun 18, 2007 at 11:07:31PM -0700, David Miller wrote: > The main disk I/O block read and write is done using descriptors > sent to the disk server. SCSI pass-through is provided (optionally) > so that disk analysis tools can do things like MODE_SENSE on the > disk. SG_IO can easily be imp

Re: mea culpa on the meaning of Tivoization

2007-06-19 Thread Hans-Jürgen Koch
Am Dienstag 19 Juni 2007 04:46 schrieb Alexandre Oliva: > On Jun 18, 2007, Hans-Jürgen Koch <[EMAIL PROTECTED]> wrote: > > > Am Montag 18 Juni 2007 23:18 schrieb Alexandre Oliva: > >> On Jun 18, 2007, Hans-Jürgen Koch <[EMAIL PROTECTED]> wrote: > >> > >> >> Vendor would be entitled to the benefit

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Daniel Hazelton
On Tuesday 19 June 2007 04:04:52 Alexandre Oliva wrote: > On Jun 19, 2007, Daniel Hazelton <[EMAIL PROTECTED]> wrote: > > On Tuesday 19 June 2007 02:44:32 Alexandre Oliva wrote: > >> GPLv3 forbids tivoization, therefore developer has requirement for > >> tivoization in the license, therefore GPLv3

Re: [patch-mm 14/25] NTP: Move the cmos update code into ntp.c

2007-06-19 Thread Franck Bui-Huu
Hi Thomas, Thomas Gleixner wrote: > i386 and sparc64 have the identical code to update the cmos clock. > Move it into kernel/time/ntp.c as there are other architectures > coming along with the same requirements. > > Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]> > Cc: Chris Wright <[EMAIL PRO

Re: v2.6.21.4-rt11

2007-06-19 Thread Ingo Molnar
* Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: > On Mon, Jun 18, 2007 at 08:46:03PM -0700, Christoph Lameter wrote: > > @@ -2493,17 +2493,18 @@ static void idle_balance(int this_cpu, s > > unsigned long next_balance = jiffies + 60 * HZ; > > > > for_each_domain(this_cpu, sd) { > > -

Re: [PATCH/RFC] oops and panic message logging to MTD

2007-06-19 Thread Artem Bityutskiy
On Mon, 2007-06-18 at 17:31 +0100, Richard Purdie wrote: > +static int mtdoops_erase_block(struct mtd_info *mtd, int offset) > +{ > + struct erase_info erase; > + DECLARE_WAITQUEUE(wait, current); > + wait_queue_head_t wait_q; > + int ret; > + > + init_waitqueue_head(&wait_q); >

xfs freeze/umount problem

2007-06-19 Thread David Greaves
David Chinner wrote: > 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 > safe thing to do is freeze the filesystem before suspend and thaw it after > resume. Whilst testing a potential bug i

Re: Versioning file system

2007-06-19 Thread Bron Gondwana
On Mon, Jun 18, 2007 at 11:10:42PM -0400, Kyle Moffett wrote: > On Jun 18, 2007, at 13:56:05, Bryan Henderson wrote: >>> The question remains is where to implement versioning: directly in >>> individual filesystems or in the vfs code so all filesystems can use it? >> >> Or not in the kernel at all

Re: [PATCH RT] Don't call mcount from vsyscall_fn's

2007-06-19 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > This bit me in the butt. > > I couldn't understand why my init app was segfaulting, with a kernel > address, but a user RIP and RSP. Well, the RIP I think was bogus, but > the kernel address was always the start of "mcount". Looking deeper, > I

[patch 0/6] s390 patches for 2.6.22

2007-06-19 Thread Martin Schwidefsky
Last s390 bug fix patches for 2.6.22. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin. - 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.ht

[patch 1/6] Missing blank when appending cio_ignore kernel parameter

2007-06-19 Thread Martin Schwidefsky
From: Michael Holzheu <[EMAIL PROTECTED]> When appending the 'cio_ignore' kernel parameter to the command line, a blank has to be inserted in order to separate 'cio_ignore' from the preceding kernel parameters. Signed-off-by: Michael Holzheu <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <

[patch 2/6] Fix zfcpdump header

2007-06-19 Thread Martin Schwidefsky
From: Michael Holzheu <[EMAIL PROTECTED]> Added members for volume number and real memory size to header information. Signed-off-by: Michael Holzheu <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- drivers/s390/char/zcore.c |3 +++ 1 file changed, 3 insertions(+

[patch 3/6] Fix yet another two section mismatches.

2007-06-19 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> WARNING: arch/s390/kernel/built-in.o(.text+0xb92a): Section mismatch: reference to .init.text:start_secondary (between 'restart_addr' and 'stack_overflow') WARNING: arch/s390/appldata/built-in.o(.data+0xdc): Section mismatch: refe

[patch 4/6] Print list of modules on die().

2007-06-19 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Print list of modules on die() like a lot of other architectures do. Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]> --- arch/s390/kernel/traps.c |1 + 1 file changed, 1 insertion(+) Index: qui

[patch 5/6] Move psw_set_key.

2007-06-19 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> Move psw_set_key() from ptrace.h to processor.h which is a more suitable place for it. In addition the moves makes the function invisible to user space. Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Martin Schwidefsky <[EMAIL PROTECTED]>

[patch 6/6] Add oops_enter()/oops_exit() calls to die().

2007-06-19 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> This is mainly to switch off all potentially debugging stuff that won't report anything useful after an oops happened. Besided that setting pause_on_oops will work too, but doesn't make too much sense on s390. Signed-off-by: Heiko Carstens <[EMAIL PROTECTE

Re: [2/2] 2.6.22-rc4: known regressions with patches v3

2007-06-19 Thread Paulo Pereira
A Wednesday 13 June 2007 22:01:54, Alan Stern escreveu: > On Wed, 13 Jun 2007, Greg KH wrote: > > On Wed, Jun 13, 2007 at 09:58:05PM +0200, Michal Piotrowski wrote: > > > USB > > > > > > Subject: list_add corruption. prev->next should be next > > > (f7d28794), but was f0df8ed4 (prev=f0df8ed4)

Please pull git390 'for-linus' branch

2007-06-19 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/appldata/appldata_base.c |5 ++--- arch/s390/kernel/entry.S |8 +++- arch/s390/kernel/entry64.S |8 +++-

Re: [RFC/PATCH] Documentation of kernel messages

2007-06-19 Thread holzheu
On Mon, 2007-06-18 at 18:36 -0700, Arjan van de Ven wrote: > On Mon, 2007-06-18 at 15:53 +0200, holzheu wrote: > > On Mon, 2007-06-18 at 06:12 -0700, Arjan van de Ven wrote: > > > On Mon, 2007-06-18 at 14:55 +0200, holzheu wrote: > > > > Hi Gerrit, > > > > > > > > The common thing of your and our

[PATCH] kerneldoc fix in audit_core_dumps

2007-06-19 Thread Henne
From: Henrik Kretzschmar <[EMAIL PROTECTED]> Fix parameter name in audit_core_dumps for kerneldoc. Signed-off-by: Henrik Kretzschmar <[EMAIL PROTECTED]> --- diff --git a/kernel/auditsc.c b/kernel/auditsc.c index e36481e..028650c 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -2040,7 +2

[PATCH] kerneldoc fix in libata

2007-06-19 Thread Henne
From: Henrik Kretzschmar <[EMAIL PROTECTED]> Fix parameter name from ata_dev_reread_id() in libata-core.c for kerneldoc. Signed-off-by: Henrik Kretzschmar <[EMAIL PROTECTED]> --- diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 047eabd..88e2761 100644 --- a/drivers/ata/l

Re: [PATCH -cfs] Fix cpu_load calculation error

2007-06-19 Thread Ingo Molnar
* Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: > Ingo/Dmitry, > I am resending the patch to fix cpu_load calculation error in > cfs v17, this time CCing lkml. > v17 cpu_load calculation didn't take into account that a class's > delta_exec/fair may be stale because it could not get an op

Selective system profiling

2007-06-19 Thread John Sigler
Hello everyone, Here's my situation: I'm pushing data in chunks of 1316 bytes to a PCI device at 38 Mbit/s. In other words, I write 1316 bytes to the device every 277 microseconds. I've noticed that the latency of this operation varies immensely. Most of the time it completes in 50-80 microsec

Re: v2.6.21.4-rt11

2007-06-19 Thread Ingo Molnar
* Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: > I believe the patch below is correct. With the patch applied, I could > not recreate the imbalance with rcutorture. Let me know whether you > still see the problem with this patch applied on any other machine. thanks for tracking this down! I'v

[PATCH] slob: poor man's NUMA support.

2007-06-19 Thread Paul Mundt
This adds preliminary NUMA support to SLOB, primarily aimed at systems with small nodes (tested all the way down to a 128kB SRAM block), whether asymmetric or otherwise. We follow the same conventions as SLAB/SLUB, preferring current node placement for new pages, or with explicit placement, if a n

Re: [Linux-usb-users] Stable identification of identical USB hardware

2007-06-19 Thread Kay Sievers
On 6/18/07, Greg KH <[EMAIL PROTECTED]> wrote: On Mon, Jun 18, 2007 at 08:35:35AM -0700, Joerg Pommnitz wrote: > I want to be able to distinguish between two (or more) mostly > identical USB serial devices. The devices in question are UMTS modems. > AFAIK they are identical except for the SIM car

Re: Versioning file system

2007-06-19 Thread Martin Langhoff
On 6/19/07, Kyle Moffett <[EMAIL PROTECTED]> wrote: What I think would be particularly interesting in this domain is something similar in concept to GIT, except in a file-system: perhaps stating the blindingly obvious, but there was an early implementation of a FUSE-based gitfs -- http://www.sf

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Anders Larsen
On 2007-06-18 21:50:12, Alexandre Oliva wrote: > Given the ROM exception in GPLv3, I guess you could seal and > anti-tamper it as much as you want, and leave the ROM at such a place > in which it's easily replaceable but with signature checking and all > such that the user doesn't install ROM that

Type error in drivers/input/tsdev.c?

2007-06-19 Thread Fengwei Yin
Hi, In function tsdev_event() of drivers/input/tsdev.c, conversion from usec to milisec is like: client->event[client->head].millisecs = time.tv_usec / 100; ~~ should be 1000? Regards Yin, Fengwei - To unsubscribe from this list: send the line "

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-19 Thread Pádraig Brady
Vladislav Bolkhovitin wrote: > > I would also suggest one more feature: support for block level > de-duplication. I mean: > > 1. Ability for Btrfs to have blocks in several files to point to the > same block on disk > > 2. Support for new syscall or IOCTL to de-duplicate as a single > transactio

Re: Fix signalfd interaction with thread-private signals

2007-06-19 Thread Oleg Nesterov
On 06/18, Linus Torvalds wrote: > > On Mon, 18 Jun 2007, Benjamin Herrenschmidt wrote: > > On Sun, 2007-06-17 at 17:20 -0700, Davide Libenzi wrote: > > > > > > Andrew or Linus, did you get Ben's patch? > > > > It might have been missed... I can resend later today. > > I did indeed just miss it. I

Re: [patch 5/6] Move psw_set_key.

2007-06-19 Thread Paul Mundt
On Tue, Jun 19, 2007 at 10:45:21AM +0200, Martin Schwidefsky wrote: > From: Heiko Carstens <[EMAIL PROTECTED]> > > Move psw_set_key() from ptrace.h to processor.h which is a more > suitable place for it. In addition the moves makes the function > invisible to user space. > > arch/s390/kernel/tra

[GIT PULL] sh fixes

2007-06-19 Thread Paul Mundt
Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.git Which contains: Kaz Kojima (1): sh: Fix restartable syscall arg5 clobbering. Paul Mundt (2): sh: oops_enter()/oops_exit() in die(). sh: Handle -ERESTART_RESTARTBLOCK for restartable syscall

[GIT PULL] sh64 fixes

2007-06-19 Thread Paul Mundt
Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh64-2.6.git Which contains: Paul Mundt (1): sh64: Handle -ERESTART_RESTARTBLOCK for restartable syscalls. arch/sh64/kernel/signal.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) - To unsubscribe fr

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

2007-06-19 Thread David Greaves
David Greaves wrote: I'm going to have to do some more testing... done David Chinner wrote: On Mon, Jun 18, 2007 at 08:49:34AM +0100, David Greaves wrote: David Greaves wrote: So doing: xfs_freeze -f /scratch sync echo platform > /sys/power/disk echo disk > /sys/power/state # resume xfs_fre

Re: Type error in drivers/input/tsdev.c?

2007-06-19 Thread Jiri Slaby
Fengwei Yin napsal(a): > Hi, > In function tsdev_event() of drivers/input/tsdev.c, > conversion from usec to milisec is like: >client->event[client->head].millisecs = > time.tv_usec / 100; > ~~ should be 1000? Seems so. James CCed. regards, -- http://www.fi.muni.

Re: [patch 5/6] Move psw_set_key.

2007-06-19 Thread Heiko Carstens
On Tue, Jun 19, 2007 at 11:12:00AM +0200, Bastian Blank wrote: > On Tue, Jun 19, 2007 at 10:45:21AM +0200, Martin Schwidefsky wrote: > > Move psw_set_key() from ptrace.h to processor.h which is a more > > suitable place for it. In addition the moves makes the function > > invisible to user space. >

Re: [fuse-devel] FS block count, size and seek offset?

2007-06-19 Thread Goswin von Brederlow
"David Brown" <[EMAIL PROTECTED]> writes: >> Why don't you use the existing fuse-unionfs? > > I thought about doing this but it would need to be modified somehow > and even then my users would look to me to fix issues and I don't like > trying to find hard bugs in other peoples code. > > Also, the

Re: [patch 5/6] Move psw_set_key.

2007-06-19 Thread Bastian Blank
On Tue, Jun 19, 2007 at 10:45:21AM +0200, Martin Schwidefsky wrote: > Move psw_set_key() from ptrace.h to processor.h which is a more > suitable place for it. In addition the moves makes the function > invisible to user space. Hmm, this does not really describe the changes. Bastian -- Violence

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

2007-06-19 Thread Tejun Heo
Hello, David Greaves wrote: >> Good :) > Now, not so good :) Oh, crap. :-) > So I hibernated last night and resumed this morning. > Before hibernating I froze and sync'ed. After resume I thawed it. (Sorry > Dave) > > Here are some photos of the screen during resume. This is not 100% > reproduc

Re: [PATCH/RFC] oops and panic message logging to MTD

2007-06-19 Thread Richard Purdie
On Tue, 2007-06-19 at 10:55 +0300, Artem Bityutskiy wrote: > On Mon, 2007-06-18 at 17:31 +0100, Richard Purdie wrote: > > + if (mtd->erasesize < OOPS_PAGE_SIZE) > > + erase.len = OOPS_PAGE_SIZE; > > It seems to me that your code won't work if mtd->erasesize < > OOPS_PAGE_SIZE anyway, s

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-19 Thread Vladislav Bolkhovitin
Pádraig Brady wrote: Vladislav Bolkhovitin wrote: I would also suggest one more feature: support for block level de-duplication. I mean: 1. Ability for Btrfs to have blocks in several files to point to the same block on disk 2. Support for new syscall or IOCTL to de-duplicate as a single tran

Re: [RFC][PATCH -mm take5 3/7] add interface for netconsole using sysfs

2007-06-19 Thread Keiichi KII
Hello Satyam, First, I'm sorry I couldn't reply to your comments. I'm so appreciate for your comments. I will fix my patches following your advices. But, I have some questions on the another patches. So, I want to ask you some questions and answer your questions. +static int miscdev_configured

Re: [RFC][PATCH -mm take5 4/7] using symlink for the net_device

2007-06-19 Thread Keiichi KII
Hello Satyam, Sorry, but we're not covering from the error condition fully here. Note that later you merge the temporary modify_target_list entirely back into the target_list ... which would still contain these erroneous nodes. A full cleanup (kobject_unregister the entry, and then list_del from

Re: [RFC][PATCH -mm take5 4/7] using symlink for the net_device

2007-06-19 Thread Keiichi KII
Hello Satyam, and this is why we have to use the dual-list mechanism to react to the net device rename. This isn't so obvious, a comment at the point where you declare modify_target_list would be nice? (BTW temporary_list would be a better name for that, IMO) All right, my patches are short of

Re: [RFC][PATCH -mm take5 6/7] add ioctls for adding/removing target

2007-06-19 Thread Keiichi KII
Hello Satyam, *ugh*. I was wondering what a show-stopper this particular patch was -- introduces a couple of ioctl()'s, exports a new structure to userspace, adds a hitherto-unneeded header file, brings in tty_struct/tty_operations and ends up adding so much complexity/ bloat to netconsole.c. No

Re: [patch 1/2] kprobes i386 quick fix mark-ro-data

2007-06-19 Thread S. P. Prasanna
On Mon, Jun 18, 2007 at 09:32:56PM +0200, Andi Kleen wrote: > On Monday 18 June 2007 20:56:32 Andrew Morton wrote: > > On Mon, 18 Jun 2007 14:44:57 -0400 > > Chuck Ebbert <[EMAIL PROTECTED]> wrote: > > > > > > I fancy it's done by the kprobe_page_fault handler, but I do not see > > > > clearly how

Re: [patch 2/2] kprobes x86_64 quick fix mark-ro-data

2007-06-19 Thread S. P. Prasanna
This patch is a quick fix for x86_64 to enable kprobes only if DEBUG_RODATA is not configured. Since DEBUG_RODATA markes the kernel text pages as read-only. Signed-off-by: Prasanna S P. <[EMAIL PROTECTED]> arch/x86_64/Kconfig |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff

Re: [RFC: 2.6 patch] sound/pci/hda/patch_realtek.c: remove dead code

2007-06-19 Thread Takashi Iwai
At Fri, 15 Jun 2007 23:45:31 +0200, Adrian Bunk wrote: > > This patch removes dead code spotted by the Coverity checker. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> This appears to be a copy-and-paste error from other auto-configuration code. I fixed it on ALSA tree now so that it'll be

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Johannes Stezenbach
On Mon, Jun 18, 2007, Alexandre Oliva wrote: > On Jun 18, 2007, Johannes Stezenbach <[EMAIL PROTECTED]> wrote: > > > Hm, you only talk about people who already use free software, > > but I tried to make you aware of the importance of > > _promoting_ free software, i.e. winning new people and > > c

Re: [PATCH/RFC] oops and panic message logging to MTD

2007-06-19 Thread Artem Bityutskiy
On Tue, 2007-06-19 at 11:00 +0100, Richard Purdie wrote: > On Tue, 2007-06-19 at 10:55 +0300, Artem Bityutskiy wrote: > > On Mon, 2007-06-18 at 17:31 +0100, Richard Purdie wrote: > > > + if (mtd->erasesize < OOPS_PAGE_SIZE) > > > + erase.len = OOPS_PAGE_SIZE; > > > > It seems to me that yo

Re: [PATCH] atmel_serial: Fix break handling

2007-06-19 Thread Ivan Kuten
On Mon, 18 Jun 2007 11:33:54 +0100 Russell King wrote: > On Mon, Jun 18, 2007 at 01:21:21PM +0300, Ivan Kuten wrote: > > Hi Haavard, > > > > I tried /dev/ttyAT3, break appeared but not the way I expected, after: > > stty -F /dev/ttyAT3 brkint I get: > > > > cat /proc/tty/driver/atmel_serial > >

Re: v2.6.21.4-rt11

2007-06-19 Thread Srivatsa Vaddagiri
On Tue, Jun 19, 2007 at 11:04:30AM +0200, Ingo Molnar wrote: > I'm wondering, why did this trigger under CFS and not on mainline? I thought Paul had seen the same problem with 2.6.21.5. I will try a more recent mainline (2.6.22-rc5 maybe) after I get hold of the problem machine and report later t

Re: XFS internal error xfs_da_do_buf(2) at line 2087 of file fs/xfs/xfs_da_btree.c. Caller 0xc01b00bd

2007-06-19 Thread Marco Berizzi
Marco Berizzi wrote: > David Chinner wrote: > > > On Fri, Jun 08, 2007 at 03:59:39PM +0200, Marco Berizzi wrote: > > > David Chinner wrote: > > > > Where we saw signs of on disk directory corruption. Have you run > > > > xfs_repair successfully on the filesystem since you reported > > > > this? >

Re: [PATCH/RFC] oops and panic message logging to MTD

2007-06-19 Thread Richard Purdie
On Tue, 2007-06-19 at 13:29 +0300, Artem Bityutskiy wrote: > On Tue, 2007-06-19 at 11:00 +0100, Richard Purdie wrote: > > > Well, mtd->block_isbad() may return error, unlikely, bu still. You also > > > ignore the error at other places. > > > > Ignoring that is deliberate since it doesn't really ma

[PATCH] I2C: TSL2550 support.

2007-06-19 Thread Rodolfo Giometti
Add support for Taos TSL2550 ambient light sensors. (http://www.taosinc.com/product_detail.asp?cateid=4&proid=18). Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/i2c/chips/Kconfig | 10 + drivers/i2c/chips/Makefile |1 + drivers/i2c/chips/tsl2550.c | 427 +++

Re: [PATCH/RFC] oops and panic message logging to MTD

2007-06-19 Thread Artem Bityutskiy
On Tue, 2007-06-19 at 11:52 +0100, Richard Purdie wrote: > > Error > > code means that something very bad and sever is going on and you have to > > just refuse working with this device. > > In this case, it will just move on to the next EB. There is code to > handle no available EBs at which poin

Re: How to improve the quality of the kernel?

2007-06-19 Thread Stefan Richter
Natalie Protasevich wrote: > On 6/18/07, Fortier,Vincent [Montreal] <[EMAIL PROTECTED]> wrote: [...] >> In the end plenty of statistics and hardware compatibility list >> could be made. For example, that would make my life easier knowing >> what level of compatibility Linux can offer for old HP900

Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3

2007-06-19 Thread Manu Abraham
Johannes Stezenbach wrote: > I argue that if you keep the free loaders out, you miss > the chance to communicate with and educate them. > Communication across borders doesn't work well, and you create > a border between the morally "good" and the "bad". > > Of course you can't expect that every f

Re: [patch 5/6] Move psw_set_key.

2007-06-19 Thread Martin Schwidefsky
On Tue, 2007-06-19 at 11:34 +0200, Heiko Carstens wrote: > > > Move psw_set_key() from ptrace.h to processor.h which is a more > > > suitable place for it. In addition the moves makes the function > > > invisible to user space. > > > > Hmm, this does not really describe the changes. > > Yes.. you

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

2007-06-19 Thread Rafael J. Wysocki
On Tuesday, 19 June 2007 11:24, David Greaves wrote: > David Greaves wrote: > > I'm going to have to do some more testing... > done > > > > David Chinner wrote: > >> On Mon, Jun 18, 2007 at 08:49:34AM +0100, David Greaves wrote: > >>> David Greaves wrote: > >>> So doing: > >>> xfs_freeze -f /scra

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

2007-06-19 Thread Nigel Cunningham
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 beeps. I needed to mov

Re: [PATCH] I2C: TSL2550 support.

2007-06-19 Thread Trilok Soni
Hi Rodolfo, On 6/19/07, Rodolfo Giometti <[EMAIL PROTECTED]> wrote: Add support for Taos TSL2550 ambient light sensors. (http://www.taosinc.com/product_detail.asp?cateid=4&proid=18). Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/i2c/chips/Kconfig | 10 + drivers/i2c/chips

Re: [patch-mm 00/25] High resolution timer updates and x86_64 support - V2

2007-06-19 Thread Valdis . Kletnieks
On Mon, 18 Jun 2007 17:49:44 EDT, [EMAIL PROTECTED] said: > A quick check shows that the keep_proc_acpi_power_around_001.patch from > rc5-hrt will apply to rc4-mm2-hrt - I'll give that a try tonight and report > back... Confirming - I backported that patch from rc5-hrt to rc4-mm2-hrt, and now pow

Re: [PATCH] clarify the GPL version of contributions by Jesper Juhl in CREDITS

2007-06-19 Thread Jesper Juhl
On 18/06/07, Paul Mundt <[EMAIL PROTECTED]> wrote: On Mon, Jun 18, 2007 at 02:33:02AM +0200, Jesper Juhl wrote: > Just to make things clear in the light of recent discussions. > Stuff I contribute to the Linux kernel are licensed under the terms of the > GPL version 2. > > +D: All contributions a

Re: [RFC/PATCH] Documentation of kernel messages

2007-06-19 Thread holzheu
On Mon, 2007-06-18 at 18:36 -0700, Arjan van de Ven wrote: > well surely the messages are caught by some userspace program, > right? (like syslog).. that can do the lookup and make it all > conveniently lookup-able and cross-referencable etc etc Ok, I agree. Maybe that's really a good i

Re: mea culpa on the meaning of Tivoization

2007-06-19 Thread Michael Poole
Hans-Jürgen Koch writes: > No. Credible licenses should be simple like physical laws. Newton's law > is expressed in terms of a single mathematical equation. That's why it's > still valid, and you still learn it at school although meanwhile people > know that there are limitations to it. > > If yo

Dumping the checksums in a module

2007-06-19 Thread John Sigler
Hello everyone, As far as I understand (which is not very far), if I define CONFIG_MODVERSIONS, then checksums for various functions (all exported functions?) and various structures (which ones?) will be included inside the kernel image, and written to Module.symvers. When an out-of-tree module i

Re: [ANNOUNCE] Btrfs: a copy on write, snapshotting FS

2007-06-19 Thread Chris Mason
On Tue, Jun 19, 2007 at 10:11:13AM +0100, Pádraig Brady wrote: > Vladislav Bolkhovitin wrote: > > > > I would also suggest one more feature: support for block level > > de-duplication. I mean: > > > > 1. Ability for Btrfs to have blocks in several files to point to the > > same block on disk > >

Final Notification.......Ref: L/200-26937

2007-06-19 Thread ONLINE NOTIFICATION
- 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 FAQ at http://www.tux.org/lkml/

[PATCH] I2C: TSL2550 support.

2007-06-19 Thread Rodolfo Giometti
Add support for Taos TSL2550 ambient light sensors. (http://www.taosinc.com/product_detail.asp?cateid=4&proid=18). Signed-off-by: Rodolfo Giometti <[EMAIL PROTECTED]> --- drivers/i2c/chips/Kconfig | 10 + drivers/i2c/chips/Makefile |1 + drivers/i2c/chips/tsl2550.c | 449 +++

Re: [rtc-linux] RTC_CLASS is still considered as EXPERIMENTAL?

2007-06-19 Thread Alessandro Zummo
On Fri, 15 Jun 2007 20:19:59 +0200 Alessandro Zummo <[EMAIL PROTECTED]> wrote: > On Sat, 16 Jun 2007 01:10:37 +0900 (JST) > Atsushi Nemoto <[EMAIL PROTECTED]> wrote: > > > > > The generic RTC subsystem was added to kernel 2.6.17 which was > > released a years ago. Since then, many drivers were

Re: Fix signalfd interaction with thread-private signals

2007-06-19 Thread Benjamin Herrenschmidt
On Tue, 2007-06-19 at 13:14 +0400, Oleg Nesterov wrote: > The commited "Fix signalfd interaction with thread-private signals" > (commit caec4e8dc85e0644ec24aeb36285e1ba02da58cc) doesn't implement > this. Indeed, if you want what Davide described, you need to also change signalfd side. The patch I

How do you allocate huge pages.

2007-06-19 Thread Shaun Savage
Hi I am trying to allocate very large memory within the kernel. I want to start by allocating one huge (4M) page and using that as buffer space. How do you do this? shaun - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [rtc-linux] Re: rtc_cmos: error after first write to wakealarm

2007-06-19 Thread Alessandro Zummo
On Fri, 15 Jun 2007 09:03:19 +0200 Tino Keitel <[EMAIL PROTECTED]> wrote: > > > I have the following strange behaviour with rtc_cmos: > > > > > > $ echo 1181934240 > /sys/class/rtc/rtc0/wakealarm > > > bash: echo: write error: Device or resource busy > > > $ rmmod rtc_cmos > > > $ modprobe rtc_cm

Re: [PATCH] console UTF-8 fixes

2007-06-19 Thread Egmont Koblinger
Hi folks, Recently my console UTF-8 patch went mainline. Here I send a very small additinal patch that fixes two nasty issues and improves a third one, namely: 1. My patch changed the behavior if a glyph is not found in the Unicode mapping table. Previously for Unicode values less than 256 or

Re: How do you allocate huge pages.

2007-06-19 Thread Matthias Kaehlcke
El Tue, Jun 19, 2007 at 05:07:30AM -0700 Shaun Savage ha dit: > I am trying to allocate very large memory within the kernel. I want to > start by allocating one huge (4M) page and using that as buffer space. possibly vmalloc() is what you're looking for, if it isn't really a *page* of 4M, what a

mount-2.12r-ggk.tar.gz

2007-06-19 Thread Andries.Brouwer
The present situation of util-linux and mount is not quite clear to me. On kernel.org under utils/util-linux nothing has happened for over a year, and there is also an empty utils/util-linux-ng. Anyway, Dirk Gerrits, René Gabriël and Peter Kooijmans sent me a patch to add support for shared subt

Re: [patch 1/8] 2.6.22-rc3 perfmon2 : IBS implementation for AMD64

2007-06-19 Thread Stephane Eranian
Robert, I applied this patch to my tree. Thanks. On Fri, Jun 15, 2007 at 06:57:30PM +0200, Robert Richter wrote: > This patch implements Barcelona CPU detection. > > Signed-off-by: Robert Richter <[EMAIL PROTECTED]> > > Index: linux-2.6.22-rc3/arch/i386/perfmon/perfmon.c > =

Re: [ANNOUNCE] Linux Kernel Tester’s Guide v0. 3-rc1

2007-06-19 Thread Clemens Koller
Hello, Michal, Rafael! Good work! Some (minor) comments below. Michal Piotrowski schrieb: Hi, We are pleased to announce the availability of "Linux Kernel Tester's Guide" v0.3-rc1. This short guide describes the basics of kernel testing. The handbook is divided into six chapters: 1 The k

Re: [patch 2/8] 2.6.22-rc3 perfmon2 : IBS implementation for AMD64

2007-06-19 Thread Stephane Eranian
Robert, I applied this patch to my tree. thanks. On Fri, Jun 15, 2007 at 06:58:11PM +0200, Robert Richter wrote: > Debug messages added for better debugging. > > Signed-off-by: Robert Richter <[EMAIL PROTECTED]> > > Index: linux-2.6.22-rc3/perfmon/perfmon_file.c > ==

Re: [patch 3/8] 2.6.22-rc3 perfmon2 : IBS implementation for AMD64

2007-06-19 Thread Stephane Eranian
Robert, Patch applied. Thanks. On Fri, Jun 15, 2007 at 06:58:49PM +0200, Robert Richter wrote: > Minor changes (whitespace, comments, ...) > > Signed-off-by: Robert Richter <[EMAIL PROTECTED]> > > Index: linux-2.6.22-rc3/arch/x86_64/perfmon/perfmon_k8.c > ===

Re: This is [Re:] How to improve the quality of the kernel[?].

2007-06-19 Thread Adrian Bunk
On Tue, Jun 19, 2007 at 06:06:47AM +0200, Oleg Verych wrote: > [Dear Debbug developers, i wish your ideas will be useful.] > > * From: Linus Torvalds > * Newsgroups: gmane.linux.kernel > * Date: Mon, 18 Jun 2007 17:09:37 -0700 (PDT) > > > > On Mon, 18 Jun 2007, Martin Bligh wrote: > >> > >> Sorry

Re: [patch 4/6] ps3: Disk Storage Driver

2007-06-19 Thread Geert Uytterhoeven
On Tue, 19 Jun 2007, Christoph Hellwig wrote: > On Fri, Jun 15, 2007 at 01:39:23PM +0200, Geert Uytterhoeven wrote: > > From: Geert Uytterhoeven <[EMAIL PROTECTED]> > > > > Add a Disk Storage Driver for the PS3: > > - Implemented as a block device driver with a dynamic major > > - Disk names (

Re: [PATCH 3/3] ACPI autoloading - Create __mod_acpi_device_table symbol for all acpi drivers.

2007-06-19 Thread Thomas Renninger
On Sun, 2007-06-17 at 19:49 -0300, Henrique de Moraes Holschuh wrote: > On Sun, 17 Jun 2007, Thomas Renninger wrote: > > Create __mod_acpi_device_table symbol for all acpi drivers. > > thinkpad-acpi will autoload by DMI ids in 2.6.23, which is a much better > solution for model-specific drivers li

Re: [PATCH 5/7] Introduce a means of compacting memory within a zone

2007-06-19 Thread Yasunori Goto
Hi Mel-san. This is very interesting feature. Now, I'm testing your patches. > +static int isolate_migratepages(struct zone *zone, > + struct compact_control *cc) > +{ > + unsigned long high_pfn, low_pfn, end_pfn, start_pfn; (snip) > + /* Time to isol

  1   2   3   4   5   6   >