pci card detection by kernel

2007-04-07 Thread S. Vishnu Priya
Dear All, I am new to this group. I was asked to write a device driver for a new pci card. My doubt is, Kernel will detect a new pci card which is attached to the system? Or how we can make the kernel to detect the new card which is newly attached? I am using kernel 2.6.11.12. Please

Re: [PATCH nf-2.6.22] [netfilter] early_drop imrovement

2007-04-07 Thread Vasily Averin
Eric Dumazet wrote: > Vasily Averin a e'crit : >> When the number of conntracks is reached nf_conntrack_max limit, >> early_drop() is >> called and tries to free one of already used conntracks in one of the >> hash >> buckets. If it does not find any conntracks that may be freed, it >> leads to

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-07 Thread Christer Weinigel
[EMAIL PROTECTED] writes: > Lennart. Tell me again that these results from > > http://linuxhelp.150m.com/resources/fs-benchmarks.htm and > http://m.domaindlx.com/LinuxHelp/resources/fs-benchmarks.htm > > are not of interest to you. I still don't understand why you have your > head in the sand.

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-07 Thread johnrobertbanks
Teddy, It is a pity you don't address the full set of results, when you make your snide comments. Now since you have them,... why don't you make reasoned comment about them. You can read more here: http://linuxhelp.150m.com/resources/fs-benchmarks.htm and

Re: [PATCH 5/5] partitions: Rewrite check_partition to remove necessity of check_part

2007-04-07 Thread Randy Dunlap
On Sat, 7 Apr 2007 23:42:00 -0400 (EDT) John Anthony Kazos Jr. wrote: > From: John Anthony Kazos Jr. <[EMAIL PROTECTED]> > > Removes the entire check_part array and uses the presence of new stub > functions in header files in fs/partitions to call them directly in a list > and let the compiler

Re: [PATCH 4/5] partitions: Add conditionals and static inline stubs to helpers in headers

2007-04-07 Thread Randy Dunlap
On Sat, 7 Apr 2007 23:40:50 -0400 (EDT) John Anthony Kazos Jr. wrote: > From: John Anthony Kazos Jr. <[EMAIL PROTECTED]> > > Functions of the form adfspart_check_FOO and foo_partition defined in > fs/partitions/*.h are helper functions called in a deliberate order by > check_partition in

[PATCH 5/5] partitions: Rewrite check_partition to remove necessity of check_part

2007-04-07 Thread John Anthony Kazos Jr.
From: John Anthony Kazos Jr. <[EMAIL PROTECTED]> Removes the entire check_part array and uses the presence of new stub functions in header files in fs/partitions to call them directly in a list and let the compiler optimize away any that aren't compiled in. Also fixes a bug where " unable to

Re: [PATCH] Re: kernel oops with badly formatted module option

2007-04-07 Thread Larry Finger
Randy Dunlap wrote: On Sat, 07 Apr 2007 19:21:01 -0500 Larry Finger wrote: With the following line in /etc/modprobe.conf.local: options bcm43xx fwpostfix = ".fw3" locale=8 the kernel oops below is generated. I realize that the line should have no whitespace around the "=", but I do not feel

[PATCH 2/5] partitions: Add Kconfig dependency to clear benign compiler warning

2007-04-07 Thread John Anthony Kazos Jr.
From: John Anthony Kazos Jr. <[EMAIL PROTECTED]> Adds a dependency to ACORN_PARTITION_RISCIX in fs/partitions/Kconfig to prevent compilation of the function riscix_partition which is used only within ACORN_PARTITION_CUMANA and ACORN_PARTITION_ADFS sections, thereby preventing an

[PATCH 3/5] partitions: Add conditionals to acorn.c to clear benign compiler warnings

2007-04-07 Thread John Anthony Kazos Jr.
From: John Anthony Kazos Jr. <[EMAIL PROTECTED]> Adds conditional-compilation directives to fs/partitions/acorn.c to prevent compilation of the functions adfs_partition and linux_partition which are used only within ACORN_PARTITION_CUMANA and ACORN_PARTITION_ADFS sections, thereby preventing

[PATCH 4/5] partitions: Add conditionals and static inline stubs to helpers in headers

2007-04-07 Thread John Anthony Kazos Jr.
From: John Anthony Kazos Jr. <[EMAIL PROTECTED]> Functions of the form adfspart_check_FOO and foo_partition defined in fs/partitions/*.h are helper functions called in a deliberate order by check_partition in check.c. Add conditional-compilation directives and static inline no-op functions to

[PATCH 1/5] partitions: Touch up comments for check.h and ibm.h

2007-04-07 Thread John Anthony Kazos Jr.
From: John Anthony Kazos Jr. <[EMAIL PROTECTED]> Adds top-of-file identifying comments to check.h and ibm.h in fs/partitions similar to the other files in the directory. Removes an obsolescent comment from check.h leftover from devfs. Signed-off-by: John Anthony Kazos Jr. <[EMAIL PROTECTED]>

[PATCH 0/5] partitions: Changes to fs/partitions for readability and efficiency

2007-04-07 Thread John Anthony Kazos Jr.
In addition to the Kconfig help text patch I submitted earlier, this is a set of patches to touch up the partition handling files and also to change the "array of function pointers" algorithm of the main checking function to "list of calls to possible stub functions" to better fit in with the

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-07 Thread Theodore Tso
On Sat, Apr 07, 2007 at 05:44:57PM -0700, [EMAIL PROTECTED] wrote: > To get a feel for the performance increases that can be achieved by > using compression, we look at the total time (in seconds) to run the > test: You mean the performance increases of writing a file which is mostly all zero's?

Re: [RFD driver-core] Lifetime problems of the current driver model

2007-04-07 Thread Tejun Heo
Hello, Alan Stern wrote: >> The problem here is that kobjec_get() in sysfs_schedule_callback() >> doesn't grab the module backing the kobject it's grabbing. By the >> time (ss->func)(ss->kobj) runs, scsi_mod is already gone. > > As the author of this routine, I wish you had included my

[PATCH] Re: kernel oops with badly formatted module option

2007-04-07 Thread Randy Dunlap
On Sat, 07 Apr 2007 19:21:01 -0500 Larry Finger wrote: > With the following line in /etc/modprobe.conf.local: > > options bcm43xx fwpostfix = ".fw3" locale=8 > > the kernel oops below is generated. I realize that the line should have no > whitespace around the > "=", but I do not feel that an

Re: [PATCH 13/14] sysfs: kill attribute file orphaning

2007-04-07 Thread Tejun Heo
Tejun Heo wrote: > Now that sysfs_dirent can be disconnected from kobject on deletion, > there is no need to orphan each attribute files. All [bin_]attribute > nodes are automatically orphaned when the parent node is deleted. > Kill attribute file orphaning. > > Signed-off-by: Tejun Heo <[EMAIL

Re: compressing intermediate files with LZO on the fly

2007-04-07 Thread David Lang
On Sat, 7 Apr 2007, Willy Tarreau wrote: Hi Al, On Sat, Apr 07, 2007 at 02:32:34PM +0300, Al Boldi wrote: Willy Tarreau wrote: ... for some usages (temporary space), light compression can increase speed. For instance, when processing logs, I get better speed by compressing intermediate

Re: [PATCH 2/2] Optimize compound_head() by avoiding a shared page flag

2007-04-07 Thread Andrew Morton
On Sat, 7 Apr 2007 18:32:04 -0700 (PDT) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Sat, 7 Apr 2007, Andrew Morton wrote: > > > > I just tried the approach that we discussed earlier and it was not > > > nice either. > > > > We've discussed at least three approaches, so we don't know to

Re: COMPILING AND CONFIGURING A NEW KERNEL.

2007-04-07 Thread Lennart Sorensen
On Sat, Apr 07, 2007 at 06:02:37PM -0700, [EMAIL PROTECTED] wrote: > Thats interesting, I didn't know that. > > Do you know if deb-pkg and rpm-pkg take care of creating the initrd > automatically. > > I seriously doubt they do. > > Actually, I guess I only need to compile another kernel to

Re: [RFC] partitions: CONFIG_BLK_DEV_MD and modular RAID support

2007-04-07 Thread Randy Dunlap
On Sat, 7 Apr 2007 18:47:20 -0400 (EDT) John Anthony Kazos Jr. wrote: > (Linux v2.6.20.6.) > > The function md_autodetect_dev is defined in drivers/md/md.c. Its > declaration is on line 1443, outside of conditionals. However, both its > use on line 1455 and its definition on line 5600 are

Re: [PATCH 2/2] Optimize compound_head() by avoiding a shared page flag

2007-04-07 Thread Christoph Lameter
On Sat, 7 Apr 2007, Andrew Morton wrote: > > I just tried the approach that we discussed earlier and it was not > > nice either. > > We've discussed at least three approaches, so we don't know to what you refer. Thats the approach of checking two flags at the same time. In that case the

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-07 Thread Lennart Sorensen
On Sat, Apr 07, 2007 at 05:44:57PM -0700, [EMAIL PROTECTED] wrote: > Lennart. Tell me again that these results from > > http://linuxhelp.150m.com/resources/fs-benchmarks.htm and > http://m.domaindlx.com/LinuxHelp/resources/fs-benchmarks.htm Hmm, copying kernel sources around. Not that

Re: [PATCH 2/2] Optimize compound_head() by avoiding a shared page flag

2007-04-07 Thread Andrew Morton
On Sat, 7 Apr 2007 17:21:38 -0700 (PDT) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Sat, 7 Apr 2007, Andrew Morton wrote: > > > Which is all a ton of fun, but this subversion of the architecture's > > freedom to use volatile, memory barriers etc is a worry. We do the same in > >

Re: COMPILING AND CONFIGURING A NEW KERNEL.

2007-04-07 Thread johnrobertbanks
> It is *highly* recommended that you change the kernel identifier at > least slightly, so that you can install '2.6.20-1.local' without > overlaying > the vendor-supplied 2.6.20-1 kernel. Among other things, this lets you > boot back to the equivalent code level in the vendor kernel, > so you

Re: COMPILING AND CONFIGURING A NEW KERNEL.

2007-04-07 Thread johnrobertbanks
> It is quite possible to build a kernel that has all the drivers built-in, > but still require an initrd file. For instance, if you have a recent > RedHat or Fedora system, '/' may very well be on an LVM partition, which > means you need an initrd to do a 'lvm varyonvg' before mounting your

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-07 Thread johnrobertbanks
Lennart. Tell me again that these results from http://linuxhelp.150m.com/resources/fs-benchmarks.htm and http://m.domaindlx.com/LinuxHelp/resources/fs-benchmarks.htm are not of interest to you. I still don't understand why you have your head in the sand. .-. |

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-07 Thread Krzysztof Halasa
[EMAIL PROTECTED] writes: > I am quite sure that the kernel RPM file is *already* compressed, at least > somewhat. Sure - that's the point - it's better to have the tool compress data when it makes sense. OTOH I think Reiser4 fs is not about transparent compression, it's rather about the

Re: init's children list is long and slows reaping children.

2007-04-07 Thread Eric W. Biederman
Oleg Nesterov <[EMAIL PROTECTED]> writes: > On 04/06, Oleg Nesterov wrote: >> >> Perhaps, >> >> --- t/kernel/exit.c~ 2007-04-06 23:31:31.0 +0400 >> +++ t/kernel/exit.c 2007-04-06 23:31:57.0 +0400 >> @@ -275,10 +275,7 @@ static void reparent_to_init(void) >>

JFFS2 BUG(), report

2007-04-07 Thread Denys
Hi Trying to mount filesystem image, mounted over block2mtd to USB Flash (usb- storage), got OOPS/BUG. Reproduced on latest kernel, 2.6.21-rc6. Do you need complete JFFS2 image? Please CC me in reply, cause i am not subscribed to list. oops text: [ 41.355000] scsi 0:0:0:0: Direct-Access

Re: [PATCH 2/2] Optimize compound_head() by avoiding a shared page flag

2007-04-07 Thread Christoph Lameter
On Sat, 7 Apr 2007, Andrew Morton wrote: > Which is all a ton of fun, but this subversion of the architecture's > freedom to use volatile, memory barriers etc is a worry. We do the same in > page_alloc.c, of course... I just tried the approach that we discussed earlier and it was not nice

kernel oops with badly formatted module option

2007-04-07 Thread Larry Finger
With the following line in /etc/modprobe.conf.local: options bcm43xx fwpostfix = ".fw3" locale=8 the kernel oops below is generated. I realize that the line should have no whitespace around the "=", but I do not feel that an oops is the best way to report the syntax error. Could there be a

Re: If not readdir() then what?

2007-04-07 Thread Jan Engelhardt
On Apr 7 2007 16:36, Theodore Tso wrote: > >So how do we solve this problem? I can think of two solutions: > >1) Deprecate telldir/seekdir() altogether. Relatively few progams use >this functionality, and it is highly questionable how useful it is, >anyway. If you use telldir/seekdir and keep

Re: [RFC][PATCH -mm] swsusp: Use rbtree for tracking allocated swap

2007-04-07 Thread Nigel Cunningham
Hi. On Sun, 2007-04-08 at 01:13 +0200, Rafael J. Wysocki wrote: > On Sunday, 8 April 2007 00:31, Nigel Cunningham wrote: > > Hi. > > > > On Sat, 2007-04-07 at 15:06 -0700, Andrew Morton wrote: > > > On Sat, 7 Apr 2007 23:20:39 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> > > > wrote: > > > >

Re: If not readdir() then what?

2007-04-07 Thread Christoph Hellwig
On Sat, Apr 07, 2007 at 04:36:33PM -0400, Theodore Tso wrote: > this functionality, and it is highly questionable how useful it is, > anyway. If you use telldir/seekdir and keep the cookie for a long > time, even the POSIX-provided guarantees about files that are created > and deleted between the

netconsole module unload broken between 2.6.19 and 2.6.20 (and still broken as of 2.6.21-rc6)

2007-04-07 Thread Robin H. Johnson
(Please CC me on emails, I'm not on LKML). Somewhere between 2.6.19 and 2.6.20, unloading of the netconsole module got broken. It's still broken as of 2.6.21-rc6. If you try to unload the module, the rmmod/modprobe-r just sits there forever. I can reproduce it on tg3, forcedeth and e1000

Re: [RFC][PATCH -mm] swsusp: Use rbtree for tracking allocated swap

2007-04-07 Thread Rafael J. Wysocki
On Sunday, 8 April 2007 00:31, Nigel Cunningham wrote: > Hi. > > On Sat, 2007-04-07 at 15:06 -0700, Andrew Morton wrote: > > On Sat, 7 Apr 2007 23:20:39 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> > > wrote: > > > > > This should allow us to reduce the memory usage, practically always, and >

Re: [PATCH 2/2] Optimize compound_head() by avoiding a shared page flag

2007-04-07 Thread Andrew Morton
On Sat, 7 Apr 2007 15:16:17 -0700 (PDT) Christoph Lameter <[EMAIL PROTECTED]> wrote: > On Fri, 6 Apr 2007, Andrew Morton wrote: > > > Did you investigate > > > > static inline int page_tail(struct page *page) > > { > > return ((page->flags & (PG_compound|PG_tail)) ==

[RFC] partitions: CONFIG_BLK_DEV_MD and modular RAID support

2007-04-07 Thread John Anthony Kazos Jr.
(Linux v2.6.20.6.) The function md_autodetect_dev is defined in drivers/md/md.c. Its declaration is on line 1443, outside of conditionals. However, both its use on line 1455 and its definition on line 5600 are inside "#ifndef MODULE" conditionals. So it seems obvious that the declaration

Re: CPU offline but power consumption increased?

2007-04-07 Thread Andi Kleen
"Andika Triwidada" <[EMAIL PROTECTED]> writes: [cc linux-acpi] > Question: is that normal? I thought power consumption will be > automatically reduced if one core offlined. The current cpu offline essentially just runs a special idle loop. The standard idle loop is even a bit more aggressive

Re: [RFC][PATCH -mm] swsusp: Use rbtree for tracking allocated swap

2007-04-07 Thread Nigel Cunningham
Hi. On Sat, 2007-04-07 at 15:06 -0700, Andrew Morton wrote: > On Sat, 7 Apr 2007 23:20:39 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> > wrote: > > > This should allow us to reduce the memory usage, practically always, and > > improve performance. > > And does it? It will. I've been using

Re: [PATCH 1/4] x86_64: (SPARSE_VIRTUAL doubles sparsemem speed)

2007-04-07 Thread Andi Kleen
On Sunday 08 April 2007 00:06:13 Christoph Lameter wrote: > Results: > > x86_64 boot with virtual memmap > > Format: #events totaltime (min/avg/max) > > kfree_virt_to_page 598430 5.6ms(3ns/9ns/322ns) > > x86_64 boot regular sparsemem > > kfree_virt_to_page 596360

Re: [PATCH 2/2] Optimize compound_head() by avoiding a shared page flag

2007-04-07 Thread Christoph Lameter
On Fri, 6 Apr 2007, Andrew Morton wrote: > Did you investigate > > static inline int page_tail(struct page *page) > { > return ((page->flags & (PG_compound|PG_tail)) == (PG_compound|PG_tail)); > } The usual test_bit that we are using there uses a volatile reference so these wont be

Re: [PATCH, take4] FUTEX : new PRIVATE futexes

2007-04-07 Thread Andrew Morton
On Sat, 7 Apr 2007 10:43:39 +0200 Eric Dumazet <[EMAIL PROTECTED]> wrote: > Hi all > > Updates on this take4 : > > - All remarks from Nick were addressed I hope > > - Current mm code have a problem with 64bit futexes, as spoted by Nick : > > get_futex_key() does a check against sizeof(u32)

Re: [PATCH 1/4] x86_64: (SPARSE_VIRTUAL doubles sparsemem speed)

2007-04-07 Thread Christoph Lameter
On Thu, 5 Apr 2007, Christoph Lameter wrote: > On Thu, 5 Apr 2007, Andy Whitcroft wrote: > > Christoph if you could let us know which benchmarks you are seeing gains > > with that would be a help. > > You saw the numbers that Ken got with the pipe test right? > > Then there are some minor

Re: [RFC][PATCH -mm] swsusp: Use rbtree for tracking allocated swap

2007-04-07 Thread Andrew Morton
On Sat, 7 Apr 2007 23:20:39 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > This should allow us to reduce the memory usage, practically always, and > improve performance. And does it? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-07 Thread Daniel Walker
On Sat, 2007-04-07 at 22:50 +0200, Thomas Gleixner wrote: > On Sat, 2007-04-07 at 10:43 -0700, Daniel Walker wrote: > > Looks like this path , > > > > arch/i386/kernel/tsc.c: time_cpufreq_notifier(); <-- takes xtime_lock > > mark_tsc_unstable(); > >

Re: [PATCH -mm] freezer: Remove PF_NOFREEZE from handle_initrd

2007-04-07 Thread Nigel Cunningham
Hi. On Sat, 2007-04-07 at 18:14 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <[EMAIL PROTECTED]> > > Make handle_initrd() call try_to_freeze() in a suitable place instead of > setting > PF_NOFREEZE for the current task. > > Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> >

Re: [PATCH -mm] freezer: Remove PF_NOFREEZE from handle_initrd

2007-04-07 Thread Nigel Cunningham
Hi again. By the way, I'm stopping using [EMAIL PROTECTED]; could you please change your address book to nigel at nigel dot suspend2 dot net? Thanks! Nigel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

2007-04-07 Thread Michal Piotrowski
On 07/04/07, Michal Piotrowski <[EMAIL PROTECTED]> wrote: On 07/04/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > On Sat, 7 Apr 2007 20:48:43 +0200 "Michal Piotrowski" <[EMAIL PROTECTED]> wrote: > > > On 07/04/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > On Sat, 07 Apr 2007 20:09:43 +0200

[RFC][PATCH -mm] swsusp: Use rbtree for tracking allocated swap

2007-04-07 Thread Rafael J. Wysocki
Hi, Some time ago we discussed the possibility of simplifying the swsusp's approach towards tracking the swap pages allocated by it for saving the image (so that they can be freed if there's an error). I think we can get back to it now, as it is a nice optimization that should allow us to use

Re: Linux 2.6.21-rc6

2007-04-07 Thread Gene Heskett
On Thursday 05 April 2007, Linus Torvalds wrote: >Ok, > I don't think there really is anything very interesting here, but we're >hopefully whittling down the list of regressions, and fixing various >random other small issues while at it. > >Some smallish MIPS updates, networking (and network

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-07 Thread Thomas Gleixner
On Sat, 2007-04-07 at 10:43 -0700, Daniel Walker wrote: > Looks like this path , > > arch/i386/kernel/tsc.c: time_cpufreq_notifier(); <-- takes xtime_lock >mark_tsc_unstable(); > clocksource_change_rating(_tsc, 0); >

[PATCH] CRIS: Remove code related to pre-2.2 kernel.

2007-04-07 Thread Robert P. J. Day
Remove conditionals and code related to checking for a pre-2.2 kernel. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- i'm fairly certain there's no value in checking for pre-2.2 kernels anymore. (not compile tested as i have no such system.) diff --git

Re: If not readdir() then what?

2007-04-07 Thread Theodore Tso
On Sat, Apr 07, 2007 at 09:57:32AM -0700, Ulrich Drepper wrote: > In their closed chambers (well, workshops, > http://lwn.net/Articles/226351/), the filesystem developers complain > about readdir. I fully appreciate the difficulties. But what I fail > to see so far is any proposal for an

Re: Ten percent test

2007-04-07 Thread Gene Heskett
On Saturday 07 April 2007, Mike Galbraith wrote: >On Sat, 2007-04-07 at 20:08 +0200, Ingo Molnar wrote: >> * Gene Heskett <[EMAIL PROTECTED]> wrote: >> > (who the hell runs a 'make -j 200' or 50 while(1)'s in the real >> > world? >> >> not many - and i dont think Mike tested any of these - Mike

Re: init's children list is long and slows reaping children.

2007-04-07 Thread Oleg Nesterov
On 04/06, Oleg Nesterov wrote: > > Perhaps, > > --- t/kernel/exit.c~ 2007-04-06 23:31:31.0 +0400 > +++ t/kernel/exit.c 2007-04-06 23:31:57.0 +0400 > @@ -275,10 +275,7 @@ static void reparent_to_init(void) > remove_parent(current); > current->parent =

Re: Ten percent test

2007-04-07 Thread Gene Heskett
On Saturday 07 April 2007, Ingo Molnar wrote: >* Gene Heskett <[EMAIL PROTECTED]> wrote: >> Yes it would be Ingo, but so far, none of the recent -rt patches has >> booted on this machine, the last one I tried a few days ago failing to >> find /dev/root, whatever the heck that is. > >did you have a

[PATCH] iucv: fix compilation on s390-up

2007-04-07 Thread Alexey Dobriyan
CC [M] net/iucv/iucv.o net/iucv/iucv.c: In function 'iucv_init': net/iucv/iucv.c:1556: error: 'iucv_cpu_notifier' undeclared (first use in this function) Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- net/iucv/iucv.c |2 -- 1 file changed, 2 deletions(-) --- a/net/iucv/iucv.c

Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

2007-04-07 Thread Michal Piotrowski
On 07/04/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Sat, 7 Apr 2007 20:48:43 +0200 "Michal Piotrowski" <[EMAIL PROTECTED]> wrote: > On 07/04/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Sat, 07 Apr 2007 20:09:43 +0200 Michal Piotrowski <[EMAIL PROTECTED]> wrote: > > > > > BTW. I

Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

2007-04-07 Thread Andrew Morton
On Sat, 7 Apr 2007 20:48:43 +0200 "Michal Piotrowski" <[EMAIL PROTECTED]> wrote: > On 07/04/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > On Sat, 07 Apr 2007 20:09:43 +0200 Michal Piotrowski <[EMAIL PROTECTED]> > > wrote: > > > > > BTW. I guess that this need a similar fix. > > > > > > kernel

Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

2007-04-07 Thread Andrew Morton
On Sat, 07 Apr 2007 21:43:17 +0200 Michal Piotrowski <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] napisał(a): > > The mm snapshot broken-out-2007-04-07-03-27.tar.gz has been uploaded to > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-07-03-27.tar.gz > >

Re: [patch 2.6.21-rc5-git] make /proc/acpi/wakeup more useful

2007-04-07 Thread David Brownell
On Friday 06 April 2007 10:01 pm, Greg KH wrote: > Are you _sure_ you have a 1-to-1 relationship here? No multiple devices > pointing to the same acpi node? Or the other way around? If so, you > are going to have to change the name to be something more unique. I've wondered that too. The

Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

2007-04-07 Thread Michal Piotrowski
[EMAIL PROTECTED] napisał(a): > The mm snapshot broken-out-2007-04-07-03-27.tar.gz has been uploaded to > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-07-03-27.tar.gz > > It contains the following patches against 2.6.21-rc6: suspend-to-disk doesn't work when

Re: REISER4: fix for reiser4_write_extent

2007-04-07 Thread Edward Shishkin
Laurent Riffard wrote: Le 06.04.2007 00:42, Ignatich a écrit : While trying to find the cause of problems with reiser4 in recent kernels I came across this. Incomplete write handling seem to be missing from reiser4_write_extent() thanks to reiser4-temp-fix.patch. Strangely, there is a

Hello! Could I talk to you for a second?

2007-04-07 Thread hi hi
Hello! Could I talk to you for a second? I am a submissive SlaveGirl, and am looking for master/mistress. I would like to submit to master/mistress' wildest desire. You are welcome to visit my blog: http://blog.25u.com /Kitty My Email: [EMAIL PROTECTED] - To unsubscribe from this list: send

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-07 Thread Lennart Sorensen
On Thu, Apr 05, 2007 at 09:32:11PM -0700, [EMAIL PROTECTED] wrote: > Don't you agree, that "If they are accurate, THEN they are obviously > very relevant." Nope, if they are accurate and they have something to do with your particular usage and applications, then they are relevant. But it

Re: Ten percent test

2007-04-07 Thread Mike Galbraith
On Sat, 2007-04-07 at 20:08 +0200, Ingo Molnar wrote: > * Gene Heskett <[EMAIL PROTECTED]> wrote: > > (who the hell runs a 'make -j 200' or 50 while(1)'s in the real world? > > not many - and i dont think Mike tested any of these - Mike tested > pretty low make -j values (Mike, can you

[PATCH] arm: fix section mismatch warning in board-sam9260

2007-04-07 Thread Sam Ravnborg
Andrew Morton found a section mismatch warning in x86_64 triggered by a wrongly placed __initdata marker. git grep "struct __initdata" revealed that board-sam9260.c had the same problem. This patch fixes this by placing the __initdata marker correct. It was checked with objdump that the variable

Re: [patch 2/4] clean up identify_cpu

2007-04-07 Thread Andrew Morton
On Sat, 7 Apr 2007 20:39:16 +0200 Sam Ravnborg <[EMAIL PROTECTED]> wrote: > On Sat, Apr 07, 2007 at 10:59:47AM -0700, Andrew Morton wrote: > > On Sat, 07 Apr 2007 10:20:17 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> > > wrote: > > > > > I don't have a x86-64 compile environment on > > >

Re: sched.c: Remove unused variable 'relative'

2007-04-07 Thread Ingo Molnar
* Linux Kernel Mailing List wrote: > Committer: Linus Torvalds <[EMAIL PROTECTED]> > CommitDate: Sat Apr 7 10:18:33 2007 -0700 > > sched.c: Remove unused variable 'relative' > > Getting rid of the p->children printout in show_task() left behind an > unused variable. grumble.

Re: [PATCH] ip_tables.h

2007-04-07 Thread Patrick Ale
On 4/7/07, Patrick Ale <[EMAIL PROTECTED]> wrote: And my "patch" is made obsolete :P Jan Engelhard from the netfilter list made patch set within the patch-o-matic tree. Cheers Jan :D Patrick - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: Linux 2.6.21-rc6

2007-04-07 Thread Linus Torvalds
On Sat, 7 Apr 2007, Linus Torvalds wrote: > > > On Sat, 7 Apr 2007, Randy Dunlap wrote: > > > > Is it too late to get a v2.6.21-rc6 tag ? > > It's definitely there, I can see it in gitweb.. > > Do you have some really ancient git that didn't fetch the tags > automatically? Oh, my bad.

Re: Ten percent test

2007-04-07 Thread Ingo Molnar
* Gene Heskett <[EMAIL PROTECTED]> wrote: > Yes it would be Ingo, but so far, none of the recent -rt patches has > booted on this machine, the last one I tried a few days ago failing to > find /dev/root, whatever the heck that is. did you have a chance to try the yum kernel by any chance? The

Re: Linux 2.6.21-rc6

2007-04-07 Thread Randy Dunlap
On Sat, 7 Apr 2007 11:46:13 -0700 (PDT) Linus Torvalds wrote: > > > On Sat, 7 Apr 2007, Randy Dunlap wrote: > > > > Is it too late to get a v2.6.21-rc6 tag ? > > It's definitely there, I can see it in gitweb.. > > Do you have some really ancient git that didn't fetch the tags >

Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

2007-04-07 Thread Michal Piotrowski
On 07/04/07, Andrew Morton <[EMAIL PROTECTED]> wrote: On Sat, 07 Apr 2007 20:09:43 +0200 Michal Piotrowski <[EMAIL PROTECTED]> wrote: > BTW. I guess that this need a similar fix. > > kernel BUG at kernel/ptrace.c:494! > invalid opcode: [#2] > PREEMPT SMP > last sysfs file:

Re: Linux 2.6.21-rc6

2007-04-07 Thread Linus Torvalds
On Sat, 7 Apr 2007, Randy Dunlap wrote: > > Is it too late to get a v2.6.21-rc6 tag ? It's definitely there, I can see it in gitweb.. Do you have some really ancient git that didn't fetch the tags automatically? Linus - To unsubscribe from this list: send the line

Re: Two questions regarding Opening files within Kernel!

2007-04-07 Thread Jan Engelhardt
On Apr 7 2007 16:57, JanuGerman wrote: > >Thanks Jan for the response. > >>struct dentry *fbar = lookup_one_len("/foo/bar", current->fs->root); > >But that gives me a dentry, where as file object is still not reachable. So use filp_open. >Question: I am currently using a function called

Re: [patch 2/4] clean up identify_cpu

2007-04-07 Thread Sam Ravnborg
On Sat, Apr 07, 2007 at 10:59:47AM -0700, Andrew Morton wrote: > On Sat, 07 Apr 2007 10:20:17 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> > wrote: > > > I don't have a x86-64 compile environment on > > hand, so the 64 bits are completely untested > >

Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

2007-04-07 Thread Andrew Morton
On Sat, 07 Apr 2007 20:09:43 +0200 Michal Piotrowski <[EMAIL PROTECTED]> wrote: > BTW. I guess that this need a similar fix. > > kernel BUG at kernel/ptrace.c:494! > invalid opcode: [#2] > PREEMPT SMP > last sysfs file: devices/platform/w83627hf.656/temp2_input > Modules linked in:

Re: Linux 2.6.21-rc6

2007-04-07 Thread Randy Dunlap
On Thu, 5 Apr 2007 19:50:11 -0700 (PDT) Linus Torvalds wrote: > > Ok, > I don't think there really is anything very interesting here, but we're > hopefully whittling down the list of regressions, and fixing various > random other small issues while at it. > > Some smallish MIPS updates,

Re: [PATCH] kernel-doc: handle arrays with arithmetic expressions as initializers

2007-04-07 Thread Randy Dunlap
On Sat, 7 Apr 2007 17:04:44 +0200 Borislav Petkov wrote: > > In a different approach here's a patch that handles the special case of > composite arithmetic expressions in array size initializers. With it, > prior to pushing the split strings on the @first_arg array, I split the > keywords before

[PATCH v3] kernel-doc: handle arrays with arithmetic expressions as initializers

2007-04-07 Thread Randy Dunlap
From: Borislav Petkov <[EMAIL PROTECTED]> In a different approach here's a patch that handles the special case of composite arithmetic expressions in array size initializers. With it, prior to pushing the split strings on the @first_arg array, I split the keywords before the array name as before

Re: Ten percent test

2007-04-07 Thread Gene Heskett
On Saturday 07 April 2007, Ingo Molnar wrote: >* Gene Heskett <[EMAIL PROTECTED]> wrote: >> To be expected, there are after all, only so many cpu cycles to go >> around. Here I sit, running 2.6.21-rc6 ATM, and since there is not an >> SD patch that applies cleanly to rc6, I am back to typing half

Re: Samba, inotify on a Windows share

2007-04-07 Thread Steve French (smfltc)
Here's what I try to do. I want to monitor from a Linux Gentoo machine with inotify enabled on a directory for new files hosted by a windows share(Windows server, not Samba). Samba now uses inotify if available on the server side to support the Directory Change Notification requested by

kernel BUG at net/core/skbuff.c in linux-2.6.21-rc6

2007-04-07 Thread Bartek
Hallo I have problem with a Linux kernel oops. It mostly appears when I download files using bittorrent or other large file. I have a phone modem based Internet access using Home Internet Solution (http://en.wikipedia.org/wiki/Home_internet_Solution). I use Debian testing, Linux vanilla version:

Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

2007-04-07 Thread Michal Piotrowski
Andrew Morton napisał(a): > On Sat, 07 Apr 2007 14:30:04 +0200 Michal Piotrowski <[EMAIL PROTECTED]> > wrote: > >> [EMAIL PROTECTED] napisał(a): >>> The mm snapshot broken-out-2007-04-07-03-27.tar.gz has been uploaded to >>> >>> >>>

Re: Ten percent test

2007-04-07 Thread Ingo Molnar
* Gene Heskett <[EMAIL PROTECTED]> wrote: > To be expected, there are after all, only so many cpu cycles to go > around. Here I sit, running 2.6.21-rc6 ATM, and since there is not an > SD patch that applies cleanly to rc6, I am back to typing half or more > of a sentence blind while I answer

Re: [PATCH] console UTF-8 fixes

2007-04-07 Thread H. Peter Anvin
Egmont Koblinger wrote: On Sat, Apr 07, 2007 at 01:00:48PM +0200, Jan Engelhardt wrote: Hi, Please, no dot, and no inverse color. Imagine someone had the following bitmap for : No dot, I'm already convinced. To clarify the inverse thingy: This is what the current kernel does: 1) tries to

Re: [patch 2/4] clean up identify_cpu

2007-04-07 Thread Andrew Morton
On Sat, 07 Apr 2007 10:20:17 -0700 Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > I don't have a x86-64 compile environment on > hand, so the 64 bits are completely untested http://userweb.kernel.org/~akpm/cross-compilers/ - To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] ip_tables.h

2007-04-07 Thread Patrick Ale
On 4/7/07, Patrick Ale <[EMAIL PROTECTED]> wrote: Hi lads, Oh! And! I don't want to take credit for things I didn't write, which is this exactly. I merely got the ip_tables.h header from 2.6.20 and filtered out what I needed to get things work. So, the actual credit for the code in the patch

Re: mm snapshot broken-out-2007-04-07-03-27.tar.gz uploaded

2007-04-07 Thread Andrew Morton
On Sat, 07 Apr 2007 14:30:04 +0200 Michal Piotrowski <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] napisał(a): > > The mm snapshot broken-out-2007-04-07-03-27.tar.gz has been uploaded to > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-04-07-03-27.tar.gz > >

Re: sky2 PHY setup

2007-04-07 Thread Rob Sims
On Wed, Apr 04, 2007 at 11:19:30AM -0700, Stephen Hemminger wrote: > On Mon, 26 Mar 2007 21:24:06 -0600 > Rob Sims <[EMAIL PROTECTED]> wrote: > > > On Fri, Mar 16, 2007 at 02:16:48PM -0700, Stephen Hemminger wrote: > > > Use ethtool -S to if there are any pause frames, etc. See if frames are > >

Re: Kernel NULL pointer when loading bcm43xx-mac80211 with fwpostfix = ".fw4"

2007-04-07 Thread Michael Buesch
On Saturday 07 April 2007 19:44, Larry Finger wrote: > Johannes Berg wrote: > > On Sat, 2007-04-07 at 15:51 +0200, Michael Buesch wrote: > >> On Saturday 07 April 2007 02:01, Larry Finger wrote: > >>> The current mb and wireless-dev git trees both get a kernel NULL pointer > >>> in

Re: [PATCH] timekeeping: drop irq-context clocksource polling

2007-04-07 Thread Daniel Walker
On Sat, 2007-04-07 at 03:19 -0700, Andrew Morton wrote: > On Thu, 05 Apr 2007 14:03:16 -0700 Daniel Walker <[EMAIL PROTECTED]> wrote: > > > Before this change the timekeeping code would poll the clocksource > > list every interrupt. This changes that so the clocksource list is > > only checked

[PATCH] ip_tables.h

2007-04-07 Thread Patrick Ale
Hi lads, I had some problems compiling the external netfilter modules due to missing definitions. I googled a lot, saw a lot of people having the same problems but no real answer to how to fix it. So.. I made a little patch which make things work for me, at least. Modules that work after

Re: Reiser4. BEST FILESYSTEM EVER.

2007-04-07 Thread Valdis . Kletnieks
On Fri, 06 Apr 2007 19:47:36 PDT, [EMAIL PROTECTED] said: > On Fri, 6 Apr 2007 11:21:19 -0400, "Jan Harkes" <[EMAIL PROTECTED]> > > With compression there is a pretty high probability that one corrupted > > byte or disk block will result in loss of a considerably larger amount > > of data. > >

Re: [PATCH 3/7] Containers (V8): Add generic multi-subsystem API to containers

2007-04-07 Thread Paul Menage
On 4/6/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: On Fri, Apr 06, 2007 at 04:32:24PM -0700, [EMAIL PROTECTED] wrote: > +static int attach_task(struct container *cont, struct task_struct *tsk) > { [snip] > + task_lock(tsk); You need to check here if task state is PF_EXITING and

[PATCH] partitions: Enhance Kconfig help text for EESOX and MSDOS formats

2007-04-07 Thread John Anthony Kazos Jr.
From: John Anthony Kazos Jr. <[EMAIL PROTECTED]> Adds help text for ACORN_PARTITION_EESOX and improves help text for MSDOS_PARTITION in fs/partitions/Kconfig. Signed-off-by: John Anthony Kazos Jr. <[EMAIL PROTECTED]> --- Applied against Linux v2.6.20.6. ---

Re: [PATCH] console UTF-8 fixes

2007-04-07 Thread Egmont Koblinger
On Sat, Apr 07, 2007 at 01:00:48PM +0200, Jan Engelhardt wrote: Hi, > Please, no dot, and no inverse color. > Imagine someone had the following bitmap for : No dot, I'm already convinced. To clarify the inverse thingy: This is what the current kernel does: 1) tries to display the desired

  1   2   3   4   5   >