Re: [RFC][PATCH] VFS: update documentation

2005-08-23 Thread Carsten Otte
On 8/21/05, Pekka Enberg [EMAIL PROTECTED] wrote: 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. Cool, thanks for updating it :) + get_xip_page: called by the VM to translate a block

[PATCH] fix klist semantics for lists which have elements removed on traversal

2005-08-23 Thread James Bottomley
The problem is that klists claim to provide semantics for safe traversal of lists which are being modified. The failure case is when traversal of a list causes element removal (a fairly common case). The issue is that although the list node is refcounted, if it is embedded in an object (which is

Re: new qla2xxx driver breaks SAN setup with 2 controllers

2005-08-23 Thread Patrick Mansfield
On Tue, Aug 23, 2005 at 01:25:35PM +0200, Frederik Schueler wrote: hello, we are experiencing problems with the new qlogic driver in 2.6.12 on a set of servers with qla2310 HBAs. The problem is as follows: The Infotrend storage array we are using has two controllers, each of them has

Re: [PATCH] sg.c: fix a memory leak in devices seq_file implementation (2nd)

2005-08-23 Thread Jan Blunck
Ingo Oeser schrieb: kfree() checks its argument, so instead of if (pointer) kfree(pointer); just do kfree(pointer); This is an updated patch. Removed the unnecessary if. Signed-off-by: Jan Blunck [EMAIL PROTECTED] drivers/scsi/sg.c | 15 --- 1 files changed,

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

2005-08-23 Thread James Bottomley
On Mon, 2005-08-22 at 15:09 -0700, Andrew Morton wrote: James Bottomley [EMAIL PROTECTED] wrote: Of course, if we're going to go to all this trouble, the next question that arises naturally is why not just reuse the radix-tree code to implement idr anyway ... ? Yes, we could probably

Re: [PATCH 3/3] Add disk hotswap support to libata RESEND #2

2005-08-23 Thread Jim Ramsay
On 8/23/05, Jim Ramsay [EMAIL PROTECTED] wrote: Then I must have found an undocumented feature! I've applied this set of patches to a 2.6.11 kernel (with few problems) and ran into a bunch of scheduling while atomic errors when hotplugging a drive, culprit being probably scsi_sysfs.c where

Re: [PATCH 3/3] Add disk hotswap support to libata RESEND #2

2005-08-23 Thread George Anzinger
Jim Ramsay wrote: On 8/23/05, Jim Ramsay [EMAIL PROTECTED] wrote: Then I must have found an undocumented feature! I've applied this set of patches to a 2.6.11 kernel (with few problems) and ran into a bunch of scheduling while atomic errors when hotplugging a drive, culprit being probably

Re: [PATCH 3/3] Add disk hotswap support to libata RESEND #2

2005-08-23 Thread Jim Ramsay
On 8/1/05, Lukasz Kosewski [EMAIL PROTECTED] wrote: Patch 03: Have sata_promise use the perfect, flawless API from the previous patch Hmmm... Flawless :) Then I must have found an undocumented feature! I've applied this set of patches to a 2.6.11 kernel (with few problems) and ran into a

Re: [PATCH 3/3] Add disk hotswap support to libata RESEND #2

2005-08-23 Thread Stefan Richter
George Anzinger wrote: Jim Ramsay wrote: On 8/23/05, Jim Ramsay [EMAIL PROTECTED] wrote: I've applied this set of patches to a 2.6.11 kernel (with few problems) and ran into a bunch of scheduling while atomic errors when hotplugging a drive, culprit being probably scsi_sysfs.c ... After

Re: skge missing ifdefs.

2005-08-23 Thread Al Viro
On Tue, Aug 23, 2005 at 12:24:19AM +0200, Roman Zippel wrote: Hi, On Mon, 22 Aug 2005, Andrew Morton wrote: Al Viro [EMAIL PROTECTED] wrote: mail -s '[PATCH] (45/46) %t... in vsnprintf' [EMAIL PROTECTED] 'EOF' wonders what the other 45 patches did Could you copy a mailing

Re: 2.6.13-rc6-rt8

2005-08-23 Thread Ingo Molnar
* Peter Bortas [EMAIL PROTECTED] wrote: 2.6.13-rc6-rt8 fails to build with my configuration (attached): net/built-in.o: In function `ip_rt_init': : undefined reference to `__you_cannot_kmalloc_that_much' make[1]: *** [.tmp_vmlinux1] Error 1 make[1]: Leaving directory

[PATCH] : fix reboot via keyboard controller reset

2005-08-23 Thread Truxton Fulton
Hi, I have a system (Biostar IDEQ210M mini-pc with a VIA chipset) which will not reboot unless a keyboard is plugged in to it. I have tried all combinations of the kernel reboot=x,y flags to no avail. Rebooting by any method will leave the system in a wedged state (at the Restarting system

Re: rc5 seemed to kill a disk that rc4-mm1 likes. Also some X trouble.

2005-08-23 Thread Rolf Eike Beer
Linus Torvalds wrote: On Mon, 22 Aug 2005, Rolf Eike Beer wrote: It's a PII-350 with more or less SuSE 9.3. The machine has no net access, so I can only try to narrow it down to one rc at the weekend. 2.6.12 works fine, everything since 2.6.13-rc1 breaks it. Gaah. I don't see anything really

Re: strange CRASH_DUMP dependencies

2005-08-23 Thread Vivek Goyal
On Mon, Aug 22, 2005 at 10:44:17PM +0200, Adrian Bunk wrote: On Mon, Aug 22, 2005 at 11:53:02AM +0530, Vivek Goyal wrote: 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

Re: CONFIG_PRINTK_TIME woes

2005-08-23 Thread Tony Lindgren
* Andrew Morton [EMAIL PROTECTED] [050821 02:15]: 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

[git patch] 2.6.x i810_audio unwind-on-err fix

2005-08-23 Thread Jeff Garzik
Please pull from the 'upstream-fixes' branch of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git to obtain the fix described in the attached diffstat/changelog/patch. sound/oss/i810_audio.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit

[proposal] remove struct file *file from aops

2005-08-23 Thread Coywolf Qi Hunt
Hello, The argument struct file *file in aops { .readpage, .readpages, prepare_write, .commit_wirte } is not used. I'd like to file a series of patches to clean it up. Are there any other concerns? thanks -- Coywolf Qi Hunt http://ahbl.org/~coywolf/ - To unsubscribe from this list: send the

Linux AIO status todo

2005-08-23 Thread Suparna Bhattacharya
Ingo suggested putting together a summary note describing the status (e.g. pending out-of-tree patches) and TODO items that need fixing in the mainline linux kernel AIO implementation to get good AIO support in both kernel-space and user-space, starting with enabling reasonably efficient and

Re: sysfs: write returns ENOMEM?

2005-08-23 Thread Nathan Scott
On 8/19/05, Dmitry Torokhov [EMAIL PROTECTED] wrote: According to the SuS write() can not return ENOMEM, only ENOBUFS is allowed (surprisingly read() is allowed to use both ENOMEM and ENOBUFS): http://www.opengroup.org/onlinepubs/95399/functions/write.html Should we adjust sysfs

Re: [proposal] remove struct file *file from aops

2005-08-23 Thread Andrew Morton
Coywolf Qi Hunt [EMAIL PROTECTED] wrote: Hello, The argument struct file *file in aops { .readpage, .readpages, prepare_write, .commit_wirte } is not used. I'd like to file a series of patches to clean it up. Are there any other concerns? NFS uses it in readpage(). - To unsubscribe from

Xming build fails with latest xc/programs/Xserver/GL/glx changes

2005-08-23 Thread Colin Harrison
Hi, Following the recent changes in xc/programs/Xserver/GL/glx, Convert uses of __glPointParameterfvARB_size to __glPointParameterfvEXT_size and uses of __glPointParameteriv_size to __glPointParameterivNV_size The latter change to PointParameteriv and PointParameteri causes Xming to stop

Re: IRQ problem with PCMCIA

2005-08-23 Thread Erik Mouw
On Mon, Aug 22, 2005 at 12:30:15PM +0100, Alan Cox wrote: Actually I'm rather busy porting the old ATA drivers over to the new SATA layer right now. HPT and VIA will be nasty to do but the simpler drivers are moving over quite nicely. Is there any place where we can get your current patches?

RE: Xming build fails with latest xc/programs/Xserver/GL/glx changes

2005-08-23 Thread Colin Harrison
Wrong List Sorry -Original Message- From: Colin Harrison [mailto:[EMAIL PROTECTED] Sent: 23 August 2005 08:49 To: 'linux-kernel@vger.kernel.org' Subject: Xming build fails with latest xc/programs/Xserver/GL/glx changes Hi, Following the recent changes in

Re: [proposal] remove struct file *file from aops

2005-08-23 Thread gxkahn
Coywolf Qi Hunt wrote: Hello, The argument struct file *file in aops { .readpage, .readpages, prepare_write, .commit_wirte } is not used. I'd like to file a series of patches to clean it up. Are there any other concerns? thanks It used with HTTPFS or FTPFS. Should be checked with FUSE

Re: sysfs: write returns ENOMEM?

2005-08-23 Thread Pekka Enberg
On 8/23/05, Nathan Scott [EMAIL PROTECTED] wrote: FWIW, all filesystems using the generic page cache routines are able to return this - see mm/filemap.c - generic_file_buffered_write... I don't think it makes much sense to fix this in individual filesystems as many functions returning -NOMEM

Re: sysfs: write returns ENOMEM?

2005-08-23 Thread Andrew Morton
Pekka Enberg [EMAIL PROTECTED] wrote: @@ -310,6 +310,8 @@ ssize_t vfs_write(struct file *file, con } } + if (ret == -ENOMEM) + ret = -ENOBUFS; return ret; } That's lame. It'd be better to hunt down all the -ENOMEMs and fix

Re: sysfs: write returns ENOMEM?

2005-08-23 Thread Pekka J Enberg
Andrew Morton writes: That's lame. It'd be better to hunt down all the -ENOMEMs and fix them up. So there's our verdict. Thanks, Andrew :-) Pekka - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: 2.6.12 Performance problems

2005-08-23 Thread Helge Hafting
Danial Thom wrote: --- 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

[PATCH] mm: return ENOBUFS instead of ENOMEM in generic_file_buffered_write

2005-08-23 Thread Pekka J Enberg
As noticed by Dmitry Torokhov, write() can not return ENOMEM: http://www.opengroup.org/onlinepubs/95399/functions/write.html Therefore fixup generic_file_buffered_write() in mm/filemap.c (pointed out by Nathan Scott). Signed-off-by: Pekka Enberg [EMAIL PROTECTED] --- filemap.c |2 +-

Re: 2.6.13-rc6-mm2

2005-08-23 Thread Grant . Coady
On Mon, 22 Aug 2005 21:30:21 -0700, 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-mm2/ - Various updates. Nothing terribly noteworthy. adm9240 i2c still broken, spamming debug with: Aug 23 18:48:40 peetoo kernel: [

Re: use of uninitialized pointer in jffs_create()

2005-08-23 Thread Jörn Engel
On Tue, 23 August 2005 01:07:58 +0200, Adrian Bunk wrote: 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'

mass tulip_stop_rxtx() failed, network stops

2005-08-23 Thread Tomasz Chmielewski
We are running almost 20 Fujitsu-Siemens Scenic machines, 2.6.8.1 kernel, equipped with a onboard card that uses a tulip module: 02:01.0 Ethernet controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11) No problem with those. We are running four more machines like that,

Re: VIA Rhine ethernet driver bug (reprise...)

2005-08-23 Thread Denis Vlasenko
[CCing maintaner] On Monday 22 August 2005 20:29, Udo van den Heuvel wrote: Hello, It appears that the VIA Rhine chipset has some sort of bug which shows up in both the standard Linux VIA-Rhine driver and the Rhinefet driver that VIA itself provides. The difference is that the connection

Re: Problem with MMC card reader

2005-08-23 Thread Vid Strpic
On Mon, Aug 22, 2005 at 11:16:46PM -0600, ScytheBlade1 wrote: I've enabled everything needed...the CF port works flawlessly. However, the SD slot does *not*. I've got about 5+ pages worth of dmesg output related to this (MMC is NOT debug enabled, and I still get a disturbing amount of output).

Re: IRQ problem with PCMCIA

2005-08-23 Thread Andre Hedrick
Alan, The old code can be fixed, just I don't have the time or any desire to look at it again, still. The burn out from the last issues from 2001-2003, cost me some health problems over the stress. If I encounter these problems and become annoyed enough, I will fix it. However, if it is

RE: [2.6 patch] cris: extern inline - static inline

2005-08-23 Thread Mikael Starvik
Ok, I've made a testcompile and the resulting image size is similar so the patch is good. Acked-by: Mikael Starvik [EMAIL PROTECTED] /Mikael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Bunk Sent: Monday, August 22, 2005 1:55 AM To: Mikael

Re: mass tulip_stop_rxtx() failed, network stops

2005-08-23 Thread jerome lacoste
On 8/23/05, Tomasz Chmielewski [EMAIL PROTECTED] wrote: We are running almost 20 Fujitsu-Siemens Scenic machines, 2.6.8.1 kernel, equipped with a onboard card that uses a tulip module: 02:01.0 Ethernet controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11) No problem

kernel module seg fault

2005-08-23 Thread manomugdha biswas
Hi, I have written a kernel module and I can load (insmod) it without any error. But when i run my module it gets seg fault at interruptible_sleep_on_timeout(); I have used this function in the following way: DECLARE_WAIT_QUEUE_HEAD(wq); init_waitqueue_head(wq);

Re: mass tulip_stop_rxtx() failed, network stops

2005-08-23 Thread Tomasz Chmielewski
jerome lacoste schrieb: On 8/23/05, Tomasz Chmielewski [EMAIL PROTECTED] wrote: We are running almost 20 Fujitsu-Siemens Scenic machines, 2.6.8.1 kernel, equipped with a onboard card that uses a tulip module: 02:01.0 Ethernet controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100

Re: [RFC: 2.6 patch] fs/super.c: unexport user_get_super

2005-08-23 Thread Christoph Hellwig
On Mon, Aug 22, 2005 at 06:20:56PM +0200, Adrian Bunk wrote: I didn't find any modular usage in the kernel. And there shouldn't be one either. This is really just for some syscalls, everything else should use get_super based on a struct block_device. If there's any caller using this wrongly in

Re: [PATCH 0/2] external interrupts

2005-08-23 Thread Christoph Hellwig
On Mon, Aug 22, 2005 at 02:43:30PM -0700, Andrew Morton wrote: Laughter was not wholly unexpected, though I wasn't joking. I'm trying to be realistic about the lifetime of any given hardware, and IOC4 is several years old at this point. Couple that with a sincere desire to preserve

Re: Linux AIO status todo

2005-08-23 Thread Jakub Jelinek
On Tue, Aug 23, 2005 at 01:14:38PM +0530, Suparna Bhattacharya wrote: 2. No support for propagating IO completion events to user space threads using RT signals. User threads need to poll the completion queue using io_getevents. POSIX specifies that when an AIO

Re: IRQ problem with PCMCIA

2005-08-23 Thread Alan Cox
On Maw, 2005-08-23 at 09:49 +0200, Erik Mouw wrote: Is there any place where we can get your current patches? Which ones - the PATA IDE ones are in 2.6.11-ac, a subset in Fedora (other changes in the core IDE code make forward porting stuff for hotplug really tricky past 2.6.11). The SATA ones

Re: mass tulip_stop_rxtx() failed, network stops

2005-08-23 Thread Tomasz Chmielewski
jerome lacoste schrieb: On 8/23/05, Tomasz Chmielewski [EMAIL PROTECTED] wrote: (...) We are running four more machines like that, the only difference is the kernel they are running (2.6.11.4). On some of them, there are serious problems with a network, and they usually happen when the

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

2005-08-23 Thread Takashi Iwai
At Tue, 23 Aug 2005 03:24:25 +0200, Adrian Bunk wrote: On Mon, Aug 22, 2005 at 02:41:07PM +0200, Takashi Iwai wrote: ... I think the below is simpler. Looks good. OK, it's now on ALSA tree. Thanks. Takashi - To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH] Add MCE resume under ia32

2005-08-23 Thread Pavel Machek
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. Well, you patch seems like missing piece of puzzle, but: a) we probably want to do it for x86-64, too, and b) diff -puN

Re: APIC version and 8-bit APIC IDs

2005-08-23 Thread Maciej W. Rozycki
On Mon, 22 Aug 2005, Martin Wilck wrote: It's a scalable system where multiple boards may be combined. Anyway, I see nothing in the specs that says you must start counting CPUs from zero. Well, Intel's Multiprocessor Specification mandates that (see section 3.6.1 and also the compliance list

Re: kernel module seg fault

2005-08-23 Thread linux-os \(Dick Johnson\)
On Tue, 23 Aug 2005, manomugdha biswas wrote: Hi, I have written a kernel module and I can load (insmod) it without any error. But when i run my module it gets seg fault at interruptible_sleep_on_timeout(); I have used this function in the following way: DECLARE_WAIT_QUEUE_HEAD(wq);

patch for compiling ppc without pmu

2005-08-23 Thread Johannes Berg
Hi, This patch seems to be required to compile 2.6.13-rc6 for ppc configured without PMU. Apologies if it is already known, I haven't found anything like this quickly. Signed-Off-By: Johannes Berg [EMAIL PROTECTED] --- linux-2.6.13-rc6.orig/arch/ppc/platforms/pmac_time.c2005-08-23

Re: skge missing ifdefs.

2005-08-23 Thread Roman Zippel
Hi, On Tue, 23 Aug 2005, Al Viro wrote: As for your s/thread_info/stack/ - I don't believe it's doable in mainline right now. It's definitely separate from m68k merge and should not be mixed into it. Moreover, mandatory changes to every platform arch-specific code over basically cosmetic

Re: sched_yield() makes OpenLDAP slow

2005-08-23 Thread linux-os \(Dick Johnson\)
On Mon, 22 Aug 2005, Robert Hancock wrote: linux-os (Dick Johnson) wrote: I reported thet sched_yield() wasn't working (at least as expected) back in March of 2004. for(;;) sched_yield(); ... takes 100% CPU time as reported by `top`. It should take

Re: [PATCH 1/2] New system call, unshare

2005-08-23 Thread Al Viro
On Mon, Aug 08, 2005 at 03:46:06PM +0100, Alan Cox wrote: On Llu, 2005-08-08 at 09:33 -0400, Janak Desai wrote: [PATCH 1/2] unshare system call: System Call handler function sys_unshare Given the complexity of the kernel code involved and the obscurity of the functionality why not just

Re: [PATCH 0/3] New system call, unshare

2005-08-23 Thread Al Viro
On Wed, Aug 10, 2005 at 04:08:31PM +0200, Florian Weimer wrote: * Janak Desai: With unshare, namespace setup can be done using PAM session management functions without patching individual commands. I don't think it's a good idea to use security-critical code well without its original

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

2005-08-23 Thread Thomas Gleixner
On Mon, 2005-08-22 at 20:45 +0400, Oleg Nesterov wrote: Thomas Gleixner wrote: Ok, exit_itimers()-itimer_delete() called when the last thread exits or does exec. kernel/posix-timers.c:common_timer_del() calls del_timer_sync(), after that nobody can access this timer, so we don't need to

Re: [PATCH 2.6.13-rc6] cpu_exclusive sched domains on partial nodes temp fix

2005-08-23 Thread Ingo Molnar
* Paul Jackson [EMAIL PROTECTED] wrote: /* + * Hack to avoid 2.6.13 partial node dynamic sched domain bug. + * Require the 'cpu_exclusive' cpuset to include all (or none) + * of the CPUs on each node, or return w/o changing sched domains. + * Remove this hack when

[PATCH 2.6.13-rc6] cpu_exclusive sched domains on partial nodes temp fix

2005-08-23 Thread Paul Jackson
If Dinakar, Hawkes and Nick concur (and no one else complains too loud) then the following should go into 2.6.13, to avoid the potential kernel oops that Hawkes reported in Dinakar's feature to allow user control of dynamic sched domain placement using cpu_exclusive cpusets. This patch keeps the

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

2005-08-23 Thread Thomas Gleixner
On Mon, 2005-08-22 at 20:45 +0400, Oleg Nesterov wrote: But I know nothing about kernel/posix-cpu-timers.c, I doubt it will work for posix_cpu_timer_del(). I don't have time to study posix-cpu-timers now. However, I see that __exit_signal() calls posix_cpu_timers_exit_xxx(), so may be it can

usb oops in 2.6.13-rc6-mm2

2005-08-23 Thread Jens Axboe
Hi, usbcore: deregistering driver usb-storage usb 1-1: USB disconnect, address 3 Unable to handle kernel NULL pointer dereference at RIP: 803cf140{_spin_lock+0} PGD 1c303067 PUD 1c304067 PMD 0 Oops: 0002 [1] SMP CPU 0 Modules linked in: nls_iso8859_1 nls_cp437 vfat

new qla2xxx driver breaks SAN setup with 2 controllers

2005-08-23 Thread Frederik Schueler
hello, we are experiencing problems with the new qlogic driver in 2.6.12 on a set of servers with qla2310 HBAs. The problem is as follows: The Infotrend storage array we are using has two controllers, each of them has two virtual discs with a couple of partitions exported as shared storage.

Re: 2.6.13-rc6-mm2

2005-08-23 Thread Reuben Farrelly
Hi, On 23/08/2005 4:30 p.m., Andrew Morton wrote: 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. Yup, seems to be generally good... Noticed this in the log earlier tonight: Aug 23 19:44:51 tornado

Re: [PATCH] mm: return ENOBUFS instead of ENOMEM in generic_file_buffered_write

2005-08-23 Thread Christoph Hellwig
On Tue, Aug 23, 2005 at 11:46:33AM +0300, Pekka J Enberg wrote: As noticed by Dmitry Torokhov, write() can not return ENOMEM: http://www.opengroup.org/onlinepubs/95399/functions/write.html Therefore fixup generic_file_buffered_write() in mm/filemap.c (pointed out by Nathan Scott). We

Re: sched_yield() makes OpenLDAP slow

2005-08-23 Thread Denis Vlasenko
On Tuesday 23 August 2005 14:17, linux-os \(Dick Johnson\) wrote: On Mon, 22 Aug 2005, Robert Hancock wrote: linux-os (Dick Johnson) wrote: I reported thet sched_yield() wasn't working (at least as expected) back in March of 2004. for(;;)

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

2005-08-23 Thread Roman Zippel
Hi, On Mon, 22 Aug 2005, john stultz wrote: The reason why we calculate the interval_length in the continuous timesource case is because we are not assuming anything about the frequency that the timekeeping_periodic_hook() is called. The problem with your patch is that it doesn't allow

RE: kernel module seg fault

2005-08-23 Thread bunnans
Hi Biswas, You need to post the complete kernel dump message and body of your source code. -Bunnan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of manomugdha biswas Sent: Tuesday, August 23, 2005 3:13 PM To: linux-kernel@vger.kernel.org Subject: kernel

[PATCH] blk queue io tracing support

2005-08-23 Thread Jens Axboe
Hi, This is a little something I have played with. It allows you to see exactly what is going on in the block layer for a given queue. Currently it can logs request queueing and building, dispatches, requeues, and completions. I've uploaded a little silly app to do dumps here:

Re: 2.6.13-rc6-rt9

2005-08-23 Thread Ingo Molnar
* Steven Rostedt [EMAIL PROTECTED] wrote: Ingo, can't you get rt.c to be more confusing. I mean it is too simple. We need to add a few more underscores here and there :-) Seriously, that rt.c is mind boggling. It was nice before, now it is just screaming for a cleanup (come now, do we

Re: 2.6.13-rc6-rt9

2005-08-23 Thread Steven Rostedt
On Tue, 2005-08-23 at 14:36 +0200, Ingo Molnar wrote: * Steven Rostedt [EMAIL PROTECTED] wrote: Ingo, can't you get rt.c to be more confusing. I mean it is too simple. We need to add a few more underscores here and there :-) Seriously, that rt.c is mind boggling. It was nice before, now

Re: [patch] suspend: update warnings

2005-08-23 Thread Pavel Machek
Hi! + * If you have unsupported (*) devices using DMA, you may have some + * problems. If your disk driver does not support suspend... (IDE does), + * it may cause some problems, too. If you change kernel command line + * between suspend and resume, it may do something wrong. If you

Re: 2.6.13-rc6-mm2 (hangs on non-SMP x86-64 and oopses)

2005-08-23 Thread Rafael J. Wysocki
On Tuesday, 23 of August 2005 06:30, Andrew Morton wrote: 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. It hangs solig during boot (after starting kjournald) on Asus L5D (non-SMP x86-64), which is

Re: [patch] suspend: update warnings

2005-08-23 Thread Nigel Cunningham
Hi. On Tue, 2005-08-23 at 22:50, Pavel Machek wrote: Hi! + * If you have unsupported (*) devices using DMA, you may have some + * problems. If your disk driver does not support suspend... (IDE does), + * it may cause some problems, too. If you change kernel command line + *

Re: 2.6.13-rc6-rt9

2005-08-23 Thread Ingo Molnar
* Steven Rostedt [EMAIL PROTECTED] wrote: On Tue, 2005-08-23 at 14:36 +0200, Ingo Molnar wrote: * Steven Rostedt [EMAIL PROTECTED] wrote: Ingo, can't you get rt.c to be more confusing. I mean it is too simple. We need to add a few more underscores here and there :-) Seriously,

Re: [patch] suspend: update warnings

2005-08-23 Thread Pavel Machek
Hi! + * If you have unsupported (*) devices using DMA, you may have some + * problems. If your disk driver does not support suspend... (IDE does), + * it may cause some problems, too. If you change kernel command line + * between suspend and resume, it may do something

Re: [patch] suspend: update warnings

2005-08-23 Thread Christoph Hellwig
On Tue, Aug 23, 2005 at 02:50:17PM +0200, Pavel Machek wrote: - DRI being used in X where the drivers don't properly support suspend/resume (NVidia esp) NVidias driver is not support and a copyright violation of the copyrights of many of use. It's never supported so please don't mention it. -

Re: [patch] suspend: update warnings

2005-08-23 Thread Pavel Machek
Hi! - DRI being used in X where the drivers don't properly support suspend/resume (NVidia esp) NVidias driver is not support and a copyright violation of the copyrights of many of use. It's never supported so please don't mention it. Unfortunately, it is quite common out there. I need

Re: [patch] suspend: update warnings

2005-08-23 Thread Christoph Hellwig
On Tue, Aug 23, 2005 at 03:00:50PM +0200, Pavel Machek wrote: Hi! - DRI being used in X where the drivers don't properly support suspend/resume (NVidia esp) NVidias driver is not support and a copyright violation of the copyrights of many of use. It's never supported so please

Ext3 Errors on Dell RAID

2005-08-23 Thread Jess Balint
Problem: I get massive ext3 errors once every few days. See errors on console section below. Almost all commands return I/O error. I have to power cycle the machine to get it running again. Upon reboot, there are usually 3 orphan inodes deleted and everything is fine. See messages on reboot below.

Re: 2.6.13-rc6-mm2 (hangs on non-SMP x86-64 and oopses)

2005-08-23 Thread Ralf Baechle
Andrew, On Tue, Aug 23, 2005 at 02:51:51PM +0200, Rafael J. Wysocki wrote: 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. It hangs solig during boot (after starting kjournald) on Asus L5D

[2.4.31] - USB device numbering in /proc/bus/usb

2005-08-23 Thread Paul Rolland
Hello, I've just rebooted a machine, and the eagle ADSL modem I was using, presented as /proc/bus/usb/002/005 in now presented as /proc/bus/usb/002/003 (same bus, but device ID changed from 5 to 3). Is this an expected behavior, when running a 2.4.31 kernel ? I would have been expecting some

[PATCH] asus_acpi M6000A model support

2005-08-23 Thread Lukas Hejtmanek
Hello, here is patch for Asus M6A laptop support. It works fine for me. -- Lukáš Hejtmánek --- asus_acpi.c.old 2005-04-21 02:03:13.0 +0200 +++ asus_acpi.c 2005-05-08 18:22:49.0 +0200 @@ -128,6 +128,7 @@ L8L, //L8400L M1A, //M1300A

Re: Linux AIO status todo

2005-08-23 Thread Laurent Vivier
Le mar 23/08/2005 à 11:56, Jakub Jelinek a écrit : On Tue, Aug 23, 2005 at 01:14:38PM +0530, Suparna Bhattacharya wrote: 2. No support for propagating IO completion events to user space threads using RT signals. User threads need to poll the completion queue using

dnotify/inotify and vfs questions

2005-08-23 Thread Asser Femø
Hi, I'm currently implementing change notification support for the linux cifs client as part of Google's Summer of Code program. In cifs, change notification works pretty much the same as dnotify does in the kernel, and you cancel the notification by sending a NT_CANCEL request. According to

[PATCH] FUTEX_WAKE_OP (pthread_cond_signal speedup)

2005-08-23 Thread Jakub Jelinek
Hi! ATM pthread_cond_signal is unnecessarily slow, because it wakes one waiter (which at least on UP usually means an immediate context switch to one of the waiter threads). This waiter wakes up and after a few instructions it attempts to acquire the cv internal lock, but that lock is still held

irq 11: nobody cared

2005-08-23 Thread Nigel Rantor
Hail, I posted a report a while back, no answer. Who should I be talking to wrt to the irq 11: nobody cared issue? I'm happy to provide as much info as possible but need to know what info is required. I'm happily running 2.6.7, tried the latest and greatest (2.6.12) and found the problem,

Re: debug a high load average

2005-08-23 Thread Erik Mouw
On Tue, Aug 23, 2005 at 04:38:36PM +0530, Rajesh wrote: I have a case occasionally when I copy data from a usb storage (ipod) to my hard drive the load average goes up from 0.4 to about 15.0, and the system becomes very unusable till I kill the cp command. I have checked the CPU usage,

Re: IRQ problem with PCMCIA

2005-08-23 Thread Erik Mouw
On Tue, Aug 23, 2005 at 11:31:58AM +0100, Alan Cox wrote: On Maw, 2005-08-23 at 09:49 +0200, Erik Mouw wrote: Is there any place where we can get your current patches? Which ones - the PATA IDE ones are in 2.6.11-ac, a subset in Fedora (other changes in the core IDE code make forward

Re: Ext3 Errors on Dell RAID

2005-08-23 Thread Matt Domsch
On Tue, Aug 23, 2005 at 09:05:27AM -0400, Jess Balint wrote: Problem: I get massive ext3 errors once every few days. See errors on console section below. Almost all commands return I/O error. I have to power cycle the machine to get it running again. Upon reboot, there are usually 3 orphan

Re: what does scsi sense means?

2005-08-23 Thread Erik Mouw
On Tue, Aug 23, 2005 at 05:07:12PM +0800, jeff shia wrote: in the file of aic7.c ,what is the function of the structure of scsi_sense?here what is the meaning of sense?just like probe? Return value of a failed command. Normally commands just succeed, but if it fails, you can get sense

[PATCH] fix whitespace handling on sysfs attributes

2005-08-23 Thread Jon Smirl
The first version of this patch didn't allow for the request firmware case which does multiple parsing passes on the parameter. This was discussed in the thread '2.6.13-rc6-mm1' gregkh-driver-sysfs-strip_leading_trailing_whitespace-3.patch should replace in 2.6.13-rc6-mm1

Re: [PATCH] mm: return ENOBUFS instead of ENOMEM in generic_file_buffered_write

2005-08-23 Thread Dmitry Torokhov
On 8/23/05, Christoph Hellwig [EMAIL PROTECTED] wrote: On Tue, Aug 23, 2005 at 11:46:33AM +0300, Pekka J Enberg wrote: As noticed by Dmitry Torokhov, write() can not return ENOMEM: http://www.opengroup.org/onlinepubs/95399/functions/write.html Therefore fixup

RE: CONFIG_PRINTK_TIME woes

2005-08-23 Thread Luck, Tony
I'd hate to have to test for something for CONFIG_PRINTK_TIME every time sched_clock() is being called. Me too. The quick fix would seem to be to only allow CONFIG_PRINTK_TIME from kernel cmdline to make it happen a bit later. So basically make int printk_time = 0 until command line is

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

2005-08-23 Thread Lennart Sorensen
On Mon, Aug 22, 2005 at 01:46:29PM +0200, Pavel Machek wrote: Unfortunately, it makes sense. If you have compact flash card, you really want to have VFAT there, so that it is a) compatible with windows and b) so that you don't kill the hardware. VFAT is plenty good at killing hardware. It's a

another Followup on 2.6.13-rc3 ACPI processor C-state regression

2005-08-23 Thread Daniel Nofftz
(It looks like my first try to send this message as a reply to the Followup ... didn't work. If it worked: sorry for double-post) I use 2.6.13-rc6-mm1 which includes the patch as far as i can see, but the C2 idle state (which my processor definetly supports) isn't detected . it also isn't

Re: PROBLEM: Incorrect RAM Detected at kernel init

2005-08-23 Thread Lennart Sorensen
On Sun, Aug 21, 2005 at 11:27:51PM -0400, Terry wrote: 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

Re: [PATCH] FUTEX_WAKE_OP (pthread_cond_signal speedup)

2005-08-23 Thread Ingo Molnar
On Tue, 23 Aug 2005, Jakub Jelinek wrote: Hi! ATM pthread_cond_signal is unnecessarily slow, because it wakes one waiter (which at least on UP usually means an immediate context switch to one of the waiter threads). This waiter wakes up and after a few instructions it attempts to acquire

Re: [PATCH] FUTEX_WAKE_OP (pthread_cond_signal speedup)

2005-08-23 Thread Jakub Jelinek
On Tue, Aug 23, 2005 at 10:36:08AM -0400, Ingo Molnar wrote: a detail: many of the futex_atomic_op_inuser() seem to be duplicated across architectures. Might be worth putting into asm-generic, to avoid the duplication? Those are stub files waiting for arch maintainers to actually implement

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

2005-08-23 Thread Maciej Soltysiak
Hello I assume it worked OK in 2.6.12. Yes, sorry, forgot to mention that. 18:27:47: eth1: Setting full-duplex based on MII #24 link partner capability of 05e1. 18:32:02: NETDEV WATCHDOG: eth1: transmit timed out 18:32:02: eth1: transmit timed out, tx_status 00 status e601. 18:32:02:

Re: irq 11: nobody cared

2005-08-23 Thread Daniel Drake
Nigel Rantor wrote: Who should I be talking to wrt to the irq 11: nobody cared issue? I'm happy to provide as much info as possible but need to know what info is required. I'm happily running 2.6.7, tried the latest and greatest (2.6.12) and found the problem, then started by looking at

[PATCH 1/2] pci: Block config access during BIST (resend)

2005-08-23 Thread Brian King
Brian King wrote: Greg KH wrote: Here is an updated patch which will now fail writes to config space while the device is blocked. I have also fixed up the caching to return the correct data and tested it on both little endian and big endian machines. Applied, thanks. greg k-h Greg, This

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

2005-08-23 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ian Kent wrote: 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.

[PATCH][RESEND] don't allow sys_readahead() on files opened with O_DIRECT

2005-08-23 Thread Jan Blunck
IMO sys_readahead() doesn't make sense if the file is opened with O_DIRECT, because the page cache is stuffed but never used. Therefore this patch changes that by letting the call return with -EINVAL. Signed-off-by: Jan Blunck [EMAIL PROTECTED] mm/filemap.c |3 ++- 1 files changed, 2

  1   2   3   4   5   6   >