Re: [PATCH] Unbreak MSI on ATI devices

2006-12-24 Thread Daniel Barkalow
On Thu, 21 Dec 2006, Petr Vandrovec wrote: > So my question is - what is real reason for disabling INTX when in MSI mode? > According to PCI spec it should not be needed. The PCI spec is at least not clear enough on the matter to keep nVidia from thinking that it's the OS's responsibility to mak

Re: [PATCH] romsignature/checksum cleanup

2006-12-24 Thread Rene Herman
Rene Herman wrote: Use adding __init to romsignature() (it's only called from probe_roms() which is itself __init) as an excuse to submit a pedantic cleanup. Hmm, by the way, if romsignature() needs this probe_kernel_address() thing, why doesn't romchecksum()? (Rusty in CC as author of bd47

Re: ebtables problems on 2.6.19.1 *and* 2.6.16.36

2006-12-24 Thread Christopher S. Aker
Christopher S. Aker wrote: Patrick McHardy wrote: I'm trying to reproduce this (without success so far), please send your kernel config and your ebtables script. You could try if 2.6.19 works, there were some ebtables changes in 2.6.19.1 that touched this code. We're hitting this too, on both

Re: Binary Drivers

2006-12-24 Thread Wolfgang Draxinger
Am Sonntag, 24. Dezember 2006 21:20 schrieb Horst H. von Brand: > It is done regularly. Current cars control the fuel injection etc > via an onboard computer, without this control the engine just won't > start. Did you get the specs for the exact fuel control algorithm > with your car? Should you

Re: selinux networking: sleeping functin called from invalid context in 2.6.20-rc[12]

2006-12-24 Thread Parag Warudkar
On Mon, 25 Dec 2006, Adam J. Richter wrote: Under 2.6.20-rc1 and 2.6.20-rc2, I get the following complaint for several network programs running on my system: [ 156.381868] BUG: sleeping function called from invalid context at net/core/sock.c:1523 [ 156.381876] in_atomic():1, irqs_dis

Re: selinux networking: sleeping functin called from invalid context in 2.6.20-rc[12]

2006-12-24 Thread Andrew Morton
On Mon, 25 Dec 2006 05:21:24 +0800 "Adam J. Richter" <[EMAIL PROTECTED]> wrote: > Under 2.6.20-rc1 and 2.6.20-rc2, I get the following complaint > for several network programs running on my system: > > [ 156.381868] BUG: sleeping function called from invalid context at > net/core/sock.c:1

Re: Binary Drivers

2006-12-24 Thread Horst H. von Brand
Rok Markovic <[EMAIL PROTECTED]> wrote: > It seems that debate around cars and drivers has gone too far (IMHO). Ditto. > I > do not think that there is a question if we have any right to demand > details about hardware from man

Re: bluetooth memory corruption (was Re: ext3-related crash in 2.6.20-rc1)

2006-12-24 Thread Pavel Machek
Hi! > > > I got this nasty oops while playing with debugger. Not sure if that is > > > related; it also might be something with bluetooth; I already know it > > > corrupts memory during suspend, perhaps it corrupts memory in some > > > error path? > > > > Okay, I spoke too soon. bluetooth & suspe

Re: bluetooth memory corruption (was Re: ext3-related crash in 2.6.20-rc1)

2006-12-24 Thread Pavel Machek
On Sun 2006-12-24 15:39:23, Marcel Holtmann wrote: > Hi Pavel, > > > > I got this nasty oops while playing with debugger. Not sure if that is > > > related; it also might be something with bluetooth; I already know it > > > corrupts memory during suspend, perhaps it corrupts memory in some > > > e

Re: bluetooth memory corruption (was Re: ext3-related crash in 2.6.20-rc1)

2006-12-24 Thread Pavel Machek
Hi! > > PM: Removing info for No Bus:usbdev3.15_ep81 > > PM: Removing info for No Bus:usbdev3.15_ep82 > > PM: Removing info for No Bus:usbdev3.15_ep02 > > slab error in verify_redzone_free(): cache `size-512': memory outside > > object was overwritten > > [] cache_free_debugcheck+0x128/0x1d0 > >

[PATCH] romsignature/checksum cleanup

2006-12-24 Thread Rene Herman
Hi Andrew. Use adding __init to romsignature() (it's only called from probe_roms() which is itself __init) as an excuse to submit a pedantic cleanup. Signed-off-by: Rene Herman <[EMAIL PROTECTED]> diff --git a/arch/i386/kernel/e820.c b/arch/i386/kernel/e820.c index f391abc..2565fac 100644 ---

Re: Linux 2.6.20-rc2: forgot how to make a zImage on powerpc?

2006-12-24 Thread Mark Glines
Linus Torvalds wrote: (much of the latter syntactic cleanups). And arm and powerpc updates. Hmm. I'm trying to build 2.6.20-rc2 on a little powerpc box with arch/powerpc/configs/linkstation_defconfig, and I get: [EMAIL PROTECTED] /usr/src/linux $ make zImage HOSTCC scripts/basic/fixdep

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Martin Michlmayr
* Linus Torvalds <[EMAIL PROTECTED]> [2006-12-24 11:35]: > And if this doesn't fix it, I don't know what will.. Sorry, but it still fails (on top of plain 2.6.19). -- Martin Michlmayr http://www.cyrius.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Michael S. Tsirkin
> Quoting Linus Torvalds <[EMAIL PROTECTED]>: > Subject: Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content > corruption on ext3) > > Peter, tell me I'm crazy, but with the new rules, the following condition > is a bug: > > - shared mapping > - writable > - not already marked dirt

Re: ACPI EC warnings

2006-12-24 Thread Ismail Dönmez
24 Ara 2006 Paz 23:19 tarihinde, Guillaume Chazarain şunları yazmıştı: > > Patch looks nice, > > But LKML didn't like gmail's HTML so here is it again. Hopefully this > one will pass. I think this one didn't pass either :-/ > > btw do you notice any skippy behaviour? i.e sound skips when > > I g

selinux networking: sleeping functin called from invalid context in 2.6.20-rc[12]

2006-12-24 Thread Adam J. Richter
Under 2.6.20-rc1 and 2.6.20-rc2, I get the following complaint for several network programs running on my system: [ 156.381868] BUG: sleeping function called from invalid context at net/core/sock.c:1523 [ 156.381876] in_atomic():1, irqs_disabled():0 [ 156.381881] no locks held by kio_h

Re: ACPI EC warnings

2006-12-24 Thread Guillaume Chazarain
Patch looks nice, But LKML didn't like gmail's HTML so here is it again. Hopefully this one will pass. btw do you notice any skippy behaviour? i.e sound skips when I get this warning No, in my case I just get the message: ACPI: EC: evaluating _Q20 or something else is broken and I blame AC

Re: ACPI EC warnings

2006-12-24 Thread Ismail Dönmez
24 Ara 2006 Paz 23:02 tarihinde, Guillaume Chazarain şunları yazmıştı: > 2006/12/24, Ismail Donmez <[EMAIL PROTECTED]>: > > ACPI: EC: evaluating _Q60 > > Same thing here, I think it is caused by > http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=comm >it;h=af3fd1404fd4f0f58eb

Re: [patch 1/4] Add

2006-12-24 Thread Jan Engelhardt
On Dec 24 2006 12:22, Zack Weinberg wrote: >=== >--- linux-2.6.orig/fs/proc/kmsg.c 2006-12-23 08:55:17.0 -0800 >+++ linux-2.6/fs/proc/kmsg.c 2006-12-24 11:43:14.0 -0800 >@@ -11,6 +11,7 @@ > #include > #include

Re: Binary Drivers

2006-12-24 Thread Rok Markovic
It seems that debate around cars and drivers has gone too far (IMHO). I do not think that there is a question if we have any right to demand details about hardware from manufactorers -> we are NOT. But I think that we have right to know how to use it. I will translate this to CAR language - We

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Gordon Farquharson
On 12/24/06, Linus Torvalds <[EMAIL PROTECTED]> wrote: Ok, so how about this diff. I'm actually feeling good about this one. It really looks like "do_no_page()" was simply buggy, and that this explains everything. I tested with just this patch and 2.6.19 and no change. Sorry Linus, no early C

[patch 1/4] Add

2006-12-24 Thread Zack Weinberg
This patch introduces with symbolic constants for the various sys_syslog() opcodes, and changes all in-kernel references to those opcodes to use the constants. The header is added to the set of user/kernel interface headers. zw Index: linux-2.6/include/linux/Kbuild =

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Andrei Popa
On Sun, 2006-12-24 at 12:24 -0800, Linus Torvalds wrote: > > On Sun, 24 Dec 2006, Andrei Popa wrote: > > > > Hash check on download completion found bad chunks, consider using > > "safe_sync". > > Dang. Did you get any warning messages from the kernel? > only these: ACPI: EC: evaluating _Q80 A

[patch 0/4] /proc/kmsg permissions, take four

2006-12-24 Thread Zack Weinberg
Here's yet another revision of the /proc/kmsg permissions patch series. To recap, the point is to allow klogd to drop privileges and continue reading from /proc/kmsg (currently, even if klogd has a legitimately opened fd on /proc/kmsg, it cannot read from it unless it has CAP_SYS_ADMIN asserted).

[patch 3/4] Refactor do_syslog interface

2006-12-24 Thread Zack Weinberg
This patch breaks out the read operations in do_syslog() into their own functions (klog_read, klog_readhist) and adds a klog_poll. klog_read grows the ability to do a nonblocking read, which I expose in the sys_syslog interface because there doesn't seem to be any reason not to. do_syslog itself i

[patch 4/4] Distinguish /proc/kmsg access from sys_syslog

2006-12-24 Thread Zack Weinberg
Finally, add a new security class for access to /proc/kmsg, distinct from the class used for the "read current messages" operations on sys_syslog. The dummy and capability modules permit access to /proc/kmsg to any user (who has somehow acquired an open fd on it); SELinux is unchanged. This accom

[patch 2/4] permission mapping for sys_syslog operations

2006-12-24 Thread Zack Weinberg
As suggested by Stephen Smalley: map the various sys_syslog operations to a smaller set of privilege codes before calling security modules. This patch changes the security module interface! There should be no change in the actual security semantics enforced by dummy, capability, nor SELinux (with

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Linus Torvalds
On Sun, 24 Dec 2006, Andrei Popa wrote: > > Hash check on download completion found bad chunks, consider using > "safe_sync". Dang. Did you get any warning messages from the kernel? Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: Binary Drivers

2006-12-24 Thread Horst H. von Brand
David Schwartz <[EMAIL PROTECTED]> wrote: [...] > Now, let's try it another way: Are they allowed to sell a car that > incorporates a computer that uses a trade-secret algorithm for controlling > the fuel injection to get 20 more horsepower and 5% better mileage if it's > impossible to *start* th

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Andrei Popa
On Sun, 2006-12-24 at 11:35 -0800, Linus Torvalds wrote: > > On Sun, 24 Dec 2006, Gordon Farquharson wrote: > > > > The apt cache files (/var/cache/apt/*.bin) still get corrupted with > > this patch and 2.6.19. > > Yeah, if my guess about do_no_page() is right, _none_ of the previous > patches

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-24 Thread Dmitry Torokhov
On Sunday 24 December 2006 09:27, Pavel Machek wrote: > > perhaps printk('Binary only modules are not allowed by kernel license, > but copyright law may still allow them in special cases. Be careful, Come again? > Greg is going tuo sue you at beggining of 2008 if you get it wrong.') > would be a

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Linus Torvalds
On Sun, 24 Dec 2006, Gordon Farquharson wrote: > > The apt cache files (/var/cache/apt/*.bin) still get corrupted with > this patch and 2.6.19. Yeah, if my guess about do_no_page() is right, _none_ of the previous patches should have ANY effect what-so-ever. In fact, I'd say that even the "ex

RE: Binary Drivers

2006-12-24 Thread James C Georgas
On Sun, 2006-24-12 at 09:33 -0800, David Schwartz wrote: > > On Fri, 22 Dec 2006 23:19:09 PST, David Schwartz said: > > > > You can't sell something that doesn't exist. If you sell a car > > > even though > > > you can't explain how anyone could drive it, that's fraud. > > > Are they allowed to s

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Gordon Farquharson
On 12/24/06, Linus Torvalds <[EMAIL PROTECTED]> wrote: How about this particularly stupid diff? (please test with something that _would_ cause corruption normally). It is _entirely_ untested, but what it tries to do is to simply serialize any writeback in progress with any process that tries to

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Linus Torvalds
On Sun, 24 Dec 2006, Linus Torvalds wrote: > > Peter, tell me I'm crazy, but with the new rules, the following condition > is a bug: > > - shared mapping > - writable > - not already marked dirty in the PTE Ok, so how about this diff. I'm actually feeling good about this one. It really lo

Re: [PATCH] Update Documentation/pci.txt v7

2006-12-24 Thread Randy Dunlap
On Sat, 23 Dec 2006 23:07:26 -0700 Grant Grundler wrote: > +10. Legacy I/O port free driver > +~~~ That subject (and patches with similar subject) confuses me. It's difficult to associate the adjectives correctly. I suppose it just needs some hyphens/dashes, like: 10.

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Linus Torvalds
On Sun, 24 Dec 2006, Linus Torvalds wrote: > > How about this particularly stupid diff? (please test with something that > _would_ cause corruption normally). Actually, here's an even more stupid diff, which actually to some degree seems to capture the real problem better. Peter, tell me I'm

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Andrew Morton
On Sun, 24 Dec 2006 09:16:06 -0800 (PST) Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > On Sun, 24 Dec 2006, Andrei Popa wrote: > > > On Sun, 2006-12-24 at 04:31 -0800, Andrew Morton wrote: > > > Andrei Popa <[EMAIL PROTECTED]> wrote: > > > > /dev/sda7 on / type ext3 (rw,noatime,nobh) > > > >

Re: Updated Kernel Hacker's guide to git

2006-12-24 Thread Horst H. von Brand
Jeff Garzik <[EMAIL PROTECTED]> wrote: > I refreshed my git intro/cookbook for kernel hackers, at > http://linux.yyz.us/git-howto.html Looks nice, starting to look it over. Notes: Getting started: There are RPM packages available (I think they are for latest Fedora; in case of doubt get the

Re: [RFC] i386: per-cpu mmconfig map

2006-12-24 Thread OGAWA Hirofumi
Hi, Arjan van de Ven <[EMAIL PROTECTED]> writes: >> [ Alternatively, we could make a per-cpu mapping area or something. Not >> that it's probably worth it, but if we wanted to avoid all locking and >> instead just disable preemption, that would be the way to go. --Linus ] >> >> T

RE: Binary Drivers

2006-12-24 Thread David Schwartz
> On Fri, 22 Dec 2006 23:19:09 PST, David Schwartz said: > > You can't sell something that doesn't exist. If you sell a car > > even though > > you can't explain how anyone could drive it, that's fraud. > Are they allowed to sell a car that incorporates a computer that uses a > trade-secret algo

Re: [RFC] i386: per-cpu mmconfig map

2006-12-24 Thread Arjan van de Ven
On Mon, 2006-12-25 at 02:05 +0900, OGAWA Hirofumi wrote: > Hi, > > [ Alternatively, we could make a per-cpu mapping area or something. Not > that it's probably worth it, but if we wanted to avoid all locking and > instead just disable preemption, that would be the way to go. --Linu

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Linus Torvalds
On Sun, 24 Dec 2006, Andrei Popa wrote: > On Sun, 2006-12-24 at 04:31 -0800, Andrew Morton wrote: > > Andrei Popa <[EMAIL PROTECTED]> wrote: > > > /dev/sda7 on / type ext3 (rw,noatime,nobh) > > > > > > I don't have corruption. I tested twice. > > > > This is a surprising result. Can you pleas

Re: Linux 2.6.20-rc2

2006-12-24 Thread Andreas Schwab
Linus Torvalds <[EMAIL PROTECTED]> writes: > Yu Luming (1): > ACPI: video: Add dev argument for backlight_device_register Fix compilation of via-pmu-backlight. Signed-off-by: Andreas Schwab <[EMAIL PROTECTED]> --- drivers/macintosh/via-pmu-backlight.c |2 +- 1 file changed, 1 inserti

[RFC] i386: per-cpu mmconfig map

2006-12-24 Thread OGAWA Hirofumi
Hi, [ Alternatively, we could make a per-cpu mapping area or something. Not that it's probably worth it, but if we wanted to avoid all locking and instead just disable preemption, that would be the way to go. --Linus ] This patch is a draft of Linus's suggestion. This seems work f

Re: BUG: scheduling while atomic - Linux 2.6.20-rc2-ga3d89517

2006-12-24 Thread OGAWA Hirofumi
"Fabio Comolli" <[EMAIL PROTECTED]> writes: > Just found this in syslog. It was during normal activity, about 6 > minutes after resume-from-ram. I never saw this before. It seems someone missed to check PREEMPT_ACTIVE in __resched_legal(). Could you please test the following patch? -- OGAWA Hiro

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Andrei Popa
On Sun, 2006-12-24 at 04:31 -0800, Andrew Morton wrote: > On Sun, 24 Dec 2006 14:14:38 +0200 > Andrei Popa <[EMAIL PROTECTED]> wrote: > > > > - mount the fs with ext2 with the no-buffer-head option. That means > > > either: > > > > > > grub.conf: rootfstype=ext2 rootflags=nobh > > > /etc/f

Re: linux 2.6.20-rc1: kernel BUG at fs/buffer.c:1235!

2006-12-24 Thread Alex Romosan
Jiri Slaby <[EMAIL PROTECTED]> writes: > Alex Romosan wrote: >> this is on a thinkpad t40, not sure if it means anything, but here it goes: >> >> kernel: kernel BUG at fs/buffer.c:1235! >> kernel: invalid opcode: [#1] >> kernel: PREEMPT >> kernel: Modules linked in: radeon drm binfmt_misc n

Re: 2.6.19.1: kobject_add failed for audio with -EEXIST

2006-12-24 Thread markus reichelt
* Takashi Iwai <[EMAIL PROTECTED]> wrote: > At Tue, 12 Dec 2006 17:01:35 +0100, > markus reichelt wrote: > > > > Hi, > > > > I'm still having this prob at boot. please advise. > > It's the place trying to create OSS audio entry. > What points /sys/class/sound/audio/device ? sorry for the late

bcm43xx-softmac broken on 2.6.20-rc2

2006-12-24 Thread Larry Finger
This is a heads-up for anyone wishing to use bcm43xx-softmac on Linus's git tree, which is now at v2.6.20-rc2. There are two serious bugs in that code. Fixes are found below. The first bug is the result of changes in work queues. The second is the result of a typo that locks a mutex when it sho

Re: bluetooth memory corruption (was Re: ext3-related crash in 2.6.20-rc1)

2006-12-24 Thread Marcel Holtmann
Hi Pavel, > > I got this nasty oops while playing with debugger. Not sure if that is > > related; it also might be something with bluetooth; I already know it > > corrupts memory during suspend, perhaps it corrupts memory in some > > error path? > > Okay, I spoke too soon. bluetooth & suspend mem

Re: Oops in 2.6.19.1

2006-12-24 Thread Alistair John Strachan
On Sunday 24 December 2006 04:23, Chuck Ebbert wrote: [snip] > Anyway, post your complete .config. Config attached. -- Cheers, Alistair. Final year Computer Science undergraduate. 1F2 55 South Clerk Street, Edinburgh, UK. # # Automatically generated make config: don't edit # Linux kernel versio

Re: Linux 2.6.20-rc2

2006-12-24 Thread Jeff Garzik
Alessandro Suardi wrote: On 12/24/06, Linus Torvalds <[EMAIL PROTECTED]> wrote: Ok, it's a couple of days delayed, because we've been trying to figure out what is up with the rtorrent hash failures since 2.6.18.3. I don't think we've made any progress, but we've cleaned up a number of suspects

[PATCH 2.6.20-rc2] fix mrproper incompleteness

2006-12-24 Thread Mikael Pettersson
include/linux/utsrelease.h and include/linux/version.h aren't removed any more by mrproper in kernel 2.6.20-rc2. The patch below fixes this. The definition of MRPROPER_FILES looks weird: generated-headers looks like a misspelling of generated_headers, but that one is a Makefile target, not a varia

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-24 Thread Mark Hounschell
Sean wrote: > On Sun, 24 Dec 2006 06:57:58 -0500 > Mark Hounschell <[EMAIL PROTECTED]> wrote: > > >> Hum. We open sourced our drivers 2 years ago. Now one is 'changing' them >> for us. The only way that happens is if they can get in the official >> tree. I know just from monitoring this list that

Re: Oops in 2.6.19.1

2006-12-24 Thread Alistair John Strachan
On Sunday 24 December 2006 04:23, Chuck Ebbert wrote: > In-Reply-To: <[EMAIL PROTECTED]> > > On Sat, 23 Dec 2006 15:40:46 +, Alistair John Strachan wrote: > > Pretty much like clockwork, it happened again. I think it's time to take > > this seriously as a software bug, and not some hardware pro

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-24 Thread Pavel Machek
Hi! > > > > So let's come out and ban binary modules, rather than pussyfooting > > > > around, if that's what we actually want to do. > > > > > > Give people 12 months warning (time to work out what they're going to do, > > > talk with the legal dept, etc) then make the kernel load only GPL-tagge

Re: [patch] change WARN_ON back to "BUG: at ..."

2006-12-24 Thread Pavel Machek
Hi! > I've always felt that it is wrong (or at least misleading) that WARN_ON > prints "BUG". It would have been better if it had said "WARNING", and only > BUG_ON says "BUG". > > But lots of people have now written downstream log-parsing tools which > might break due to this change, so I'm incl

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Martin Michlmayr
* Andrew Morton <[EMAIL PROTECTED]> [2006-12-24 00:57]: > /etc/fstab: ext2 nobh > /etc/fstab: ext3 data=writeback,nobh It seems that busybox mount ignores the nobh option but both ext2 and ext3 data=writeback work for me. This is with plain 2.6.19 which normally always fails. -- Martin Michl

Re: Linux 2.6.20-rc2

2006-12-24 Thread Alessandro Suardi
On 12/24/06, Linus Torvalds <[EMAIL PROTECTED]> wrote: Ok, it's a couple of days delayed, because we've been trying to figure out what is up with the rtorrent hash failures since 2.6.18.3. I don't think we've made any progress, but we've cleaned up a number of suspects in the meantime. It's a

Re: linux 2.6.20-rc1: kernel BUG at fs/buffer.c:1235!

2006-12-24 Thread Jiri Slaby
Alex Romosan wrote: > this is on a thinkpad t40, not sure if it means anything, but here it goes: > > kernel: kernel BUG at fs/buffer.c:1235! > kernel: invalid opcode: [#1] > kernel: PREEMPT > kernel: Modules linked in: radeon drm binfmt_misc nfs sd_mod scsi_mod nfsd > exportfs lockd sunrpc

Re: ptrace() memory corruption?

2006-12-24 Thread Jiri Slaby
Andrew Morton wrote: > On Sun, 24 Dec 2006 12:51:16 +0059 > Jiri Slaby <[EMAIL PROTECTED]> wrote: > >> [ 58.674780] EFLAGS: 00010046 (2.6.20-rc1-mm1 #207) > > please, test 2.6.20-rc2. We applied a fix for this. It's working now. thanks, -- http://www.fi.muni.cz/~xslaby/Jiri Sl

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-24 Thread Sean
On Sun, 24 Dec 2006 06:57:58 -0500 Mark Hounschell <[EMAIL PROTECTED]> wrote: > Hum. We open sourced our drivers 2 years ago. Now one is 'changing' them > for us. The only way that happens is if they can get in the official > tree. I know just from monitoring this list that our drivers would neve

Re: Binary Drivers

2006-12-24 Thread Wolfgang Draxinger
Am Sonntag, 24. Dezember 2006 07:46 schrieb [EMAIL PROTECTED]: > Are they allowed to sell a car that incorporates a computer that > uses a trade-secret algorithm for controlling the fuel injection to > get 20 more horsepower and 5% better mileage? That would be a propritary fuel injection driver

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Andrew Morton
On Sun, 24 Dec 2006 14:14:38 +0200 Andrei Popa <[EMAIL PROTECTED]> wrote: > > - mount the fs with ext2 with the no-buffer-head option. That means either: > > > > grub.conf: rootfstype=ext2 rootflags=nobh > > /etc/fstab: ext2 nobh > > ierdnac ~ # mount > /dev/sda7 on / type ext2 (rw,noatime

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Andrew Morton
On Sun, 24 Dec 2006 14:26:01 +0200 Andrei Popa <[EMAIL PROTECTED]> wrote: > I also tested with ext3 ordered, nobh and I have file corruption... ordered+nobh isn't a possible combination. The filesystem probably ignored nobh. nobh mode only makes sense with data=writeback. - To unsubscribe from

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Andrei Popa
On Sun, 2006-12-24 at 14:14 +0200, Andrei Popa wrote: > On Sun, 2006-12-24 at 00:57 -0800, Andrew Morton wrote: > > On Sun, 24 Dec 2006 00:43:54 -0800 (PST) > > Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > > > I now _suspect_ that we're talking about something like > > > > > > - we started a

Re: ptrace() memory corruption?

2006-12-24 Thread Andrew Morton
On Sun, 24 Dec 2006 12:51:16 +0059 Jiri Slaby <[EMAIL PROTECTED]> wrote: > [ 58.674780] EFLAGS: 00010046 (2.6.20-rc1-mm1 #207) please, test 2.6.20-rc2. We applied a fix for this. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROT

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Andrei Popa
On Sun, 2006-12-24 at 00:57 -0800, Andrew Morton wrote: > On Sun, 24 Dec 2006 00:43:54 -0800 (PST) > Linus Torvalds <[EMAIL PROTECTED]> wrote: > > > I now _suspect_ that we're talking about something like > > > > - we started a writeout. The IO is still pending, and the page was > >marked

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-24 Thread Mark Hounschell
James Courtier-Dutton wrote: > > I agree with Linus on these points. The kernel should not be enforcing > these issues. Leave the lawyers to do that bit. If companies want to > play in the "Grey Area", then it is at their own risk. Binary drivers > are already difficult and expensive for the compa

Re: ptrace() memory corruption?

2006-12-24 Thread Jiri Slaby
Jiri Slaby wrote: > Pavel Machek wrote: >>> Is there something wrong with gdb? >> Yep. If I do gdb /bin/bash, run; I'll get similar oops. Am I alone >> seeing this? > > Nope, I have this nasty thing here too and will post oopses in the afternoon, > just before Jezisek comes :). Ok, I captured thi

Re: [PATCH 6/6] containers: BeanCounters over generic process containers

2006-12-24 Thread Paul Menage
On 12/23/06, Herbert Poetzl <[EMAIL PROTECTED]> wrote: On Fri, Dec 22, 2006 at 06:14:48AM -0800, Paul Menage wrote: > This patch implements the BeanCounter resource control abstraction > over generic process containers. It contains the beancounter core > code, plus the numfiles resource counter.

Re: evading ulimits

2006-12-24 Thread Jan Engelhardt
On Dec 23 2006 19:42, John Richard Moser wrote: >Jan Engelhardt wrote: >> >> Note that trying to kill all shells is a race between killing them all first >> and them spawning new ones everytime. To stop fork bombs, use killall -STOP >> first, then kill them. > >Yes I know; the point, though, is t

Re: GPL only modules [was Re: [GIT PATCH] more Driver core patches for 2.6.19]

2006-12-24 Thread James Courtier-Dutton
Linus Torvalds wrote: On Wed, 13 Dec 2006, Greg KH wrote: Numerous kernel developers feel that loading non-GPL drivers into the kernel violates the license of the kernel and their copyright. Because of this, a one year notice for everyone to address any non-GPL compatible modules has been set.

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Linus Torvalds
On Sun, 24 Dec 2006, Andrew Morton wrote: > > > I now _suspect_ that we're talking about something like > > > > - we started a writeout. The IO is still pending, and the page was > >marked clean and is now in the "writeback" phase. > > - a write happens to the page, and the page gets mar

Re: [PATCH v4 01/13] Linux RDMA Core Changes

2006-12-24 Thread Michael S. Tsirkin
> diff --git a/drivers/infiniband/hw/mthca/mthca_cq.c > b/drivers/infiniband/hw/mthca/mthca_cq.c > index 283d50b..15cbd49 100644 > --- a/drivers/infiniband/hw/mthca/mthca_cq.c > +++ b/drivers/infiniband/hw/mthca/mthca_cq.c > @@ -722,7 +722,8 @@ repoll: > return err == 0 || err == -EAGAIN ? n

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Andrew Morton
On Sun, 24 Dec 2006 00:43:54 -0800 (PST) Linus Torvalds <[EMAIL PROTECTED]> wrote: > I now _suspect_ that we're talking about something like > > - we started a writeout. The IO is still pending, and the page was >marked clean and is now in the "writeback" phase. > - a write happens to the

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Linus Torvalds
On Sun, 24 Dec 2006, Gordon Farquharson wrote: > > Is there any way to provide any debugging information that may help > solve the problem ? I think we have people working on this. I know I'm trying to even come up with an idea of what is going on. I don't think we know yet. > Would it help t

Re: [PATCH] mm: fix page_mkclean_one (was: 2.6.19 file content corruption on ext3)

2006-12-24 Thread Gordon Farquharson
On 12/22/06, Martin Michlmayr <[EMAIL PROTECTED]> wrote: * Peter Zijlstra <[EMAIL PROTECTED]> [2006-12-22 14:25]: > > and it failed. > Since you are on ARM you might want to try with the page_mkclean_one > cleanup patch too. I've already tried it and it didn't work. I just tried it again