Re: Linux 2.6.20.7 - Hard Disk rumbling?

2007-04-22 Thread Mark Lord
Sunil Naidu wrote: Hello, I am facing a strange problems with an old 1.2 GHz P-III machine with a 10 GB disk (used as a dedicated web server, later retired out of service!). Out of interest to implement some wireless solution (experiment), I did compile 2.6.20.7 for my requirement. Strangely, I

Re: [ck] Re: [ANNOUNCE] Staircase Deadline cpu scheduler version 0.45

2007-04-22 Thread Willy Tarreau
On Sun, Apr 22, 2007 at 10:18:32PM +1000, Con Kolivas wrote: > On Sunday 22 April 2007 21:42, Con Kolivas wrote: > > Willy I'm still investigating the idle time and fluctuating load as a > separate > issue. OK. > Is it possible the multiple ocbench processes are naturally > synchronising and

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-22 Thread Ingo Molnar
* Mark Lord <[EMAIL PROTECTED]> wrote: > > i've not experienced a 'runaway X' personally, at most it would > > crash or lock up ;) The value is boot-time and sysctl configurable > > as well back to 0. > > Mmmm.. I've had to kill off the odd X that was locking in 100% CPU > usage. In the past,

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-22 Thread Mark Lord
Ingo Molnar wrote: well, i just simulated a runaway X at nice -19 on CFS (on a UP box), and while the box was a tad laggy, i was able to killall it without problems, within 2 seconds that also included a 'su'. So it's not an issue in CFS, it can be turned off, and because every distro has ano

[PATCHv4] [KERNEL-DOC] kill warnings when building mandocs (final)

2007-04-22 Thread Borislav Petkov
We were simply reinventing the wheel until now. Here's the final version of the patch which is also the simplest solution (if you hold your eyes open at all time, you'll see that KERNELVERSION is already exported by the main Makefile and there's no need for changing the build string in Documentati

Re: [PATCH] Remove "obsolete" label from ISDN4Linux (v3)

2007-04-22 Thread Alan Cox
> simple and fundamental (which you haven't answered as yet). Why, or > rather how, were the writers of newer APIs _allowed_ to push *their* > stuff into the kernel _without_ even bothering to convert the > *existing* users of the older APIs in the kernel? This goes against Because to convert the

Linux 2.4.34.4

2007-04-22 Thread Willy Tarreau
I've just released Linux 2.4.34.4, previous one did not build. Thanks to Urs Thuermann for reporting the problem (and fix). The patch and changelog will appear soon at the following locations: ftp://ftp.kernel.org/pub/linux/kernel/v2.4/ ftp://ftp.kernel.org/pub/linux/kernel/v2.4/patch-2.4.34.

Re: [PATCH] Remove "obsolete" label from ISDN4Linux (v3)

2007-04-22 Thread Alan Cox
> obsolete and correctly re-labelled as such. As for the && !HOTPLUG > menace you keep touting, that might perhaps be applied to some of > the individual hardware device drivers but certainly not to the In my tree its just the drivers that still use pci_find_device. > > Want to be on that. There

Re: [PATCH v3] Bitbanging i2c bus driver using the GPIO API

2007-04-22 Thread Lennart Sorensen
On Fri, Apr 20, 2007 at 07:49:33PM +0200, Jean Delvare wrote: > The scx200_acb driver was heavily modified in 2.6.17 and 2.6.18, not > much since then. I am not familiar with the hardware so I can't comment > on which chips are supposed to work and which aren't. Well 2.6.18's scx200_acb works on t

Re: [PATCH 13/15] ide: fix UDMA/MWDMA/SWDMA masks

2007-04-22 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: [PATCH] ide: fix UDMA/MWDMA/SWDMA masks * use 0x00 instead of 0x80 to disable ->{ultra,mwdma,swdma}_mask * add udma_mask field to ide_pci_device_t and use it to initialize ->ultra_mask in aec62xx, cmd64x, pdc202xx_{new,old} and piix drivers * fix UDM

Re: [ck] Re: [ANNOUNCE] Staircase Deadline cpu scheduler version 0.45

2007-04-22 Thread Con Kolivas
On Monday 23 April 2007 00:27, Michael Gerdau wrote: > > Anyway the more important part is... Can you test this patch please? Dump > > all the other patches I sent you post 045. Michael, if you could test too > > please? > > Have it up running for 40 minutes now and my perljobs show a constant > cp

Re: [patch 1/8] add user mounts to the kernel

2007-04-22 Thread Miklos Szeredi
> >> > + > >> > +uid_t mnt_uid; /* owner of the mount */ > >> > >> Can we please make this a user struct. That requires a bit of > >> reference counting but it has uid namespace benefits as well > >> as making it easy to implement per user mount rlimits. > > > > OK, can

Re: InitIO SCSI: Volunteers required

2007-04-22 Thread Christoph Hellwig
On Fri, Apr 20, 2007 at 10:38:49AM +0100, Alan Cox wrote: > I'm looking for some testers for a revamp of the initio driver. No real > code changes other than to hopefully stop it exploding on load on 64bit, > but a major reorganisation, commenting and "de-windowsification" so the > code is actually

Re: Linux 2.4.34.3

2007-04-22 Thread Willy Tarreau
On Sun, Apr 22, 2007 at 03:33:58PM +0200, Urs Thuermann wrote: > Willy Tarreau <[EMAIL PROTECTED]> writes: > > > I've just released Linux 2.4.34.3. > > > > Nothing critical, just a bunch of bugfixes and small security fix. > > I get the following compile error: [snip] Grrr... I'm very sorry. T

[ANNOUNCE] Staircase Deadline cpu scheduler version 0.46

2007-04-22 Thread Con Kolivas
Yet another significant bugfix for SMP balancing was just posted for the staircase deadline cpu scheduler which improves behaviour dramatically on any SMP machine. Thanks to Willy Tarreau for noticing more bugs. As requested was a version in the Makefile so this version of the patch adds -sd04

Linux 2.4.35-pre4

2007-04-22 Thread Willy Tarreau
I've just released Linux 2.4.35-pre4, previous one did not build. Thanks to Urs Thermann for reporting the problem (and fix). The patch and changelog will appear soon at the following locations: ftp://ftp.kernel.org/pub/linux/kernel/v2.4/testing/ ftp://ftp.kernel.org/pub/linux/kernel/v2.4/tes

Re: [BUG? -rc7] SMP: Just one CPU activated: P4 3GHz HT

2007-04-22 Thread Luca Tettamanti
Miguel Ojeda <[EMAIL PROTECTED]> ha scritto: > On 4/22/07, oliver pinter <[EMAIL PROTECTED]> wrote: >> I have CC the kernel > > Did you? > >> and the result is: >> >> your'e config : failed smp >> >> your'e config + power managment : ok >> > > Interesting, can anyone tell me why does not SMP wor

Re: InitIO SCSI: Volunteers required

2007-04-22 Thread Alan Cox
> Once again a pci_get_device conversation isn't all that helpfull at all. > fortunately in this case I've done a patch to convert this driver to > proper pci probing in 2004, and I've attached the forward-ported version > below now that we've actually found some testers that weren't locatable > ba

Re: [REPORT] cfs-v4 vs sd-0.44

2007-04-22 Thread Ulrich Drepper
On 4/22/07, William Lee Irwin III <[EMAIL PROTECTED]> wrote: On Sun, Apr 22, 2007 at 12:17:31AM -0700, Ulrich Drepper wrote: > For futex(), the extension is needed for the FUTEX_WAIT operation. We > need a new operation FUTEX_WAIT_FOR or so which takes another (the > fourth) parameter which is t

Re: [d_path 0/7] Fixes to d_path: Respin

2007-04-22 Thread Andreas Gruenbacher
On Sunday 22 April 2007 11:10, Christoph Hellwig wrote: > So what about stopping the flaming here and implementing real statvfs/ > fstatvfs syscalls instead of these horrible hacks glibc has to do > currently? I could imagine two approaches to that: either add statvfs and fstatvfs syscalls, or us

Re: [PATCH] Remove "obsolete" label from ISDN4Linux (v3)

2007-04-22 Thread Satyam Sharma
Hi Alan, On 4/22/07, Alan Cox <[EMAIL PROTECTED]> wrote: > > No risk of deadlock. It'll progress to && BROKEN which will either cause > > sufficient pain for someone to get off their arse and fix it, for enough > > of a vendors users to get the vendor to do the work or for someone who > > cares

Re: gtod/clocksource/clockevents documentation

2007-04-22 Thread Remy Bohmer
Hello David, Thanks for this patch you sent me. This patch will also increase the clock resolution which is good in RT context. But, unfortunately, I have some problems with compiling the kernel, as this patch does not enable CONFIG_GENERIC_TIME, while the patch you published earlier did. Is th

Re: [PATCH] dma_declare_coherent_memory wrong allocation

2007-04-22 Thread James Bottomley
On Fri, 2007-04-13 at 20:08 +0200, Guennadi Liakhovetski wrote: > Either I've finally gone blind on this Friday 13th or... Looks like this > almost 3 year old function has a bug. Patch below compile-tested... in a > way. No, it's a longstanding bug in the x86 implementation, thanks for finding i

Re: [lm-sensors] Could the k8temp driver be interfering with ACPI?

2007-04-22 Thread Luca Tettamanti
Il Wed, Apr 18, 2007 at 01:50:29AM +0200, Luca Tettamanti ha scritto: > >I'm sure you've seen these: > > http://lists.lm-sensors.org/pipermail/lm-sensors/2005-October/014050.html > > http://www.lm-sensors.org/wiki/AsusFormulaHacking > > Actually I haven't, I've happily ignored ACPI until now ;-

Re: [PATCH] lazy freeing of memory through MADV_FREE

2007-04-22 Thread Ulrich Drepper
On 4/22/07, Christoph Hellwig <[EMAIL PROTECTED]> wrote: Why isn't MADV_FREE defined to 5 for linux? It's our first free madv value? Also the behaviour should better match the one in solaris or BSD, the last thing we need is slightly different behaviour from operating systems supporting this fo

Re: ACPI issues? (2.6.20.7 dmesg, interrupts, lspci output)

2007-04-22 Thread Sunil Naidu
On 4/22/07, Len Brown <[EMAIL PROTECTED]> wrote: This is an AML run-time error from a PCI Interrupt Link trying to find its "Present Resource Settings" -- ie. the current IRQ for a programmable IRQ. Please open up a bug report here: http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI For 2.6

Re: InitIO SCSI: Volunteers required

2007-04-22 Thread Alan Cox
> This doesn't change much outside the initialization and irq code, so > any additional de-crappyfication will hopefully apply ontop. This will actually clash horribly with the rest of the rework, so it does need to be applied after the other changes. The driver in my tree no longer looks much lik

Re: [ck] Re: [ANNOUNCE] Staircase Deadline cpu scheduler version 0.45

2007-04-22 Thread Con Kolivas
On Monday 23 April 2007 00:22, Willy Tarreau wrote: > On Sun, Apr 22, 2007 at 10:18:32PM +1000, Con Kolivas wrote: > > On Sunday 22 April 2007 21:42, Con Kolivas wrote: > > > > Willy I'm still investigating the idle time and fluctuating load as a > > separate issue. Is it possible the multiple ocbe

Re: [ck] Re: [ANNOUNCE] Staircase Deadline cpu scheduler version 0.45

2007-04-22 Thread Con Kolivas
On Sunday 22 April 2007 23:07, Willy Tarreau wrote: > On Sun, Apr 22, 2007 at 10:18:32PM +1000, Con Kolivas wrote: > > On Sunday 22 April 2007 21:42, Con Kolivas wrote: > > > > Willy I'm still investigating the idle time and fluctuating load as a > > separate issue. > > OK. > > > Is it possible the

Re: Wrong free clusters count on FAT32

2007-04-22 Thread Andreas Schwab
OGAWA Hirofumi <[EMAIL PROTECTED]> writes: > diff -puN > Documentation/filesystems/vfat.txt~fat_dont-use_free_clusters-for-fat32 > Documentation/filesystems/vfat.txt > --- > linux-2.6/Documentation/filesystems/vfat.txt~fat_dont-use_free_clusters-for-fat32 > 2007-04-22 23:06:21.0 +0900

Re: Major qla2xxx regression on sparc64

2007-04-22 Thread Christoph Hellwig
On Wed, Apr 18, 2007 at 01:10:54PM -0700, David Miller wrote: > From: Christoph Hellwig <[EMAIL PROTECTED]> > Date: Wed, 18 Apr 2007 18:13:46 +0100 > > > Note that I expect Sun put in the invalid ROM intentionally, as we have > > similar cases with other cards that have totally messed up ROMs in >

Re: Linux 2.4.34.3

2007-04-22 Thread Urs Thuermann
Willy Tarreau <[EMAIL PROTECTED]> writes: > I've just released Linux 2.4.34.3. > > Nothing critical, just a bunch of bugfixes and small security fix. I get the following compile error: gcc -D__KERNEL__ -I/usr/src/linux-2.4.34.3-ut/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-stric

[PATCH] i386-efi fix /proc/iomem type for kexec-tools

2007-04-22 Thread Thomas Meyer
The kexec-tools check for "System RAM". diff --git a/arch/i386/kernel/efi.c b/arch/i386/kernel/efi.c index 8f9c624..307156d 100644 --- a/arch/i386/kernel/efi.c +++ b/arch/i386/kernel/efi.c @@ -638,8 +638,13 @@ efi_initialize_iomem_resources(struct resource *code_resource, res->name =

Re: ACPI issues? (2.6.21-rc7 - dmesg, interrupts, lspci output)

2007-04-22 Thread Sunil Naidu
On 4/22/07, Len Brown <[EMAIL PROTECTED]> wrote: This is an AML run-time error from a PCI Interrupt Link trying to find its "Present Resource Settings" -- ie. the current IRQ for a programmable IRQ. Please open up a bug report here: http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI For 2.6

Re: [ANNOUNCE] GIT 1.5.1.2

2007-04-22 Thread Linus Torvalds
On Sat, 21 Apr 2007, Junio C Hamano wrote: > > The latest maintenance release GIT 1.5.1.2 is available at the > usual places: Well, by "available" you probably mean "not available", because it doesn't actually work. I get EPERM on pack-e00affefe0f779d0f9b0507aef25a1733f4a9117.idx/pack, becaus

Re: [PATCH RFD] alternative kobject release wait mechanism

2007-04-22 Thread Greg KH
On Sat, Apr 21, 2007 at 05:36:51PM -0400, Alan Stern wrote: > On Fri, 20 Apr 2007, Greg KH wrote: > > > > Greg, do you know of anything in particular that depends on a kobjects > > > not > > > being released before their children are released? > > > > Yes, the whole driver model :) > > But any

Re: Wrong free clusters count on FAT32

2007-04-22 Thread OGAWA Hirofumi
Bodo Eggert <[EMAIL PROTECTED]> writes: > # /usr/bin/time sh -c "dd if=/dev/hda2 bs=$((77834925/64)) count=4 | perl -e > '"'use POSIX;while (sysread STDIN,$x,4) {$n++ if $x eq "\0\0\0\0"} print > $n*32,"\n"'\' > 4+0 records in > 4+0 records out > 13954720 > 0.76user 0.60system 0:01.95elapsed 69%CP

Re: [ANNOUNCE] GIT 1.5.1.2

2007-04-22 Thread Junio C Hamano
Linus Torvalds <[EMAIL PROTECTED]> writes: > On Sat, 21 Apr 2007, Junio C Hamano wrote: >> >> The latest maintenance release GIT 1.5.1.2 is available at the >> usual places: > > Well, by "available" you probably mean "not available", because it doesn't > actually work. > > I get EPERM on pack-e00

Re: Wrong free clusters count on FAT32

2007-04-22 Thread Bodo Eggert
OGAWA Hirofumi <[EMAIL PROTECTED]> wrote: > DervishD <[EMAIL PROTECTED]> writes: >> Probably it's stupid to update the free clusters count at mount time >> (sorry if so...) but it looks like a good idea to me. And of course, I >> don't mean to update the value _on disk_, but the kernel's idea

using the rt patch with rc7 (or git HEAD)

2007-04-22 Thread James Cloos
This recipe results in only two conflicts. The obvious and easily fixed EXTRAVERSION conflict as well as the conflict shown below from kernel/sched.c: #!/bin/sh git clone -n git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git 2.6.21-rc7-rt cd 2.6.21-rc7-rt git branch rc6 v2.6.2

[PATCH pata-2.6 fix queue] aec62xx: fix PIO/DMA setup issues

2007-04-22 Thread Sergei Shtylyov
Teach the driver's tuneproc() method to do PIO auto-runing properly since it treated 5 instead of 255 as auto-tune request, and also passed the mode limit of PIO5 to ide_get_best_pio_mode() despite supporting up to PIO4 only. While at it, also: - remove the driver's wrong claim about supporting S

Today's 'master' leaves .idx/.pack in 0400

2007-04-22 Thread Junio C Hamano
With recent glibc, mkstemp() creates 0400 file. Updated pack-objects uses it in pack/idx writing without fixing this, hence this problem. Will have a fix hopefully shortly. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mor

Re: [PATCH][RFC] i2c: adds support for i2c bus on 8xx

2007-04-22 Thread Vitaly Bordug
On Sat, 21 Apr 2007 09:57:07 +0200 Jean Delvare wrote: > Hi Vitaly, > > On Fri, 20 Apr 2007 08:27:14 +0400, Vitaly Bordug wrote: > > Utilized devicetree to store I2C data, ported i2c-algo-8xx.c > > from 2.4 approach(which remains nearly intact), refined i2c-rpx.c. > > I2C functionality has been v

Re: gtod/clocksource/clockevents documentation

2007-04-22 Thread David Brownell
On Sunday 22 April 2007, Remy Bohmer wrote: > Hello David, > > Thanks for this patch you sent me. This patch will also increase the > clock resolution which is good in RT context. Yeah, a 32768 Hz timer (battery backed) may leave a bit to be desired. > But, unfortunately, I have some problems w

Re: [ANNOUNCE] Staircase Deadline cpu scheduler version 0.46

2007-04-22 Thread Thomas Backlund
mån 2007-04-23 klockan 01:03 +1000 skrev Con Kolivas: > Yet another significant bugfix for SMP balancing was just posted for the > staircase deadline cpu scheduler which improves behaviour dramatically on any > SMP machine. > > Thanks to Willy Tarreau for noticing more bugs. > > As requested wa

Re: Today's 'master' leaves .idx/.pack in 0400

2007-04-22 Thread Nicolas Pitre
On Sun, 22 Apr 2007, Junio C Hamano wrote: > With recent glibc, mkstemp() creates 0400 file. Updated > pack-objects uses it in pack/idx writing without fixing this, > hence this problem. Oops. I guess I'm guilty for this. I didn't bother looking at the permission on the pack for git-pack-obje

Re: Today's 'master' leaves .idx/.pack in 0400

2007-04-22 Thread Junio C Hamano
Nicolas Pitre <[EMAIL PROTECTED]> writes: > On Sun, 22 Apr 2007, Junio C Hamano wrote: > >> With recent glibc, mkstemp() creates 0400 file. Updated >> pack-objects uses it in pack/idx writing without fixing this, >> hence this problem. > > Oops. I guess I'm guilty for this. I didn't bother look

Re: Today's 'master' leaves .idx/.pack in 0400

2007-04-22 Thread Nicolas Pitre
On Sun, 22 Apr 2007, Junio C Hamano wrote: > Nicolas Pitre <[EMAIL PROTECTED]> writes: > > > On Sun, 22 Apr 2007, Junio C Hamano wrote: > > > >> With recent glibc, mkstemp() creates 0400 file. Updated > >> pack-objects uses it in pack/idx writing without fixing this, > >> hence this problem. > >

[PATCH -mm 0/3] Suspend notifiers

2007-04-22 Thread Rafael J. Wysocki
Hi, The last two patches from this series are intended to address the problem that some drivers allocate a lot of memory in their .suspend() routines causing swsusp to fail (and generally may want to do some things that shouldn't be done in .suspend()/.resume()). The first one is a fix. Greeting

[PATCH -mm 1/3] swsusp: Fix snapshot_release

2007-04-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Remove the leftover enable_nonboot_cpus() from snapshot_release(). Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- kernel/power/user.c |1 - 1 file changed, 1 deletion(-) Index: linux-2.6.21-rc6-mm1/kernel/power/user.c ===

[PATCH -mm 2/3] swsusp: Free more memory

2007-04-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Move the definition of PAGES_FOR_IO to kernel/power/power.h and introduce SPARE_PAGES representing the number of pages that should be freed by the swsusp's memory shrinker in addition to PAGES_FOR_IO so that device drivers can allocate some memory (up to

[PATCH -mm 3/3] PM: Introduce suspend notifiers (rev. 2)

2007-04-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Make it possible to register suspend notifiers so that subsystems can perform suspend-related operations that should not be carried out by device drivers' .suspend() and .resume() routines. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- Docum

Re: gtod/clocksource/clockevents documentation

2007-04-22 Thread Remy Bohmer
Hello David, > But, unfortunately, I have some problems with compiling the kernel, as > this patch does not enable CONFIG_GENERIC_TIME, while the patch you > published earlier did. I'm not sure which patch you mean. I tested only in conjunction with updates specific to the at91rm9200. To be

Re: Today's 'master' leaves .idx/.pack in 0400

2007-04-22 Thread Nicolas Pitre
On Sun, 22 Apr 2007, Nicolas Pitre wrote: > On Sun, 22 Apr 2007, Junio C Hamano wrote: > > > Nicolas Pitre <[EMAIL PROTECTED]> writes: > > > > > On Sun, 22 Apr 2007, Junio C Hamano wrote: > > > > > >> With recent glibc, mkstemp() creates 0400 file. Updated > > >> pack-objects uses it in pack/id

Re: [ANNOUNCE] GIT 1.5.1.2

2007-04-22 Thread Junio C Hamano
Linus Torvalds <[EMAIL PROTECTED]> writes: > On Sat, 21 Apr 2007, Junio C Hamano wrote: >> >> The latest maintenance release GIT 1.5.1.2 is available at the >> usual places: > > Well, by "available" you probably mean "not available", because it doesn't > actually work. > > I get EPERM on pack-e00

Re: Today's 'master' leaves .idx/.pack in 0400

2007-04-22 Thread Junio C Hamano
Nicolas Pitre <[EMAIL PROTECTED]> writes: > On Sun, 22 Apr 2007, Nicolas Pitre wrote: > >> On Sun, 22 Apr 2007, Junio C Hamano wrote: >> >> > Nicolas Pitre <[EMAIL PROTECTED]> writes: >> > >> > > On Sun, 22 Apr 2007, Junio C Hamano wrote: >> > > >> > >> With recent glibc, mkstemp() creates 0400

Re: Today's 'master' leaves .idx/.pack in 0400

2007-04-22 Thread Linus Torvalds
On Sun, 22 Apr 2007, Nicolas Pitre wrote: > > Well, actually there is no point making pack files writable. If they're > modified, they get corrupted. > > Here's the fix I wanted to propose: > > diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c > index c72e07a..85c6e6e 100644 > ---

Re: Today's 'master' leaves .idx/.pack in 0400

2007-04-22 Thread Junio C Hamano
Linus Torvalds <[EMAIL PROTECTED]> writes: > On Sun, 22 Apr 2007, Nicolas Pitre wrote: >> >> Well, actually there is no point making pack files writable. If they're >> modified, they get corrupted. >> >> Here's the fix I wanted to propose: >> >> diff --git a/builtin-pack-objects.c b/builtin-p

Re: Sleep during spinlock in TPM driver

2007-04-22 Thread Parag Warudkar
Andrew Morton linux-foundation.org> writes: On Fri, 20 Apr 2007 18:11:10 -0400 "David Kyle" pitt.edu> wrote: > int tpm_release(struct inode *inode, struct file *file) > { > struct tpm_chip *chip = file->private_data; > spin_lock(&driver_lock); > file->private_data

Re: [PATCH] macintosh/therm_pm72.c: Convert to kthread API.

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 01:58:47AM -0600, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> > > This patch modifies startup of the kfand to use kthread_run > not a combination of kernel_thread and daemonize, making > the code a little simpler and more maintaintable. Why is th

Re: Today's 'master' leaves .idx/.pack in 0400

2007-04-22 Thread Junio C Hamano
Junio C Hamano <[EMAIL PROTECTED]> writes: > Linus Torvalds <[EMAIL PROTECTED]> writes: > >> So I think that if the user has a umask that says "nobody else can read", >> then we should *not* make it world readable (unless the >> "shared_repository" thing is set to override it, of course). > > I

[PATCH 2.6.20 1/14] CRIS architecture update - Build system

2007-04-22 Thread Mikael Starvik
The attached patch improves the CRIS build system by allowing out-of-tree objdir everywhere Signed-off-by: Mikael Starvik <[EMAIL PROTECTED]> /Mikael cris1_make.patch Description: cris1_make.patch

[PATCH 2.6.20 2/14] CRIS architecture update - subarchs

2007-04-22 Thread Mikael Starvik
The attached patch corrects a few paths related to sub-architectures. Signed-off-by: Mikael Starvik <[EMAIL PROTECTED]> /Mikael cris2_arch.patch Description: cris2_arch.patch

[PATCH 2.6.20 3/14] CRIS architecture update - Configuration

2007-04-22 Thread Mikael Starvik
The attached patch relates to CRIS kernel configuration. Signed-off-by: Mikael Starvik <[EMAIL PROTECTED]> /Mikael cris3_config.patch Description: cris3_config.patch

[PATCH 2.6.20 6/14] CRIS architecture update - Library

2007-04-22 Thread Mikael Starvik
The attached patch relates to CRIS library functions Signed-off-by: Mikael Starvik <[EMAIL PROTECTED]> /Mikael cris6_lib.patch Description: cris6_lib.patch

[PATCH 2.6.20 7/14] CRIS architecture update - Boot

2007-04-22 Thread Mikael Starvik
The attached patch relates to CRIS kernel booting (decompresser etc) Signed-off-by: Mikael Starvik <[EMAIL PROTECTED]> /Mikael cris7_boot.patch Description: cris7_boot.patch

PATCH 2.6.20 11/14; CRIS architecture update - IDE driver

2007-04-22 Thread Mikael Starvik
The attached patch updates the CRIS IDE driver. Signed-off-by: Mikael Starvik <[EMAIL PROTECTED] > /Mikael cris11_ide.patch Description: cris11_ide.patch

Re: [PATCH] mtd_blkdevs: Convert to use the kthread API

2007-04-22 Thread Christoph Hellwig
On Sun, Apr 22, 2007 at 02:23:00PM +0100, David Woodhouse wrote: > On Sun, 2007-04-22 at 13:24 +0100, Christoph Hellwig wrote: > > This is the full conversion I sent to Dave in April 2006, but never > > got any feedback to: > > Sorry about that; I need prodding sometimes. I'll provide some now...

Fw: [PATCH][RFC] PCMCIA support for 8xx using platform devices

2007-04-22 Thread Vitaly Bordug
This utilizes PCMCIA on mpc885ads and mpc866ads from arch/powerpc. In the new approach, direct IMMR accesses from within drivers/ were totally eliminated, that requires hardware_enable, hardware_disable, voltage_set board-specific functions to be moved over to BSP code section (arch/powerpc/pla

Re: Today's 'master' leaves .idx/.pack in 0400

2007-04-22 Thread Linus Torvalds
On Sun, 22 Apr 2007, Junio C Hamano wrote: > > How about this as a replacement (hot off the press -- still > running the tests). Looks good, but.. > + mode_t mode = umask(0); > + > + umask(mode); > + mode = 0666 & ~mode; I would really suggest just defaulti

Re: [PATCH] i386 voyager: Convert the monitor thread to use the kthread API

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 12:55:27AM -0600, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> - unquoted > > This patch just trivially replaces kernel_thread and daemonize > with a single call to kthread_run. Here's a better patch that does the full kthread conversion + switch

Re: [PATCH] sas_scsi_host: Convert to use the kthread API

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 05:37:53PM -0700, Andrew Morton wrote: > On Thu, 19 Apr 2007 01:58:38 -0600 > "Eric W. Biederman" <[EMAIL PROTECTED]> wrote: > > > From: Eric W. Biederman <[EMAIL PROTECTED]> > > > > This patch modifies the sas scsi host thread startup > > to use kthread_run not kernel_thr

Re: [PATCH 2.6.20 1/14] CRIS architecture update - Build system

2007-04-22 Thread Sam Ravnborg
On Sun, Apr 22, 2007 at 09:24:34PM +0200, Mikael Starvik wrote: > The attached patch improves the CRIS build system by allowing out-of-tree > objdir everywhere I have browsed through the changes and this is in addition a much more readable set of Makefile's - good work! I stumbled over this: +AF

Re: [PATCH] mtd_blkdevs: Convert to use the kthread API

2007-04-22 Thread Christoph Hellwig
On Sun, Apr 22, 2007 at 01:24:53PM +0100, Christoph Hellwig wrote: > On Thu, Apr 19, 2007 at 12:55:28AM -0600, Eric W. Biederman wrote: > > From: Eric W. Biederman <[EMAIL PROTECTED]> - unquoted > > > > thread_run is used intead of kernel_thread, daemonize, and mucking > > around blocking signals

Re: [PATCH 2.6.20 7/14] CRIS architecture update - Boot

2007-04-22 Thread Sam Ravnborg
On Sun, Apr 22, 2007 at 09:25:23PM +0200, Mikael Starvik wrote: > The attached patch relates to CRIS kernel booting (decompresser etc) --- ../linux/arch/cris/arch-v32/boot/compressed/Makefile2007-02-04 19:44:54.0 +0100 +++ linux-2.6/arch/cris/arch-v32/boot/compressed/Makefile

Re: [PATCH] bluetooth bnep: Convert to kthread API.

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 04:24:59PM -0700, Andrew Morton wrote: > On Thu, 19 Apr 2007 01:58:51 -0600 > "Eric W. Biederman" <[EMAIL PROTECTED]> wrote: > > > From: Eric W. Biederman <[EMAIL PROTECTED]> > > > > This patch starts kbenpd using kthread_run replacing > > a combination of kernel_thread an

Re: [PATCH] ipv4/ipvs: Convert to kthread API

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 03:59:44PM -0700, Andrew Morton wrote: > There still seems to be quite a lot of complexity in this driver's > thread handling which could be removed if we did a full conversion > to the kthread API. > > It all looks surprisingly complex in there. It is. There quite a

CPU 3: Machine Check Exception: 0000000000000004

2007-04-22 Thread Mr. James W. Laferriere
Hello All , Has anyone else had an occurance of this hard lockup . last time it was the scsi bus that was the last item on the console this time it's CPU #3 ... Everytime I try & run a bonnie on this system something locks the system up hard . I do not trust this system at this tim

[RFC][PATCH -mm 0/3] Separate freezer flags

2007-04-22 Thread Rafael J. Wysocki
Hi, The following three patches are related to the separation of the freezer flags from process/threadinfo flags. The first patch separates the freezer from the PM code, because it's no longer a PM-specific piece of code. This also makes the second patch look better. The second patch introduces

[RFC][PATCH -mm 1/3] Separate freezer from PM code

2007-04-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Now that the freezer is used by kprobes, it is no longer a PM-specific piece of code. Move the freezer code out of kernel/power and introduce the CONFIG_FREEZER option that will be chosen automatically if PM or KPROBES is set. Signed-off-by: Rafael J.

[RFC][PATCH -mm 3/3] freezer: Fix problem with kthread_stop

2007-04-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Fix the problem with kthread_stop() that causes the freezer to fail if a freezable thread is attempting to stop a frozen one and that may cause the freezer to fail if the thread being stopped is freezable and try_to_freeze_tasks() is running concurrently

[RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> Move all of the freezer-related flags to a separate field in task_struct and introduce functions to operate them using set_bit() etc. Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> --- Documentation/power/kernel_threads.txt |2 - Documentatio

Re: Wrong free clusters count on FAT32

2007-04-22 Thread DervishD
Hi Ogawa :) * OGAWA Hirofumi <[EMAIL PROTECTED]> dixit: > DervishD <[EMAIL PROTECTED]> writes: > > The problem is that if a program writes a file onto the filesystem > > without using statfs first to check for free space, the free_clusters > > entry won't have the real value and the driver ma

Re: Wrong free clusters count on FAT32

2007-04-22 Thread DervishD
Hi Bodo :) * Bodo Eggert <[EMAIL PROTECTED]> dixit: > OGAWA Hirofumi <[EMAIL PROTECTED]> wrote: > >> * Juergen Beisert <[EMAIL PROTECTED]> dixit: > > >>> So the last free sector count is also stored. When mounting this > >>> filesystem you don't need to walk through the whole FAT to calcula

Re: [PATCH] bluetooth rfcomm: Convert to kthread API.

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 04:12:53PM -0700, Andrew Morton wrote: > On Thu, 19 Apr 2007 01:58:54 -0600 > "Eric W. Biederman" <[EMAIL PROTECTED]> wrote: > > > From: Eric W. Biederman <[EMAIL PROTECTED]> > > > > This patch starts krfcommd using kthread_run instead of a combination > > of kernel_thread

Re: [PATCH] s390/scsi/zfcp_erp: Convert to use the kthread API

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 01:58:42AM -0600, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> > > Modify zfcperp%s to be started with kthread_run not > a combination of kernel_thread, daemonize and siginitsetinv > making the code slightly simpler and more maintainable. This dri

Re: [PATCH] arm ecard: Conver to use the kthread API.

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 01:58:43AM -0600, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> > > This patch modifies the startup of kecardd to use > kthread_run not a kernel_thread combination of kernel_thread > and daemonize. Making the code slightly simpler and more > mainta

ChunkFS - measuring cross-chunk references

2007-04-22 Thread Karuna sagar K
Hi, The attached code contains program to estimate the cross-chunk references for ChunkFS file system (idea from Valh). Below are the results: test on ext3, / partition-1 on 27 March 2007 Number of files = 217806 Number of directories = 24295 Total size = 8193116 KB Total data stored = 7557892 K

Re: [PATCH] ia64 sn xpc: Convert to use kthread API.

2007-04-22 Thread Christoph Hellwig
On Thu, Apr 19, 2007 at 01:58:44AM -0600, Eric W. Biederman wrote: > From: Eric W. Biederman <[EMAIL PROTECTED]> > > This patch starts the xpc kernel threads using kthread_run > not a combination of kernel_thread and daemonize. Resuling > in slightly simpler and more maintainable code. This driv

Testing framework

2007-04-22 Thread Karuna sagar K
Hi, For some time I had been working on this file system test framework. Now I have a implementation for the same and below is the explanation. Any comments are welcome. Introduction: The testing tools and benchmarks available around do not take into account the repair and recovery aspects of fi

Re: [PATCH] reiserfs: fix xattr root locking/refcount bug

2007-04-22 Thread Jeff Mahoney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Morton wrote: > On Sat, 21 Apr 2007 11:26:31 -0400 Jeff Mahoney <[EMAIL PROTECTED]> wrote: > >> The listxattr() and getxattr() operations are only protected by a read >> lock. As a result, if either of these operations run in parallel, a race

Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

2007-04-22 Thread Paul Jackson
Rafael wrote: > Move all of the freezer-related flags to a separate field in task_struct and > introduce functions to operate them using set_bit() etc. It's getting time I learned what this freezer thing is. What would you suggest I read? I looked in include/linux/freezer.h and didn't see any ex

Re: [ANNOUNCE] Staircase Deadline cpu scheduler version 0.46

2007-04-22 Thread Con Kolivas
On Monday 23 April 2007 03:58, Thomas Backlund wrote: > mån 2007-04-23 klockan 01:03 +1000 skrev Con Kolivas: > > Yet another significant bugfix for SMP balancing was just posted for the > > staircase deadline cpu scheduler which improves behaviour dramatically on > > any SMP machine. > > > > Thank

[PATCH 1/1] Char: icom, mark __init as __devinit

2007-04-22 Thread Jiri Slaby
icom, mark __init as __devinit Two functions are called from __devinit context, but they are marked as __init. Fix this. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> --- commit 257f51b72348e8879e8ef397f82e1408233843c1 tree 79a82d6c884adc7b941773929c92d269a9b91679 parent 6f42cfdf174bdd2c05edf7d1

[PATCH] use spinlock instead of binary mutex in CDU-31A driver

2007-04-22 Thread Matthias Kaehlcke
use spinlock instead of binary mutex in CDU-31A driver Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/cdrom/cdu31a.c b/drivers/cdrom/cdu31a.c index 2157c58..d3649e4 100644 --- a/drivers/cdrom/cdu31a.c +++ b/drivers/cdrom/cdu31a.c @@ -263,7 +263,7 @@ static int sony

[PATCH] use spinlock instead of binary mutex in idt77252 driver

2007-04-22 Thread Matthias Kaehlcke
use spinlock instead of binary mutex in idt77252 driver Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/atm/idt77252.c b/drivers/atm/idt77252.c index b4b8014..e3cf141 100644 --- a/drivers/atm/idt77252.c +++ b/drivers/atm/idt77252.c @@ -2430,7 +2430,7 @@ idt77252_ope

Re: [PATCH] sas_scsi_host: Convert to use the kthread API

2007-04-22 Thread James Bottomley
On Sun, 2007-04-22 at 20:38 +0100, Christoph Hellwig wrote: > On Thu, Apr 19, 2007 at 05:37:53PM -0700, Andrew Morton wrote: > > On Thu, 19 Apr 2007 01:58:38 -0600 > > "Eric W. Biederman" <[EMAIL PROTECTED]> wrote: > > > > > From: Eric W. Biederman <[EMAIL PROTECTED]> > > > > > > This patch modif

Re: Wrong free clusters count on FAT32

2007-04-22 Thread Bodo Eggert
On Sun, 22 Apr 2007, OGAWA Hirofumi wrote: > Bodo Eggert <[EMAIL PROTECTED]> writes: > > Windows _does_ care*, it will pretend the disk to be full. > > Did you test on 2000 or XP? (e.g. write 0 to free_clusters, then > create new file.) That was back when I still used W98. > > - usefree is a ba

Re: [PATCH] sas_scsi_host: Convert to use the kthread API

2007-04-22 Thread Eric W. Biederman
James Bottomley <[EMAIL PROTECTED]> writes: > Changelog and cc to linux-scsi, and I think it can go in ... not that it > matters; nothing ever activates this code inside libsas anyway ... Should we just remove the relevant code then? Eric - To unsubscribe from this list: send the line "unsubscri

Re: Fw: [PATCH][RFC] PCMCIA support for 8xx using platform devices

2007-04-22 Thread Arnd Bergmann
On Sunday 22 April 2007, Vitaly Bordug wrote: > This utilizes PCMCIA on mpc885ads and mpc866ads from arch/powerpc. In the > new approach, direct IMMR accesses from within drivers/ were totally > eliminated, that requires hardware_enable, hardware_disable, voltage_set > board-specific functions to b

<    1   2   3   >