Re: swsusp logic error?

2005-02-09 Thread Pavel Machek
Hi! I am trying to get swsusp working on a 2.6.10 Debian kernel (2.6.10-1-686, custom compile, enabling only CONFIG_SOFTWARE_SUSPEND and leaving CONFIG_PM_STD_PARTITION empty) on this Sony Vaio Z1RSP Centrino 1.7 Pentium M laptop... without much success. Whenever I enter swsusp mode, the

Re: [PATCH] PPC64 collect and export low-level cpu usage statistics

2005-02-09 Thread Andrew Morton
Paul Mackerras [EMAIL PROTECTED] wrote: POWER5 machines have a per-hardware-thread register which counts at a rate which is proportional to the percentage of cycles on which the cpu dispatches an instruction for this thread (if the thread gets all the dispatch cycles it counts at the same

Re: [PATCH] PPC64 collect and export low-level cpu usage statistics

2005-02-09 Thread Benjamin Herrenschmidt
On Wed, 2005-02-09 at 15:06 -0800, Andrew Morton wrote: Paul Mackerras [EMAIL PROTECTED] wrote: POWER5 machines have a per-hardware-thread register which counts at a rate which is proportional to the percentage of cycles on which the cpu dispatches an instruction for this thread (if the

Re: [RFC] Linux Kernel Subversion Howto

2005-02-09 Thread Roman Zippel
Hi, On Tue, 8 Feb 2005, Larry McVoy wrote: Larry, it's interesting how you try to distract from the main problem (which you don't mention with a single word) and instead continues to badmouth me. Let's take a look. Short version: let's violate a license. Wrong, if I wanted to violate the

Re: [RFC] Linux Kernel Subversion Howto

2005-02-09 Thread Roman Zippel
Hi, On Wed, 9 Feb 2005, Jon Smirl wrote: Larry has said, write up a proposal for changes you want in bk. Send it to him for a quote. Come up with the cash and he will do the work. Here is a simple one: restore the parent information in the gnupatch option as they were about a year ago

[ANNOUNCE] iproute2 050209

2005-02-09 Thread Stephen Hemminger
Small update to iproute2 which adds: * infiniband address decode * reorganize source for netem distribution files into separate directory http://developer.osdl.org/dev/iproute2/download/iproute2-2.6.10-050209.tar.gz - To unsubscribe from this list: send the line unsubscribe

Re: [RFC] Linux Kernel Subversion Howto

2005-02-09 Thread Jon Smirl
On Thu, 10 Feb 2005 00:31:05 +0100 (CET), Roman Zippel [EMAIL PROTECTED] wrote: On Wed, 9 Feb 2005, Jon Smirl wrote: Larry has said, write up a proposal for changes you want in bk. Send it to him for a quote. Come up with the cash and he will do the work. Here is a simple one: restore the

Re: [RFC] Linux Kernel Subversion Howto

2005-02-09 Thread Larry McVoy
On Wed, Feb 09, 2005 at 03:13:48PM -0500, Nicolas Pitre wrote: Are you saying that it is now OK to write scripts that would bit bang on the bkbits http interface to fetch patches/comments with the purpose of populating an alternate scm? Andreas tried that a while ago but you threatened to

[PPC64] (resend) Functions to reserve performance monitor hardware

2005-02-09 Thread David Gibson
Andrew, here's a resend of this patch. My earlier version had a few stupid errors which should be corrected in this one. Please apply. The PPC64 interrupt code includes a hook to call when an exception from the performance monitor unit occurs. However, there's no way of reserving the hook

Re: 2.6.10 kprobes/jprobes panic

2005-02-09 Thread Badari Pulavarty
On Tue, 2005-02-08 at 21:07, Prasanna S Panchamukhi wrote: Hi Badri, Hi, I ran into this while playing with jprobes in 2.6.10. I tried to install jprobe handler on a invalid address, User should prevent inserting jprobes on an invalid address. Well, I was hoping register handler

Re: [rfc][patch] ide: fix unneeded LBA48 taskfile registers access

2005-02-09 Thread Tejun Heo
Hello, Bartlomiej. Happy new lunar year. Bartlomiej Zolnierkiewicz wrote: I would prefer to not teach do_rw_taskfile() about -tf_{in,out}_flags (and convert all users to use helpers) - it is much simpler this way, -flags field in ide_task_t is needed anyway (32-bit I/O flag). New lunar year day

Re: 3TB disk hassles

2005-02-09 Thread Jan Lindheim
On Thu, 16 Dec 2004 14:52:29 +, Neil Conway wrote: Howdy... After much banging of heads on walls, I am throwing in the towel and asking the experts ;-) ... To cut a long story short: Is it possible to make a 3TB disk work properly in Linux? Our disk is 12x300GB in RAID5 (with 1

Re: [RFC] Linux Kernel Subversion Howto

2005-02-09 Thread Larry McVoy
On Thu, Feb 10, 2005 at 12:22:39AM +0100, Roman Zippel wrote: You know, you could change all this. Instead of complaining that we are somehow hurting you, which virtually 100% of the readers know is nonsense, you could be producing an alternative answer which is better. Another smoke

Re: [RFC] Linux Kernel Subversion Howto

2005-02-09 Thread Roman Zippel
Hi, On Wed, 9 Feb 2005, Larry McVoy wrote: (I just sent a similiar mail in private and didn't immediately realize it didn't went to lkml, so sorry, who gets it twice.) On Wed, Feb 09, 2005 at 03:13:48PM -0500, Nicolas Pitre wrote: I think what people want here is the tree structure

Re: 2.6.11-rc3-mm1: softlockup and suspend/resume [update]

2005-02-09 Thread Rafael J. Wysocki
On Wednesday, 9 of February 2005 17:35, Rafael J. Wysocki wrote: On Tuesday, 8 of February 2005 12:04, Ingo Molnar wrote: * Rafael J. Wysocki [EMAIL PROTECTED] wrote: The warning is printed right after the image is restored (ie somewhere around the local_irq_enable() above, but it

Re: [rfc][patch] ide: fix unneeded LBA48 taskfile registers access

2005-02-09 Thread Bartlomiej Zolnierkiewicz
Hello Tejun, On Thu, 10 Feb 2005 09:01:58 +0900, Tejun Heo [EMAIL PROTECTED] wrote: Hello, Bartlomiej. Happy new lunar year. Bartlomiej Zolnierkiewicz wrote: I would prefer to not teach do_rw_taskfile() about -tf_{in,out}_flags (and convert all users to use helpers) - it is much

Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm

2005-02-09 Thread James Morris
On Wed, 9 Feb 2005, Fruhwirth Clemens wrote: I can't code for the case of two. Because, first, that's the idea of generic in the name generic scatterwalk, second, I need at least 3 scatterlists in parallel for LRW. Can you explain why you need a third scatterlist for the LRW tweak? My

Re: 2.6.10 devfs oops without devfs mounted at all

2005-02-09 Thread Andrew Morton
Sergey S. Kostyliov [EMAIL PROTECTED] wrote: Here is an oops I've just get on my smp system: Unable to handle kernel NULL pointer dereference at virtual address 001c printing eip: c01afe5b *pde = Oops: [#1] PREEMPT SMP Modules linked in: ipt_REJECT ipt_state

[PATCH] string lib redundancy and whitespace clarity fixes

2005-02-09 Thread Jonathan Ho
Fixed some weird whitespace, solved redundancies (applies to v2.6.10). Signed-off-by: Jonathan Ho [EMAIL PROTECTED] --- lib/string.cFri Dec 24 13:35:25 2004 +++ \documents and settings\jonathan\desktop/string.cWed Feb 09 16:21:28 2005 @@ -38,7 +38,7 @@ int strnicmp(const char *s1, const

Re: [Patch] Fix oops in alloc_zeroed_user_highpage() when page is NULL

2005-02-09 Thread Christoph Lameter
On Wed, 9 Feb 2005, Michael Ellerman wrote: The generic and IA-64 versions of alloc_zeroed_user_highpage() don't check the return value from alloc_page_vma(). This can lead to an oops if we're OOM. This fixes my oops on PPC64, but I haven't got an IA-64 machine/compiler handy. Patch looks

Re: [PATCH] string lib redundancy and whitespace clarity fixes

2005-02-09 Thread Chris Wright
* Jonathan Ho ([EMAIL PROTECTED]) wrote: Fixed some weird whitespace, solved redundancies (applies to v2.6.10). Signed-off-by: Jonathan Ho [EMAIL PROTECTED] --- lib/string.cFri Dec 24 13:35:25 2004 +++ \documents and settings\jonathan\desktop/string.cWed Feb 09 This won't apply

Re: [RFC] Linux Kernel Subversion Howto

2005-02-09 Thread Larry McVoy
On Thu, Feb 10, 2005 at 01:14:43AM +0100, Roman Zippel wrote: [long explanation which is summarized as it's hard] So doing the work is one thing, getting a result within my lifetime would be nice too. I understand the complexity you are facing. This may be hard for you to believe but we have

Re: [rfc][patch] ide: fix unneeded LBA48 taskfile registers access

2005-02-09 Thread Tejun Heo
Okay, another quick question. To fix the io_32bit race problem in ide_taskfile_ioctl() (and later ide_cmd_ioctl() too), it seems simplest to mark the taskfile with something like ATA_TFLAG_IO_16BIT flag and use the flag in task_in_intr(). However, ATA_TFLAG_* are used by libata, and I think

Re: PCI Error reporting recovery

2005-02-09 Thread Benjamin Herrenschmidt
On Tue, 2005-02-08 at 17:22 +0900, Hidetoshi Seto wrote: Hi, Ben. How kind of you to remember. Well, mailing lists archives did remember for me :) Now I have a rewrite of the previous clear/read_pci_errors patch. The new one adopts iomap infrastructure, considering generality, capability

Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm

2005-02-09 Thread Fruhwirth Clemens
On Wed, 2005-02-09 at 19:30 -0500, James Morris wrote: On Wed, 9 Feb 2005, Fruhwirth Clemens wrote: I can't code for the case of two. Because, first, that's the idea of generic in the name generic scatterwalk, second, I need at least 3 scatterlists in parallel for LRW. Can you explain

Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm

2005-02-09 Thread Andrew Morton
Fruhwirth Clemens [EMAIL PROTECTED] wrote: It must be possible to process more than 2 mappings in softirq context. Adding a few more fixmap slots wouldn't hurt anyone. But if you want an arbitrarily large number of them then no, we cannot do that. Taking more than one sleeping kmap at a

Re: [rfc][patch] ide: fix unneeded LBA48 taskfile registers access

2005-02-09 Thread Bartlomiej Zolnierkiewicz
On Thu, 10 Feb 2005 09:52:25 +0900, Tejun Heo [EMAIL PROTECTED] wrote: Okay, another quick question. To fix the io_32bit race problem in ide_taskfile_ioctl() (and later ide_cmd_ioctl() too), it seems simplest to mark the taskfile with something like ATA_TFLAG_IO_16BIT flag and use the

Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm

2005-02-09 Thread Christophe Saout
Am Mittwoch, den 09.02.2005, 17:19 -0800 schrieb Andrew Morton: It must be possible to process more than 2 mappings in softirq context. Adding a few more fixmap slots wouldn't hurt anyone. But if you want an arbitrarily large number of them then no, we cannot do that. Possibly one

Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm

2005-02-09 Thread James Morris
On Thu, 10 Feb 2005, Fruhwirth Clemens wrote: Because a tweak is different from an IV. There can be an arbitrary number of tweaks. For instance, EME takes 1 tweak per 512 bytes. If you have a 4k page to encrypt, you have to process 8 tweaks of whatever size. Therefore, you need 3

JBD problems in linux 2.6.11 rc3

2005-02-09 Thread Peter Chubb
On a 12-way IA64, with ext3 filesystem on an Ramdisk, when attempting to run the disk I/O load of OSDL's aim-7 benchmark, I see an oops when the multiprogramming level reaches around 200. Turning on CONFIG_JBD_DEBUG shows: Assertion failure in __journal_file_buffer() at

Re: [rfc][patch] ide: fix unneeded LBA48 taskfile registers access

2005-02-09 Thread Jeff Garzik
Bartlomiej Zolnierkiewicz wrote: On Thu, 10 Feb 2005 09:52:25 +0900, Tejun Heo [EMAIL PROTECTED] wrote: Okay, another quick question. To fix the io_32bit race problem in ide_taskfile_ioctl() (and later ide_cmd_ioctl() too), it seems simplest to mark the taskfile with something like

Re: [patch] Real-Time Preemption, -RT-2.6.11-rc3-V0.7.38-01

2005-02-09 Thread William Weston
On Wed, 9 Feb 2005, Ingo Molnar wrote: Running wmcube (an impractical, greedy, little CPU meter), even when niced, causes lots of xruns. It may be good for worst-case-scenario desktop load testing. this phenomenon is very weird. Firstly, make sure that all relevant threads (including

Re: [patch] Real-Time Preemption, -RT-2.6.11-rc3-V0.7.38-01

2005-02-09 Thread William Weston
Two more of these sel_netif_lookup related BUGs were found with -RT-2.6.11-rc3-V0.7.38-06: BUG: sleeping function called from invalid context ksoftirqd/0(2) at kernel/rt.c:1448 in_atomic():1 [0001], irqs_disabled():0 [c0104183] dump_stack+0x23/0x30 (20) [c011be08] __might_sleep+0xd8/0xf0

ToÌØËo ×ÌaÄeÌØÃaÍ îP LJ 4V, 4mV ÎeÄopoÇo ËapÔpÉÄÖÉ C39OOA opÉÇÉÎaÌØÎÙe

2005-02-09 Thread AlexSh (095) 778~7823
Ec 2O appe e opoo, oee, e paceaax, opa, k pmepy 4V, 4mV (39OOA) o 75 ye a . T: 778~7823 Aecap Ec e o apecy, poy poe. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH] relayfs redux, part 4

2005-02-09 Thread Tom Zanussi
Hi, Here's the latest relayfs patch, incorporating the previous round of suggestions. Thanks to everyone who sent comments. Here's a list of the major changes: - replaced remap_page_range() and reserved bits with a nopage() handler. - buffers are now allocated/freed as part of inode

Re: [0/8] orinoco driver updates

2005-02-09 Thread Jeff Garzik
David Gibson wrote: I'm now not entirely clear on whether you want patches against the netdev bk, or against Linus bk/snapshots. Please send diff'd against vanilla Linus upstream. Jeff - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [0/8] orinoco driver updates

2005-02-09 Thread David Gibson
On Wed, Feb 09, 2005 at 10:07:08PM -0500, Jeff Garzik wrote: David Gibson wrote: I'm now not entirely clear on whether you want patches against the netdev bk, or against Linus bk/snapshots. Please send diff'd against vanilla Linus upstream. Ok, in that case do you want me to resend the

Re: [PATCH 9/8] lib/sort: turn off self-test

2005-02-09 Thread Werner Almesberger
Matt Mackall wrote: It's a nice self-contained unit test. By the way, I think it would be useful if there was a more formalized frame for such unit tests, so that they could be used in automated kernel testing. To avoid false positives when grepping through the code, perhaps such tests could be

Re: Important Message

2005-02-09 Thread SGTMDOHERTY
Re: Important Message FROM: Sgt. Michael Doherty Dear Sir Good day to you My name is Michael Doherty I am an American soldier, i am serving in the military of the 1st Armored Division in Iraq, we have just been posted to leave Iraq and go back to Germany. I am now in Kuwait at the mean time, I

Re: 2.6.11-rc3-mm1

2005-02-09 Thread Andrew Morton
Marcos D. Marado Torres [EMAIL PROTECTED] wrote: Please add to -mm the patch in attachment, since it solves the old acpi_power_off bug... ... diff -Nru -p1 linux-2.6.11-rc2-mm1/drivers/base/power/shutdown.c linux-2.6.11-rc2-mm1-mbn1/drivers/base/power/shutdown.c ---

Re: 2.4.x kernel BUG at filemap.c:81

2005-02-09 Thread Todd Shetter
Marcelo Tosatti wrote: On Wed, Feb 09, 2005 at 03:47:28PM -0500, Todd Shetter wrote: Running slackware 10 and 10.1, with kernels 2.4.26, 2.4.27, 2.4.28, 2.4.29 with highmem 4GB, and highmem i/o support enabled, I get a system lockup. This happens in both X and console. Happens with and

Re: [PATCH] arp_queue: serializing unlink + kfree_skb

2005-02-09 Thread Werner Almesberger
David S. Miller wrote: This document is intended to serve as a guide to Linux port maintainers on how to implement atomic counter and bitops operations properly. Finally, some light is shed into one of the most arcane areas of the kernel ;-) Thanks ! Unlike the above routines, it is

Re: 2.6.11-rc3-mm1

2005-02-09 Thread Barry K. Nathan
On Wed, Feb 09, 2005 at 08:12:07PM -0800, Andrew Morton wrote: (I understand that it's only a proof of concept patch, but I thought I'd bitch anyway ;)) So. I'll keep the patch as-is in -mm for now. I've Cc'ed linux-acpi. Perhaps the people there can absorb this and fix it up for real,

[PATCH] distribute ppc64 EXPORT_SYMBOLs

2005-02-09 Thread Stephen Rothwell
Hi, This patch just moves aas many as possible EXPORT_SYMBOL()s from arch/ppc64/kernel/ppc_ksyms.c to where the symbols are defined. This has been compiled on pSeries, iSeries and pmac. Please apply. Signed-off-by: Stephen Rothwell [EMAIL PROTECTED] -- Cheers, Stephen Rothwell

[PATCH] OProfile: ARM/XScale1 PMU support fix

2005-02-09 Thread Zwane Mwaikambo
Richard Purdie provided a patch to fix support for XScale1 processors (this is the PMU version i never had access to initially), we weren't clearing the overflow flags after an overflow interrupt had triggered resulting in no additional interrupts occuring. Additionally i've added basic power

Re: [PATCH] arp_queue: serializing unlink + kfree_skb

2005-02-09 Thread Herbert Xu
On Thu, Feb 10, 2005 at 01:23:04AM -0300, Werner Almesberger wrote: What happens if the operation could return a value, but the user ignores it ? E.g. if I don't like smp_mb__*, could I just use atomic_inc_and_test(foo); instead of smp_mb__before_atomic_inc();

Re: 2.6.11-rc3-bk5: XFS: fcron: could not write() buf to disk: Resource temporarily unavailable

2005-02-09 Thread Nathan Scott
On Wed, Feb 09, 2005 at 05:44:54PM +0300, Alexander Y. Fomichev wrote: On Wednesday 09 February 2005 04:29, Nathan Scott wrote: Is that an O_SYNC write, do you know? Or a write to an inode with the sync flag set? Yes, it is O_SYNC, as i can see from fcron sources, and, no, kernel OK,

Re: [RFC] Linux Kernel Subversion Howto

2005-02-09 Thread James Bruce
While I agree with your overall sentiment, please compare apples to apples regarding the license. You said: Larry McVoy wrote: I don't come here every month and ask for the GPL to be removed from some driver, that's essentially what you are doing and I think pretty much everyone is sick of it.

Re: [RFC] Linux Kernel Subversion Howto

2005-02-09 Thread James Bruce
Roman, please give up on importing 100% of the history. There's no point arguing something if you already know what the other person's answer will be. Larry will not change his mind under any currently foreseeable circumstances. Yes, there is meta-data lockin whether anyone at BitMover will

Re: [PATCH] relayfs redux, part 4

2005-02-09 Thread Maneesh Soni
On Wed, Feb 09, 2005 at 08:49:36PM -0600, Tom Zanussi wrote: [..] + */ +struct dentry *relayfs_create_file(const char *name, struct dentry *parent, +int mode, struct rchan *chan) +{ + struct dentry *dentry; + int error; + + if (!mode) +

fix watchdog link order.

2005-02-09 Thread Dave Jones
Comment says that softdog has to go last. Make it so. Signed-off-by: Dave Jones [EMAIL PROTECTED] --- linux-2.6.10/drivers/char/watchdog/Makefile~2005-02-10 01:48:32.0 -0500 +++ linux-2.6.10/drivers/char/watchdog/Makefile 2005-02-10 01:49:39.0 -0500 @@ -2,11 +2,6 @@ #

Re: [PATCH] relayfs redux, part 4

2005-02-09 Thread Tom Zanussi
Maneesh Soni writes: On Wed, Feb 09, 2005 at 08:49:36PM -0600, Tom Zanussi wrote: [..] + */ +struct dentry *relayfs_create_file(const char *name, struct dentry *parent, + int mode, struct rchan *chan) +{ + struct dentry *dentry; + int error;

Re: [RFC] Linux Kernel Subversion Howto

2005-02-09 Thread Horst von Brand
Nicolas Pitre [EMAIL PROTECTED] said: On Wed, 9 Feb 2005, Larry McVoy wrote: On Wed, Feb 09, 2005 at 05:06:02AM -0200, Alexandre Oliva wrote: So you've somehow managed to trick most kernel developers into granting you power over not only the BK history It's exactly the same as a file

Re: [PATCH 9/8] lib/sort: turn off self-test

2005-02-09 Thread Pekka Enberg
On Mon, 31 Jan 2005 09:03:44 -0800, Matt Mackall [EMAIL PROTECTED] wrote: It's a nice self-contained unit test. It's here because I ran into a strange regparm-related bug when developing the code in userspace and I wanted to be sure that it was easy to diagnose in the field if a similar bug

Re: How to retrieve version from kernel source (the right way)?

2005-02-09 Thread Michael Renzmann
Hi. Sam Ravnborg wrote: But... what is the right way to do this? I think you are looking for: make kernelrelease [EMAIL PROTECTED] linux-2.6.10 $ make kernelrelease make: *** No rule to make target `kernelrelease'. Stop. [EMAIL PROTECTED] linux-2.6.10 $ cd .. [EMAIL PROTECTED] src $ cd

Re: [PATCH] relayfs redux, part 4

2005-02-09 Thread Pekka Enberg
Hi Tom, On Wed, 9 Feb 2005 20:49:36 -0600, Tom Zanussi [EMAIL PROTECTED] wrote: +static inline struct page **alloc_page_array(int size, int *page_count) +{ + int n_pages; + struct page **page_array; + + size = PAGE_ALIGN(size); + n_pages = size PAGE_SHIFT; + +

Spontaneous reboot with 2.6.10 and NFSD

2005-02-09 Thread Kim Holviala
I hit an obscure bug last night when trying to copy files from an nfs client to my nfs server. The server is a P3/800 with three IDE disks in software RAID5 running vanilla 2.6.10 and Debian Sarge. The network is local 100Mbit/s switched ethernet. The server exports a 220 gig partition which

Re: [PATCH] relayfs redux, part 4

2005-02-09 Thread Pekka Enberg
On Wed, 9 Feb 2005 20:49:36 -0600, Tom Zanussi [EMAIL PROTECTED] wrote: +static int relayfs_create_entry(const char *name, struct dentry *parent, + int mode, struct rchan *chan, + struct dentry **dentry) +{ + struct qstr qname;

<    1   2   3   4