Re: IRQ problem with PCMCIA

2005-08-21 Thread Alan Cox
On Sul, 2005-08-21 at 15:19 -0700, David Hinds wrote > One caveat: I'm not sure if CardBus IDE devices are working under > Linux?? I'd think they should work with 2.6, but don't actually know > that for a fact. They work with some patches to the core IDE code I did, but I've given up ever

tcpdump confused with NAT-T+IPSec Packets

2005-08-21 Thread Gopalakrishnan Raman
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 see it in the clear. Turns

[2.6 patch] cris: "extern inline" -> "static inline"

2005-08-21 Thread Adrian Bunk
"extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- arch/cris/arch-v10/README.mm|6 +-- arch/cris/arch-v10/kernel/signal.c |2 - arch/cris/arch-v32/kernel/signal.c |2 - arch/cris/mm/ioremap.c |2 -

Re: Kernel BUG at "fs/exec.c":777

2005-08-21 Thread Marc Lehmann
On Sun, Aug 21, 2005 at 01:49:45AM -0700, Andrew Morton <[EMAIL PROTECTED]> wrote: > Marc Lehmann <[EMAIL PROTECTED]> wrote: > > > > If wanted, I can probably reproduce > > that without the nvidia kernel module loaded. > > > > Yes, please do that, thanks. Ooops, you are not Alexander Nyberg :)

Re: Kernel BUG at "fs/exec.c":777

2005-08-21 Thread Marc Lehmann
On Sun, Aug 21, 2005 at 01:49:45AM -0700, Andrew Morton <[EMAIL PROTECTED]> wrote: > Marc Lehmann <[EMAIL PROTECTED]> wrote: > > > > If wanted, I can probably reproduce > > that without the nvidia kernel module loaded. > > > > Yes, please do that, thanks. I tried a few times with booting into

Re: [RFC - 0/9] Generic timekeeping subsystem (v. B5)

2005-08-21 Thread Roman Zippel
Hi, On Fri, 19 Aug 2005, john stultz wrote: > timekeeping_perioidic_hook(): > > /* get ntp adjusted interval length*/ > interval_length = get_timesource_interval(ppm) Here starts the problem, this requires more expensive math than necessary, as every time you first have to scale

Driver for proprietary Sony Memorystick drive

2005-08-21 Thread Konstantin Koll
Dear readers, I'm the owner of a Sony VAIO notebook with a PCI-based memorystick drive, PCI ID is 104D/808A. So far, no Linux driver has been developed. I am quite experienced with driver development, though not for Linux. Background: I work on a DOS-based OS ( http://www.deskwork.de/ ),

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-21 Thread Linus Torvalds
On Sun, 21 Aug 2005, Ondrej Zary wrote: > > MATH ERROR: cwd = 0x37f, swd = 0x1820 > > Pid: 1699, comm: mprime > EIP: 0073:[<08181c73>] CPU: 0 > EIP is at 0x8181c73 > ESP: 007b:bf927ab4 EFLAGS: 00010202Not tainted (2.6.12-pentium) > EAX: 0001 EBX: ECX: 808d

strange CRASH_DUMP dependencies

2005-08-21 Thread Adrian Bunk
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 questions: - If it has any dependencies on kexec, why isn't there

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Jon Smirl
This should fix it, but I'm not on a machine where I can test it. Can you give it a try and let me know? On 8/21/05, Benoit Boissinot <[EMAIL PROTECTED]> wrote: > - Forwarded message from Benoit Boissinot <[EMAIL PROTECTED]> - > sorry, i forgot to reply all... > > From: Benoit Boissinot

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Benoit Boissinot
- Forwarded message from Benoit Boissinot <[EMAIL PROTECTED]> - sorry, i forgot to reply all... From: Benoit Boissinot <[EMAIL PROTECTED]> To: Jon Smirl <[EMAIL PROTECTED]> Subject: Re: 2.6.13-rc6-mm1 User-Agent: Mutt/1.5.10i On Sun, Aug 21, 2005 at 06:11:57PM -0400, Jon Smirl wrote: >

Re: [PATCH] driver core: Add the ability to unbind drivers to devices from userspace

2005-08-21 Thread Jon Smirl
On 7/28/05, Jon Smirl <[EMAIL PROTECTED]> wrote: > Even simpler version > > -- > Jon Smirl > [EMAIL PROTECTED] > > Remove leading and trailing whitespace when text sysfs attribute is set > signed-off-by: Jon Smirl <[EMAIL PROTECTED]> > > diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c > ---

Re: IRQ problem with PCMCIA

2005-08-21 Thread David Hinds
On Sun, Aug 21, 2005 at 03:17:39PM -0700, David Hinds wrote: > > The drivers are working correctly; the problem is with the CF flash > adapter you're using. There are two kinds of CF-to-PCMCIA adapters. > Some are 16-bit PCMCIA cards, which are in most cases limited to a bus > throughput of ~1

Re: IRQ problem with PCMCIA

2005-08-21 Thread David Hinds
On Sun, Aug 21, 2005 at 08:43:50PM +0200, Hesse, Christian wrote: > Hello everybody, > > seems like I have a problem with PCMCIA/PCCARD. If I transfer data > to or from a CF card inserted via adapter system waits for > interrupts most of the time: Cpu(s): 21.2% us, 7.9% sy, 0.0% ni, > 0.0% id,

Re: Environment variables inside the kernel?

2005-08-21 Thread Eric W. Biederman
Guillermo López Alejos <[EMAIL PROTECTED]> writes: > Whoa!, I did not expect so many replies. Thank you for your answers. > > The thing is that the Computer Architecture area of the University I > am studying at is developing a parallel filesystem. Currently it works > as a stand-alone program

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Jon Smirl
On 8/21/05, Benoit Boissinot <[EMAIL PROTECTED]> wrote: > On Sun, Aug 21, 2005 at 01:40:31PM -0400, Jon Smirl wrote: > > On 8/21/05, Benoit Boissinot <[EMAIL PROTECTED]> wrote: > > > On 8/19/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > > > >

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

2005-08-21 Thread James Bottomley
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 Simpliciter to you too. > It was designed as a general purpose

Re: 2.6.12 Performance problems

2005-08-21 Thread Danial Thom
--- Patrick McHardy <[EMAIL PROTECTED]> wrote: > Danial Thom wrote: > > I just started fiddling with 2.6.12, and > there > > seems to be a big drop-off in performance > from > > 2.4.x in terms of networking on a > uniprocessor > > system. Just bridging packets through the > > machine, 2.6.12

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Benoit Boissinot
On 8/19/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm1/ > > - Lots of fixes, updates and cleanups all over the place. > > - If you have the right debugging options set, this kernel will generate > a

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

2005-08-21 Thread Thomas Gleixner
On Sun, 2005-08-21 at 23:24 +0200, Thomas Gleixner wrote: > Oleg, Sorry for making noise. I introduced the race again. tglx --- linux-2.6.13-rc6.signal/kernel/signal.oleg.c2005-08-21 23:07:03.0 +0200 +++ linux-2.6.13-rc6.signal/kernel/signal.c 2005-08-21 23:48:52.0

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Benoit Boissinot
On Sun, Aug 21, 2005 at 01:40:31PM -0400, Jon Smirl wrote: > On 8/21/05, Benoit Boissinot <[EMAIL PROTECTED]> wrote: > > On 8/19/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm1/ > > > > > > - Lots of

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Jon Smirl
On 8/21/05, Benoit Boissinot <[EMAIL PROTECTED]> wrote: > On 8/19/05, Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm1/ > > > > - Lots of fixes, updates and cleanups all over the place. > > > > - If you have

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

2005-08-21 Thread Luben Tuikov
--- James Bottomley <[EMAIL PROTECTED]> wrote: > On Sun, 2005-08-21 at 08:49 -0700, Luben Tuikov wrote: > > The caller is the aic94xx SAS LLDD. It uses IDR to generate unique > > task tag for each SCSI task being submitted. It is then used to lookup > > the task given the task tag, in effect

Re: 2.6.12 Performance problems

2005-08-21 Thread Danial Thom
--- Jesper Juhl <[EMAIL PROTECTED]> wrote: > On 8/21/05, Danial Thom <[EMAIL PROTECTED]> > wrote: > > I just started fiddling with 2.6.12, and > there > > seems to be a big drop-off in performance > from > > 2.4.x in terms of networking on a > uniprocessor > > system. Just bridging packets

Re: 2.6.12 Performance problems

2005-08-21 Thread Danial Thom
--- Jesper Juhl <[EMAIL PROTECTED]> wrote: > On 8/21/05, Danial Thom <[EMAIL PROTECTED]> > wrote: > > I just started fiddling with 2.6.12, and > there > > seems to be a big drop-off in performance > from > > 2.4.x in terms of networking on a > uniprocessor > > system. Just bridging packets

IRQ problem with PCMCIA

2005-08-21 Thread Hesse, Christian
Hello everybody, seems like I have a problem with PCMCIA/PCCARD. If I transfer data to or from a CF card inserted via adapter system waits for interrupts most of the time: Cpu(s): 21.2% us, 7.9% sy, 0.0% ni, 0.0% id, 1.7% wa, 69.2% hi, 0.0% si This results in a very unresponsive system

Re: SATA status report updated

2005-08-21 Thread Mogens Valentin
Jeff Garzik wrote: Although I have not updated it in several weeks, folks may wish to refer to the hardware status report as well: http://linux.yyz.us/sata/sata-status.html Jeff, is it possible for you at this time to comment on support for the JMicron JMB360 sataII chip? Possible

Re: 2.6.12 Performance problems

2005-08-21 Thread Patrick McHardy
Danial Thom wrote: --- Patrick McHardy <[EMAIL PROTECTED]> wrote: Do you have netfilter enabled? Briging netfilter was added in 2.6, enabling it will influence performance negatively. Otherwise, is this performance drop visible in other setups besides bridging as well? Yes, bridging is

Re: 2.6.12 Performance problems

2005-08-21 Thread Patrick McHardy
Danial Thom wrote: I just started fiddling with 2.6.12, and there seems to be a big drop-off in performance from 2.4.x in terms of networking on a uniprocessor system. Just bridging packets through the machine, 2.6.12 starts dropping packets at ~100Kpps, whereas 2.4.x doesn't start dropping

Re: SATA status report updated

2005-08-21 Thread Jeff Garzik
Mogens Valentin wrote: Jeff, is it possible for you at this time to comment on support for the JMicron JMB360 sataII chip? Possible timeframe? Never heard of it. Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-21 Thread Linus Torvalds
On Sun, 21 Aug 2005, Chuck Ebbert wrote: > > > MATH ERROR: cwd = 0x37f, swd = 0x2800 <=== > > The error I marked has no exception flags set. The rest are all (masked) > denormal exceptions. Why your Cyrix MII would cause an FPU exception in these > cases is beyond me. Could you

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

2005-08-21 Thread Stephane Wirtel
 > On Sat, Aug 20, 2005 at 07:37:06PM +0200, Sam Ravnborg wrote: > > > In make_docs.log.tar.bz2, you can find log files from make htmldocs, > > > make psdocs and make pdfdocs. > > > > From your log-files I could not see what went wrong. It seems to be > > error in the generated files. > >

Re: CONFIG_PRINTK_TIME woes

2005-08-21 Thread Andrew Morton
Nick Piggin <[EMAIL PROTECTED]> wrote: > > Andrew Morton wrote: > > > > > yup. > > > > > >>Why not use something like do_gettimeofday? (or I'm sure one > >>of our time keepers can suggest the right thing to use). > > > > > > do_gettimeofday() takes locks, so a) we can't do printk from inside

Unused defines: some numbers

2005-08-21 Thread Alexey Dobriyan
Inspired by LWN article "Our [desktop] bloat problem" and a comment about probability of finding unused prototype in kernel. This is purely FYI. version | LOC |size | nr_defines | nr_used | bloat | | *.[ch] | *.[ch] | [1]| [2] | % |

[PATCH] fix documentation for dvb-bt8xx Kconfig description change

2005-08-21 Thread Michael Krufky
[EMAIL PROTECTED] wrote: DVB: Clarify description text for dvb-bt8xx in Kconfig - tristate "Nebula/Pinnacle PCTV/Twinhan PCI cards" + tristate "BT8xx based PCI cards" I forgot to update the documentation with this change... Please apply this to -mm, and (if possible) fold it into

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-21 Thread Ondrej Zary
Linus Torvalds wrote: On Sun, 21 Aug 2005, Chuck Ebbert wrote: MATH ERROR: cwd = 0x37f, swd = 0x2800 <=== The error I marked has no exception flags set. The rest are all (masked) denormal exceptions. Why your Cyrix MII would cause an FPU exception in these cases is beyond me.

Re: [RFC: -mm patch] kcalloc(): INT_MAX -> ULONG_MAX

2005-08-21 Thread Pekka Enberg
On 8/20/05, Adrian Bunk <[EMAIL PROTECTED]> wrote: > This change could (at least in theory) allow a compiler better > optimization (especially in the n=1 case). > > The practical effect seems to be nearly zero: > text data bss dechex filename > 25617207

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

2005-08-21 Thread Thomas Gleixner
Oleg, On Sun, 2005-08-21 at 14:59 +0400, Oleg Nesterov wrote: > CPU_0 CPU_1 > > release_task: posix_timer_fn: > write_lock(tasklist); lock(timer->it_lock); > > exit_timers:

Re: 2.6.12 Performance problems

2005-08-21 Thread Jesper Juhl
On 8/21/05, Danial Thom <[EMAIL PROTECTED]> wrote: > > > --- Jesper Juhl <[EMAIL PROTECTED]> wrote: > > > On 8/21/05, Jesper Juhl <[EMAIL PROTECTED]> > > wrote: > > > On 8/21/05, Danial Thom > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > Ok, well you'll have to explain this one: > > > > > > >

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

2005-08-21 Thread Marcelo Tosatti
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 ;) > > > > * Makes dpram allocations work > > * Makes non-console UART work on

Re: Linux under 8MB

2005-08-21 Thread Eric W. Biederman
Imanpreet Arora <[EMAIL PROTECTED]> writes: > Hi all, > > For the last couple of days, I have been trying to set > up linux kernel under 8MB. So far I have set up a linux 2.4.31, which > just works under 8MB. However, I would be grateful if someone could > help with the following

Re: 2.6.12 Performance problems

2005-08-21 Thread Andrew Morton
Danial Thom <[EMAIL PROTECTED]> wrote: > > I just started fiddling with 2.6.12, and there > seems to be a big drop-off in performance from > 2.4.x in terms of networking on a uniprocessor > system. Just bridging packets through the > machine, 2.6.12 starts dropping packets at > ~100Kpps, whereas

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

2005-08-21 Thread Bodo Eggert
cHitman <[EMAIL PROTECTED]> wrote: > This patch implements changing of DVD speed via ioctl() call, like > CDROM_SELECT_SPEED do. In CDROM_SELECT_SPEED its implementation isn't > so good (diffirent values of 1x in KB/s, troubles with return value of > cdrom_select_speed() and other). I defined

Re: 2.6.12 Performance problems

2005-08-21 Thread Danial Thom
--- Jesper Juhl <[EMAIL PROTECTED]> wrote: > On 8/21/05, Jesper Juhl <[EMAIL PROTECTED]> > wrote: > > On 8/21/05, Danial Thom > <[EMAIL PROTECTED]> wrote: > > > > > > > Ok, well you'll have to explain this one: > > > > > > "Low latency comes at the cost of decreased > > > throughput - can't

Re: [RFC: -mm patch] kcalloc(): INT_MAX -> ULONG_MAX

2005-08-21 Thread Adrian Bunk
On Sun, Aug 21, 2005 at 10:47:13PM +0300, Pekka Enberg wrote: > On 8/20/05, Adrian Bunk <[EMAIL PROTECTED]> wrote: > > This change could (at least in theory) allow a compiler better > > optimization (especially in the n=1 case). > > > > The practical effect seems to be nearly zero: > > text

Re: [RFC: -mm patch] kcalloc(): INT_MAX -> ULONG_MAX

2005-08-21 Thread Pekka Enberg
On Sun, Aug 21, 2005 at 10:47:13PM +0300, Pekka Enberg wrote: > > You'll probably get even better code if you change the above to: > > > > if (size != 0 && n > ULONG_MAX / size) > > > > Reason being that size is virtually always a constant so the compiler > > can evaluate the division at

[PATCH] slab: removes local_irq_save()/local_irq_restore() pair

2005-08-21 Thread Manfred Spraul
Proposed by and based on a patch from Eric Dumazet <[EMAIL PROTECTED]>: This patch removes unnecessary critical section in ksize() function, as cli/sti are rather expensive on modern CPUS. It additionally adds a docbook entry for ksize() and further simplifies the code. Signed-Off-By: Manfred

Re: New maintainer needed for the Linux smb filesystem

2005-08-21 Thread Andrew Morton
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 kernel. > > Is there anyone who both feels qualified and wants to become the

Re: [OT]Linus trademarks Linux?!!

2005-08-21 Thread Alan
On Sun, 2005-08-21 at 11:09 -0600, Alejandro Bonilla Beeche wrote: > On Sat, 2005-08-20 at 17:42 -0700, Linus Torvalds wrote: > > So to answer a particular question that came up here on Linux-kernel: > > "Does the linuxjournal.com pay $5000?". > Linus, > > Thanks for the answer and your

Re: sched_yield() makes OpenLDAP slow

2005-08-21 Thread Florian Weimer
* 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

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

2005-08-21 Thread Luben Tuikov
--- Luben Tuikov <[EMAIL PROTECTED]> wrote: > --- James Bottomley <[EMAIL PROTECTED]> wrote: > > However, there is an infrastructure in the block layer called the > > generic tag infrastructure which was designed precisely for this purpose > > and which is designed to operate in IRQ context. > >

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

2005-08-21 Thread James Bottomley
On Sun, 2005-08-21 at 08:49 -0700, Luben Tuikov wrote: > The caller is the aic94xx SAS LLDD. It uses IDR to generate unique > task tag for each SCSI task being submitted. It is then used to lookup > the task given the task tag, in effect using IDR as a fast lookup table. > > Yes, I'm also not

PATCH for changing of DVD speed via ioctl() call

2005-08-21 Thread cHitman
Hello, folks! This patch implements changing of DVD speed via ioctl() call, like CDROM_SELECT_SPEED do. In CDROM_SELECT_SPEED its implementation isn't so good (diffirent values of 1x in KB/s, troubles with return value of cdrom_select_speed() and other). I defined CDROM_SELECT_DVDSPEED ioctl ()

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

2005-08-21 Thread Luben Tuikov
--- Andrew Morton <[EMAIL PROTECTED]> wrote: > Jim Houston <[EMAIL PROTECTED]> wrote: > > > > On Tue, 2005-08-16 at 18:03, Luben Tuikov wrote: > > > > > If idr_get_new() or idr_remove() is used in IRQ context, > > > then we may get a lockup when idr_pre_get was called > > > in process context

2.6.12 Performance problems

2005-08-21 Thread Danial Thom
I just started fiddling with 2.6.12, and there seems to be a big drop-off in performance from 2.4.x in terms of networking on a uniprocessor system. Just bridging packets through the machine, 2.6.12 starts dropping packets at ~100Kpps, whereas 2.4.x doesn't start dropping until over 350Kpps on the

Re: [PATCH] Adapt scripts/ver_linux to new util-linux version strings

2005-08-21 Thread Adrian Bunk
On Sun, Aug 21, 2005 at 01:26:06PM +0400, Alexey Dobriyan wrote: > Tested with 2.12i and 2.13-pre2. >... Looks good. 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 promise,"

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

2005-08-21 Thread Martin Waitz
hoi :) On Sat, Aug 20, 2005 at 07:37:06PM +0200, Sam Ravnborg wrote: > > In make_docs.log.tar.bz2, you can find log files from make htmldocs, > > make psdocs and make pdfdocs. > > From your log-files I could not see what went wrong. It seems to be > error in the generated files. kerneldoc could

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Martin J. Bligh
> -scheduler-cache-hot-autodetect.patch > > Mabe Martin's machine crash That machine now boots again with this -mm release. Darren and/or I will continue trying to figure out what went wrong with this. M. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: 2.6.12.5 stalls on boot

2005-08-21 Thread John Heil
On Sun, 21 Aug 2005, j.t. holmes wrote: > Date: Sun, 21 Aug 2005 02:42:47 -0400 > From: j.t. holmes <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: 2.6.12.5 stalls on boot > > > 2.6.12.5 and others below that to 2.6.10 stall on boot. The problem is > udev. > > It stalls between 1 to 3

Re: DMA problem with kernel >2.6.10

2005-08-21 Thread Bart Samwel
andrea gelmini wrote: Hardware: Toshiba Satellite P20 (P4-3200 MHz, 512MB RAM) [1] Software: Debian Unstable GCC: 3.4.5 [2] Memtest86+: v.1.60 (stress tools, CPU/RAM and so on, are all happy) Problem: with kernel <=2.6.10 everything is all right...

Re: [PATCH 0/2] external interrupts

2005-08-21 Thread Pavel Machek
Hi! > Here is a set of patches that implements an external interrupt capability > in Linux, along with a device driver for a specific hardware device. I > submitted the patches several weeks ago, and they drew no comments, which > I take to be a good sign. Anyway, I'm It was not good sign in

Re: [2.6 patch] fs/adfs/adfs.h: "extern inline" doesn't make sense

2005-08-21 Thread Pierre Ossman
Adrian Bunk wrote: > [ this time with a better subject ] > > "extern inline" doesn't make sense. > > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > Isn't 'extern inline' an old gcc trick to force inlining? (instead of just hinting) - To unsubscribe from this list: send the line

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

2005-08-21 Thread Thomas Gleixner
On Sun, 2005-08-21 at 14:41 +0400, Oleg Nesterov wrote: > If not: > > > timer event > > timr->it_process references a freed structure > > > > No, create_timer() does get_task_struct(timr->it_process), this > task may be EXIT_DEAD now, but the task_struct itself is valid, > and it's

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

2005-08-21 Thread Stephane Wirtel
Le Saturday 20 August 2005 a 19:08, Sam Ravnborg ecrivait: > On Sat, Aug 20, 2005 at 11:19:41AM +0200, Stephane Wirtel wrote: > > Le Saturday 20 August 2005 a 09:08, Sam Ravnborg ecrivait: > > > > > > > > Ok, with scripts/kernel-doc, I can produce some html files containing > > > > the

patch for drivers/sound/sb_card.c to recognize mpu_io bootline parameter

2005-08-21 Thread Georg Schwarz
Dear developes, I could not find any maintainer for the sound blaster audio driver so I chose to address this to the kernel developer list. Problem: Unlike in kernels 2.2.X it seems no longer possible to specify during kernel configuration the sound blaster mpu io address. This might be

[PATCH] mips: add pcibios_bus_to_resource

2005-08-21 Thread Yoichi Yuasa
Hi, This patch has added pcibios_bus_to_resource to MIPS. Please apply. Yoichi Signed-off-by: Yoichi Yuasa <[EMAIL PROTECTED]> diff -urN -X dontdiff mm1-orig/arch/mips/pci/pci.c mm1/arch/mips/pci/pci.c --- mm1-orig/arch/mips/pci/pci.c2005-08-21 01:35:21.0 +0900 +++

Re: use of uninitialized pointer in jffs_create()

2005-08-21 Thread Jesper Juhl
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' might be used uninitialized > > in this function > > I don't see

[RFC][PATCH] VFS: update documentation

2005-08-21 Thread Pekka Enberg
Hi! This patch updates the out-of-date Documentation/filesystems/vfs.txt. As I am a novice on the VFS, I would much appreciate any comments and help on this. Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> --- vfs.txt | 314 +--- 1

Re: sched_yield() makes OpenLDAP slow

2005-08-21 Thread Nikita Danilov
Howard Chu writes: > Lee Revell wrote: > > On Sat, 2005-08-20 at 11:38 -0700, Howard Chu wrote: > > > But I also found that I needed to add a new yield(), to work around > > > yet another unexpected issue on this system - we have a number of > > > threads waiting on a condition variable, and

x86_64 vm design

2005-08-21 Thread Leonid Podolny
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to figure out the virtual memory manager implementation at x86_64. I'm relatively a newbie in this part of kernel code, so I'd rather read some document with general principles of x86_64 implementation before reading the code. Does such

Re: CONFIG_PRINTK_TIME woes

2005-08-21 Thread Nick Piggin
Andrew Morton wrote: yup. Why not use something like do_gettimeofday? (or I'm sure one of our time keepers can suggest the right thing to use). do_gettimeofday() takes locks, so a) we can't do printk from inside it and Dang, yeah maybe this is the showstopper. b) if you do a

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

2005-08-21 Thread Oleg Nesterov
Thomas Gleixner wrote: > > On Sat, 2005-08-20 at 20:58 +0400, Oleg Nesterov wrote: > > [PATCH] fix send_sigqueue() vs thread exit race > > > > . > > - read_lock(_lock); > > + read_lock(_lock); > > + > > + if (unlikely(p->flags & PF_EXITING)) { > > + ret = -1; > > +

Re: FPU-intensive programs crashing with floating point exception on Cyrix MII

2005-08-21 Thread Chuck Ebbert
On Thu, 18 Aug 2005 12:37:30 +0200, Ondrej Zary wrote: > > Could you modify this to print the full values of cwd and swd like this? > > > > printk("MATH ERROR: cwd = 0x%hx, swd = 0x%hx\n", cwd, swd); > > > > Then post the result. > MATH ERROR: cwd = 0x37f, swd = 0x5020 > MATH ERROR:

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

2005-08-21 Thread Thomas Gleixner
On Sat, 2005-08-20 at 20:58 +0400, Oleg Nesterov wrote: > [PATCH] fix send_sigqueue() vs thread exit race > > posix_timer_event() first checks that the thread (SIGEV_THREAD_ID > case) does not have PF_EXITING flag, then it calls send_sigqueue() > which locks task list. But if the thread exits in

Re: CONFIG_PRINTK_TIME woes

2005-08-21 Thread Andrew Morton
Nick Piggin <[EMAIL PROTECTED]> wrote: > > Andrew Morton wrote: > > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > >>How about we give each arch a printk_clock()? > > > > > > Which might be as simple as this.. > > > > > > sched_clock() shouldn't really be taken outside kernel/sched.c, >

Re: CONFIG_PRINTK_TIME woes

2005-08-21 Thread Nick Piggin
Andrew Morton wrote: Andrew Morton <[EMAIL PROTECTED]> wrote: How about we give each arch a printk_clock()? Which might be as simple as this.. sched_clock() shouldn't really be taken outside kernel/sched.c, especially for things like this. It actually has some fundamental problems even

Re: CONFIG_PRINTK_TIME woes

2005-08-21 Thread Andrew Morton
Andrew Morton <[EMAIL PROTECTED]> wrote: > > How about we give each arch a printk_clock()? Which might be as simple as this.. --- devel/kernel/printk.c~printk_clock 2005-08-21 02:14:05.0 -0700 +++ devel-akpm/kernel/printk.c 2005-08-21 02:15:14.0 -0700 @@ -488,6 +488,11 @@

[PATCH] Adapt scripts/ver_linux to new util-linux version strings

2005-08-21 Thread Alexey Dobriyan
Tested with 2.12i and 2.13-pre2. Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]> --- scripts/ver_linux |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) --- linux-vanilla/scripts/ver_linux +++ linux-util-linux/scripts/ver_linux @@ -25,9 +25,11 @@ '/BFD/{print "binutils

Re: CONFIG_PRINTK_TIME woes

2005-08-21 Thread Andrew Morton
"Luck, Tony" <[EMAIL PROTECTED]> wrote: > > It has been pointed out to me that ia64 doesn't boot > with CONFIG_PRINTK_TIME=y. The issue is the call to > sched_clock() ... which on ia64 accesses some per-cpu > data to adjust for possible variations in processor > speed between different cpus.

Re: use of uninitialized pointer in jffs_create()

2005-08-21 Thread Alexey Dobriyan
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' might be used uninitialized > in this function I don't see a warning with latest gcc-4.1 snapshot. > And looking at the

Re: zero-copy read() interface

2005-08-21 Thread Andrew Morton
Folkert van Heusden <[EMAIL PROTECTED]> wrote: > > > > What about a zero-copy read-interface? > > > An ioctl (or something) which enables the kernel to do dma directly to > > > the userspace. Of course this should be limited to the root-user or a > > > user with special capabilities (rights) since

Re: Kernel BUG at "fs/exec.c":777

2005-08-21 Thread Andrew Morton
Marc Lehmann <[EMAIL PROTECTED]> wrote: > > If wanted, I can probably reproduce > that without the nvidia kernel module loaded. > Yes, please do that, thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [patch 2.6.13-rc6] net/802/tr: use interrupt-safe locking

2005-08-21 Thread Andrew Morton
Jay Vosburgh <[EMAIL PROTECTED]> wrote: > > >FWIW, this patch is currently being carried in the Fedora and RHEL > >kernels. It certainly looks like it is necessary to me. Can we get > >some movement on this? > > It's in the SuSE kernel as well. For how long has this fix been in the

2.6.13-rc6-git11 ADI module doesn't work

2005-08-21 Thread Patrizio Bassi
hi. I can't no more use my Logitech Digital Thunderpad joystick. attached dmesg shows that gameport on my ens1370 audio card (creative pci128) is correctly detect, but no joystick found. infact i have no /dev/js* o /dev/input/js* devices, as i had time ago. i tried on a my friend's win

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

2005-08-21 Thread Andrew Morton
Jim Houston <[EMAIL PROTECTED]> wrote: > > On Tue, 2005-08-16 at 18:03, Luben Tuikov wrote: > > > If idr_get_new() or idr_remove() is used in IRQ context, > > then we may get a lockup when idr_pre_get was called > > in process context and an IRQ interrupted while it held > > the idp lock. > > Hi

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Andrew Morton
Reuben Farrelly <[EMAIL PROTECTED]> wrote: > > Hi, > > On 19/08/2005 11:37 a.m., Andrew Morton wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm1/ > > > > - Lots of fixes, updates and cleanups all over the place. > > > > - If you have the right

2.6.12.5 stalls on boot

2005-08-21 Thread j.t. holmes
2.6.12.5 and others below that to 2.6.10 stall on boot. The problem is udev. It stalls between 1 to 3 minutes. I have the latest udev hotplug klibc u name it Something happened about 2.6.11.X and I see others writing about similar items The base system is Suse 9.2 and I am beginning

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Reuben Farrelly
Hi, On 19/08/2005 11:37 a.m., Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm1/ - Lots of fixes, updates and cleanups all over the place. - If you have the right debugging options set, this kernel will generate a storm of

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Reuben Farrelly
Hi, On 21/08/2005 1:40 a.m., David Woodhouse wrote: On Fri, 2005-08-19 at 18:36 -0700, Andrew Morton wrote: Reuben Farrelly <[EMAIL PROTECTED]> wrote: ... 4. PAM is complaining about "PAM audit_open() failed: Protocol not suppor ted" and I can't log in as any user including root. I would

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Reuben Farrelly
Hi, On 21/08/2005 1:40 a.m., David Woodhouse wrote: On Fri, 2005-08-19 at 18:36 -0700, Andrew Morton wrote: Reuben Farrelly [EMAIL PROTECTED] wrote: ... 4. PAM is complaining about PAM audit_open() failed: Protocol not suppor ted and I can't log in as any user including root. I would have

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Reuben Farrelly
Hi, On 19/08/2005 11:37 a.m., Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm1/ - Lots of fixes, updates and cleanups all over the place. - If you have the right debugging options set, this kernel will generate a storm of

2.6.12.5 stalls on boot

2005-08-21 Thread j.t. holmes
2.6.12.5 and others below that to 2.6.10 stall on boot. The problem is udev. It stalls between 1 to 3 minutes. I have the latest udev hotplug klibc u name it Something happened about 2.6.11.X and I see others writing about similar items The base system is Suse 9.2 and I am beginning

Re: 2.6.13-rc6-mm1

2005-08-21 Thread Andrew Morton
Reuben Farrelly [EMAIL PROTECTED] wrote: Hi, On 19/08/2005 11:37 a.m., Andrew Morton wrote: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm1/ - Lots of fixes, updates and cleanups all over the place. - If you have the right debugging options

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

2005-08-21 Thread Andrew Morton
Jim Houston [EMAIL PROTECTED] wrote: On Tue, 2005-08-16 at 18:03, Luben Tuikov wrote: If idr_get_new() or idr_remove() is used in IRQ context, then we may get a lockup when idr_pre_get was called in process context and an IRQ interrupted while it held the idp lock. Hi Everyone,

2.6.13-rc6-git11 ADI module doesn't work

2005-08-21 Thread Patrizio Bassi
hi. I can't no more use my Logitech Digital Thunderpad joystick. attached dmesg shows that gameport on my ens1370 audio card (creative pci128) is correctly detect, but no joystick found. infact i have no /dev/js* o /dev/input/js* devices, as i had time ago. i tried on a my friend's win

Re: [patch 2.6.13-rc6] net/802/tr: use interrupt-safe locking

2005-08-21 Thread Andrew Morton
Jay Vosburgh [EMAIL PROTECTED] wrote: FWIW, this patch is currently being carried in the Fedora and RHEL kernels. It certainly looks like it is necessary to me. Can we get some movement on this? It's in the SuSE kernel as well. For how long has this fix been in the vendor

Re: Kernel BUG at fs/exec.c:777

2005-08-21 Thread Andrew Morton
Marc Lehmann [EMAIL PROTECTED] wrote: If wanted, I can probably reproduce that without the nvidia kernel module loaded. Yes, please do that, thanks. - 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: zero-copy read() interface

2005-08-21 Thread Andrew Morton
Folkert van Heusden [EMAIL PROTECTED] wrote: What about a zero-copy read-interface? An ioctl (or something) which enables the kernel to do dma directly to the userspace. Of course this should be limited to the root-user or a user with special capabilities (rights) since if a drive

Re: use of uninitialized pointer in jffs_create()

2005-08-21 Thread Alexey Dobriyan
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' might be used uninitialized in this function I don't see a warning with latest gcc-4.1 snapshot. And looking at the function :

Re: CONFIG_PRINTK_TIME woes

2005-08-21 Thread Andrew Morton
Luck, Tony [EMAIL PROTECTED] wrote: It has been pointed out to me that ia64 doesn't boot with CONFIG_PRINTK_TIME=y. The issue is the call to sched_clock() ... which on ia64 accesses some per-cpu data to adjust for possible variations in processor speed between different cpus. Since the

  1   2   >