Re: 'BUG: scheduling with irqs disabled' when umounting NFS volume

2005-04-11 Thread Daniel Walker
On Fri, 2005-04-08 at 21:44, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > I submitted a fix for this a while ago, I think .. > > interruptible_sleep_on()'s are broken .. > > sleep_on() is a fundamentally broken interface, it only works on UP - > but there it _does_ rely

Re: more git updates..

2005-04-11 Thread ross
On Sat, Apr 09, 2005 at 12:45:52PM -0700, Linus Torvalds wrote: > Can you guys re-send the scripts you wrote? They probably need some > updating for the new semantics. Sorry about that ;( I've been off email this weekend, so have fallen a bit behind here. I'll forgo updating my stuff, since it lo

[2.6 ppc patch] fix compilation error in arch/ppc/syslib/open_pic_defs.h

2005-04-11 Thread Benoit Boissinot
make defconfig give the following error on ppc (gcc-4): arch/ppc/syslib/open_pic.c:36: error: static declaration of âOpenPICâ follows non-static declaration arch/ppc/syslib/open_pic_defs.h:175: error: previous declaration of âOpenPICâ was here The following patch solves it. Signed-Off-By: Beno

Re: [patch 1/2] Docbook: use custom stylesheet

2005-04-11 Thread Alexey Dobriyan
On Monday 11 April 2005 15:58, Martin Waitz wrote: > Docbook: use custom stylesheet > > With the custom stylesheet, functions are rendered using ANSI-C syntax > and xmlto is a bit quieter. Definitely better. Still remains (anything with more than 1 argument): =

Re: [PATCH] zero disk pages used by swsusp on resume

2005-04-11 Thread Rafael J. Wysocki
Hi, On Monday, 11 of April 2005 12:37, Oliver Neukum wrote: > Am Sonntag, 10. April 2005 22:14 schrieb Pavel Machek: > > Hi! > > > > > > Oliver Neukum wrote: > > > > > What is the point in doing so after they've rested on the disk for > > > > > ages? > > > > > > > > The point is not physical ac

[2.6 ppc patch] fix compilation error in arch/ppc/kernel/time.c

2005-04-11 Thread Benoit Boissinot
make defconfig give the following error on ppc (gcc-4): arch/ppc/kernel/time.c:92: error: static declaration of âtime_offsetâ follows non-static declaration include/linux/timex.h:236: error: previous declaration of âtime_offsetâ was here The following patch solves it (time_offset is declared in t

Re: Processes stuck on D state on Dual Opteron

2005-04-11 Thread Claudio Martins
On Monday 11 April 2005 13:45, Nick Piggin wrote: > > No luck yet (on SMP i386). How many disks are you using in each > raid1 array? You are using one array for swap, and one mounted as > ext3 for the working area of the `stress` program, right? > Right. I'm using two Seagate ATA133 disks (ide

Re: 'BUG: scheduling with irqs disabled' when umounting NFS volume

2005-04-11 Thread Lee Revell
On Mon, 2005-04-11 at 09:29 -0700, Daniel Walker wrote: > On Fri, 2005-04-08 at 14:51, Lee Revell wrote: > > On Fri, 2005-04-08 at 13:38 -0700, Daniel Walker wrote: > > > I submitted a fix for this a while ago, I think .. > > > interruptible_sleep_on()'s are broken .. > > > > I saw the fix in -st

Re: [PATCH encrypted swsusp 1/3] core functionality

2005-04-11 Thread Pavel Machek
Hi! > > I'd like to retain ability to read suspend image in any order (so that > > code can be reused for swap encryption, etc). > > This is not possible with cipher block chaining as used right now. One > would have to use a non-random iv set needs to set for every page. And > this leads to exac

Re: formatting CD-RW locks the system

2005-04-11 Thread Bodo Eggert
Gene Heskett <[EMAIL PROTECTED]> wrote: > Every disk system I have ever delt with, has as a default, (and I've > walked around in a couple of them at the assembly language level) the > assumption that if track 0 is to be formatted, then the whole device > is assumed to be needing formatted, and ev

Re: [PATCH][RFC][0/4] InfiniBand userspace verbs implementation

2005-04-11 Thread Troy Benjegerdes
On Mon, Apr 11, 2005 at 08:34:19AM -0700, Roland Dreier wrote: > Troy> How is memory pinning handled? (I haven't had time to read > Troy> all the code, so please excuse my ignorance of something > Troy> obvious). > > The userspace library calls mlock() and then the kernel does > get_us

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-11 Thread Sven Luther
On Mon, Apr 11, 2005 at 06:12:22PM +0200, Marco Colombo wrote: > [I'm not subscribed, so this in not a real reply - sorry if it breaks > threading somehow.] > > Sven Luther wrote: > > The ftp-master are the ones reviewing the licencing problems, and they > are the > > ones handling the infrastruc

kernel panic!

2005-04-11 Thread sauro
Is it true that only kernel drivers and modules can cause a "kernel panic"? I mean, is it possible for an user level application to be the cause of a "kernel panic"? If it is, which kind of operations can do that? Thanks in advance -- Sauro Salomoni Ztec www.ztec.com.br smime.p7s Description: S

Re: 'BUG: scheduling with irqs disabled' when umounting NFS volume

2005-04-11 Thread Daniel Walker
On Fri, 2005-04-08 at 14:51, Lee Revell wrote: > On Fri, 2005-04-08 at 13:38 -0700, Daniel Walker wrote: > > I submitted a fix for this a while ago, I think .. > > interruptible_sleep_on()'s are broken .. > > I saw the fix in -stable, but it does not seem to be in 2.6.12-rc2. I didn't know it w

Re: [PATCH encrypted swsusp 1/3] core functionality

2005-04-11 Thread Andreas Steinmetz
Pavel Machek wrote: > I'd like to retain ability to read suspend image in any order (so that > code can be reused for swap encryption, etc). > Pavel This is not possible with cipher block chaining as used right now. One would have to us

Re: [PATCH] Priority Lists for the RT mutex

2005-04-11 Thread Daniel Walker
On Sun, 2005-04-10 at 03:53, Ingo Molnar wrote: > ok, i've added this patch to the -45-00 release. It's looking good on my > testsystems so far, but it will need some more testing i guess. Yes, I ran the PI test, and just let the system run .. So it could use more extensive testing.. Daniel

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-11 Thread Marco Colombo
[I'm not subscribed, so this in not a real reply - sorry if it breaks threading somehow.] Sven Luther wrote: > The ftp-master are the ones reviewing the licencing problems, and they are the > ones handling the infrastructure, and putting their responsability on the > stake. If they feel that some

[patch 1/2] Docbook: use custom stylesheet

2005-04-11 Thread Martin Waitz
Docbook: use custom stylesheet With the custom stylesheet, functions are rendered using ANSI-C syntax and xmlto is a bit quieter. Signed-off-by: Martin Waitz <[EMAIL PROTECTED]> --- Documentation/DocBook/Makefile |3 ++- Documentation/DocBook/stylesheet.xsl |5 + 2 files chang

Re: [PATCH encrypted swsusp 1/3] core functionality

2005-04-11 Thread Andreas Steinmetz
Pavel Machek wrote: > Was it really neccessary to include "union u"? I don't like its name, Here comes the patch with this reverted. I'm now using casts when 'abusing' the space for encryption. Furthermore the iv set up in the tfm is used instead of the local copy. -- Andreas Steinmetz

Re: [PATCH encrypted swsusp 3/3] documentation

2005-04-11 Thread Bodo Eggert
Andreas Steinmetz <[EMAIL PROTECTED]> wrote: > +If you want to store your suspend image encrypted with a temporary > +key to prevent data gathering after resume you must compile > +crypto and the aes algorithm into the kernel - modules won't work > +as they cannot be loaded at resume time. Can't

[patch 0/2] DocBook xmlto fixes

2005-04-11 Thread Martin Waitz
hoi :) the following two patches fix some problems noticed by Alexey. I still have to look harder at the stylesheets to get nicely linked function lists in the toc. @Andrew: lets test the xmlto converter in -mm a little bit longer. Should I keep sending relative patches or replacement patches? I

Re: Oops in swsusp

2005-04-11 Thread Andreas Steinmetz
Rafael J. Wysocki wrote: > Hi, > > On Monday, 11 of April 2005 01:17, Andreas Steinmetz wrote: > >>Pavel, >>during testing of the encrypted swsusp_image on x86_64 I did get an Oops >>from time to time at memcpy+11 called from swsusp_save+1090 which turns >>out to be the memcpy in copy_data_pages(

Re: GIT license (Re: Re: Re: Re: Re: [ANNOUNCE] git-pasky-0.1)

2005-04-11 Thread Florian Weimer
* Petr Baudis: >> Almost certainly, v3 will be incompatible with v2 because it adds >> further restrictions. This means that your proposal would result in >> software which is not redistributable by third parties. > > Hmm, what would be actually the point in introducing further > restrictions? An

[patch 2/2] DocBook: fix html link

2005-04-11 Thread Martin Waitz
DocBook: fix html link The start page for each book has changed from book1.html to index.html. Update our generated links acocrdingly. Signed-off-by: Martin Waitz <[EMAIL PROTECTED]> --- Documentation/DocBook/Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: linux-docbo

Re: security issue: hard disk lock

2005-04-11 Thread Jonas Diemer
Hi Alan! Thanks for the info Am Montag 11. April 2005 17:36 schrieb Alan Cox: > It makes little difference as the attacker can replace the kernel and > reboot. > Anyway they can flash erase your video card bios, your IDE firmware, > your BIOS > and far more just as easily. Yes, but a new video-c

Re: [PATCH encrypted swsusp 3/3] documentation

2005-04-11 Thread Andreas Steinmetz
Bodo Eggert wrote: > Andreas Steinmetz <[EMAIL PROTECTED]> wrote: > > >>+If you want to store your suspend image encrypted with a temporary >>+key to prevent data gathering after resume you must compile >>+crypto and the aes algorithm into the kernel - modules won't work >>+as they cannot be load

Re: GIT license (Re: Re: Re: Re: Re: [ANNOUNCE] git-pasky-0.1)

2005-04-11 Thread Adam J. Richter
On 2005-04-11, Linus Torvalds wrote: >I'm inclined to go with GPLv2 just because it's the most common one [...] You may want to use a file from GPL'ed monotone that implements a substantial diff optimization described in the August 1989 paper by Sun Wu, Udi Manber and Gene Myers ("An O(NP)

Re: [rfc] git: combo-blobs

2005-04-11 Thread Linus Torvalds
On Mon, 11 Apr 2005, Ingo Molnar wrote: > > if a repository is corrupted then it pretty much needs to be dropped > anyway. I disagree. Yes, the thing is designed to be replicated, so most of the time the easiest thing to do is to just rsync with another copy. But dammit, I don't want to jus

Re: [PATCH][RFC][0/4] InfiniBand userspace verbs implementation

2005-04-11 Thread Roland Dreier
Troy> How is memory pinning handled? (I haven't had time to read Troy> all the code, so please excuse my ignorance of something Troy> obvious). The userspace library calls mlock() and then the kernel does get_user_pages(). Troy> The old mellanox drivers used to have a hack to call

Re: [rfc] git: combo-blobs

2005-04-11 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > > to construct the combo blob later on, we do have to unpack sched.c (and > > > if it's already a combo-blob that is not cached then we'd have to unpack > > > all parents until we arrive at some ful

Re: [RFC] FUSE permission modell (Was: fuse review bits)

2005-04-11 Thread Miklos Szeredi
> > 3) No other user should have access to files under the mount, not > > even root[5] > > > [5] Obviously root cannot be restricted, but accidental access to > > private data is still a good idea. E.g. root squashing by NFS servers > > has a similar affect. > > Could you explain a little

Re: more git updates..

2005-04-11 Thread Randy.Dunlap
On Sun, 10 Apr 2005 16:38:00 -0700 (PDT) Linus Torvalds wrote: | | | On Sun, 10 Apr 2005, Paul Jackson wrote: | > | > Useful explanation - thanks, Linus. | | Hey. You're welcome. Especially when you create good documentation for | this thing. | | Because: | | > Is this picture and descriptio

Re: bdflush/rpciod high CPU utilization, profile does not make sense

2005-04-11 Thread Jakob Oestergaard
On Mon, Apr 11, 2005 at 11:21:45AM -0400, Trond Myklebust wrote: > må den 11.04.2005 Klokka 16:41 (+0200) skreiv Jakob Oestergaard: > > > > That can mean either that the server is dropping fragments, or that the > > > client is dropping the replies. Can you generate a similar tcpdump on > > > the

Re: [rfc] git: combo-blobs

2005-04-11 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > > to construct the combo blob later on, we do have to unpack sched.c (and > > if it's already a combo-blob that is not cached then we'd have to unpack > > all parents until we arrive at some full blob). > > I really don't want to have this. Having

Re: security issue: hard disk lock

2005-04-11 Thread Alan Cox
On Llu, 2005-04-04 at 18:42, Jonas Diemer wrote: > I figured there could be a kernel compiled-in option that will make the > kernel > lock all drives found during bootup. then, a malicous program would need to > install a different kernel in order to harm the drive, which would be much > more s

Re: [RFC] FUSE permission modell (Was: fuse review bits)

2005-04-11 Thread Daniel Jacobowitz
On Mon, Apr 11, 2005 at 04:43:32PM +0200, Miklos Szeredi wrote: > 3) No other user should have access to files under the mount, not > even root[5] > [5] Obviously root cannot be restricted, but accidental access to > private data is still a good idea. E.g. root squashing by NFS servers > h

Re: [rfc] git: combo-blobs

2005-04-11 Thread Linus Torvalds
On Mon, 11 Apr 2005, Ingo Molnar wrote: > > to construct the combo blob later on, we do have to unpack sched.c (and > if it's already a combo-blob that is not cached then we'd have to unpack > all parents until we arrive at some full blob). I really don't want to have this. Having chains of d

Re: [rfc] git: combo-blobs

2005-04-11 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > here are some stats: of the last 34160 files modified in the Linux > kernel tree in the past 1 year, the file sizes total to 1 GB, and the > average file-size per file committed is 31220 bytes. The changes > themselves amount to: > > 22404 files cha

Re: Overcommit_memory logic fails when swap is off

2005-04-11 Thread Alan Cox
On Maw, 2005-04-05 at 09:49, Martin Egholm Nielsen wrote: > As I can see, the patch never made it in 2.4.x, right?! > So, I would like a diff - if still possible :-) I submitted it ages ago but it was rejected and punted to 2.6. The 2.4 support is available in Red Hat Enterprise Linux 3, so you ca

Re: [rfc] git: combo-blobs

2005-04-11 Thread Ingo Molnar
here are some stats: of the last 34160 files modified in the Linux kernel tree in the past 1 year, the file sizes total to 1 GB, and the average file-size per file committed is 31220 bytes. The changes themselves amount to: 22404 files changed, 1996494 insertions(+), 1396644 deletions(-) (th

Crash on firewall using 2.6.11.6

2005-04-11 Thread Björn Elwhagen
Hello, I've encountered the strangest problem yet in my linux career...I'll just explain my setup, what happens, and what solved the problem and you can decide if you are more interested after that... * Company firewall 2.6.8.1 ip-address 1.2.3.4 with priv net 192.168.1 * Home firewall 2.6.11.6

Re: bdflush/rpciod high CPU utilization, profile does not make sense

2005-04-11 Thread Trond Myklebust
mà den 11.04.2005 Klokka 16:41 (+0200) skreiv Jakob Oestergaard: > > That can mean either that the server is dropping fragments, or that the > > client is dropping the replies. Can you generate a similar tcpdump on > > the server? > > Certainly; http://unthought.net/sparrow.dmp.bz2 So, it looks

Re: 2.6.12-rc2-mm2

2005-04-11 Thread Paul E. McKenney
On Mon, Apr 11, 2005 at 12:48:34AM +0200, Adrian Bunk wrote: > kernel-rcupdatec-make-the-exports-export_symbol_gpl.patch > add-deprecated_for_modules.patch > add-deprecated_for_modules-fix.patch > deprecate-synchronize_kernel-gpl-replacement.patch > deprecate-synchronize_kernel-gpl-replacement-fix.

Re: [rfc] git: combo-blobs

2005-04-11 Thread Ingo Molnar
* Paul Jackson <[EMAIL PROTECTED]> wrote: > Hmmm ... I have this strong sense that I am about 2 hours away from > smacking my forehead and groaning "Duh - so that's what Ingo meant!" > > However, one must play out one's destiny. > > Could you provide an example scenario, which results in the cr

[PATCH] Kprobes: Oops! in unregister_kprobe()

2005-04-11 Thread Prasanna S Panchamukhi
Hi, Please find the patch below to fix Oops! in unregister_kprobe(). Please let me know if you any issues. Thanks Prasanna kernel oops! when unregister_kprobe() is called on a non-registered kprobe. This patch fixes the above problem by checking if the probe exists before unregistering. Signed

[2/1] connector/CBUS: new messaging subsystem. Revision number next.

2005-04-11 Thread Evgeniy Polyakov
Some nlmsg alignment cleanups. Documentation module cleanups. Thanks, Thomas. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> * looking for [EMAIL PROTECTED]/connector--main--0--patch-47 to compare with * comparing to [EMAIL PROTECTED]/connector--main--0--patch-47 M cn_test.c M connector.c

Re: [rfc] git: combo-blobs

2005-04-11 Thread Paul Jackson
Hmmm ... I have this strong sense that I am about 2 hours away from smacking my forehead and groaning "Duh - so that's what Ingo meant!" However, one must play out one's destiny. Could you provide an example scenario, which results in the creation of a combo-blob? The best I can come up with is

[RFC] FUSE permission modell (Was: fuse review bits)

2005-04-11 Thread Miklos Szeredi
We're having a bit of a disagreement with Christoph Hellwig about the way FUSE does (or should do) permission checking. Comments (either way) are appreciated. Here's my side of the story: FUSE (filesystem in userspace) is designed to allow mounting an FS by non-privileged users (it can also be u

Re: bdflush/rpciod high CPU utilization, profile does not make sense

2005-04-11 Thread Jakob Oestergaard
On Mon, Apr 11, 2005 at 10:35:25AM -0400, Trond Myklebust wrote: > må den 11.04.2005 Klokka 15:47 (+0200) skreiv Jakob Oestergaard: > > > Certainly; > > > > http://unthought.net/binary.dmp.bz2 > > > > I got an 'invalid snaplen' with the 9 you suggested, the above dump > > is done with 9000 -

Re: bdflush/rpciod high CPU utilization, profile does not make sense

2005-04-11 Thread Trond Myklebust
mà den 11.04.2005 Klokka 15:47 (+0200) skreiv Jakob Oestergaard: > Certainly; > > http://unthought.net/binary.dmp.bz2 > > I got an 'invalid snaplen' with the 9 you suggested, the above dump > is done with 9000 - if you need another snaplen please just let me know. So, the RPC itself looks g

Re: [patch] MAINTAINERS: remove obsolete ACP/MWAVE MODEM entry

2005-04-11 Thread Marcelo Tosatti
Adrian, ./drivers/char/mwave/Makefile also references Paul's email address, at least in v2.4. Applied, thanks. On Sun, Apr 10, 2005 at 01:15:45AM +0200, Adrian Bunk wrote: > Both maintainer email addresses are bouncing and the web address is no > longer valid. > > Seems to be a good time to r

Re: [PATCH][RFC][0/4] InfiniBand userspace verbs implementation

2005-04-11 Thread Troy Benjegerdes
> In particular, the memory pinning code in in uverbs_mem.c could stand > a looking over. In addition, a sanity check of the write()-based > scheme for passing commands into the kernel in uverbs_main.c and > uverbs_cmd.c is probably worthwhile. How is memory pinning handled? (I haven't had time t

Re: [PATCH] zero disk pages used by swsusp on resume

2005-04-11 Thread Jan Niehusmann
> Andreas is right, his patches are needed. > > Currently, if your laptop is stolen after resume, they can still data > in swsusp image. Which shows that swsusp is a security risk if you have sensitive data in RAM. A thief stealing a running computer can get access to memory contents much more ea

Re: more git updates..

2005-04-11 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Christopher Li <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > There is one problem though. How about the SHA1 hash collision? > Even the chance is very remote, you don't want to lose some data do due > to "software" error. I think it is OK th

[ANNOUNCE] git-pasky-0.3

2005-04-11 Thread Petr Baudis
Hello, here goes git-pasky-0.3, my set of patches and scripts upon Linus' git, aimed at human usability and to an extent a SCM-like usage. If you already have a previous git-pasky version, just git pull pasky to get it (but see below!!!). Otherwise, you can get it from: http://pask

Re: bdflush/rpciod high CPU utilization, profile does not make sense

2005-04-11 Thread Jakob Oestergaard
On Mon, Apr 11, 2005 at 08:35:39AM -0400, Trond Myklebust wrote: ... > That certainly shouldn't be the case (and isn't on any of my setups). Is > the behaviour identical same on both the PIII and the Opteron systems? The dual opteron is the nfs server The dual athlon is the 2.4 nfs client The du

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-11 Thread Humberto Massa
Michael Poole wrote: Copyright law only _explicitly_ grants a monopoly on preparation of derivative works. However, it is trivial, and overwhelmingly common, for a copyright owner to grant a license to create a derivative work that is conditional on how the licensee agrees to distribute (or not di

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-11 Thread Michael Poole
Humberto Massa writes: > David Schwartz wrote: > >> > On Sat, Apr 09, 2005 at 08:07:03PM -0700, David Schwartz wrote: >> >> >> >> The way you stop someone from distributing part of your work is >> >> by arguing that the work they are distributing is a derivative >> >> work of your work and they ha

Re: [1/1] connector/CBUS: new messaging subsystem. Revision number next.

2005-04-11 Thread Thomas Graf
* Evgeniy Polyakov <[EMAIL PROTECTED]> 2005-04-11 16:59 > + size = NLMSG_SPACE(sizeof(*msg) + msg->len); > + > + skb = alloc_skb(size, gfp_mask); > + if (!skb) { > + printk(KERN_ERR "Failed to allocate new skb with size=%u.\n", > size); > + return -ENOMEM; > +

Re: [PATCH 2.6.11.7 1/1] x86 reboot: Add reboot fixup for gx1/cs5530a

2005-04-11 Thread H. Peter Anvin
Richard B. Johnson wrote: Shouldn't it just be: #define mach_reboot_fixup(x) |___ Nothing here. Dear Wrongbot, No. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info a

Re: [Alsa-devel] [2.6 patch] sound/pci/ymfpci/ymfpci_main.c: remove dead code

2005-04-11 Thread Takashi Iwai
At Sun, 10 Apr 2005 01:12:11 +0200, Adrian Bunk wrote: > > This patch removes some dead code found by the Coverity checker. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Applied to ALSA tree. Thanks! Takashi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH encrypted swsusp 1/3] core functionality

2005-04-11 Thread Andreas Steinmetz
Pavel Machek wrote: > Hi! > > >>The following patch adds the core functionality for the encrypted >>suspend image. > > > +#ifdef CONFIG_SWSUSP_ENCRYPT > +static struct crypto_tfm *crypto_init(int mode) > +{ > + struct crypto_tfm *tfm; > + int len; > + > + tfm = crypto_alloc_tf

Re: Oops in swsusp

2005-04-11 Thread Andreas Steinmetz
Rafael J. Wysocki wrote: > Hi, > > On Monday, 11 of April 2005 01:17, Andreas Steinmetz wrote: > >>Pavel, >>during testing of the encrypted swsusp_image on x86_64 I did get an Oops >>from time to time at memcpy+11 called from swsusp_save+1090 which turns >>out to be the memcpy in copy_data_pages(

Re: [PATCH encrypted swsusp 1/3] core functionality

2005-04-11 Thread Andreas Steinmetz
[EMAIL PROTECTED] wrote: >>>The following patch adds the core functionality for the encrypted >>>suspend image. >> >>[Please inline patches, it makes it easier to comment on them.] Aiyeeh - good ole Mozilla tends to reformat things when inlining... >>You seem to reuse same key/iv for all the bloc

Re: New SCM and commit list

2005-04-11 Thread Chris Mason
On Monday 11 April 2005 03:38, Ingo Molnar wrote: > * Linus Torvalds <[EMAIL PROTECTED]> wrote: > > So anything that got modified in just one tree obviously merges to > > that version. Any file that got modified in two trees will end up just > > being passed to the "merge" program. See "man merge"

Re: RT 45-01: CF Card read: High latency?

2005-04-11 Thread P
I handled this issue by precaching all my files (15MB), from my readonly root filesystem. find / -type f | grep -v ^/boot | #kernel is > 1MB and never read so don't put in cache while read file; do dd bs=32k if="$file" of=/dev/null 2>/dev/null done Pádraig. - To unsubscribe from this list: send

Re: Linux 2.4.30-rc3 md/ext3 problems (ext3 gurus : please check)

2005-04-11 Thread Stephen C. Tweedie
Hi, On Thu, 2005-04-07 at 16:51, Stephen C. Tweedie wrote: > I'm currently running with the buffer-trace debug patch, on 2.4, with a > custom patch to put every buffer jbd ever sees onto a per-superblock > list, and remove it only when the bh is destroyed in > put_unused_buffer_head(). At unmoun

[1/1] connector/CBUS: new messaging subsystem. Revision number next.

2005-04-11 Thread Evgeniy Polyakov
/*/ Kernel Connector. /*/ Kernel connector - new netlink based userspace <-> kernel space easy to use communication module. Connector driver adds possibility to connect various agents using netlink based network. One

Re: Processes stuck on D state on Dual Opteron

2005-04-11 Thread Nick Piggin
Nick Piggin wrote: The common theme seems to be: try_to_free_pages, swap_writepage, mempool_alloc, down/down_failed in .text.lock.md. Next I would suspect md/raid1 - maybe some deadlock in an uncommon memory allocation failure path? I'll see if I can reproduce it here. No luck yet (on SMP i386). Ho

Re: [PATCH scsi-misc-2.6 03/04] scsi: make scsi_requeue_request() use blk_requeue_request()

2005-04-11 Thread Christoph Hellwig
> + cmd->request->flags |= REQ_SOFTBARRIER; > + > + spin_lock_irqsave(q->queue_lock, flags); > + blk_requeue_request(q, cmd->request); > + spin_unlock_irqrestore(q->queue_lock, flags); > > scsi_run_queue(q); This exact code sequence is duplicated in the previous patch, mayb

Re: [PATCH 2.6.11.7 1/1] x86 reboot: Add reboot fixup for gx1/cs5530a

2005-04-11 Thread Richard B. Johnson
On Mon, 11 Apr 2005, H. Peter Anvin wrote: [EMAIL PROTECTED] wrote: Hi Riley, Dave, Peter, i386 boot/workaround maintainers, I'm resending this patch (from March 28). This patch incorporates the suggestions from the previous thread and also switches to using pci_get_device since pci_find_device is

Re: bdflush/rpciod high CPU utilization, profile does not make sense

2005-04-11 Thread Trond Myklebust
mà den 11.04.2005 Klokka 09:48 (+0200) skreiv Jakob Oestergaard: > tcp with timeo=600 causes retransmits (as seen with nfsstat) to drop to > zero. Good. > File Block Num Seq ReadRand Read Seq Write Rand Write > DirSize Size Thr Rate (CPU%) Rate (CPU%) Rate (CPU%) Ra

Re: [PATCH 2.6.11.7 1/1] x86 reboot: Add reboot fixup for gx1/cs5530a

2005-04-11 Thread H. Peter Anvin
[EMAIL PROTECTED] wrote: Hi Riley, Dave, Peter, i386 boot/workaround maintainers, I'm resending this patch (from March 28). This patch incorporates the suggestions from the previous thread and also switches to using pci_get_device since pci_find_device is deprecated, and made some of the variable

Re: RT 45-01: CF Card read: High latency?

2005-04-11 Thread Bartlomiej Zolnierkiewicz
On Apr 11, 2005 1:38 PM, kus Kusche Klaus <[EMAIL PROTECTED]> wrote: > So the question is, what exactly is the IDE priority? > Is the PIO transfer done in the IRQ handler or in a bh? in the IRQ handler - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mess

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-11 Thread Humberto Massa
David Schwartz wrote: > On Sat, Apr 09, 2005 at 08:07:03PM -0700, David Schwartz wrote: >> The way you stop someone from distributing part of your work is >> by arguing that the work they are distributing is a derivative >> work of your work and they had no right to *make* it in the first >> place

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-11 Thread Humberto Massa
Giuseppe Bilotta wrote: On Fri, 08 Apr 2005 20:42:17 +0200, Josselin Mouette wrote: Every book in my book shelf is software? If you digitalize it, yes. AFAIK software only refers to programs, not to arbitrary sequences of bytes. An MP3 file isn't "software". Although it surely isn't

Re: ext3 allocate-with-reservation latencies

2005-04-11 Thread Stephen C. Tweedie
Hi, On Fri, 2005-04-08 at 19:10, Mingming Cao wrote: > > It still needs to be done under locking to prevent us from expanding > > over the next window, though. And having to take and drop a spinlock a > > dozen times or more just to find out that there are no usable free > > blocks in the curren

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-11 Thread Humberto Massa
Adrian Bunk wrote: Even RedHat with a stronger financial background than Debian considered the MP3 patents being serious enough to remove MP3 support. Actually, they did it to spite the patent holders. []s Massa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bo

Re: non-free firmware in kernel modules, aggregation and unclear copyright notice.

2005-04-11 Thread Anthony DeRobertis
Glenn Maynard wrote: I've heard the claim, several times, that that creating a derivative work requires creative input, that linking stuff together with "ld" is completely uncreative, therefore no derivative work is created. (I'm not sure if you're making (here or elsewhere) that claim, but it see

RT 45-01: CF Card read: High latency?

2005-04-11 Thread kus Kusche Klaus
>From the three sources of multi-millisecond latency in my experiments (console messages to dead serial console, USB I/O, CF Card bulk read), I've analyzed one: The latency of around 70 milliseconds in low-priority RT processes when running a "dd if=/dev/hda of=/dev/null" in parallel (where hda i

Re: Problem in log_do_checkpoint()?

2005-04-11 Thread Stephen C. Tweedie
Hi, On Fri, 2005-04-08 at 18:14, Badari Pulavarty wrote: > I get OOPs in log_do_checkpoint() while using ext3 quotas. > Is this anyway related to what you are working on ? > > Unable to handle kernel NULL pointer dereference at virtual address > Doesn't look like it, no. If we underst

Re: [PATCH encrypted swsusp 1/3] core functionality

2005-04-11 Thread folkert
> > > > The following patch adds the core functionality for the encrypted > > > > suspend image. > > > [Please inline patches, it makes it easier to comment on them.] > > > You seem to reuse same key/iv for all the blocks. I'm no crypto > > > expert, but I think that is seriously wrong... You proba

[rfc] git: combo-blobs

2005-04-11 Thread Ingo Molnar
i think all of the 'repository size' and 'bandwidth' concerns could be solved via a new (and pretty much simple and transparent) object type: the 'combo-blob'. Summary: This is a space/bandwidth-efficient blob that 'includes' arbitrary portions of (one, two, or more) simple blobs by

Re: Problem in log_do_checkpoint()?

2005-04-11 Thread Jan Kara
Hello, > On Mon, 2005-04-04 at 10:04, Jan Kara wrote: > > > In log_do_checkpoint() we go through the t_checkpoint_list of a > > transaction and call __flush_buffer() on each buffer. Suppose there is > > just one buffer on the list and it is dirty. __flush_buffer() sees it and > > puts it to a

Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]

2005-04-11 Thread Evgeniy Polyakov
On Mon, 2005-04-11 at 12:45 +0200, Thomas Graf wrote: > * Evgeniy Polyakov <[EMAIL PROTECTED]> 2005-04-11 09:22 > > On Sun, Apr 10, 2005 at 09:27:27PM +0200, Thomas Graf ([EMAIL PROTECTED]) > > wrote: > > > + size = NLMSG_SPACE(sizeof(*msg) + msg->len); > > > + > > > + skb = alloc_skb(

Re: Problem in log_do_checkpoint()?

2005-04-11 Thread Jan Kara
> I get OOPs in log_do_checkpoint() while using ext3 quotas. > Is this anyway related to what you are working on ? Nope, it does not seem to be the same problem. In theory it could be a bug Stephen fixed some time ago - could you try to reproduce the problem with 2.6.12-rc2 (it contains the fix)

Re: [PATCH encrypted swsusp 1/3] core functionality

2005-04-11 Thread Pavel Machek
Hi! > The following patch adds the core functionality for the encrypted > suspend image. +#ifdef CONFIG_SWSUSP_ENCRYPT +static struct crypto_tfm *crypto_init(int mode) +{ + struct crypto_tfm *tfm; + int len; + + tfm = crypto_alloc_tfm(CIPHER, CRYPTO_TFM_MODE_CBC); + if(!tf

Re: [PATCH encrypted swsusp 1/3] core functionality

2005-04-11 Thread Pavel Machek
Hi! > > > The following patch adds the core functionality for the encrypted > > > suspend image. > > [Please inline patches, it makes it easier to comment on them.] > > You seem to reuse same key/iv for all the blocks. I'm no crypto > > expert, but I think that is seriously wrong... You probably s

Re: Oops in swsusp

2005-04-11 Thread Pavel Machek
Hi! > during testing of the encrypted swsusp_image on x86_64 I did get an Oops > from time to time at memcpy+11 called from swsusp_save+1090 which turns > out to be the memcpy in copy_data_pages() of swsusp.c. > The Oops is caused by a NULL pointer (I don't remember if it was source > or destinati

swsusp vs. xfs [was Re: 2.6.12-rc2-mm1]

2005-04-11 Thread Pavel Machek
Hi! > > > No, XFS is my root filesystem. :( (Now that I think about it, would > > > modularizing XFS and using an initrd be OK?) > > > > Yes, loading xfs from initrd should help. [At least it did during > > suse9.3 testing.] > > Once I modularized xfs and switched to using an initrd, the problem

Re: Re: GIT license (Re: Re: Re: Re: Re: [ANNOUNCE] git-pasky-0.1)

2005-04-11 Thread Petr Baudis
Dear diary, on Mon, Apr 11, 2005 at 10:40:00AM CEST, I got a letter where Florian Weimer <[EMAIL PROTECTED]> told me that... > * Ingo Molnar: > > > is there any fundamental problem with going with v2 right now, and then > > once v3 is out and assuming it looks ok, all newly copyrightable bits >

Re: [Fwd: Re: connector is missing in 2.6.12-rc2-mm1]

2005-04-11 Thread Thomas Graf
* Evgeniy Polyakov <[EMAIL PROTECTED]> 2005-04-11 09:22 > On Sun, Apr 10, 2005 at 09:27:27PM +0200, Thomas Graf ([EMAIL PROTECTED]) > wrote: > > + size = NLMSG_SPACE(sizeof(*msg) + msg->len); > > + > > + skb = alloc_skb(size, GFP_ATOMIC); > > + if (!skb) { > > + pri

BUG in RT 45-01 when RT program dumps core

2005-04-11 Thread kus Kusche Klaus
When a process running with RT priority dumps core, I get the following BUG: Apr 11 13:44:23 OF455 kern.err kernel: BUG: rtc2:833 RT task yield()-ing! Apr 11 13:44:23 OF455 kern.warn kernel: [] yield+0x61/0x70 (8) Apr 11 13:44:23 OF455 kern.warn kernel: [] coredump_wait+0x79/0xc0 (20) Apr 11 13:

Re: [PATCH] zero disk pages used by swsusp on resume

2005-04-11 Thread Oliver Neukum
Am Sonntag, 10. April 2005 22:14 schrieb Pavel Machek: > Hi! > > > > Oliver Neukum wrote: > > > > What is the point in doing so after they've rested on the disk for ages? > > > > > > The point is not physical access to the disk but data gathering after > > > resume or reboot. > > > > After resum

Re: [PATCH encrypted swsusp 1/3] core functionality

2005-04-11 Thread folkert
> > The following patch adds the core functionality for the encrypted > > suspend image. > [Please inline patches, it makes it easier to comment on them.] > You seem to reuse same key/iv for all the blocks. I'm no crypto > expert, but I think that is seriously wrong... You probably should use > blo

Re: 2.6.12-rc2-mm3

2005-04-11 Thread Jan Dittmer
Andrew Morton wrote: bk-cifs.patch This breaks the build on mips, ppc64, sparc, sparc64 with the following error (defconfig, compared to mm2): CC [M] fs/cifs/misc.o fs/cifs/misc.c: In function `cifs_convertUCSpath': fs/cifs/misc.c:546: error: case label does not reduce to an integer constant fs/

Re: [PATCH encrypted swsusp 1/3] core functionality

2005-04-11 Thread Pavel Machek
Hi! > The following patch adds the core functionality for the encrypted > suspend image. [Please inline patches, it makes it easier to comment on them.] You seem to reuse same key/iv for all the blocks. I'm no crypto expert, but I think that is seriously wrong... You probably should use block nu

Re: Re: [ANNOUNCE] git-pasky-0.2

2005-04-11 Thread Petr Baudis
Dear diary, on Mon, Apr 11, 2005 at 10:50:51AM CEST, I got a letter where Ingo Molnar <[EMAIL PROTECTED]> told me that... > > * Petr Baudis <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > here goes git-pasky-0.2, my set of patches and scripts upon Linus' > > git, aimed at human usability an

Re: [RFC] Kprobes: Multiple probes feature at given address

2005-04-11 Thread Prasanna S Panchamukhi
Thanks Maneesh for your comments. Please find the patch below. > [..] > > Assumption : If a user has already inserted a probe using old > > register_kprobe() > > routine, and later wants to insert another probe at the same address using > > register_multiprobe() routine, then register_multiprobe(

Re: Re: [ANNOUNCE] git-pasky-0.2

2005-04-11 Thread Petr Baudis
Dear diary, on Mon, Apr 11, 2005 at 04:46:42AM CEST, I got a letter where Daniel Barkalow <[EMAIL PROTECTED]> told me that... > On Mon, 11 Apr 2005, Petr Baudis wrote: > > > Hello, > > > > here goes git-pasky-0.2, my set of patches and scripts upon > > Linus' git, aimed at human usability and

<    1   2   3   4   >