Re: [PATCH 2.6.13-rc6 1/2] New Syscall: get rlimits of any process (update)

2005-08-22 Thread Ulrich Drepper
On 8/18/05, Alan Cox <[EMAIL PROTECTED]> wrote: > Perhaps those application authors should provide a management interface > to do so within the soft limit range at least. Its not clear to me that > growing the fd array on a process is even safe. Some programs do size > arrays at startup after

Re: 2.6.13-rc6-rt6

2005-08-22 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > Here's a patch to move the pi_lock out of the "fast path". Thus, only > threads that need to do PI will need to take it. ok, looks good, applied it. I've renamed p->rt_lock to p->pi_lock. The patch gave a 10% wall-clock improvement in hackbench

Process in D state with st driver

2005-08-22 Thread Hans-Joachim Baader
Hi, I do nightly backups on tape. Every 3 to 4 weeks a process is stuck in D state while accessing the drive: 12398 ?D 0:00 /usr/sbin/amcheck -ms daily There are no messages in the log. Only a reboot can remove this process. lsscsi --long [0:0:0:0]tapeTANDBERG TDC 4222

Re: [patch 2.6.13-rc3] i810_audio: fix release_region misordering in error exit from i810_probe

2005-08-22 Thread Jeff Garzik
applied - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC] RT-patch update to remove the global pi_lock

2005-08-22 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > > One downside would be an increase in mutex structure size though. > > If I do need to add an additional lock to the mutex, I would abstract > it all, so that the old global pi_lock can be used if configured. > This way, a UP or a low memory 2x

Re: [PATCH] Fix HD activity LED with ahci

2005-08-22 Thread Jeff Garzik
applied - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: cache regresions with 2.6.1x ?

2005-08-22 Thread Andrew Morton
jerome lacoste <[EMAIL PROTECTED]> wrote: > > I am on a Dell Inspiron 8100 laptop with 512 M and 1G disk cache. I > usually have at least 4 big applications running simultaneously: a > Java IDE, firefox, firefox and X. All that under the Gnome desktop. > > I've sometimes seen periods where my

2.6.13-rc6-mm2

2005-08-22 Thread Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm2/ - Various updates. Nothing terribly noteworthy. - This kernel still spits a bunch of scheduling-while-atomic warnings from the scsi code. Please ignore. Changes since 2.6.13-rc6-mm1: linus.patch

Re: 3com 3c59x stopped working with 2.6.13-rc[56]

2005-08-22 Thread Steve Lee
> i tried to boot 2.6.13-rc5-git4 and 2.6.13-rc6-git13 both with the same > result: my 3com (3c59x driver on 3com 905c) card not working. > Here is what I saw in the logs. > Notice the regularity of the log barfs. They continue the same every 10secs. I'm currently using 2.6.13-rc6-git13 with the

Re: [RFC] RT-patch update to remove the global pi_lock

2005-08-22 Thread Steven Rostedt
On Mon, 2005-08-22 at 21:32 -0400, Steven Rostedt wrote: > > God, I think a thesis can be made out of this. Well, let me start > coding, since I'm one of those that write code better than I design. > I'm a Spiral type of guy, not a Waterfall one ;-) > Code crap, write about it, recode it as

Re: Surround via SPDIF with ALSA/emu10k1?

2005-08-22 Thread Robert Hancock
Thomas Zehetbauer wrote: Now I can either enable the 'SB Live Analog/Digital Output Jack' switch and use the SPDIF connector to my DD5.1 surround system OR mute this control and access/unmute the rear/center/LFE channels. Using analog cabling is not an option as the DTT2500 has no connector for

Re: [patch 2.6.13-rc6] i386: fix incorrect FP signal delivery

2005-08-22 Thread Chuck Ebbert
On Tue, 23 Aug 2005 02:20:07 +0200, Andi Kleen wrote: > How about you describe what you actually changed and why so that not > every reviewer has to look up all the bits in the manual? The patch had a bug anyway, so here's another try. *** Replace the previous patch with this one. *** i386

Re: [PATCH 1/3] dlm: use configfs

2005-08-22 Thread Mark Fasheh
On Fri, Aug 19, 2005 at 03:13:44PM +0800, David Teigland wrote: > The nodemanager RFC I sent a month ago > http://marc.theaimsgroup.com/?l=linux-kernel=112166723919347=2 > > amounts to half of dlm/config.c (everything under comms/ above) moved into > a separate kernel module. That would be

Re: [-mm patch] DLM must depend on SYSFS

2005-08-22 Thread David Teigland
On 8/23/05, Adrian Bunk <[EMAIL PROTECTED]> wrote: > config DLM > tristate "Distributed Lock Manager (DLM)" > + depends on SYSFS > depends on IPV6 || IPV6=n > select IP_SCTP > select CONFIGFS_FS Thanks, you added this once before but it got clobbered by your

[ANNOUNCE][RFC] PlugSched-6.0 for 2.6.12 and 2.6.13-rc6

2005-08-22 Thread Peter Williams
This version contains the following changes: 1. upgrade the staircase scheduler to version 11.6, 2. major reorganization of the spa_no_frills and zaphod code to clean up the mechanism by which they share code. This includes the definition of a simple interface which can be used to extend

Re: [PATCH] Posix file attribute support on VFAT (take #2)

2005-08-22 Thread roucaries bastien
On 8/22/05, Pavel Machek <[EMAIL PROTECTED]> wrote: > Hi! > > > > This is a take 2 of posix file attribute support on VFAT. > > > > Sorry, but this is far too scary. Please just use one of the sane > > filesystems linux supports. > > Unfortunately, it makes sense. If you have compact flash

[PATCH] Add MCE resume under ia32

2005-08-22 Thread Shaohua Li
Hi, It's widely seen a MCE non-fatal error reported after resume. It seems MCE resume is lacked under ia32. This patch tries to fix the gap. Signed-off-by: Shaohua Li<[EMAIL PROTECTED]> --- linux-2.6.13-rc6-root/arch/i386/kernel/cpu/mcheck/k7.c |2 +-

Re: PROBLEM: Incorrect RAM Detected at kernel init

2005-08-22 Thread Terry
I have not been able to get the memory hole turned off at the 16M mark Going through some of the Documentation files, I noticed that I can specify a ram map with the mem boot option. I know the mem=768M hasn't worked, so what about trying the memory map option? Could that be a solution to my

Re: [RFC] RT-patch update to remove the global pi_lock

2005-08-22 Thread Steven Rostedt
On Mon, 2005-08-22 at 17:51 -0700, Daniel Walker wrote: > On Mon, 2005-08-22 at 20:26 -0400, Steven Rostedt wrote: > > > > > How would you add to a lock with just holding a lock for a task? When > > you are grabbing a lock, you must first grab a raw lock associated to > > the lock being

Re: [Alsa-devel] [2.6 patch] sound/core/memalloc.c: fix PROC_FS=n compilation

2005-08-22 Thread Adrian Bunk
On Mon, Aug 22, 2005 at 02:41:07PM +0200, Takashi Iwai wrote: >... > I think the below is simpler. Looks good. > Takashi >... cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a

RE: FW: [RFC] A more general timeout specification

2005-08-22 Thread Perez-Gonzalez, Inaky
Hi John >From: john stultz [mailto:[EMAIL PROTECTED] >On Thu, 2005-07-28 at 18:52 -0700, Inaky Perez-Gonzalez wrote: >> The main user of this new inteface is to allow system calls to get >> time specified in an absolute form (as most of POSIX states) and thus >> avoid extra time conversion work.

Re: [Samba] Re: New maintainer needed for the Linux smb filesystem

2005-08-22 Thread Ian Kent
On Sun, 21 Aug 2005, Gerald (Jerry) Carter wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Steven French wrote: > | > | We are close, but not quite ready to disable smbfs. > > Steve, > > I have been itching to work on some kernel code. > If you need someone just to keep things

Re: strange CRASH_DUMP dependencies

2005-08-22 Thread Eric W. Biederman
Adrian Bunk <[EMAIL PROTECTED]> writes: >> > - Is there any sane reason for the dependency on EMBEDDED? >> > >> >> I believe this was introduced because large servers can have huge amount >> of memory (running into Tera Bytes) and saving all that memory might not be >> practical. Hence it was

Re: [RFC] RT-patch update to remove the global pi_lock

2005-08-22 Thread Daniel Walker
On Mon, 2005-08-22 at 20:26 -0400, Steven Rostedt wrote: > > How would you add to a lock with just holding a lock for a task? When > you are grabbing a lock, you must first grab a raw lock associated to > the lock being grabbed. Although, I'm starting to look into this idea, > and I'm going to

Include assembly entry points in TAGS

2005-08-22 Thread Peter Chubb
As it stands, etags doesn't find labels in the IA64 or i386 assembler source code, because they're disguised inside a preprocessor macro. I propose the attached fix, which adds a regular expression to enable labels disguised by ENTRY() and GLOBAL_ENTRY() macros. There's a similar problem for

Re: [PATCH -mm 3/3] [LSM] Stacking support for inode_init_security

2005-08-22 Thread serue
Quoting Chris Wright ([EMAIL PROTECTED]): > * Adrian Bunk ([EMAIL PROTECTED]) wrote: > > You want to build these modules always and always modular? > > > > No matter whether the security subsystem is built modular or static? > > > > No matter whether the user has enabled or completely disabled

Re: [RFC] RT-patch update to remove the global pi_lock

2005-08-22 Thread Steven Rostedt
On Mon, 2005-08-22 at 15:19 -0700, Daniel Walker wrote: > On Mon, 2005-08-22 at 15:44 -0400, Steven Rostedt wrote: > > On Mon, 2005-08-22 at 20:33 +0200, Ingo Molnar wrote: > > > > > any ideas how to get rid of pi_lock altogether? > > > > I've toyed with the idea of adding another raw_spin_lock

Re: [patch 2.6.13-rc6] i386: fix incorrect FP signal delivery

2005-08-22 Thread Andi Kleen
On Mon, 22 Aug 2005 19:43:57 -0400 Chuck Ebbert <[EMAIL PROTECTED]> wrote: > This patch fixes a problem with incorrect floating-point exception > signal delivery on i386 kernels. In some cases, an error code of zero > is delivered instead of the correct code, as the output from my test >

Re: [PATCH] race condition with drivers/char/vt.c (bug in vt_ioctl.c)

2005-08-22 Thread Steven Rostedt
On Tue, 2005-08-23 at 08:08 +0800, Antonino A. Daplas wrote: > There's a similar report in Kernel Bugzilla > > http://bugzilla.kernel.org/show_bug.cgi?id=4812 > > I was wondering what's the likelihood of tty->driver_data being NULL in > vt_ioctl but never had the time to do further exploration.

Re: [PATCH] race condition with drivers/char/vt.c (bug in vt_ioctl.c)

2005-08-22 Thread Antonino A. Daplas
There's a similar report in Kernel Bugzilla http://bugzilla.kernel.org/show_bug.cgi?id=4812 I was wondering what's the likelihood of tty->driver_data being NULL in vt_ioctl but never had the time to do further exploration. Your patch should fix that bug too. Tony Steven Rostedt wrote: While

Surround via SPDIF with ALSA/emu10k1?

2005-08-22 Thread Thomas Zehetbauer
Hi, I am desperately trying to get surround sound working here. I have - Creative Labs SB Live! 5.1 (emu10k1) card - digital/SPDIF/coaxial connection - Cambridge SoundWorks DTT2500 - linux-2.6.12.5 - alsa-lib-1.0.9rf-2 Digital and analog sound basically works. I can play music on the front

[PATCH] driver core: fix bus_rescan_devices() race.

2005-08-22 Thread Daniel Ritz
[PATCH] driver core: fix bus_rescan_devices() race. bus_rescan_devices_helper() does not hold the dev->sem when it checks for !dev->driver. device_attach() holds the sem, but calls again device_bind_driver() even when dev->driver is set (which means device is already bound to a driver). what

Re: [PATCH 2.6.12.5]fix gl_skb/skb type error in genelink driver in usbnet in 2.6

2005-08-22 Thread David Brownell
>I think there is a type error when port genelink driver to 2.6.. >With this error, a linux host will panic when it link with a windows >host. > >See the following patch. > Looks right to me; thanks! Would you happen to know if this GL620a chip is still manufactured? If this

Re: IT8212/ITE RAID

2005-08-22 Thread Andre Hedrick
WHOA Gents! Let me get some popcorn to watch this p-contest. The way you guys are sniping at each other sounds like the good-old days, when everyone railed me and the subsystem and ended up railing back Guess nothing was learned from the 6+ years of flamage. I have mellowed out with age ...

[patch 2.6.13-rc6] i386: fix incorrect FP signal delivery

2005-08-22 Thread Chuck Ebbert
This patch fixes a problem with incorrect floating-point exception signal delivery on i386 kernels. In some cases, an error code of zero is delivered instead of the correct code, as the output from my test program shows: Before patch: $ ./fpsig handler: signum = 8, errno = 0, code = 0

Re: CONFIG_PRINTK_TIME woes

2005-08-22 Thread tony . luck
>Ah, thanks. Presumably it'll be considerably longer with %d's and %s's in >there. But still, ~10 usecs is good resolution for I/O operations. The variation in times from one call to the next seems to be greater than the time to evaluate 4 "%d" arguments. So we are back to how to get a

Re: [patch] suspend: update warnings

2005-08-22 Thread Nigel Cunningham
Hi. On Mon, 2005-08-22 at 18:15, Pavel Machek wrote: > Update suspend documentation. Warnings were a bit overstated, and did > not point out important stuff. > > --- > commit 790df7223ac29afec81e7201adc879973311f27e > tree 97fa2017f8f5aded0c44cfc75ba4903fbdb7f0a4 > parent

Re: sched_yield() makes OpenLDAP slow

2005-08-22 Thread Howard Chu
Florian Weimer wrote: * Howard Chu: > That's not the complete story. BerkeleyDB provides a > db_env_set_func_yield() hook to tell it what yield function it > should use when its internal locking routines need such a function. > If you don't set a specific hook, it just uses sleep(). The >

Re: PROBLEM: Incorrect RAM Detected at kernel init

2005-08-22 Thread Douglas McNaught
"Terry" <[EMAIL PROTECTED]> writes: > The kernel appears to compile perfectly, installs fine, but after reboot it > is only reporting 16M of RAM. I have tried with and without the mem=768M I've seen this happen with BIOSes of your vintage when there's a "memory hole at 16M" turned on--the kernel

Re: tcpdump confused with NAT-T+IPSec Packets

2005-08-22 Thread Patrick McHardy
Gopalakrishnan Raman wrote: Hi I'm using 2.6.11.7 and debugging why my ESP tunnel mode does not work between two 2.6 machines one of which is behind a NAT. I'm using tcpdump to capture NAT-T packets on one of the hosts and using espdecrypt (http://www.cs.rpi.edu/~flemej/freebsd/espdecrypt/) to

Re: rc6 keeps hanging and blanking displays

2005-08-22 Thread Linus Torvalds
On Tue, 23 Aug 2005, Dave Airlie wrote: > > Can we revert the PCI assign resources patch? I'd rather not revert the whole PCI assign thing, because it's good. But disabling the ROM assignment might be a good idea. Almost nobody ever really wants to assign the ROM anyway, and there are cards

Re: [PATCH -mm 3/3] [LSM] Stacking support for inode_init_security

2005-08-22 Thread Chris Wright
* Adrian Bunk ([EMAIL PROTECTED]) wrote: > You want to build these modules always and always modular? > > No matter whether the security subsystem is built modular or static? > > No matter whether the user has enabled or completely disabled the > security subsystem? The modules are just for

Re: [patch] swsusp: fix error handling and cleanups

2005-08-22 Thread Nigel Cunningham
Hi. On Mon, 2005-08-22 at 19:00, Pavel Machek wrote: > @@ -1207,7 +1208,6 @@ static int check_sig(void) >*/ > error = bio_write_page(0, _header); > } else { > - printk(KERN_ERR "swsusp: Suspend partition has wrong > signature?\n"); >

Re: suspicious behaviour in pcwd driver.

2005-08-22 Thread Benjamin Herrenschmidt
> Export machine_power_off() on ppc64, as the pcwd watchdog driver needs it. > > Signed-off-by: Dave Jones <[EMAIL PROTECTED]> > > --- linux-2.6.12/arch/ppc64/kernel/setup.c~ 2005-08-09 17:37:36.0 > -0400 > +++ linux-2.6.12/arch/ppc64/kernel/setup.c2005-08-09 17:37:53.0

Re: [RFC] [PATCH] cache pollution aware __copy_from_user_ll()

2005-08-22 Thread Hiro Yoshioka
Hi, It seems to me this mail does not go out. So resending it. > On 8/18/05, Hiro Yoshioka <[EMAIL PROTECTED]> wrote: > > 1) using stack to save/restore MMX registers > > It seems to me that it has some regression. > I'd like to rollback it and use kernel_fpu_begin() and kernel_fpu_end(). The

Re: [PATCH 2.6.12.5 1/2] lib: allow idr to be used in irq context

2005-08-22 Thread Luben Tuikov
--- James Bottomley <[EMAIL PROTECTED]> wrote: > On Sun, 2005-08-21 at 10:27 -0700, Luben Tuikov wrote: > > Is this the only use _you_ could find for a *radix tree*? ;-) > > Since of course sd.c uses it just as an enumeration, according to > > you this must be the only use? :-) > > And Dicto

Re: [PATCH] Permissions don't stick on ConfigFS attributes

2005-08-22 Thread Eric W. Biederman
I am confused. I am beginning to see shades of the devfs problems coming up again. sysfs is built to be world readable by everyone who has it mounted in their namespace. Writable files in sysfs I have never understood. Given that we now have files which do not conform to one uniform policy

Re: [patch] libata passthrough - return register data from HDIO_* commands

2005-08-22 Thread Jeff Garzik
Jon Escombe wrote: Here is a first attempt at a patch to return register data from the libata passthrough HDIO ioctl handlers, I needed this as the ATA 'unload immediate' command returns the success in the lbal register. This patch applies on top of 2.6.12 and Jeffs

Re: sched_yield() makes OpenLDAP slow

2005-08-22 Thread Howard Chu
Florian Weimer wrote: * Andi Kleen: Has anybody contacted the Sleepycat people with a description of the problem yet? Berkeley DB does not call sched_yield, but OpenLDAP does in some wrapper code around the Berkeley DB backend. That's not the complete story. BerkeleyDB provides a

Re: [PATCH] fix send_sigqueue() vs thread exit race

2005-08-22 Thread Oleg Nesterov
Thomas Gleixner wrote: > > But we can not check for p->sighand == NULL, as sighand is released > after exit_itimers() so we are still deadlock prone. So I think > __exit_sighand() should be called before exit_itimers(). Then we can do > > retry: > if (unlikely(!p->sighand)) >

2.6.13-rc6-rt10

2005-08-22 Thread Ingo Molnar
i have released the 2.6.13-rc6-rt10 tree, which can be downloaded from the usual place: http://redhat.com/~mingo/realtime-preempt/ this is a fixes-only release. Changes since 2.6.13-rc6-rt9: - fix/improve the timer PI logic (Thomas Gleixner) - fix tty race (Steven Rostedt) - fix

Re: Environment variables inside the kernel?

2005-08-22 Thread Guillermo López Alejos
On 8/22/05, Eric W. Biederman <[EMAIL PROTECTED]> wrote: > ?? > Usually when I hear stand-alone program I think of program that runs > without the need of a kernel. You have an environment in that context? Without the need of a kernel? Perhaps I did not explain myself correctly... I meant a user

Re: 2.6.13-rc6-rt9

2005-08-22 Thread Ingo Molnar
* Karsten Wiese <[EMAIL PROTECTED]> wrote: > diff -up arch/i386/kernel/io_apic.c.rt9 arch/i386/kernel/io_apic.c > --- arch/i386/kernel/io_apic.c.rt9 2005-08-19 12:28:42.0 +0200 > +++ arch/i386/kernel/io_apic.c 2005-08-19 12:29:30.0 +0200 > @@ -1758,8 +1758,8 @@ void

Re: [PATCH 2.6.13-rc6-rt9] PI aware dynamic priority adjustment

2005-08-22 Thread Ingo Molnar
* Thomas Gleixner <[EMAIL PROTECTED]> wrote: > Hi all, > > On Thu, 2005-08-18 at 08:01 +0200, Ingo Molnar wrote: > > i have released the 2.6.13-rc6-rt9 tree, which can be downloaded from > > the usual place: > > I reworked the code for dynamically setting the priority of the > hrtimer

Re: [PATCH 2.6.13-rc6 1/2] New Syscall: get rlimits of any process (update)

2005-08-22 Thread Eric W. Biederman
Wieland Gmeiner <[EMAIL PROTECTED]> writes: > (This resembles the behaviour of the ptrace system call.) ptrace does not solve this problem because? If you can do this now without a syscall why do you need a syscall to optimize this code path? Eric - To unsubscribe from this list: send the line

Re: FW: [RFC] A more general timeout specification

2005-08-22 Thread john stultz
On Thu, 2005-07-28 at 18:52 -0700, Inaky Perez-Gonzalez wrote: > The main user of this new inteface is to allow system calls to get > time specified in an absolute form (as most of POSIX states) and thus > avoid extra time conversion work. > > There was a short thread about it, available at

Re: tcpdump confused with NAT-T+IPSec Packets

2005-08-22 Thread Herbert Xu
Gopalakrishnan Raman <[EMAIL PROTECTED]> wrote: > The problem is that packet_rcv() calls skb_clone() which is the > right thing to do in all cases except when the data portion of the > incoming skb is being modified in place. I replaced it with a pskb_copy() > in the case when the packet is likely

Re: use of uninitialized pointer in jffs_create()

2005-08-22 Thread Adrian Bunk
On Mon, Aug 22, 2005 at 12:45:59PM +0200, Jörn Engel wrote: > On Sun, 21 August 2005 00:28:08 +0200, Jesper Juhl wrote: > > > > gcc kindly pointed me at jffs_create() with this warning : > > > > fs/jffs/inode-v23.c:1279: warning: `inode' might be used uninitialized > > in this function > >

Re: [PATCH 2.6.13-rc6-rt9] PI aware dynamic priority adjustment

2005-08-22 Thread Ingo Molnar
* Ingo Molnar <[EMAIL PROTECTED]> wrote: > > Quite contrary it makes the system more snappy and the overall test > > latencies go down. > > we can undo that flag - it's indeed only a couple of cycles worth of > optimization, which wont count for most workloads. I've applied your > patch, but

Re: New maintainer needed for the Linux smb filesystem

2005-08-22 Thread Adrian Bunk
On Sun, Aug 21, 2005 at 08:01:57PM -0500, Steven French wrote: >... > I don't mind fixing any major smbfs bugs that are found as needed, the code > is not hard to follow, but I would rather focus on the three current cifs > priorities: >... It sounds as if you would be a great choice as new smbfs

Re: 2.6.13-rc6-rt6

2005-08-22 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > Here's the port from the latest git to solve this. > > Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> thanks, applied. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: [git] libata-dev queue updated

2005-08-22 Thread Jeff Garzik
Daniel Drake wrote: Hi Jeff, Jeff Garzik wrote: I finally got around to creating something that has been missing since BitKeeper disappeared, and something that Andrew has been wanting from me for a while: an amalgamation of all the libata-dev branches that I maintain internally. You are

Re: [PATCH] fix send_sigqueue() vs thread exit race

2005-08-22 Thread Oleg Nesterov
Thomas Gleixner wrote: > > @@ -1427,7 +1434,18 @@ send_group_sigqueue(int sig, struct sigq > int ret = 0; > > BUG_ON(!(q->flags & SIGQUEUE_PREALLOC)); > - read_lock(_lock); > +retry: > + if (unlikely(p->flags & PF_EXITING)) > + return -1; > + I don't

Re: [Samba] Re: New maintainer needed for the Linux smb filesystem

2005-08-22 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steven French wrote: | | We are close, but not quite ready to disable smbfs. Steve, I have been itching to work on some kernel code. If you need someone just to keep things afloat, I'd been happy to look into it. There would be some start up time

PROBLEM: Incorrect RAM Detected at kernel init

2005-08-22 Thread Terry
Not sure if I have provided enough info, or to much info, but here it goes: [1.] One line summary of the problem: Not Detecting all the memory installed in the system. [2.] Full description of the problem/report: I have Linux Kernel 2.4.31 running on a Compaq 5000R server with 2 PPro 200

Re: rc6 keeps hanging and blanking displays

2005-08-22 Thread Dave Airlie
> > > I have found that the crash and the balnking may be different problems. > It seems that any kernel with a _working_ drm sooner or later will cause > a hang on the radeon display, possibly but not necessarily freezing the > machine for a while or forever. This happens more often if I

Re: [RFC] Cleanup line-wrapping in pgtable.h

2005-08-22 Thread Pavel Machek
Hi! > The line-wrapping in most of the include/asm/pgtable.h pte test/set > macros looks horrible in my 80 column terminal. The following "test the > waters" patch is how I would like to see them laid out. I realize that > the braces don't adhere to CodingStyle but the advantage is (when taking

Re: Environment variables inside the kernel?

2005-08-22 Thread Eric W. Biederman
Guillermo López Alejos <[EMAIL PROTECTED]> writes: > On 8/22/05, Eric W. Biederman <[EMAIL PROTECTED]> wrote: >> ?? >> Usually when I hear stand-alone program I think of program that runs >> without the need of a kernel. You have an environment in that context? > > Without the need of a kernel?

Re: 2.6.13-rc6-rt9: compile errors

2005-08-22 Thread Ingo Molnar
* Adrian Bunk <[EMAIL PROTECTED]> wrote: > I'm getting the following compile errors: > > <-- snip --> > > ... > LD .tmp_vmlinux1 > drivers/built-in.o: In function `pi_init': > : multiple definition of `pi_init' > kernel/built-in.o:(.bss+0x80f0): first defined here > Note: pi_init is

Re: CONFIG_PRINTK_TIME woes

2005-08-22 Thread tony . luck
>How fast is printk? I haven't looked. > >ie: if you do back-to-back printk's, what's the timestamp increment? On ia64 it looks like about 4-5 usec increment for back-to-back printk (with no serial console configured, and dmesg -n to turn off messages to the VGA console). -Tony - To unsubscribe

Re: [PATCH] fix send_sigqueue() vs thread exit race

2005-08-22 Thread Thomas Gleixner
On Mon, 2005-08-22 at 10:39 +0400, Oleg Nesterov wrote: > Thomas Gleixner wrote: > > > > @@ -1427,7 +1434,18 @@ send_group_sigqueue(int sig, struct sigq > > int ret = 0; > > > > BUG_ON(!(q->flags & SIGQUEUE_PREALLOC)); > > - read_lock(_lock); > > +retry: > > + if

Re: [Documentation] Use doxygen or another tool to generate a documentation ?

2005-08-22 Thread Martin Waitz
hoi :) On Sun, Aug 21, 2005 at 08:32:42PM +0200, Stephane Wirtel wrote: > Martin, your patch works for the htmldocs target, but not for the > pdfdocs, I think there is a bug in a latex package. I don't know which > one, but it's the same error. yes, some pdfdocs are broken and I haven't found

[2.6 patch] kill smp_tune_scheduling()

2005-08-22 Thread Adrian Bunk
Since all remaining smp_tune_scheduling()'s are now empty (except for the useless setting of function-local variables), we can completely remove them. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- arch/i386/kernel/smpboot.c | 31 ---

Re: [patch] suspend: update warnings

2005-08-22 Thread Jiri Slaby
Pavel Machek napsal(a): + * but it wil probably only crash. ... it will ... :) * * (*) suspend/resume support is needed to make it safe. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

[PATCH 2.6.12.5]fix gl_skb/skb type error in genelink driver in usbnet in 2.6

2005-08-22 Thread lepton
Hi! I think there is a type error when port genelink driver to 2.6.. With this error, a linux host will panic when it link with a windows host. See the following patch. diff -pruNX linux-2.6-curr/Documentation/dontdiff linux-2.6-curr/drivers/usb/net/usbnet.c

Re: [RFC] [PATCH] cache pollution aware __copy_from_user_ll()

2005-08-22 Thread Hiro Yoshioka
Hi, It seems to me this mail does not go out. So resending it. > On 8/18/05, Hiro Yoshioka <[EMAIL PROTECTED]> wrote: > > 1) using stack to save/restore MMX registers > > It seems to me that it has some regression. > I'd like to rollback it and use kernel_fpu_begin() and kernel_fpu_end(). The

Re: 2.6.13-rc6: halt instead of reboot

2005-08-22 Thread Eric W. Biederman
Meelis Roos <[EMAIL PROTECTED]> writes: > I'm currently running 2.6.13-rc6+git as of today and whan I tell my computer > to > reboot, it starts a reboot as sual and when it reached kernel telling > "Rebooting" the computer halts instead. I noticed it just with an earlier > post-rc6 snapshot and

Re: use of uninitialized pointer in jffs_create()

2005-08-22 Thread Stephane Wirtel
Le Sunday 21 August 2005 a 13:08, Jesper Juhl ecrivait: > On 8/21/05, Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > On Sun, Aug 21, 2005 at 12:28:08AM +0200, Jesper Juhl wrote: > > > gcc kindly pointed me at jffs_create() with this warning : > > > > > > fs/jffs/inode-v23.c:1279: warning: `inode'

Re: [PATCH] make loglevels in init/main.c a little more sane.

2005-08-22 Thread Jesper Juhl
On 8/22/05, Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote: > On Mon, Aug 22, 2005 at 01:17:59PM +0800, Coywolf Qi Hunt wrote: > > On 1/23/05, Jesper Juhl <[EMAIL PROTECTED]> wrote: > > > [snip] > > > + printk(KERN_NOTICE); > > > printk(linux_banner); > > > > Why not merge it to the same

Re: 2.6.13-rc6-mm1

2005-08-22 Thread Rogério Brito
Hi. Unfortunately, it seems that current kernels (including vanilla -rc kernels) don't compile correctly on ppc if I have APM emulation enabled, but PMU disabled (only CUDA enabled). Here is what I get from a compilation try: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Re: New maintainer needed for the Linux smb filesystem

2005-08-22 Thread Steven Rostedt
On Sun, 2005-08-21 at 22:26 +0200, Andi Kleen wrote: > Adrian Bunk <[EMAIL PROTECTED]> writes: > > > Since Urban Widmark was not active for some time, and I didn't have any > > success trying to reach him, it seems we need a new maintainer for the > > smb filesystem in the Linux kernel. > > >

Re: 2.6.13-rc6-mm1

2005-08-22 Thread Andrew Morton
Rogério Brito <[EMAIL PROTECTED]> wrote: > > Unfortunately, it seems that current kernels (including vanilla -rc > kernels) don't compile correctly on ppc if I have APM emulation enabled, > but PMU disabled (only CUDA enabled). > > Here is what I get from a compilation try: > > - - - - - - -

Re: [PATCH 2.6.12.5 1/2] lib: allow idr to be used in irq context

2005-08-22 Thread James Bottomley
On Sun, 2005-08-21 at 17:33 -0700, Luben Tuikov wrote: > No preallocation is done from IRQ context. Do not spread FUD. > It seems to me that you're unaware how IDR works and unaware how > the driver works. Argumentum ad Hominem now ... we'll get them all eventually. Since you won't post the

Re: Binding a thread (or specific process) to a designated CPU

2005-08-22 Thread Douglas McNaught
"Brian D. McGrew" <[EMAIL PROTECTED]> writes: > Good morning, > > Using FC3 or FC4 with the 2.6.9 or later kernel, we're looking for a way > to bind a thread (or an entire process) to a designated CPU. We're > using dual processor systems as well as P4 with HT and Xeons so all of > our boxes

Re: [PATCH] race condition with drivers/char/vt.c (bug in vt_ioctl.c)

2005-08-22 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > I googled a little and found where this may have already happened in > the main line kernel: > > http://seclists.org/lists/linux-kernel/2005/Aug/1603.html > > So here's my proposal: > > Instead of checking for tty->count == 1 in con_open,

[patch] suspend: update warnings

2005-08-22 Thread Pavel Machek
Update suspend documentation. Warnings were a bit overstated, and did not point out important stuff. --- commit 790df7223ac29afec81e7201adc879973311f27e tree 97fa2017f8f5aded0c44cfc75ba4903fbdb7f0a4 parent 63393fcbf056a6fd68142a49ed4e1258560dce2c author <[EMAIL PROTECTED](none)> Mon, 22 Aug 2005

Re: [PATCH] make loglevels in init/main.c a little more sane.

2005-08-22 Thread Coywolf Qi Hunt
On Mon, Aug 22, 2005 at 01:17:59PM +0800, Coywolf Qi Hunt wrote: > On 1/23/05, Jesper Juhl <[EMAIL PROTECTED]> wrote: > > > > This patch modifies a few of the printk() loglevels used in init/main.c in > > an attempt to make them a bit more appropriate. > > > > The default loglevel is

Re: CONFIG_PRINTK_TIME woes

2005-08-22 Thread Andrew Morton
[EMAIL PROTECTED] wrote: > > >How fast is printk? I haven't looked. > > > >ie: if you do back-to-back printk's, what's the timestamp increment? > > On ia64 it looks like about 4-5 usec increment for back-to-back > printk (with no serial console configured, and dmesg -n to turn > off messages to

[patch] swsusp: fix error handling and cleanups

2005-08-22 Thread Pavel Machek
Drop printing during normal boot (when no image exists in swap), print message when drivers fail, fix error paths and consolidate near-identical functions in disk.c (and functions with just one statement). Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> --- commit

Re: [PATCH -mm 3/3] [LSM] Stacking support for inode_init_security

2005-08-22 Thread Adrian Bunk
On Mon, Aug 22, 2005 at 11:52:09AM -0500, [EMAIL PROTECTED] wrote: > Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > > This patch adds two stackable test LSMs which only define > > inode_init_security(). Any file created while these modules are > > loaded should have the xattrs

[swsusp] Fix process freezing

2005-08-22 Thread Pavel Machek
Fix process freezer: thaw processes if something goes wrong and do not spin in schedule(). Signed-off-by: Pavel Machek <[EMAIL PROTECTED]> --- commit 5d655d6e10c2a7ab291ee24b467fb167828f508a tree 8dfa9668e66e7006de7f0107698356718beb1e37 parent 847ddd5de8a88b2d47e759bc94186a77140bc673 author

Re: 2.6.13-rc6-rt9

2005-08-22 Thread Ingo Molnar
* Steven Rostedt <[EMAIL PROTECTED]> wrote: > On Fri, 2005-08-19 at 09:00 -0400, Steven Rostedt wrote: > > On Fri, 2005-08-19 at 02:39 -0400, Steven Rostedt wrote: > > > I haven't thought of a good way yet to solve the race condition with > > dependent sleeper. (Except by turning off

Re: New maintainer needed for the Linux smb filesystem

2005-08-22 Thread Dave Jones
On Sun, Aug 21, 2005 at 12:46:57PM -0700, Andrew Morton wrote: > Adrian Bunk <[EMAIL PROTECTED]> wrote: > > > > Since Urban Widmark was not active for some time, and I didn't have any > > success trying to reach him, it seems we need a new maintainer for the > > smb filesystem in the Linux

Re: [RFC] [PATCH] cache pollution aware __copy_from_user_ll()

2005-08-22 Thread Hiro Yoshioka
> On 8/18/05, Hiro Yoshioka <[EMAIL PROTECTED]> wrote: > > 1) using stack to save/restore MMX registers > > It seems to me that it has some regression. > I'd like to rollback it and use kernel_fpu_begin() and kernel_fpu_end(). The following is a current version of cache aware copy_from_user_ll.

Re: [2.6.13-rc6-rt9 patch] fix DECNET_ROUTER=y compile

2005-08-22 Thread Ingo Molnar
* Adrian Bunk <[EMAIL PROTECTED]> wrote: > It doesn't compile with CONFIG_DECNET_ROUTER=y: thanks, applied. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH] quirk_via_vt8237_bypass_apic_deassert

2005-08-22 Thread Ingo Molnar
* Karsten Wiese <[EMAIL PROTECTED]> wrote: > Hi Andrew, > > This helps at least on Ingo's and my [EMAIL PROTECTED] > and shouldn't bite anybody else. > Please add to -mm for later inclusion into mainline. > Signed-off-by: Karsten Wiese <[EMAIL PROTECTED]> Tested-by: Ingo Molnar <[EMAIL

Re: strange CRASH_DUMP dependencies

2005-08-22 Thread Vivek Goyal
On Mon, Aug 22, 2005 at 12:53:10AM +0200, Adrian Bunk wrote: > config CRASH_DUMP > bool "kernel crash dumps (EXPERIMENTAL)" > depends on EMBEDDED > depends on EXPERIMENTAL > depends on HIGHMEM > help > Generate crash dump after being started by kexec. > > Two

Re: PATCH for changing of DVD speed via ioctl() call

2005-08-22 Thread Chris Wedgwood
On Sun, Aug 21, 2005 at 09:56:45PM +0200, Bodo Eggert wrote: > The parameter value should IMHO be a pointer to a struct { > unsigned long long maxspeed; // (with 0 being the magic max. value?) > int facility; /* 0=general speed, 2=general read, 4=read data, > 6=read audio,

Re: [PATCH 2.6.12.5 1/2] lib: allow idr to be used in irq context

2005-08-22 Thread Andrew Morton
James Bottomley <[EMAIL PROTECTED]> wrote: > > Since you won't post the usage code, just answer this: how does what > you're doing with idr differ from its originally designed consumer: the > posix timers which also do the idr_remove() in IRQ context? erp. posix_timers has its own irq-safe

Re: [PATCH] cpm_uart: Fix dpram allocation and non-console uarts

2005-08-22 Thread Nishanth Aravamudan
On 21.08.2005 [18:12:35 -0300], Marcelo Tosatti wrote: > Hi, > > On Wed, Aug 17, 2005 at 10:42:36PM -0700, Nish Aravamudan wrote: > > On 8/8/05, Kumar Gala <[EMAIL PROTECTED]> wrote: > > > (A believe Marcelo would like to see this in 2.6.13, but I'll let him > > > fight over that ;) > > > > > >

  1   2   3   4   5   6   >