, breakage: AF_* constants are part of ABI definition

2007-02-19 Thread H. Peter Anvin
In the current git tree, commit 57a87bb0720a5cf7a9ece49a8c8ed288398fd1bb removes any way to automatically extracting a whole lot of ABI constants from the kernel headers, especially AF_* and the various S_* constants. Furthermore, the patch breaks which uses sa_family_t, which is now defined

Re: pata_amd dropping to PIO on resume

2007-02-19 Thread Alan
> Deleting the ata_pci_clear_simplex() call, then adding > ATA_FLAG_IGN_SIMPLEX to the ata_port_info info[] array, is also worth > trying. I think I know what is going on here. Firstly the simplex bits need re-clearing on a resume. On my todo list now I'm back - To unsubscribe from this list:

RE: [PATCH] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-19 Thread Ananiev, Leonid I
> while triggering EIO in invalidate_inode_pages2_range() ... > With this patch aio-stress sees -EIO. Actually if invalidate_inode_pages2_range() returns EIO it means that internal kernel synchronization conflict was happen. It is reported to user as hardware IO error. Iteration in

[PATCH]: Add __init to probe_bigsmp

2007-02-19 Thread Prarit Bhargava
Add __init to probe_bigsmp. All callers are __init and data being examined is __initdata. Resolves MODPOST warning similar to: WARNING: vmlinux - Section mismatch: reference to .init.data: from .text between 'probe_bigsmp' (at offset 0xc0401e56) and 'init_apic_ldr' Signed-off-by: Prarit

Re: GPL vs non-GPL device drivers

2007-02-19 Thread Trent Waddington
On 2/20/07, David Schwartz <[EMAIL PROTECTED]> wrote: There is no such thing as the "combined work". If I put a DVD of The Phantom Menace in the same box as a DVD of The Big Lebowski, the box is not a "combined work". If you can't even agree on that the legal concept of a combined work exists

Re: Serial related oops

2007-02-19 Thread Russell King
On Mon, Feb 19, 2007 at 12:37:00PM -0800, Michael K. Edwards wrote: > What we've seen on our embedded ARM is that enabling an interrupt that > is shared between multiple UARTs, at a stage when you have not set up > all the data structures touched by the ISR and softirq, can have > horrible

Re: GPL vs non-GPL device drivers

2007-02-19 Thread linux-os \(Dick Johnson\)
On Mon, 19 Feb 2007, Michael K. Edwards wrote: > On 2/19/07, Alan <[EMAIL PROTECTED]> wrote: >>> jurisdiction. Copyright infringement is a statutory tort, and the >>> only limits to contracting away the right to sue for this tort are >>> those provided in the copyright statute itself. A

[PATCH]: Change sysenter_setup to __cpuinit & improve __INIT, __INITDATA

2007-02-19 Thread Prarit Bhargava
Change sysenter_setup to __cpuinit. Change __INIT & __INITDATA to be cpu hotplug aware. Resolve MODPOST warnings similar to: WARNING: vmlinux - Section mismatch: reference to .init.text:sysenter_setup from .text between 'identify_cpu' (at offset 0xc040a380) and 'detect_ht' and WARNING:

[PATCH 1/3] x86_64: additions to the i386 alternative extensions to support x86_64 architecture

2007-02-19 Thread Joerg Roedel
From: Joerg Roedel <[EMAIL PROTECTED]> This patch adds the necessary changes to extend the i386 alternative instruction framework extension on the x86_64 architecture. Signed-off-by: Joerg Roedel <[EMAIL PROTECTED]> -- Joerg Roedel Operating System Research Center AMD Saxony LLC & Co. KG diff

Re: [PATCH] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-19 Thread Benjamin LaHaise
On Mon, Feb 19, 2007 at 12:35:27PM -0800, Zach Brown wrote: > aio: propogate post-EIOCBQUEUED errors to completion event This patch has to be split in 2 to make it easier to review -- the change moving the event insertion code for the completion queue should stand separately, as it is

[PATCH 1/3] i386: extend alternative instruction framwork

2007-02-19 Thread Joerg Roedel
From: Joerg Roedel <[EMAIL PROTECTED]> This patch extends the alternative instruction framework to support an arbitrary number of alternatives on the i386 architecture. Signed-off-by: Joerg Roedel <[EMAIL PROTECTED]> -- Joerg Roedel Operating System Research Center AMD Saxony LLC & Co. KG diff

Re: PCI riser cards and PCI irq routing, etc

2007-02-19 Thread Krzysztof Halasa
Udo van den Heuvel <[EMAIL PROTECTED]> writes: > At the bottom I added a dmesg output of the kernel after boot. > I more or less know that irq 20 for the DVB-S card (saa7146 (1)) is > 'working'. I know that irq 16 for saa7146 (0) (DVB-T) is not working for > i2c although the card does work

Re: Serial related oops

2007-02-19 Thread Michael K. Edwards
What we've seen on our embedded ARM is that enabling an interrupt that is shared between multiple UARTs, at a stage when you have not set up all the data structures touched by the ISR and softirq, can have horrible consequences, including soft lockups and fandangos on core. You will be vulnerable

[PATCH] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-19 Thread Zach Brown
aio: propogate post-EIOCBQUEUED errors to completion event This addresses an oops reported by Leonid Ananiev <[EMAIL PROTECTED]> as archived at http://lkml.org/lkml/2007/2/8/337. O_DIRECT kicks off bios and returns -EIOCBQUEUED to indicate its intention to call aio_complete() once the bios

Re: freezer problems

2007-02-19 Thread Oleg Nesterov
On 02/19, Rafael J. Wysocki wrote: > > On Sunday, 18 February 2007 23:01, Oleg Nesterov wrote: > > > --- linux-2.6.20-mm2.orig/include/asm-i386/thread_info.h 2007-02-18 > > > 19:49:34.0 +0100 > > > +++ linux-2.6.20-mm2/include/asm-i386/thread_info.h 2007-02-18 > > >

[patch 1/2] natsemi: Add support for using MII port with no PHY

2007-02-19 Thread Mark Brown
This patch provides code paths which allow the natsemi driver to use the external MII port on the chip but ignore any PHYs that may be attached to it. The link state will be left as it was when the driver started and can be configured via ethtool. Any PHYs that are present can be accessed via the

[patch 2/2] natsemi: Support Aculab E1/T1 PMXc cPCI carrier cards

2007-02-19 Thread Mark Brown
Aculab E1/T1 PMXc cPCI carrier card cards present a natsemi on the cPCI bus with an oversized EEPROM using a direct MII<->MII connection with no PHY. This patch adds a new device table entry supporting these cards. Signed-Off-By: Mark Brown <[EMAIL PROTECTED]> --- This revision removes extra

[patch 0/2] natsemi: Support Aculab E1/T1 cPCI carrier cards

2007-02-19 Thread Mark Brown
These patches add support for the Aculab E1/T1 cPCI carrier card to the natsemi driver. The first patch provides support for using the MII port with no PHY and the second adds the quirks required to detect and configure the card. This revision should address the issues raised by Jeff over the

Re: GPL vs non-GPL device drivers

2007-02-19 Thread Michael K. Edwards
On 2/19/07, Alan <[EMAIL PROTECTED]> wrote: > jurisdiction. Copyright infringement is a statutory tort, and the > only limits to contracting away the right to sue for this tort are > those provided in the copyright statute itself. A contract not to sue > for tort is called a "license".) I'd

[WATCHDOG] machzwd-warning-fix

2007-02-19 Thread Wim Van Sebroeck
Hi Linus, Please pull from 'master' branch of git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git or if master.kernel.org hasn't synced up yet: master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog.git This will update the following files:

Re: [patch 4/4] ipmi: add new IPMI nmi watchdog handling

2007-02-19 Thread Corey Minyard
On Thu, Feb 15, 2007 at 02:21:24PM -0800, Andrew Morton wrote: > On Thu, 15 Feb 2007 09:49:15 -0600 > Corey Minyard <[EMAIL PROTECTED]> wrote: > > > So I see the following options besides what's already there: > > > > 1) add asm/kdebug.h and DIE_NMI_POST to everything that might have an > >

Re: [PATCH 1/7] Introduce the pagetable_operations and associated helper macros.

2007-02-19 Thread William Lee Irwin III
On Mon, Feb 19, 2007 at 10:31:34AM -0800, Adam Litke wrote: > +struct pagetable_operations_struct { > + int (*fault)(struct mm_struct *mm, > + struct vm_area_struct *vma, > + unsigned long address, int write_access); > + int (*copy_vma)(struct mm_struct *dst, struct

Re: [PATCH 2.6.21-rc1] powerpc: Make of_device_uevent() compatible with ibmebus

2007-02-19 Thread Benjamin Herrenschmidt
> If I make the root device a basic struct device, it can't be part of > ibmebus any > longer. If we could create a busless device, we wouldn't have a problem, > but I > doubt that is possible. > > Do you have any creative ideas? Well, I think PCI does just that for PCI busses ... (a busless

Re: [BUG?] register_blkdev: failed to get major for device mapper

2007-02-19 Thread Andrew Morton
On Mon, 19 Feb 2007 15:39:38 +0100 Rolf Eike Beer <[EMAIL PROTECTED]> wrote: > > It's totally weird. It prints the "skipped" message for every (!) number, > > not just for the blacklisted ones. And I've triple checked that I don't > > have missed the '{'. > > > > Compiler is SuSEs 4.1.0 from

Re: MediaGX/GeodeGX1 requires X86_OOSTORE.

2007-02-19 Thread Lennart Sorensen
On Mon, Feb 19, 2007 at 11:48:27AM -0800, Roland Dreier wrote: > > Does anyone know if there is any way to flush a cache line of the cpu to > > force rereading system memory for a given address or address range? > > There is the "clflush" instruction, but not all x86 CPUs support it. > You need

Re: MediaGX/GeodeGX1 requires X86_OOSTORE.

2007-02-19 Thread Roland Dreier
> Does anyone know if there is any way to flush a cache line of the cpu to > force rereading system memory for a given address or address range? There is the "clflush" instruction, but not all x86 CPUs support it. You need to check the CPUID flag to know for sure (/proc/cpuinfo will show a

Re: libata FUA revisited

2007-02-19 Thread Robert Hancock
Jens Axboe wrote: But we can't really change that, since you need the cache flushed before issuing the FUA write. I've been advocating for an ordered bit for years, so that we could just do: 3. w/FUA+ORDERED normal operation -> barrier issued -> write barrier FUA+ORDERED -> normal operation

Re: [RFC][PATCH][1/4] RSS controller setup

2007-02-19 Thread Matthew Helsley
On Mon, 2007-02-19 at 16:43 +0530, Balbir Singh wrote: > Paul Menage wrote: > > On 2/19/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > Hmm, I don't appear to have documented this yet, but I think a good > > naming scheme for container files is . - i.e. > > these should be memctlr.usage and

Re: [PATCH 0/7] [RFC] hugetlb: pagetable_operations API

2007-02-19 Thread Adam Litke
On Mon, 2007-02-19 at 19:43 +0100, Arjan van de Ven wrote: > On Mon, 2007-02-19 at 10:31 -0800, Adam Litke wrote: > > The page tables for hugetlb mappings are handled differently than page > > tables > > for normal pages. Rather than integrating multiple page size support into > > the > > main

Re: [PATCH 1/7] Introduce the pagetable_operations and associated helper macros.

2007-02-19 Thread Adam Litke
On Mon, 2007-02-19 at 19:41 +0100, Arjan van de Ven wrote: > On Mon, 2007-02-19 at 10:31 -0800, Adam Litke wrote: > > Signed-off-by: Adam Litke <[EMAIL PROTECTED]> > > --- > > > > include/linux/mm.h | 25 + > > 1 files changed, 25 insertions(+), 0 deletions(-) > > > >

Re: GPL vs non-GPL device drivers

2007-02-19 Thread Alan
> jurisdiction. Copyright infringement is a statutory tort, and the > only limits to contracting away the right to sue for this tort are > those provided in the copyright statute itself. A contract not to sue > for tort is called a "license".) I'd insert large quantities of "In the USA" in the

ata command timeout

2007-02-19 Thread auxsvr
Hello, I have been running 2.6.18 for two months and the last couple of days these error messages have appeared in my logs (sata_promise kernel module, sda:SATA sdb:PATA disks): ata1: command timeout Feb 17 22:23:14 linux kernel: ata1: no sense

Re: buffer overflows in the tty flip buffer in 2.6.17

2007-02-19 Thread Alan
> But how it is done in 2.6.17 linux kernel? I did check this "overflow code" > in new tty driver's code. This code looks like just removed. But somehow > overflow in the tty buffer must be kept. The new tty layer manages memory allocation dynamically and handles overflows itself. Just throw

Re: [discuss] [PATCH 1/3] x86_64: additions to the i386 alternative extensions to support x86_64 architecture

2007-02-19 Thread Joerg Roedel
[Patch 2/3] of course. -- Joerg Roedel Operating System Research Center AMD Saxony LLC & Co. KG - 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

[PATCH 3/3] optimize get_cycles_sync for Linux as KVM guest

2007-02-19 Thread Joerg Roedel
From: Joerg Roedel <[EMAIL PROTECTED]> This patch modifies the get_cycles_sync() function on i386 and x86_64 to use the RDTSCP (if it is available) instruction to synchronize with the CPU core and not CPUID. This is especially usefull when running Linux as a KVM guest because CPUID is intercepted

Re: [PATCH] ecryptfs ecryptfs_read_super path_lookup errh fix

2007-02-19 Thread Dmitriy Monakhov
Dmitriy Monakhov <[EMAIL PROTECTED]> writes: > if path_lookup() return non zero code we don't have to worry about 'nd' > parameter, but ecryptfs_read_super does path_release() after path_lookup > has failed, and dentry counter becomes negative :) , this result in folowing > BUG > >

[PATCH 0/3] extend alternative instruction framework to support more than one alternative

2007-02-19 Thread Joerg Roedel
Hi, this small series of patches extend the alternative instructions framework on i386 and x86_64 architectures to support more than one alternative per instruction. The last patch in this series includes a first use of this extension to optimize the get_cycles_sync() function. The extension

Re: [PATCH] input/spi: add ads7843 support to ads7846 touchscreen driver

2007-02-19 Thread David Brownell
On Monday 19 February 2007 4:48 am, Nicolas Ferre wrote: > > >> - /* maybe off internal vREF */ > >> - if (use_internal) { > > > > This part doesn't make sense. Could you say what you're trying > > to do? The ads7846 requres an external vREF. Is the issue that > > maybe the REF_OFF

setsystz utility: set the kernel's system time zone

2007-02-19 Thread David Madore
// Hi. I felt the need to write the following little utility (which // is mostly comments, really), to prevent my digital camera's image // files to have incorrect modification when I mount them under Linux. // Comments are welcome. // Enjoy! /// cut after /// /* setsystz: set the Linux

Re: [PATCH 0/7] [RFC] hugetlb: pagetable_operations API

2007-02-19 Thread Arjan van de Ven
On Mon, 2007-02-19 at 10:31 -0800, Adam Litke wrote: > The page tables for hugetlb mappings are handled differently than page tables > for normal pages. Rather than integrating multiple page size support into the > main VM (which would tremendously complicate the code) some hooks were > created.

Re: [PATCH 1/7] Introduce the pagetable_operations and associated helper macros.

2007-02-19 Thread Arjan van de Ven
On Mon, 2007-02-19 at 10:31 -0800, Adam Litke wrote: > Signed-off-by: Adam Litke <[EMAIL PROTECTED]> > --- > > include/linux/mm.h | 25 + > 1 files changed, 25 insertions(+), 0 deletions(-) > > diff --git a/include/linux/mm.h b/include/linux/mm.h > index

Re: 2.6.20-mm2

2007-02-19 Thread Rafael J. Wysocki
On Monday, 19 February 2007 01:28, Andrew Morton wrote: > On Mon, 19 Feb 2007 00:32:08 +0100 "Rafael J. Wysocki" <[EMAIL PROTECTED]> > wrote: > > > On Sunday, 18 February 2007 06:51, Andrew Morton wrote: > > > > > > Temporarily at > > > > > > http://userweb.kernel.org/~akpm/2.6.20-mm2/ > > >

[PATCH 6/7] free_pgtable_range for hugetlb

2007-02-19 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- fs/hugetlbfs/inode.c |1 + mm/memory.c |6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 1016694..3461f9b 100644 --- a/fs/hugetlbfs/inode.c +++

[PATCH 7/7] hugetlbfs fault handler

2007-02-19 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- fs/hugetlbfs/inode.c |1 + mm/hugetlb.c |4 +++- mm/memory.c |4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 3461f9b..1de73c1 100644 ---

[PATCH 5/7] change_protection for hugetlb

2007-02-19 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- fs/hugetlbfs/inode.c |1 + mm/mprotect.c|5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 146a4b7..1016694 100644 --- a/fs/hugetlbfs/inode.c +++

[PATCH 4/7] unmap_page_range for hugetlb

2007-02-19 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- fs/hugetlbfs/inode.c|3 ++- include/linux/hugetlb.h |4 ++-- mm/hugetlb.c| 12 mm/memory.c | 10 -- 4 files changed, 16 insertions(+), 13 deletions(-) diff --git

[PATCH 3/7] pin_pages for hugetlb

2007-02-19 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- fs/hugetlbfs/inode.c |1 + mm/memory.c |6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index c0a7984..2d1dd84 100644 --- a/fs/hugetlbfs/inode.c +++

[PATCH 2/7] copy_vma for hugetlbfs

2007-02-19 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- fs/hugetlbfs/inode.c |6 ++ mm/memory.c |4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c index 4f4cd13..c0a7984 100644 --- a/fs/hugetlbfs/inode.c +++

[PATCH 0/7] [RFC] hugetlb: pagetable_operations API

2007-02-19 Thread Adam Litke
The page tables for hugetlb mappings are handled differently than page tables for normal pages. Rather than integrating multiple page size support into the main VM (which would tremendously complicate the code) some hooks were created. This allows hugetlb special cases to be handled "out of

[PATCH 1/7] Introduce the pagetable_operations and associated helper macros.

2007-02-19 Thread Adam Litke
Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- include/linux/mm.h | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 2d2c08d..a2fa66d 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -98,6

Re: [PATCH 00/44 take 2] [UBI] Unsorted Block Images

2007-02-19 Thread Artem Bityutskiy
On Mon, 2007-02-19 at 10:50 +, Christoph Hellwig wrote: > I think this is the wrong approach. For one thing the unit terms is > rather foregin in Linux I would rather disagree. Subjective. Unit is a generic word, just like subsystem. Unit-tests for example is a widespread word it refer to

Re: PCI riser cards and PCI irq routing, etc

2007-02-19 Thread Krzysztof Halasa
[EMAIL PROTECTED] (Lennart Sorensen) writes: > The PCI spec doesn't require 4 seperate interrupts. They certainly can > all be the same. I do believe it does require the rotation method on > anything using PCI bridges Correct, PCI-PCI bridges have to rotate their INT lines (used ones only, of

[PATCH] USB Elan FTDI: check for workqueue creation

2007-02-19 Thread Cyrill Gorcunov
This patch prevents from NULL pointer usage if workqueue creation failed. Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> --- drivers/usb/misc/ftdi-elan.c | 24 +++- 1 files changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/usb/misc/ftdi-elan.c

Re: Serial related oops

2007-02-19 Thread Jose Goncalves
Russell King wrote: > On Mon, Feb 19, 2007 at 04:29:39PM +, Jose Goncalves wrote: > >> Russell King wrote: >> >>> On Tue, Feb 20, 2007 at 02:48:14PM +, Frederik Deweerdt wrote: >>> >>> (trimmed tie-fei.zang from the CC, added by mistake) On Mon, Feb 19, 2007 at

RE: GPL vs non-GPL device drivers

2007-02-19 Thread David Schwartz
> On Saturday 17 February 2007 15:19, David Schwartz wrote: > > Static Controls argued that taking the TLP was the only practical way to > > make a cartridge that would work with that printer. > Which shows how that case is different from writing Linux drivers. For > example, looking at the

Re: [PATCH 00/44 take 2] [UBI] Unsorted Block Images

2007-02-19 Thread Artem Bityutskiy
On Mon, 2007-02-19 at 09:33 -0500, Theodore Tso wrote: > It made it much, much, MUCH harder to review. Especially given that > the documentation was separated from the implementation. As I looked > at the implementation, there was no way to look and what it was > supposed to do without flipping

RE: GPL vs non-GPL device drivers

2007-02-19 Thread David Schwartz
> Sigh. VJ is distributing the linux kernel with proprietary > extensions. If you want to argue that the proprietary extensions in > isolation are not derivative works of the kernel, fine, you might have > a case, but the combined work, which VJ is distributing is *clearly* a > derivative work

Re: security_fixup_ops

2007-02-19 Thread Serge E. Hallyn
Quoting Simon Arlott ([EMAIL PROTECTED]): > Shouldn't security_fixup_ops be exported? > > Otherwise I have to include the kernel's security/dummy.c to use it > and there's no other way to fix all the ops for a secondary module security_fixup_ops() is called automatically by register_security(),

Re: Racy NLS behaviour in FAT (and possible other fs)

2007-02-19 Thread OGAWA Hirofumi
Pierre Ossman <[EMAIL PROTECTED]> writes: > OGAWA Hirofumi wrote: >>> I'm experiencing a rather odd behaviour with the character set >>> conversion. If I mount a vfat fs with utf8 and then create a file >>> with invalid utf-8 sequences, the file will briefly exist with these >>> invalid

Re: PCI riser cards and PCI irq routing, etc

2007-02-19 Thread Lennart Sorensen
On Mon, Feb 19, 2007 at 04:43:55PM +0100, Udo van den Heuvel wrote: > Lennart Sorensen wrote: > > On Mon, Feb 19, 2007 at 05:04:48AM +0100, Udo van den Heuvel wrote: > >> lspci and interrupts at the bottom. yes, we have apic. > > > > Well you could always try to just change the setting > > You

Re: dirty balancing deadlock

2007-02-19 Thread Miklos Szeredi
How about this? Solves the FUSE deadlock, but not the throttle_vm_writeout() one. I'll try to tackle that one as well. If the per-bdi dirty counter goes below 16, balance_dirty_pages() returns. Does the constant need to tunable? If it's too large, then the global threshold is more easily

Re: [PATCH] Block layer: separate out queue-oriented ioctls

2007-02-19 Thread Alan Stern
On Mon, 19 Feb 2007, Joerg Schilling wrote: > Alan Stern <[EMAIL PROTECTED]> wrote: > > > Well, if Doug wants to reduce the value returned by SG_GET_RESERVED_SIZE, > > it's okay with me. An advantage of doing this is that older versions of > > cdrecord would then work correctly. > > > >

Re: Racy NLS behaviour in FAT (and possible other fs)

2007-02-19 Thread Pierre Ossman
OGAWA Hirofumi wrote: >> I'm experiencing a rather odd behaviour with the character set >> conversion. If I mount a vfat fs with utf8 and then create a file >> with invalid utf-8 sequences, the file will briefly exist with these >> invalid sequences, then quickly convert to a stripped version. >>

Bugreport: SATA Problem: port is slow to respond

2007-02-19 Thread Sigmund Scheinbar
Hello there! Here my first bugreport on the linux kernel: [1.] One line summary of the problem: SATA Problem: port is slow to respond [2.] Full description of the problem/report: The following messages appear while booting/in dmesg [1]: [...] ata2: port is slow to respond, please be patient

[PATCH -mm] file caps: allow file caps when capabilities are modules

2007-02-19 Thread Serge E. Hallyn
From: Serge E. Hallyn <[EMAIL PROTECTED]> Subject: [PATCH -mm] file caps: allow file caps when capabilities are modules The security/Kconfig was set up so that file capabilities were not an option when capabilities were selected as a module. Fix. Signed-off-by: Serge E. Hallyn <[EMAIL

[RFC] [PATCH -mm] file caps: make on-disk capabilities future-proof

2007-02-19 Thread Serge E. Hallyn
Stephen Smalley has pointed out that the current file capabilities will eventually pose a problem. As the capability set changes and distributions start tagging binaries with capabilities, we would like for running an older kernel to not necessarily make those binaries unusable. The following

Re: Racy NLS behaviour in FAT (and possible other fs)

2007-02-19 Thread OGAWA Hirofumi
Pierre Ossman <[EMAIL PROTECTED]> writes: > Hi, Hi, > I'm experiencing a rather odd behaviour with the character set > conversion. If I mount a vfat fs with utf8 and then create a file > with invalid utf-8 sequences, the file will briefly exist with these > invalid sequences, then quickly

sunrpc oops in cache_clean(), kernel 2.6.19.3

2007-02-19 Thread Chuck Ebbert
This is happening at line 443 in cache_clean() -- "ch" (in ebx) points into userspace data addresses: 420 /* find a cleanable entry in the bucket and clean it, or set to next bucket */ 421 422 if (current_detail && current_index < current_detail->hash_size) { 423 struct cache_head *ch,

Re: Serial related oops

2007-02-19 Thread Russell King
On Mon, Feb 19, 2007 at 04:29:39PM +, Jose Goncalves wrote: > Russell King wrote: > > On Tue, Feb 20, 2007 at 02:48:14PM +, Frederik Deweerdt wrote: > > > >> (trimmed tie-fei.zang from the CC, added by mistake) > >> On Mon, Feb 19, 2007 at 02:35:20PM +, Russell King wrote: > >>

Re: [patch/rfc 2.6.20-git] parport reports physical devices

2007-02-19 Thread David Brownell
On Monday 19 February 2007 6:18 am, Jean Delvare wrote: > Hi David, > > On Sun, 18 Feb 2007 21:08:07 -0800, David Brownell wrote: > > Currently a parport_driver can't get a handle on the device node for the > > underlying parport (PNPACPI, PCI, etc). That prevents correct placement > > of sysfs

Re: [PATCH] i386 make NMI use PERFCTR1 for architectural perfmon

2007-02-19 Thread Andi Kleen
On Monday 19 February 2007 17:36, Stephane Eranian wrote: > Andi, > > On Sun, Feb 18, 2007 at 05:56:05PM +0100, Andi Kleen wrote: > > On Saturday 17 February 2007 17:06, Stephane Eranian wrote: > > > Hello, > > > > > > This patch against 2.6.20 > > > > Please always submit against mainline: >

Re: [PATCH] i386 make NMI use PERFCTR1 for architectural perfmon

2007-02-19 Thread Stephane Eranian
Andi, On Sun, Feb 18, 2007 at 05:56:05PM +0100, Andi Kleen wrote: > On Saturday 17 February 2007 17:06, Stephane Eranian wrote: > > Hello, > > > > This patch against 2.6.20 > > Please always submit against mainline: > Isn't 2.6.20 the latest mainline? > patching file arch/i386/kernel/nmi.c >

Re: [PATCH 2.6.21-rc1] powerpc: Make of_device_uevent() compatible with ibmebus

2007-02-19 Thread Joachim Fenkes
Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote on 17.02.2007 19:37:25: > > > Doh ! You are creating an of_device with no attached device-node ? That > > > is totally evil ! Why do you need that ? > > > > The driver creates a fake "ibmebus" device so all ibmebus based devices > > have > > a

Re: Serial related oops

2007-02-19 Thread Jose Goncalves
Russell King wrote: > On Tue, Feb 20, 2007 at 02:48:14PM +, Frederik Deweerdt wrote: > >> (trimmed tie-fei.zang from the CC, added by mistake) >> On Mon, Feb 19, 2007 at 02:35:20PM +, Russell King wrote: >> Neither did I, but introducing printk's through the function, we

Re: linux-2.6.19.3 build faild with "Inconsistent kallsyms data"

2007-02-19 Thread Toralf Förster
Am Montag, 19. Februar 2007 15:25 schrieb Paulo Marques: > Toralf Förster wrote: > > Hello, > > > > the build with the attached .config failed, make ends with: > > ... > > scripts/kconfig/conf -s arch/i386/Kconfig > > CHK include/linux/version.h > > CHK include/linux/utsrelease.h > >

Re: [ckrm-tech] [RFC][PATCH][2/4] Add RSS accounting and control

2007-02-19 Thread Balbir Singh
Vaidyanathan Srinivasan wrote: Balbir Singh wrote: Paul Menage wrote: On 2/19/07, Balbir Singh <[EMAIL PROTECTED]> wrote: More worrisome is the potential for use-after-free. What prevents the pointer at mm->container from referring to freed memory after we're dropped the lock? The

Re: 2.6.20-mm1

2007-02-19 Thread Steve Fox
On Fri, 2007-02-16 at 08:55 -0800, Randy Dunlap wrote: > On Fri, 16 Feb 2007 10:37:12 -0600 Steve Fox wrote: > > > bl6-13, an x86_64 box listed on test.kernel.org, tripped on this during > > an LTP run, even with > > unify-queue_delayed_work-and-queue_delayed_work_on-fix.patch applied. > > > >

Re: [PATCH] Block layer: separate out queue-oriented ioctls

2007-02-19 Thread Joerg Schilling
Alan Stern <[EMAIL PROTECTED]> wrote: > Well, if Doug wants to reduce the value returned by SG_GET_RESERVED_SIZE, > it's okay with me. An advantage of doing this is that older versions of > cdrecord would then work correctly. > > However you don't seem to realize that people can use programs

Re: [ckrm-tech] [RFC][PATCH][2/4] Add RSS accounting and control

2007-02-19 Thread Vaidyanathan Srinivasan
Balbir Singh wrote: > Paul Menage wrote: >> On 2/19/07, Balbir Singh <[EMAIL PROTECTED]> wrote: More worrisome is the potential for use-after-free. What prevents the pointer at mm->container from referring to freed memory after we're dropped the lock? >>> The container

Re: [PATCH] Block layer: separate out queue-oriented ioctls

2007-02-19 Thread Alan Stern
On Sun, 18 Feb 2007, Joerg Schilling wrote: > Alan Stern <[EMAIL PROTECTED]> wrote: > > > > Alternatively the SG_GET_RESERVED_SIZE ioctl could be > > > modified to yield no more than max_sectors*512 . > > > > There should be one single ioctl which can be applied uniformly to all > > CD-type

Re: e2b2rom_init_one(): Unable to register resource

2007-02-19 Thread Cyrill Gorcunov
Hi, Dan did you try setup forsed 8MB value on window->phys? Cyrill - 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

[PATCH] ecryptfs ecryptfs_read_super path_lookup errh fix

2007-02-19 Thread Dmitriy Monakhov
if path_lookup() return non zero code we don't have to worry about 'nd' parameter, but ecryptfs_read_super does path_release() after path_lookup has failed, and dentry counter becomes negative :) , this result in folowing BUG ecryptfs_read_super: path_lookup() failed BUG: Dentry

Racy NLS behaviour in FAT (and possible other fs)

2007-02-19 Thread Pierre Ossman
Hi, I'm experiencing a rather odd behaviour with the character set conversion. If I mount a vfat fs with utf8 and then create a file with invalid utf-8 sequences, the file will briefly exist with these invalid sequences, then quickly convert to a stripped version. I haven't found an easy way to

Re: PCI riser cards and PCI irq routing, etc

2007-02-19 Thread Udo van den Heuvel
Lennart Sorensen wrote: > On Mon, Feb 19, 2007 at 05:04:48AM +0100, Udo van den Heuvel wrote: >> lspci and interrupts at the bottom. yes, we have apic. > > Well you could always try to just change the setting You mean the Device Number of the riser card? Or? > to see if you find > one where the

TCP timeout problem

2007-02-19 Thread Daniel Stempel
Greetings, I need some advice concerning tcp-timeout behaviour. I've got two devices communicating with eachother via TCP. Pulling the network cable from one of these devices interrpts the connection and it should timeout (timeout is set to e.g. 30 seconds). Thats where the problem lies. The

Re: [git patches] more IDE updates

2007-02-19 Thread Sergei Shtylyov
Hello. Sergei Shtylyov wrote: Contains: IRQ-ack fix for ICH chipsets (Albert Lee), ide-floppy unformatted media fix (Alan Cox), more fixes for IDE PCI drivers (Sergei Shtylyov), new driver for Toshiba Cell Reference Board (Kou Ishizaki at toshiba.co.jp>) and a bunch of rather obvious

Re: [git patches] more IDE updates

2007-02-19 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: Contains: IRQ-ack fix for ICH chipsets (Albert Lee), ide-floppy unformatted media fix (Alan Cox), more fixes for IDE PCI drivers (Sergei Shtylyov), new driver for Toshiba Cell Reference Board (Kou Ishizaki ) and a bunch of rather obvious

Re: PCI riser cards and PCI irq routing, etc

2007-02-19 Thread Lennart Sorensen
On Mon, Feb 19, 2007 at 05:04:48AM +0100, Udo van den Heuvel wrote: > lspci and interrupts at the bottom. yes, we have apic. Well you could always try to just change the setting to see if you find one where the interrupts are happy. If you change the setting by one at a time, you should only

Re: [PATCH 1/3] net/bridge/br_if.c: don't use _WORK_NAR

2007-02-19 Thread David Howells
Oleg Nesterov <[EMAIL PROTECTED]> wrote: > Yes, destroy_nbp() does dev_put(dev). del_nbp() sets dev->br_port = NULL, > port_carrier_check() goes to "done" in that case. So everething looks safe > to me (but again, I do not even know what the "bridge" is :), so we should > only take care about

Re: PCI riser cards and PCI irq routing, etc

2007-02-19 Thread Udo van den Heuvel
Lennart Sorensen wrote: >> So IRQ 16 and 20. But when using the stock 2.6.20 kernel there is no >> communication with the DVB-T card (the frontend), so there is no >> /dev/dvb/* entry. This points to an IRQ problem. > > Any documentation on that riser card? > > I guess it is possible the card

Re: Serial related oops

2007-02-19 Thread Russell King
On Tue, Feb 20, 2007 at 02:48:14PM +, Frederik Deweerdt wrote: > (trimmed tie-fei.zang from the CC, added by mistake) > On Mon, Feb 19, 2007 at 02:35:20PM +, Russell King wrote: > > > Neither did I, but introducing printk's through the function, we narrowed > > > the problem to this part

Re: PCI riser cards and PCI irq routing, etc

2007-02-19 Thread Lennart Sorensen
On Sun, Feb 18, 2007 at 09:42:26PM +0100, Krzysztof Halasa wrote: > [EMAIL PROTECTED] (Lennart Sorensen) writes: > > > My understanding (which is better of verified against the specs) is: > > > > PCI interrupts (PCI INTA to INTD) are rotated for every slot by one. So > > slot 0, 4, 8, etc see

Re: [PATCH 1/3] net/bridge/br_if.c: don't use _WORK_NAR

2007-02-19 Thread Oleg Nesterov
On 02/19, Jarek Poplawski wrote: > > On Mon, Feb 19, 2007 at 03:03:53PM +0300, Oleg Nesterov wrote: > > On 02/19, Jarek Poplawski wrote: > ... > > kfree() doesn't check WORK_STRUCT_PENDING, it makes no > > difference if it is set or not when work->func() runs. > > It looks like it's to be checked

kvm development moving to git

2007-02-19 Thread Avi Kivity
kvm kernel code is now developed using git. This was done for two reasons: - with the paravirtualization work, we have code in the kernel beyond drivers/kvm/. Subversion is not quite up to hosting an entire kernel tree efficiently. - people have expressed interest in maintaining long-term

Re: [PATCH 16/44 take 2] [UBI] scanning unit implementation

2007-02-19 Thread Artem Bityutskiy
On Mon, 2007-02-19 at 11:05 +, Christoph Hellwig wrote: > > + cond_resched(); > > + list_for_each_entry(seb, >erase, u.list) > > + if (seb->ec == NAND_SCAN_UNKNOWN_EC) > > + seb->ec = si->mean_ec; > > You really shouldn't need random cond_resched all over the

Re: MediaGX/GeodeGX1 requires X86_OOSTORE.

2007-02-19 Thread Lennart Sorensen
On Sat, Feb 17, 2007 at 11:11:13PM +0900, takada wrote: > is it mean what doesn't help with doesn't call set_cx86_reoder()? > this function disable to reorder at 0x4000: to 0x:. > does pcnet32 access at out of above range? > > --- arch/i386/Kconfig.cpu~2007-02-05

Re: [PATCH 1/3] net/bridge/br_if.c: don't use _WORK_NAR

2007-02-19 Thread Oleg Nesterov
On 02/19, David Howells wrote: > > Hmmm... You've got a work_struct (well, a delayed_work actually) - can you > just punt the destruction of the object over to keventd to perform, I wonder? Yes, this is close (I think) to what I suggested, see below, > The big problem with that that I see is

Re: linux-2.6.19.3 build faild with "Inconsistent kallsyms data"

2007-02-19 Thread Paulo Marques
Toralf Förster wrote: Hello, the build with the attached .config failed, make ends with: ... scripts/kconfig/conf -s arch/i386/Kconfig CHK include/linux/version.h CHK include/linux/utsrelease.h CHK include/linux/compile.h AS .tmp_kallsyms2.o LD vmlinux SYSMAP

Re: Serial related oops

2007-02-19 Thread Frederik Deweerdt
(trimmed tie-fei.zang from the CC, added by mistake) On Mon, Feb 19, 2007 at 02:35:20PM +, Russell King wrote: > > Neither did I, but introducing printk's through the function, we narrowed > > the problem to this part of the code. And removing it makes the problem > > go away. We inserted 37

Re: [PATCH] platform: reorder platform_device_del

2007-02-19 Thread Dmitry Torokhov
Hi Jean, On 2/19/07, Jean Delvare <[EMAIL PROTECTED]> wrote: Hi Dmitry, On Mon, 19 Feb 2007 01:05:30 -0500, Dmitry Torokhov wrote: > On Sunday 18 February 2007 15:30, Jean Delvare wrote: > > In platform_device_del(), we currently delete the device resources > > first, then we delete the device

<    1   2   3   4   5   6   7   8   9   >