Re: [PATCH] CPU hot swap for 2.4.3 + s390 support

2001-05-05 Thread Dwayne C. Litzenberger
Hey, this is cool. How far away is the capability to "teleport" processes from one machine to another over the network? Think of the uptime! -- Dwayne C. Litzenberger - [EMAIL PROTECTED] PGP signature

[patch] 2.4 add suffix for uname -r

2001-05-05 Thread Keith Owens
A frequent requirement is to rename vmlinuz-2.x.y to 2.x.y-old or 2.x.y.save to preserve a working kernel. But renaming the image does not change the value of uname -r so it still tries to use modules 2.x.y, which defeats the purpose of saving an working kernel. Normally I would say that this is

Re: curedump configuration additions

2001-05-05 Thread Albert D. Cahalan
=?iso-8859-1?Q?Jak writes: > Hi, just wanted to recommend that this goes in, in one form or > another - it would help a lot around here. Yes, it looks very nice. The codes match those used by ps even. > Today we have to manually "fix" the kernel > source to get proper core.[executable] naming

Re: [PATCH] arp_filter patch for 2.4.4 kernel.

2001-05-05 Thread Ben Greear
"David S. Miller" wrote: > > Ben Greear writes: > > No idea, haven't tried to use netfilter. With this patch, though, > > it's as easy as: > > I know, the problem is if some existing facility can be made > to do it, I'd rather it be done that way. Would requiring netfilter to be used slow do

Re: [patch] 2.4.4 alpha semaphores optimization

2001-05-05 Thread Ivan Kokshaysky
> > If you do > > (perhaps to coordinate with devices) then the barriers are required. > > For IO space access mb's are required, but ll/sc are of no use, AFAIK. Ugh. You are right, of course. I forgot that drivers are also using atomic.h, and the intelligent device could be counted as another C

Announce: modutils 2.4.6 is available

2001-05-05 Thread Keith Owens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii ftp://ftp..kernel.org/pub/linux/utils/kernel/modutils/v2.4 modutils-2.4.6.tar.gz Source tarball, includes RPM spec file modutils-2.4.6-1.src.rpmAs above, in SRPM format modutils-2.4.6-1.i3

Re: inserting a Forth-like language into the Linux kernel

2001-05-05 Thread Rick Hohensee
kspamd/H3sm is now making continuous writes to tty1 from an in-kernel thread. It was locking on a write to /dev/console by init, so I made /dev/console a plain file. This is after hollowing out sys_syslog to be a null routine, and various other minor destruction. I am now typing at you on tty4

Re: Patch for ymfpci in 2.4.4

2001-05-05 Thread Pete Zaitcev
Due to a pilot error, my ymfpci update would not compile (forgot to submit .h change). Here is the missing part: --- linux-2.4.4/drivers/sound/ymfpci.h Fri Jan 26 23:31:16 2001 +++ linux-2.4.4-niph/drivers/sound/ymfpci.h Fri May 4 11:07:17 2001 @@ -135,6 +135,8 @@ #define PCIR_LEGCTRL

Re: OT: ps source?

2001-05-05 Thread Pierre Rousselet
Fred Fleck wrote: > > Sorry for asking on this mailing list. > > Can someone please tell me where to find the source > code for the ps command? > > Thanks > > Fred http://www.cs.uml.edu/~acahalan/procps/ Pierre -- Pierre Rousselet <[EMAIL PR

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

2001-05-05 Thread Alexander Viro
On Sun, 6 May 2001, Chris Wedgwood wrote: > It's not exactly "kernel-based fsck". What I've been talking about > is secondary filesystem providing coherent access to primary fs > metadata. I.e. mount -t ext2meta -o master=/usr none /mnt and > then access through /mnt/super, /mn

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

2001-05-05 Thread Andrea Arcangeli
On Sun, May 06, 2001 at 03:00:58PM +1200, Chris Wedgwood wrote: > On Sun, May 06, 2001 at 04:50:01AM +0200, Andrea Arcangeli wrote: > > Moving e2fsck into the kernel is a completly different matter > than caching the blockdevice accesses with pagecache instead of > buffercache. > > N

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

2001-05-05 Thread Andreas Dilger
Chris Wedgewood writes: > As I said, I'm not takling about kernel based fsck, although for > _VERY_ large filesystems even with journalling I suspect it will be > required one day (so it can run in the background and do consistency > checking when the machine is idle). Actually, I was talking wit

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

2001-05-05 Thread Alexander Viro
On Sun, 6 May 2001, Chris Wedgwood wrote: > On Sun, May 06, 2001 at 04:50:01AM +0200, Andrea Arcangeli wrote: > About a kernel based fsck Alexander told me he likes it, I > personally don't care about it that much because I believe... > > As I said, I'm not takling about kernel based

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

2001-05-05 Thread Andrea Arcangeli
On Sun, May 06, 2001 at 02:14:37PM +1200, Chris Wedgwood wrote: > You don't need block device for fsck, in fact some OS require you use > character devices (e.g. Solaris). Moving e2fsck into the kernel is a completly different matter than caching the blockdevice accesses with pagecache instead of

Re: Wow! Is memory ever cheap!

2001-05-05 Thread Larry McVoy
On Sun, May 06, 2001 at 02:20:43PM +1200, Chris Wedgwood wrote: > 1.5GB without ECC? Seems like a disater waiting to happen? Is ECC > memory much more expensive? Almost twice as expensive for 512MB dimms. I used to be a die hard ECC fan but that changed since what we do here is BitKeeper and Bit

OT: ps source?

2001-05-05 Thread Fred Fleck
Sorry for asking on this mailing list. Can someone please tell me where to find the source code for the ps command? Thanks Fred __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ - To unsubscrib

Re: [PATCH] CPU hot swap for 2.4.3 + s390 support

2001-05-05 Thread Rik van Riel
On Sun, 6 May 2001, Chris Wedgwood wrote: > On Sat, May 05, 2001 at 11:19:09PM -0300, Rik van Riel wrote: > > This only leaves two issues, the first is device drivers and the > second is the question whether we'd want the overhead needed to > implement the (fairly easy) memory relocat

Re: XFS and Alan kernel tree

2001-05-05 Thread Keith Owens
On Sat, 5 May 2001 23:08:16 +0200, Daniel Podlejski <[EMAIL PROTECTED]> wrote: >I merge XFS witch Alan tree (2.4.4-ac5). It's seems to be stable. >Patch against Alan tree is avaliable at: > >http://www.underley.eu.org/linux/patch.ac-xfs.diff.bz2 > >It's 1.0 SGI release. Only XFS, pagebuf and POSI

Re: [PATCH] CPU hot swap for 2.4.3 + s390 support

2001-05-05 Thread Rik van Riel
On Sun, 6 May 2001, Chris Wedgwood wrote: > On Sat, May 05, 2001 at 11:34:16AM -0500, Mitch Adair wrote: > > Wouldn't that be lot of the same issues as a "swapoff" with some > portion of that in use? (except for the kernel data case of > course...) > > No. Swapoff makes pages alloca

Re: [PATCH] CPU hot swap for 2.4.3 + s390 support

2001-05-05 Thread Rik van Riel
On Sat, 5 May 2001, Mitch Adair wrote: > Wouldn't that be lot of the same issues as a "swapoff" with some > portion of that in use? (except for the kernel data case of > course...) Basically, yes. regards, Rik -- Virtual memory is like a game you can't win; However, without VM there's truly n

Re: [PATCH] CPU hot swap for 2.4.3 + s390 support

2001-05-05 Thread Rik van Riel
On Sun, 6 May 2001, Chris Wedgwood wrote: > On Sat, May 05, 2001 at 10:43:27AM -0400, Peter Rival wrote: > > Has anyone looked into memory hot swap/hot add support? > > Adding memory probably isn't going to be too hard... but taking > existing memory off line is tricky. You have to find som

pci_map_sg() failure on alpha

2001-05-05 Thread Tom Vier
has anyone else had problems with pci_map_sg() in 2.4.4-ac*? i get the message from line 512 in pci_iommu.c, "pci_map_sg failed: could not allocate dma page tables" printed about 10 times, then a second or two later, it kills the interrupt handler. it's being called by the sym53c8xx driver. it's e

[PATCH] x86 page fault handler not interrupt safe

2001-05-05 Thread Brian Gerst
Currently the page fault handler on the x86 can get a clobbered value for %cr2 if an interrupt occurs and causes another page fault (interrupt handler touches a vmalloced area for example) before %cr2 is read. This patch changes the page fault and alignment check (currently unused) handlers to in

Re: How to debug a 2.4.4 tulip problem?

2001-05-05 Thread Wayne Whitney
OK, I captured some tulip-diag info about my tulip problem. Again, intermittently my tulip card gets "slow", so that, for example, pinging it from another machine on the same segment takes on the order of seconds, rather than milliseconds (this time it was 0.4 seconds instead of the usual 0.19 m

8139too bug in 2.4.4 (2.4.3?) & VIA 686a

2001-05-05 Thread Ignacio Monge
Hi, here I again with another problem :) Since I have installed kenel 2.4.3 & 2.4.4 (nothing went wrong with default kernel in MDK 8, 2.4.3mdk), my ethernet card is not recognized correctly. This is my ifconfig output: eth0 Link encap:Ethernet HWaddr 00:E0:29:9A:CB:

Re: 2.4.4 fork() problems (maybe)

2001-05-05 Thread Marko Kreen
On Sun, May 06, 2001 at 02:20:50AM +0200, Magnus Naeslund(f) wrote: > From: "Marko Kreen" <[EMAIL PROTECTED]> > > On Sat, May 05, 2001 at 09:07:53PM +0200, Magnus Naeslund(f) wrote: > > > When i do a "su - " it just hangs. > > > When i run strace on it i see that it forks and wait()s on the child.

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

2001-05-05 Thread Andrea Arcangeli
On Sat, May 05, 2001 at 03:18:08PM +1200, Chris Wedgwood wrote: > On Fri, May 04, 2001 at 05:29:40PM +0200, Andrea Arcangeli wrote: > > once block_dev is in pagecache there will obviously be no-way to > share cache between the block device and the filesystem, because > all the caches

Re: Dane-Elec PhotoMate Combo

2001-05-05 Thread Guest section DW
On Sat, May 05, 2001 at 05:29:54PM +0100, Andy Piper wrote: > > For me the Dane-Elec is working and stable. > > You are using the Compact Flash reader part of the device, right? Yes. > I don't think it is working with SmartMedia. I cannot test that part - don't think I have any SmartMedia. >

Re: 2.4.4 fork() problems (maybe)

2001-05-05 Thread Magnus Naeslund\(f\)
From: "Marko Kreen" <[EMAIL PROTECTED]> > On Sat, May 05, 2001 at 09:07:53PM +0200, Magnus Naeslund(f) wrote: > > Hello, I saw that there was something changed on how fork() works, and > > wonder if this could be the cause my problem. > > When i do a "su - " it just hangs. > > When i run strace on

Re: [PATCH][RFT] smbfs bugfixes for 2.4.4

2001-05-05 Thread Xuan Baldauf
Urban Widmark wrote: > Hello all > > This patch have been building up for a while, without reaching some > undefined level of readiness. I would like some feedback from other smbfs > users before submitting this for 2.4.4-something. Particularly from people > mounting win9x shares. > > * win9x

Re: [PATCH] CPU hot swap for 2.4.3 + s390 support

2001-05-05 Thread Peter Rival
Chris Wedgwood wrote: > On Sat, May 05, 2001 at 10:43:27AM -0400, Peter Rival wrote: > > Has anyone looked into memory hot swap/hot add support? > > Adding memory probably isn't going to be too hard... but taking > existing memory off line is tricky. You have to find some way of > finding all

Re: [PATCH] arp_filter patch for 2.4.4 kernel.

2001-05-05 Thread David S. Miller
Ben Greear writes: > No idea, haven't tried to use netfilter. With this patch, though, > it's as easy as: I know, the problem is if some existing facility can be made to do it, I'd rather it be done that way. > I have a setup that should be able to test some netfilter rules > if have some

Re: [PATCH] arp_filter patch for 2.4.4 kernel.

2001-05-05 Thread Ben Greear
"David S. Miller" wrote: > > Ben Greear writes: > > This patch is ported from Andi Kleen's work for the 2.2.19 kernel (I think > > it was his, at least...) > > > > It adds the ability to run multiple interfaces on the same subnet, > > on the same machine, and have the ARPs for each interface

[PATCH] for koi8-u in 2.4.4-ac5

2001-05-05 Thread Andrzej Krzysztofowicz
Hi, I think this patch requires no comment. diff -ur linux-2.4.4-ac5/fs/nls/nls_koi8-u.c linux/fs/nls/nls_koi8-u.c --- linux-2.4.4-ac5/fs/nls/nls_koi8-u.c Sat May 5 11:30:21 2001 +++ linux/fs/nls/nls_koi8-u.c Sun May 6 01:03:37 2001 @@ -141,6 +141,7 @@ 0xd2, 0xd3, 0xd4, 0xd5, 0xc6,

Re: ipv6 activity causing system hang in kernel 2.4.4

2001-05-05 Thread David S. Miller
Try this patch, posted the other day. I bet if you inspected, you'd find OOPSes in your logs: --- ../vanilla/linux/net/ipv6/ndisc.c Thu Apr 26 22:17:26 2001 +++ net/ipv6/ndisc.cFri May 4 18:44:54 2001 @@ -394,7 +382,7 @@ int send_llinfo; len = sizeof(struct icmp6hdr) +

Re: [PATCH] arp_filter patch for 2.4.4 kernel.

2001-05-05 Thread David S. Miller
dean gaudet writes: > also -- isn't it kind of wrong for arp to respond with addresses from > other interfaces? > > what if ip_forward is 0? or if there's some other sort of routing policy > in effect? This along with some other issues are why Alexey and myself want to do ARP filter in so

CML2 design philosophy heads-up

2001-05-05 Thread Eric S. Raymond
I've said before on these lists that one of the purposes of CML2's single-apex tree design is to move the configuration dialog away from low-level platform- specific questions towards higher-level questions about policy or intentions. Or to put another way: away from hardware, towards capabilitie

ipv6 activity causing system hang in kernel 2.4.4

2001-05-05 Thread Tim Haynes
[I can't see evidence of this being reported before; apols if I'm wrong. Please also Cc: me as I only read l-k intermittently but would like to help out more.] Hi, I've been making very tentative forays into IPv6. However, in my simple experiments thus far I appear to have located

Solved: Kernel NULL pointer, over my head...

2001-05-05 Thread Jamie Harris
Thanks to everyone who help me solve this one... As suspected by a few of you it turned out to be duff CPU - you mean Linux can't work around that yet!! ;) Thanks again. Jamie... -- Forwarded message -- Date: Tue, 1 May 2001 05:46:02 +0100 (GMT Daylight Time) From: Jamie Harris

Re: [PATCH] arp_filter patch for 2.4.4 kernel.

2001-05-05 Thread dean gaudet
also -- isn't it kind of wrong for arp to respond with addresses from other interfaces? what if ip_forward is 0? or if there's some other sort of routing policy in effect? -dean On Sat, 5 May 2001, dean gaudet wrote: > i've got multiple ip networks on the same gigabit link... p.s. that shoul

Re: [PATCH] arp_filter patch for 2.4.4 kernel.

2001-05-05 Thread dean gaudet
On Sat, 5 May 2001, David S. Miller wrote: > How difficult is it to compose netfilter rules that do this? what's the performance impact of doing that? i've got multiple ip networks on the same gigabit link... i'm pretty happy with this tiny patch i've posted before, which is not on any critica

Re: Athlon possible fixes

2001-05-05 Thread Seth Goldberg
> > As all this is trying to avoid bus turnarounds (i.e. switching from > reading to writing), wouldn't it be fastest to just trust that the CPU > has at least 4k worth of cache? (and hope for the best that we don't > get interrupted in the meanwhile). > > void copy_page (char *dest, char *sourc

Re: [PATCH] arp_filter patch for 2.4.4 kernel.

2001-05-05 Thread David S. Miller
Ben Greear writes: > This patch is ported from Andi Kleen's work for the 2.2.19 kernel (I think > it was his, at least...) > > It adds the ability to run multiple interfaces on the same subnet, > on the same machine, and have the ARPs for each interface be answered > based on whether or no

Re: [PATCH] tcp.c: TCP_LINGER2 small bug

2001-05-05 Thread David S. Miller
Arnaldo Carvalho de Melo writes: > Please apply. Applied, thanks for the fix. Later, David S. Miller [EMAIL PROTECTED] - 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.org/maj

Re: dhcp problem with realtek 8139 clone with rh 7.1

2001-05-05 Thread Greg
Hi, joining this conversation after reading it on an archive (so am not too sure how far it has progressed.) Me too! I am having the same problem as you describe. After booting and an initial (try) use of dhcp (which will fail) everything works fine. Until I shutdown then I get something alo

RE: Problem with PMTU discovery on ICMP packets

2001-05-05 Thread David S. Miller
Svenning Soerensen writes: > Yes, I see your point. I guess I made an incorrect assumption about it > being changed between reboots. It could be related to routing or something > instead. I'll have to dig a bit further to find a pattern. > > However, even if I *do* find the pattern, I stil

[PATCH] tcp.c: TCP_LINGER2 small bug

2001-05-05 Thread Arnaldo Carvalho de Melo
Hi, Please apply. - Arnaldo --- linux-2.4.4-ac5/net/ipv4/tcp.c Sat May 5 18:24:59 2001 +++ linux-2.4.4-ac5.acme/net/ipv4/tcp.c Sat May 5 18:33:32 2001 @@ -2352,7 +2352,7 @@ break; case TCP_LINGER2: val = tp->linger2; - if (val

Re: 2.4.4 fork() problems (maybe)

2001-05-05 Thread David Lang
Given the problems found by the fork change, would it possibly be worth making the fork behavior a compile time option (with a big warning that child-first behavior is known to break some software) that way people who are running software without the bugs can gain the performance advantage and pe

[PATCH] arp_filter patch for 2.4.4 kernel.

2001-05-05 Thread Ben Greear
This patch is ported from Andi Kleen's work for the 2.2.19 kernel (I think it was his, at least...) It adds the ability to run multiple interfaces on the same subnet, on the same machine, and have the ARPs for each interface be answered based on whether or not the kernel would route a packet from

XFS and Alan kernel tree

2001-05-05 Thread Daniel Podlejski
I merge XFS witch Alan tree (2.4.4-ac5). It's seems to be stable. Patch against Alan tree is avaliable at: http://www.underley.eu.org/linux/patch.ac-xfs.diff.bz2 It's 1.0 SGI release. Only XFS, pagebuf and POSIX ACLs code, without KDB. -- Daniel Podlejski <[EMAIL PROTECTED]> ... You can che

Re: [Re: Could clock granularity be increased????]

2001-05-05 Thread shreenivasa H V
I though about that. Would it affect other kernel modules which assume the value of HZ (to be 100)? But for this, I guess increasing the value of HZ to 1000 or so should work. Are u sure it is ok to increase HZ? Sam Coles <[EMAIL PROTECTED]> wrote: Will editing include/asm/param.h not do the tric

ide-scsi / cd-writing 2.4.3

2001-05-05 Thread Jens Gecius
Hi folks, I used to be able to use my cdwriter (Philips CDD3610) on 2.2.17. Now, with 2.4.4 I'm not able to get it to work. It's not a permission problem as far as I can see. I suspect ide-scsi? See the output of cdrecord (I tried to burn 450MB): Cdrecord 1.10a18 (i686-pc-linux-gnu) Copyright (

Re: Next compile time problem ...

2001-05-05 Thread Ingo Oeser
On Sat, May 05, 2001 at 09:20:09PM +0200, Frank Klemm wrote: > > Compiling of kernel 2.4.3 stops: Try compiling a RECENT kernel. > Messages and .config are appended. > buz.c:188: `KMALLOC_MAXSIZE' undeclared (first use in this function) buz.c will die soon. It will be integrated into the zora

Re: SMP races in proc with thread_struct

2001-05-05 Thread Todd Inglett
Andreas Ferber wrote: > > On Fri, May 04, 2001 at 10:46:43PM +1000, Keith Owens wrote: > > > For a read only case, the only important > > thing is not to die, one occurrence of bad data is tolerable. > > Strong NACK. The pages where the bad data comes from may in some cases > already be reclaim

Re: 2.4.4 fork() problems (maybe)

2001-05-05 Thread Marko Kreen
On Sat, May 05, 2001 at 09:07:53PM +0200, Magnus Naeslund(f) wrote: > Hello, I saw that there was something changed on how fork() works, and > wonder if this could be the cause my problem. > When i do a "su - " it just hangs. > When i run strace on it i see that it forks and wait()s on the child.

Re: Question on mmap(2) with kernel alocated memory

2001-05-05 Thread Pete Wyckoff
[EMAIL PROTECTED] said: > I am trying to mmap() into user space a kernel buffer and am having > problems. > I have a simple test example, can someone please tell me what I have got > wrong ? > > In a driver I do: > uint*kva; > > kva = (uint*)kmalloc(4096, GFP_KERNEL); > *kva = 0

Re: curedump configuration additions

2001-05-05 Thread Jakob Østergaard
On Sat, May 05, 2001 at 08:55:09PM +0100, Michael Miller wrote: > Hi, > > I have added some configuration options to the coredump abilities of the > kernel. Please can this patch be considered for addition to the kernel. Hi, just wanted to recommend that this goes in, in one form or another -

Next compile time problem ...

2001-05-05 Thread Frank Klemm
Compiling of kernel 2.4.3 stops: Messages and .config are appended. make -C kernel CFLAGS="-D__KERNEL__ -I/var/src/linux-2.4.3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /va

Compile time error, Kernel 2.4.3

2001-05-05 Thread Frank Klemm
While compiling 2.4.3 I got the following message: gcc -D__KERNEL__ -I/var/src/linux-2.4.3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /var/src/linux-2.4.3/include/linux/modversio

curedump configuration additions

2001-05-05 Thread Michael Miller
Hi, I have added some configuration options to the coredump abilities of the kernel. Please can this patch be considered for addition to the kernel. I have added three sysctl variables which control the 'features' I have added. These are: kernel.coredump_enabled kernel.coredump_log kernel.co

Re: 2.4.4 fork() problems (maybe)

2001-05-05 Thread J Sloan
Marc Schiffbauer wrote: > use 2.4.5-pre1 instead, Linus has undone the fork()-change for some > reason ;-) > 2.4.5-pre1 has it's own problems - Probably better to use 2.4.4-ac5 instead. cu jjs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: 2.4.4 fork() problems (maybe)

2001-05-05 Thread Marc Schiffbauer
* Magnus Naeslund(f) schrieb am 05.05.01 um 21:07 Uhr: > Hello, I saw that there was something changed on how fork() works, and > wonder if this could be the cause my problem. > When i do a "su - " it just hangs. > When i run strace on it i see that it forks and wait()s on the child. > > Sometime

2.4.4 fork() problems (maybe)

2001-05-05 Thread Magnus Naeslund\(f\)
Hello, I saw that there was something changed on how fork() works, and wonder if this could be the cause my problem. When i do a "su - " it just hangs. When i run strace on it i see that it forks and wait()s on the child. Sometimes when i strace the su command it succeeds to give me a shell, some

oops

2001-05-05 Thread Bial Attila
Hi, Oops after booting, when wdm starts - attached the_oops.txt and output of ksymoops < the_oops.txt bye Ati May 5 20:08:09 etele kernel: NVRM: loading NVIDIA kernel module version 1.0-767 May 5 20:08:11 etele kernel: Linux agpgart interface v0.99 (c) Jeff Hartmann May 5 20:08:11 etele k

Linux 2.4.4-ac5; hpt370 & new dma setup

2001-05-05 Thread Ed Tomlinson
[EMAIL PROTECTED] wrote: > On Fri, May 04, 2001 at 11:24:58PM +0100, Alan Cox wrote: >> >> ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ >> >> Intermediate diffs are available from >> >> http://www.bzimage.org >> >> Please test this code **carefully** if using an HPT366/370 IDE contr

Re: Could clock granularity be increased????

2001-05-05 Thread Sam Coles
Will editing include/asm/param.h not do the trick? Sam On 05 May 2001 12:53:14 -0500, shreenivasa H V wrote: > Hi, > > Is there any way I could use a clock granularity of less than 10ms if I need > to do some hacking of the kernel TCP code? Ideally I would require the > interval of the order of

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

2001-05-05 Thread Richard Gooch
Rogier Wolff writes: > Richard Gooch wrote: > > > > - next boot, init(8) checks the file, and if it exists, opens the root > > FS block device and reads in each block listed in the file. The > > effect is to warm the buffer cache extremely quickly. The head will > > move in one direction, g

[PATCH] Restrict VT-Switching per VT

2001-05-05 Thread Thomas Warwaris
Linus, this patch on 2.4.4 adds the ability to turn VT-switching on and off for each (existing) VT via ioctl(). It works exactly like the existing code by blocking VT-switching to the blocked terminals. It is a very nice feature to 'hide' VT's of users allowing others to work with other VT's on

Could clock granularity be increased????

2001-05-05 Thread shreenivasa H V
Hi, Is there any way I could use a clock granularity of less than 10ms if I need to do some hacking of the kernel TCP code? Ideally I would require the interval of the order of 10-100 microseconds. thanks, shreeni. Get free em

Breezecom wireless lan PCCard driver for 2.4?

2001-05-05 Thread Jens-Uwe Mager
I have been using the Breezecom wireless PCCard lan driver for quite some time with Linux 2.2.x. Now with the latest 2.4 kernels I get errors that tell me that this driver needs some porting to make it work under 2.4: BrzWlan.h:300: field `stats' has incomplete type Env.c: In function `EnvIndicat

Re: REVISED: Experimentation with Athlon and fast_page_copy

2001-05-05 Thread Jeremy
Quick note. I *AM* seeing this problem on a Tyan S2390B which has the Via KT133A chipset on it. AMD Athlon 1.33ghz 2x256m DIMMs Linux 2.4.4-ac5 I haven't done the ksymoops conversions yet, but please let me know if you'd like anything else. But basically, it looks exactly like what all the IWI

Re: Wow! Is memory ever cheap!

2001-05-05 Thread Matthew Jacob
I'll frickin' whine if I want to :-). I still use bitkeeper on a Solaris 2.6 machine with 32MB of memory. On Sat, 5 May 2001, Larry McVoy wrote: > This is a 750Mhz K7 system with 1.5GB of memory in 3 512MB DIMMS. The > DIMMS are not ECC, but we use BitKeeper here and it tells us when we > hav

ABit KT7A-RAIN random lock ups

2001-05-05 Thread Zilvinas Valinskas
Hello listers, as of yesterday I started to get random hard lockups. It was strange because just before that I've never had one ... MB worked just fine for now about two months. Until yesterday ... I tried to boot 2.4.3-ac14, 2.4.4, 2.4.4-ac4 ... the same. Btw. I have ACPI enabled, so sometimes

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

2001-05-05 Thread Alexander Viro
On Sat, 5 May 2001, Albert D. Cahalan wrote: > case P_SWAP: > sprintf(tmp, "%4.4s ", > scale_k(((task->size - task->resident) << CL_pg_shift), 4, 1)); > break; Albert, you can't be serious. The system had demand-loading for almost ten years. ->size - ->resident can be huge with

Re: need good linux *athlon* (tbird) motherboard..

2001-05-05 Thread Kai Henningsen
[EMAIL PROTECTED] (Jonadab the Unsightly One) wrote on 04.05.01 in <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] (Dances With Crows) wrote: > > > Hmm. For "Athlon", the thl consonant combination occurs in such a way > > that the speaker can split the word into two syllables, "ath" and "lon", > > Ye

__builtin_expect vs inlining

2001-05-05 Thread Richard Henderson
On Sat, May 05, 2001 at 06:17:18PM +0400, Ivan Kokshaysky wrote: > > Eh? Would you give me an example that isn't working properly? > > Sure. Fixed thus. > So one of the questions: can one rely on current branch predictions > algorithms (val < 0, val = 0 false etc.) in the long term? Err, no.

Wow! Is memory ever cheap!

2001-05-05 Thread Larry McVoy
This is a 750Mhz K7 system with 1.5GB of memory in 3 512MB DIMMS. The DIMMS are not ECC, but we use BitKeeper here and it tells us when we have bad DIMMS. Guess what the memory cost? $396.58 shipped to my door, second day air, with a lifetime warranty. I got it at www.memory4less.com which I f

PROBLEM: Athlon/VIA/2.4.4 kernel NULL pointer dereference.

2001-05-05 Thread Bobby D. Bryant
May 5 10:29:24 pollux kernel: Unable to handle kernel NULL pointer dereference at virtual address 0014 Thereafter, almost nothing on the system worked. This was within minutes of booting, and thus isn't the result of long-term corruption. The system is an Athlon on an Epox 8KTA3 (=VIA), wi

Re: Athlon possible fixes

2001-05-05 Thread Kurt Roeckx
On Sat, May 05, 2001 at 06:26:30PM +0200, Rogier Wolff wrote: > > As all this is trying to avoid bus turnarounds (i.e. switching from > reading to writing), wouldn't it be fastest to just trust that the CPU > has at least 4k worth of cache? (and hope for the best that we don't > get interrupted i

Re: [PATCH] CPU hot swap for 2.4.3 + s390 support

2001-05-05 Thread Mitch Adair
> Adding memory probably isn't going to be too hard... but taking > existing memory off line is tricky. You have to find some way of > finding all the pages that are in use and then dealing with them > appropriately, and when some are locked or contain kernel data this > would be extremely difficu

Re: Dane-Elec PhotoMate Combo

2001-05-05 Thread Andy Piper
Guest section DW wrote: > > On Thu, May 03, 2001 at 06:02:56PM +0100, Andy Piper wrote: > > > I'd quite like to get the device working and stable, > > and so would Andries > > I can speak for myself, thank you. > For me the Dane-Elec is working and stable. I'm sorry to have caused offense, And

Re: Athlon possible fixes

2001-05-05 Thread Rogier Wolff
> + __asm__ __volatile__ ( > + " movq (%0), %%mm0\n" > + " movq 8(%0), %%mm1\n" > + " movq 16(%0), %%mm2\n" > + " movq 24(%0), %%mm3\n" > + " movq %%mm0, (%1)\n" > + " movq %%mm1, 8(%1)\n" > +

Re: Maximum files per Directory

2001-05-05 Thread Chris Mason
On Saturday, May 05, 2001 03:49:20 PM +0200 Jamie Lokier <[EMAIL PROTECTED]> wrote: > Chris Mason wrote: >> > Is there a reason that >> > reiserfs chose to have "large number of directories" represented by "1" >> > and not "LINK_MAX+1"? >> >> find and a few others consider a link count of 1 to

Re: dhcp problem with realtek 8139 clone with rh 7.1

2001-05-05 Thread Rogier Wolff
Alan Cox wrote: > > I've had the same problem with the 8139too drivers and DHCP. The reason > > I figure it must be the drivers is because in the 2.4.3 kernel, I'm able > > to use the 8139too drivers with DHCP without any problems. In 2.4.4 it > > locks my system. > Multiple such reports - see

Re: Athlon and fast_page_copy: What's it worth ? :)

2001-05-05 Thread Jonathan Morton
At 3:41 pm +0100 5/5/2001, Alan Cox wrote: >> My wild guess is that with the "faster" code, the K7 is avoiding loading >> cache lines just to write them out again, and is just writing tons of data. >> The PPC G4 - and perhaps even the G3 - performs a similar trick >> automatically, without special

Linux 2.4.4-ac5; hpt370 & new dma setup

2001-05-05 Thread thunder7
On Fri, May 04, 2001 at 11:24:58PM +0100, Alan Cox wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ > > Intermediate diffs are available from > > http://www.bzimage.org > > Please test this code **carefully** if using an HPT366/370 IDE

2.4.5-pre1 errors with make menuconfig

2001-05-05 Thread f5ibh
Hi! If I do a make distclean then make menuconfig, I get the following error message on the "Processor type and features --->" entry (maybe a bit corrupted because I had to do a ctrl_c to avoid the curses display to owerwrite it). The other entries seems to be ok : scripts/Menuconfig: CONFIG_M3

Re: smp_send_stop() and disable_local_APIC()

2001-05-05 Thread Eric W. Biederman
"Matt D. Robinson" <[EMAIL PROTECTED]> writes: > It's an SMP (and only when your system crashes on a CPU other > than 0) problem. I did some more checking of this to verify the > specifics of the behavior. Thanks for the sarcasm, though. :) O.k. That makes perfect sense then. See below. > A

Re: [PATCH] CPU hot swap for 2.4.3 + s390 support

2001-05-05 Thread Peter Rival
Has anyone looked into memory hot swap/hot add support? Especially with systems with Chipkill coming out, this would be great to support... - Pete Anton Blanchard wrote: > Hi, > > You can find a new version of the hot swap cpu patch at: > > http://samba.org/~anton/patches/cpu_hotswap-2.4.3-pa

little patches for fbmem.c and offb.c

2001-05-05 Thread Segher Boessenkool
The fbmem.c bug made "less /proc/fb" segfault, as it made read() returned more bytes than were requested. The offb.c bug caused /proc/fb output to be incorrect, and potentially could cause kernel data structure corruption. Enjoy, Segher --->SNIP HERE<--- diff -ur linux-2.2.19/drivers/video/fb

Re: Athlon and fast_page_copy: What's it worth ? :)

2001-05-05 Thread Alan Cox
> My wild guess is that with the "faster" code, the K7 is avoiding loading > cache lines just to write them out again, and is just writing tons of data. > The PPC G4 - and perhaps even the G3 - performs a similar trick > automatically, without special assembly... X86 has done that since the K5 er

Re: Athlon and fast_page_copy: What's it worth ? :)

2001-05-05 Thread Jonathan Morton
At 7:20 am +0100 5/5/2001, Mark Hahn wrote: >On Fri, 4 May 2001, Seth Goldberg wrote: > >> Hi, >> >> Before I go any further with this investigation, I'd like to get an >> idea >> of how much of a performance improvement the K7 fast_page_copy will give >> me. >> Can someone suggest the best benc

Re: [patch] 2.4.4 alpha semaphores optimization

2001-05-05 Thread Ivan Kokshaysky
On Fri, May 04, 2001 at 02:13:18PM -0700, Richard Henderson wrote: > Eh? Would you give me an example that isn't working properly? Sure. bar.c: - extern void rarely_executed_code(void); static inline void foo_no_be(void) { int ret; __asm__ __volatile__("nop\n":

Re: [patch] 2.4.4 alpha semaphores optimization

2001-05-05 Thread Ivan Kokshaysky
On Fri, May 04, 2001 at 02:12:40PM -0700, Richard Henderson wrote: > > - removed some mb's for non-SMP > > This isn't correct. Either you need atomic updates or you don't. > If you don't, then you shouldn't be using ll/sc at all. I don't think so. On a single CPU system we need atomic updates

Re: sparc: Run out of nocached RAM!

2001-05-05 Thread Anton Blanchard
> I run kernel 2.4.1 (from the Debian kernel-source-2.4.1-3 package) on an > Axil 320 (Dual Hypersparc) with 320MB of RAM, which just died (full > lockup) with the message "Run out of nocached RAM!" being the last message > on the screen. Increase SRMMU_NOCACHE_NPAGES in include/asm-sparc/vaddr

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

2001-05-05 Thread Rogier Wolff
Richard Gooch wrote: > > - next boot, init(8) checks the file, and if it exists, opens the root > FS block device and reads in each block listed in the file. The > effect is to warm the buffer cache extremely quickly. The head will > move in one direction, grabbing data as it flys by. I exp

Re: Maximum files per Directory

2001-05-05 Thread Jamie Lokier
Chris Mason wrote: > > Is there a reason that > > reiserfs chose to have "large number of directories" represented by "1" > > and not "LINK_MAX+1"? > > find and a few others consider a link count of 1 to mean there is no link > count tracking being done. Indeed, and thank you for getting this ri

[PATCH] CPU hot swap for 2.4.3 + s390 support

2001-05-05 Thread Anton Blanchard
Hi, You can find a new version of the hot swap cpu patch at: http://samba.org/~anton/patches/cpu_hotswap-2.4.3-patch The version for s390 (you need to first apply the 2.4.3 kernel patch available on the IBM s390 Linux website) is at: http://samba.org/~anton/patches/cpu_hotswap-2.4.3-patch-s39

[PATCH] zero^H^H^H^Hsingle copy pipe

2001-05-05 Thread Manfred Spraul
I'm now running with the patch for several hours, no problems. bw_pipe transfer rate has nearly doubled and the number of context switches for one bw_pipe run is down from 71500 to 5500. Please test it. -- Manfred // $Header$ // Kernel Version: // VERSION = 2 // PATCHLEVEL = 4 // SU

very long time for booting after upgrading from 2.2.17 to 2.4.4

2001-05-05 Thread Olivier Bornet
Hello, I have update my kernel from 2.2.17 (with USB patch) to kernel 2.4.4. Now, booting the kernel block for about 5 minutes when configuring lo and eth0. The original distribution is a RedHat 6.2 on a PIII Dell portable (Inspiron 3800), with a PCMCIA card for the network (NE2000 compatible).

  1   2   >