[PATCH] Make drivers/media compile as modules

2000-12-20 Thread Udo A. Steinberg
Hi Linus, The Makefile changes broke compiling drivers/media, such as bttv, as kernel modules. Below is the patch against test13-pre3 to fix it. Please apply. -Udo. --- /sources/linux/drivers/media/Makefile Thu Dec 21 08:17:17 2000 +++ /usr/src/linux/drivers/media/Makefile Thu Dec

[PATCH] swap write clustering

2000-12-20 Thread Marcelo Tosatti
Hi, Basically this new swap_writepage function looks for dirty swapcache pages which may be contiguous (reverse and forward searching wrt to the physical address of the page being passed to swap_writepage) and builds a page list which is written "at once". The patch is against test13pre3. Co

Re: iptables: "stateful inspection?"

2000-12-20 Thread George
On Wed, 20 Dec 2000, Michael Rothwell wrote: >"Michael H. Warfield" wrote: >> I think that's more than a little overstatement on your >> part. It depends entirely on the application you intend to put >> it to. > >Fine. How do I make FTP work through it? How can I allow all outgoing >TCP

Re: Strange warnings about .modinfo when compiling 2.2.18 on Alpha

2000-12-20 Thread Keith Owens
On Tue, 19 Dec 2000 15:20:17 GMT, Jesper Juhl <[EMAIL PROTECTED]> wrote: >I just compiled 2.2.18 for my AlphaServer 400 4/233, and noticed a lot of >messages like the following during the compile, they all contain the >'Ignoring changed section attributes for .modinfo' part: The way .modinfo i

Re: usb + smp + 2.4.0test = pci irq routing problem?

2000-12-20 Thread Greg KH
On Wed, Dec 20, 2000 at 02:06:12PM -0500, Pete Toscano wrote: > hello, > > i've been working with johannes erdfelt in fixing a problem with usb > on my machine. it's a dual pentium 3 system on a tyan tiger 133 mobo > (via apollo pro 133a chipset). basically, usb works when i don't > enable smp o

Bug: 2.4.0-test12 w/ PCMCIA on ThinkPad: KERNEL: assertion(dev->ip_ptr==NULL)failed at dev.c(2422):netdev_finish_unregister

2000-12-20 Thread Thomas Hood
2.4.0-test12 compiled on an IBM ThinkPad 600 51U (Pentium II) with PCMCIA support. Same behavior with Linus PCMCIA and Hinds PCMCIA. I have a Xircom modem/ethernet card which works correctly using the serial_cs, xirc2ps_cs, ds, i82365 and pcmcia_core modules; however when I try to "cardctl eje

Re: Extreme IDE slowdown with 2.2.18

2000-12-20 Thread Mike A. Harris
On Thu, 21 Dec 2000, Alan Cox wrote: >Date: Thu, 21 Dec 2000 00:49:45 + (GMT) >From: Alan Cox <[EMAIL PROTECTED]> >To: Julian Anastasov <[EMAIL PROTECTED]> >Cc: Robert Högberg <[EMAIL PROTECTED]>, > linux-kernel <[EMAIL PROTECTED]> >Content-Type: text/plain; charset=us-ascii >Subject: Re:

Re: Extreme IDE slowdown with 2.2.18

2000-12-20 Thread Mike A. Harris
On Wed, 20 Dec 2000, Julian Anastasov wrote: >> hda: QUANTUM FIREBALL ST6.4A, 6149MB w/81kB Cache, CHS=784/255/63 >> hdb: QUANTUM FIREBALL SE4.3A, 4110MB w/80kB Cache, CHS=524/255/63 >> hdc: IBM-DJNA-352030, 19470MB w/1966kB Cache, CHS=39560/16/63 >> >> When I performed the tests I used similiar

Re: CPU attachent and detachment in a running Linux system

2000-12-20 Thread Anton Blanchard
> That's a good point and it would probably work for attachment of cpus, but > it won't work for detachment because there are some data structures that > need to be updated if a cpu gets detached. For example it would be nice > to flush the per-cpu cache of the detached cpu in the slabcache. The

Re: [NFS] kNFSd maintenance in 2.2.19pre

2000-12-20 Thread Jay Weber
Hi Neil, This sounds good. Any plans on implementing a backport of the nfs filesystem layer for handling inodes that you put together for 2.4. Ie.. the code that reiserfs uses in 2.4 to properly work with knfsd and inode issues. On Thu, 21 Dec 2000, Neil Brown wrote: > > Greeting all. > >

Re: fs corruption in 2.4.0-test11?

2000-12-20 Thread David Weinehall
On Wed, Dec 20, 2000 at 04:47:42PM -0800, Larry McVoy wrote: > I just need a sanity check - do other pages/blocks sometimes show up in > recently created files in 2.4.0-test11? Mmmm. Yes. I think the final fixes for this went into v2.4.0-test12pre5, but since there's a test13-pre3 out that needs

Re: Laptop system clock slow after suspend to disk. (2.4.0-test9/hinote VP)

2000-12-20 Thread Douglas Gilbert
Ian Stirling <[EMAIL PROTECTED]> wrote: > I've not noticed this on earlier kernel versions, is there something > silly I'm missing that's making my DEC hinote VP (p100 laptop)s > system clock slow by a factor of five or so after resume? > Not the CPU or cmos clock, only the system clock. > Thoug

Re: iptables: "stateful inspection?"

2000-12-20 Thread Michael Rothwell
Alan Cox wrote: > There have been at least five holes found in pile that _could_ have been > [speech] > safe is the day you end up hurt. Your specific example of an executable (windows) attachment, not buffer overflows, etc. what what I was replying to. In general, you are correct. Now, how abou

Laptop system clock slow after suspend to disk. (2.4.0-test9/hinote VP)

2000-12-20 Thread Ian Stirling
I've not noticed this on earlier kernel versions, is there something silly I'm missing that's making my DEC hinote VP (p100 laptop)s system clock slow by a factor of five or so after resume? Not the CPU or cmos clock, only the system clock. Thoughts welcome. - To unsubscribe from this list: send

kNFSd maintenance in 2.2.19pre

2000-12-20 Thread Neil Brown
Greeting all. Now that 2.2.18 is out with all the nfs (client and server) patches that we were waiting for for so long, it is time to look at on-going maintenance for knfsd. There are already a couple of issues that have come up and it is quite possible that more will arise as the user-bas

PANIC: reproducable with nfs, lynx and kernel 2.4.0-test12

2000-12-20 Thread Thomas Habets
-BEGIN PGP SIGNED MESSAGE- I'm not on the list, send private for more info I got a kernel panic with 2.4.0-test12 on a p90 with 24 MB RAM. It's a newly installed debian potato. What I do to trigger the panic is: mount otherbox:/export /mnt cd /mnt lynx www.pgpi.com [ i click to download

Re: CPRM copy protection for ATA drives

2000-12-20 Thread Alan Cox
> Does anyone have any details on this? I presume that the drive > firmware is capable of identifying copy-protected data during > a write. I also presume that nobody on lkml would condone It seems to be very similar to the DVD stuff, including ideas for play once only blocks and the like. Pay pe

fs corruption in 2.4.0-test11?

2000-12-20 Thread Larry McVoy
I just need a sanity check - do other pages/blocks sometimes show up in recently created files in 2.4.0-test11? I have a (so far) non-reproducible case where the wrong data showed up in a new file. The nice part is that it was when I was imploding a large BitKeeper patch so I can run the test ca

Re: Extreme IDE slowdown with 2.2.18

2000-12-20 Thread Alan Cox
> > known problem with the 2.2.18 kernel? > > Yes, 2.2.18 is not friendly to all MVP3 users. The autodma > detection was disabled for the all *VP3 users in drivers/block/ide-pci.= > c. Because it was causing disk corruption for some people. It took a lot of tracking down and I want the sh

Re: iptables: "stateful inspection?"

2000-12-20 Thread Alan Cox
> Alan Cox wrote: > > It does SYN checking. If you are running 'serious' security you wouldnt be > > allowing outgoing connections anyway. One windows christmascard.exe virus that > > connects back to an irc server to take input and you are hosed. > > Thankfully, pine and mutt are, to date, immun

emu10k1 and 8139oo with 2.4.0test13pre3

2000-12-20 Thread Jan Dittmer
Hello, I'm using the emu10k1 module with my SB Live. This works quite fine, but I cannot switch the recording channel. This worked with 2.2.17. Now volume works, but selecting the input channel not anymore. is anyone else experiencing this problem , or don't i just get the right setting? second,

Re: [Patch] performance enhancement for simple_strtoul

2000-12-20 Thread Jamie Lokier
Steve Grubb wrote: > It seems gcc creates much better code with the variables set to register > types. Curious. GCC should be generating the same code regardless; ah well. Is strtoul actually used in the kernel other than for the occasional (rare) write to /proc/sys and parsing boot options? >

Re: tighter compression for x86 kernels

2000-12-20 Thread Jens =?ISO-8859-1?Q?M=FCller
- Original Message - From: "Frank v Waveren" <[EMAIL PROTECTED]> To: "Adrian Bunk" <[EMAIL PROTECTED]> Cc: "John Reiser" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, December 21, 2000 12:22 AM Subject: Re: tighter compression for x86 kernels > Seems GPL2 to me. I haven't rea

CPRM copy protection for ATA drives

2000-12-20 Thread lk
I read this article on theregister today: http://www.theregister.co.uk/content/2/15620.html Does anyone have any details on this? I presume that the drive firmware is capable of identifying copy-protected data during a write. I also presume that nobody on lkml would condone such a terrible idea. I

Re: tighter compression for x86 kernels

2000-12-20 Thread Frank v Waveren
On Thu, Dec 21, 2000 at 12:15:13AM +0100, Adrian Bunk wrote: > > Both source (GPLv2) and pre-compiled binary for x86 are available. >^ > That's not true. Read > http://wildsau.idv.uni-linz.ac.at/mfx/upx-license.html >From that page: UPX and the UCL library are free softw

Re: tighter compression for x86 kernels

2000-12-20 Thread Adrian Bunk
On Wed, 20 Dec 2000, John Reiser wrote: > Beta release v1.11 of the UPX executable compressor http://upx.tsx.org > offers new, tighter re-compression of compressed Linux kernels for x86. > Additional space savings of about 15% have been seen using > "upx --best vmlinuz" (example: 617431 ==> 52509

tighter compression for x86 kernels

2000-12-20 Thread John Reiser
Beta release v1.11 of the UPX executable compressor http://upx.tsx.org offers new, tighter re-compression of compressed Linux kernels for x86. Additional space savings of about 15% have been seen using "upx --best vmlinuz" (example: 617431 ==> 525099, saving 92332 bytes). Both source (GPLv2) and p

Re: iptables: "stateful inspection?"

2000-12-20 Thread Dax Kelson
Michael Rothwell said once upon a time (Wed, 20 Dec 2000): > Alan Cox wrote: > > > It does SYN checking. If you are running 'serious' security you wouldnt be > > allowing outgoing connections anyway. One windows christmascard.exe virus that > > connects back to an irc server to take input and you

Re: PCMCIA modem (v.90 X2) not working with 2.4.0-test12 PCMCIA services

2000-12-20 Thread Jeff V. Merkey
On Wed, Dec 20, 2000 at 04:33:04AM -0800, David Hinds wrote: > On Wed, Dec 20, 2000 at 12:10:41PM -0700, Jeff V. Merkey wrote: > > On Tue, Dec 19, 2000 at 05:05:16PM -0700, Jeff V. Merkey wrote: > > > > Do you think there's a solution for this problem. Sorry for bothering > > you again. I'm av

Re: 2.4.0-test12-pre7 shutdowns and eepro100 woes

2000-12-20 Thread Dragan Stancevic
On Tue, Dec 12, 2000, Andrey Savochkin <[EMAIL PROTECTED]> wrote: ; To answer your question in short, yet, we hope to fix the problem sooner or ; later. I added the print out of the message to see in what state was the card being left after it was wedged. The card seems to be locking up with un

Re: [PATCH] fix emu10k1 init breakage in 2.2.18

2000-12-20 Thread kees
Hello, The patch indeed solves the problem with EMU10K. It now works well except from the fact that the trebble and bass controls still have been vanished. Thanks for the patch. Kees BTW could it be something simular for es1371?. This also fails with 2.2.18 - To unsubscribe from this list: se

Re: Announce: modutils 2.3.23 is available

2000-12-20 Thread Keith Owens
On Wed, 20 Dec 2000 10:31:12 +0100, Christian Gennerat <[EMAIL PROTECTED]> wrote: >About Standard aliases: >> modprobe -c >... >alias ppp-compress-21 bsd_comp >... > >Why bsd_comp is the standard alias? You should also have alias ppp-compress-24 ppp_deflate alias ppp-compress-26 ppp_deflate The

Re: Extreme IDE slowdown with 2.2.18

2000-12-20 Thread Julian Anastasov
Hello, On Wed, 20 Dec 2000, Robert HÃgberg wrote: > hda: QUANTUM FIREBALL ST6.4A, 6149MB w/81kB Cache, CHS=784/255/63 > hdb: QUANTUM FIREBALL SE4.3A, 4110MB w/80kB Cache, CHS=524/255/63 > hdc: IBM-DJNA-352030, 19470MB w/1966kB Cache, CHS=39560/16/63 > > When I performed the tests I used

Re: [2.2.18] VM: do_try_to_free_pages failed

2000-12-20 Thread Chris Mason
On Wednesday, December 20, 2000 13:03:00 +0100 Matthias Andree <[EMAIL PROTECTED]> wrote: > Last night, one of your production machines got wedged, I caught a lot > of kernel: VM: do_try_to_free_pages failed for ... for a whole range of > processes, among them ypbind, klogd, syslogd, xntpd, cro

Re: iptables: "stateful inspection?"

2000-12-20 Thread Michael Rothwell
Alan Cox wrote: > It does SYN checking. If you are running 'serious' security you wouldnt be > allowing outgoing connections anyway. One windows christmascard.exe virus that > connects back to an irc server to take input and you are hosed. Thankfully, pine and mutt are, to date, immune to that k

Re: iptables: "stateful inspection?"

2000-12-20 Thread Alan Cox
> "Michael H. Warfield" wrote: > > I think that's more than a little overstatement on your > > part. It depends entirely on the application you intend to put > > it to. > > Fine. How do I make FTP work through it? How can I allow all outgoing Passive mode or a proxy. > TCP connectio

Re: 2.2.18: Thread problem with smbfs

2000-12-20 Thread Hans-Joachim Baader
Hi, Urban Widmark wrote: > I don't really know how signal delivery works within the kernel, but > smb_trans2_request tries to disable some signals. That does not work > (completely?) so either it needs fixing or the -512 errno needs to be > handled. > > Why so bad in gdb? perhaps it causes more

2.4.0-test13-pre3 drivers/char/Makefile and CONFIG_DRM_MGA=m

2000-12-20 Thread Wayne Whitney
Hello, When I use 'make menuconfig' on 2.4.0-test13-pre3 to select DRM and the Matrox DRM driver as a module, I get a .config with CONFIG_DRM=y and CONFIG_DRM_MGA=m. However, this causes drivers/char/Makefile to skip the drm subdirectory when compiling modules: its only reference to CONFIG_DRM

Re: Extreme IDE slowdown with 2.2.18

2000-12-20 Thread Rob Adamson
On Wed, 20 Dec 2000, Robert Högberg wrote: > I'm having problems with the performance of my harddrives after I > upgraded my kernel from 2.2.17 to 2.2.18. > The performancedrop is noticable on every IDE drive. [snip] > Does anyone know what could be wrong? Have I forgot something? Is this a > kn

Re: Startup IPI (was: Re: test13-pre3)

2000-12-20 Thread Petr Vandrovec
On 20 Dec 00 at 19:52, Maciej W. Rozycki wrote: > > it kills machine; only problem is that 0x1300 wr-rd cycles to VGA apperture > > take 3.48ms, and this does not correspond with needed 200us udelay. > > Hmm, how do you calculate the time? Assuming AGP4x runs at 133MHz and a > read or write cyc

usb + smp + 2.4.0test = pci irq routing problem?

2000-12-20 Thread Pete Toscano
hello, i've been working with johannes erdfelt in fixing a problem with usb on my machine. it's a dual pentium 3 system on a tyan tiger 133 mobo (via apollo pro 133a chipset). basically, usb works when i don't enable smp or when i disable apic on smp-enabled kernels. he believes that we're see

memmove() in 2.4.0-test12, alpha platform

2000-12-20 Thread Alexander Zarochentcev
Hello ! New (since test12) optimized memmove function seems to be broken on alpha platform. If dest and src arguments are misaligned, new memmove does wrong things. example: static char p[] = "abcdefghijklmnopkrstuvwxyz01234567890"; memmove(p + 2, p + 13, 17); p

Re: Startup IPI (was: Re: test13-pre3)

2000-12-20 Thread Maciej W. Rozycki
On Tue, 19 Dec 2000, Petr Vandrovec wrote: > I did... So it uses 'xchg %eax,APIC_ICR' instead of 'movl %eax,APIC_ICR', > yes (as verified in generated code...)? No change, still dies, as expected > (do not forget that before it dies, it can do ~0x1300 write-read cycles I've forgotten indeed...

Problems with ToPIC97 reappear between test10 and test13pre2

2000-12-20 Thread Jens Taprogge
I sent a similar message earlier, but it has not shown up on linux-kernel so I guess something went wrong... I am starting to have problems again with the Cardbus controller somewhere inbetween 2.4.0-test10 (works) and 2.4.0-test13-pre2 (fails). The problem shows as follows: When I boot the ker

Re: [Patch] performance enhancement for simple_strtoul

2000-12-20 Thread Steve Grubb
Hello, I continued experimenting with the Test Case and found a further speed improvement & I am re-submiting the patch. It is the same as the first one with the two local variables changed to register storage types. On a K6-2, I now see: Base 10 - 28% speedup Base 16 - 24% speedup Base 8 - 30%

Re: iptables: "stateful inspection?"

2000-12-20 Thread Michael H. Warfield
Hello all! On Wed, Dec 20, 2000 at 01:08:07PM -0500, Michael H. Warfield wrote: > On Wed, Dec 20, 2000 at 12:52:27PM -0500, Michael Rothwell wrote: > > "Michael H. Warfield" wrote: > > > You can use spf to add some stateful inspection for PORT mode > > > ftp. Personally, I like the masq

Re: PCMCIA modem (v.90 X2) not working with 2.4.0-test12 PCMCIA services

2000-12-20 Thread David Hinds
On Wed, Dec 20, 2000 at 12:10:41PM -0700, Jeff V. Merkey wrote: > On Tue, Dec 19, 2000 at 05:05:16PM -0700, Jeff V. Merkey wrote: > > Do you think there's a solution for this problem. Sorry for bothering > you again. I'm available if you need some help retesting and fixes. I do not have a sol

Re: Linux 2.2.19pre2

2000-12-20 Thread Andrea Arcangeli
On Wed, Dec 20, 2000 at 03:48:06PM -0200, Rik van Riel wrote: > On Wed, 20 Dec 2000, Andrea Arcangeli wrote: > > On Thu, Dec 21, 2000 at 01:57:15AM +1100, Andrew Morton wrote: > > > If a task is on two waitqueues at the same time it becomes a bug: > > > if the outer waitqueue is non-exclusive and

Re: PCMCIA modem (v.90 X2) not working with 2.4.0-test12 PCMCIA services

2000-12-20 Thread Jeff V. Merkey
On Tue, Dec 19, 2000 at 05:05:16PM -0700, Jeff V. Merkey wrote: David, Do you think there's a solution for this problem. Sorry for bothering you again. I'm available if you need some help retesting and fixes. :-) Jeff > On Tue, Dec 19, 2000 at 01:51:14PM -0800, David Hinds wrote: > > On T

Re: iptables: "stateful inspection?"

2000-12-20 Thread Michael H. Warfield
On Wed, Dec 20, 2000 at 12:52:27PM -0500, Michael Rothwell wrote: > "Michael H. Warfield" wrote: > > You can use spf to add some stateful inspection for PORT mode > > ftp. Personally, I like the masquerading option better, though. > Can you give an example of using MASQ selectively? I h

Re: /dev/random: really secure?

2000-12-20 Thread Jamie Lokier
Bernd Eckenfels wrote: > In article <[EMAIL PROTECTED]> you wrote: > > A potential weakness. The entropy estimator can be manipulated by > > feeding data which looks random to the estimator, but which is in fact > > not random at all. > > That's why feeding randomness is a priveledgedoperation.

Re: 2.2.19/2.4.0-test and usbdevfs

2000-12-20 Thread Thomas Sailer
> modprobe: modprobe: Can't locate module usbdevfs > mount: fs type usbdevfs not supported by kernel Add: alias usbdevfs usbcore to /etc/modules.conf Tom - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ

sm56 modem driver installation help

2000-12-20 Thread Madan A S
IMP:please reply me my mail address and not to the vger.kernel.org I used the follwing to setup the modem driver from motorola, afterinstalling rpm thru Kpackagedepmod -aln -sf /dev/ttyEo /dev/modemmknod /dev/motomem c 28 0The query in kppp says, "Sor

Re: Linux 2.2.19pre2

2000-12-20 Thread Rik van Riel
On Wed, 20 Dec 2000, Andrea Arcangeli wrote: > On Thu, Dec 21, 2000 at 01:57:15AM +1100, Andrew Morton wrote: > > If a task is on two waitqueues at the same time it becomes a bug: > > if the outer waitqueue is non-exclusive and the inner is exclusive, > > Your 2.2.x won't allow that either. You s

Re: iptables: "stateful inspection?"

2000-12-20 Thread Michael Rothwell
"Michael H. Warfield" wrote: > You can use spf to add some stateful inspection for PORT mode > ftp. Personally, I like the masquerading option better, though. Can you give an example of using MASQ selectively? I have real addresses on both sides of the firewall, but want things like FTP

Re: 2.2.18 question (fh_lock_parent)

2000-12-20 Thread Michael J. Dikkema
Apparently in the init scripts, sendmail starts before mounting /dev/sda1 .. but it never happened before changing kernels.. that's why it was using nfs instead of the scsi disk. (I'm smrt.) Thanks for the help though. :) ,.;:: : Michael J. Dikkema | Systems / Network Admin - Internet Solutions

Re: getsockopt() with IP_PKTINFO not working?

2000-12-20 Thread Andi Kleen
On Wed, Dec 20, 2000 at 05:44:34PM +0100, Cord Seele wrote: > I am trying to get the destination address of an incoming udp packet > with getsockopt(). > According to the man pages flag IP_PKTINFO should do that. But it > doesn't work: > > struct in_pktinfo pktinfo; > socklen_t op

Re: iptables: "stateful inspection?"

2000-12-20 Thread Michael H. Warfield
On Wed, Dec 20, 2000 at 08:51:34AM -0800, David Lang wrote: > On Wed, 20 Dec 2000, Michael Rothwell wrote: > > Date: Wed, 20 Dec 2000 11:30:15 -0500 > > From: Michael Rothwell <[EMAIL PROTECTED]> > > To: Michael H. Warfield <[EMAIL PROTECTED]> > > Cc: [EMAIL PROTECTED] > > Subject: Re: iptables:

Re: iptables: "stateful inspection?"

2000-12-20 Thread Michael H. Warfield
On Wed, Dec 20, 2000 at 11:30:15AM -0500, Michael Rothwell wrote: > "Michael H. Warfield" wrote: > > I think that's more than a little overstatement on your > > part. It depends entirely on the application you intend to put > > it to. > Fine. How do I make FTP work through it? How can

panic with squid's pinger

2000-12-20 Thread PALFFY Daniel
Hi! Reproducible panic when squid gets the first request. Always at the same place in the pinger process. test12, test13-pre3 fail, but test12 runs fine on another machine with nearly the same config (netcard and disk drivers differ, and the failing machine has devfs). Hardware: Compaq proliant

Re: iptables: "stateful inspection?"

2000-12-20 Thread David Lang
On Wed, 20 Dec 2000, Michael Rothwell wrote: > Date: Wed, 20 Dec 2000 11:30:15 -0500 > From: Michael Rothwell <[EMAIL PROTECTED]> > To: Michael H. Warfield <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: iptables: "stateful inspection?" > > "Michael H. Warfield" wrote: > > I th

getsockopt() with IP_PKTINFO not working?

2000-12-20 Thread Cord Seele
I am trying to get the destination address of an incoming udp packet with getsockopt(). According to the man pages flag IP_PKTINFO should do that. But it doesn't work: struct in_pktinfo pktinfo; socklen_t optlen; struct in_addr local_addr; optlen=(socklen_t)sizeof

Extreme IDE slowdown with 2.2.18

2000-12-20 Thread Robert Högberg
Hello, I'm having problems with the performance of my harddrives after I upgraded my kernel from 2.2.17 to 2.2.18. The performancedrop is noticable on every IDE drive. Here are some numbers to show what I mean: 2.2.17: /dev/hdc: Timing buffered disk reads: 64 MB in 4.32 seconds =14.81 MB/sec

Re: [Patch] performance enhancement for simple_strtoul

2000-12-20 Thread Steve Grubb
Hello, I thought about that. This would be my recommendation for glibc where the general public may be doing scientific applications. But this is the kernel and there are people that would reject my patch purely on the basis that it adds precious bytes to the kernel. But since the kernel is "cont

Re: iptables: "stateful inspection?"

2000-12-20 Thread Michael Rothwell
"Michael H. Warfield" wrote: > I think that's more than a little overstatement on your > part. It depends entirely on the application you intend to put > it to. Fine. How do I make FTP work through it? How can I allow all outgoing TCP connections without opening the network to inbound

Re: iptables: "stateful inspection?"

2000-12-20 Thread Michael H. Warfield
On Wed, Dec 20, 2000 at 11:18:10AM -0500, Michael Rothwell wrote: > IPChains is essentially useless as a firewall due to its lack of I think that's more than a little overstatement on your part. It depends entirely on the application you intend to put it to. It may be entirely useless T

iptables: "stateful inspection?"

2000-12-20 Thread Michael Rothwell
IPChains is essentially useless as a firewall due to its lack of stateful packet filering. Will the IPTables code in 2.4 maintain connection state? -M - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at htt

Re: [Patch] performance enhancement for simple_strtoul

2000-12-20 Thread Jeff Epler
On Wed, Dec 20, 2000 at 09:09:03AM -0500, Steve Grubb wrote: > Hello, > > The following patch is a faster implementation of the simple_strtoul > function. [snip] Why not preserve the existing code for bases other than 8, 10, and 16? Admittedly, the only other case that is likely to be used would

[PATCH] ne2k-pci

2000-12-20 Thread J . A . Magallon
[Sorry if this message is dup. I sent it to the list but did not see it, so I think this was a problem with my mailer or ISP] This is a port of the new 1.02 features of the ne2k-pci driver to kernel 2.2.18. Reviewed by Donald Becker, and tested on 2.2.18, 19-pre1 and pre2. New features: - module

Anyone have an OXSEMI PCI parallel port card?

2000-12-20 Thread Tim Waugh
Does anyone have an OXSEMI PCI parallel port PCI card with device id 0x9513 (i.e. an OXSEMI 16PCI954)? I'd like to get them to try out something.. Thanks, Tim. */ PGP signature

Re: Oops with 2.4.0-test13pre3 - swapoff

2000-12-20 Thread Zdenek Kabelac
> Zdenek Kabelac wrote: > > This is oops I've got when rebooting after some heavy disk activity on > > my SMP system: > > > > Written by hand: > > > > kernel BUG swap_state.c:78! > [snip] > > Same here during a halt of a RH 6.2 based K6-2 500 MHz > UP machine running lk240t13p3. The machine had

Re: 2.2.18 question (fh_lock_parent)

2000-12-20 Thread Michael J. Dikkema
On Wed, 20 Dec 2000, Neil Brown wrote: > On Tuesday December 19, [EMAIL PROTECTED] wrote: > > > > I've been getting tonnes of these since I installed 2.2.18. Is this a > > problem? Should I even worry about this? If I don't need to worry about > > it, is there a way to stop displaying this messa

Re: Linux 2.2.19pre2

2000-12-20 Thread Andrea Arcangeli
On Thu, Dec 21, 2000 at 01:57:15AM +1100, Andrew Morton wrote: > If a task is on two waitqueues at the same time it becomes a bug: > if the outer waitqueue is non-exclusive and the inner is exclusive, Your 2.2.x won't allow that either. You set the `current->task_exclusive = 1' and so you will ge

[Test Case] performance enhancement for simple_strtoul

2000-12-20 Thread Steve Grubb
Hello, Here's the test case for the suggested simple_strtoul function. I just finished testing on a P3 where it seems to show a 16-20% speed improvement over the current algorithm. compile it as: gcc /usr/src/linux/lib/ctype.c strtoul_test.c -o strtoul_test You can change the numeric base val

Re: [2.2.18] VM: do_try_to_free_pages failed

2000-12-20 Thread Matthias Andree
On Wed, 20 Dec 2000, Alan Cox wrote: > > How can I get rid of those do_try_to_free_pages lockups? That box > > exports root file systems for some SparcStation 2 that are used as X > > terminals, so it's pretty important I keep that box running. > > > > Should I try the most recent 2.2.19-pre? >

Weird vmstat reports in 2.2.18

2000-12-20 Thread albertogli
I'm getting some strange reports with vmstat on a dual iPPro running 2.2.18, it doesnt happen very frequently, but i see it a lot when compiling something (kernel and mysql specially, not when compiling small stuff), though it doesnt look like a high-load issue. When the machine is idle (ie. mos

Re: Linux 2.2.19pre2

2000-12-20 Thread Andrew Morton
Andrea Arcangeli wrote: > > > o wake_one semantics for accept() (Andrew Morton) > > I dislike the implementation. I stick with my faster and nicer implementation > that was just included in aa kernels for some time (2.2.18aa2 included it for > example). Andrew, I guess you di

Re: Oops with 2.4.0-test13pre3 - swapoff

2000-12-20 Thread Douglas Gilbert
Zdenek Kabelac wrote: > This is oops I've got when rebooting after some heavy disk activity on > my SMP system: > > Written by hand: > > kernel BUG swap_state.c:78! [snip] Same here during a halt of a RH 6.2 based K6-2 500 MHz UP machine running lk240t13p3. The machine had been on for a while a

[Patch] performance enhancement for simple_strtoul

2000-12-20 Thread Steve Grubb
Hello, The following patch is a faster implementation of the simple_strtoul function. This function differs from the original in that it reduces the multiplies to shifts and logical operations wherever possible. My testing shows that it adds around 100 bytes, but is about 6% faster on a K6-2. (It

Re: Linux 2.2.19pre2

2000-12-20 Thread Andrea Arcangeli
On Sat, Dec 16, 2000 at 07:11:47PM +, Alan Cox wrote: > o E820 memory detect backport from 2.4(Michael Chen) It's broken, it will crash machines: for (i = 0; i < e820.nr_map; i++) { unsigned long start, end; /* RAM? */ if (e

Re: [2.2.18] VM: do_try_to_free_pages failed

2000-12-20 Thread Alan Cox
> How can I get rid of those do_try_to_free_pages lockups? That box > exports root file systems for some SparcStation 2 that are used as X > terminals, so it's pretty important I keep that box running. > > Should I try the most recent 2.2.19-pre? 2.2.19pre2 should resolve that problem - To uns

2.2.19/2.4.0-test and usbdevfs

2000-12-20 Thread f5ibh
Hi ! I use the usb bus. Mostly it is for a mouse and today, I have installed a scanner. I've read the documentation (yes!) in /usr/src/linux/Documentation/usb/scanner.txt There is a mention about the usbdevfs and an advice to add a line in /etc/fstab. I have added the line "none /proc/b

possible pty DoS

2000-12-20 Thread berndj
hello all I am not subscribed to linux-kernel*; please CC any follow-ups to [EMAIL PROTECTED] (I probably won't reply from 2000-12-22 to 2001-01-07) I am running 2.4.0-test12-pre2 This snippet can prevent progress of any other processes that tries to do a write to a pty: #

Re: [2.2.18] VM: do_try_to_free_pages failed

2000-12-20 Thread Ville Herva
On Wed, Dec 20, 2000 at 01:03:00PM +0100, you [Matthias Andree] claimed: > Last night, one of your production machines got wedged, I caught a lot > of kernel: VM: do_try_to_free_pages failed for ... for a whole range of > processes, among them ypbind, klogd, syslogd, xntpd, cron, nscd, X, > How ca

[2.2.18] VM: do_try_to_free_pages failed

2000-12-20 Thread Matthias Andree
Last night, one of your production machines got wedged, I caught a lot of kernel: VM: do_try_to_free_pages failed for ... for a whole range of processes, among them ypbind, klogd, syslogd, xntpd, cron, nscd, X, master (Postfix super daemon), pvmd3, K applications and so on, I was unable to log in

Re: TCP/IP kernel modification

2000-12-20 Thread Olaf Titz
> i.e after the kernel calls ip_route_output() and > ip_route_output_slow() and fails to find a match, i > need the kernel to somehow "hook-up" with a > process/daemon(routing protocol) and access a user > route cache there. You may try this: http://sites.inka.de/~bigred/sw/rrouted.txt> Olaf - T

Re: Linux 2.2.19pre2

2000-12-20 Thread Kurt Garloff
On Wed, Dec 20, 2000 at 12:32:54PM +0200, Petri Kaukasoina wrote: > OK, I booted 2.4.0-test12 which even prints that list: > > BIOS-provided physical RAM map: > BIOS-e820: 0009fc00 @ (usable) > BIOS-e820: 0400 @ 0009fc00 (reserved) > BIOS-e820:

Re: Linux 2.2.19pre2

2000-12-20 Thread Petri Kaukasoina
On Sun, Dec 17, 2000 at 04:38:02PM +0100, Kurt Garloff wrote: > On Sun, Dec 17, 2000 at 12:56:56PM +0200, Petri Kaukasoina wrote: > > I guess the new memory detect does not work correctly with my old work > > horse. It is a 100 MHz pentium with 56 Megs RAM. AMIBIOS dated 10/10/94 with > > a versio

Re: Purging the Buffer Cache

2000-12-20 Thread Juri Haberland
Al Peat wrote: > > Is there any way to completely purge the buffer > cache -- not just the write requests (ala 'sync' or > 'update'), but the whole thing? Can I just call > invalidate_buffers() or destroy_buffers()? > > I know, why in the world would a person do such a > thing? Research.

Re: [PATCH] fix emu10k1 init breakage in 2.2.18

2000-12-20 Thread Juri Haberland
"Andreas M. Kirchwitz" wrote: > > Mikael Pettersson wrote: > > > 2.2.18 broke the emu10k1 driver when compiled into the kernel. > > The problem is that 2.2.18 now implements 2.4-style module_init, > > so emu10k1 ended up being initialised twice when built non-modular, > > which rendered it d

Re: Announce: modutils 2.3.23 is available

2000-12-20 Thread Nicholas Miell
Christian Gennerat wrote: > > About Standard aliases: > > modprobe -c > ... > alias ppp-compress-21 bsd_comp > ... > > Why bsd_comp is the standard alias? > /src/linux/Configure.help says that > > The PPP Deflate compression method ("PPP Deflate compression", > above) is preferable to BSD-Com

Re: Announce: modutils 2.3.23 is available

2000-12-20 Thread Christian Gennerat
About Standard aliases: > modprobe -c ... alias ppp-compress-21 bsd_comp ... Why bsd_comp is the standard alias? /src/linux/Configure.help says that The PPP Deflate compression method ("PPP Deflate compression", above) is preferable to BSD-Compress, because it compresses better and is patent

Re: [Acpi] 2.4.0-test13pre3 acpi circular dependency

2000-12-20 Thread Adam J. Richter
The following fixes a circular depency problem between drivers/acpi/ and arch/{i386,ia64}/kernel/acpi.c. I think the problem only occurs if you manually tweak the build to make acpi.o as a module, but it still should be fixed. This patch also fixes the Makefiles in drivers/acpi so that

Re: PROBLEM: mounting affs over loop hangs in syscall (x86 only?)

2000-12-20 Thread Roman Zippel
Hi, On Mon, 18 Dec 2000, Bernardo Innocenti wrote: > [1.] One line summary of the problem: > mounting affs over loop hangs in syscall (x86 only?) affs plays some games with the suberblock lock, I have a patch that plays even worse games, but it works. I hope to finish a major cleanup of affs ov

Re: kapm-idled : is this a bug?

2000-12-20 Thread Pavel Machek
Hi! > > How about adding a flag to FLAGS, or a new letter in STATE in > > /proc/pid/stat, to mean "this is an idle task"? > > > > ps & top could easily by taught to recognise the flag. > > What's the problem with using PID 0 as the idle task ? That's 'standard' > with OS'ses that display the id