Re: Free Linux Driver Development!

2007-02-07 Thread Greg KH
On Wed, Feb 07, 2007 at 06:03:58AM -0800, Tejun Heo wrote: > I can write ATA drivers for most hardware in a few days given 1. > actually useful datasheet 2. hardware at hand 3. an ENGINEER to talk to > when I get stuck. So, sign me up. Thanks, I'll add you to the list. > It will be nice to hav

Re: [RFC] Tracking mlocked pages and moving them off the LRU

2007-02-07 Thread Nate Diller
On 2/7/07, Christoph Lameter <[EMAIL PROTECTED]> wrote: On Tue, 6 Feb 2007, Nate Diller wrote: > > The dirty ratio with the ZVCS would be > > > > NR_DIRTY + NR_UNSTABLE_NFS > > / > > NR_FREE_PAGES + NR_INACTIVE + NR_ACTIVE + NR_MLOCK > > I don't understand why you want to account mlocked

Re: PROBLEM: sata timeouts with intel 82801HB on amd64

2007-02-07 Thread Otavio Salvador
"Trevor Offner Caira" <[EMAIL PROTECTED]> writes: > (3) Keywords: SATA, AHCI, modules, kernel, Intel. Does your systems is being run using ata_piix or ahci driver? -- O T A V I OS A L V A D O R - E-mail: [EMAIL PROTECTED] UIN: 590611

[PATCH] [NETDEV] [005] dmfe : Add support for wake-on-lan

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NETDEV] [005] dmfe : Add support for wake-on-lan Adds support for wake on lan feature Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> --- This board supports WOL on magic packet / link change / specific packet This adds support for WO

[PATCH] [NETDEV] [004] dmfe : Add suspend/resume support

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NETDEV] [004] dmfe : Add suspend/resume support Adds support for suspend/resume --- --- linux-2.6.20-mod/drivers/net/tulip/dmfe.c   2007-02-07 18:46:13.0 +0200 +++ linux-2.6.20-test/drivers/net/tulip/dmfe.c  2007-02-07 18:50:52

[PATCH] [NETDEV] [003] dmfe : fix link detection

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [003] dmfe : fix link detection Cleanup link detection Fix link not detected when using external PHY Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> --- CR12's bits 0 and 1 show link status/speed only for internal PHY. In case ex

Re: [PATCH 2.6.20] rcutorture: Use ARRAY_SIZE macro when appropriate

2007-02-07 Thread Josh Triplett
Ahmed S. Darwish wrote: > Signed-off-by: Ahmed S. Darwish <[EMAIL PROTECTED]> Thanks. I've applied to my local tree, and I'll push it out shortly along with some other cleanup patches. - Josh Triplett signature.asc Description: OpenPGP digital signature

[PATCH] [NETDEV] [002] dmfe : Fix possible oops

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [002] dmfe : Fix possible oops Deallocate memory after driver is unregistred to prevent oops Don't dereference NULL pointer that can be returned by dev_alloc_skb in case of oom Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> ---

Re: [git patches] IDE updates for 2.6.20

2007-02-07 Thread Alan
> > reference to the previous discussion or put the ACPI patch somewhere for > > review first. > > http://kernel.org/pub/linux/kernel/people/bart/pata-2.6/patches/ide-acpi-support.patch > Thanks Acked-by: Alan Cox <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 2/2] sysctl: Restore the selinux path based label lookup for sysctls.

2007-02-07 Thread Stephen Smalley
On Tue, 2007-02-06 at 14:21 -0700, Eric W. Biederman wrote: > This time instead of generating the generating the paths from proc_dir_entries > generate the labels from the names in the sysctl ctl_tables themselves. This > removes an unnecessary layer of indirection, allows this to work even when >

[PATCH] [NETDEV] [001] dmfe : trivial/spelling fixes

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [001] dmfe : trivial/spelling fixes Fix a typo, and wrap lines on 80-th column Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> --- --- linux-2.6.20-org/drivers/net/tulip/dmfe.c   2007-02-03 11:47:52.0 +0200 +++ linux-2.6

[PATCH] [NETDEV] [000] dmfe : fix bugs and add features

2007-02-07 Thread Levitsky Maxim
Hello, Before some time I decided to fix suspend/resume on my Davicom network card. During development I also fixed couple of bugs and added support for link detection and WOL Note : 2.6.20 already has support for link detection , but it is broken when card has external PHY , like mine. So here

Re: alloc_bootmem - Kernel panic

2007-02-07 Thread Asgard
On 2/7/07, Martyn Welch <[EMAIL PROTECTED]> wrote: Which leads me to the question: what is the best method to reserve a large (~4MB) coherent buffer for DMA transfers? May be you should to use alloc_pages with __GFP_DMA flag, and then use page_address to get address of first allocated page.

Re: [git patches] IDE updates for 2.6.20

2007-02-07 Thread Sergei Shtylyov
Hello. Alan wrote: On Wed, 07 Feb 2007 19:08:14 +0100 Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> wrote: - ACPI support for IDE (has been in SuSE kernels for months) (Hannes Reinecke <[EMAIL PROTECTED]>) I can find no public copy of this or discussion of it, please post a http://marc.t

Re: [autofs] Bad race condition in the new autofs protocol somewhere

2007-02-07 Thread Olivier Galibert
On Thu, Feb 08, 2007 at 03:07:41AM +0900, Ian Kent wrote: > It may be better to update to a later kernel so I don't have to port the > patch to several different kernels. Is that possible? Sure, 2.6.20 or -git? OG. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH] [NET] dmfe : number of fixes and features

2007-02-07 Thread Levitsky Maxim
--- Randy Dunlap <[EMAIL PROTECTED]> wrote: > On Wed, 7 Feb 2007 09:57:21 -0800 (PST) Levitsky Maxim wrote: > > > Hello, > > > > Before some time I decided to fix suspend/resume on my Davicom network card. > > During development I also fixed couple of bugs and added support for link > > detect

[PATCH] FS : Speedup rw_verify_area()

2007-02-07 Thread Eric Dumazet
oprofile hunting showed a stall in rw_verify_area(), because of triple indirection and potential cache misses. (file->f_path.dentry->d_inode->i_flock) By moving initialization of 'struct inode' pointer before the pos/count sanity tests, we allow the compiler and processor to perform two loads by

Re: [git patches] IDE updates for 2.6.20

2007-02-07 Thread Alan
On Wed, 07 Feb 2007 19:08:14 +0100 Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> wrote: > - ACPI support for IDE (has been in SuSE kernels for months) > (Hannes Reinecke <[EMAIL PROTECTED]>) > I can find no public copy of this or discussion of it, please post a reference to the previous discussi

Re: [patch 2/3, resend] kbuild: improve option checking, Kbuild.include cleanup

2007-02-07 Thread Oleg Verych
On Wed, Feb 07, 2007 at 03:36:47PM +0100, Roman Zippel wrote: > Hi, > > On Tue, 6 Feb 2007, Oleg Verych wrote: > > > -- all checks by shell united in one macro -- checker-shell; > > -- one disposable output sym. link to /dev/null per shell, > >thus no racing, `-Z' is removed; > > -- modules'

Re: [PATCH] [NET] dmfe : number of fixes and features

2007-02-07 Thread Randy Dunlap
On Wed, 7 Feb 2007 09:57:21 -0800 (PST) Levitsky Maxim wrote: > Hello, > > Before some time I decided to fix suspend/resume on my Davicom network card. > During development I also fixed couple of bugs and added support for link > detection and WOL > Note : 2.6.20 already has support for link det

Re: [autofs] Bad race condition in the new autofs protocol somewhere

2007-02-07 Thread Ian Kent
On Wed, 2007-02-07 at 18:34 +0100, Olivier Galibert wrote: > The setup: > /people is a NIS automount. /people/gadda points to > m179:/disk05/disk11/gadda > /hosts is a two-level automount, /hosts/xx/yy points to xx:/yy using: > > in auto.master: > /hosts file:/etc/auto.hosts > > in /etc/a

Re: [PATCH] remove sb->s_files and file_list_lock usage in dquot.c

2007-02-07 Thread Jan Engelhardt
On Feb 7 2007 08:22, Christoph Hellwig wrote: >> That loop has (and had) up to O(n^n) operations. Is there something which >> prevents this from going insane? > >I don't think so. Then again it's only called when you call quotaon on >a mounted filesystem, and normally you don't have that many i

Re: [PATCH] [NET] dmfe : number of fixes and features

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [005] dmfe : Add support for wake-on-lan Adds support for wake on lan feature Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> --- This board supports WOL on magic packet / link change / specific packet This adds support for WOL o

[git patches] IDE updates for 2.6.20

2007-02-07 Thread Bartlomiej Zolnierkiewicz
Hi, Short summary: - HPT driver rewrite (has been in -mm for months) - driver for Toshiba TC86C001 chipset - some fixes for piix/slc90e66/pdc202xx_new drivers (Sergei Shtylyov <[EMAIL PROTECTED]>) - driver for ITE IT8213 chipset (Jack Lee <[EMAIL PROTECTED]>, some fixes from Alan Cox and me

Re: [PATCH] [NET] dmfe : number of fixes and features

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [004] dmfe : Add suspend/resume support Adds support for suspend/resume --- --- linux-2.6.20-mod/drivers/net/tulip/dmfe.c 2007-02-07 18:46:13.0 +0200 +++ linux-2.6.20-test/drivers/net/tulip/dmfe.c 2007-02-07 18:50:52.00

Re: [PATCH] mfd: SM501 core driver

2007-02-07 Thread Vincent Sanders
On Tue, Feb 06, 2007 at 09:09:30PM -0800, Andrew Morton wrote: > On Tue, 6 Feb 2007 19:26:28 + Ben Dooks <[EMAIL PROTECTED]> wrote: > > > This patch is an update patch, ready for merging > > for the Silicon Motion SM501 multi-function device > > core. > > > > This driver handles the core func

Re: [PATCH] [NET] dmfe : number of fixes and features

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [003] dmfe : fix link detection Cleanup link detection Fix link not detected when using external PHY Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> --- CR12's bits 0 and 1 show link status/speed only for internal PHY. In case ex

Re: [PATCH] [NET] dmfe : number of fixes and features

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [002] dmfe : Fix possible oops Deallocate memory after driver is unregistred to prevent oops Don't dereference NULL pointer that can be returned by dev_alloc_skb in case of oom Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> ---

Re: [PATCH] [NET] dmfe : number of fixes and features

2007-02-07 Thread Levitsky Maxim
From: Maxim Levitsky <[EMAIL PROTECTED]> Subject: [PATCH] [NET] [001] dmfe : trivial/spelling fixes Fix a typo, and wrap lines on 80-th column Signed-off-by: Maxim Levitsky <[EMAIL PROTECTED]> --- --- linux-2.6.20-org/drivers/net/tulip/dmfe.c 2007-02-03 11:47:52.0 +0200 +++ linux-2.6

[PATCH] [NET] dmfe : number of fixes and features

2007-02-07 Thread Levitsky Maxim
Hello, Before some time I decided to fix suspend/resume on my Davicom network card. During development I also fixed couple of bugs and added support for link detection and WOL Note : 2.6.20 already has support for link detection , but it is broken when card has external PHY , like mine. So here

Re: Free Linux Driver Development!

2007-02-07 Thread Tejun Heo
Eric Sandeen wrote: Jeff Garzik wrote: Eric Sandeen wrote: Jeff Garzik wrote: Roland Dreier wrote: And I seem to recall there's more SATA chipset documentation than Jeff Garzik has time to implement support for. I seriously doubt you can come up with even a single concrete example here. Not

Re: [QUESTION] ATA: abnormal status 0x80 on port 0xCC07

2007-02-07 Thread Tejun Heo
Hello, Michal Piotrowski wrote: [--snip--] diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index a388a8d..cf70702 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -1037,7 +1037,7 @@ static unsigned int ata_id_xfermask(cons * the PIO ti

Re: libata_uli puts second channel to PIO4 on 2.6.18

2007-02-07 Thread Tejun Heo
Grzegorz Kulewski wrote: It worked very well for half a year but with one disk (IIRC it was even plugged into second channel but I wont bet on it). Now I have second disk (very similar) and it is always put into PIO4 mode: [ 17.404451] libata version 2.00 loaded. [ 17.404916] sata_uli

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

2007-02-07 Thread Oleg Verych
On Wed, Feb 07, 2007 at 03:39:38PM +0100, Roman Zippel wrote: > Hi, > > On Tue, 6 Feb 2007, Oleg Verych wrote: > > > -nullstring := > > -space := $(nullstring) # end of line > > +pattern = ".*/localversion[^~]*" > > +string = $(shell cat /dev/null \ > > + `find $(objtree) $(srctree) -m

Re: -mcpu strikes back

2007-02-07 Thread Roman Zippel
Hi, On Wed, 7 Feb 2007, Alexey Dobriyan wrote: > The change below is shitting i386 defconfig (as well as my usual config) > build log with warnings: > > CC init/main.o > `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. > `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instea

Re: What does this scsi error mean ?

2007-02-07 Thread Olivier Galibert
On Thu, Jan 18, 2007 at 03:08:46PM +0100, Olivier Galibert wrote: > On Mon, Jan 15, 2007 at 11:14:52PM +, Alan wrote: > > > Both smart and the internal blade diagnostics say "everything is a-ok > > > with the drive, there hasn't been any error ever except a bunch of > > > corrected ECC ones, an

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Andrew Morton
On Wed, 7 Feb 2007 17:50:55 +0100 Andi Kleen <[EMAIL PROTECTED]> wrote: > On Wednesday 07 February 2007 17:23, Andrew Morton wrote: > > On 07 Feb 2007 11:20:06 +0100 Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > > KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> writes: > > > > > > > current mempolicy just

Re: [PATCH 3/6] workqueue: make cancel_rearming_delayed_workqueue() work on idle dwork

2007-02-07 Thread Oleg Nesterov
On 02/07, Oleg Nesterov wrote: > > The following code > > schedule_delayed_work(dw); > cancel_rearming_delayed_workqueue(dw); // OK > cancel_rearming_delayed_workqueue(dw); // HANGS! > > still doesn't work. I think we have another problem with delayed_works. cancel_rearming

Bad race condition in the new autofs protocol somewhere

2007-02-07 Thread Olivier Galibert
The setup: /people is a NIS automount. /people/gadda points to m179:/disk05/disk11/gadda /hosts is a two-level automount, /hosts/xx/yy points to xx:/yy using: in auto.master: /hosts file:/etc/auto.hosts in /etc/auto.hosts: * -fstype=autofs,-Dhost=& file=/etc/auto.hosts.sub in /etc/auto.

Re: PROBLEM: sata timeouts with intel 82801HB on amd64

2007-02-07 Thread Paolo Ornati
On Wed, 7 Feb 2007 07:59:46 -0500 (EST) "Trevor Offner Caira" <[EMAIL PROTECTED]> wrote: > > 1) disabling NCQ ("echo 1 > /sys/block/sda/device/queue_depth" in a > > boot script) > > No, this does not fix it. > > > OR > > > > 2) mounting XFS filesystem(s) with "nobarrier" option > > Neither

2.6.18.2: sporadic SATA port resets (Broadcom BCM5785 (HT1000))

2007-02-07 Thread Emmeran Seehuber
Hi there, we`ve got a database server machine running a 2.6.18.2 vanilla kernel on Debian Etch. The database is MySQL 5. Everything works fine, but sometimes the server "lags", i.e. it doesn`t respond for 30 seconds. We`ve now investigated the problem and found this messages in syslog (and dmes

[PATCH] sk98lin: planned removal

2007-02-07 Thread Stephen Hemminger
Document planned removal of sk98lin driver. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- Documentation/feature-removal-schedule.txt |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-remova

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

2007-02-07 Thread H. Peter Anvin
Etienne Lorrain wrote: I did try to remove by "sed" some structure easily converted, like: mov 26(%ebx),%eax by: mov 26(%bx),%eax for all registers esi,edi,ebx,ebp but it saved so few bytes that I did not keep it. Well, *of course*, since you still do all your pointer arithmetic in 32-b

RE: [PATCH] [IA64] Include kexec.h in arch/ia64/kernel/process.c

2007-02-07 Thread Luck, Tony
> kexec.h is needed by arch/ia64/kernel/process.c so for the > declaration of kexec_disable_iosapic() which is used in machine_shutdown(). > +#include I merged this into your earlier change (moving machine_shutdown() into process.c). Linus pulled it last night. I also added a "#ifdef CONFIG_KE

Re: [PATCH] mfd: SM501 core driver

2007-02-07 Thread Ben Dooks
On Wed, Feb 07, 2007 at 08:52:25AM -0800, Andrew Morton wrote: > On Wed, 7 Feb 2007 11:48:25 + Ben Dooks <[EMAIL PROTECTED]> wrote: > > > On Tue, Feb 06, 2007 at 09:09:30PM -0800, Andrew Morton wrote: > > > On Tue, 6 Feb 2007 19:26:28 + Ben Dooks <[EMAIL PROTECTED]> wrote: > > > > > > > T

[PATCH] pata_acpi: take two

2007-02-07 Thread Alan
This is a driver for motherboard SFF style PATA ports that have ACPI control methods. In theory it provides support for just about any motherboard PATA controller with ACPI methods. I've tested it on a few controllers and it seems to work fine after a couple of bug fixes from the original. It also

SCSI logging sucks

2007-02-07 Thread Chuck Ebbert
SCSI logging isn't documented very well, and what little there is has a problem: In Documentation/kernel-parameters.txt we have: scsi_logging= [SCSI] but it's really "scsi_logging_level", as seen here in drivers/scsi/scsi.c: module_param(scsi_logging_level, int, S_IRUGO|S_IWUSR); MO

Re: [PATCH] Broken ArcNet com20020 pcmcia driver in 2.6.20

2007-02-07 Thread Randy Dunlap
Esben Nielsen wrote: Hi, I can not get my com20020 pcmcia driver to work as a module under 2.6.20. There is the build problem: Please send me your .config file. I can't seem to reproduce this. MODPOST 30 modules WARNING: "com20020_found" [drivers/net/pcmcia/com20020_cs.ko] undefined! WARNIN

Re: [PATCH] mfd: SM501 core driver

2007-02-07 Thread Andrew Morton
On Wed, 7 Feb 2007 11:48:25 + Ben Dooks <[EMAIL PROTECTED]> wrote: > On Tue, Feb 06, 2007 at 09:09:30PM -0800, Andrew Morton wrote: > > On Tue, 6 Feb 2007 19:26:28 + Ben Dooks <[EMAIL PROTECTED]> wrote: > > > > > This patch is an update patch, ready for merging > > > for the Silicon Motio

[PATCH] ecryptfs lower file handling code issues

2007-02-07 Thread Dmitriy Monakhov
eCryptfs lower file handling code has several issues: - Retval from prepare_write()/commit_writ() was't checked to equality to AOP_TRUNCATED_PAGE. - In some places page was't unmapped and unlocked after error. Signed-off-by: Dmitriy Monakhov <[EMAIL PROTECTED]> -- diff --gi

-mcpu strikes back

2007-02-07 Thread Alexey Dobriyan
The change below is shitting i386 defconfig (as well as my usual config) build log with warnings: CC init/main.o `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. gcc is 4.1.1. -- $ git-cat-file commit 5

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Andi Kleen
On Wednesday 07 February 2007 17:23, Andrew Morton wrote: > On 07 Feb 2007 11:20:06 +0100 Andi Kleen <[EMAIL PROTECTED]> wrote: > > > KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> writes: > > > > > current mempolicy just checks whether a node is online or not. > > > If there is memory-less-node, mempolic

RE: alloc_bootmem - Kernel panic

2007-02-07 Thread Martyn Welch
Hi Asgard, Thank you for your reply. > I don't sure, that linux performs to allocate bootmem after kernel already > booted. > As I know, bootmem allocator "destroyed" when kernel initializes buddy > allocator. > Indeed you can look at arch/i385/mm/init.c, mem_init routine. > kernel pass

Re: mm snapshot broken-out-2007-02-06-16-59.tar.gz uploaded

2007-02-07 Thread Cedric Le Goater
[EMAIL PROTECTED] wrote: > The mm snapshot broken-out-2007-02-06-16-59.tar.gz has been uploaded to > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-02-06-16-59.tar.gz I'm having download issues : wrong modes :( ftp.kernel.org:/pub/linux/kernel/people/akpm/mm> ls ...

[QUESTION] Kernelspace <-> Userspace communication during tcp stack code execution

2007-02-07 Thread Jack Bauer
Hi, I'm a student in computer science and for my master thesis i have to modify the kernel TCP stack in a way that it allows to perform a transparent user authentification during the TCP 3-way-handshake (with the help of a modified firewall which tracks the 3-way-handshake). As you might imagine

Re: [PATCH] Re: Bio device too big | kernel BUG at mm/filemap.c:537!

2007-02-07 Thread Kai
On Wed, 7 Feb 2007 10:26:56 +1100, "Neil Brown" <[EMAIL PROTECTED]> said: > On Tuesday February 6, [EMAIL PROTECTED] wrote: > > > > This patch should fix the worst of the offences, but I'd like to > > experiment and think a bit more before I submit it to stable. > > And probably test it too - as

Re: [RFC 0/28] Patches to pass vfsmount to LSM inode security hooks

2007-02-07 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Wright wrote: > * Andreas Gruenbacher ([EMAIL PROTECTED]) wrote: >> Reiserfs currently only marks the ".reiserfs_priv" directory as private, but >> not the files below it -- how about the attached patch to fix that? > > I don't think that's rig

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Andrew Morton
On 07 Feb 2007 11:20:06 +0100 Andi Kleen <[EMAIL PROTECTED]> wrote: > KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> writes: > > > current mempolicy just checks whether a node is online or not. > > If there is memory-less-node, mempolicy's target node can be > > invalid. > > This patch adds a check whethe

[PATCH] Atmel SPI controller driver

2007-02-07 Thread Haavard Skinnemoen
Driver for the Atmel on-chip SPI master controller. Tested primarily on AVR32/AT32AP7000/ATSTK1000 using mtd_dataflash and the jffs2 filesystem. Should also work fine on various AT91 ARM-based chips like AT91SAM926x. Hardware documentation can be found in the AT32AP7000 data sheet, which can be d

Re: posix-timers overrun broken?

2007-02-07 Thread Thomas Gleixner
On Wed, 2007-02-07 at 14:36 +0100, Milan Svoboda wrote: > But if the next interrupt arrives before function collect_signal is called > to actually deliver the > siginfo_t to userspace, the si.overrun is cleared in posix_timer_event and > we have just forgotten > one overrun... > > Am I wrong? Y

Re: [RFC 0/28] Patches to pass vfsmount to LSM inode security hooks

2007-02-07 Thread Stephen Smalley
On Wed, 2007-02-07 at 07:43 -0800, Chris Wright wrote: > * Andreas Gruenbacher ([EMAIL PROTECTED]) wrote: > > Reiserfs currently only marks the ".reiserfs_priv" directory as private, > > but > > not the files below it -- how about the attached patch to fix that? > > I don't think that's right.

Performance of concurrent senders

2007-02-07 Thread Sen Horak
Hi -- I have been running some experiments involving processes sending large volumes of data concurrently. The results show (on Linux 2.6.19.2) that although the total throughput achieved by all the processes remains constant, the jitter increases as the number of processes increases. Beyond abou

Re: [Cbe-oss-dev] [RFC, PATCH] CELL Oprofile SPU profiling updated patch

2007-02-07 Thread Maynard Johnson
Carl Love wrote: Subject: Add support to OProfile for profiling Cell BE SPUs From: Maynard Johnson <[EMAIL PROTECTED]> This patch updates the existing arch/powerpc/oprofile/op_model_cell.c to add in the SPU profiling capabilities. In addition, a 'cell' subdirectory was added to arch/powerpc/

Re: [RFC 0/28] Patches to pass vfsmount to LSM inode security hooks

2007-02-07 Thread Chris Wright
* Andreas Gruenbacher ([EMAIL PROTECTED]) wrote: > Reiserfs currently only marks the ".reiserfs_priv" directory as private, but > not the files below it -- how about the attached patch to fix that? I don't think that's right. Look at ->create or ->lookup. Both of those properly set the private

Re: [PATCH] mfd: SM501 core driver

2007-02-07 Thread Ben Dooks
On Wed, Feb 07, 2007 at 06:24:15AM -0800, Greg KH wrote: > On Wed, Feb 07, 2007 at 11:48:25AM +, Ben Dooks wrote: > > On Tue, Feb 06, 2007 at 09:09:30PM -0800, Andrew Morton wrote: > > > On Tue, 6 Feb 2007 19:26:28 + Ben Dooks <[EMAIL PROTECTED]> wrote: > > > > +/* sm501_null_release > > >

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread KAMEZAWA Hiroyuki
On Wed, 7 Feb 2007 06:05:56 -0800 (PST) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Wed, 7 Feb 2007, KAMEZAWA Hiroyuki wrote: > > > > IMHO there shouldn't be any memory less nodes. The architecture code > > > should not create them. The CPU should be assigned to a nearby node > > > instead

Re: [PATCH 3/6] workqueue: make cancel_rearming_delayed_workqueue() work on idle dwork

2007-02-07 Thread Oleg Nesterov
On 02/07, Daniel Drake wrote: > > Oleg Nesterov wrote: > >cancel_rearming_delayed_workqueue(dwork) will hang forever if dwork was not > >scheduled, because in that case cancel_delayed_work()->del_timer_sync() > >never > >returns true. > > Thanks! We hit this problem before with the zd1211rw drive

Re: [Fastboot] [ PATCH ] fix to documentation for kexec

2007-02-07 Thread Lombard, David N
On Wed, Feb 07, 2007 at 04:33:16PM +0900, Horms wrote: > On Thu, Feb 01, 2007 at 01:25:04PM -0500, Robert P. J. Day wrote: > > On Thu, 1 Feb 2007, Judith Lebzelter wrote: > > > > > > -* "init 1" boots the dump-capture kernel into single-user mode without > > > - networking. If you want networking,

Re: [PATCH 9/11] Panic delay fix

2007-02-07 Thread Dmitry Torokhov
On 2/6/07, Zachary Amsden <[EMAIL PROTECTED]> wrote: Andi Kleen wrote: > On Mon, Feb 05, 2007 at 07:53:30PM -0800, Zachary Amsden wrote: > >> Failure to use real-time delay here causes the keyboard to become demonically >> possessed in the event of a kernel crash, with wildly blinking lights and

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

2007-02-07 Thread Etienne Lorrain
Vivek Goyal wrote: >How do I know which program header is real mode code and the boot loader > is not supposed to load it? May be PT_LOAD header with physical addr 0? > What happens if changes happen and down the line we start compiling > real mode code for non-zero address? Yes, any PT_LOAD bel

Re: 2.6.20-rc6-mm3

2007-02-07 Thread Thomas Gleixner
On Tue, 2007-02-06 at 17:12 -0800, Daniel Walker wrote: > On Wed, 2007-02-07 at 00:36 +0100, Thomas Gleixner wrote: > > > There are no other clock event devices in a PC system at the moment > > and /proc/interrupt does not care, whether the interrupt was setup for a > > clock event device or somet

2.6.20: Modular fb and logo crash

2007-02-07 Thread Geert Uytterhoeven
If you don't have any builtin frame buffer device driver and insmod a frame buffer device driver, the logo code will still try to display the logo (which is __initdata). This may cause a crash. Originally (2.1.x, is it that long ago I used a modular frame buffer device driver?), this didn't happen

Re: 2.6.20 [drm:i915_wait_irq] *ERROR*

2007-02-07 Thread Sergio Monteiro Basto
On Wed, 2007-02-07 at 11:25 +1100, Dave Airlie wrote: > > > > I'm running a 2.6.20 kernel on my macbook. When running an openGL > > application, if the opengl window's region is moved somewhere outside > > the screen limits, then keyboard locks, I can only move the mouse, > > nothing response. I

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

2007-02-07 Thread Roman Zippel
Hi, On Tue, 6 Feb 2007, Oleg Verych wrote: > -nullstring := > -space := $(nullstring) # end of line > +pattern = ".*/localversion[^~]*" > +string = $(shell cat /dev/null \ > +`find $(objtree) $(srctree) -maxdepth 1 -regex $(pattern) | sort`) Calling find here is overkill, if the sa

Re: [patch 2/3, resend] kbuild: improve option checking, Kbuild.include cleanup

2007-02-07 Thread Roman Zippel
Hi, On Tue, 6 Feb 2007, Oleg Verych wrote: > -- all checks by shell united in one macro -- checker-shell; > -- one disposable output sym. link to /dev/null per shell, >thus no racing, `-Z' is removed; > -- modules' build output directory is used, if supplied; > -- every option checking functi

Re: [PATCH 3/6] workqueue: make cancel_rearming_delayed_workqueue() work on idle dwork

2007-02-07 Thread Daniel Drake
Oleg Nesterov wrote: cancel_rearming_delayed_workqueue(dwork) will hang forever if dwork was not scheduled, because in that case cancel_delayed_work()->del_timer_sync() never returns true. Thanks! We hit this problem before with the zd1211rw driver and avoided using cancel_rearming_delayed_wor

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

2007-02-07 Thread Etienne Lorrain
Eric W. Biederman wote: > H. Peter Anvin wrote: > > That's not a valid comparison, because you're using 32-bit registers to hold > > 16-bit pointers, and then sticking 67 prefixes on completely unnecessarily. > > Regardless if the size is good enough we can use it :) > > For romcc I had a 3x code b

Re: [patch 1/3, resend] scripts: replace gawk, head, bc with shell, update

2007-02-07 Thread Roman Zippel
Hi, On Tue, 6 Feb 2007, Oleg Verych wrote: > scripts: replace gawk, head, bc with shell, update > > Replacing overhead of using some (external) programs > instead of good old `sh'. awk is indeed a bit of overkill. > > Cc: Roman Zippel <[EMAIL PROTECTED]> > Cc: Sam Ravnborg <[EMAIL PROTECT

Re: [PATCH] mfd: SM501 core driver

2007-02-07 Thread Greg KH
On Wed, Feb 07, 2007 at 11:48:25AM +, Ben Dooks wrote: > On Tue, Feb 06, 2007 at 09:09:30PM -0800, Andrew Morton wrote: > > On Tue, 6 Feb 2007 19:26:28 + Ben Dooks <[EMAIL PROTECTED]> wrote: > > > +/* sm501_null_release > > > + * > > > + * A release function for the platform devices we crea

[PATCH] Broken ArcNet com20020 pcmcia driver in 2.6.20

2007-02-07 Thread Esben Nielsen
Hi, I can not get my com20020 pcmcia driver to work as a module under 2.6.20. There is the build problem: MODPOST 30 modules WARNING: "com20020_found" [drivers/net/pcmcia/com20020_cs.ko] undefined! WARNING: "com20020_check" [drivers/net/pcmcia/com20020_cs.ko] undefined! The solution: Always exp

Re: 2.6.20 doesn't compile with gcc-3.2.2

2007-02-07 Thread Al Boldi
Andi Kleen wrote: > Al Boldi <[EMAIL PROTECTED]> writes: > > Doing the following results in an incomplete vmlinuz: > > > > # make mrproper > > # make allnoconfig > > # make bzlilo > > > > objcopy: arch/i386/boot/compressed/vmlinux.bin: File truncated > > This looks more like some local problem. It

Re: [patch 1/1] PM: Adds remount fs ro at suspend

2007-02-07 Thread Rafael J. Wysocki
On Wednesday, 7 February 2007 13:05, Henrique de Moraes Holschuh wrote: > On Wed, 07 Feb 2007, Nigel Cunningham wrote: > > > We don't cope okay with the power going out, at all. And as an user > > > case, a > > > need for fsck if you do something that is a reasonable use case > > > (unplugging >

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Christoph Lameter
On Wed, 7 Feb 2007, KAMEZAWA Hiroyuki wrote: > > IMHO there shouldn't be any memory less nodes. The architecture code > > should not create them. The CPU should be assigned to a nearby node instead. > > At least x86-64 ensures that. > > > AFAIK, ia64 creates nodes just depends on SRAT's possible

Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node

2007-02-07 Thread Christoph Lameter
On Wed, 7 Feb 2007, Andi Kleen wrote: > IMHO there shouldn't be any memory less nodes. The architecture code > should not create them. The CPU should be assigned to a nearby node instead. > At least x86-64 ensures that. Yes I wish we would do it that way on all platforms. SGI's SN2 does that too

Re: [patch] MTD: fix DOC2000/2001/2001PLUS build error

2007-02-07 Thread Sunil Naidu
On 2/7/07, Linus Torvalds <[EMAIL PROTECTED]> wrote: And yes, then it's almost always correct to "turn things on as needed to make everything work out right", while turning things off would be actively wrong. I see a scenario (many others may have got this idea):- Reading H/W config at the t

Re: Free Linux Driver Development!

2007-02-07 Thread Lennart Sorensen
On Wed, Feb 07, 2007 at 07:03:26PM +0530, Sunil Naidu wrote: > Yep, still floppies are useful. Example, when we buy a new device > (driver) with a floppy (sometimes by manufacturer). Plus, from the > customer (not user) POV, what's wrong in spending another $10 for a > FDD in a typical $1000 PC? Ma

alloc_bootmem - Kernel panic

2007-02-07 Thread Martyn Welch
Hi Everyone, First I'd like to appologise if my query is glaringly obvious. I'm reasonable new to this, but every that I have read (including the Linux Device Drivers book) seems to suggest that what I am doing should work... I am attempting to allocate a large buffer for DMA transfers in a drive

doors in linux (a bit OT)

2007-02-07 Thread Ian Brown
Hello, I saw that there is a project in sf.net called Linux Doors. (nikitadanilov) see http://sourceforge.net/projects/ldoor/ It is from 2001. The doors in a lightweight and fast IPC mechanism. It seems to me better (and maybe simpler?) than Unix local sockets or others podix IPC (maybe I am wr

posix-timers overrun broken?

2007-02-07 Thread Milan Svoboda
Hi, I'm creating a driver for timer on ixp4xx (there are two hardware timers). It shall use posix api so I looked at the only driver that implements it in kernel: drivers/char/mmtimer.c. My driver uses almost the same logic that handles overruns. However, I found that receiving of number of ove

[git pull] jfs update

2007-02-07 Thread Dave Kleikamp
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git for-linus This will update the following files: fs/jfs/inode.c|6 ++--- fs/jfs/jfs_debug.h|5 fs/jfs/jfs_dmap.c | 16 ++--- fs/jfs/jfs_imap.c | 16 ++---

Re: Free Linux Driver Development!

2007-02-07 Thread Sunil Naidu
On 2/7/07, Akemi Yagi <[EMAIL PROTECTED]> wrote: On Tue, 06 Feb 2007 19:07:50 +0530, Sunil Naidu wrote: > On 2/5/07, Stefan Seyfried <[EMAIL PROTECTED]> wrote: >> On Wed, Jan 31, 2007 at 03:14:31AM +0100, Adrian Bunk wrote: >> > On Tue, Jan 30, 2007 at 05:24:28PM -0800, Greg KH wrote: >> >> Wron

Determining amout a physical RAM my kernel needs?

2007-02-07 Thread Rick Brown
Hi list, I have a kernel image about 600 KB in size that I intend to program to flash memory on my target board (hence size required in flash=600 KB). 1) But how do I determine the size of the RAM required to run that image? (Since I believe the image will be uncompressed in RAM, plus will also

[GFS2 & DLM] Pull request

2007-02-07 Thread Steven Whitehouse
Hi, Please consider pulling the following GFS2 & DLM changes. They are as per the patches posted recently on lkml, except for three minor changes (two small bug fixes and a function which should have been static) which are marked with [*] in the list below. All the other patches have been in -mm,

Re: hwsusp defunct

2007-02-07 Thread Jiri Slaby
Luming Yu napsal(a): For acpi issues, please enter bug into bugzilla.kernel.org with dmesg, acpidump output . Ok: http://bugzilla.kernel.org/show_bug.cgi?id=7958 thanks, -- http://www.fi.muni.cz/~xslaby/Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirisla

Re: PROBLEM: sata timeouts with intel 82801HB on amd64

2007-02-07 Thread Trevor Offner Caira
> Are you using XFS, right? For /usr, /var and /home, yes. For /, no, my root partition is ext3. > Can you see if the problem goes away either: > > 1) disabling NCQ ("echo 1 > /sys/block/sda/device/queue_depth" in a > boot script) No, this does not fix it. > OR > > 2) mounting XFS filesyst

Re: [PATCH 9/11] Panic delay fix

2007-02-07 Thread Pavel Machek
Hi! > > > >>Failure to use real-time delay here causes the > >>keyboard to become demonically > >>possessed in the event of a kernel crash, with wildly > >>blinking lights and > >>unpredictable behavior. This has resulted in several > >>injuries. > > > >There must be a reason why it wasn't de

Re: [Cbe-oss-dev] [PATCH 0/7] RFC: Cell SPE logos

2007-02-07 Thread Pavel Machek
Hi! > > > I would like to hear your opinions about the patchset below (updated > > > version > > > compared to yesterday, lkml added to the CC list). > > > > Can you just blast these pictures from userspace? There's really no > > excuse to advertise SPEs from kernel > > > > What's next, I h

Re: [patch 1/3, resend] scripts: replace gawk, head, bc with shell, update

2007-02-07 Thread Oleg Verych
On Wed, Feb 07, 2007 at 09:58:12AM +0100, Jesper Juhl wrote: > On 06/02/07, Oleg Verych <[EMAIL PROTECTED]> wrote: > >scripts: replace gawk, head, bc with shell, update > > > > Replacing overhead of using some (external) programs > > instead of good old `sh'. > > > >Cc: Roman Zippel <[EMAIL PROTE

Re: [BUG?] ata disk running maximum at DMA33 with 2.6.20 and new pata driver, NV CK804 ide controller.

2007-02-07 Thread l . genoni
I did the test you asked and yes, it is consistently booting at DMA33 with 2.6.20 and DMA100 with 2.6.19.3 (20 reboots, 10 2.6.20 and 10 2.6.19 in sparse order). I am compiling a 2.6.20 kernel with older pata_amd.c driver and will let you know. seeing the diff I do exspect it to compile cleanly.

Re: [LIBATA BUG] sr.c: TEST_UNIT_READY error

2007-02-07 Thread Jeff Garzik
Conke Hu wrote: Hi, TEST_UNIT_READY in get_capabilities (drivers/scsi/sr.c line 743, or see below) always returns error. code begin - retries = 0; do { memset((void *)cmd, 0, MAX_COMMAND_SIZE); cmd[0] = TEST_UNIT_READY;

<    1   2   3   4   >