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

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

2005-08-23 Thread Dinakar Guniguntala
On Tue, Aug 23, 2005 at 01:04:27AM -0700, Paul Jackson wrote: 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

Re: [PATCH 2/2] ipr: Block config access during BIST (resend)

2005-08-23 Thread Brian King
Greg, Please apply along with the previous pci patch. Thanks -- Brian King eServer Storage I/O IBM Linux Technology Center IPR scsi adapter have an exposure today in that they issue BIST to the adapter to reset the card. If, during the time it takes to complete BIST, userspace attempts to

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

2005-08-23 Thread Sergey Vlasov
On Tue, 23 Aug 2005 15:14:38 +0200 Paul Rolland wrote: 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

Re: dnotify/inotify and vfs questions

2005-08-23 Thread Jamie Lokier
Asser Femø wrote: According to the fcntl manual you can cancel a notification by doing fcntl(fd, F_NOTIFY, 0) (ie. sending 0 as the notification mask), but looking in the kernel code fcntl_dirnotify() immediately calls dnotify_flush() with neither telling the vfs module about it. Is there a

kernel BUG at kernel/workqueue.c:104!

2005-08-23 Thread Karl Hiramoto
Hi, i get this a lot now when doing: rmmod cp2101 io_edgeport I try and do the rmmod, because i loose comunications on the USB to RS-232 adapters. Not sure if i did the ksymoops correctly but here it is: # ./ksymoops ksymoops 2.4.9 on i686 2.6.12-gentoo-r9. Options used -V

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

2005-08-23 Thread Paul Rolland
Hello Sergey, Yes. Addresses for USB devices are assigned dynamically. If you disconnect the modem from USB and connect it again, its address will change. The problem I've is that nothing changed on the machine except that I did a reboot. Nothing (USB device) added, nothing removed, so

Re: 2.6.13-rc6-mm2

2005-08-23 Thread Daniel Ritz
Yup, seems to be generally good... Noticed this in the log earlier tonight: Aug 23 19:44:51 tornado kernel: hub 5-0:1.0: port 1 disabled by hub (EMI?), re-enabling... Aug 23 19:44:51 tornado kernel: usb 5-1: USB disconnect, address 2 Aug 23 19:44:51 tornado kernel:

RE: kernel module seg fault

2005-08-23 Thread manomugdha biswas
Hi, This is the code where i am getting this problem. static byte4 VNICClientStart(unsigned long arg) { VNICClientCfgCreateInfo_t clientConfig; struct socket*sock = NULL; ubyte4 status = 0; ubyte4 retryCnt = VNIC_CLIENT_MAX_CONN_RETRY_CNT;

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

2005-08-23 Thread Oleg Nesterov
Thomas Gleixner wrote: On Mon, 2005-08-22 at 20:45 +0400, Oleg Nesterov wrote: kernel/posix-timers.c:common_timer_del() calls del_timer_sync(), after that nobody can access this timer, so we don't need to lock timer-it_lock at all in this case. No lock - no deadlock. It still

Re: irq 11: nobody cared

2005-08-23 Thread Jeff Garzik
Nigel Rantor wrote: 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)

Re: some missing spin_unlocks

2005-08-23 Thread David S. Miller
From: Ted Unangst [EMAIL PROTECTED] Date: Mon, 22 Aug 2005 15:26:47 -0700 net/rose/rose_route.c rose_route_frame, line 998 returns without unlocking rose_node_list_lock, rose_neigh_list_lock, or rose_route_list_lock I fixed this one with the patch below. net/rose/rose_timer.c

Re: Linux AIO status todo

2005-08-23 Thread Benjamin LaHaise
On Tue, Aug 23, 2005 at 05:56:09AM -0400, Jakub Jelinek wrote: POSIX AIO needs to handle SIGEV_NONE, SIGEV_SIGNAL and SIGEV_THREAD notification. Obviously kernel shouldn't create threads for SIGEV_THREAD itself, as kernel shouldn't hardcode all the implementation details how a thread can be

Re: some missing spin_unlocks

2005-08-23 Thread Arjan van de Ven
This one needs more care. We can't drop the lock, because the destroy actions need to be protected by that lock, but we can't release the lock after rose_destroy_socket() because the object may not even exist any longer. does it matter? can ANYTHING be spinning on the lock? if not .. can

Re: 2.6.13-rc6-mm2 - fs/xfs/xfs*.c warnings

2005-08-23 Thread Damir Perisa
i'm compiling 2.6.13-rc6-mm2 atm and noticed that xfs is having lots of warnings while compiling. recently i switched to gcc 4.0.1 - maybe it's because of this. details: fs/xfs/xfs_acl.c: In function 'xfs_acl_access': fs/xfs/xfs_acl.c:445: warning: 'matched.ae_perm' may be used uninitialized

Re: 2.6.12 Performance problems

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

Re: 2.6.12 Performance problems

2005-08-23 Thread Patrick McHardy
Danial Thom wrote: I think part of the problem is the continued misuse of the word latency. Latency, in language terms, means unexplained delay. Its wrong here because for one, its explainable. But it also depends on your perspective. The latency is increased for kernel tasks, while it may

Re: 2.6.13-rc6-mm2 - drivers/net/s2io.o failed building

2005-08-23 Thread Damir Perisa
2.6.13-rc6-mm2 failed building with this problem (gcc 4.0.1): CC [M] drivers/net/s2io.o In file included from drivers/net/s2io.c:65: drivers/net/s2io.h: In function 'readq': drivers/net/s2io.h:765: error: invalid lvalue in assignment drivers/net/s2io.h:766: error: invalid lvalue in assignment

Re: select() efficiency / epoll

2005-08-23 Thread Davy Durham
So, I've been trying to use epoll.. on linux-2.6.11-6mdk However, I'm getting segfaults because some pointers in places are getting set to low integer values (which didn't used to have those values). The deal is that my application is multi-threaded, and I was wondering if epoll had issues

Console Resolution Support Request - 1024x480

2005-08-23 Thread ttye0
Hey, After seeing many many posts and no solutions anywhere regarding having a full screen console on a Sony Vaio Picturebook with an ATI Rage Mobility video chip on a kernel anywhere near the current version~inhale~I finally made an attempt with a kernel-2.4.17 diff patch to manually

Re: some missing spin_unlocks

2005-08-23 Thread David S. Miller
From: Arjan van de Ven [EMAIL PROTECTED] Subject: Re: some missing spin_unlocks Date: Tue, 23 Aug 2005 19:40:06 +0200 On Tue, 2005-08-23 at 10:30 -0700, David S. Miller wrote: From: Arjan van de Ven [EMAIL PROTECTED] Date: Tue, 23 Aug 2005 18:54:03 +0200 does it matter? can ANYTHING be

Re: some missing spin_unlocks

2005-08-23 Thread Arjan van de Ven
On Tue, 2005-08-23 at 10:30 -0700, David S. Miller wrote: From: Arjan van de Ven [EMAIL PROTECTED] Date: Tue, 23 Aug 2005 18:54:03 +0200 does it matter? can ANYTHING be spinning on the lock? if not .. can we just let the lock go poof and not unlock it... I believe socket lookup can,

Re: CONFIG_PRINTK_TIME woes

2005-08-23 Thread Nick Piggin
David S. Miller wrote: This is a useful feature, please do not labotomize it just because it's difficult to implement on ia64. Just make a printk_get_timestamp_because_ia64_sucks() interface or something like that :-) I was a bit unclear when I raised this issue. It is not just an ia64

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

2005-08-23 Thread Chuck Ebbert
On Tue, 23 Aug 2005 02:20:07 +0200, Andi Kleen wrote: every reviewer has to look up all the bits in the manual? I fixed the test program too: Before patch: $ ./fpsig handler: signum = 8, errno = 0, code = 0 [unknown] handler: fpu cwd = 0xb40, fpu swd = 0xbaa0 handler: i387 unmasked

Re: 2.6.12 Performance problems

2005-08-23 Thread Sven-Thorsten Dietrich
On Tue, 2005-08-23 at 10:10 -0700, Danial Thom wrote: Ok, well you'll have to explain this one: Low latency comes at the cost of decreased throughput - can't have both Configuring preempt gives lower latency, because then almost anything can be interrupted (preempted).

<    1   2   3   4   5   6   >