Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread Rick Jones
I measure a huge slope, however. Starting at 1usec for back-to-back system calls, it rises to 2usec after interleaving calls with a count to 20 million. 4usec is hit after 110 million. The graph, with semi-scientific error-bars is on http://ds9a.nl/tmp/recvfrom-usec-vs-wait.png The code to gene

[PATCH] net/bridge/br_if.c: fix possible use-after-free in port_carrier_check()

2007-02-20 Thread Oleg Nesterov
If del_nbp()->cancel_delayed_work(carrier_check) fails, port_carrier_check() may run later and access an already freed container (struct net_bridge_port). With this patch, carrier_check owns a reference to "struct net_bridge_port", not net_device, so it is always safe to acces the container. port

Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread Arjan van de Ven
> I'm trying to figure out which processes have the most impact, I had already > killed anything non-essential. But that still leaves 140 pids. btw if you have systemtap on your system you can see who is doing evil with http://www.fenrus.org/cstop.stp also.. running "vmstat 3" and looking at th

[PATCH 1/12]: sungem_phy: support bcm5461 phy, autoneg.

2007-02-20 Thread Linas Vepstas
From: Jens Osterkamp <[EMAIL PROTECTED]> This version moves the medium variable to the card specific structure and changes the GMII_* to BCM54XX_* #defines. This patch adds improved version of enable_fiber for both the 5421 and the 5461 phy. It is now possible to specify with these wether you wa

[PATCH 2/12] spidernet: compile break.

2007-02-20 Thread Linas Vepstas
As of 2.6.20-git4, the spider_net driver does not compile. This appears to be due to some archaic usage involving kobjects. It also fixes a nasty double-free during ifdown of the interface. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> Cc: Jens Osterkamp <[EMAIL PROTECTED]> Cc: Kou Ishizaki

[PATCH 3/12] spidernet: autoneg support for Celleb

2007-02-20 Thread Linas Vepstas
From: Kou Ishizaki <[EMAIL PROTECTED]> Add auto negotiation support for Celleb. Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> drivers/net/spider_net.c | 176 ++- drivers/net/spider_net.h | 1

[PATCH 4/12] spidernet: load firmware when open

2007-02-20 Thread Linas Vepstas
From: Kou Ishizaki <[EMAIL PROTECTED]> This patch moves calling init_firmware() from spider_net_probe() to spider_net_open() so as to use the driver by built-in. Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> drivers/net/spider_net.c | 24

[PATCH 5/12] spidernet: spidernet: add support for Celleb

2007-02-20 Thread Linas Vepstas
From: Kou Ishizaki <[EMAIL PROTECTED]> This patch adds or changes some HW specific settings for spider_net on Celleb. Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> drivers/net/Kconfig |2 +- drivers/net/spider_net.c |8 ++

[PATCH 6/12] spidernet: remove txram full logging

2007-02-20 Thread Linas Vepstas
From: Ishizaki Kou <[EMAIL PROTECTED]> This patches removes logging for SPIDER_NET_GTMFLLINT interrupts. Since the interrupts are not irregular, and they happen frequently when using 100Mbps network switches. Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> Signed-off-by: Linas Vepstas <[EMAIL PR

[PATCH 7/12] spidernet: move medium variable into card struct

2007-02-20 Thread Linas Vepstas
From: Jens Osterkamp <[EMAIL PROTECTED]> This moves the medium variable into the spidernet card structure. It renames the GMII_ variables to BCM54XX specific ones. Signed-off-by: Jens Osterkamp <[EMAIL PROTECTED]> Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> drivers/net/spider_net.c |

[PATCH 8/12] spidernet: separate hardware state from driver state.

2007-02-20 Thread Linas Vepstas
This patch separates the hardware descriptor state from the driver descriptor state, per (old) suggestion from Ben Herrenschmidt. This compiles and boots and seems to work. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> Cc: Jens Osterkamp <[EMAIL PROTECTED]> Cc: Kou Ishizaki <[EMAIL PROTECTED

[PATCH 9/12]: spidernet: fix racy double-free of skb

2007-02-20 Thread Linas Vepstas
It appears that under certain circumstances, a race will result in a double-free of an skb. This patch null's out the skb pointer upon the skb free, avoiding the inadvertent deref of bogus data. The next patch fixes the actual race. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> Cc: Jens Osterk

[PATCH 10/12]: spidernet: transmit race

2007-02-20 Thread Linas Vepstas
Multiple threads performing a transmit can race into the spidernet tx ring cleanup code. This puts the relevant check under a lock. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> Cc: Jens Osterkamp <[EMAIL PROTECTED]> Cc: Kou Ishizaki <[EMAIL PROTECTED]> drivers/net/spider_net.c |6

[PATCH 11/12] spidernet: janitorial, typos

2007-02-20 Thread Linas Vepstas
Janitorial patch. Undo long lines, fix typo in err msg. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> Cc: Jens Osterkamp <[EMAIL PROTECTED]> Cc: Kou Ishizaki <[EMAIL PROTECTED]> drivers/net/spider_net.c | 13 +++-- drivers/net/spider_net.h |2 +- 2 files changed, 8 insert

[PATCH 12/12] spidernet: maintainership

2007-02-20 Thread Linas Vepstas
Update driver support contact info. Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]> Cc: Jens Osterkamp <[EMAIL PROTECTED]> Cc: Kou Ishizaki <[EMAIL PROTECTED]> MAINTAINERS |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6.20-git16/MAINTAINERS =

Re: all syscalls initially taking 4usec on a P4? Re: nonblocking UDPv4 recvfrom() taking 4usec @ 3GHz?

2007-02-20 Thread Ian McDonald
On 2/21/07, bert hubert <[EMAIL PROTECTED]> wrote: I'm trying to figure out which processes have the most impact, I had already killed anything non-essential. But that still leaves 140 pids. Bert That sounds way too many pids. I run a script to shut down processes when I do testing as

RE: LSI Logic 40919o fibre channel: scsi works ip not

2007-02-20 Thread Moore, Eric
On Saturday, February 17, 2007 9:04 AM, Mario Giammarco wrote: > Now regarding the whole thing surrounding mptlan, I don't think > that LSI officially supports that feature any more or willing to fix > any bugs for it in their firmware or driver. Is that right? > > If so, we might as well remov

Re: [ipw3945-devel] [ANNOUNCE] d80211 based driver for Intel PRO/Wireless 3945ABG

2007-02-20 Thread Pavel Machek
Hi! > >>You can find the new driver, and additional information > >>about it, here: > >> > >> http://intellinuxwireless.org/iwlwifi. > >... > >>You can find that package at: > >> > >> http://intellinuxwireless.org/d80211 > >> > >>Ok. Now... any questions? > > > >Yes... is there merged .git tre

Re: [PATCH 000 of 6] md: Assorted fixes and features for md for 2.6.21

2007-02-20 Thread Bill Davidsen
NeilBrown wrote: Following 6 patches are against 2.6.20 and are suitable for 2.6.21. They are not against -mm because the new plugging makes raid5 not work and so not testable, and there are a few fairly minor intersections between these patches and those patches. There is also a very minor confl

Re: securityfs_create_dir strange comment

2007-02-20 Thread Jan Engelhardt
On Feb 20 2007 14:26, Greg KH wrote: >On Tue, Feb 20, 2007 at 03:18:49PM -0600, Serge E. Hallyn wrote: >> Quoting Jan Engelhardt ([EMAIL PROTECTED]): >> > Hello list, >> > >> > >> > in security/inode.c, the comment for securityfs_create_dir() reads: >> > >> >If securityfs is not enabled in

Re: PCI riser cards and PCI irq routing, etc

2007-02-20 Thread Krzysztof Halasa
Udo van den Heuvel <[EMAIL PROTECTED]> writes: > saa7146: found saa7146 @ mem f896a000 (revision 1, irq 145) (0x153b,0x1157). > saa7146: found saa7146 @ mem f89e6000 (revision 1, irq 153) (0x153b,0x1155). IO-APICs can do such things... Ok, I have experimented a bit with my old unused EPIA-M 600

Re: [PATCH] siimage: DRAC4 note

2007-02-20 Thread Alan
> > IMO it would probably easier on all involved if the comment noted what > > you state in the patch description. > > seconded > > Alan, please send me the actual OOPS if possible. You have a wide choice of oopses, watchdogs and hangs available. Basically the device vanishes and in some cases

Re: [PATCH] aio: propogate post-EIOCBQUEUED errors to completion event

2007-02-20 Thread Trond Myklebust
On Tue, 2007-02-20 at 10:40 -0800, Zach Brown wrote: > >> There are some strange O_DIRECT corner cases in here such that the > >> 'last > >> writer' may actually be a 'last reader' and winning can mean have > >> a copy > >> of the page in page cache older than the copy on disk. > > > > As long

Re: PCI riser cards and PCI irq routing, etc

2007-02-20 Thread Krzysztof Halasa
[EMAIL PROTECTED] (Lennart Sorensen) writes: > Via has a dual pci-ext card. See EXT-PCI at > http://www.via.com.tw/en/products/mainboards/accessories.jsp Right, and they say it's compatible with "EPIA mini-ITX family". That means the mappings I just outlined should apply to all of them. BTW: an

Re: [git patches] libata ACPI support

2007-02-20 Thread Alan
On Tue, 20 Feb 2007 22:47:17 +0100 Lukas Hejtmanek <[EMAIL PROTECTED]> wrote: > Hello, > > introducing SATA ACPI does not work for me (I've filled the bug > report: http://bugzilla.kernel.org/show_bug.cgi?id=8046) beside those error > messages, IDE performance is decreased. libata.noacpi=1 option

[PATCH] Remove "obsolete" label from ISDN4Linux (was: any value to fixing apparent bugs in old ISDN4Linux?)

2007-02-20 Thread Tilman Schmidt
Am 15.01.2007 18:29 schrieb Karsten Keil: > On Mon, Jan 15, 2007 at 12:17:37PM -0500, Robert P. J. Day wrote: >> [...] but if >> it's still in actual use, then it really should be re-labelled from >> "obsolete" to "deprecated," no? > > Good point. May I? From: Tilman Schmidt <[EMAIL PROTECTED]>

IPV6 build failure 2.6.20-git1x

2007-02-20 Thread Sid Boyce
x86_64 builds without errors on openSUSE 10.2. x86 on openSUSE 10.3 Alpha1 gcc version 4.1.2 20070115 (prerelease) (SUSE Linux) CONFIG_IPV6=m CONFIG_IPV6_PRIVACY=y CONFIG_IPV6_ROUTER_PREF=y CONFIG_IPV6_ROUTE_INFO=y # CONFIG_IPV6_MIP6 is not set CONFIG_IPV6_SIT=m # CONFIG_IPV6_TUNNEL is not set CON

Re: [PATCH] nfs: init req_lock in nfs_alloc_inode

2007-02-20 Thread Trond Myklebust
On Tue, 2007-02-20 at 11:23 -0600, Olof Johansson wrote: > In my original reproduction, I had to boot with nfs root, and try to mount > my sata drive (/dev/sda3). This is with a static /dev, no udev. Seems like it > happens when trying to mount any block device that's located on NFS. > > Since th

Re: [PATCH] fix handling of SIGCHILD from reaped child

2007-02-20 Thread KAMEZAWA Hiroyuki
On Tue, 20 Feb 2007 20:20:49 +0300 Oleg Nesterov <[EMAIL PROTECTED]> wrote: > > > > + clear_stale_sigchild(current, retval); > > > > > > But we are not checking that SIGCHLD is blocked? > > > > > I'm sorry if I don't read SUSv3 correctly. SUSv3 doesn't define how we > > should > >

Re: IPV6 build failure 2.6.20-git1x

2007-02-20 Thread Neil Brown
On Wednesday February 21, [EMAIL PROTECTED] wrote: > x86_64 builds without errors on openSUSE 10.2. > x86 on openSUSE 10.3 Alpha1 > gcc version 4.1.2 20070115 (prerelease) (SUSE Linux) > CONFIG_IPV6=m > CONFIG_IPV6_PRIVACY=y > CONFIG_IPV6_ROUTER_PREF=y > CONFIG_IPV6_ROUTE_INFO=y > # CONFIG_IPV6_MI

Re: [PATCH] fix handling of SIGCHILD from reaped child

2007-02-20 Thread KAMEZAWA Hiroyuki
On Tue, 20 Feb 2007 15:10:07 -0800 (PST) Roland McGrath <[EMAIL PROTECTED]> wrote: > I'm usually the stickler for anal POSIX compliance, but this is one thing > that I did notice a while ago, realized Linux had never done it, and > decided I didn't care. > Okay, I don't think this is a big troubl

Re: SATA problems

2007-02-20 Thread Marcus Haebler
Tejun, thanks for the patches! I am on an Intel P965/ICH8R. Best, Marcus On 2/20/07, Tejun Heo <[EMAIL PROTECTED]> wrote: * Pablo, the bug you saw was bad interaction between blacklisted NCQ device and dynamic queue depth adjustment. Patches are submitted to fix the problem. Just drop the b

Soft lockup on shutdown in nf_ct_iterate_cleanup()

2007-02-20 Thread Chuck Ebbert
I was testing a 2.6.20 kernel and got a soft lockup on shutdown: _raw_write_lock+0x5a nf_ct_iterate_cleanup+0x3e kill_l3proto+0x0 nf_conntrack_l3proto_unregister+0x85 nf_conntrack_l3proto_ipv4_fini+0x1e sys_delete_module+0x18a remove_vma+0x45 do_munmap+0x196 syscall_call+0x7 - To unsubscribe fro

Re: Kernel oops in 2.6.18.3 with RAID5

2007-02-20 Thread Andrew Robinson
Here is the full dmesg log of the crash: iret exception: [#1] SMP Modules linked in: ppdev lp button ac battery ipv6 dm_snapshot dm_mirror dm_mod loop tsdev rtc psmouse parport_pc parport floppy serio_raw pcspkr i2c_nforce2 snd_intel8x0 snd_ac97_codec snd_ ac97_bus snd_pcm snd_timer snd soun

Re: IPV6 build failure 2.6.20-git1x

2007-02-20 Thread Sid Boyce
Neil Brown wrote: On Wednesday February 21, [EMAIL PROTECTED] wrote: x86_64 builds without errors on openSUSE 10.2. x86 on openSUSE 10.3 Alpha1 gcc version 4.1.2 20070115 (prerelease) (SUSE Linux) CONFIG_IPV6=m CONFIG_IPV6_PRIVACY=y CONFIG_IPV6_ROUTER_PREF=y CONFIG_IPV6_ROUTE_INFO=y # CONFIG

Re: [PATCH] deprecated/obsolete patch

2007-02-20 Thread Bartlomiej Zolnierkiewicz
On Wednesday 21 February 2007 00:20, Robert P. J. Day wrote: > > here's a slightly revised wording, if that makes it clearer: I think that it does explain things better and I hope that some form of consensus can be finally reached. Thanks, Bart - To unsubscribe from this list: send the line "

[patch 02/21] V4L: Fix quickcam communicator driver for big endian architectures

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- Host endianess does not affect the order that pixel rgb data comes in from the quickcam (the values are bytes, not words or longs). The driver is erroniously swapping the order of rgb values for big endian

[patch 00/21] 2.6.19-stable review

2007-02-20 Thread Greg KH
This is the start of the stable review cycle for the 2.6.19.5 release. This will probably be the last release of the 2.6.19-stable series, so if there are patches that you feel should be applied to that tree, please let me know. There are 21 patches in this series, all will be posted as a respons

[patch 06/21] net/smc911x: match up spin lock/unlock

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Peter Korsgaard <[EMAIL PROTECTED]> smc911x_phy_configure's error handling unconditionally unlocks the spinlock even if it wasn't locked. Patch fixes it. Signed-off-by: Peter Korsgaard <[EMAIL PROTE

[patch 05/21] V4L: buf_qbuf: fix videobuf_queue->stream corruption and lockup

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- We are doing ->buf_prepare(buf) before adding buf to q->stream list. This means that videobuf_qbuf() should not try to re-add a STATE_PREPARED buffer. (cherry picked from commit 419dd8378dfa32985672ab7927b

[patch 03/21] V4L: fix ks0127 status flags

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- Or status flags together in DECODER_GET_STATUS instead of and-zapping them. (cherry picked from commit 55d5440d4587454628a850ce26703639885af678) Signed-off-by: Martin Samuelsson <[EMAIL PROTECTED]> Signed

[patch 04/21] V4L: tveeprom: autodetect LG TAPC G701D as tuner type 37

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- Autodetect LG TAPC G701D as tuner type 37, fixing mis-detected tuners in some Hauppauge tv tuner cards. Thanks to Adonis Papas, for pointing this out. (cherry picked from commit 1323fbda1343f50f198bc8bd6d

[patch 01/21] V4L: cx88: Fix lockup on suspend

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- Suspending with the cx88xx module loaded causes the system to lock up because the cx88_audio_thread kthread was missing a try_to_freeze() call, which caused it to go into a tight loop and result in softlock

[patch 08/21] aio: fix buggy put_ioctx call in aio_complete - v2

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: "Ken Chen" <[EMAIL PROTECTED]> An AIO bug was reported that sleeping function is being called in softirq context: BUG: warning at kernel/mutex.c:132/__mutex_lock_common() Call Trace: [] __mute

[patch 14/21] usb-audio: work around wrong frequency in CM6501 descriptors

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- [PATCH] usb-audio: work around wrong frequency in CM6501 descriptors The C-Media CM6501 chip's descriptors say that altsetting 5 supports 48 kHz, but it actually plays at 96 kHz. Signed-off-by: Clemens L

[patch 15/21] usbaudio - Fix Oops with broken usb descriptors

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- [PATCH] usbaudio - Fix Oops with broken usb descriptors This is a patch for ALSA Bug #2724. Some webcams provide bogus settings with no valid rates. With this patch those are skipped. Signed-off-by: Grego

[patch 19/21] net, 8139too.c: fix netpoll deadlock

2007-02-20 Thread Greg KH
-stable review patch. If anyone has any objections, please let us know. -- From: Ingo Molnar <[EMAIL PROTECTED]> [PATCH] net, 8139too.c: fix netpoll deadlock fix deadlock in the 8139too driver: poll handlers should never forcibly enable local interrupts, because they might be us

<    1   2   3   4   5