RE: How to optimize routing performance

2001-03-15 Thread Martin Josefsson
On Fri, 16 Mar 2001, Mårten Wikström wrote: [much text] > Thanks! I'll try that out. How can I tell if the driver supports > CONFIG_NET_HW_FLOWCONTROL? I'm not sure, but I think the cards are > tulip-based, can I then use Robert & Jamal's optimised drivers? > It'll probably take some time before

Re: Patch(2.4.2): serial.c timedia oneliner (Resend)

2001-03-15 Thread Theodore Tso
On Fri, Mar 16, 2001 at 09:47:14AM +0100, Gunther Mayer wrote: > I'm sending this since 3 months to the maintainer ([EMAIL PROTECTED]) > and even submitted to serial.sourceforge.net but never got a reaction. > Anybody knows if Ted is still active? Sorry, life's been a bit busy lately, what with t

Patch(2.4.2): serial.c timedia oneliner (Resend)

2001-03-15 Thread Gunther Mayer
Hi, please apply this oneliner to fix the Timedia/Sunix series PCI cards. Regards, Gunther P.S. I'm sending this since 3 months to the maintainer ([EMAIL PROTECTED]) and even submitted to serial.sourceforge.net but never got a reaction. Anybody knows if Ted is still active? --- linux/drivers/

Patch(2.4.2): isapnp detect fix (wrong checksum)

2001-03-15 Thread Gunther Mayer
Hi, this fix lets linux detect cards which don't have a correct checksum. These are probably common, it seems isapnptools _silently_ fixes this up ! Please apply if you like, comments welcome. Regards, Gunther --- linux/drivers/pnp/isapnp.c-2.4.2-orig Fri Mar 16 09:08:47 2001 +++ linux/d

Re: [CHECKER] 9 potential copy_*_user bugs in 2.4.1

2001-03-15 Thread Dawson Engler
> Looks like you've missed at least one place. Have you marked pointer > arguments of syscalls as tainted? Path in question looks so: In the exokernel param checker we do, but not for the one in linux --- most of the pointers seemed to be devices, so I never added it. Afer your for bug example,

Re: 2.2 and AMD-760MP I/O APIC

2001-03-15 Thread Gregory Maxwell
On Thu, Mar 15, 2001 at 05:34:18PM -0800, Johannes Erdfelt wrote: > The I/O APIC code for 2.2 contains a little trick which sets the destination > to 0 to disable an I/O APIC entry. This apparently trips up the I/O APIC > on AMD-760MP systems causing a lockup during boot. [snip] I'd love you test

Re: another Cyrix/mtrr problem?

2001-03-15 Thread Joerg Diederich
Hi David, David Wragg writes: +> [EMAIL PROTECTED] (Bob_Tracy) writes: +>> Unfortunately, when I execute +>> +>> echo "base=0xd800 size=0x10 type=write-combining" >| +>> /proc/mtrr +>> +>> I get a 2MB region instead of the 1MB region I expected... +> Oops, it got broken by the MTRR >3

RE: How to optimize routing performance

2001-03-15 Thread Mårten Wikström
> > You want to have CONFIG_NET_HW_FLOWCONTROL enabled. If you don't the > kernel gets _alot_ of interrupts from the NIC and dosn't have > any cycles > left to do anything. So you want to turn this on! > > > At the NordU/USENIX conference in Stockholm (this february) I > > saw a nice presenta

Re: [CHECKER] big stack variables

2001-03-15 Thread Dawson Engler
> [EMAIL PROTECTED] said: > > As usual, please report any false positives so we can fix our > > checkers. > > Not a false positive, but a false negative: > > the tty_struct locals at lines 1994 and 2029 in tty_register_devfs and > tty_unregister_devfs, respectively, in the 2.4.2 drivers/char/tt

Re: [CHECKER] 9 potential copy_*_user bugs in 2.4.1

2001-03-15 Thread David S. Miller
Dawson Engler writes: > - > [UNKNOWN] I'm not sure about this: "csum_partial_*" calls the generic > cksum routine which does guard against user pointers --- > is this redundant paranoia in this case? > > /u2/engler/mc/

Re: 2.4.2 sparc64 patch for LVM

2001-03-15 Thread David S. Miller
Patrick Caulfield writes: > The patch below fixes the ioctl32.c file so that LVM 0.9 will work > on UltraSPARC machines. I've added this patch to my tree, thanks. Later, David S. Miller [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [OOPS] report

2001-03-15 Thread Chris Mason
On Friday, March 16, 2001 01:03:20 AM -0500 Alexander Viro <[EMAIL PROTECTED]> wrote: >> Ok, I was more talking about the ugliness that is reiserfs_panic (how >> many times do we need a commented out for(;;)?). For panic() calling >> sys_sync, I think there non-filesystem related panics where

Re: [OOPS] report

2001-03-15 Thread Alexander Viro
On Fri, 16 Mar 2001, Chris Mason wrote: > > I suspect that the right fix is to drop the ->s_lock bogosity along with > > sys_sync() call in panic()... > > Ok, I was more talking about the ugliness that is reiserfs_panic (how many > times do we need a commented out for(;;)?). For panic() calli

Re: [CHECKER] 9 potential copy_*_user bugs in 2.4.1

2001-03-15 Thread Greg KH
On Thu, Mar 15, 2001 at 06:24:51PM -0800, Dawson Engler wrote: > Hi, > > I wrote an extension to gcc that does global analysis to determine > which pointers in 2.4.1 are ever treated as user space pointers (i.e, > passed to copy_*_user, verify_area, etc) and then makes sure they are > always trea

Re: [OOPS] report

2001-03-15 Thread Chris Mason
On Friday, March 16, 2001 12:32:56 AM -0500 Alexander Viro <[EMAIL PROTECTED]> wrote: > > > On Fri, 16 Mar 2001, Chris Mason wrote: > >> > ObReiserfs_panic: what the hell is that ->s_lock bit about? panic() >> > _never_ tries to do any block IO. It looks like a rudiment of something >> > tha

Re: [OOPS] report

2001-03-15 Thread Chris Mason
On Thursday, March 15, 2001 09:44:48 PM -0500 Alexander Viro <[EMAIL PROTECTED]> wrote: > > > On Thu, 15 Mar 2001, David wrote: > >> 2.4.2-ac4 >> >> Mar 15 18:02:49 Huntington-Beach kernel: end_request: I/O error, dev >> 16:41 (hdd), sector 9512 >> Mar 15 18:02:49 Huntington-Beach kernel:

Re: [OOPS] report

2001-03-15 Thread Alexander Viro
On Fri, 16 Mar 2001, Chris Mason wrote: > > ObReiserfs_panic: what the hell is that ->s_lock bit about? panic() > > _never_ tries to do any block IO. It looks like a rudiment of something > > that hadn't been there for 5 years, if not longer. The same goes for > > ext2_panic() and ufs_panic(),

Re: kernel paging oops on massive vfs activity

2001-03-15 Thread Marcelo Tosatti
On Wed, 14 Mar 2001, Donald J. Barry wrote: > Hey kernel developers, > > I'm getting repeated oopses and occasional freezes on a server I've > set up to host a giant (180G) reiserfs system atop lvm, served by nfs(v2). > (I've applied the reiserfs and nfs patches to the vanilla kernel, > which

Re: Oops 0000 and 0002 on dual PIII 750 2.4.2 SMP platform

2001-03-15 Thread Marcelo Tosatti
On Thu, 15 Mar 2001, Shane Y. Gibson wrote: > Marcelo Tosatti wrote: > > > > Did'nt you get a message similar to > > > > "kernel BUG at page_alloc.c line xxx!" > > Marcelo, > > Yes there was. I'm pasting the total sum of the /var/log/messages > output. Note that I'm only able to locate det

Re: Oops 0000 and 0002 on dual PIII 750 2.4.2 SMP platform

2001-03-15 Thread Andrew Morton
"Shane Y. Gibson" wrote: > > 2.4.2 ... > dual PIII 750s ... > panicing, and freezing up. Try using the `nmi_watchdog=0' LILO option. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel

Re: [CHECKER] 9 potential copy_*_user bugs in 2.4.1

2001-03-15 Thread Alexander Viro
On Thu, 15 Mar 2001, Dawson Engler wrote: > Hi, > > I wrote an extension to gcc that does global analysis to determine > which pointers in 2.4.1 are ever treated as user space pointers (i.e, > passed to copy_*_user, verify_area, etc) and then makes sure they are > always treated that way. > >

Re: [CHECKER] big stack variables

2001-03-15 Thread Andrew Morton
Jeff Dike wrote: > > [EMAIL PROTECTED] said: > > As usual, please report any false positives so we can fix our > > checkers. > > Not a false positive, but a false negative: > > the tty_struct locals at lines 1994 and 2029 in tty_register_devfs and > tty_unregister_devfs, respectively, in the 2.

Re: [util-linux] Re: magic device renumbering was -- Re: Linux 2.4.2ac20

2001-03-15 Thread Michail Brzitwa
In article <[EMAIL PROTECTED]> you wrote: > The real problem is that our disks usually do not have a volume label. > Outside of all file systems. > The "signatures" that we rely on today are located in different places, > so that a filesystem can have several valid signatures at the same time. > A

Re: [CHECKER] big stack variables

2001-03-15 Thread Jeff Dike
[EMAIL PROTECTED] said: > As usual, please report any false positives so we can fix our > checkers. Not a false positive, but a false negative: the tty_struct locals at lines 1994 and 2029 in tty_register_devfs and tty_unregister_devfs, respectively, in the 2.4.2 drivers/char/tty_io.c. Nice wo

kernel benchmark

2001-03-15 Thread gis88530
Hi, I use kernprof+gprof to measure the 2.2.16 kernel, but the scale is mini-second. So I use do_gettimeofday( ) kernel function call to measure the latency. (This function support micro-second scale.) Moreover, I use SmartBits packet generator to generate the specific network traffic load. Th

Re: Performance is weird (fwd) -> results

2001-03-15 Thread Sampsa Ranta
On Thu, 15 Mar 2001, Manfred Spraul wrote: > I've attached a patch. > I tried to trigger the problem with my 10 MBit ne2k-pci connection, but > without success. > > Could you try it? > I've tested it with -ac17, and it applies to 2.4.2 cleanly. On 2.4.2: Before: ttcp-t: buflen=8192, nbuf=2048,

Re: [OOPS] report

2001-03-15 Thread Alexander Viro
On Thu, 15 Mar 2001, David wrote: > 2.4.2-ac4 > > Mar 15 18:02:49 Huntington-Beach kernel: end_request: I/O error, dev > 16:41 (hdd), sector 9512 > Mar 15 18:02:49 Huntington-Beach kernel: hdd: drive not ready for command > Mar 15 18:02:48 Huntington-Beach kernel: hdd: drive not ready for com

Reserved memory for highmem bouncing (fwd)

2001-03-15 Thread Marcelo Tosatti
Ingo, Any comments? -- Forwarded message -- Date: Wed, 28 Feb 2001 02:02:16 -0300 (BRT) From: Marcelo Tosatti <[EMAIL PROTECTED]> To: Ingo Molnar <[EMAIL PROTECTED]> Cc: lkml <[EMAIL PROTECTED]> Subject: Reserved memory for highmem bouncing Hi Ingo, I have a question abou

[CHECKER] big stack variables

2001-03-15 Thread Dawson Engler
Hi, enclosed are 22 functions in 2.4.1 that appear to allocate stack variables >= 1024 bytes. As usual, please report any false positives so we can fix our checkers. Dawson --- /u2/engler/mc/2.4.1/drivers/isdn/sc/message.c:52:d

[CHECKER] 9 potential copy_*_user bugs in 2.4.1

2001-03-15 Thread Dawson Engler
Hi, I wrote an extension to gcc that does global analysis to determine which pointers in 2.4.1 are ever treated as user space pointers (i.e, passed to copy_*_user, verify_area, etc) and then makes sure they are always treated that way. It found what looks to be 9 errors, and 3 cases I'm not sur

[OOPS] report

2001-03-15 Thread David
2.4.2-ac4 Mar 15 18:02:49 Huntington-Beach kernel: end_request: I/O error, dev 16:41 (hdd), sector 9512 Mar 15 18:02:49 Huntington-Beach kernel: hdd: drive not ready for command Mar 15 18:02:48 Huntington-Beach kernel: hdd: drive not ready for command Mar 15 18:02:49 Huntington-Beach kernel: hdd

Re: [util-linux] Re: magic device renumbering was -- Re: Linux 2.4.2ac20

2001-03-15 Thread Andreas Dilger
Andries writes: > > I've implemented a patch for util-linux-2.11a > > which adds LABEL support to mkswap(8) and swapon/swapoff(8). > > But I would prefer a somewhat more ambitious approach. > > My first thought was: why label individual swap partitions? > I almost never want to distinguish swap

2.2 and AMD-760MP I/O APIC

2001-03-15 Thread Johannes Erdfelt
The I/O APIC code for 2.2 contains a little trick which sets the destination to 0 to disable an I/O APIC entry. This apparently trips up the I/O APIC on AMD-760MP systems causing a lockup during boot. This patch removes that trick in favor of doing what 2.4 does, masking out the entries. This pa

2.4.3-pre3 and further ate PCMCIA serial cardbus support

2001-03-15 Thread Alessandro Suardi
In fact this -pre4 works only after reverting the changes to Config.in, Makefile and serial_cb.c in drivers/char/pcmcia, otherwise my Xircom modem wouldn't be seen (tulip Ethernet is okay). -pre2 is fine. So - was there any announcement about something like serial_cs engulfing serial_cb or is

Re: [util-linux] Re: magic device renumbering was -- Re: Linux2.4.2ac20

2001-03-15 Thread Alexander Viro
On Fri, 16 Mar 2001 [EMAIL PROTECTED] wrote: > Design a Linux partition table format, where a partition descriptor > has fields start, end, fstype, fslabel, and the whole disk has a vollabel. > Put it in sector 0-N for an all-Linux disk, and in sectors pointed at > by a classical DOS-type parti

Re: Oops 0000 and 0002 on dual PIII 750 2.4.2 SMP platform

2001-03-15 Thread Shane Y. Gibson
Marcelo Tosatti wrote: > > Did'nt you get a message similar to > > "kernel BUG at page_alloc.c line xxx!" Marcelo, Yes there was. I'm pasting the total sum of the /var/log/messages output. Note that I'm only able to locate details for the first crash, the second didn't seem to log a whole lot

Re[4]: VIA686A chipset crash under 2.4.2-ac20

2001-03-15 Thread kozkir-8
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 >> >> kernel: hda: dma_intr: error=0x84 { DriveStatusError BadCRC } >> >> MH> this can only be caused by bad cable/config. is it 18", with both ends >> MH> plugged in? >> >> >> Do you mean 40-pin E-IDE cable? MH> 40-conductor cables are only valid t

Re: Oops 0000 and 0002 on dual PIII 750 2.4.2 SMP platform

2001-03-15 Thread Brian Gerst
"Shane Y. Gibson" wrote: > > All, > > I just compiled 2.4.2 and installed it on a otherwise stock > Redhat 7.0 platform. The system is a SuperMicro PIIISME, > running dual PIII 750s, with 256 cache. It appears that about > every 10 to 18 hours, the system is panicing, and freezing > up. The f

Re: Oops 0000 and 0002 on dual PIII 750 2.4.2 SMP platform

2001-03-15 Thread Marcelo Tosatti
On Thu, 15 Mar 2001, Shane Y. Gibson wrote: > > All, > > I just compiled 2.4.2 and installed it on a otherwise stock > Redhat 7.0 platform. The system is a SuperMicro PIIISME, > running dual PIII 750s, with 256 cache. It appears that about > every 10 to 18 hours, the system is panicing, and

Write throttling problem in 2.4.2?

2001-03-15 Thread Donald J. Barry
Dear Developers: More on my 2.4.2 oopses concerning the "Unable to handle kernel paging request" These only take place during ENORMOUS write pressure, and I'm curious as to whether write throttling is an issue here. Since this is on a reiserfs atop lvm, some of the previously conceived soluti

About DC-315U SCSI driver

2001-03-15 Thread ³¯¤ý®i
Hi all, At last night, I changed my scsi card from a pci slot to another,to avoided the IRQ sharing between on-board USB and SCSI. And burned a cdr to test. It's so magic. The burned files which are not the same with origin ones is much less than before. Why? Can not use IRQ sharing between S

Re[4]: VIA686A chipset crash under 2.4.2-ac20

2001-03-15 Thread kozkir-8
-BEGIN PGP SIGNED MESSAGE- Hash: MD5 >> >> kernel: hda: dma_intr: error=0x84 { DriveStatusError BadCRC } >> >> MH> this can only be caused by bad cable/config. is it 18", with both ends >> MH> plugged in? >> >> >> Do you mean 40-pin E-IDE cable? MH> 40-conductor cables are only valid

Oops 0000 and 0002 on dual PIII 750 2.4.2 SMP platform

2001-03-15 Thread Shane Y. Gibson
All, I just compiled 2.4.2 and installed it on a otherwise stock Redhat 7.0 platform. The system is a SuperMicro PIIISME, running dual PIII 750s, with 256 cache. It appears that about every 10 to 18 hours, the system is panicing, and freezing up. The first time, I got an oops , the secon

Re: Kernel 2.4.2and 8139too

2001-03-15 Thread Brian May
> "Ted" == Ted Gervais <[EMAIL PROTECTED]> writes: Ted> A simple question for you guru's.. I just installed kernel Ted> 2.4.2 on a slackware system and have a problem with loading a Ted> module. It is the 8139too.o module previously the rtl8139.o. Ted> It seems that this new

Re: 2.2.19 pre13 doesn't like retransmitted SYN ACK packets

2001-03-15 Thread Zack Weinberg
On Thu, Mar 15, 2001 at 05:09:47PM -0300, Henrique de Moraes Holschuh wrote: > On Thu, 15 Mar 2001, Zack Weinberg wrote: > > 2.2.19 pre13 sends an RST in response to a retransmitted SYN ACK which > > arrives after we've sent out the final ACK of the handshake. For > > example: > > Ah, that would

Re: [util-linux] Re: magic device renumbering was -- Re: Linux 2.4.2ac20

2001-03-15 Thread Andries . Brouwer
> I've implemented a patch for util-linux-2.11a > which adds LABEL support to mkswap(8) and swapon/swapoff(8). Yes, maybe a reasonable idea. But I would prefer a somewhat more ambitious approach. My first thought was: why label individual swap partitions? I almost never want to distinguish swap

Re: pivot_root & linuxrc problem

2001-03-15 Thread Russell King
On Thu, Mar 15, 2001 at 10:11:55PM +0100, Mike Galbraith wrote: > On Thu, 15 Mar 2001, Art Boulatov wrote: > > > How can I "exec /sbin/init" from "/linuxrc", whatever it is, > > if "linuxrc" does not get PID=1? > > > > Actually, why does NOT "linuxrc" get PID=1? > > That's the question.. the fir

Re: Drvie Corruption CONSTANTLY with Linux and KT7-RAID

2001-03-15 Thread Russell King
On Thu, Mar 15, 2001 at 06:20:24AM -0800, Peter DeVries wrote: > Please help.. I'm at the end of my rope with this now. > I have rebuilt this system and corupted my drive at > least 30 times now. I have a ABIT KT7-RAID and no > matter what I do with any kernel 2.2.16 - 2.4.2-ac19 > as soon as I

Re: magic device renumbering was -- Re: Linux 2.4.2ac20

2001-03-15 Thread Mikael Pettersson
On Wed, 14 Mar 2001 12:34:06 -0700 (MST), Andreas Dilger wrote in LKML: >Lars writes: >> > Put LABEL= in you fstab in place of the device name. >> >> Which is great, for filesystems that support labels. Unfortunately, >> this isn't universally available -- for instance, you cannot mount >> a sw

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, Andrzej Krzysztofowicz wrote: > "Rik van Riel wrote:" > > total usage == maximum(swap, ram) > > Does it mean that having swaphttp://linux-mm.org/bugzilla.shtml Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose...

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Andrzej Krzysztofowicz
"Rik van Riel wrote:" > total usage == maximum(swap, ram) Does it mean that having swaphttp://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: How to optimize routing performance

2001-03-15 Thread Robert Olsson
Manfred Spraul writes: > > > > http://Linux/net-development/experiments/010313 > > > The link is broken, and I couldn't find it at www.linux.com. Did you > forget the host? Yes Sir! The profile data from the Linux production router is at: http://robur.slu.se/Linux/net-development/expe

Re: Kernel 2.4.2

2001-03-15 Thread Guennadi Liakhovetski
I do have the latest version of modutils (at least, the one required by Documentation/Changes - 2.4.2), but I still have to all the line add path=/lib/modules/`uname -r`/kernel/* to /etc/modules.conf. ONLY then it works. At least it worked until yesterday... Yesterday I found out that I can't use

Re: pivot_root & linuxrc problem

2001-03-15 Thread Mike Galbraith
On Thu, 15 Mar 2001, Art Boulatov wrote: > How can I "exec /sbin/init" from "/linuxrc", whatever it is, > if "linuxrc" does not get PID=1? > > Actually, why does NOT "linuxrc" get PID=1? That's the question.. the first task started gets pid=1, and when that is true, exec /sbin/init has no proble

Linux Patch 2.4.2 for AVM A1 PCMCIA

2001-03-15 Thread Jochen Friedrich
Hello, this patch includes the ISDN driver for AVM A1 PCMCIA from Carsten Paeth into the linux kernel sources. Without the patch, it might be confusing for a user to be able to select AVM A1 PCMCIA support for the kernel, but it still doesn't work (because the PCMCIA part is missing). Cheers, Jo

Re: State of RAID (and the infamous FastTrak100 card)

2001-03-15 Thread Thomas Dodd
Wilfried Weissmann wrote: > > Jakob Østergaard wrote: > > > So... am I just begging for pain if I try to install, say, a stock RH7 > > > on a machine with the FastTrak100 doing it's little RAID0/JBOD thing? > > > If it requires this machine to always boot from a floppy because the driver > > > ca

Re: How to optimize routing performance

2001-03-15 Thread jamal
On Thu, 15 Mar 2001, Robert Olsson wrote: > > > Jonathan Morton writes: > > > Nice. Any chance of similar functionality finding its' way outside the > > Tulip driver, eg. to 3c509 or via-rhine? I'd find those useful, since one > > or two of my Macs appear to be capable of generating pseudo

Re: State of RAID (and the infamous FastTrak100 card)

2001-03-15 Thread Wilfried Weissmann
Jakob Østergaard wrote: > > So... am I just begging for pain if I try to install, say, a stock RH7 > > on a machine with the FastTrak100 doing it's little RAID0/JBOD thing? > > If it requires this machine to always boot from a floppy because the driver > > cannot be linked into the kernel, well, I

ANNOUNCE: Journalling Flash File System, v2.

2001-03-15 Thread David Woodhouse
Well, it's been almost a week since the latest stupid bug was found in the JFFS2 code, so I suppose it's time to admit to the world that it exists. JFFS2, developed by Red Hat, is a complete reimplementation of a journalling filesystem for FLASH devices, based on the original JFFS from Axis Co

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, LA Walsh wrote: > The not reclaiming swap space is flawed in more than once > instance. I want it fixed, but don't have much time for it now. Patches are welcome, though. regards, Rik -- Linux MM bugzilla: http://linux-mm.org/bugzilla.shtml Virtual memory is like a game

RE: How to optimize routing performance

2001-03-15 Thread Jonathan Earle
> > Or are you saying that the bottleneck is somewhere > > else completely, > > Indeed. The bottleneck is with processing the incoming network > packets, at the interrupt level. Where is the counter for these dropped packets? If we run a few mbit of traffic through the box, we see noticeble p

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread LA Walsh
The not reclaiming swap space is flawed in more than once instance. Suppose my P1 and P2 have their swap reserved -- now both grow. P3 is idle but can't fit in swap. This is going to result in fragmentation no? How is this fragmentation less worse than just freeing swap. Ever since Ram sizes go

Re: 2.2.19 pre13 doesn't like retransmitted SYN ACK packets

2001-03-15 Thread Henrique de Moraes Holschuh
On Thu, 15 Mar 2001, Zack Weinberg wrote: > 2.2.19 pre13 sends an RST in response to a retransmitted SYN ACK which > arrives after we've sent out the final ACK of the handshake. For > example: Ah, that would explain the extremely crappy network conectivity I observed with 2.2.19preX, X < 17 (15

Re: How to optimize routing performance

2001-03-15 Thread Robert Olsson
Jonathan Morton writes: > Nice. Any chance of similar functionality finding its' way outside the > Tulip driver, eg. to 3c509 or via-rhine? I'd find those useful, since one > or two of my Macs appear to be capable of generating pseudo-DoS levels of > traffic under certain circumstances wh

Re: Performance is weird (fwd)

2001-03-15 Thread Manfred Spraul
I've attached a patch. I tried to trigger the problem with my 10 MBit ne2k-pci connection, but without success. Could you try it? I've tested it with -ac17, and it applies to 2.4.2 cleanly. -- Manfred --- 2.4/arch/i386/kernel/process.c Thu Feb 22 22:28:52 2001 +++ build-2.4/arch/i3

Re: Kernel 2.4.2

2001-03-15 Thread John Jasen
On Thu, 15 Mar 2001, Ted Gervais wrote: > Anyways - to get things to work, I have put added this statement to the > top of my /etc/rc.d/rc.inet1 file: > > insmod /usr/src/linux/drivers/net/8139too.o. install a later version of modutils, as the /lib/modules directory tree has changed between 2.2.

Re: How to optimize routing performance

2001-03-15 Thread J Sloan
Gregory Maxwell wrote: > The scheduler schedules tasks not interrupts. Unless it manages to thrash the > cache, the scheduler can not affect routing performance. OK, thanks for the clarification - I need to get into the source. cu Jup - To unsubscribe from this list: send the line "unsubscrib

Re: How to optimize routing performance

2001-03-15 Thread Mike Kravetz
On Thu, Mar 15, 2001 at 11:17:19AM -0800, J Sloan wrote: > Rik van Riel wrote: > > > On Thu, 15 Mar 2001, J Sloan wrote: > > > > > There are some scheduler patches that are not part of the > > > main kernel tree at this point (mostly since they have yet to > > > be optimized for the common case)

RE: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread William T Wilson
On Thu, 15 Mar 2001, Torrey Hoffman wrote: > IIRC, when this discussion of swap size first came up, the general > conclusion was NOT that you should have swap = 2 * RAM, but that you > should have swap(2.4.x) = 2 * swap(2.2.x), that is, twice as much swap > as you did under 2.2.x. it seems to me

Kernel 2.4.2

2001-03-15 Thread Ted Gervais
A simple question for you guru's.. I just installed kernel 2.4.2 on a slackware system and have a problem with loading a module. It is the 8139too.o module previously the rtl8139.o. It seems that this new driver is not being loaded with this new kernel. Obviously something has changed but I ca

Re: How to optimize routing performance

2001-03-15 Thread Gregory Maxwell
On Thu, Mar 15, 2001 at 11:17:19AM -0800, J Sloan wrote: > Rik van Riel wrote: > > On Thu, 15 Mar 2001, J Sloan wrote: > > > > > There are some scheduler patches that are not part of the > > > main kernel tree at this point (mostly since they have yet to > > > be optimized for the common case) whi

RE: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, William T Wilson wrote: > it seems to me that in 2.2.x it looks like this: > > total usage == swap + RAM > under 2.4.x it looks like: > total usage == swap total usage == maximum(swap, ram) Rik -- Linux MM bugzilla: http://linux-mm.org/bugzilla.shtml Virtual memory is li

Re: Need help with allocating a 2M buffer size

2001-03-15 Thread Kai Makisara
On Thu, 15 Mar 2001, Byron Stanoszek wrote: > I have a real picky tape drive (DLT series) that likes to be fed large chunks > of data at once, otherwise after every 2-4KB of data it halts and rewinds > itself because its cache for writing to the tape is empty. > > My best solution to this problem

Re: How to optimize routing performance

2001-03-15 Thread Jonathan Morton
> And we have done experiments with controlling interrupts and running > the RX at "lower" priority. The idea is take RX-interrupt and immediately > postponing the RX process to tasklet. The tasklet opens for new RX-ints. > when its done. This way dropping now occurs outside the box since and > d

Re: How to optimize routing performance

2001-03-15 Thread J Sloan
Rik van Riel wrote: > On Thu, 15 Mar 2001, J Sloan wrote: > > > Fun, yes, and perhaps not directly related, however > > under high load, where the sheer numbet of interrupts > > per second begins to overwhelm the kernel, might it > > not be relevant? > > No. > > > Or are you saying that the bottl

Re: How to optimize routing performance

2001-03-15 Thread J Sloan
Rik van Riel wrote: > On Thu, 15 Mar 2001, J Sloan wrote: > > > There are some scheduler patches that are not part of the > > main kernel tree at this point (mostly since they have yet to > > be optimized for the common case) which make quite a big > > difference under heavy load - you might want

Re: __lock_page calls run_task_queue(&tq_disk) unecessarily? (fwd)

2001-03-15 Thread Marcelo Tosatti
Linus, I never got I answer from you, so I'm going to ask again. Do you want this patches for 2.4 or not ? Yes, I tested them. -- Forwarded message -- Date: Mon, 19 Feb 2001 23:05:23 -0200 (BRST) From: Marcelo Tosatti <[EMAIL PROTECTED]> To: Linus Torvalds <[EMAIL PROTECTE

Re: How to optimize routing performance

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, J Sloan wrote: > Rik van Riel wrote: > > On Thu, 15 Mar 2001, J Sloan wrote: > > > > > http://lse.sourceforge.net/scheduling/ > > > > Unrelated. Fun, but unrelated to networking... > > Fun, yes, and perhaps not directly related, however > under high load, where the sheer

Re: Remote Management (was Re: Alert on LAN)

2001-03-15 Thread Chip Salzenberg
According to Terje Malmedal: > I am aware of some motherboards where you can configure the BIOS via > RS232. What I want is some way to actually reset a machine that is > hung. That's possible with VACM-style management. It's not just for BIOS. -- Chip Salzenberg - a.k.a. -

Re: How to optimize routing performance

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, J Sloan wrote: > There are some scheduler patches that are not part of the > main kernel tree at this point (mostly since they have yet to > be optimized for the common case) which make quite a big > difference under heavy load - you might want to check out: > > http://ls

Re: How to optimize routing performance

2001-03-15 Thread Robert Olsson
[Sorry for the length] Rik van Riel writes: > On Thu, 15 Mar 2001, Robert Olsson wrote: > > > CONFIG_NET_HW_FLOWCONTROL enables kernel code for it. But device > > drivers has to have support for it. But unfortunely very few drivers > > has support for it. > > Isn't it possible to put

VIA audio and parport in 2.4.2

2001-03-15 Thread Will Newton
I have a Asus K7V motherboard and a SB 128 PCI soundcard. The motherboard is vt82c686a based. The SB is a ES1371/AC97 card, seemingly identical to the onboard sound on this type of motherboard. However, the sound rarely works, and there are problems with the parport too. Sound does not work (usu

Re: Remote Management (was Re: Alert on LAN)

2001-03-15 Thread Terje Malmedal
[Chip Salzenberg] > IBM says, as quoted by Terje Malmedal: >> With the latest release, Alert on LAN 2 now extends IT >> capabilities to remotely manage and control their >> networked PCs: >> >> Remote system reboot upon report of a critical failure >> Repair Operating System >> Update BIOS ima

Re: Bug in 2.2 update_vm_cache_conditional?

2001-03-15 Thread Andrea Arcangeli
On Wed, Mar 14, 2001 at 06:49:33PM +0100, [EMAIL PROTECTED] wrote: > that manifests itself only on S/390: I guess it could trigger also on sparc. > Do you agree that this is a bug? What do you think of this fix: That's a severe bug, fix is obviously right. Andrea - To unsubscribe from this li

Re: Performance is weird (fwd)

2001-03-15 Thread Manfred Spraul
One difference between idle and a running user space app is that the kernel->user space return path checks for pending softirqs, but the ide thread doesn't. Perhaps cpu_idle() should also check for pending softirq's before hlt'ing? idle thread is running. * hw interrupt * * hw interrupt handler

Re: How to optimize routing performance

2001-03-15 Thread J Sloan
Just my .02 - There are some scheduler patches that are not part of the main kernel tree at this point (mostly since they have yet to be optimized for the common case) which make quite a big difference under heavy load - you might want to check out: http://lse.sourceforge.net/scheduling/ cu

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, James Lewis Nance wrote: > On Thu, Mar 15, 2001 at 08:26:35PM -0300, Rik van Riel wrote: > > When we swap something in from swap, it is in effect "duplicated" > > in memory and swap. Freeing the swap space of these duplicates > > will mean we have, effectively, more swap space

2.2.19 pre13 doesn't like retransmitted SYN ACK packets

2001-03-15 Thread Zack Weinberg
2.2.19 pre13 sends an RST in response to a retransmitted SYN ACK which arrives after we've sent out the final ACK of the handshake. For example: tcpdump: listening on eth0 15:15:15.075670 wolery.Stanford.EDU.1341 > plan9.bell-labs.com.www: S 1057306555:1057306555(0) win 32120 (D

Re: Network init script causes 2.2.18 kernel oops (tulip driver)

2001-03-15 Thread Jeremy Jackson
Matthew Callaway wrote: > Greetings, > > This is a reproducible oops, and my guess is that it's related to > the tulip driver included in the 2.2.18 source tree. We're using > a D-Link 4 port NIC, and it appears that it doesn't work well with > IPV6 interfaces. I have had problems with this NIC

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, Mike Harrold wrote: > 1) If a process uses swap space and then later (after being paged >into memory -- or even not) it completes, is killed, etc., is >the swap space reclaimed then? > > 2) If a process uses swap, is paged into memory, and is then swapped >out aga

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread James Lewis Nance
On Thu, Mar 15, 2001 at 08:26:35PM -0300, Rik van Riel wrote: > When we swap something in from swap, it is in effect "duplicated" > in memory and swap. Freeing the swap space of these duplicates > will mean we have, effectively, more swap space. Hi Rik, Thanks for the explanation. It brings

Re: poll() behaves differently in Linux 2.4.1 vs. Linux 2.2.14 (POLLHUP)

2001-03-15 Thread kuznet
Hello! > Sure, workarounds exist, but they just complicates > things. Working around --- what? An example of application hitting the case is enough to make me completely agreed. But genarally we are not going to match any os and even yourselves yesterday or tomorrow in the cases when behaviour

RE: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread Torrey Hoffman
IIRC, when this discussion of swap size first came up, the general conclusion was NOT that you should have swap = 2 * RAM, but that you should have swap(2.4.x) = 2 * swap(2.2.x), that is, twice as much swap as you did under 2.2.x. So if you never swapped at all under 2.2.x, you should not need

Re: How to optimize routing performance

2001-03-15 Thread Rik van Riel
On Thu, 15 Mar 2001, Robert Olsson wrote: > CONFIG_NET_HW_FLOWCONTROL enables kernel code for it. But device > drivers has to have support for it. But unfortunely very few drivers > has support for it. Isn't it possible to put something like this in the layer just above the driver ? It proba

Re: Hardware problem detection? Linux 2.4.3-pre4 lockups.

2001-03-15 Thread Chris Meadors
On Thu, 15 Mar 2001, Nathan Black wrote: > I am at a total loss, But I have found some interesting anomalies with my > hardware. That is about how I was feeling when I had similar problems. > My Current Setup: > Supermicro S370DE6 (Serverworks Chipset) > Dual PIII 866 > 2 x 256 MB PC133 ECC SDR

Re: Is swap == 2 * RAM a permanent thing?

2001-03-15 Thread christophe barbe
Ok I understand better now. So when we swap in, the place is still reserved in swap for the next time we swap off the same memory part. The swap is freed only when the owner terminates. Then when we need more memory, we need to swap off but we don't use the duplicated part. I understand that it

Network init script causes 2.2.18 kernel oops (tulip driver)

2001-03-15 Thread Matthew Callaway
Greetings, This is a reproducible oops, and my guess is that it's related to the tulip driver included in the 2.2.18 source tree. We're using a D-Link 4 port NIC, and it appears that it doesn't work well with IPV6 interfaces. Keywords: linux kernel-2.2.18 tulip D-Link 4-port NIC DFE-570 TX Re

Hardware problem detection? Linux 2.4.3-pre4 lockups.

2001-03-15 Thread Nathan Black
I am at a total loss, But I have found some interesting anomalies with my hardware. My Current Setup: Supermicro S370DE6 (Serverworks Chipset) Dual PIII 866 2 x 256 MB PC133 ECC SDRAM onboard AIC 7899 SCSI Controller. 36G,73GB Seagate Cheetah Drive. Voodoo4 4500 AGP video, Fore PCA 200e ATM

pivot_root & linuxrc problem

2001-03-15 Thread Art Boulatov
Hi, may be thats a bug, or I'm doing something really wrong :) from Documentation/initrd.txt: "# cd /new-root # mkdir initrd # pivot_root . initrd Now, the linuxrc process may still access the old root via its executable, shared libraries, standard input/output/error, and its current roo

Re: How to optimize routing performance

2001-03-15 Thread Martin Josefsson
On Thu, 15 Mar 2001, Rik van Riel wrote: > On Thu, 15 Mar 2001, [ISO-8859-1] Mårten Wikström wrote: > > > I've performed a test on the routing capacity of a Linux 2.4.2 box > > versus a FreeBSD 4.2 box. I used two Pentium Pro 200Mhz computers with > > 64Mb memory, and two DEC 100Mbit ethernet ca

  1   2   >