X15 alpha release: as fast as TUX but in user space

2001-04-28 Thread Ingo Molnar
On Fri, 27 Apr 2001, Fabio Riccardi wrote: > I'd like to announce the first release of X15 Alpha 1, a _user space_ > web server that is as fast as TUX. great, the first TUX clone! ;-) This should put the accusations to rest that Linux got the outstandingly high SPECweb99 scores only because th

Re: Question regarding kernel threads and userlevel

2001-04-28 Thread Anton Altaparmakov
At 01:42 28/04/2001, Steffen Persvold wrote: >I have a question regarding kernel threads : Are kernel threads treated >equally in terms of scheduling as normal userlevel processes ?? I'm sure someone will correct me if I am wrong but I would think that kernel threads are treated the same as the

[PATCH] buz.c compilation problem (missing macro) in 2.4.4

2001-04-28 Thread Ronald Bultje
Hi, 2.4.4 returns this error when compiling the buz module, the macro MALLOC_MAXSIZE is missing: [...] gcc -D__KERNEL__ -I/usr/src/linux-2.4.4/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -c -o buz.o buz

Re: Question regarding kernel threads and userlevel

2001-04-28 Thread Anton Altaparmakov
At 09:32 28/04/2001, Anton Altaparmakov wrote: >At 01:42 28/04/2001, Steffen Persvold wrote: >>I have a question regarding kernel threads : Are kernel threads treated >>equally in terms of scheduling as normal userlevel processes ?? > >I'm sure someone will correct me if I am wrong but I would th

Re: 2.4 and 2GB swap partition limit

2001-04-28 Thread Rogier Wolff
LA Walsh wrote: > Rogier Wolff wrote: > > > > > On Linux any swap adds to the memory pool, so 1xRAM would be > > > > equivalent to 2xRAM with the old old OS's. > > > > > > no more true AFAIK > > > > I've always been trying to convice people that 2x RAM remains a good > > rule-of-thumb. > > --- >

linux and high volume web sites

2001-04-28 Thread valery
I have a high volume web site under linux : kernel is 2.2.17 hardware is 5 bi-PIII 700Mhz / 512Mb, eepro100 all server are diskless (nfs on an netapp filer) except for tmp and swap dispatch is done by the Resonate product web server is apache+php (something like 400 processes), database backend

Re: busmaster question

2001-04-28 Thread Russell King
On Sat, Apr 28, 2001 at 01:27:30AM -0500, daniel sheltraw wrote: > I have a busmaster question I am hoping you can help me with. > If a PCI device is acting as a busmaster and the processor initiates a > read/write to another device on the PCI bus while the busmater-device is in > control of the

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-28 Thread Matthias Urlichs
Martin Dalecki : > tar/cpio and friends don't deal properly with > > a. holes inside of files. > b. hardlinks between files. > ??? GNU tar does both. The only thing it currently cannot handle is Not Changing Anything: either atime or ctime _will_ be updated. - To unsubscribe from this list: send

Re: X15 alpha release: as fast as TUX but in user space

2001-04-28 Thread Ingo Molnar
Fabio, i noticed one weirdness in the Date-field handling of X15. X15 appears to cache the Date field too, which is contrary to RFCs: earth2:~> wget -s http://localhost/index.html -O - 2>/dev/null | grep Date Date: Sat Apr 28 10:15:14 2001 earth2:~> date Sat Apr 28 10:32:40 CEST 2001 ie. t

PROBLEM: Framebuffer does not handle kernel parameter when compiled as a module

2001-04-28 Thread Otto Wyss
I have two almost identical computers with different graphic cards (ATI RageII, Matrox G200). I'd like to have the framebuffer devices compiled as modules, but then the kernel parameters from lilo (i.e. append = "video=atyfb:800x600@72") doesn't work. Afterwards switching with fbset works. It seem

Re: linux and high volume web sites

2001-04-28 Thread David Lang
watch the resonate heartbeat and see if it is getting lost in the network traffic (the resonate logs will show missing heartbeat packets). think seriously of setting the resonate stuff to run at a higher priority so that it doesn't get behind. depending on how high your network traffic is serious

2.4.4 Sound corruption

2001-04-28 Thread Lee Mitchell
Problem.. Playing mp3's under 2.4.4 (SMP) results in bursts of noise overlayed on top of actual music being played. Works fine running 2.4.3 (SMP) System Information :- Motherboard Gigabyte GA-6BXD CPU(s) 2 x 400 MHz PII RAM 128MB Soundcard Creative AWE64-Gold Network Card 3Com 3c905-B SC

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-28 Thread Jens Axboe
On Sat, Apr 28 2001, Albert D. Cahalan wrote: > Linus Torvalds writes: > > > The buffer cache is "virtual" in the sense that /dev/hda is a > > completely separate name-space from /dev/hda1, even if there > > is some physical overlap. > > So the aliasing problems and elevator algorithm confusion

Re: ramdisk/tmpfs/ramfs/memfs ?

2001-04-28 Thread David Woodhouse
[EMAIL PROTECTED] said: > I didn't think we had union-mounting support... does it exist and > I've somehow missed it? I think you need Al Viro's namespace stuff for it to work properly. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

Re: #define HZ 1024 -- negative effects?

2001-04-28 Thread Guus Sliepen
On Wed, Apr 25, 2001 at 10:02:26PM -0400, Dan Maas wrote: > > Are there any negative effects of editing include/asm/param.h to change > > HZ from 100 to 1024? Or any other number? This has been suggested as a > > way to improve the responsiveness of the GUI on a Linux system. [...] > Of course, t

Rasierfs, my 0.02 Eur

2001-04-28 Thread mirabilos
Hi, I am running a ~2GB reiserfs-3.5 partition, created with SuSE's backport, since long with no problems. However, when copied the harddisk to another which has a newly-created 3.6 partition of 2.4.3-ac3, it was not that stable. For example, deleted logfiles re-appear sometimes, and apache/squid

question about kernel limits

2001-04-28 Thread Xiong Zhao
hello. because i'm going to run lotus domino with large number of concurrent users on linux, the kernel limits(of open file,processes, inodes for the whole system,a single user and a process)is a key factor to the performance. currently,the number of users cannot exceed 500 on 2.4.3. i change the

Re: kernel newbie question

2001-04-28 Thread alad
Hi Xiong, you can get a lot of books on kernel internals... But my experience says... reading code is the best solutionall the intricacies can only be cleared when u hack the code btw a new "understanding the linux kernel" by O'reilly pub. can be helpful in 'code reading'. Amol

2.4.4 sluggish under fork load

2001-04-28 Thread Peter Osterlund
I have noticed that 2.4.4 feels a lot less responsive than 2.4.3 under fork load. This is caused by the "run child first after fork" patch. I have tested on two different UP x86 systems running redhat 7.0. For example, when running the gcc configure script, the X mouse pointer is very jerky. The

Re: kernel newbie question

2001-04-28 Thread Erik Mouw
On Sat, Apr 28, 2001 at 03:16:34PM +0800, Xiong Zhao wrote: > hello. i read linux kernel internal. are there other books/papers > like that which dwell with linux kernel in detail,especially on > process mechanism,for example,how pthread and fork are implemented, > how clone actually work.are the

Re: X15 alpha release: as fast as TUX but in user space

2001-04-28 Thread Ville Herva
On Sat, Apr 28, 2001 at 10:42:29AM +0200, you [Ingo Molnar] claimed: > > per RFC 2616: > . > The Date general-header field represents the date and time at which the > message was originated, [...] > > Origin servers MUST include a Date header field in all responses, [...] > .

Re: 2.4 and 2GB swap partition limit

2001-04-28 Thread Rogier Wolff
Wakko Warner wrote: > > I've always been trying to convice people that 2x RAM remains a good > > rule-of-thumb. > > IMO this is pointless > > total used free sharedbuffers cached > Mem:517456 505332 12124 111016 97752 236884 > -

Re: X15 alpha release: as fast as TUX but in user space

2001-04-28 Thread Ingo Molnar
On Sat, 28 Apr 2001, Ville Herva wrote: > Uhh, perhaps I'm stupid, but why not cache the date field and update > the field once a five seconds? Or even once a second? yes, that should work. but that means possibly updating thousands of (or more) cached headers, which has some overhead ... > I

Re: X15 alpha release: as fast as TUX but in user space

2001-04-28 Thread Ingo Molnar
On Sat, 28 Apr 2001, Ville Herva wrote: > Uhh, perhaps I'm stupid, but why not cache the date field and update > the field once a five seconds? Or even once a second? perhaps the best way would be to do this updating in the sending code itself. first there would be a 'current time thread', whi

Re: X15 alpha release: as fast as TUX but in user space

2001-04-28 Thread Ville Herva
On Sat, Apr 28, 2001 at 03:24:25PM +0200, you [Ingo Molnar] claimed: > > On Sat, 28 Apr 2001, Ville Herva wrote: > > > Uhh, perhaps I'm stupid, but why not cache the date field and update > > the field once a five seconds? Or even once a second? > > perhaps the best way would be to do this upda

Re: busmaster question

2001-04-28 Thread Jeremy Jackson
daniel sheltraw wrote: > Hello kernel listees > > I have a busmaster question I am hoping you can help me with. > If a PCI device is acting as a busmaster and the processor initiates a > read/write to another device on the PCI bus while the busmater-device is in > control of the bus what happens

Re: 2.4 and 2GB swap partition limit

2001-04-28 Thread Wakko Warner
> So you've spent almost $200 for RAM, and refuse to spend $4 for 1Gb of > swap space. Fine with me. I put this much ram into the system to keep from having swap. I still say swap=2x ram is a stupid idea. I fail to see the logic in that. Disk is much much slower than ram and if you're writing

Re: [PATCH] SMP race in ext2 - metadata corruption.

2001-04-28 Thread Olaf Titz
> or such. tar/cpio and friends don't deal properly with > a. holes inside of files. > b. hardlinks between files. GNU tar handles both of these. (Not particularly efficiently in the case of sparse files, but that's a minor issue in this case.) See -S flag. Perhaps more importantly, for a _robus

Re: kernel newbie question

2001-04-28 Thread John Levon
On Sat, 28 Apr 2001, Erik Mouw wrote: > On Sat, Apr 28, 2001 at 03:16:34PM +0800, Xiong Zhao wrote: > > hello. i read linux kernel internal. are there other books/papers > > like that which dwell with linux kernel in detail,especially on > > process mechanism,for example,how pthread and fork are

Re: X15 alpha release: as fast as TUX but in user space

2001-04-28 Thread Andi Kleen
On Sat, Apr 28, 2001 at 04:30:30PM +0300, Ville Herva wrote: > Yes, that's vaguely resembles what I had in mind. Of course I had no idea > about the data structures Tux or X15 use internally, so I couldn't think it > too thoroughly. You can also just use the cycle counter directly in most modern

Re: 2.4 and 2GB swap partition limit

2001-04-28 Thread Rogier Wolff
Wakko Warner wrote: > > So you've spent almost $200 for RAM, and refuse to spend $4 for 1Gb of > > swap space. Fine with me. > I put this much ram into the system to keep from having swap. I > still say swap=2x ram is a stupid idea. I fail to see the logic in > that. Disk is much much slower

Re: 2.4.4 sluggish under fork load

2001-04-28 Thread J . A . Magallon
On 04.28 Peter Osterlund wrote: > > Another thing is that the bash loop "while true ; do /bin/true ; done" is > not possible to interrupt with ctrl-c. > Just tried that under 2.4.4 on two terminals at the same time and the system even noticed it. Both cpus were running at about 45%user+55%sys,

FREE Guide For All recyclers

2001-04-28 Thread ENViro20012000
With over 40 years of experience in the field of recycling, I have put together one of the most valuable resources for the entire recycling community. http://recycler_1.tripod.com/recyclersguide/ Whether you are handling PLASTIC, METALS, WOOD, TEXTILES, TIRES, ELECTRONICS, ETC., this is the s

Re: 2.4.4 sluggish under fork load

2001-04-28 Thread Mohammad A. Haque
Peter Osterlund wrote: > > I have noticed that 2.4.4 feels a lot less responsive than 2.4.3 under > fork load. This is caused by the "run child first after fork" patch. I > have tested on two different UP x86 systems running redhat 7.0. > > For example, when running the gcc configure script, the

Re: 2.4 and 2GB swap partition limit

2001-04-28 Thread J . A . Magallon
On 04.28 Rogier Wolff wrote: > > I've ALWAYS said that it's a rule-of-thumb. This means that if you > have a good argument to do it differently, you should surely do so! > I'm not so sure it's only a 'rule of thumb'. Do not know the state of paging in just released 2.4.4, but in previuos kerne

Re: [PATCH] cleanup for fixing get_super() races

2001-04-28 Thread Martin Dalecki
Alexander Viro wrote: > > On Fri, 27 Apr 2001, Alexander Viro wrote: > > > Fine with me. Actually in _all_ cases execept cdrom.c it's preceded by > > either sync_dev() or fsync_dev(). What do you think about pulling that > > into the same function? Actually, that's what I've done in namespace >

Re: [PATCH] cleanup for fixing get_super() races

2001-04-28 Thread Alexander Viro
On Sat, 28 Apr 2001, Martin Dalecki wrote: > I think in the context you are inventig the proposed function, > the drivers has allways an inode at hand. And contrary to what Linus Read the patch. Almost all cases are of the "loop over partitions of foo" kind. > says, drivers not just know abo

Dane-Elec PhotoMate Combo

2001-04-28 Thread Andries . Brouwer
I just got a Dane-Elec PhotoMate Combo SmartMedia/CompactFlash reader manufactured by SCM Microsystems. It is a USB device with ID 04e6:0005. The http://www.qbik.ch/usb/devices/ list of supported devices calls this thing unsupported, and [EMAIL PROTECTED] writes: "I want this to work ! I'll help

2.4.4 breaks dhcpcd with Realtek 8139

2001-04-28 Thread Michael F Gordon
dhcpcd stops working if I install 2.4.4. Replacing the 2.4.4 version of 8139too.c with the 2.4.3 version and leaving everything else exactly the same gets things working again. Configuring the interface by hand after dhcpcd has timed out also works. Has anyone else seen this? ISC DHCP 2.0, ker

[PATCH] (1 of 2) cleanup for fixing get_super() races

2001-04-28 Thread Alexander Viro
OK, I'm sending both variants (rediffed to 2.4.4). Take your pick. Variant 1: invalidate_device(dev) (see below) Variant 2: invalidate_device(dev, do_sync) (next posting; I've switched the cases using sync_dev to fsync_dev, so do_sync is boolean) diff -urN S4/drivers/acorn/block/mfmhd.c S4-inva

[PATCH] (2 of 2) cleanup for fixing get_super() races

2001-04-28 Thread Alexander Viro
... and here's the promised second variant Al diff -urN S4/drivers/acorn/block/mfmhd.c S4-invalidate_device-2/drivers/acorn/block/mfmhd.c --- S4/drivers/acorn/block/mfmhd.c Fri Feb 16 18:37:01 2001 +++ S4-invalidate_device-2/dr

Re: 2.4.4 sluggish under fork load

2001-04-28 Thread Rene Puls
Peter Osterlund wrote: > > Another thing is that the bash loop "while true ; do /bin/true ; done" is > not possible to interrupt with ctrl-c. Same thing here. > A third thing I noticed is that starting a gnome session in redhat 7.0 > takes longer. (It takes more time for the gnome splas

Re: 2.4.4 breaks dhcpcd with Realtek 8139

2001-04-28 Thread Garett Spencley
On Sat, 28 Apr 2001, Michael F Gordon wrote: > dhcpcd stops working if I install 2.4.4. Replacing the 2.4.4 version of > 8139too.c with the 2.4.3 version and leaving everything else exactly > the same gets things working again. Configuring the interface by hand > after dhcpcd has timed out also

Re: 2.4.4 breaks dhcpcd with Realtek 8139

2001-04-28 Thread André Cruz
I too have this problem. The first time dhcpcd is executed it fails due to timeout. If we execute it again it works fine. Looks like the first packets sent/received through the interface don't get treated right. If I reverse the 2.4.4 patch to 2.4.3 it starts working well again. Something's up w

Re: X15 alpha release: as fast as TUX but in user space (fwd)

2001-04-28 Thread Ingo Molnar
On Sat, 28 Apr 2001, Andi Kleen wrote: > You can also just use the cycle counter directly in most modern CPUs. > It can be read with a single instruction. In fact modern glibc will do > it for you when you use clock_gettime(CLOCK_PROCESS_CPUTIME_ID, ...) well, it's not reliable while using thin

Re: 2.4.4 sluggish under fork load

2001-04-28 Thread John Kacur
>Peter Osterlund wrote: >> >> Another thing is that the bash loop "while true ; do /bin/true ; done" is >> not possible to interrupt with ctrl-c. >Same thing here. I'm not having any problems. Just a quick question, is everyone who is having a problem running with more than one cpu? Jo

IPv4 NAT doesn't compile in 2.4.4

2001-04-28 Thread Russell King
net/network.o: In function `init_or_cleanup': net/network.o(.text+0x4a530): relocation truncated to fit: R_ARM_PC24 ip_nat_cleanup says it all. ip_nat_standalone.c: static int init_or_cleanup(int init) { ... cleanup_nat: ip_nat_cleanup(); ... } ip_nat_core: void __exit ip_nat_cleanup

Severe problems when mounting vfat partitions

2001-04-28 Thread Olaf Stetzer
Hello *, I hope that this is the right place to document my problems: After some changes in the bios settings and/or rebuilding the kernel (I don't remember the exact chronology of this..) I get the following kernel message when I try to mount a vfat partition (either ide/hdd or a ZIP connected

Re: gcc 2.95.2 and kernel 2.2.18

2001-04-28 Thread Alex Ramos
I used Peanut Linux (debian based from ibiblio.org/peanut), and gcc 2.95.2 to compile the 2.2.19 kernel I run now. No problems here. -- home page: http://members.fortunecity.com/fretburn1 AIM: GhiZzard ICQ: 34778276 (When I'm on those things of course! :)) _

Re: kernel newbie question

2001-04-28 Thread David Woodhouse
[EMAIL PROTECTED] said: > Richard, can you add this URL to the FAQ ? --- index.html.orig Sat Apr 28 18:03:32 2001 +++ index.html Sat Apr 28 18:04:41 2001 @@ -5570,8 +5570,9 @@ Contributing Contributions are welcome on -this FAQ. These can be submitted by Email to Richard (see the Contr

buz.c of 2.4.4

2001-04-28 Thread Byeong-ryeol Kim
I met follwing erros which was workarounded by put define KMALLOC_MAXSIZE 131072 borrowed from af_unix.c of 2.4.3-ac14. But I'm convinced of this. below lines were wrapped by me for readabilities' sake. -D__KERNEL__ -I/usr/src/linux-2.4.4/include -Wall -Wstrict-prototypes -O2 -fomit-frame-po

Kernel 2.4.[234] kernel panic, DMA Pool, CDROM Mount Failure

2001-04-28 Thread Roman Fietze
Hello, I reported this before and the bug still exists in 2.4.4. The problem can be circumvented by using drivers/scsi/sr.c from kernel 2.4.[01]. This "fix" did not help just me, but somebody else I had contact with on the net. [1.] One line summary of the problem: Kernel Panic and mount pr

Re: 2.4.4 sluggish under fork load

2001-04-28 Thread Linus Torvalds
On Sat, 28 Apr 2001, Peter Osterlund wrote: > > For example, when running the gcc configure script, the X mouse pointer is > very jerky. The configure script itself runs approximately as fast as in > 2.4.3. Ok. Fair enough. The new "run the child first" approach has advantages, but it is entire

Re: Kernel 2.4.[234] kernel panic, DMA Pool, CDROM Mount Failure

2001-04-28 Thread Jens Axboe
On Sat, Apr 28 2001, Roman Fietze wrote: > Hello, > > I reported this before and the bug still exists in 2.4.4. The problem can > be circumvented by using drivers/scsi/sr.c from kernel 2.4.[01]. This > "fix" did not help just me, but somebody else I had contact with on the > net. Is the CDROM on

Re: 2.4.4 sluggish under fork load

2001-04-28 Thread Peter Osterlund
John Kacur <[EMAIL PROTECTED]> writes: > >Peter Osterlund wrote: > >> > >> Another thing is that the bash loop "while true ; do /bin/true ; done" is > >> not possible to interrupt with ctrl-c. > > >Same thing here. > > I'm not having any problems. Just a quick question, is everyone who

Re: 2.4 and 2GB swap partition limit

2001-04-28 Thread Albert D. Cahalan
Rogier Wolff writes: > Wakko Warner wrote: >>> So you've spent almost $200 for RAM, and refuse to spend >>> $4 for 1Gb of swap space. Fine with me. So that is a factor of 50 in price. It's what, a factor of 100 in access time? > That disk space is just sitting there. Never to be used. I sp

[TESTME] Ext2 Directory Index for 2.4.4

2001-04-28 Thread Daniel Phillips
I am now maitaining two versions of the directory indexing patch, one for the "old-style" ext2 directory code and another based on Al Viro's directory-in-page-cache patch, which hasn't made it into the main tree yet. The current patches are: http://kernelnewbies.org/~phillips/htree/dx.testme

Re: [PATCH][CFT] (updated) ext2 directories in pagecache

2001-04-28 Thread Alexander Viro
Patch rediffed to 2.4.4, otherwise - no changes (2.4.4 has a fix for ext2 race, but it's unrelated to the thing). Patch is on ftp.math.psu.edu/pub/viro/ext2-dir-patch-S4.gz Please, help with testing. Al - To unsubscr

2.4.3 2.4.4pre8: aic7xxx showstopper bug fails to detect sda

2001-04-28 Thread Matthias Andree
Hi, I have several machines here, with either onboard aic7880 or with AHA2940 (I don't recall) sitting on the PCI bus, which share the same problem: they fail to detect the first disk (Id #0). The information below is from lspci and /proc/scsi/scsi of Linux 2.2.19, in that order, all Kernels have

Severe trashing in 2.4.4

2001-04-28 Thread Frank de Lange
Hi'all, There seems to be something amiss with 2.4.4 wrt. memory management, which leads to severe trashing under *light* load on my SMP box (Abit BP-6 with Maciej's IO-APIC patch). I've had my box become almost unuseable twice within a 4-hour period now. One of those times it was running a compi

Re: 2.4.3 2.4.4pre8: aic7xxx showstopper bug fails to detect sda

2001-04-28 Thread Cliff Albert
On Sat, Apr 28, 2001 at 08:22:25PM +0200, Matthias Andree wrote: > These have further devices (CD writer, CD-ROM drive), and these machines > are 100% in 2.2.19. With 2.4.3 and 2.4.4-pre8, I get this problem > (pencil & paper copy for Machine #2, DO NOT "grep"): > > AIC 7XXX EISA/VLB/PCI SCSI HB

CD-RW ide-scsi problem presists with 2.4.4 (was Re: Problem with 2.4.1/2.4.3 and CD-RW ide-scsi drive)

2001-04-28 Thread Tim Meushaw
I had received info that this may have been fixed in 2.4.3-ac5. I didn't get the chance to test it there, but I installed 2.4.4 this morning. Alas, I receive exactly the same errors with 2.4.4 as I did previously with 2.4.3. One thing that did differ, though, shortly after I sent this first ema

Re: 2.4.3 2.4.4pre8: aic7xxx showstopper bug fails to detect sda

2001-04-28 Thread poptix
Howdy, I've got an "Adaptec AHA-2940UW Pro Ultra SCSI host adapter" using the aic7xxx driver (the new one, not the old one), and have had no problems, I have a zip drive on ID5, and a 12X Smart & Friendly CD-RW on ID6, haven't had any problems on 2.4.3-ac14, or 2.4.4, just an FYI.

Network error persists in 2.4.4

2001-04-28 Thread cep
I've had this network bug for the entire to 2.3 dev to 2.4 final and now even in 2.4.4. Whenever I have high network traffic I get an ethernet transmit timeout error by netdev watchdog. This is with a ne2k-pci network card, and smp celeron machine. Reinstalling the module doesn't fix it, restar

Re: Kernel 2.4.[234] kernel panic, DMA Pool, CDROM Mount Failure

2001-04-28 Thread Jonathan Hudson
In article <[EMAIL PROTECTED]>, Jens Axboe <[EMAIL PROTECTED]> writes: JA> On Sat, Apr 28 2001, Roman Fietze wrote: >> Hello, >> >> I reported this before and the bug still exists in 2.4.4. The problem can >> be circumvented by using drivers/scsi/sr.c from kernel 2.4.[01]. This >> "fix" d

kernel lock in dcache.c

2001-04-28 Thread Mark Hemment
Hi, d_move() in fs/dcache.c is checking the kernel lock is held (switch_names() does the same, but is only called from d_move()). My question is why? I can't see what it is using the kernel lock to sync/protect against. Anyone out there know? Thanks, Mark - To unsubscribe from this li

Re: kernel lock in dcache.c

2001-04-28 Thread Alexander Viro
On Sat, 28 Apr 2001, Mark Hemment wrote: > Hi, > > d_move() in fs/dcache.c is checking the kernel lock is held > (switch_names() does the same, but is only called from d_move()). > > My question is why? > I can't see what it is using the kernel lock to sync/protect against. Metric butt

Re: Network error persists in 2.4.4

2001-04-28 Thread Frank de Lange
> (on problems with ne2k-pci on SMP-systems) Seems you're experiencing the effects of the infamous IO-APIC problem ('erratum' in Intel-lingo). There's a patch for these problems by Maciej W. Rozycki, which should (IMnsHO) really be accepted into the main kernel tree since many people are experien

Re: 2.4.4 sluggish under fork load

2001-04-28 Thread Peter Osterlund
On Sat, 28 Apr 2001, Linus Torvalds wrote: > > Reverting the fork patch makes all these problems go away on my machine. > > Reverting it outright may be an acceptable approach. I'll think about > it: the arguments _for_ the patch are true and real, and it shows up as > real improvements on some t

Re: Kernel 2.4.[234] kernel panic, DMA Pool, CDROM Mount Failure

2001-04-28 Thread Jens Axboe
On Sat, Apr 28 2001, Jonathan Hudson wrote: > In article <[EMAIL PROTECTED]>, > Jens Axboe <[EMAIL PROTECTED]> writes: > JA> On Sat, Apr 28 2001, Roman Fietze wrote: > >> Hello, > >> > >> I reported this before and the bug still exists in 2.4.4. The problem can > >> be circumvented by using

Re: 2.4 and 2GB swap partition limit

2001-04-28 Thread David Lang
at the low end useing a bit of disk for swap doesn't hurt, I ran into a case a couple years ago on AIX systems. we buy them with 2G ram so that we don't need to swap, but discovered (the hard way) that we also needed to allocate 4G of disk space for those boxes (allocating less then 2G meant that

PATCH(??): linux-2.4.4/drivers/scsi/pci2220i.c referred to undefined routine scsi_set_pci_info

2001-04-28 Thread Adam J. Richter
linux-2.4.4 changes one line in drivers/scsi/pci2220i.c that used to call scsi_set_pci_device to call the undefined routine scsi_set_pci_info. That is the only change to pci2220i.c in linux-2.4.4. I don't know what the intention of this change was. Perhaps a renaming of scsi_set_pci_devi

PATCH: linux-2.4.4/drivers/video/Config.in offered drivers that would not compile on your architecture

2001-04-28 Thread Adam J. Richter
linux-2.4.4/drivers/video/Config.in allowed the user to select some Atari and SuperH architecture video drivers that would not compile on other architectures. This patch causes those drivers to be offered only on architectures on which they will compile. By the way, this patch i

Re: 2.4.4 breaks dhcpcd with Realtek 8139

2001-04-28 Thread David Lang
what sort of switch are you plugged into? some Cisco switches have a 'feature' that ignores all traffic from a port for X seconds after a machine is plugged in / powered on on a port (they claim somehting about preventing loops) it may be that the new kernel now boots up faster then the old one so

RE: buz.c of 2.4.4

2001-04-28 Thread Ronald Bultje
Hi, >I met follwing erros which was workarounded by put >define KMALLOC_MAXSIZE 131072 >borrowed from af_unix.c of 2.4.3-ac14. But I'm convinced of >this. >below lines were wrapped by me for readabilities' sake. my fix in an earlier e-mail to the list explained that the proper way of fixing it i

Re: X15 alpha release: as fast as TUX but in user space (fwd)

2001-04-28 Thread Andi Kleen
On Sat, Apr 28, 2001 at 05:52:42PM +0200, Ingo Molnar wrote: > > On Sat, 28 Apr 2001, Andi Kleen wrote: > > > You can also just use the cycle counter directly in most modern CPUs. > > It can be read with a single instruction. In fact modern glibc will do > > it for you when you use clock_gettime

Re: 2.4.4 sluggish under fork load

2001-04-28 Thread Harald Dunkel
Peter Osterlund wrote: > > I have noticed that 2.4.4 feels a lot less responsive than 2.4.3 under > fork load. This is caused by the "run child first after fork" patch. I > have tested on two different UP x86 systems running redhat 7.0. > > For example, when running the gcc configure script, the

just-in-time debugging?

2001-04-28 Thread Tony Hoyle
Is there a way (kernel or userspace... doesn't matter) that gdb/ddd could be invoked when a program is about to dump core, or perhaps on a certain signal (that the app could deliver to itself when required). The latter case is what I need right now, as I have to debug an app that breaks seemingly

Re: 2.4.4-pre7 build failure w/ IP NAT and ipchains

2001-04-28 Thread Matthias Andree
On Fri, 27 Apr 2001, David S. Miller wrote: > Kai, can you try this patch out? I think it does the right > thing. What I'm mostly interested in is if your ipchains > setup works for the resulting kernel, I've already checked > that it links properly. :-) I'm not Kai, but I also reported simila

Re: just-in-time debugging?

2001-04-28 Thread Dan Kegel
Tony Hoyle ([EMAIL PROTECTED]) wrote: > Is there a way that gdb/ddd could be invoked when a program is about > to dump core...? Yes, I use that to get a symbolic stack dump after a crash, although I find that the gdb so invoked doesn't accept interactive commands, and I have to use 'kill -9' af

RE: just-in-time debugging?

2001-04-28 Thread Davide Libenzi
On 28-Apr-2001 Tony Hoyle wrote: > Is there a way (kernel or userspace... doesn't matter) that gdb/ddd > could be invoked when a program is about > to dump core, or perhaps on a certain signal (that the app could deliver > to itself when required). The latter case > is what I need right now, as

Re: linux and high volume web sites

2001-04-28 Thread Tim Moore
David Lang wrote: > > watch the resonate heartbeat and see if it is getting lost in the network > traffic (the resonate logs will show missing heartbeat packets). think > seriously of setting the resonate stuff to run at a higher priority so > that it doesn't get behind. > > depending on how hig

RE: just-in-time debugging?

2001-04-28 Thread Tony Hoyle
On 28 Apr 2001 13:44:48 -0700, Davide Libenzi wrote: > Sorry but why don't You run Your application with gdb ? > Once Your program crashes You'll get the prompt and You'll be able to > stack-trace and watching whatever You need. > The solution I use to be able to get inside the program even when t

RE: just-in-time debugging?

2001-04-28 Thread Davide Libenzi
On 28-Apr-2001 Tony Hoyle wrote: > On 28 Apr 2001 13:44:48 -0700, Davide Libenzi wrote: >> Sorry but why don't You run Your application with gdb ? >> Once Your program crashes You'll get the prompt and You'll be able to >> stack-trace and watching whatever You need. >> The solution I use to be ab

Problem: Writing to Pana DVD-RAM

2001-04-28 Thread cacook
To recap: running Panasonic LF-D101 DVDRAM drive on SCSI (AHA2740) and getting segfaults. On-disk format is UDF2.0, as 2.1 won't mount. Mount, ls, umount, mount, ls, umount, etc - no problem. Mount, cp <20Mfile>, umount, mount, ls, (20Mfile), umount, mount, ls, (20Mfile), rpm -q 20Mfile, umount

Common GUI Config for All Users

2001-04-28 Thread cacook
Looking for the best way to give all users a common desktop, which comes from one source (for easy administration). Found copying my /root/.gnome & .sawfish directories to a user home breaks the user's GUI, implying a symlink wouldn't work. I am told .gnome & .sawfish can be copied to /etc/sk

Re: 2.4.4 Sound corruption

2001-04-28 Thread Steven Walter
I'm also seeing what would appear to be exactly this. The problem, for me, doesn't occur when I write directly to /dev/dsp (i.e., use the OSS output plugin for xmms). The problem only occurs with esd. It would appear that something in the kernel broke esd. On Sat, Apr 28, 2001 at 10:50:01AM +0

Typo in slab.h

2001-04-28 Thread Pavel Machek
...and inocent one, but please apply, anyway. Pavel Index: slab.h === RCS file: /home/cvs/Repository/linux/include/linux/slab.h,v retrieving revision 1.1.1.2 diff -u -u -r1.1.1

2.2.19 locks up on SMP

2001-04-28 Thread Ion Badulescu
Hi Alan, Over the last week I've tried to upgrade a 4-CPU Xeon box to 2.2.19, but the it keeps locking up whenever the disks are stresses a bit, e.g. when updatedb is running. I get the following messages on the console: wait_on_bh, CPU 1: irq: 1 [1 0] bh: 1 [1 0] <[8010af71]> over and ove

Re: IPv4 NAT doesn't compile in 2.4.4

2001-04-28 Thread Russell King
On Sat, Apr 28, 2001 at 02:07:53PM -0700, David S. Miller wrote: > Why would ip_nat_cleanup() be removed by the linker? Because we explicitly tell the linker to drop all code marked as __exit: #define __exit __attribute__ ((unused, __section__(".text.exit"))) >From x86 vmlinux.lds:

Re: IPv4 NAT doesn't compile in 2.4.4

2001-04-28 Thread David S. Miller
Russell King writes: > ip_nat_standalone.c: > > static int init_or_cleanup(int init) > { > ... > cleanup_nat: > ip_nat_cleanup(); > ... > } Call ip_nat_cleanup(); > ip_nat_core: > > void __exit ip_nat_cleanup(void) > { > ip_ct_selective_cleanup(&clean_nat, NULL)

Re: 2.4 and 2GB swap partition limit

2001-04-28 Thread Rogier Wolff
Albert D. Cahalan wrote: > So that is a factor of 50 in price. It's what, a factor of 100 > in access time? Actually it's only about 10. > > That disk space is just sitting there. Never to be used. I spent $400 > > on the RAM, and I'm now reserving about $8 worth of disk space for > > s

Re: Common GUI Config for All Users

2001-04-28 Thread Michael Rothwell
Hmmm... this is the kernel list... not only the wrong place to ask UI questions, but lots of people here don't even like UIs. :) http://www.gnome.org -M - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 28, 2001 2:13 PM Subject: Common GUI Conf

Re: 2.4 and 2GB swap partition limit

2001-04-28 Thread Rogier Wolff
David Lang wrote: > at the low end useing a bit of disk for swap doesn't hurt, I ran into a > case a couple years ago on AIX systems. we buy them with 2G ram so that we > don't need to swap, but discovered (the hard way) that we also needed to > allocate 4G of disk space for those boxes (allocatin

nbd in 2.4.4

2001-04-28 Thread Pavel Machek
Hi! Quite many changes went to nbd in 2.4.4, but no change to initial comment with version/copyrights. Would author please credit himself? Pavel -- I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care." Panos

Re: 2.4.4 Sound corruption

2001-04-28 Thread FAVRE Gregoire
Thus spake Steven Walter ([EMAIL PROTECTED]): > I'm also seeing what would appear to be exactly this. > > The problem, for me, doesn't occur when I write directly to /dev/dsp > (i.e., use the OSS output plugin for xmms). The problem only occurs > with esd. > > It would appear that something in

[PATCH] 2.4.4 parport_pc.c compilation fix when !CONFIG_PCI

2001-04-28 Thread Richard Zidlicky
--- linux-2.4.4/drivers/parport/parport_pc.c~ Sat Apr 28 21:43:38 2001 +++ linux-2.4.4/drivers/parport/parport_pc.cSat Apr 28 22:37:29 2001 @@ -2576,7 +2576,7 @@ } #else static struct pci_driver parport_pc_pci_driver; -static int __init parport_pc_init_superio(void) {return 0;} +static

[PATCH][RFC] strtoke -> strsep (amifb, atafb, atyfb)

2001-04-28 Thread Ren=E9=20Scharfe
Hi all, I was unable to find out who the maintainers of those three framebuffer drivers are (Amiga, Atari, Mach64) and therefore I'm asking here on lkml. All three of the drivers define a function named strtoke for their private use which does almost the same as strsep (that in turn lives in lib

Re: Common GUI Config for All Users

2001-04-28 Thread mirabilos
> questions, but lots of people here don't even like UIs. :) ... except make menuconfig. I prefer DOS 3.3 over any Windoze/KDE out there :) - 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.k

Re: 2.4.4 breaks dhcpcd with Realtek 8139

2001-04-28 Thread Michael F Gordon
On Sat, Apr 28, 2001 at 11:29:15AM -0700, David Lang wrote: > what sort of switch are you plugged into? some Cisco switches have a > 'feature' that ignores all traffic from a port for X seconds after a > machine is plugged in / powered on on a port (they claim somehting about > preventing loops) i

  1   2   >