Re: [RFC] fsblock

2007-06-27 Thread David Chinner
On Wed, Jun 27, 2007 at 07:32:45AM +0200, Nick Piggin wrote: I think using fsblock to drive the IO and keep the pagecache flags uptodate and using a btree in the filesystem to manage extents of block allocations wouldn't be a bad idea though. Do any filesystems actually do this? Yes. XFS. But

Re: [BUG] long freezes on thinkpad t60

2007-06-27 Thread Linus Torvalds
On Wed, 27 Jun 2007, Nick Piggin wrote: I don't know why my unlock sequence should be that much slower? Unlocked mov vs unlocked add? Definitely in dumb micro-benchmark testing it wasn't twice as slow (IIRC). Oh, that releasing add can be unlocked, and only the holder of the lock ever

Re: NVidia Driver Support - 1680x1050 mode

2007-06-27 Thread Marc Perkel
Thanks - I'll try looking there. --- Michael Lothian [EMAIL PROTECTED] wrote: OK where to start? Firstly this is really the wrong list your writing to. Chances are you'll be wanting to ask your question at http://www.nvnews.net/vbulletin/forumdisplay.php?s=forumid=14 if your using the

Re: 2.6 Linux for PowerPC supports kdb?

2007-06-27 Thread gshan
Randy Dunlap wrote: On Tue, 26 Jun 2007 23:03:55 -0400 Shan, Guo Wen (Gavin) wrote: Does anybody knew if 2.6 linux for PowerPC supports kdb? PowerPC isn't listed AFAICT: ftp://oss.sgi.com/www/projects/kdb/download/v4.4/README I.e., all that I see are i386, x86_64, and ia64. ---

Re: NVidia Driver Support - 1680x1050 mode

2007-06-27 Thread Marc Perkel
If I were to try a different brand of video card to get 1680x1050 where the main criteria was just works, what brand should I get? --- Michael Lothian [EMAIL PROTECTED] wrote: OK where to start? Firstly this is really the wrong list your writing to. Chances are you'll be wanting to ask

Re: [BUG] long freezes on thinkpad t60

2007-06-27 Thread Nick Piggin
Linus Torvalds wrote: On Wed, 27 Jun 2007, Nick Piggin wrote: I don't know why my unlock sequence should be that much slower? Unlocked mov vs unlocked add? Definitely in dumb micro-benchmark testing it wasn't twice as slow (IIRC). Oh, that releasing add can be unlocked, and only the holder

Re: scheduling while atomic and DEBUG_SPINLOCK_SLEEP

2007-06-27 Thread Jon Ringle
Arjan van de Ven wrote: On Tue, 2007-06-26 at 22:55 -0400, Jon Ringle wrote: Hello, Out of these two, the first one that is showing in_atomic():1 seems more likely to me to be a potential cause of the scheduling while atomic dump. Does this logic seem reasonable? Are there other debugging

Re: [linux-usb-devel] usb_fill_bulk_urb() broken for USB1.1?

2007-06-27 Thread Oliver Neukum
Am Dienstag, 26. Juni 2007 schrieb Chuck Ebbert: On 06/26/2007 10:20 AM, Keith Chew wrote: [cc: linux-usb-devel] We have been using a Zydas based WIFI drivers under kernel 2.6.16.18 with great success. Recently, when we upgraded to 2.6.20.1 (also tested on 2.6.21.5), we found that

Re: [PATCH] Fix for bad lock balance in Containers

2007-06-27 Thread Bharata B Rao
On Tue, Jun 26, 2007 at 10:30:11AM +0530, Dhaval Giani wrote: --- linux-2.6.22-rc4/kernel/container.c 2007-06-13 15:38:32.0 +0530 +++ old/kernel/container.c2007-06-25 00:55:03.0 +0530 @@ -995,6 +995,7 @@ static int container_get_sb(struct file_

Re: [PATCH] Force rcutorture tasks to spread over CPUs

2007-06-27 Thread Ingo Molnar
* Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 12 Jun 2007 21:28:04 -0700 Paul E. McKenney [EMAIL PROTECTED] wrote: + while (!startwriters) + barrier(); /* Force scheduler to spread over CPUs. */ one wonders whether a cpu_relax() would be a bit nicer here. That

Re: [PATCH 2.6.22] cxgb3 - fix register to stop bc/mc traffic

2007-06-27 Thread Jeff Garzik
Divy Le Ray wrote: From: Divy Le Ray [EMAIL PROTECTED] Use the right register to stop broadcast/multicast traffic. Signed-off-by: Divy Le Ray [EMAIL PROTECTED] applied to #upstream-fixes - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: 2.6.22: ERROR: __ucmpdi2 [drivers/net/s2io.ko] undefined!

2007-06-27 Thread Jeff Garzik
Olaf Hering wrote: On Tue, Jun 19, Stephen Hemminger wrote: On Tue, 19 Jun 2007 21:02:53 +0200 Olaf Hering [EMAIL PROTECTED] wrote: What happend to __ucmpdi2 from David Woodhouse? google has a few hits about stuff like this on 32bit powerpc with gcc 4.1.2: ERROR: __ucmpdi2

Re: [md-accel PATCH 03/19] xor: make 'xor_blocks' a library routine for use with async_tx

2007-06-27 Thread Satyam Sharma
Hi Dan, [ Minor thing ... ] On 6/27/07, Dan Williams [EMAIL PROTECTED] wrote: The async_tx api tries to use a dma engine for an operation, but will fall back to an optimized software routine otherwise. Xor support is implemented using the raid5 xor routines. For organizational purposes this

Re: [xfs-masters] Re: [BUG] Lockdep warning with XFS on 2.6.22-rc6

2007-06-27 Thread Tim Shimmin
Patch looks good, Dave. (though, I stuffed up reviewing that bit of code previously:-) Oh, previous typo: s/inodes at the some time/inodes at the same time/ --Tim David Chinner wrote: On Tue, Jun 26, 2007 at 11:35:20AM +0200, Jarek Poplawski wrote: On 26-06-2007 04:16, David Chinner wrote:

Re: [AppArmor 00/44] AppArmor security module overview

2007-06-27 Thread John Johansen
On Tue, Jun 26, 2007 at 07:47:00PM -0700, Andrew Morton wrote: On Tue, 26 Jun 2007 19:24:03 -0700 John Johansen [EMAIL PROTECTED] wrote: so... where do we stand with this? Fundamental, irreconcilable differences over the use of pathname-based security? There certainly seems to

Re: [PATCH] HPT374 is UDMA100 not UDMA133

2007-06-27 Thread Jeff Garzik
Alan Cox wrote: Propogate change from drivers/ide Signed-off-by: Alan Cox [EMAIL PROTECTED] diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.22-rc4-mm2/drivers/ata/pata_hpt37x.c linux-2.6.22-rc4-mm2/drivers/ata/pata_hpt37x.c ---

[PATCH] Re: [2.6.21.1] soft lockup when removing netconsole module

2007-06-27 Thread Jarek Poplawski
On Tue, Jun 26, 2007 at 06:00:00PM -0700, Andrew Morton wrote: On Tue, 26 Jun 2007 17:46:13 -0700 Wessel, Jason [EMAIL PROTECTED] wrote: ... Everything went quiet? If this patch has been tested and fixes the bug, can you please send a version which is ready for merging? (ie: add a

Re: Problems with fb console [was Re: 2.6.12-rc4-mm2]

2007-06-27 Thread DervishD
Hi J.A. :) * J.A. Magallón [EMAIL PROTECTED] dixit: kernel /boot/vmlinuz video=vesafb:mtrr,ywrap vga=0x31A ro root=/dev/sdc1 (tried both with hex and decimal). Try vga=0x031A. I vaguely remember I had a similar problem and IIRC that's how I solved it. Anyway, you can always try

Re: [linux-usb-devel] usb_fill_bulk_urb() broken for USB1.1?

2007-06-27 Thread Keith Chew
Hi Oliver What do you use as arguments for usb_fill_bulk_urb() ? One of the sanity tests in usb_submit_urb() is triggered. Usage: usb_fill_bulk_urb(macp-intr_urb, macp-usb, usb_rcvbulkpipe(macp-usb, EP_INT_IN), macp-IntEPBuffer, MAX_EPINT_BUFFER,

Re: [linux-usb-devel] usb_fill_bulk_urb() broken for USB1.1?

2007-06-27 Thread Greg KH
On Tue, Jun 26, 2007 at 01:52:41PM -0400, Chuck Ebbert wrote: On 06/26/2007 10:20 AM, Keith Chew wrote: [cc: linux-usb-devel] We have been using a Zydas based WIFI drivers under kernel 2.6.16.18 with great success. Recently, when we upgraded to 2.6.20.1 (also tested on 2.6.21.5), we

[git patches] net driver fixes

2007-06-27 Thread Jeff Garzik
Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus to receive the following updates: drivers/net/au1000_eth.c |2 +- drivers/net/cxgb3/xgmac.c |8 +--- drivers/net/s2io.c| 16 +--- 3

Re: [linux-usb-devel] usb_fill_bulk_urb() broken for USB1.1?

2007-06-27 Thread Oliver Neukum
Am Mittwoch, 27. Juni 2007 schrieb Keith Chew: Hi Oliver What do you use as arguments for usb_fill_bulk_urb() ? One of the sanity tests in usb_submit_urb() is triggered. Usage: usb_fill_bulk_urb(macp-intr_urb, macp-usb, usb_rcvbulkpipe(macp-usb, EP_INT_IN),

[git patches] libata fixes

2007-06-27 Thread Jeff Garzik
Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus to receive the following updates: drivers/ata/libata-core.c | 56 +++- drivers/ata/libata-eh.c |7 +

Re: [PATCH] Export usb_gadgetfs.h to userspace

2007-06-27 Thread Andrew Morton
On Mon, 25 Jun 2007 11:29:39 +0200 Haavard Skinnemoen [EMAIL PROTECTED] wrote: The gadgetfs test program from http://www.linux-usb.org/gadget/ depends on it. I assume most other users of gadgetfs needs this header too. Signed-off-by: Haavard Skinnemoen [EMAIL PROTECTED] ---

Re: [PATCH] Fix for bad lock balance in Containers

2007-06-27 Thread Dhaval Giani
On Tue, Jun 26, 2007 at 10:30:11AM +0530, Dhaval Giani wrote: Hi, There was a mistake in the patch. Thanks to Andrew Morton for pointing it out. Sending out a fresh patch. Sorry for the mistake! BUG_ON(ret); } else { /* Reuse the existing superblock */ +

Re: [git patches] libata fixes

2007-06-27 Thread Andrew Morton
On Wed, 27 Jun 2007 03:35:26 -0400 Jeff Garzik [EMAIL PROTECTED] wrote: + /* Don't allow DMA if it isn't multiple of 16 bytes. Quite a + * few ATAPI devices choke on such DMA requests. + */ + if (unlikely(qc-nbytes 15)) + return 1; It might be worth emitting

Re: long-term regression

2007-06-27 Thread david
On Tue, 26 Jun 2007, Randy Dunlap wrote: On Mon, 25 Jun 2007 15:56:17 -0700 (PDT) [EMAIL PROTECTED] wrote: due to the size the files are posted at http://linux.lang.hm/linux let me know what else I can send to help. David Lang I suggest that you test 2.6.22-rcN using one or both of these

Re: [git patches] libata fixes

2007-06-27 Thread Jeff Garzik
Andrew Morton wrote: On Wed, 27 Jun 2007 03:35:26 -0400 Jeff Garzik [EMAIL PROTECTED] wrote: + /* Don't allow DMA if it isn't multiple of 16 bytes. Quite a +* few ATAPI devices choke on such DMA requests. +*/ + if (unlikely(qc-nbytes 15)) + return 1;

Re: [PATCH] Export usb_gadgetfs.h to userspace

2007-06-27 Thread Haavard Skinnemoen
On Wed, 27 Jun 2007 00:35:38 -0700 Andrew Morton [EMAIL PROTECTED] wrote: `make headers_check' fails: make[2]: *** No rule to make target `/usr/src/devel/include/linux/usb_gadgetfs.h', needed by `/usr/src/devel/usr/include/linux/usb_gadgetfs.h'. Stop. It has already been moved to

Re: [RFC PATCH 0/2] dmaengine: preparation for raid acceleration

2007-06-27 Thread David Miller
From: Dan Williams [EMAIL PROTECTED] Date: Fri, 01 Jun 2007 17:17:49 -0700 Hello David, The following two patches are part of the raid acceleration series I would like to push for 2.6.23 consideration. I am sending these two separately for your review for the following reasons: the

Re: [PATCH] Export usb_gadgetfs.h to userspace

2007-06-27 Thread David Woodhouse
On Wed, 2007-06-27 at 00:35 -0700, Andrew Morton wrote: make[2]: *** No rule to make target `/usr/src/devel/include/linux/usb_gadgetfs.h', needed by `/usr/src/devel/usr/include/linux/usb_gadgetfs.h'. Stop. i.e. Cannot export file to ./usr/include/linux/ because it doesn't exist in

Re: [PATCH 0/17] Add Texas Instruments OMAP LCD driver-v2

2007-06-27 Thread Trilok Soni
On 6/27/07, Andrew Morton [EMAIL PROTECTED] wrote: On Tue, 26 Jun 2007 18:00:22 +0530 Trilok Soni [EMAIL PROTECTED] wrote: This patch series contains Texas Instruments OMAP LCD framebuffer drivers. This driver is divided into * main omapfb driver, which handles most common functions across

RE: [PATCH] ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-06-27 Thread Peer Chen
We did the many test with the new version driver and didn't encounter that problem, but in certain cases, DMASETUP command packets from drive to the controller are corrupted, and the controller issues an R_ERR to the drive. Drives that comply with SATA spec will re-transmit the corrupted packet

[PATCH 0/5 v2] Porting RapidIO driver from ppc to powerpc architecture and adding memory mapped RapidIO driver.

2007-06-27 Thread Zhang Wei
Hi, Matt Porter, These are the version 2 patches for RapidIO with dts update and some minor fixups. These patches are used for supporting RapidIO controllers of Freescale. I ported them from ppc architecture to powerpc architecture and added some new features, such as memory mapped driver.

[PATCH 2/5 v2] Add RapidIO sector to the MPC8641HPCN board dts file.

2007-06-27 Thread Zhang Wei
Add RapidIO sector to the MPC8641HPCN board dts file. Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/boot/dts/mpc8641_hpcn.dts | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts

[PATCH 4/5 v2] Add RapidIO support to powerpc architecture.

2007-06-27 Thread Zhang Wei
This patch adds the RapidIO support to the powerpc architecture. Some files are moved from ppc. OF-tree and OF-device supports are added. New silicons such as MPC8548, MPC8641 with serial RapidIO controller are all supported. Memory driver hardware operations are added. Global mport variables are

[PATCH 1/5 v2] Add the explanation and a sample of RapidIO DTS sector to the document of booting-without-of.txt file.

2007-06-27 Thread Zhang Wei
Add the explanation and a sample of RapidIO DTS sector to the document of booting-without-of.txt file. Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- Documentation/powerpc/booting-without-of.txt | 34 ++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git

[PATCH 3/5 v2] Add the platform device support with RapidIO to MPC8641HPCN platform.

2007-06-27 Thread Zhang Wei
Add the platform device support with RapidIO to MPC8641HPCN platform. Signed-off-by: Zhang Wei [EMAIL PROTECTED] --- arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c

[PATCH 5/5 v2] Add the memory management driver to RapidIO.

2007-06-27 Thread Zhang Wei
This patch adds the memory management driver to RapidIO. The RapidIO system size is changed to automatically detection. Add the memory mapping driver to RapidIO basic driver. Multi master ports are supported. Add a simple Bitmap RapidIO space allocator driver. Signed-off-by: Zhang Wei [EMAIL

Re: [PATCH] ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-06-27 Thread Jeff Garzik
Peer Chen wrote: We did the many test with the new version driver and didn't encounter that problem, but in certain cases, DMASETUP command packets from drive to the controller are corrupted, and the controller issues an R_ERR to the drive. Drives that comply with SATA spec will re-transmit the

Re: [PATCH 01/17] OMAP: Add TI OMAP framebuffer driver

2007-06-27 Thread Trilok Soni
Hi Sam, On 6/26/07, Sam Ravnborg [EMAIL PROTECTED] wrote: diff --git a/drivers/video/omap/Makefile b/drivers/video/omap/Makefile new file mode 100644 index 000..5aa7175 --- /dev/null +++ b/drivers/video/omap/Makefile @@ -0,0 +1,10 @@ +# +# Makefile for the new OMAP framebuffer device driver

[NETFILTER] early_drop() imrovement (v4)

2007-06-27 Thread Vasily Averin
When the number of conntracks is reached nf_conntrack_max limit, early_drop() tries to free one of already used conntracks. If it does not find any conntracks that may be freed, it leads to transmission errors. In current implementation the conntracks are searched in one hash bucket only. It have

Re: [NETFILTER] early_drop() imrovement (v4)

2007-06-27 Thread Patrick McHardy
Vasily Averin wrote: When the number of conntracks is reached nf_conntrack_max limit, early_drop() tries to free one of already used conntracks. If it does not find any conntracks that may be freed, it leads to transmission errors. In current implementation the conntracks are searched in one

Re: BUG: held lock freed!

2007-06-27 Thread Thomas Sattler
I'll run memtest86+ this night and post the results tomorrow. Memtest86+ did not show any problems: time 8h pass 24 errors 0 Please remember to CC me as I'm not subscribed to the list. Thomas -- keep mailinglists in english, feel free to send PM in german - To unsubscribe from this

Re: [RFC 1/7] cpuset write dirty map

2007-06-27 Thread Andrew Morton
On Tue, 26 Jun 2007 20:18:36 -0700 (PDT) Christoph Lameter [EMAIL PROTECTED] wrote: On Tue, 26 Jun 2007, Andrew Morton wrote: Is in my queue somewhere. Could be that by the time I get to it it will need refreshing (again), we'll see. One open question is the interaction between

Re: Please release a stable kernel Linux 3.0

2007-06-27 Thread Zoltán HUBERT
Thanks Roland, On Tuesday 26 June 2007 21:03, Roland Kuhn wrote: On 26 Jun 2007, at 16:37, Zoltán HUBERT wrote: Whatever stable means. What you mean by stable pretty much excludes any serious development, without which the Linux kernel would very soon be obsolete. If you want a stable

RE: [PATCH] ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-06-27 Thread Kuan Luo
+static void nv_swncq_qc_to_dq(struct ata_port *ap, struct ata_queued_cmd *qc) +{ + struct nv_swncq_port_priv *pp = ap-private_data; + defer_queue_t *dq = pp-defer_queue; + + /* queue is full */ + WARN_ON((dq-rear + 1) % (ATA_MAX_QUEUE + 1) == dq-front); This is

Re: [PATCH] ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-06-27 Thread Andrew Morton
On Wed, 27 Jun 2007 17:09:29 +0800 Kuan Luo [EMAIL PROTECTED] wrote: +static void nv_swncq_qc_to_dq(struct ata_port *ap, struct ata_queued_cmd *qc) +{ + struct nv_swncq_port_priv *pp = ap-private_data; + defer_queue_t *dq = pp-defer_queue; + + /* queue is full */ +

Re: NVidia Driver Support - 1680x1050 mode

2007-06-27 Thread Daniel J Blueman
On 27 Jun, 04:40, Marc Perkel [EMAIL PROTECTED] wrote: Trying to get my Asus M2NPV-VM motherboard and my Samsung SyncMaster 215tw Digital to work in 1680x1050 mode but 1280x1024 is the most I can get. Chip Set is GeForce 6150. Looking in Xorg.0.log it ssems to think that the panel size is

Re: Please release a stable kernel Linux 3.0

2007-06-27 Thread Al Viro
On Wed, Jun 27, 2007 at 11:18:36AM +0200, Zolt?n HUBERT wrote: I'm a system engineer, and a stable system is one where the interfaces are stable. Individual components can change, and do change, but if you change fundamental interfaces it is not the same system. Of course I understand

Re: [PATCH -mm] ALSA portman2x4 section mismatch

2007-06-27 Thread Takashi Iwai
At Tue, 26 Jun 2007 15:30:13 -0700, Randy Dunlap wrote: From: Randy Dunlap [EMAIL PROTECTED] FIx section mismatch when CONFIG_HOTPLUG=n: WARNING: sound/built-in.o(.exit.text+0x271): Section mismatch: reference to .init.text:snd_p ortman_unregister_all (between 'snd_portman_module_exit'

Re: 2.6.20-2.6.21 - networking dies after random time

2007-06-27 Thread Jarek Poplawski
On Tue, Jun 26, 2007 at 04:24:07PM +0200, Jean-Baptiste Vignaud wrote: Hello, i have a very similar problem with 2.6.21 also; 2 3com NICs and they are failling randomly. The kernel is a basic fedora 7 kernel (2.6.21-1.3228.fc7) I found a bug report and added details here :

Re: [PATCH] LinuxPPS (with new syscalls API)

2007-06-27 Thread Rodolfo Giometti
On Tue, Jun 26, 2007 at 06:38:40PM +0100, David Woodhouse wrote: 64-bit kernels can run 32-bit userspace programs. But some structures come out _differently_ between 32-bit and 64-bit compilation, so the system call needs a special 'compat' handler instead of just running the normal 64-bit

libata-bug in 2.6.21.5 on amd64 with ali chipset

2007-06-27 Thread Hemmann, Volker Armin
Hi, this is on an amd64 gentoo system (with march=k8 -02 msse3 -pipe as CFLAGS aka sane ones). with kernel 2.6.21.5 my dvd burner locks up the computer when k3b starts. k3b (this is of course captured without libata) [EMAIL PROTECTED] ~ $ kdecore (KAction): WARNING:

RE: [PATCH] ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-06-27 Thread Kuan Luo
A pretty good way. I will modify my code. -Original Message- From: Andrew Morton [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007 5:21 PM To: Kuan Luo Cc: linux-kernel@vger.kernel.org; [EMAIL PROTECTED]; Peer Chen Subject: Re: [PATCH] ata: Add the SW NCQ support to sata_nv for

Re: [PATCH] LinuxPPS (with new syscalls API)

2007-06-27 Thread David Woodhouse
On Wed, 2007-06-27 at 12:14 +0200, Rodolfo Giometti wrote: On Tue, Jun 26, 2007 at 06:38:40PM +0100, David Woodhouse wrote: 64-bit kernels can run 32-bit userspace programs. But some structures come out _differently_ between 32-bit and 64-bit compilation, so the system call needs a

Re: Please release a stable kernel Linux 3.0

2007-06-27 Thread Alan McKinnon
On Wednesday 27 June 2007, Zoltán HUBERT wrote: If I have to rely on the distribution to help me it spoils the whole benefit of open source. I don't trust Novell or RedHat or Google more than Microsoft or Apple. You kernel developpers are the keepers of the flame. You seem to misunderstand

Re: NVidia Driver Support - 1680x1050 mode

2007-06-27 Thread Kyle Moffett
Marc, please choose a more appropriate list next time. LKML is not for user questions about Why doesn't my monitor+GPU work? On Jun 27, 2007, at 05:49:20, Daniel J Blueman wrote: On 27 Jun, 04:40, Marc Perkel [EMAIL PROTECTED] wrote: Trying to get my Asus M2NPV-VM motherboard and my Samsung

PROBLEM: Kernel panic when RAID drive fails

2007-06-27 Thread Willo van der Merwe
Summary Info: Kernel halts with a kernel panic when a member of a RAID1 failed. Detail Info: I hope it's due to one of the drives failing, but I'm not sure. I've had endless issues with this machine. Any help would be appreciated. Jun 27 05:22:27 sabertooth kernel: ata1: handling

Re: [PATCH] trim memory not covered by WB MTRRs

2007-06-27 Thread Pim Zandbergen
First: Jesse saved my life by releasing a patch that made my GigaByte Intel G33 based motherboard use all of its 8GB RAM and not be slow as hell. Then: GigaByte released a BIOS update that fixed the root of the problem. I went back from patched vanilla kernel to official Fedora kernel. Now:

RE: [PATCH] ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

2007-06-27 Thread Zoltan Boszormenyi
Hi, I am testing your current code with akpm's beautifying patches for about an hour now. I have seen no problems with it so far. **A pretty good way. I will modify my code. Please, cc me when sending your next patch to LKML, thanks. Best regards, Zoltán Böszörményi - To unsubscribe

Re: [patch] CFS scheduler, -v18

2007-06-27 Thread Ingo Molnar
* Fortier,Vincent [Montreal] [EMAIL PROTECTED] wrote: -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Ingo Molnar Envoyé : 22 juin 2007 18:02 i'm pleased to announce release -v18 of the CFS scheduler patchset. The rolled-up CFS patch

2.6.21.x kernel panic (tg3 and nfs related)

2007-06-27 Thread Andre Noll
Hi Our nfs server recently paniced under heavy nfs load. The backtrace indicates that this might be a problem with the tigon3 network driver which drives the onboard chips of the machine. The first crash under 2.6.21.1 happened after about 4 days of uptime, 2.6.21.5 already crashed after 15

Re: [AppArmor 00/44] AppArmor security module overview

2007-06-27 Thread Kyle Moffett
On Jun 26, 2007, at 22:24:03, John Johansen wrote: other issues that have been raised are: - the use of d_path to generate the pathname used for mediation when a file is opened. - Generating the pathname using a reverse walk is considered ugly A little more than ugly. In this basic

Re: synchronize_qrcu_timeout()

2007-06-27 Thread Oleg Nesterov
On 06/26, Paul E. McKenney wrote: On Mon, Jun 25, 2007 at 07:49:57PM +0400, Oleg Nesterov wrote: On 06/25, Oleg Nesterov wrote: On 06/25, Paul E. McKenney wrote: On Mon, Jun 25, 2007 at 02:43:32PM +0400, Oleg Nesterov wrote: Sadly, you can't use srcu/qrcu because it

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-27 Thread Wakko Warner
Takashi Iwai wrote: At Tue, 26 Jun 2007 12:25:16 -0400, Wakko Warner wrote: I have a motherboard with an intel chipset and onboard audio. I have a problem with alsa. There's no pcm* files in /proc/asound/card0. Set CONFIG_SND_VERBOSE_PROCFS=y. GAH! Thanks, I didn't think I needed it

[2.6 PATCH] Fix LDM for new field in the VOL5 VBLK.

2007-06-27 Thread Anton Altaparmakov
Linus/Andrew, Please apply the below patch to the LDM driver. It fixes LDM for people using Vista who have disabled drive letter assignment from one or more volumes. Doing this introduces a so far unknown field in the LDM database in the VOL5 VBLK structure which causes the LDM driver to

Re: [PATCH] trim memory not covered by WB MTRRs

2007-06-27 Thread Andi Kleen
On Wed, Jun 27, 2007 at 12:44:01PM +0200, Pim Zandbergen wrote: Jesse saved my life by releasing a patch that made my GigaByte Intel G33 based motherboard use all of its 8GB RAM and not be slow as hell. That's impossible. Either it limited your RAM or it didn't change anything. -Andi - To

Re: [PATCH] sys_time-speedup-small-cleanup

2007-06-27 Thread Oleg Nesterov
On 06/26, Chris Snook wrote: Oleg Nesterov wrote: on top of sys_time-speedup.patch Ingo Molnar wrote: asmlinkage long sys_time(time_t __user * tloc) { - time_t i; - struct timeval tv; + /* +* We read xtime.tv_sec atomically - it's updated +* atomically by

Re: [PATCH 02/17] OMAP: Add TI OMAP1610 accelerator entry.

2007-06-27 Thread Trilok Soni
On 6/26/07, Sam Ravnborg [EMAIL PROTECTED] wrote: Your patch ordering is bad. Patch 1 uses the symbol: FB_ACCEL_OMAP1610 but it is defined by patch 2. Please reorder patches so the module compiles for each and every patch being applied. In this way you do not break git bisect for example.

Re: pci.h stubs (was: EDD build error)

2007-06-27 Thread Matthew Wilcox
On Tue, Jun 26, 2007 at 09:45:05PM -0500, Matt Domsch wrote: On Tue, Jun 26, 2007 at 01:26:22PM -0700, Randy Dunlap wrote: ERROR: pci_get_bus_and_slot [drivers/firmware/edd.ko] undefined! It should be stubbed, in include/linux/pci.h where all the other PCI functions are stubbed for the

Re: [PATCH] trim memory not covered by WB MTRRs

2007-06-27 Thread Pim Zandbergen
Andi Kleen wrote: That's impossible. Either it limited your RAM or it didn't change anything. OK, maybe it's cosmetic, but I would not expect a negative number With old BIOS it printed MTRRs don't cover all of memory, trimmed 196608 pages with new BIOS it prints MTRRs don't cover

Re: [PATCH] trim memory not covered by WB MTRRs

2007-06-27 Thread Justin Piszcz
On Wed, 27 Jun 2007, Pim Zandbergen wrote: Andi Kleen wrote: That's impossible. Either it limited your RAM or it didn't change anything. OK, maybe it's cosmetic, but I would not expect a negative number With old BIOS it printed MTRRs don't cover all of memory, trimmed 196608 pages

Re: [PATCH 16/16] fix handling of integer constant expressions

2007-06-27 Thread Neil Booth
Al Viro wrote:- sparse simply doesn't check that. We don't have anything resembling support of VLA. Note that check for integer constant expression has nothing to do with that; int x[(int)(0.6 + 0.6)]; is valid (if stupid). It isn't valid; it fails the test twice. Both 0.6

Re: [RFC] fsblock

2007-06-27 Thread Chris Mason
On Wed, Jun 27, 2007 at 07:32:45AM +0200, Nick Piggin wrote: On Tue, Jun 26, 2007 at 08:34:49AM -0400, Chris Mason wrote: On Tue, Jun 26, 2007 at 07:23:09PM +1000, David Chinner wrote: On Tue, Jun 26, 2007 at 01:55:11PM +1000, Nick Piggin wrote: [ ... fsblocks vs extent range mapping ]

checkpatch: need space before that '*' (ctx:BxB)

2007-06-27 Thread Trilok Soni
Andy, In the following case we may not need space before that (*). It looks like false positive. Please check. need space before that '*' (ctx:BxB) #1034: FILE: drivers/video/omap/omapfb.c:968: + omapfb_nb-nb.notifier_call = (int (*)(struct notifier_block *,

Re: [NETFILTER] early_drop() imrovement (v4)

2007-06-27 Thread Patrick McHardy
Patrick McHardy wrote: Vasily Averin wrote: When the number of conntracks is reached nf_conntrack_max limit, early_drop() tries to free one of already used conntracks. If it does not find any conntracks that may be freed, it leads to transmission errors. In current implementation the

Re: NVidia Driver Support - 1680x1050 mode

2007-06-27 Thread Xavier Bestel
On Wed, 2007-06-27 at 06:42 -0400, Kyle Moffett wrote: If you're using a DVI cable, ensure it is dual-link. Uhh, no; 1680x1050 does not require a dual-link DVI port/cable. FWIW single-link DVI can do 1920x1200 - for that the X server uses a reduced blanking mode, i.e. the vertical and

Re: [PATCH 16/16] fix handling of integer constant expressions

2007-06-27 Thread Neil Booth
Al Viro wrote:- Hopefully correct handling of integer constant expressions. Please, review. Here are three independently invalid non-ICEs that sparse doesn't diagnose. extern int f(void); enum { cast_to_ptr = (int) (void *) 0 }; enum { cast_to_float = (int) (double) 1 }; enum { fncall = 0 ?

Re: [PATCH 16/16] fix handling of integer constant expressions

2007-06-27 Thread Al Viro
On Wed, Jun 27, 2007 at 08:52:45PM +0900, Neil Booth wrote: Al Viro wrote:- sparse simply doesn't check that. We don't have anything resembling support of VLA. Note that check for integer constant expression has nothing to do with that; int x[(int)(0.6 + 0.6)]; is valid

Re: [PATCH] RFC: have tcp_recvmsg() check kthread_should_stop() and treat it as if it were signalled

2007-06-27 Thread Oleg Nesterov
On 06/27, Satyam Sharma wrote: Thanks for your comments, I'm still not convinced, however. An perhaps you are right. I don't have a very strong opinion on that. Still I can't understand why it is better if kthread_stop() sends a signal as well. Contrary, I believe we should avoid signals when

[PATCH] linux/cache.h export - workaround for headers_check error (Re: mm snapshot broken-out-2007-06-27-03-28.tar.gz uploaded)

2007-06-27 Thread Michal Piotrowski
Hi, [EMAIL PROTECTED] pisze: The mm snapshot broken-out-2007-06-27-03-28.tar.gz has been uploaded to ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-06-27-03-28.tar.gz It contains the following patches against 2.6.22-rc6: I get this error while headers_check

Re: [PATCH 16/16] fix handling of integer constant expressions

2007-06-27 Thread Neil Booth
Al Viro wrote:- Egads... After rereading that... What a mess. int foo(void) { static int a[1][0,2]; } is, AFAICS, allowed. Reason: int a[0,2] is a VLA due to 6.7.5.2[4] (0,2 is not an ICE). However, due to the language in the same section, int a[1][0,2] is

Re: [NETFILTER] early_drop() imrovement (v4)

2007-06-27 Thread Vasily Averin
Patrick McHardy wrote: + for (i = 0; i NF_CT_EVICTION_RANGE; i++) { + hlist_for_each_entry(h, n, nf_conntrack_hash[hash], hnode) { + tmp = nf_ct_tuplehash_to_ctrack(h); + if (!test_bit(IPS_ASSURED_BIT, tmp-status)) +

Re: [PATCH 16/16] fix handling of integer constant expressions

2007-06-27 Thread Al Viro
On Wed, Jun 27, 2007 at 09:10:21PM +0900, Neil Booth wrote: Al Viro wrote:- Hopefully correct handling of integer constant expressions. Please, review. Here are three independently invalid non-ICEs that sparse doesn't diagnose. extern int f(void); enum { cast_to_ptr = (int) (void *)

Re: [patch 2/3] MAP_NOZERO - implement sys_brk2()

2007-06-27 Thread Hugh Dickins
On Tue, 26 Jun 2007, Ulrich Drepper wrote: On 6/26/07, Davide Libenzi [EMAIL PROTECTED] wrote: OTOH glibc could implement __morecore using mmap(MAP_NOZERO), and hence brk2() would not be needed, no? No. mmap calls create individual VMAs which gets expensive. There are also some

Re: [PATCH 16/16] fix handling of integer constant expressions

2007-06-27 Thread Al Viro
On Wed, Jun 27, 2007 at 09:26:28PM +0900, Neil Booth wrote: DR 312 clarified the meaning of known constant size http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_312.htm in the sensible way, thankfully, so your example is actually invalid. looks Aha. OK... I'd say that 6.7.5.2[4]

Re: [RFC] fsblock

2007-06-27 Thread Kyle Moffett
On Jun 26, 2007, at 07:14:14, Nick Piggin wrote: On Tue, Jun 26, 2007 at 07:23:09PM +1000, David Chinner wrote: Can we call it a block mapping layer or something like that? e.g. struct blkmap? I'm not fixed on fsblock, but blkmap doesn't grab me either. It is a map from the pagecache to

Re: Question about fair schedulers

2007-06-27 Thread Alberto Gonzalez
On Saturday 23 June 2007, Kyle Moffett wrote: On Jun 22, 2007, at 18:07:15, Alberto Gonzalez wrote: P.S: As a second thought, a fair scheduler could behave really good in other scenarios, like a server running a busy forum on apache +mysql+php. Besides, this is a more real world scenario

Re: [RFC 1/7] cpuset write dirty map

2007-06-27 Thread Christoph Lameter
On Wed, 27 Jun 2007, Andrew Morton wrote: I'm more concerned about all of Mel's code in -mm actually. I don't recall anyone doing a full review recently and I'm still not sure that this is the overall direction in which we wish to go. Last time I asked this everyone seemed a bit waffly and

Re: checkpatch: need space before that '*' (ctx:BxB)

2007-06-27 Thread Jan Engelhardt
On Jun 27 2007 17:24, Trilok Soni wrote: In the following case we may not need space before that (*). It looks like false positive. Please check. need space before that '*' (ctx:BxB) #1034: FILE: drivers/video/omap/omapfb.c:968: + omapfb_nb-nb.notifier_call = (int (*)(struct

[PATCH] [RFC] security: add hook inode_post_removexattr

2007-06-27 Thread Hawk Xu
Add hook inode_post_removexattr for updating inode security field after successful removexattr operation. Signed-off-by: Hawk Xu [EMAIL PROTECTED] --- fs/xattr.c |7 +-- include/linux/security.h | 19 +++ security/dummy.c |6 ++ 3 files

Re: [NETFILTER] early_drop() imrovement (v4)

2007-06-27 Thread Patrick McHardy
Vasily Averin wrote: Patrick McHardy wrote: + for (i = 0; i NF_CT_EVICTION_RANGE; i++) { + hlist_for_each_entry(h, n, nf_conntrack_hash[hash], hnode) { + tmp = nf_ct_tuplehash_to_ctrack(h); + if (!test_bit(IPS_ASSURED_BIT, tmp-status)) +

Re: [PATCH] hw_random: add quality categories

2007-06-27 Thread Michael Buesch
On Wednesday 27 June 2007 05:18:00 Matt Mackall wrote: On Tue, Jun 26, 2007 at 04:45:24PM +0200, Michael Buesch wrote: On Tuesday 26 June 2007 16:32:37 Matt Mackall wrote: No wait. You are missing the whole point of this quality category. The whole point of it is to prevent

Re: [PATCH] LinuxPPS (with new syscalls API)

2007-06-27 Thread Rodolfo Giometti
On Wed, Jun 27, 2007 at 11:18:30AM +0100, David Woodhouse wrote: On Wed, 2007-06-27 at 12:14 +0200, Rodolfo Giometti wrote: On Tue, Jun 26, 2007 at 06:38:40PM +0100, David Woodhouse wrote: 64-bit kernels can run 32-bit userspace programs. But some structures come out _differently_

Re: [PATCH RFC #2] hwrng: Add type categories

2007-06-27 Thread Michael Buesch
On Wednesday 27 June 2007 00:45:18 Matt Mackall wrote: On Tue, Jun 26, 2007 at 08:21:51PM +0200, Michael Buesch wrote: Don't use the word quality, as people seem to think of the entropy quality when hearing that word. Why do I so often feel compelled to respond with did you read what I

Re: NVidia Driver Support - 1680x1050 mode

2007-06-27 Thread Marc Perkel
--- Kyle Moffett [EMAIL PROTECTED] wrote: Marc, please choose a more appropriate list next time. LKML is not for user questions about Why doesn't my monitor+GPU work? On Jun 27, 2007, at 05:49:20, Daniel J Blueman wrote: On 27 Jun, 04:40, Marc Perkel [EMAIL PROTECTED] wrote:

Re: [PATCH] hw_random: add quality categories

2007-06-27 Thread Michael Buesch
On Wednesday 27 June 2007 04:00:46 Henrique de Moraes Holschuh wrote: On Tue, 26 Jun 2007, Michael Buesch wrote: On Tuesday 26 June 2007 16:06:25 Henrique de Moraes Holschuh wrote: Which, AFAIK, we can quantify as the minimum expected entropy in the output. The category is _not_ a

Re: [PATCH 16/16] fix handling of integer constant expressions

2007-06-27 Thread Neil Booth
Al Viro wrote:- If you want to test ICE recognition, right now only the following places are checking for it: * bitfield width * __attribute__((aligned(number))) * __attribute__((address_space(number))) * [index] in designators within initializer list * [index

Re: [NETFILTER] early_drop() imrovement (v4)

2007-06-27 Thread Vasily Averin
Patrick McHardy wrote: Vasily Averin wrote: it is incorrect, We should count the number of checked _conntracks_, but you count the number of hash buckets. I.e i should be incremented/checked inside the nested loop. I misunderstood your patch then. This one should be better. +static int

  1   2   3   4   5   6   7   8   >