Re: bigphysarea support in 2.2.19 and 2.4.0 kernels

2000-12-24 Thread Albert D. Cahalan
Jes Sorensen writes: > Albert D Cahalan <[EMAIL PROTECTED]> writes: [about using huge physical allocations for number crunching] >> 2. Programming a DMA controller with multiple addresses isn't >> as fast as programming it with one. > > LOL > > Consider that allocating the larger block of memory

innd mmap bug in 2.4.0-test12

2000-12-24 Thread Marco d'Itri
I can confirm the bug which loses updates to the inn active file when it's unmapped is present again in 2.4.0-test12. I put "cp active active.ok" in the rc file before shutting down the daemon and at the next boot the files are different, every time. Alexander Viro posted this test case: #inclu

Re: bigphysarea support in 2.2.19 and 2.4.0 kernels

2000-12-24 Thread Albert D. Cahalan
Eric W. Biederman writes: > If you are doing a real time task you don't want to very close > to your performance envelope. If you are hitting the performance > envelope any small hiccup will cause you to miss your deadline, > and close to your performance envelope hiccups are virtually certain.

Re: TCP keepalive seems to send to only one port

2000-12-24 Thread Andi Kleen
On Sat, Dec 23, 2000 at 09:31:56PM -0200, Cesar Eduardo Barros wrote: > > I've been doing some experiments with the keepalive code in 2.4.0-test10 here > (I want to avoid the 2.2.x NAT I'm using (for which I don't have root) from > timing out my connections). To test it, I reduced both tcp_keepa

Re: About Celeron processor memory barrier problem

2000-12-24 Thread Jeffrey Rose
Erik Mouw wrote: > > On Sat, Dec 23, 2000 at 09:21:51AM -0800, Linus Torvalds wrote: > > A Celeron isn't a PIII, and you shouldn't tell the configure that it is. > > Well, some Celerons are. My laptop has a Celeron with a Coppermine > core, so it is PIII based. Here is the output from /proc/cpui

2.2.19pre3 clock timer config lost ?

2000-12-24 Thread Roeland Th. Jansen
never seen this before. I run 2.2.19pre3 on a BP6. No OC, no vmware. just the kernel wilt lm-sensors stuff patched in. I found that the kernel was somewhat sluggish now and then, and this morning, this popped up in the logs : Dec 24 02:05:05 grobbebol kernel: probable hardware bug: clock timer

Re: sparc 10 w/512 megs hangs during boot

2000-12-24 Thread Jan-Benedict Glaw
On Sat, Dec 23, 2000 at 11:57:21PM -0800, Ron Calderon wrote: > My sparc 10 seems to hang with any 2.4.0-test12+ > kernel ...but 2.4.0-test11-X kernels are fine? Well, good info;) > if I add mem=128M it boots fine, but anything above > 128M wont boot it just hangs. Is there something I've > miss

Re: Q: natsemi.c spinlocks

2000-12-24 Thread Manfred
Andrew Morton wrote: > > start_tx() > { Yes, I overlooked start_tx. Hmm. start_tx also assumes that the cpu commits writes in order, I'm sure the driver is unreliable on RISC cpus. Perhaps the driver should use pci_alloc_consistent and pci_map_single? -- Manfred - To unsubscribe from this l

Re: About Celeron processor memory barrier problem

2000-12-24 Thread Erik Mouw
On Sun, Dec 24, 2000 at 10:45:14AM +0100, Jeffrey Rose wrote: > I also have a Celeron 600 in my Compaq 5000, but even with the output > below, I am not sure this is what Linus is talking about! I believe > Linus is trying to say, "We HAVE configurations set for that specific > architecture, so ple

Re: About Celeron processor memory barrier problem

2000-12-24 Thread Kai Henningsen
[EMAIL PROTECTED] (Linus Torvalds) wrote on 23.12.00 in <[EMAIL PROTECTED]>: > On Thu, 23 Dec 1999, michael chen wrote: > > I found that when I compiled the 2.4 kernel with the option > > of Pentium III or Pentium 4 on a Celeron's PC, it could cause the > > system hang at very

Re: innd mmap bug in 2.4.0-test12

2000-12-24 Thread Jeff Lightfoot
"Marco d'Itri" ([EMAIL PROTECTED]) wrote: > I can confirm the bug which loses updates to the inn active file when > it's unmapped is present again in 2.4.0-test12. It is also still in 2.4.0-test13-pre4 in case someone thought they had fixed it. -- Jeff Lightfoot --jeffml at pobox.com --

Re: recommended gcc compiler version

2000-12-24 Thread Kai Henningsen
[EMAIL PROTECTED] (Anuradha Ratnaweera) wrote on 22.12.00 in <[EMAIL PROTECTED]>: > On Fri, 22 Dec 2000, Alan Cox wrote: > > > For i386 > > > > 2.2.18 > > gcc 2.7.2 or egcs-1.1.2 > > Just a remainder for debian users. There is a debian package gcc272 which > is said to be the "GNU C compile

Re: TCP keepalive seems to send to only one port

2000-12-24 Thread Cesar Eduardo Barros
On Sun, Dec 24, 2000 at 10:14:55AM +0100, Andi Kleen wrote: > On Sat, Dec 23, 2000 at 09:31:56PM -0200, Cesar Eduardo Barros wrote: > > > > I've been doing some experiments with the keepalive code in 2.4.0-test10 here > > (I want to avoid the 2.2.x NAT I'm using (for which I don't have root) from

Kernel-Patch

2000-12-24 Thread Marcel Schmidt
Hello to everybody This is a kernel patch against linux-2.4.0-test12. It includes only a few small code changes to make my Compiler (GCC 2.97) not complaining so much. Cheers Marcel patch

Re: Linux 2.2.19pre2

2000-12-24 Thread Andrea Arcangeli
On Sun, Dec 24, 2000 at 04:17:10PM +1100, Andrew Morton wrote: > I was talking about a different scenario: > > add_wait_queue_exclusive(&q->wait_for_request, &wait); > for (;;) { > __set_current_state(TASK_UNINTERRUPTIBLE); > /* WINDOW */ > sp

Re: IDE woes:linux and BIOS won't agree on C/H/S detection

2000-12-24 Thread Ishikawa
Guest section DW wrote: > On Sat, Dec 23, 2000 at 12:11:41AM +0900, Ishikawa wrote: > > > I have to think more deeply then what the best measure would be. > > I suppose you can get all systems involved to agree on 255 heads > if you select LBA in the BIOS. > > Andries Hi, I think I misunderstood

Re: IDE woes:linux and BIOS won't agree on C/H/S detection

2000-12-24 Thread Ishikawa
I sent out a longish response a few minutes ago which explained the my problem was solved somehow! One thing I missed explaining in my original post is the AMI BIOS on the GA-7IXE4 motherboard has a very spartan set of options. For the geometry translation of ATA disk, only On/Off choice was avai

Re: Linux 2.2.19pre2

2000-12-24 Thread Andrea Arcangeli
On Sun, Dec 24, 2000 at 11:23:33AM +1100, Andrew Morton wrote: > ack. This patch against 2.2.19pre3 should fix all races. (note that wait->flags doesn't need to be initialized in the critical section in test1X too) ftp://ftp.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.2.19p

Masquerade hangups

2000-12-24 Thread Mike Elmore
Hello, I have a Tyan S1854 Trinity 400 mb machine with a PCI rtl8139 card connected to my local net and a ISA 3c509 card connected to my dsl link. Masquerade is set up. I seem to get pretty good performance from internet->masq box and from masq box->internal lan, but when a internal box tries

Re: innd mmap bug in 2.4.0-test12

2000-12-24 Thread Marco d'Itri
On Dec 24, Alexander Viro <[EMAIL PROTECTED]> wrote: >> I put "cp active active.ok" in the rc file before shutting down the >> daemon and at the next boot the files are different, every time. > >Could you send me both files? BTW, which filesystem it is? I use ext2. The files are not corrupted

Re: Fatal Oops on boot with 2.4.0testX and recent GCC snapshots

2000-12-24 Thread Mike Galbraith
On Sat, 23 Dec 2000, Andreas Franck wrote: > Hi Mike, hello linux-kernel audience, > > > I had the same, with the last few snapshots I tried, but 20001218 seems > > to work ok. > > dmesg|head -1 > > Linux version 2.4.0-test13ikd (root@el-kaboom) (gcc version gcc-2.97 > > 20001218 (experimental))

Re: About Celeron processor memory barrier problem

2000-12-24 Thread Pavel Machek
Hi! > diff -Nur linux/include/asm-i386/system.h linux.new/include/asm-i386/system.h > --- linux/include/asm-i386/system.h Mon Dec 11 19:26:39 2000 > +++ linux.new/include/asm-i386/system.h Sat Dec 23 16:06:01 2000 > @@ -274,7 +274,14 @@ > #ifndef CONFIG_X86_XMM > #define mb() __asm__ __vo

Re: test13-pre4 ip defrag oops

2000-12-24 Thread kuznet
Hello! > eax: 20202037 ebx: d3a406c0 ecx: cf683024 edx: c734a2a0 Ough... found eventually. skb->dev turns out to be not initialized. 8)8) This patchlet surely fixes the bug. (plus writes are ordered) Alexey --- ../vger3-001222/linux/net/core/skbuff.c Fri Dec 22 19:37:54 2000 +++ l

Re: innd mmap bug in 2.4.0-test12

2000-12-24 Thread Linus Torvalds
On Sun, 24 Dec 2000, Marco d'Itri wrote: > On Dec 24, Alexander Viro <[EMAIL PROTECTED]> wrote: > > >> I put "cp active active.ok" in the rc file before shutting down the > >> daemon and at the next boot the files are different, every time. > > > >Could you send me both files? BTW, which fi

Re: innd mmap bug in 2.4.0-test12

2000-12-24 Thread Linus Torvalds
On Sun, 24 Dec 2000, Linus Torvalds wrote: > > Marco, would you mind changing the test in reclaim_page(), somewheer > around line mm/vmscan.c:487 that says: Yeah, yeah, it's 7PM Christmas Eve over there, and you're in the middle of your Christmas dinner. You might feel that it's unreasonable o

Re: FEATURE (was Re: PROBLEM: multiple mount of devices possible2.4.0-test1 - 2.4.0-test13-pre4

2000-12-24 Thread rkreiner
Tigran Aivazian wrote: > > it is not a problem, it is a feature. (and a useful one!) > yes, mount devices several times it would be a nice feature, but do something like: /etc/fstab: /dev/hdd1 /mydrive ext2 ro,noauto,user 1 1 as user: mount /mydrive as root: mount /dev/hda2 /mydrive as user:

Re: innd mmap bug in 2.4.0-test12

2000-12-24 Thread Dietmar Kling
> > Get back there in front of the computer NOW. Christmas can wait. > > Linus "the Grinch" Torvalds Hoo - Hoo - Hoo, you've been very naughty Linus. Asking people to work on Christmas evening. My god Linus, that's so naughty that I add it to my list... As soon as I'm

Re: innd mmap bug in 2.4.0-test12

2000-12-24 Thread Daniel Phillips
Linus Torvalds wrote: > Hmm.. I wonder if such a dirty page might have been moved to the > "inactive_clean" list some way? It shouldn't really be there, as the page > had users, but if it gets on that list we'd not have tested the dirty bit. > > Marco, would you mind changing the test in reclaim_

[mwelmor@kre8tive.org: Masquerade hangups]

2000-12-24 Thread Mike Elmore
OK. I went back to 2.2.18 (released) and things work better. Since it appears the debug flags don't work in the 8139too module, how can I turn on some debug flags in the 2.4.0-test13-pre4 driver so I can see where this thing is hanging? -mwe - Forwarded message from Mike Elmore <[EMAI

Re: sparc 10 w/512 megs hangs during boot

2000-12-24 Thread Ron Calderon
I just finished compiling 2.4.0-test5 and that worked fine with 512M ram. I'll start going thru the other kernels. It'll take me sometime since compileing takes a long time. ron --- Jan-Benedict Glaw <[EMAIL PROTECTED]> wrote: > On Sat, Dec 23, 2000 at 11:57:21PM -0800, Ron > Calderon wrote: > >

Re: About Celeron processor memory barrier problem

2000-12-24 Thread Tim Wright
On Sun, Dec 24, 2000 at 11:36:00AM +0200, Kai Henningsen wrote: > [EMAIL PROTECTED] (Linus Torvalds) wrote on 23.12.00 in ><[EMAIL PROTECTED]>: > > > On Thu, 23 Dec 1999, michael chen wrote: > > > I found that when I compiled the 2.4 kernel with the option > > > of Pentium III or Pe

Re: sparc 10 w/512 megs hangs during boot

2000-12-24 Thread Jan-Benedict Glaw
On Sun, Dec 24, 2000 at 12:48:44PM -0800, Ron Calderon wrote: > I just finished compiling 2.4.0-test5 and that worked > fine with 512M ram. I'll start going thru the other > kernels. It'll take me sometime since compileing takes > a long time. I've not yet started active searching. However:

[patch] support for FDC37N769 IRDA chip

2000-12-24 Thread wtarreau
Hello Dag, I discovered that my notebook supported FIR, but I didn't know the chip (and it was not documented). So I disassembled it completely and found an SMC FDC37N769 inside. It's now correctly detected with the following trivial patch against kernel 2.2.18 (the same entry should be added to

Re: [patch] support for FDC37N769 IRDA chip

2000-12-24 Thread Willy Tarreau
G ! For Christmas, I'd like to get a new mailer which doesn't eat my patches :-) here it is again, after cut'n'paste. Please apply by hand or "patch -l". Cheers, Willy --- linux-2.2.18/drivers/net/irda/smc-ircc.cSat Jun 24 14:57:49 2000 +++ linux/drivers/net/irda/smc-ircc.c Sun Dec 24

Re: innd mmap bug in 2.4.0-test12

2000-12-24 Thread Linus Torvalds
On Sun, 24 Dec 2000, Daniel Phillips wrote: > > It looks like PG_dirty is now being used only for swap_cache pages, and > not for buffer cache and page cache pages, is that correct? No. PG_dirty is used for all memory mapped pages - be they anonymous or not. These days the buffer dirty bits

Re: About Celeron processor memory barrier problem

2000-12-24 Thread Linus Torvalds
On Sun, 24 Dec 2000, Tim Wright wrote: > > > > Which is all fine, but maybe the kernel really ought to detect that > > problem and complain at boot time? > > > > Or does that happen already? > > There was a similar thread to this recently. The issue is that if you > choose the wrong process

Re: Fatal Oops on boot with 2.4.0testX and recent GCC snapshots

2000-12-24 Thread Andreas Franck
Hello Mike, hello linux-kernel hackers, Mike Galbraith wrote: > Yes, hmm indeed. Try these two things. > > 1. make DECLARE_MUTEX_LOCKED(sem) in bdflush_init() static. > 2. compile with frame pointers. (normal case for IKD) > > My IKD tree works with either option, but not with neither. I ha

Re: innd mmap bug in 2.4.0-test12

2000-12-24 Thread Zlatko Calusic
Linus Torvalds <[EMAIL PROTECTED]> writes: > On Sun, 24 Dec 2000, Linus Torvalds wrote: > > > > Marco, would you mind changing the test in reclaim_page(), somewheer > > around line mm/vmscan.c:487 that says: > Speaking of page_launder() I just stumbled upon two oopsen today on the UP build. Ma

css hang; somewhere between test12 and test13pre4ac2

2000-12-24 Thread Dave Gilbert
Hi, Somewhere between test12 and test13pre4ac2 (sheesh the version numbers.) CSS on ATAPI DVD ROM drives has stopped working. Playing a CSS disc (using xine) causes a complete system hang (machine doesn't ping - sysrq-b still works) on test13pre4ac2. On test12 it is still OK. This is on a

Re: css hang; somewhere between test12 and test13pre4ac2

2000-12-24 Thread Mohammad A. Haque
Works fine under test13-pre4 here on a x86 and an ATAPI Creative 2x dvd drive using xine or dxr2 player. Dave Gilbert wrote: > > Hi, > Somewhere between test12 and test13pre4ac2 (sheesh the version > numbers.) CSS on ATAPI DVD ROM drives has stopped working. > > Playing a CSS disc (using

Re: css hang; somewhere between test12 and test13pre4ac2

2000-12-24 Thread Mohammad A. Haque
Actually... I just remembered that I have my kernel patched to bring it up-to-date with udf cvs. Dave Gilbert wrote: > > Hi, > Somewhere between test12 and test13pre4ac2 (sheesh the version > numbers.) CSS on ATAPI DVD ROM drives has stopped working. > > Playing a CSS disc (using xine) ca

shmat returning NULL with 0 sized segment

2000-12-24 Thread Dave Gilbert
Hi, I'm trying to debug a weird problem with Xine - its screwing up its use of shared memory for regions I haven't sussed yet. One odd consequence is that it has apparently successfully managed to allocate a 0 byte chunk of shared memory; shmat is then called with shmaddr=0 and shmflg=0; the re

Re: sparc 10 w/512 megs hangs during boot

2000-12-24 Thread Ron Calderon
test8 is borked too. I'll try test7 next ron --- Jan-Benedict Glaw <[EMAIL PROTECTED]> wrote: > On Sun, Dec 24, 2000 at 12:48:44PM -0800, Ron > Calderon wrote: > > I just finished compiling 2.4.0-test5 and that > worked > > fine with 512M ram. I'll start going thru the > other > > kernels. It'll

Re: innd mmap bug in 2.4.0-test12

2000-12-24 Thread Marco d'Itri
On Dec 24, Linus Torvalds <[EMAIL PROTECTED]> wrote: > /* The page is dirty, or locked, move to inactive_dirty list. */ > if (page->buffers || TryLockPage(page)) { > ... > >and change the test to > > if (page->buffers || PageDirty(page) || TryLockPage(page)) { D

Re: innd mmap bug in 2.4.0-test12

2000-12-24 Thread Dan Aloni
On 25 Dec 2000, Zlatko Calusic wrote: > Linus Torvalds <[EMAIL PROTECTED]> writes: > > > On Sun, 24 Dec 2000, Linus Torvalds wrote: > > > > > > Marco, would you mind changing the test in reclaim_page(), somewheer > > > around line mm/vmscan.c:487 that says: > > > > Speaking of page_launder()

Re: About Celeron processor memory barrier problem

2000-12-24 Thread Tim Wright
On Sun, Dec 24, 2000 at 02:25:54PM -0800, Linus Torvalds wrote: > > Indeed. Some of the issues end up just becoming compiler flags, which > means that anything that uses C is "tainted" by the processor choice. And > happily there isn't all that much non-C in the kernel any more. > > One thing we

Re: innd mmap bug in 2.4.0-test12

2000-12-24 Thread Augusto César Radtke
Marco d'Itri wrote: > And I have another problem: I'm experiencing random hangs using X[1] with > 2.4.0-test12. After a variable amount of time, some of the times I use X > (I mostly use console) it just freezes hard (no caps lock activity). > I'm not sure if this only happens while using X or it

Proposal: devfs names ending in %d or %u

2000-12-24 Thread Adam J. Richter
It seems that just about everything that uses devfs contains some logic that attempts to construct an unused device name with something like: static devnum = 0; sprintf (name, "lp%d", devnum++); devfs_register_device(..., name,...); Besides duplicating a

Re: Fatal Oops on boot with 2.4.0testX and recent GCC snapshots

2000-12-24 Thread Mike Galbraith
On Sun, 24 Dec 2000, Andreas Franck wrote: > Hello Mike, hello linux-kernel hackers, > > Mike Galbraith wrote: > > > Yes, hmm indeed. Try these two things. > > > > 1. make DECLARE_MUTEX_LOCKED(sem) in bdflush_init() static. > > 2. compile with frame pointers. (normal case for IKD) > > > > M

Re: Proposal: devfs names ending in %d or %u

2000-12-24 Thread Eric Shattow
On Sun, 24 Dec 2000, Adam J. Richter wrote: > I propose to change the devfs registration functions > to allow registrations of devices ending in %d or %u, in which > case it will use the first value, starting at 0, that generates a > string that already registered. So, if I have disc0, disc

Re: Proposal: devfs names ending in %d or %u

2000-12-24 Thread Barry K. Nathan
Eric Shattow wrote: [snip] > when i insert a FAT formatted disc with a PC partition table, the partition > i want to mount is part1. when i insert a HFS formatted disc with a MAC > partition table, the partition i want to mount is part4. this is very ugly, and it has nothing to do with devfs. Th

sysmips call and glibc atomic set

2000-12-24 Thread Joe deBlaquiere
I'm working with a vr4181 target and started digging into the atomic test and set stuff in the kernel and glibc. The first problem I had was that the glibc code assumes that all mips III targets implement the mips III ISA (funny assumption, no?) but the vr4181 doesn't include the miltiprocesso

Re: About Celeron processor memory barrier problem

2000-12-24 Thread The Doctor What
* Linus Torvalds ([EMAIL PROTECTED]) [001224 16:27]: > One thing we _could_ potentially do is to simplify the CPU selection a > bit, and make it a two-stage process. Basically have a > > bool "Optimize for current CPU" CONFIG_CPU_CURRENT > > which most people who just want to get the best