[PATCH] x86: adjust inclusion of asm/fixmap.h

2007-02-13 Thread Jan Beulich
Move inclusion of asm/fixmap.h to where it is really used rather than where it may have been used long ago (requires a few other adjustments to includes due to previous implicit dependencies). Signed-off-by: Jan Beulich <[EMAIL PROTECTED]> --- linux-2.6.20/arch/x86_64/kernel/genapic.c

[PATCH] x86: consolidate smp_send_stop()

2007-02-13 Thread Jan Beulich
Synchronize i386's smp_send_stop() with x86-64's in only try-locking the call lock to prevent deadlocks when called from panic(). In both version, disable interrupts before clearing the CPU off the online map to eliminate races with IRQ handlers inspecting this map. Also in both versions,

[ALSA PATCH] alsa-git merge request

2007-02-13 Thread Jaroslav Kysela
Linus, please do an update from: http://www.kernel.org/pub/scm/linux/kernel/git/perex/alsa.git (linus branch) The GNU patch is available at: ftp://ftp.alsa-project.org/pub/kernel-patches/alsa-git-2007-02-14.patch.gz Additional notes: Mostly fixes and cleanups. The following files

[PATCH] x86: mtrr range check correction

2007-02-13 Thread Jan Beulich
Whether a region is below 1Mb is determined by its start rather than its end. This hunk got erroneously dropped from a previous patch. Signed-off-by: Jan Beulich <[EMAIL PROTECTED]> --- linux-2.6.20/arch/i386/kernel/cpu/mtrr/generic.c2007-02-04 19:44:54.0 +0100 +++

[PATCH] small irq management simplification

2007-02-13 Thread Jan Beulich
Use mask_ack_irq() where possible. Signed-off-by: Jan Beulich <[EMAIL PROTECTED]> --- linux-2.6.20/kernel/irq/chip.c 2007-02-04 19:44:54.0 +0100 +++ 2.6.20-irq-mask-ack/kernel/irq/chip.c 2007-02-09 10:17:26.0 +0100 @@ -534,10 +534,8 @@ __set_irq_handler(unsigned int

[PATCH] i386: adjustments to page table dump during oops (v3)

2007-02-13 Thread Jan Beulich
- make the page table contents printing PAE capable - make sure the address stored in current->thread.cr2 is unmodified from what was read from CR2 - don't call oops_may_print() multiple times, when one time suffices - print pte even in highpte case, as long as the pte page isn't in actually

Re: [patch] build error: allnoconfig fails on mincore/swapper_space

2007-02-13 Thread Hugh Dickins
On Wed, 14 Feb 2007, Nick Piggin wrote: > > Can't you have migration without swap? Yes: but then the only swap entry it can find (short of page table corruption, which isn't really the focus of mincore) is a migration entry, isn't it? Hugh - To unsubscribe from this list: send the line

Re: [PROBLEM] Can't start MD devices by using /dev/disk/by-id

2007-02-13 Thread Patrick Ale
> Just out of curiosity, why did you do this in such a manual way instead of just using the UUID? I would think every time you replace a failed drive you would have to go edit the files all over again. Oh, there is a very simple reason for that. These md arrays exist for a year of three

Re: CPU load

2007-02-13 Thread malc
On Wed, 14 Feb 2007, Con Kolivas wrote: On Wednesday 14 February 2007 09:01, malc wrote: On Mon, 12 Feb 2007, Pavel Machek wrote: Hi! [..snip..] I have (had?) code that 'exploits' this. I believe I could eat 90% of cpu without being noticed. Slightly changed version of hog(around 3

Re: [PATCH 2.6.19.2 1/1] kexec: update IO-APIC dest field to 8-bit for APIC

2007-02-13 Thread Horms
On Fri, Jan 19, 2007 at 12:12:28PM -0500, Benjamin Romer wrote: > On the Unisys ES7000/ONE system, we encountered a problem where performing > a kexec reboot or dump on any cell other than cell 0 causes the system > timer to stop working, resulting in a hang during timer calibration in the > new

[PATCH] VFS: initlalise found in fs/block_dev.c:bd_claim_by_kobject()

2007-02-13 Thread Simon Horman
The patch below fixes the following warning, which by my reckoning is valid, though perhaps not something that happens in practice. fs/block_dev.c: In function `bd_claim_by_disk': fs/block_dev.c:953: warning: 'found' might be used uninitialized in this function Patch is against the current Linus

Re: [patch 4/9] Remove the TSC synchronization on SMP machines

2007-02-13 Thread Vojtech Pavlik
On Tue, Feb 13, 2007 at 11:38:33PM +0100, Andrea Arcangeli wrote: > Hi, > > On Tue, Feb 13, 2007 at 11:18:48PM +0100, Vojtech Pavlik wrote: > > It's not inherent to ntpd's design, but the current (which may have been > > fixed since I looked last) implementation of the NTP PLL in the kernel. > >

[Patch] debugfs: Remove misleading comments.

2007-02-13 Thread Cornelia Huck
[This goes on top of Peter's symlink patch.] From: Cornelia Huck <[EMAIL PROTECTED]> Just mention which error will be returned if debugfs is disabled. Callers should be able to figure out themselves what they need to check. Signed-off-by: Cornelia Huck <[EMAIL PROTECTED]> ---

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

2007-02-13 Thread Rusty Russell
On Mon, 2007-02-12 at 15:14 +0100, Andi Kleen wrote: > 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? > >

Re: [PATCH] 8250: make probing for TXEN bug a config option

2007-02-13 Thread Andrew Morton
On Tue, 26 Dec 2006 19:43:17 +0300 Vitaly Wool <[EMAIL PROTECTED]> wrote: ^^^ Sorry. > Hello Andrew, > > probing for UART_BUG_TXEN in 8250 driver leads to weird effects on some ARM > boards (pnx4008 for instance). That is, the driver detects UART_BUG_TXEN > (though it

Re: [PATCH debugfs: implement symbolic links

2007-02-13 Thread Cornelia Huck
On Tue, 13 Feb 2007 17:31:42 -0800, Greg KH <[EMAIL PROTECTED]> wrote: > > That makes it easy to get return code checking wrong (especially > > considering the comment above), and a number of callers do get it wrong. > > They do? For example, fs/ocfs2/super.c only checks for NULL (while neither

Re: kbuild feature/question: default ARCH

2007-02-13 Thread Randy Dunlap
On Tue, 13 Feb 2007 22:06:19 -0800 Randy Dunlap wrote: > --- > > If ARCH is unspecified (command line or environment) and if > include/asm is already a symlink to include/asm-$ARCH, > use that ARCH as the default instead of the host ARCH. > Undo the effect of this by using 'make mrproper' or

kbuild feature/question: default ARCH

2007-02-13 Thread Randy Dunlap
Hi, I'd like for kbuild to default ARCH to the already-symlinked arch in include/asm-$(ARCH) if ARCH is not specified on the command line or in the environment. I have a non-working patch, complete with a circular dependency which is dropped: make: Circular ' <- ' dependency dropped. Any

undefined symbol 'PS3_PS3AV'

2007-02-13 Thread Thomas Meyer
with 93bbad8fe13a25dcf7f3bc628a71d1a7642ae61b: drivers/video/Kconfig:1604:warning: 'select' used by config symbol 'FB_PS3' refer to undefined symbol 'PS3_PS3AV' - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: [patch 10/21] Xen-paravirt: Name: dont export paravirt_ops structure, do individual functions

2007-02-13 Thread Rusty Russell
On Tue, 2007-02-13 at 17:06 -0800, Zachary Amsden wrote: > Jeremy Fitzhardinge wrote: > > Wrap the paravirt_ops members we want to export in wrapper functions. > > Since we binary-patch the critical ones, this doesn't make a speed > > impact. > > This turned out really hideous looking to me.

Re: [PATCH] asus_acpi: Add support for Asus Z81SP

2007-02-13 Thread mitxael
And how do I can apply this patch?? I tried but i couldn't, this works only for kernel 2.6.19 or 2.6.20 too?? thank you - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [Xen-devel] Re: [patch 13/21] Xen-paravirt: Add nosegneg capability to the vsyscall page notes

2007-02-13 Thread Rusty Russell
On Tue, 2007-02-13 at 14:45 -0800, Zachary Amsden wrote: > Jeremy Fitzhardinge wrote: > > Add the "nosegneg" fake capabilty to the vsyscall page notes. This is > > used by the runtime linker to select a glibc version which then > > disables negative-offset accesses to the thread-local segment via

Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support

2007-02-13 Thread Davide Libenzi
On Tue, 13 Feb 2007, Davide Libenzi wrote: [...] > So the sys_async_exec task is going to block. Now, am I being really > tired, or the cachemiss fast return is simply not there? The former 8) pick_new_async_head() new_task->ah = ah; cachemiss_loop() for (;;) {

Re: [PATCH 5/8] lguest: trivial guest network driver

2007-02-13 Thread Rusty Russell
On Wed, 2007-02-14 at 01:06 +1100, Herbert Xu wrote: > On Tue, Feb 13, 2007 at 01:15:18PM +1100, Rusty Russell wrote: > > > > Good spotting! This function needs to be passed skb_headlen(skb), > > rather than skb->len. Patch is below (I renamed the parameter as well, > > for clarity). > > How

Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support

2007-02-13 Thread Willy Tarreau
Hi Ingo ! On Tue, Feb 13, 2007 at 03:20:10PM +0100, Ingo Molnar wrote: > I'm pleased to announce the first release of the "Syslet" kernel feature > and kernel subsystem, which provides generic asynchrous system call > support: > >http://redhat.com/~mingo/syslet-patches/ > > Syslets are

[patch -mm] smaps: flush tlb only once for each vma

2007-02-13 Thread David Rientjes
Flush the entire user address space from the TLB for each VMA in the task_struct list when clearing reference bits with /proc/pid/clear_refs. It's more efficient than flushing each page individually depending on pte_young(). Cc: Paul Mundt <[EMAIL PROTECTED]> Cc: Christoph Lameter <[EMAIL

Re: [patch] mm: NUMA replicated pagecache

2007-02-13 Thread Nick Piggin
On Tue, Feb 13, 2007 at 07:09:24AM +0100, Nick Piggin wrote: > > Issues: > - Not commented. I want to change the interfaces around anyway. > - Breaks filesystems that use filemap_nopage, but don't call filemap_mkwrite > (eg. XFS). Fix is trivial for most cases. > - Haven't tested NUMA yet (only

Re: [PATCH 1/3] Introducing cpuidle: core cpuidle infrastructure

2007-02-13 Thread Adam Belay
On Tue, 2007-02-13 at 05:31 -0800, Venkatesh Pallipadi wrote: > On Mon, Feb 12, 2007 at 08:22:01PM -0500, Dave Jones wrote: > > On Mon, Feb 12, 2007 at 10:39:25AM -0800, Venkatesh Pallipadi wrote: > > > > > > Introducing 'cpuidle', a new CPU power management infrastructure to > > manage > > >

Re: Help! How do I debug oopsing kernel workqueue threads?

2007-02-13 Thread Nick Piggin
Chuck Ebbert wrote: How the hell do I tell what kernel subsystem queued a bogus work item? Can you add a new field to struct list_head and add the caller's address in there? BUG: unable to handle kernel paging request at virtual address 2074 printing eip: c04f3b55 *pde = 71bb1067 Oops:

Re: [patch 00/11] ANNOUNCE: "Syslets", generic asynchronous system call support

2007-02-13 Thread Davide Libenzi
On Tue, 13 Feb 2007, Ingo Molnar wrote: > I'm pleased to announce the first release of the "Syslet" kernel feature > and kernel subsystem, which provides generic asynchrous system call > support: > [...] Ok, I had little to time review the code, but it has been a long working day, so bear

[ANNOUNCE] GIT 1.5.0

2007-02-13 Thread Junio C Hamano
The latest feature release GIT 1.5.0 is available at the usual places: http://www.kernel.org/pub/software/scm/git/ git-1.5.0.tar.{gz,bz2}(tarball) git-htmldocs-1.5.0.tar.{gz,bz2} (preformatted docs) git-manpages-1.5.0.tar.{gz,bz2}

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Andrew Morton
> On Wed, 14 Feb 2007 14:05:44 +1100 Nick Piggin <[EMAIL PROTECTED]> wrote: > > libfs.c is wrong. Nick has fixes, but they got tangled up in other stuff. > > Yeah. 1/9 in that series should be applied on its own and sent upstream. > > Need me to resend? Yes please. - To unsubscribe from this

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Nick Piggin
Andrew Morton wrote: On Tue, 13 Feb 2007 20:07:44 -0600 "Eric Van Hensbergen" <[EMAIL PROTECTED]> wrote: On 2/13/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Tue, 13 Feb 2007 17:55:31 -0600 Eric Van Hensbergen <[EMAIL PROTECTED]> wrote: +int v9fs_prepare_write(struct file *file, struct

suggestion for lock debugging.

2007-02-13 Thread Ben Greear
While playing around with lockdep (nice tool!) I thought it might be nice to store the file-name and line where the lock was acquired. For the generic case, this could be done with the __FILE__ and __LINE__ compiler macros, but for highly interesting locks (ie, rtnl in my case), you could pass

Re: [patch 05/21] Xen-paravirt: paravirt_ops: allocate a fixmap slot

2007-02-13 Thread Dan Hecht
On 02/13/2007 05:36 PM, Jeremy Fitzhardinge wrote: Dan Hecht wrote: Why doesn't Xen allocate the shared_info page from the pseudo-physical space? Doesn't it already have to steal pages from the pseudo-physical space for e.g. initial page tables, console, etc? Why not do the same for

Re: [patch] net, 8139too.c: fix netpoll deadlock

2007-02-13 Thread Atsushi Nemoto
Let me resume two months old topic... On Wed, 13 Dec 2006 02:12:31 +0100, Ingo Molnar <[EMAIL PROTECTED]> wrote: > > I have lived with the "NAPI ->poll() handler runs in BH irq enabled > > context" rule for years. Is it definitely false/dead ? > > > > If so at least 8139cp needs the same fix. >

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Andrew Morton
> On Tue, 13 Feb 2007 20:07:44 -0600 "Eric Van Hensbergen" <[EMAIL PROTECTED]> > wrote: > On 2/13/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On Tue, 13 Feb 2007 17:55:31 -0600 Eric Van Hensbergen <[EMAIL > > > PROTECTED]> wrote: > > > +int v9fs_prepare_write(struct file *file, struct

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Eric Van Hensbergen
On 2/13/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Tue, 13 Feb 2007 17:55:31 -0600 Eric Van Hensbergen <[EMAIL PROTECTED]> wrote: > +int v9fs_prepare_write(struct file *file, struct page *page, > +unsigned from, unsigned to) > +{ > + if (!PageUptodate(page)) { > +

2.6.20 mmc: problem with highspeed SD card

2007-02-13 Thread Eugene Ilkov
I have I/O errors with Transcend SD highspeed card 2GB/150x when it's mounted in r/w mode (cardreader on sharp sl-c1000) It works well if I reverse mmcv4 patch commited to 2.6.19-git2 (http://lkml.org/lkml/2006/10/4/27) I'm not experienced in mmc, but I figured out that problem is somewhere in

Re: [patch 10/21] Xen-paravirt: Name: dont export paravirt_ops structure, do individual functions

2007-02-13 Thread Jeremy Fitzhardinge
Zachary Amsden wrote: > No, it needs to be part of the general patch list first, which is > still hand listed rather than just any op being patchable. Then it > can be up to the backend. Ah, right, yes. We need to add all (most? some?) of the pte operations to that list too. J - To

Re: [patch 10/21] Xen-paravirt: Name: dont export paravirt_ops structure, do individual functions

2007-02-13 Thread Zachary Amsden
Jeremy Fitzhardinge wrote: Zachary Amsden wrote: Ok. As long as we plan on patching CR2 and CR0 / clts accessors for FPU save during context switch and page fault paths in the future. That's up to each backend, right? Or do these need to be patched for a correctness reason? No,

Serial driver doesn't handle FIFO error ?

2007-02-13 Thread Alex Shinkin
Hi all . I am working on serial communication protocol for an x86 industrial platform , namely Advantech PCM 5825 CPU board + PCM 3618 RS232/485 communication board. Tried 2.4.33 and 2.6.18...20 kernels . After investigating some incoming data corruption I noticed that sometimes the status

Re: [patch 10/21] Xen-paravirt: Name: dont export paravirt_ops structure, do individual functions

2007-02-13 Thread Jeremy Fitzhardinge
Zachary Amsden wrote: > Ok. As long as we plan on patching CR2 and CR0 / clts accessors for > FPU save during context switch and page fault paths in the future. That's up to each backend, right? Or do these need to be patched for a correctness reason? J - To unsubscribe from this list:

Re: [patch 05/21] Xen-paravirt: paravirt_ops: allocate a fixmap slot

2007-02-13 Thread Jeremy Fitzhardinge
Dan Hecht wrote: > Why doesn't Xen allocate the shared_info page from the pseudo-physical > space? Doesn't it already have to steal pages from the > pseudo-physical space for e.g. initial page tables, console, etc? Why > not do the same for shared_info, and then you don't need a reserve the >

Re: [patch] build error: allnoconfig fails on mincore/swapper_space

2007-02-13 Thread Nick Piggin
Hugh Dickins wrote: On Tue, 13 Feb 2007, Randy Dunlap wrote: From: Randy Dunlap <[EMAIL PROTECTED]> Don't check for pte swap entries when CONFIG_SWAP=n. And save 'present' in the vec array. mm/built-in.o: In function `sys_mincore': (.text+0xe584): undefined reference to `swapper_space'

Re: [PATCH debugfs: implement symbolic links

2007-02-13 Thread Greg KH
On Tue, Feb 13, 2007 at 04:45:51PM +0100, Cornelia Huck wrote: > On Tue, 13 Feb 2007 12:13:54 +0100, > Peter Oberparleiter <[EMAIL PROTECTED]> wrote: > > Not especially related to this patch (which just does the same as the > other debugfs functions), but: > > > + * If debugfs is not enabled in

Re: 2.6.20 new perfmon code base + libpfm + pfmon

2007-02-13 Thread Chuck Ebbert
Andrew Morton wrote: >> On Tue, 13 Feb 2007 10:48:39 -0800 Stephane Eranian <[EMAIL PROTECTED]> >> wrote: >> I have released another version of the perfmon new code base package. > > Can we have a bug push to get this merged up please? You mean "big" push? :) FWIW I ran 2.6.17.8 kernels for

Re: [PATCH debugfs: implement symbolic links

2007-02-13 Thread Greg KH
On Tue, Feb 13, 2007 at 12:13:54PM +0100, Peter Oberparleiter wrote: > From: Peter Oberparleiter <[EMAIL PROTECTED]> > > debugfs: implement symbolic links > > Implement a new function debugfs_create_symlink() which can be used > to create symbolic links in debugfs. This function can be useful >

Re: AHCI - remove probing of ata2

2007-02-13 Thread Greg Trounson
At the risk of sounding like a "me too" post: I also have an Asus P5W-DH, with the following drives connected: SATA: ST3250820AS, connected to sata1 PATA: HL-DT-ST GSA-H12N, ATAPI DVD Writer, Primary master On bootup of 2.6.19 and 2.6.20, the kernel stalls for 1 minute when probing sata2,

Re: [patch 05/21] Xen-paravirt: paravirt_ops: allocate a fixmap slot

2007-02-13 Thread Dan Hecht
On 02/13/2007 02:17 PM, Jeremy Fitzhardinge wrote: Allocate a fixmap slot for use by a paravirt_ops implementation. Xen uses this to map the hypervisor's shared info page, which doesn't have a pseudo-physical page number, and therefore can't be mapped ordinarily. Why doesn't Xen allocate the

Re: [patch 10/21] Xen-paravirt: Name: dont export paravirt_ops structure, do individual functions

2007-02-13 Thread Zachary Amsden
Jeremy Fitzhardinge wrote: Zachary Amsden wrote: This turned out really hideous looking to me. Can't we split the struct into GPL'd and non-GPL'd functions instead? We still have the same granularity, and none of this function call to an indirect function call nonsense. It's not

Re: [patch 10/21] Xen-paravirt: Name: dont export paravirt_ops structure, do individual functions

2007-02-13 Thread Jeremy Fitzhardinge
Zachary Amsden wrote: > This turned out really hideous looking to me. Can't we split the > struct into GPL'd and non-GPL'd functions instead? We still have the > same granularity, and none of this function call to an indirect > function call nonsense. It's not pretty, but I think having

Re: Is this bug too obvious?

2007-02-13 Thread Chuck Ebbert
Daniel Barkalow wrote: > On Tue, 13 Feb 2007, Chuck Ebbert wrote: > >> drivers/usb/net/usbnet.c: >> >> int >> usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) >> { >> struct usbnet *dev; >> struct net_device *net; >>

Re: 2.6.19: EFAIL on MPATH failback

2007-02-13 Thread Chuck Ebbert
Charles C. Bennett, Jr. wrote: > I have two systems running 2.6.19 from fedora-updates. > > > Under IO load, failback fails on both nodes. > Please file a bug in redhat bugzilla: https://bugzilla.redhat.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

kbuild, localversion (Re: [patch 3/3, resend] kbuild: correctly skip tilded backups in localversion files)

2007-02-13 Thread Oleg Verych
Hallo! On Tue, Feb 13, 2007 at 05:09:47PM +0100, Roman Zippel wrote: > Hi, > > On Tue, 13 Feb 2007, Linus Torvalds wrote: > > > > I know it maybe another my "change it all" proposition, but i can't find > > > nothing against `GNU $(wildcard ..)' and `unnecessarily complex "find"'. > > > > It's

Re: Is this bug too obvious?

2007-02-13 Thread Daniel Barkalow
On Tue, 13 Feb 2007, Chuck Ebbert wrote: > drivers/usb/net/usbnet.c: > > int > usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) > { > struct usbnet *dev; > struct net_device *net; > struct usb_host_interface

Re: [patch 10/21] Xen-paravirt: Name: dont export paravirt_ops structure, do individual functions

2007-02-13 Thread Zachary Amsden
Jeremy Fitzhardinge wrote: Wrap the paravirt_ops members we want to export in wrapper functions. Since we binary-patch the critical ones, this doesn't make a speed impact. I moved drm_follow_page into the core, to avoid having to wrap the various pte ops. Unlining kernel_fpu_end and using that

Re: [linux-usb-devel] Is this bug too obvious?

2007-02-13 Thread David Brownell
No bug; read net/ethernet/eth.c to see what that parameter means. > > drivers/usb/net/usbnet.c: > > > > int > > usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) > > { > > struct usbnet *dev; > > struct net_device *net; >

RE: [PATCH] scsi/megaraid.c: pci_module_init to pci_register_driver

2007-02-13 Thread Patro, Sumant
ACK. --Sumant -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Knutsson Sent: Tuesday, February 13, 2007 4:41 PM To: Kolli, Neela Cc: linux-kernel@vger.kernel.org; linux-scsi@vger.kernel.org; Richard Knutsson Subject: [PATCH] scsi/megaraid.c:

Re: [ipw3945-devel] [ANNOUNCE] d80211 based driver for Intel PRO/Wireless 3945ABG

2007-02-13 Thread James Ketrenos
Pavel Machek wrote: ... You can find the new driver, and additional information about it, here: http://intellinuxwireless.org/iwlwifi. ... You can find that package at: http://intellinuxwireless.org/d80211 Ok. Now... any questions? Yes... is there merged .git tree somewhere? I

[PATCH] mtd/maps/ck804xrom.c: Remove #if 0'ed code

2007-02-13 Thread Richard Knutsson
Remove #if 0'ed code (to get rid of pci_module_init()). Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> --- Compile-tested with "allyes", "allmod" & "allno" on i386 More suitable description, sorry for the noise diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c index

Re: Is this bug too obvious?

2007-02-13 Thread Randy Dunlap
On Tue, 13 Feb 2007 19:41:34 -0500 Chuck Ebbert wrote: [adding linux-usb-devel] > drivers/usb/net/usbnet.c: > > int > usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) > { > struct usbnet *dev; > struct net_device *net;

Re: libata FUA revisited

2007-02-13 Thread Tejun Heo
[cc'ing Jeff, Alan, Mark and Jens. Hi!] Hello, Robert. Robert Hancock wrote: Well, we should be able to determine that experimentally (at least on specific controllers) with a little test program that just writes little bits of data and fsyncs repeatedly (assuming that does in fact trigger

Re: [Linux-fbdev-devel] [PATCH] fb: SM501 framebuffer driver

2007-02-13 Thread Ben Dooks
On Tue, Feb 13, 2007 at 09:01:25PM +, James Simmons wrote: > > > Framebuffer support for the Silicon Motion SM501 > > multi-function chip. > > > > This driver provides a pair of framebuffer interfaces > > for the CRT and LCD panel interfaces, and some basic > > acceleration for the cursor. >

[PATCH] scsi/tmscsim.c: pci_module_init to pci_register_driver

2007-02-13 Thread Richard Knutsson
Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> --- Compile-tested with "allyes", "allmod" & "allno" on i386 diff --git a/drivers/scsi/tmscsim.c b/drivers/scsi/tmscsim.c index fa5382e..ce8845e 100644 --- a/drivers/scsi/tmscsim.c +++

Is this bug too obvious?

2007-02-13 Thread Chuck Ebbert
drivers/usb/net/usbnet.c: int usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) { struct usbnet *dev; struct net_device *net; struct usb_host_interface *interface; struct driver_info

[PATCH] scsi/megaraid.c: pci_module_init to pci_register_driver

2007-02-13 Thread Richard Knutsson
Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> --- Compile-tested with "allyes", "allmod" & "allno" on i386 diff --git a/drivers/scsi/megaraid.c b/drivers/scsi/megaraid.c index 808a1b8..0aa3304 100644 --- a/drivers/scsi/megaraid.c +++

[PATCH] net/wan/pc300too.c: pci_module_init to pci_register_driver

2007-02-13 Thread Richard Knutsson
Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> --- Compile-tested with "allyes", "allmod" & "allno" on i386 diff --git a/drivers/net/wan/pc300too.c b/drivers/net/wan/pc300too.c index bc156b5..aff05db 100644 ---

[PATCH] mtd/maps/ck804xrom.c: pci_module_init to pci_register_driver

2007-02-13 Thread Richard Knutsson
Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> --- Compile-tested with "allyes", "allmod" & "allno" on i386 diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c index 238d42e..1998172 100644 ---

Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen

2007-02-13 Thread Jeremy Fitzhardinge
Andi Kleen wrote: >> --- a/arch/i386/kernel/entry.S >> +++ b/arch/i386/kernel/entry.S >> @@ -1001,6 +1001,83 @@ ENTRY(kernel_thread_helper) >> CFI_ENDPROC >> ENDPROC(kernel_thread_helper) >> >> +#ifdef CONFIG_XEN >> +/* Xen only supports sysenter/sysexit in ring0 guests, >> + and only if

[PATCH] ide/pci/delkin_cb.c: pci_module_init to pci_register_driver

2007-02-13 Thread Richard Knutsson
Convert pci_module_init() to pci_register_driver(). Signed-off-by: Richard Knutsson <[EMAIL PROTECTED]> --- Compile-tested with "allyes", "allmod" & "allno" on i386 diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c index e2672fc..d4b753e 100644 ---

Help! How do I debug oopsing kernel workqueue threads?

2007-02-13 Thread Chuck Ebbert
How the hell do I tell what kernel subsystem queued a bogus work item? BUG: unable to handle kernel paging request at virtual address 2074 printing eip: c04f3b55 *pde = 71bb1067 Oops: [#1] SMP last sysfs file: /class/scsi_host/host2/proc_name Modules linked in: hwmon i2c_isa eeprom

Re: [PROBLEM] Can't start MD devices by using /dev/disk/by-id

2007-02-13 Thread Bill Davidsen
Patrick Ale wrote: Hi chaps, I just came home, rebooted my box to git8 and *gasp* a problem :) I can't start my MD devices anymore by defining /dev/disk/by-id/* devices in /etc/mdadm.conf. When I do a: mdadm --assemble /dev/md/1 it tells me "No devices found for /dev/md/1" When I edit the

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Andrew Morton
> On Tue, 13 Feb 2007 17:55:31 -0600 Eric Van Hensbergen <[EMAIL PROTECTED]> > wrote: > +static ssize_t > +v9fs_file_write(struct file *filp, const char __user * data, > + size_t count, loff_t * offset) > +{ > + struct inode *inode = filp->f_path.dentry->d_inode; > + > +

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Andrew Morton
> On Tue, 13 Feb 2007 17:55:31 -0600 Eric Van Hensbergen <[EMAIL PROTECTED]> > wrote: > +static int v9fs_vfs_writepage(struct page *page, struct writeback_control > *wbc) > +{ > + char *buffer = NULL; > + struct address_space *mapping = page->mapping; > + int retval = -EIO; > +

Re: [patch 4/9] Remove the TSC synchronization on SMP machines

2007-02-13 Thread john stultz
On Wed, 2007-02-14 at 11:18 +1100, Paul Mackerras wrote: > Andi Kleen writes: > > > Just to avoid spreading misinformation: modulo some new broken hardware > > (which we always try to work around when found) i386/x86-64 gettimeofday > > is monotonic. AFAIK on the currently known hardware it

Re: [RFC] [PATCH] more support for memory-less-node.

2007-02-13 Thread KAMEZAWA Hiroyuki
On Tue, 13 Feb 2007 10:50:53 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Tue, 13 Feb 2007, Martin J. Bligh wrote: > > > What's wrong with just setting the existing counters like > > node_spanned_pages / node_present_pages to zero? > > Will this fix the breakage that Kame-san

[PATCH] cdrom: use unsigned bitfields

2007-02-13 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Fix 23 of these sparse warnings on x86_64 allmodconfig: include/linux/cdrom.h:942:19: error: dubious bitfield without explicit `signed' or `unsigned' Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- include/linux/cdrom.h |2 +- 1 file changed, 1

Re: [patch] build error: allnoconfig fails on mincore/swapper_space

2007-02-13 Thread Hugh Dickins
On Tue, 13 Feb 2007, Randy Dunlap wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > Don't check for pte swap entries when CONFIG_SWAP=n. > And save 'present' in the vec array. > > mm/built-in.o: In function `sys_mincore': > (.text+0xe584): undefined reference to `swapper_space' > >

Re: [patch 4/9] Remove the TSC synchronization on SMP machines

2007-02-13 Thread Paul Mackerras
Andi Kleen writes: > Just to avoid spreading misinformation: modulo some new broken hardware > (which we always try to work around when found) i386/x86-64 gettimeofday > is monotonic. AFAIK on the currently known hardware it should be generally > ok. > > However ntpd can always screw you up,

Re: [patch 06/11] syslets: core, documentation

2007-02-13 Thread Davide Libenzi
On Tue, 13 Feb 2007, Davide Libenzi wrote: > > > I can understand that chaining syscalls requires variable sharing, but > > > the majority of the parameters passed to syscalls are just direct > > > ones. Maybe a smart method that allows you to know if a parameter is a > > > direct one or a

Re: [PATCH 12/22] elevate write count files are open()ed

2007-02-13 Thread Dave Hansen
On Tue, 2007-02-13 at 09:58 -0800, Andrew Morton wrote: > > On Tue, 13 Feb 2007 08:58:16 -0800 Dave Hansen <[EMAIL PROTECTED]> wrote: > > > yipes. A new mount-wide spin_lock/unlock for each for-writing open() and > > > close(). > > > Can we have a microbenchmark on this please? > > > > Yeah,

Re: [RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Andrew Morton
> On Tue, 13 Feb 2007 17:55:31 -0600 Eric Van Hensbergen <[EMAIL PROTECTED]> > wrote: > +int v9fs_prepare_write(struct file *file, struct page *page, > +unsigned from, unsigned to) > +{ > + if (!PageUptodate(page)) { > + if (to - from != PAGE_CACHE_SIZE) { > +

[PATCH] tty: use NULL for ptrs

2007-02-13 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Fix sparse warning in tty_io: drivers/char/tty_io.c:1536:34: warning: Using plain integer as NULL pointer Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- drivers/char/tty_io.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

Re: User tools for March 11

2007-02-13 Thread Gene Heskett
On Tuesday 13 February 2007, linux-os (Dick Johnson) wrote: >Hi! >In the United States, some idiots have decided that the year 2000 scare >wasn't enough so they changed the start date for daylight savings time >from the first Sunday in April to the second Sunday in March. >Does anybody know if

Re: libata FUA revisited

2007-02-13 Thread Robert Hancock
Tejun Heo wrote: On the NCQ side, I think it's pretty safe to assume that all controllers will handle it. Obviously I've verified it with sata_nv (at least that it doesn't blow up obviously), and the other two NCQ drivers we have, ahci and sata_sil24 just feed raw FIS data into the controller

Re: [RFC] [PATCH] more support for memory-less-node.

2007-02-13 Thread KAMEZAWA Hiroyuki
On Tue, 13 Feb 2007 09:25:00 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Tue, 13 Feb 2007, KAMEZAWA Hiroyuki wrote: > > > NOD_DATA(nid) is always valid pointer if a node is online. > > NODE_DATA(nid)->present_pages can be 0 even if a node is online, > > I call this as

Bus behind transparent bridge

2007-02-13 Thread Jonathan Woithe
When booting my laptop I notice the following message: PCI quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO PCI quirk: region 1180-11bf claimed by ICH6 GPIO PCI: Ignoring BAR0-3 of IDE controller :00:1f.1 PCI: Transparent bridge - :00:1e.0 PCI: Bus #07 (-#0a) is hidden

2.6.20-rt5: serial port trouble?

2007-02-13 Thread Jonathan Woithe
Now that the CONFIG_PREEMPT_RT firewire bug has been addressed I've returned to using a kernel configured with CONFIG_PREEMPT_RT on one of my machines. However, it seems that in 2.6.20-rt5, CONFIG_PREEMPT_RT upsets serial port operation in some way. If I use pppd to establish a PPP connection

Re: [ipw3945-devel] [ANNOUNCE] d80211 based driver for Intel PRO/Wireless 3945ABG

2007-02-13 Thread James Ketrenos
Norbert Preining wrote: ... Ahhh ... one thing: The LED on my Acer Laptop (TM3012) does not show up, maybe because I have CONFIG_D80211_LEDS off? The LED code in iwlwifi isn't hooked up to the D80211 LED code yet. If you'd file a bug at http://bughost.org regarding the LEDs being broken (if

2.6.20-rt5: BUG: scheduling while atomic

2007-02-13 Thread Jonathan Woithe
When running 2.6.20-rt5 on a Via Apollo based mainboard with the "low latency desktop" preemption setting active the following messages were logged. This isn't all of them - there were quite a few, some of which passed out of the message buffer. I didn't see this with 2.6.19.2. I don't know

Re: [ANNOUNCE] d80211 based driver for Intel PRO/Wireless 3945ABG

2007-02-13 Thread James Ketrenos
Johannes Berg wrote: On Tue, 2007-02-13 at 18:13 +, Pavel Machek wrote: Yes... is there merged .git tree somewhere? I downloaded iwl git tree, but it did not contain d80211 stack. I'm now downloading wireless-dev git tree... I would expect Intel to post patches some time soon to get into

Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-13 Thread Dan Hecht
On 02/13/2007 03:29 PM, Jeremy Fitzhardinge wrote: Dan Hecht wrote: I assume you plan to eventually get all this stuff working but just want to prevent configurations that the Xen paravirt-ops isn't ready for at the moment? Instead can you do it this way: config XEN depends on PARAVIRT &&

Re: [Xen-devel] Re: [patch 14/21] Xen-paravirt: Add XEN config options and disable unsupported config options.

2007-02-13 Thread Zachary Amsden
Jeremy Fitzhardinge wrote: Dan Hecht wrote: I assume you plan to eventually get all this stuff working but just want to prevent configurations that the Xen paravirt-ops isn't ready for at the moment? Instead can you do it this way: config XEN depends on PARAVIRT && !PREEMPT && HZ_100

Re: [patch 4/9] Remove the TSC synchronization on SMP machines

2007-02-13 Thread Christoph Lameter
On Tue, 13 Feb 2007, Vojtech Pavlik wrote: > The interaction with ntpd can be fixed and I've done it in the past > once, although the fix wasn't all that nice. It can be and was fixed by gradually moving time instead of jumping to the new time. F.e. the time interpolator on ia64 gradually

[RESEND][PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Eric Van Hensbergen
Loose cache mode was added primarily to asssist exclusive, read-only mounts (like venti) -- however, there is also a case for using loose write cacheing in support of read/write exclusive mounts. This feature is linked to the loose cache option and is disabled by default. This code adds the

Re: [patch 16/21] Xen-paravirt: Add code into head.S to handle being booted by Xen

2007-02-13 Thread Andi Kleen
> --- a/arch/i386/kernel/entry.S > +++ b/arch/i386/kernel/entry.S > @@ -1001,6 +1001,83 @@ ENTRY(kernel_thread_helper) > CFI_ENDPROC > ENDPROC(kernel_thread_helper) > > +#ifdef CONFIG_XEN > +/* Xen only supports sysenter/sysexit in ring0 guests, > + and only if it the guest asks for it.

[PATCH] 9p: add write-cache support to loose cache mode

2007-02-13 Thread Eric Van Hensbergen
Loose cache mode was added primarily to asssist exclusive, read-only mounts (like venti) -- however, there is also a case for using loose write cacheing in support of read/write exclusive mounts. This feature is linked to the loose cache option and is disabled by default. This code adds the

[PATCH] 9p: implement optional loose read cache

2007-02-13 Thread Eric Van Hensbergen
While cacheing is generally frowned upon in the 9p world, it has its place -- particularly in situations where the remote file system is exclusive and/or read-only. The vacfs views of venti content addressable store are a real-world instance of such a situation. To facilitate higher performance

Re: whatever happened to down_timeout()?

2007-02-13 Thread Chris Friesen
Chris Friesen wrote: static inline int down_timeout(struct semaphore * sem, unsigned int timeout) { int ret = down_trylock(sem); if (!ret) ret = __down_timeout(sem, timeout); return ret; } Sorry, I think that should be: static inline int down_timeout(struct semaphore *

  1   2   3   4   5   6   7   8   9   >