Re: git guidance

2007-11-29 Thread Tilman Schmidt
Arkadiusz Miskiewicz schrieb: > You should watch this one http://youtube.com/watch?v=8dhZ9BXQgc4 . It's > better > 8-) Thanks for that. It really cleared up a lot of things. Now if I could get all that information in a less awkward form, for example a nice text document I can read at leisure in

[0/4] dst: Distributed storage.

2007-11-29 Thread Evgeniy Polyakov
Distributed storage. I'm pleased to announce the 9'th release of the distributed storage subsystem (DST). This is maintenance release and include bug fixing only. DST allows to form a storage on top of local and remote nodes and combine them into linear or mirroring setup, which in turn can be e

[1/4] dst: Distributed storage documentation.

2007-11-29 Thread Evgeniy Polyakov
Distributed storage documentation. Algorithms used in the system, userspace interfaces (sysfs dirs and files), design and implementation details are described here. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/Documentation/dst/algorithms.txt b/Documentation/dst/algorithms.

[4/4] dst: Algorithms used in distributed storage.

2007-11-29 Thread Evgeniy Polyakov
Algorithms used in distributed storage. Mirror and linear mapping code. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/alg_linear.c b/drivers/block/dst/alg_linear.c new file mode 100644 index 000..cb77b57 --- /dev/null +++ b/drivers/block/dst/alg_linear.c

[3/4] dst: Network state machine.

2007-11-29 Thread Evgeniy Polyakov
Network state machine. Includes network async processing state machine and related tasks. Signed-off-by: Evgeniy Polyakov <[EMAIL PROTECTED]> diff --git a/drivers/block/dst/kst.c b/drivers/block/dst/kst.c new file mode 100644 index 000..ba5e5ef --- /dev/null +++ b/drivers/block/dst/kst.c @

Re: [RFC] kmemcheck: trap uses of uninitialized memory (v2)

2007-11-29 Thread Vegard Nossum
On 29 Nov 2007 11:29:48 +0100, Andi Kleen <[EMAIL PROTECTED]> wrote: > Vegard Nossum <[EMAIL PROTECTED]> writes: > > > > - We properly flush TLB entries that change. This used to not be the case, > > and so we > > For low values of "properly" @) > > > + pte = lookup_address(addr); > > + ch

Re: [BUG] 2.6.24-rc3-mm2 kernel bug on nfs & cifs mounted partitions

2007-11-29 Thread Kamalesh Babulal
Andrew Morton wrote: > On Thu, 29 Nov 2007 14:30:14 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > >> Hi Andrew, >> >> While running file system stress on nfs and cifs mounted partitions, the >> machine >> drops to xmon >> >> 1:mon> e >> cpu 0x1: Vector: 300 (Data Access) at [c00080a9f88

Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever

2007-11-29 Thread Steven Rostedt
On Thu, 29 Nov 2007, Russell King - ARM Linux wrote: > On Thu, Nov 29, 2007 at 12:27:30PM +0100, Remy Bohmer wrote: > > Ah, and looking at the changes to the file, the addition of the mask > and unmask was done by someone who didn't understand what this was > trying to do. So that change should

Re: [RFC] kmemcheck: trap uses of uninitialized memory (v2)

2007-11-29 Thread Andi Kleen
> We don't need to flush all CPUs. This is my rationale: The debug > exception (single-step trap) will always happen on the same CPU that > the page fault occurred on. Page fault shows the page, debug exception > hides the page again. Between those two operations, nothing else can You're ignoring

Re: PATCH 2.6.24-rc3-mm2 - build breakage - bnx2x depends on ZLIB_INFLATE

2007-11-29 Thread Eliezer Tamir
On Wed, 2007-11-28 at 12:25 -0800, Lee Schermerhorn wrote: > Couldn't find one of these on the lists... > > PATCH 2.6.24-rc3-mm1: bnx2x depends on ZLIB_INFLATE > > The bnx2x module depends on the zlib_inflate functions. The > build will fail if ZLIB_INFLATE has not been selected manually > or

Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever

2007-11-29 Thread Russell King - ARM Linux
On Thu, Nov 29, 2007 at 12:27:30PM +0100, Remy Bohmer wrote: > Hello Russell, > > > If 'no' then it's the right handler and the mask/unmask methods associated > > with the interrupt will be no-ops. > > I completely understand what you keep on saying, but that would imply > that the following piec

[PATCH] atmel_lcdfb: Validate display timings

2007-11-29 Thread Haavard Skinnemoen
Setting a display timing parameter too high or too low may cause it to wrap around and thus become completely wrong. Validate the timings in atmel_lcdfb_check_var() and saturate to the highest or lowest possible value if necessary. Signed-off-by: Haavard Skinnemoen <[EMAIL PROTECTED]> --- drivers

Re: [patch -mm 2/4] mqueue namespace : add unshare support

2007-11-29 Thread Serge E. Hallyn
Quoting Andrew Morton ([EMAIL PROTECTED]): > On Thu, 29 Nov 2007 11:28:28 +0100 Cedric Le Goater <[EMAIL PROTECTED]> wrote: > > > >> Index: 2.6.24-rc3-mm2/include/linux/sched.h > > >> === > > >> --- 2.6.24-rc3-mm2.orig/include/linux/s

Re: Add the infamous Huawei E220 to option.c

2007-11-29 Thread Norbert Preining
Hi Pete, hi all, On Mi, 28 Nov 2007, Pete Zaitcev wrote: > It looks like the Huawei E220 saga is not over yet. A collegue of mine, > David Russll, reported that the modem does not work reliably on Fedora 8, > which does have the initializer in usb-storage. That is what I said. > it's random whic

Re: Add the infamous Huawei E220 to option.c

2007-11-29 Thread Norbert Preining
On Do, 29 Nov 2007, preining wrote: > So to be clear: kernl 2.6.24-rc3 + your patch gives me permanent cycles > and an error: > option_start_huawei: HUAWEI E220 setup failed (1) > I attach the syslog part which exhibits the behaviour. Now really attached. Best wishes Norbert -

Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever

2007-11-29 Thread Remy Bohmer
Hello Russell, > If people insist on adding the mask/unmask crap to it, the function > might as well be deleted and be an alias for handle_level_IRQ. Because > that's _precisely_ what you lot are turning it into. First, I want to make clear that I am just debugging a problem on RT that does not

2.6.24-rc3-git4 build warnings

2007-11-29 Thread Chris Clayton
Hi, I've just built 2.6.24-rc3-git4 and got the following two warnings.   LD      .tmp_vmlinux1   KSYM    .tmp_kallsyms1.S   AS      .tmp_kallsyms1.o   LD      .tmp_vmlinux2   KSYM    .tmp_kallsyms2.S   AS      .tmp_kallsyms2.o   LD      vmlinux.o   MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x90

Re: [PATCH x86/mm 11/11] x86 ptrace merge removals

2007-11-29 Thread Jeff Dike
On Thu, Nov 29, 2007 at 04:00:57AM -0800, Roland McGrath wrote: ...lots of ptrace merging... Can you make sure that UML still runs when you're done with ptrace? Jeff -- Work email - jdike at linux dot intel dot com - To unsubscribe from this list: send the line "

Re: Add the infamous Huawei E220 to option.c

2007-11-29 Thread Johann Wilhelm
If everything's working please also add code to also support the other E220 device... so both PID 0x1003 and 0x1004 should be treaded the same way... to test the device with the 0x1004-PID maybe Jaime Velasco <[EMAIL PROTECTED]> could be asked.. he initialy added the lines for this device

Re: Add the infamous Huawei E220 to option.c

2007-11-29 Thread Kristoffer Ericson
I'll give it a go later today, still on 2.6.22.4. Any logs of interest except for obvious behavior? On Thu, 29 Nov 2007 15:05:50 +0100 Johann Wilhelm <[EMAIL PROTECTED]> wrote: > If everything's working please also add code to also support the other > E220 device... so both PID 0x1003 and 0x10

Re: [BUG] 2.6.24-rc3-mm2 kernel bug on nfs & cifs mounted partitions

2007-11-29 Thread Kamalesh Babulal
Jan Kara wrote: > On Thu 29-11-07 17:27:08, Kamalesh Babulal wrote: >> Andrew Morton wrote: >>> On Thu, 29 Nov 2007 14:30:14 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> >>> wrote: >>> Hi Andrew, While running file system stress on nfs and cifs mounted partitions, the machine >>

Re: [PATCH 4/6] time: fix typo in comments

2007-11-29 Thread Chris Malley
On Thu, 29 Nov 2007 15:35:32 +0800, Li Zefan wrote: > > Fix typo in comments. > > BTW: I have to fix coding style in arch/ia64/kernel/time.c also, > otherwise checkpatch.pl will be complaining. > > Signed-off-by: Li Zefan <[EMAIL PROTECTED]> > > --- > arch/ia64/kernel/time.c | 14 +++--

Re: [bug] SLOB, tipc_init(), WARNING: at arch/x86/mm/highmem_32.c:52 kmap_atomic_prot()

2007-11-29 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > i'm getting this on 32-bit (with the kmap-atomic debugging patch > applied): > > > > Calling initcall 0x78b67c00: tipc_init+0x0/0xc0() > TIPC: Activated (version 1.6.2 compiled Nov 29 2007 15:04:36) > WARNING: at arch/x86/mm/highmem

Re: [BUG] 2.6.24-rc3-mm2 kernel bug on nfs & cifs mounted partitions

2007-11-29 Thread Jan Kara
On Thu 29-11-07 17:27:08, Kamalesh Babulal wrote: > Andrew Morton wrote: > > On Thu, 29 Nov 2007 14:30:14 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> > > wrote: > > > >> Hi Andrew, > >> > >> While running file system stress on nfs and cifs mounted partitions, the > >> machine > >> drops to xmon >

Re: Add the infamous Huawei E220 to option.c

2007-11-29 Thread Oliver Neukum
Am Donnerstag 29 November 2007 schrieb Kristoffer Ericson: > I'll give it a go later today, still on 2.6.22.4. > > Any logs of interest except for obvious behavior? dmesg Regards Oliver - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[bug] tipc_init(), WARNING: at arch/x86/mm/highmem_32.c:52 kmap_atomic_prot()

2007-11-29 Thread Ingo Molnar
i'm getting this on 32-bit (with the kmap-atomic debugging patch applied): > Calling initcall 0x78b67c00: tipc_init+0x0/0xc0() TIPC: Activated (version 1.6.2 compiled Nov 29 2007 15:04:36) WARNING: at arch/x86/mm/highmem_32.c:52 kmap_atomic_prot() Pid: 1, comm: swapper Not t

Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever

2007-11-29 Thread Russell King - ARM Linux
On Thu, Nov 29, 2007 at 03:18:04PM +0100, Remy Bohmer wrote: > Hello Russell, > > > If people insist on adding the mask/unmask crap to it, the function > > might as well be deleted and be an alias for handle_level_IRQ. Because > > that's _precisely_ what you lot are turning it into. > > First, I

What can we do to get ready for memory controller merge in 2.6.25

2007-11-29 Thread Balbir Singh
They say better strike when the iron is hot. Since we have so many people discussing the memory controller, I would like to access the readiness of the memory controller for mainline merge. Given that we have some time until the merge window, I'd like to set aside some time (from my other work ite

Re: broken dpt_i2o in 2.6.23 (was: ext2_check_page: bad entry in directory) (fwd)

2007-11-29 Thread FUJITA Tomonori
On Thu, 29 Nov 2007 14:03:19 +0100 Jan Kara <[EMAIL PROTECTED]> wrote: > Adding relevant people and lists to CC... > > Honza > > - Forwarded message from Anders Henke <[EMAIL PROTECTED]> - > > Date: Thu, 29 Nov 2007

[PATCH] asm-h8300: parentheses around definition CLOCK_TICK_RATE

2007-11-29 Thread Roel Kluin
Some places where CLOCK_TICK_RATE may be used incorrectly: arch/arm/mach-mx3/time.c:125: __raw_writel((v / CLOCK_TICK_RATE) - 1, MXC_GPT_GPTPR); drivers/watchdog/davinci_wdt.c:103: timer_margin = (((u64)heartbeat * CLOCK_TICK_RATE) & 0x); drivers/watchdog/davinci_wdt.c:105: tim

Re: [patch -mm 2/4] mqueue namespace : add unshare support

2007-11-29 Thread Eric W. Biederman
Cedric Le Goater <[EMAIL PROTECTED]> writes: > From: Cedric Le Goater <[EMAIL PROTECTED]> > > This patch includes the mqueue namespace in the nsproxy object. It > also adds the support of unshare() and clone() with a new clone flag > CLONE_NEWMQ (1 bit left in the clone flags !) > > CLONE_NEWMQ

Re: sched_yield: delete sysctl_sched_compat_yield

2007-11-29 Thread Arjan van de Ven
On Tue, 27 Nov 2007 17:33:05 +0800 "Zhang, Yanmin" <[EMAIL PROTECTED]> wrote: > If echo "1">/proc/sys/kernel/sched_compat_yield before starting > volanoMark testing, the result is very good with kernel 2.6.24-rc3 on > my 16-core tigerton. > > 1) If /proc/sys/kernel/sched_compat_yield=1, comparing

Re: [PATCH] Add iSCSI IBFT Support (v0.3)

2007-11-29 Thread Arjan van de Ven
On Mon, 26 Nov 2007 23:50:10 -0500 Konrad Rzeszutek <[EMAIL PROTECTED]> wrote: > > > > > > sysfs files have ONE VALUE PER FILE, not a whole bunch of > > > different things in a single file. Please fix this. > > > > The subparameters _are_ actually part of a single value, that value > > being asso

Re: [PATCH 1/3] signal(i386): alternative signal stack wraparound occurs

2007-11-29 Thread Arjan van de Ven
On Mon, 26 Nov 2007 19:02:22 -0800 (PST) Roland McGrath <[EMAIL PROTECTED]> wrote: > cf http://lkml.org/lkml/2007/10/3/41 > > To summarize: on Linux, SA_ONSTACK decides whether you are already on > the signal stack based on the value of the SP at the time of a > signal. If you are not already in

Relax permissions for reading hard drive serial number?

2007-11-29 Thread Dan Kegel
On 2000-09-07, in http://marc.info/?l=linux-kernel&m=96836765403118&w=2, Linus wrote: > Hmm.. I have this feeling that it would be much nicer to > just implement the NT system calls directly. > ... > I wouldn't be adverse to supporting Wine better... A few years on, Wine has matured to the point w

Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever

2007-11-29 Thread Remy Bohmer
Hello Russell, > While I realise that, I'm telling you that the _problem_ is being > caused by the wrong handler being used. Okay, I believe you... (someone told me once, Russell is right, and if you do not believe him, he is still right ;-) > SA1100 and PXA have exactly the same setup. They us

Re: Relax permissions for reading hard drive serial number?

2007-11-29 Thread Xavier Bestel
On Thu, 2007-11-29 at 07:13 -0800, Dan Kegel wrote: > A few years on, Wine has matured to the point where it's > ready to run quite a few apps, even some protected by Safedisc. > One sticking point is that apps like Photoshop and probably > Punkbuster want to retrieve the hard drive's serial number

Re: [PATCH] Add iSCSI IBFT Support (v0.3)

2007-11-29 Thread darnok
> > > > /sys/firmware/ibft/ethernet0/pci-bdf > > 5:1:0 > > shouldn't this somehow also have a symlink to the kernels ethX view of > ethernet devices? > (and if so.. how much of the info is duplicated..) That NIC is used by the NIC firmware (or the BIOS) to negotiate the iSCSI target. The informa

Re: Dynticks Causing High Context Switch Rate in ksoftirqd

2007-11-29 Thread Ray Lee
On Nov 28, 2007 6:44 PM, <[EMAIL PROTECTED]> wrote: > I built the same dynticks-enabled 2.6.23.9 kernel on a nearly identical > system with minor changes to reflect the slightly different hardware. > These two systems have identical MSI E7210 MasterX FA6R motherboards (same > model and revision.) T

Re: [PATCH] base/class.c: prevent ooops due to insert/remove race

2007-11-29 Thread Mark Lord
Greg KH wrote: On Wed, Nov 28, 2007 at 11:00:36PM -0500, Mark Lord wrote: While doing insert/remove (quickly) tests on USB, I managed to trigger an Oops on 2.6.23.1 on the call to strlen() in make_class_name(). This patch prevents this oops. There is still the larger problem of the overall rac

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-29 Thread Alan Stern
On Wed, 28 Nov 2007, Greg KH wrote: > > > The other kobject fields which should be set, directly or indirectly, by > > > the creator are its ktype, kset, and parent. We will get to those shortly, > > > however please note that the ktype and kset must be set before the > > > kobject_init() function

Re: Relax permissions for reading hard drive serial number?

2007-11-29 Thread Dan Kegel
On Nov 29, 2007 7:37 AM, Xavier Bestel <[EMAIL PROTECTED]> wrote: > > One sticking point is that apps like Photoshop and probably > > Punkbuster want to retrieve the hard drive's serial number > > So they can't be installed on a network drive ? I think Adobe supports that, though perhaps not with

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-29 Thread Alan Stern
On Thu, 29 Nov 2007, Cornelia Huck wrote: > > The only problem arises when a child's driver retains a reference to > > the parent kobject. If things are done properly, this reference should > > involve incrementing the module count -- which would prevent the module > > from being unloaded in t

Re: What can we do to get ready for memory controller merge in 2.6.25

2007-11-29 Thread Rik van Riel
On Thu, 29 Nov 2007 20:13:17 +0530 Balbir Singh <[EMAIL PROTECTED]> wrote: > They say better strike when the iron is hot. > > Since we have so many people discussing the memory controller, I would > like to access the readiness of the memory controller for mainline > merge. > At the VM-Summit we

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-29 Thread Alan Stern
On Thu, 29 Nov 2007, Kay Sievers wrote: > > And if someone calls kobject_put() after kobject_init() to clean up, > > their release function will not be called if they didn't set the ktype. > > So the check really belongs into kobject_init() IMO. Right. And even though cleaning up no longer needs

Re: [patch 06/10] s390: Use generic percpu

2007-11-29 Thread Martin Schwidefsky
On Wed, 2007-11-28 at 13:09 -0800, Christoph Lameter wrote: > s390 has a special way to determine the pointer to a per cpu area > plus there is a way to access the base of the per cpu area of the > currently executing processor. > > Note: I had to do a minor change to ASM code. Please check that >

Re: git guidance

2007-11-29 Thread Jing Xue
Quoting Al Boldi <[EMAIL PROTECTED]>: Sure, browsing is the easy part, but Version Control starts when things become writable. But how is that supposed to work? What happens when you make some changes to a file and save it? Do you want the "git file system" to commit it right aways or wait

[PATCH] base/class.c: prevent ooops due to insert/remove race (v2)

2007-11-29 Thread Mark Lord
Greg KH wrote: On Wed, Nov 28, 2007 at 11:00:36PM -0500, Mark Lord wrote: While doing insert/remove (quickly) tests on USB, I managed to trigger an Oops on 2.6.23.1 on the call to strlen() in make_class_name(). This patch prevents this oops. There is still the larger problem of the overall rac

[PATCH] Remove one useless extern declaration

2007-11-29 Thread Pierre Peiffer
The file exit.c contains one useless extern declaration of sem_exit(). Moreover, it refers to nothing. This trivial patch removes it. Signed-off-by: Pierre Peiffer <[EMAIL PROTECTED]> --- kernel/exit.c |2 -- 1 file changed, 2 deletions(-) Index: b/kernel/exit.c =

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-29 Thread Kay Sievers
On Thu, 2007-11-29 at 10:54 -0500, Alan Stern wrote: > On Thu, 29 Nov 2007, Kay Sievers wrote: > > > > And if someone calls kobject_put() after kobject_init() to clean up, > > > their release function will not be called if they didn't set the ktype. > > > So the check really belongs into kobject_i

Re: scheduling anomaly on uml (was: -rt doesn't compile for UML)

2007-11-29 Thread Miklos Szeredi
> > I can't say I'm understading these traces very well, but here's a > > snippet that looks a bit strange. I'm running 'while true; do date; > > done' in parallel with the dd. > > > > For some time it is doing 100% CPU as expected, then it goes into a > > second or so of mosty idle (afaics),

Re: [linux-usb-devel] [BUG] USB_PERSIST

2007-11-29 Thread Alan Stern
On Thu, 29 Nov 2007, Raymano Garibaldi wrote: > The feature does work as long as the device remains plugged in and > that is what I have said in my previous postings too. What I'm saying > that should work and worked under 2.6.21 and is not working currently > is the ability to unplug and plug bac

Re: Out of tree module using LSM

2007-11-29 Thread tvrtko . ursulin
Alan Cox <[EMAIL PROTECTED]> wrote on 28/11/2007 19:50:42: > > So as there is no question the current code does some ugly things it is > > even more true that we would be even more happy to use an official API. > > LSM was that and we were happily using it which we won't be able to do if > >

[RFC v2] Documentation about unaligned memory access

2007-11-29 Thread Daniel Drake
New version of the unaligned access document I posted recently. Thanks for all the feedback, I've learned a lot! Changes: - 'in between' spelling fix - shortened example addresses for readability - better summarised the common architectural differences in handling unaligned access under "Why una

Re: What can we do to get ready for memory controller merge in 2.6.25

2007-11-29 Thread Balbir Singh
Rik van Riel wrote: > On Thu, 29 Nov 2007 20:13:17 +0530 > Balbir Singh <[EMAIL PROTECTED]> wrote: > >> They say better strike when the iron is hot. >> >> Since we have so many people discussing the memory controller, I would >> like to access the readiness of the memory controller for mainline >>

constant_tsc and TSC unstable

2007-11-29 Thread ポール・ ロラン
Hello, I've a machine with a Core2Duo CPU. /proc/cpuinfo reports the flag constant_tsc, but at boot time, I have the log : ... Total of 2 processors activated (6919.15 BogoMIPS). ENABLING IO-APIC IRQs ..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1 checking TSC synchronization [CPU#0 -> CPU#

Re: git guidance

2007-11-29 Thread Linus Torvalds
On Thu, 29 Nov 2007, Jing Xue wrote: > > By the way, the only SCM I have worked with that tries to mount its > repository (or a view on top of it) as a file system is ClearCase with > its dynamic views. And, between the buggy file system implementation, > the intrusion on workflow, and the lack

Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever

2007-11-29 Thread Remy Bohmer
Hello All, I tested some more with the edge_triggered interrupt handler on AT91, and I had already a long time a problem with the AT91SAM9261-EK kit, that the DM9000 Ethernet controller did not work _at all_ on RT. I just tried if the edge triggered interrupt handler works on that board also. And

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-29 Thread Cornelia Huck
On Thu, 29 Nov 2007 17:04:40 +0100, Kay Sievers <[EMAIL PROTECTED]> wrote: > On Thu, 2007-11-29 at 10:54 -0500, Alan Stern wrote: > > On Thu, 29 Nov 2007, Kay Sievers wrote: > > > > > > And if someone calls kobject_put() after kobject_init() to clean up, > > > > their release function will not be

Re: [PATCH] net/e1000: fix memcpy in e1000_get_strings

2007-11-29 Thread Kok, Auke
Roel Kluin wrote: > drivers/net/e1000/e1000_ethtool.c:113: > #define E1000_TEST_LEN sizeof(e1000_gstrings_test) / ETH_GSTRING_LEN > > drivers/net/e1000e/ethtool.c:106: > #define E1000_TEST_LEN sizeof(e1000_gstrings_test) / ETH_GSTRING_LEN > > E1000_TEST_LEN*ETH_GSTRING_LEN will expand to > sizeo

Re: [PATCH] base/class.c: prevent ooops due to insert/remove race

2007-11-29 Thread Greg KH
On Thu, Nov 29, 2007 at 10:41:29AM -0500, Mark Lord wrote: > Greg KH wrote: >> On Wed, Nov 28, 2007 at 11:00:36PM -0500, Mark Lord wrote: >>> While doing insert/remove (quickly) tests on USB, I managed to trigger >>> an Oops on 2.6.23.1 on the call to strlen() in make_class_name(). >>> >>> This pat

Re: scheduling anomaly on uml (was: -rt doesn't compile for UML)

2007-11-29 Thread Ingo Molnar
* Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > to get symbolic stack backdumps for the wakeup points, and add > > trace_special_sym() calls to generate extra stackdump entries at > > arbitrary places. schedule() does not have it right now - it might > > make sense to add it. > > OK, this hel

[PATCH] Update Kdump Maintainer's details

2007-11-29 Thread Vivek Goyal
o Updating mail id for kdump maintainer Signed-off-by: Vivek Goyal <[EMAIL PROTECTED]> --- MAINTAINERS |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN MAINTAINERS~update-kdump-maintainer-details MAINTAINERS --- linux-2.6.24-rc3-vanilla/MAINTAINERS~update-kdump-maintainer-d

Re: Out of tree module using LSM

2007-11-29 Thread tvrtko . ursulin
Al Viro <[EMAIL PROTECTED]> wrote on 28/11/2007 18:30:40: > On Wed, Nov 28, 2007 at 01:15:05PM -0500, [EMAIL PROTECTED] wrote: > > (Note that the concept has interesting implications in the other > direction as > > well - rather than stopping you from reading a file that has > malware, you could

Re: Out of tree module using LSM

2007-11-29 Thread Jon Masters
On Thu, 2007-11-29 at 11:12 +1100, James Morris wrote: > On Wed, 28 Nov 2007, [EMAIL PROTECTED] wrote: > > > So as there is no question the current code does some ugly things it is > > even more true that we would be even more happy to use an official API. > > How about becoming involved in cre

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-29 Thread Cornelia Huck
On Thu, 29 Nov 2007 10:47:19 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > On Thu, 29 Nov 2007, Cornelia Huck wrote: > > > > The only problem arises when a child's driver retains a reference to > > > the parent kobject. If things are done properly, this reference should > > > involve in

Re: [PATCH PREEMPT_RT]: On AT91 ARM: GPIO Interrupt handling can/will stall forever

2007-11-29 Thread Steven Rostedt
On Thu, 29 Nov 2007, Remy Bohmer wrote: > I changed the interrupt handler from the simple_irq to the edge_irq, > and it works...!! > (I added a noop routine for that .ack part, because there is no ack) > > I believe I was too focussed on the masking bug in the RT kernel on > the simple_irq() that

Re: Out of tree module using LSM

2007-11-29 Thread Jon Masters
On Wed, 2007-11-28 at 17:07 -0800, Greg KH wrote: > The easiest way is as Al described above, just have the userspace > program that wrote the file to disk, check it then. But the problem is that this isn't just Samba, this is a countless myriad of different applications. And if one of them doesn

Re: broken dpt_i2o in 2.6.23 (was: ext2_check_page: bad entry in directory) (fwd)

2007-11-29 Thread Anders Henke
On Nov 29 2007, FUJITA Tomonori wrote: > On Thu, 29 Nov 2007 14:03:19 +0100 > Jan Kara <[EMAIL PROTECTED]> wrote: > > > Adding relevant people and lists to CC... > > > > Honza > > > > - Forwarded message from Anders Henke

[PATCH 2/3] UML - Fix command-line CFLAGS and LDFLAGS support

2007-11-29 Thread Jeff Dike
[ 2.6.25 material ] UML still needed some work in order to allow CFLAGS to be passed in from the command line. USER_CFLAGS is produced from KBUILD_CFLAGS in part by removing all the -I switches. This is so that kernel headers don't accidentally get pulled into libc files. However, a common use

[PATCH] Fix __const_udelay declaration and definition mismatches

2007-11-29 Thread Jeff Dike
[ 2.6.25 material ] The declaration and implementation of __const_udelay use different names for the parameter on a number of architectures: include/asm-avr32/delay.h:15:extern void __const_udelay(unsigned long usecs); arch/avr32/lib/delay.c:39:inline void __const_udelay(unsigned long xloops) in

[PATCH 1/3] UML - Add asm-um/asm.h

2007-11-29 Thread Jeff Dike
[ This should accompany git-x86.patch to mainline ] git-x86.patch introduces asm-x86/asm.h. UML needs to follow this with an asm/asm.h of its own. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- include/asm-um/asm.h |6 ++ 1 file changed, 6 insertions(+) Index: linux-2.6.22/include/as

[PATCH 3/3] UML - style fixes in arch/um/os-Linux

2007-11-29 Thread Jeff Dike
[ 2.6.25 material ] Style fixes in arch/um/os-Linux/irq.c and arch/um/os-Linux/sigio.c: Updated copyrights trimmed includes added severity indicators to printks CodingStyle fixes turned an bunch of panics into printks call some libc functions directl

Re: Out of tree module using LSM

2007-11-29 Thread Greg KH
On Thu, Nov 29, 2007 at 11:36:12AM -0500, Jon Masters wrote: > On Wed, 2007-11-28 at 17:07 -0800, Greg KH wrote: > > > The easiest way is as Al described above, just have the userspace > > program that wrote the file to disk, check it then. > > But the problem is that this isn't just Samba, this

Re: Out of tree module using LSM

2007-11-29 Thread Greg KH
On Thu, Nov 29, 2007 at 11:27:45AM -0500, Jon Masters wrote: > On Thu, 2007-11-29 at 11:12 +1100, James Morris wrote: > > On Wed, 28 Nov 2007, [EMAIL PROTECTED] wrote: > > > > > So as there is no question the current code does some ugly things it is > > > even more true that we would be even more

Re: Out of tree module using LSM

2007-11-29 Thread Jan Engelhardt
On Nov 29 2007 11:27, Jon Masters wrote: > >They (virus protection folks) generally think they want to intercept >various system calls, such as open() and block until they have performed >a scan operation on the file. I explained the mmap issue [...] If open and close was everything, then that wo

Re: Out of tree module using LSM

2007-11-29 Thread Stephen Hemminger
On Thu, 29 Nov 2007 11:27:45 -0500 Jon Masters <[EMAIL PROTECTED]> wrote: > On Thu, 2007-11-29 at 11:12 +1100, James Morris wrote: > > On Wed, 28 Nov 2007, [EMAIL PROTECTED] wrote: > > > > > So as there is no question the current code does some ugly things it is > > > even more true that we woul

Re: Out of tree module using LSM

2007-11-29 Thread Jan Engelhardt
On Nov 29 2007 08:47, Greg KH wrote: >On Thu, Nov 29, 2007 at 11:36:12AM -0500, Jon Masters wrote: >> On Wed, 2007-11-28 at 17:07 -0800, Greg KH wrote: >> >> > The easiest way is as Al described above, just have the userspace >> > program that wrote the file to disk, check it then. >> >> But the

Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro.

2007-11-29 Thread Arjan van de Ven
On Mon, 26 Nov 2007 10:25:33 -0800 > > Agreed. On first glance, I was intrigued but: > > 1) Why is everyone so concerned that export symbol space is large? > - does it cost cpu or running memory? yes. about 120 bytes per symbol > - does it cause bugs? yes, bad apis are causing bugs

Re: [RFC] New kobject/kset/ktype documentation and example code

2007-11-29 Thread Alan Stern
On Thu, 29 Nov 2007, Cornelia Huck wrote: > > Unfortunately kobjects don't have an owner field. In practice this > > means that it isn't possible to pin the owner of some random kobject -- > > you have to know where the kobject came from or what it's embedded in. > > All users of kobjects nee

Re: Out of tree module using LSM

2007-11-29 Thread Christoph Hellwig
On Thu, Nov 29, 2007 at 05:53:33PM +0100, Jan Engelhardt wrote: > >> But the problem is that this isn't just Samba, this is a countless > >> myriad of different applications. And if one of them doesn't support > >> on-access scanning, then the whole solution isn't worth using. > > > >Ok, which spec

Re: scheduling anomaly on uml (was: -rt doesn't compile for UML)

2007-11-29 Thread Jeff Dike
On Thu, Nov 29, 2007 at 11:19:40AM +0100, Miklos Szeredi wrote: > date-7119 0 15636591us!: schedule (0 0) > bash-502 0 15643908us!: schedule (0 0) > bash-502 0 15646250us!: schedule (0 0) How exactly did you end up getting this data? And is there something I can re

Re: Out of tree module using LSM

2007-11-29 Thread tvrtko . ursulin
[EMAIL PROTECTED] wrote on 28/11/2007 19:20:26: > "Tvrtko A. Ursulin" <[EMAIL PROTECTED]> writes: > > > We here at Sophos (the fourth largest endpoint security vendor in > the world) > > have such a module called Talpa which is a part of our main > endpoint security > > product > > What is a

Re: broken dpt_i2o in 2.6.23 (was: ext2_check_page: bad entry in directory) (fwd)

2007-11-29 Thread Matthew Wilcox
On Thu, Nov 29, 2007 at 05:45:57PM +0100, Anders Henke wrote: > On Nov 29 2007, FUJITA Tomonori wrote: > > @@ -3295,7 +3295,7 @@ static struct scsi_host_template adpt_template = { > > .this_id= 7, > > .cmd_per_lun= 1, > > .use_clustering = ENABLE_CLUS

Re: Out of tree module using LSM

2007-11-29 Thread Greg KH
On Thu, Nov 29, 2007 at 05:53:33PM +0100, Jan Engelhardt wrote: > > On Nov 29 2007 08:47, Greg KH wrote: > >On Thu, Nov 29, 2007 at 11:36:12AM -0500, Jon Masters wrote: > >> On Wed, 2007-11-28 at 17:07 -0800, Greg KH wrote: > >> > >> > The easiest way is as Al described above, just have the users

Re: [RFC v2] Documentation about unaligned memory access

2007-11-29 Thread Kyle McMartin
Hi Daniel, On Thu, Nov 29, 2007 at 04:15:23PM +, Daniel Drake wrote: > Unaligned memory accesses occur when you try to read N bytes of data starting > from an address that is not evenly divisible by N (i.e. addr % N != 0). > For example, reading 4 bytes of data from address 0x10004 is fine, bu

Re: Out of tree module using LSM

2007-11-29 Thread Jon Masters
On Thu, 2007-11-29 at 08:47 -0800, Greg KH wrote: > On Thu, Nov 29, 2007 at 11:36:12AM -0500, Jon Masters wrote: > > On Wed, 2007-11-28 at 17:07 -0800, Greg KH wrote: > > > > > The easiest way is as Al described above, just have the userspace > > > program that wrote the file to disk, check it th

Re: [PATCH] kobject: make sure kobj->ktype is set before kobject_init

2007-11-29 Thread Alan Stern
On Thu, 29 Nov 2007, Kay Sievers wrote: > > In fact, if we were designing the kobject API from scratch, I'd suggest > > making the ktype value an argument to kobject_init() so that it > > _couldn't_ be omitted. > > Sounds fine, maybe we should also pass the name along, so it will be > obvious w

Something similar to inotify in 2.4.

2007-11-29 Thread Vitaliy Ivanov
Hi all, Can anyone advice whether there is something similar to inotify in 2.4 kernel? Need efficient way to track file system changes. Maybe some other tools, approaches under 2.4? TIA, Vitaliy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: Add the infamous Huawei E220 to option.c

2007-11-29 Thread Greg KH
On Thu, Nov 29, 2007 at 12:01:49AM -0800, Pete Zaitcev wrote: > On Thu, 29 Nov 2007 08:44:38 +0100, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > > 3. Make sure usbcore doesn't probe the devices in the wrong mode with the > > option driver > > This fixes duplication. And to take it further, why d

Re: broken dpt_i2o in 2.6.23 (was: ext2_check_page: bad entry in directory) (fwd)

2007-11-29 Thread FUJITA Tomonori
On Thu, 29 Nov 2007 17:45:57 +0100 Anders Henke <[EMAIL PROTECTED]> wrote: > On Nov 29 2007, FUJITA Tomonori wrote: > > On Thu, 29 Nov 2007 14:03:19 +0100 > > Jan Kara <[EMAIL PROTECTED]> wrote: > > > > > Adding relevant people and lists to CC... > > > > > >

Re: does /proc/sys/kernel/modprobe actually do anything?

2007-11-29 Thread Kay Sievers
On Nov 29, 2007 1:58 PM, Robert P. J. Day <[EMAIL PROTECTED]> wrote: > On Thu, 29 Nov 2007, Alexey Dobriyan wrote: > > > On 11/29/07, Robert P. J. Day <[EMAIL PROTECTED]> wrote: > > > echo '#! /bin/sh' > /tmp/modprobe > > > echo 'echo "$@" >> /tmp/modprobe.log' >> /tmp/modprobe > > > echo 'exec /sb

Re: [PATCH x86/mm 05/11] x86 ptrace getreg/putreg merge

2007-11-29 Thread Andrew Morton
On Thu, 29 Nov 2007 03:59:54 -0800 (PST) Roland McGrath <[EMAIL PROTECTED]> wrote: > +/* > + * Determines whether a value may be installed in a segment register. > + */ > +#define invalid_selector(value) \ > + ((value) != 0 && ((value) & SEGMENT_RPL_MASK) != USER_RPL) This didn't need to be

Re: [PATCH x86/mm 06/11] x86 ptrace arch merge

2007-11-29 Thread Andrew Morton
On Thu, 29 Nov 2007 04:00:14 -0800 (PST) Roland McGrath <[EMAIL PROTECTED]> wrote: > --- a/arch/x86/kernel/ptrace.c > +++ b/arch/x86/kernel/ptrace.c > @@ -461,12 +461,13 @@ static int ptrace_set_debugreg(struct task_struct > *child, > void ptrace_disable(struct task_struct *child) > { >

Re: sata NCQ blacklist entry

2007-11-29 Thread Bjoern Olausson
On 11/7/07, Tejun Heo <[EMAIL PROTECTED]> wrote: > > Thanks. We're currently trying to find out what's actually going on > with all these drives. At first, drives which got blacklisted aren't > many and made sense (had other problems with NCQ, etc..) but with new > generation drives from many ven

Re: [PATCH x86/mm 6/6] x86-64 ia32 ptrace get/putreg32 current task

2007-11-29 Thread Chuck Ebbert
On 11/28/2007 07:42 PM, Roland McGrath wrote: > --- a/arch/x86/ia32/ptrace32.c > +++ b/arch/x86/ia32/ptrace32.c > @@ -48,19 +48,27 @@ static int putreg32(struct task_struct *child, unsigned > regno, u32 val) > if (val && (val & 3) != 3) > return -EIO; >

Re: Out of tree module using LSM

2007-11-29 Thread Ray Lee
On Nov 29, 2007 9:03 AM, Greg KH <[EMAIL PROTECTED]> wrote: > On Thu, Nov 29, 2007 at 05:53:33PM +0100, Jan Engelhardt wrote: > > > > On Nov 29 2007 08:47, Greg KH wrote: > > >On Thu, Nov 29, 2007 at 11:36:12AM -0500, Jon Masters wrote: > > >> On Wed, 2007-11-28 at 17:07 -0800, Greg KH wrote: > > >

Re: Out of tree module using LSM

2007-11-29 Thread Alan Cox
> Can we please stop this useless discussion? Trying to check the content > of files to see whether they might be malicious is inherently braindead, > and no amounts of plugins in random places will fix this. Actually it is quite effective especially for files whose content is expected not to be

Re: [PATCH x86/mm 08/11] x86 ia32 ptrace getreg/putreg merge

2007-11-29 Thread Christoph Hellwig
On Thu, Nov 29, 2007 at 04:00:31AM -0800, Roland McGrath wrote: > +#define R32(l,q) \ > + case offsetof(struct user32, regs.l): \ > + regs->q = value; break > + > +#define SEG32(rs)

Re: Dynticks Causing High Context Switch Rate in ksoftirqd

2007-11-29 Thread Ray Lee
On Nov 29, 2007 9:11 AM, <[EMAIL PROTECTED]> wrote: > > These are good points. However, on the Slack 10.2 box I repeated these > measurements with all userspace code quiesced. No daemons running except > for those that are kernel threads. Secondly, I do run dynticks kernels on > other Slackware 10

<    1   2   3   4   5   >