Re: [Criticism] On the discussion about C++ modules

2000-10-17 Thread Peter Samuelson
[Eray Ozkural] > I can't say whether putting libstdc++ in a kernel module is a bad thing > before I see one. This is a skel. code: > -rw-r--r--1 root root 271528 Oct 10 09:54 >/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so > orion:opt$ ls -al /usr/lib/libstdc++-3-libc6.2-2-2.10.0.a > -

Re: [Criticism]C++ Flamewar

2000-10-17 Thread Helge Hafting
Keith Owens wrote: [...] > Interesting concept, linking a module with libg++. Would that be a > dynamic or static link? > > If it is dynamic then you can absolutely forget about loading the > module into the kernel, there is no way that modutils will ever support > that. If it is a static link

Re: [Criticism] On the discussion about C++ modules

2000-10-17 Thread Gábor Lénárt
On Tue, Oct 17, 2000 at 07:11:36AM +, Peter Samuelson wrote: > > I can't say whether putting libstdc++ in a kernel module is a bad thing > > before I see one. This is a skel. code: > > > -rw-r--r--1 root root 271528 Oct 10 09:54 >/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so > > ori

New Benchmark tools, lookie looky........

2000-10-17 Thread Andre Hedrick
DiskPerf /dev/hde Device: Maxtor 91536H2 Serial Number: N200PGDD LBA 0 PIO Read Test = 5.32 MB/Sec (46.98 Seconds) LBA 1 PIO Read Test = 5.32 MB/Sec (46.99 Seconds) Outer Diameter Sequential PIO Read Test = 5.29 MB/Sec (47.24 Seconds) Inner Diameter Sequ

Re: Patch to remove undefined C code

2000-10-17 Thread Peter Samuelson
[Matti Aarnio] > > That depends mainly on question: Does your stack grow up or down ? [Ben Pfaff] > No it doesn't. It depends mainly on whether the ABI for the machine > says that arguments are pushed onto the stack in left-to-right or > right-to-left order. You could do either on x86, fo

Re: Is this a valid construct?

2000-10-17 Thread Helge Hafting
Matthew Dharm wrote: > > Does the following pseudocode do what I think it does? > > Assume the semaphore is properly initialized to locked. > > int flagvar = 0; > struct semaphore blocking_sem; > > void function_called_from_kernel_thread(void) > { > chew_on_hardware(); > flagvar = 1; > d

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Vojtech Pavlik
On Tue, Oct 17, 2000 at 12:31:42AM -0700, Andre Hedrick wrote: > > DiskPerf /dev/hde > Device: Maxtor 91536H2 Serial Number: N200PGDD > LBA 0 PIO Read Test = 5.32 MB/Sec (46.98 Seconds) > LBA 1 PIO Read Test = 5.32 MB/Sec (46.99 Seconds) > Outer Diameter

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Andre Hedrick
On Tue, 17 Oct 2000, Vojtech Pavlik wrote: > > Now we can profile drives to super-charge the elevator!! > > I doubt this will ever happen. We'll see IDE drives reorder the > requests inside their caches sooner. The elevator will always be more > important to get right in terms of fairness to pro

Re: BLKSSZGET change will break fdisk

2000-10-17 Thread Roman Zippel
Hi, On Tue, 17 Oct 2000, Andries Brouwer wrote: > But you see that one would need a new name as well, > otherwise the value associated with BLKSSZGET would > depend on the kernel version, and one would need > version checks anyway. We do rename structures too, and this would be similiar. I'm mo

NFS in 2.4.x

2000-10-17 Thread Mike A. Harris
Going from 2.2.x to 2.4.x does nfs-utils from Red Hat 6.2 need to be updated? If so, does the 7.0 srpm build and install cleanly in 6.2? Can't seem to get nfs client to mount an NFS export from a Red Hat 6.2 server... ;o( The server is running an official kernel with no patches, not a Red Hat

Ute-Linux Release 1.0 posted

2000-10-17 Thread Jeff V. Merkey
A very early drop of the Ute-Linux base release has posted at vger.timpanogas.org. This release is free if accessed from our FTP server and can be downloaded and redistributed under the terms of the GPL for any purpose. WEBMIN is has some problems that are being corrected, and majordomo also ha

Re: Patch to remove undefined C code

2000-10-17 Thread Helge Hafting
Bernd Schmidt wrote: > > I've been playing with some gcc patches to detect code with undefined > behaviour of the i = i++ variety. The patch below fixes all places in > the kernel that I could find. Note that in some cases, it wasn't > entirely clear what the code intended, so I had to guess.

Re: test10-pre3

2000-10-17 Thread Mike A. Harris
On Tue, 17 Oct 2000 [EMAIL PROTECTED] wrote: >*grin* > >Well as Intel isn't even shipping P4 samples yet, most of this is just >guesswork based upon preliminary datasheets. I wouldn't be surprised >if we find other fun things to work around when we start seeing >silicone in use. Heck, you don't

Re: close() slow on socketpairs?

2000-10-17 Thread David S. Miller
Please try this 2.2.x patch. It fixes the 2.2.x performance problem with your example code for me. --- ./include/net/af_unix.h.~1~ Fri Apr 11 21:30:23 1997 +++ ./include/net/af_unix.h Tue Oct 17 00:04:32 2000 @@ -7,7 +7,7 @@ typedef struct sock unix_socket; extern void unix_gc(void); -#

Re: Patch to remove undefined C code

2000-10-17 Thread Richard Guenther
On Mon, 16 Oct 2000, Bernd Schmidt wrote: > I've been playing with some gcc patches to detect code with undefined > behaviour of the i = i++ variety. The patch below fixes all places in > the kernel that I could find. Note that in some cases, it wasn't > entirely clear what the code intended, s

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Matthias Andree
On Tue, 17 Oct 2000, Andre Hedrick wrote: > You do not understand the nature of what the test can generate. > We can decode the sweep pattern now. > > Instead of 0->End of drive. > > PlatterOD->PlatterID top > PlatterOD->PlatterID bottom. > > This will get us zone-profiles an determine where t

Re: [patch] For 2.4: syscall revoke.

2000-10-17 Thread Dr. Werner Fink
So ... how can a revoke system call be implemented without changing vfs too much? IMHO this system call is missed. There are some really interesting interfaces using block or character devices which shouldn't be usable for users because of the lack of secure revoking of such a device. Therefore

Re: Patch to remove undefined C code

2000-10-17 Thread Bernd Schmidt
On Tue, 17 Oct 2000, Richard Guenther wrote: > On Mon, 16 Oct 2000, Bernd Schmidt wrote: > > > I've been playing with some gcc patches to detect code with undefined > > behaviour of the i = i++ variety. The patch below fixes all places in > > the kernel that I could find. Note that in some cas

Re: Patch to remove undefined C code

2000-10-17 Thread Bernd Schmidt
On Tue, 17 Oct 2000, Helge Hafting wrote: > Bernd Schmidt wrote: > > > > I've been playing with some gcc patches to detect code with undefined > > behaviour of the i = i++ variety. The patch below fixes all places in > > the kernel that I could find. Note that in some cases, it wasn't > > enti

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Vojtech Pavlik
On Tue, Oct 17, 2000 at 01:15:26AM -0700, Andre Hedrick wrote: > On Tue, 17 Oct 2000, Vojtech Pavlik wrote: > > > > Now we can profile drives to super-charge the elevator!! > > > > I doubt this will ever happen. We'll see IDE drives reorder the > > requests inside their caches sooner. The elevat

Re: PATCH 2.4.0.10.3: pc_keyb and q40_keyb cleanup

2000-10-17 Thread Jeff Garzik
Andrea Arcangeli wrote: > On Mon, Oct 16, 2000 at 09:31:42PM -0400, Jeff Garzik wrote: > >[..] Why are local interrupts disabled [in pc_keyb.c]? > > To avoid to deadlock on the kbd_controller_lock in SMP or to race in UP. > > Both irq handler and normal kernel context (open/close) will play with

Re: Patch to remove undefined C code

2000-10-17 Thread Bernd Schmidt
> Looking at the above code, I noticed that there are a lot of ++ > operations. I rewrote the code as: > > setup_from[0] = setup_from[1] = eaddrs[0]; > setup_from[2] = setup_from[3] = eaddrs[1]; > setup_from[4] = setup_from[5] = eaddrs[2]; > setup_from += 6; > > I compiled

Multiple redundant copies of GPL license file

2000-10-17 Thread Mike A. Harris
9 mharris@asdf:~/src$ find linux-2.4.0-test9/ -name COPYING linux-2.4.0-test9/fs/hfs/COPYING linux-2.4.0-test9/COPYING linux-2.4.0-test9/drivers/sound/COPYING I have looked at all 3 files. All 3 are copies of the GPLv2 license file, with the linux-2.4.0-test9/COPYING one being the one Linus has

Re: Patch to remove undefined C code

2000-10-17 Thread Richard Guenther
On Tue, 17 Oct 2000, Bernd Schmidt wrote: > On Tue, 17 Oct 2000, Richard Guenther wrote: > > > On Mon, 16 Oct 2000, Bernd Schmidt wrote: > > > > > I've been playing with some gcc patches to detect code with undefined > > > behaviour of the i = i++ variety. The patch below fixes all places in >

Re: OnStream DI-30 with ide-tape version 1.16f problems

2000-10-17 Thread Kurt Garloff
On Mon, Oct 16, 2000 at 04:51:48PM -0700, Noel Burton-Krahn wrote: > mt -f /dev/nht0 status > > /dev/nht0: Device or resource busy > > tail /var/log/messages > > kernel: ide-tape: hdd <-> ht0: OnStream DI-30 rev 1.08 > kernel: ide-tape: hdd <-> ht0: 990KBps, 64*32kB buffer, 10208kB

Re: Patch to remove undefined C code

2000-10-17 Thread Bernd Schmidt
On Tue, 17 Oct 2000, Richard Guenther wrote: > On Tue, 17 Oct 2000, Bernd Schmidt wrote: > > On Tue, 17 Oct 2000, Richard Guenther wrote: > > > The following one is wrong, tho - should be rather > > > str[i] = dn[i]; i++; > > > > Nope. (Well, at least you need to add extra braces

Re: Weird ppp0 up, but it isn't (2.2.16)

2000-10-17 Thread Igmar Palsenberg
> This time however it is ppp1, and someone seems to be looking for NFS or > something. Why is ppp1 coming up? ppp0 refuses to go down no matter what, > no pppd running, even the syslog acknowledges that ppp came down, however > the interface will not leave the kernel if tables. > > Is this a

Re: Weird ppp0 up, but it isn't (2.2.16)

2000-10-17 Thread Mike A. Harris
On Tue, 17 Oct 2000, Igmar Palsenberg wrote: >Date: Tue, 17 Oct 2000 13:24:15 +0200 (CEST) >From: Igmar Palsenberg <[EMAIL PROTECTED]> >To: Mike A. Harris <[EMAIL PROTECTED]> >Cc: Linux Kernel mailing list <[EMAIL PROTECTED]> >Content-Type: TEXT/PLAIN; charset=US-ASCII >Subject: Re: Weird ppp0 up

Re: Device Driver

2000-10-17 Thread Igmar Palsenberg
> I take it then that you never use a hard drive in any of your systems on > the grounds that it contains non-open source firmware which may affect > the security of your system? ;) Tell me, what do you use to store all > those Linux applications on? Your ATA drive can't tell you kernel what to

Re: Patch to remove undefined C code

2000-10-17 Thread Mark Montague
Richard Guenther <[EMAIL PROTECTED]> writes: > On Tue, 17 Oct 2000, Bernd Schmidt wrote: > > > On Tue, 17 Oct 2000, Richard Guenther wrote: > > > > > On Mon, 16 Oct 2000, Bernd Schmidt wrote: > > > > > > > I've been playing with some gcc patches to detect code with undefined > > > > behaviour

Re: [Criticism] On the discussion about C++ modules

2000-10-17 Thread Eray Ozkural
"Jeff V. Merkey" wrote: > > Tell you what. You should go look into the Chorus or TMOK projects that > are based on C++ and pester them. Fine. I don't want to waste my time with somebody else's crap though! > Next you'll be telling me that IDL > and Corba stubs in every layer of the OS are in o

Re: compile error in 2.4.0-test10-pre3

2000-10-17 Thread Igmar Palsenberg
> [root@wr5z linux]# make bzImage > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o > scripts/split-include scripts/split-include.c > In file included from /usr/include/errno.h:36, > from scripts/split-include.c:26: > /usr/include/bits/errno.h:25: linux/errno.h: No such

Re: [Criticism] On the discussion about C++ modules

2000-10-17 Thread Peter Samuelson
[Peter Samuelson] > > Is this similar to the gcc 'const' attribute? > > > > int foo (int, char *) __attribute__((__const__)); > > > > This is valid in GNU C (not just C++). Read the info page for > > details. [Eray Ozkural] > Probably, I haven't used it in my C code though. I've found an

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-17 Thread Alan Cox
> >Thanks to Erik Inge Bols=F8 for porting it to 2.3.45, this saving me m= > ost of=20 > >the work. > > Is there a major compelling reason that this patch isn't included > in the standard kernel tree? It goes hacking around with the clock - To unsubscribe from this list: send the line "unsubscr

Re: Device Driver

2000-10-17 Thread Alan Cox
> I wrote the SmartMedia FlashPath driver, and I can > say that the SmartMedia is fine, but the FlashPath is a > little silly. (And I sometimes feel very bad for what > I was forced to write due to NDA and time constraints).. A lot of the NDA's on smart media are the smart media peoples pr

Re: close() slow on socketpairs?

2000-10-17 Thread Alan Cox
> On both 2.2.14 and 2.2.16, pipe and socketpair are nice and speedy. > close() is fine for pipes, but at 8000 socketpairs, each call to close() > takes 14 *milliseconds* at 100% cpu usage. What's up with that? Welcome to the world of mark sweep garbage collection. The folks who allowed file ha

Re: want to hire a kernel hacker ...

2000-10-17 Thread Alan Cox
> I'd like some help in modifying linux networking code (IP, firewall, > routing). There are several related projects. They have to start > out proprietary, but I fully expect the resulting code to become > free software before long. Given the GPL license the rest of us would reach the same

[PATCH] Make agpsupport work with modversions

2000-10-17 Thread John Levon
The patch below allows agpsupport to find the agp functions when modversions is set and both AGP and DRM are compiled into the kernel, and adds the dependency on CONFIG_MODULES explicitly. It applies cleanly to both 2.4.0-test10pre3 and 2.2.18pre16, but only tested on 2.4 thanks john --- drive

Re: remap_page_range

2000-10-17 Thread Eric Lowe
Hello, > > >suppose i allocate an buffer by calling kmalloc. > > >i want to map this buffer to user address space. > >will remap_page_range will automatically map this > >buffer to calling process's address space. > > it should do if have the struct vm_area_struct of the calling process. > as

Re: test10-pre3

2000-10-17 Thread Mark Salisbury
On Mon, 16 Oct 2000, [EMAIL PROTECTED] wrote: > On Tue, 17 Oct 2000, Mikael Pettersson wrote: > Why Intel chose family 15 is still beyond me though. IV is 15 if you just translate the symbols, but ignore the meaning either that or someone was smoking alot of crack. -- /*-

Re: NFS in 2.4.x

2000-10-17 Thread Kurt Garloff
On Tue, Oct 17, 2000 at 06:22:48AM -0400, Mike A. Harris wrote: > On Tue, 17 Oct 2000, Kurt Garloff wrote: > >Ask RedHat. > > I'm _not_ using a Red Hat kernel. That is why I posted here, > because Red Hat will tell me that I'm not using their > kernel. People here know wether or not it needs to

Re: Patch to remove undefined C code

2000-10-17 Thread Tom Leete
Peter Samuelson wrote: > > [Matti Aarnio] > > > That depends mainly on question: Does your stack grow up or down ? > > [Ben Pfaff] > > No it doesn't. It depends mainly on whether the ABI for the machine > > says that arguments are pushed onto the stack in left-to-right or > > right-to-left

How to obtain system time

2000-10-17 Thread Elisabete Reis
Hi, I need to measure the time that a packet is queued, so I´m interested in getting the system time at the entry and the output of the queue. My questions are the following: Does the macro PSCHED_GET_TIME return the system time in usec or in jiffies? I´m using a i586 processor, thus I assumed

Insight on CD-RW/ATAPI Bugs in 2.2.18/2.4.0

2000-10-17 Thread root
I,ve been burning CD's all week, and I've run across some things that may shed some light on the CD burner bugs. I have seen this bug on two different systems, one APIC based, the other non-APIC based. In the case of the APIC based systems, the CD-RW I/O errors only occur during high loadi

[PATCH] NIC drivers: check_region() removal continues

2000-10-17 Thread Andrey Panin
Hi all, check_region() removal continues ... Affected drivers: hp.c, hp-plus.c, es3210.c, e2100.c, 3c505.c Best regards, Andrey -- Andrey Panin| Embedded systems software engineer [EMAIL PROTECTED]| PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc diff -u

Re: mapping user space buffer to kernel address space

2000-10-17 Thread Stephen Tweedie
Hi, On Tue, Oct 17, 2000 at 12:13:49AM +0200, Andrea Arcangeli wrote: > > Correct. But the problem is that the page won't stay in physical memory after > we finished the I/O because swap cache with page count 1 will be freed by the > VM. Rik has been waiting for an excuse to get deferred swapou

Re: mapping user space buffer to kernel address space

2000-10-17 Thread Stephen Tweedie
Hi, On Mon, Oct 16, 2000 at 08:11:55PM -0700, Linus Torvalds wrote: > I'm sure this bug will get fixed too. And the fix probably won't end up > even being all that painful - it's probably a question of marking the page > dirty after completing IO into it and making sure the swap-out logic does >

OOM Test Case - Failed!

2000-10-17 Thread Byron Stanoszek
I am very unimpressed with the current OOM killer. After 10 days of online time, I decided to try compiling gcc again, the very culprit that killed my last system using 2.4.0-test8 Friday night (to which I was unable to reset the system until Monday morning). GCC started compiling normally, until

Lancewood layout info

2000-10-17 Thread Michael O'Donnell
I'm chasing (what appears to be) an interrupt- related problem that involves an Intel Lancewood SMP motherboard and I'd like to get my hands on something like a schematic or any other document that details the layout. Is this info available? - To unsubscribe from this list: send the line "unsu

Re: 2.2.17 memory bug?

2000-10-17 Thread Camm Maguire
Greetings! Hacksaw <[EMAIL PROTECTED]> writes: > I apologize if this is a known issue. > You may be running into the VM: do_try_to_free_memory_failed issue -- see earlier thread. I know we certainly see it here. Alan, it sure would be great if you could extract a minimal patch against 2.2.17

Re: close() slow on socketpairs?

2000-10-17 Thread Dan Kegel
"David S. Miller" wrote: > Please try this 2.2.x patch. It fixes the 2.2.x performance > problem with your example code for me. Will try when I get back from vacation. Thanks for the quick response! - Dan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: now that NFS V3 is in 2.2.18pre, could we *please* add the ide-patch

2000-10-17 Thread Camm Maguire
Greetings! "Mike A. Harris" <[EMAIL PROTECTED]> writes: > On Sun, 15 Oct 2000, Andre Hedrick wrote: > > >If they will be accepted, I will update them and maintain them. > >I just do not have the time to run two/three trees and prepare the stuff > >for 2.5 > > > >> Because it is unmaintained? O

Re: 2.2.17 memory bug?

2000-10-17 Thread Alan Cox
> Alan, it sure would be great if you could extract a minimal patch > against 2.2.17 to fix this from Andrea's stuff, and post an errata on > your webpage. Im not convinced Andrea's stuff is correct. Thats one reason for not doing it. There are folks testing both Andrea's and another idea on thi

Re: Linux 2.2.18pre16

2000-10-17 Thread Camm Maguire
Greetings! Will this kernel still have the 'VM: do_try_to_free_memory failed' bug that is plaguing us here? If so, my I suggest adding a merge of Andrea's fix on the TODO list for 2.2.18 final? Take care, -- Camm Maguire[EMAIL PROTECTED] ==

Re: Device Driver

2000-10-17 Thread Paul Jakma
> For my own system : I don't care. But I can imagine that there are people > out there that do care about these kind of issues. > but the point is that though most cards hold firmware on a PROM, a few hold the firmware in the driver. firmware in PROM, firmware in driver... what's the differen

Re:Lancewood layout info

2000-10-17 Thread Yann Dupont
Michael O'Donnell writes: > > > I'm chasing (what appears to be) an interrupt- > related problem that involves an Intel Lancewood > SMP motherboard and I'd like to get my hands on > something like a schematic or any other document > that details the layout. Is this info available? Some

Re: Linux 2.2.18pre16

2000-10-17 Thread Alan Cox
> Will this kernel still have the 'VM: do_try_to_free_memory failed' bug > that is plaguing us here? If so, my I suggest adding a merge of probably > Andrea's fix on the TODO list for 2.2.18 final? I dont plan to. Now is not the time to do this. We also need to understand the issue in detail

Re: [Dri-devel] Re: [2.4.0test10-pre3]drm_proc_init incorrect when multiple device

2000-10-17 Thread Rik Faith
On Sun 15 Oct 2000 23:37:21 +0100, Tigran Aivazian <[EMAIL PROTECTED]> wrote: > On Sun, 15 Oct 2000, Alan Cox wrote: > > > > or to write a "drmfs" (Al Viro's suggestion) or to abandon the original > > > design of not-sharing the code and do share it (my suggestion but of > > > course it's up t

Old DC10: Patch for 0.6

2000-10-17 Thread Serguei Miridonov
Hello, I have received a patch from Brian Flachs <[EMAIL PROTECTED]> which may fix this problem with older ZR36057 chips. The patch is available here. It must be applied against version 0.6 of the driver. If you have the problem with older DC10 cards, please, try this patch and send me a note w

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Larry McVoy
On Tue, Oct 17, 2000 at 11:23:30AM +0200, Vojtech Pavlik wrote: > Well, I know quite well what this can bring us - with precise profiling > we could see the exact geometry of the drive LMbench has had something which does this for years. Look at http://www.bitmover.com/bw.gif h

mountd code in nfs-utils-0.1.9.1

2000-10-17 Thread Samar Sharma
Does anyone know where is svc_run() defined ? This is used in mountd.c Also, where is xdr_sendmsg() defined. This is used in rmtcall.c Thanks. Samar - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http:

cs4281: dma time outs

2000-10-17 Thread Geoffrey Gallaway
Hello, I recently purchased a cs4281 based sound card (PCI, PNP). Under 2.4.0-test9 I get "cs4281: dma timed out??" at odd times. I can always reproduce this bug with mpg123 using "mpg123 http://cerebrum.dnalounge.com:8000/gronk/128". A split second of sound will play and then skip until I kill m

why does "ip route flush cache" take two seconds to run?

2000-10-17 Thread Christopher Friesen
I'm trying to swap an IP alias from one network card to another, and so I'm flushing the route cache. To measure how long this takes, I have "route -C" running in one window with a timestamp (seconds and microseconds) after each iteration. I then issue the "ip route flush cache" command with a

Re: cs4281: dma time outs

2000-10-17 Thread Alan Cox
> 2.4.0-test9 I get "cs4281: dma timed out??" at odd times. I can always > reproduce this bug with mpg123 using "mpg123 Known problem. The Crystal guys posted a new driver with this fixed as a test so hopefully it will be in the main tree very soon - To unsubscribe from this list: send the line

Re: why does "ip route flush cache" take two seconds to run?

2000-10-17 Thread David S. Miller
Date: Tue, 17 Oct 2000 11:25:02 -0400 From: "Christopher Friesen" <[EMAIL PROTECTED]> However, from the time the command is issued until the cache is actually cleared is two whole seconds. I would have expected it to be essentially instantaneous. Does anyone know why this is t

Re: mountd code in nfs-utils-0.1.9.1

2000-10-17 Thread Trond Myklebust
> " " == Samar Sharma <[EMAIL PROTECTED]> writes: > Does anyone know where is svc_run() defined ? This is used in > mountd.c Also, where is xdr_sendmsg() defined. This is used in > rmtcall.c [trondmy@fyspc-epf03 trondmy]$ nm /lib/libc.so.6 | grep svc_run 00101024 T svc_run You

Re: iBCS with 2.4?

2000-10-17 Thread Christoph Hellwig
[ sorry for the late reply, I was on vacation last week ] On Sat, Oct 14, 2000 at 08:26:35AM +0100, Tigran Aivazian wrote: > just to add, that if I am wrong, and Linus does want it in the kernel If I unterstand David right, he seems to be interested (?). > I am willing to spend some time cleani

Re: PATCH 2.4.0.10.3: pc_keyb and q40_keyb cleanup

2000-10-17 Thread Jes Sorensen
> "Andrea" == Andrea Arcangeli <[EMAIL PROTECTED]> writes: Andrea> On Mon, Oct 16, 2000 at 05:31:47PM -0400, Jeff Garzik wrote: Andrea> if you do: Andrea> request_irq(&my_irq_handler,... 0, ...) Andrea> then my_irq_handler will be recalled with irq enabled. Which shouldn't matter a

Re: NFS in 2.4.x

2000-10-17 Thread Trond Myklebust
> " " == Kurt Garloff <[EMAIL PROTECTED]> writes: > Look into linux/Documentation/Changes. Oh, it fails to tell > about the NFS stuff. o util-linux 2.10o # kbdrate -v The only thing missing is the nfs-utils version: the rule there is 'all versions

TCP: peer x.x.x.x:y/z shrinks window a:b:c...

2000-10-17 Thread Jordan Mendelson
I've begun to test 2.4.0 kernels on some high traffic machines to see what kind of difference it makes. I have seen a lot of these error messages in dmesg and although they don't seem to happen very often and seem harmless, I figured I'd report it anyway. They show up in groups (mostly) from the

RTL8139 problems with 2.2.17

2000-10-17 Thread lnxkrnl
Hello, I've seen some problem reports on this board, but I just had something I've seen to be reported for some tulip board - the board just freezes and stops receiving ( or transmiting? ) packets. Running tcpdump makes her run again. The machine has 2 RTL8139 boards and one 8029 , all on differ

Re: TCP: peer x.x.x.x:y/z shrinks window a:b:c...

2000-10-17 Thread David S. Miller
The IP addresses are important because we can use them to find out what TCP implementations shrink their offered windows. Actually, you don't need to tell me or anyone else what these IP addresses are, you can instead run one of the "remote OS identifier" programs out there to those sites and ju

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Andre Hedrick
On Tue, 17 Oct 2000, Larry McVoy wrote: > On Tue, Oct 17, 2000 at 11:23:30AM +0200, Vojtech Pavlik wrote: > > Well, I know quite well what this can bring us - with precise profiling > > we could see the exact geometry of the drive > > LMbench has had something which does this for years. Look at

linux-2.4.0 SMP does not compile on sparc32

2000-10-17 Thread Felix von Leitner
This is the error message (yes, I am cross compiling): sparc-linux-ld -m elf32_sparc -T arch/sparc/vmlinux.lds arch/sparc/kernel/head.o arch/sparc/kernel/init_task.o init/main.o init/version.o \ --start-group \ arch/sparc/kernel/kernel.o arch/sparc/mm/mm.o kernel/kernel.o mm/mm.o

Re: PATCH 2.4.0.10.3: pc_keyb and q40_keyb cleanup

2000-10-17 Thread Andrea Arcangeli
On Tue, Oct 17, 2000 at 05:43:34PM +0200, Jes Sorensen wrote: > Which shouldn't matter as the irq source should be disabled. In fact I > thought we were guaranteed not to be re-interrupted in a handler > unless one explicitly does __sti(), has this changed? A single irq handler won't be re-interr

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Larry McVoy
On Tue, Oct 17, 2000 at 09:21:00AM -0700, Andre Hedrick wrote: > On Tue, 17 Oct 2000, Larry McVoy wrote: > > > On Tue, Oct 17, 2000 at 11:23:30AM +0200, Vojtech Pavlik wrote: > > > Well, I know quite well what this can bring us - with precise profiling > > > we could see the exact geometry of the

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Andre Hedrick
On Tue, 17 Oct 2000, Larry McVoy wrote: > If you do all this, write a paper, Usenix loves this junk. Sorry dyslexic. > > How can LMbench access things that I can but a FS can not? > > raw disks? block disks? both work. Sorry, what I forgot to tell you is that I am doing direct acces

2.4.0 - isdn hisax - compilation error

2000-10-17 Thread David Relson
Greetings, I have compiled a 2.4.0 kernel for the first time, specifically 2.4.0-test9. Looking through the output for errors, I found "config.c:311: #error "HiSax: No cards configured". Checking further, it appears that isdn is being compiled, even though CONFIG_ISDN isn't set. See below f

Re: PATCH 2.4.0.10.3: pc_keyb and q40_keyb cleanup

2000-10-17 Thread Andrea Arcangeli
On Tue, Oct 17, 2000 at 05:26:23AM -0400, Jeff Garzik wrote: > Well, the -spin lock- exists for serialization. My question is Why > does pc_keyb irq handler disable local irqs for this case? What is the > race/deadlock that exists with spin_lock in the irq handler, but does > not exist with

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Malcolm Beattie
Larry McVoy writes: > On Tue, Oct 17, 2000 at 09:21:00AM -0700, Andre Hedrick wrote: > > Expand 'traces' ... O-SCOPE analyizer? > > Insert a ring buffer into the disk sort entry point. Add a userland process > which reads this ring buffer and gets the actual requests in the actual order > they a

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Andre Hedrick
On Tue, 17 Oct 2000, Malcolm Beattie wrote: > Larry McVoy writes: > > On Tue, Oct 17, 2000 at 09:21:00AM -0700, Andre Hedrick wrote: > > > Expand 'traces' ... O-SCOPE analyizer? > > > > Insert a ring buffer into the disk sort entry point. Add a userland process > > which reads this ring buffer

Re: 2.4.0 - isdn hisax - compilation error

2000-10-17 Thread Gábor Lénárt
On Tue, Oct 17, 2000 at 12:56:54PM -0400, David Relson wrote: > Greetings, > > I have compiled a 2.4.0 kernel for the first time, specifically > 2.4.0-test9. Looking through the output for errors, I found "config.c:311: > #error "HiSax: No cards configured". Checking further, it appears that

Re: Patch to remove undefined C code

2000-10-17 Thread Horst von Brand
Richard Guenther <[EMAIL PROTECTED]> said: > On Mon, 16 Oct 2000, Bernd Schmidt wrote: > The following one is wrong, tho - should be rather > str[i] = dn[i]; i++; > > diff -x log.build -x .* -dru linux-2.4/drivers/isdn/sc/debug.c linux-2.4-fixe > d/drivers/isdn/sc/debug.c > > ---

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Vojtech Pavlik
On Tue, Oct 17, 2000 at 09:49:35AM -0700, Andre Hedrick wrote: > > raw disks? block disks? both work. > > Sorry, what I forgot to tell you is that I am doing direct access at the > IO level. This is underneath the driver. This is in the realm of > bit-banging but with sanity. But does this

Re: Patch to remove undefined C code

2000-10-17 Thread Horst von Brand
Bernd Schmidt <[EMAIL PROTECTED]> said: > On Tue, 17 Oct 2000, Richard Guenther wrote: > > On Tue, 17 Oct 2000, Bernd Schmidt wrote: > > > On Tue, 17 Oct 2000, Richard Guenther wrote: > > > > The following one is wrong, tho - should be rather > > > > str[i] = dn[i]; i++; > > > > >

Re: Device Driver

2000-10-17 Thread Horst von Brand
Igmar Palsenberg <[EMAIL PROTECTED]> SAID: > > I take it then that you never use a hard drive in any of your systems on > > the grounds that it contains non-open source firmware which may affect > > the security of your system? ;) Tell me, what do you use to store all > > those Linux application

[BUG]: Ext2 Corruption in test10pre3 (incl. Oops)

2000-10-17 Thread Udo A. Steinberg
Hi Linus & Alexander It seems that we were all wrong in assuming that ext2 was fixed wrt. filesystem corruption. test10pre3 once again has the potential to eat files (not sure about earlier versions). I finally managed to capture an oops (by hand), so bear with me that I didn't typo anywhere.

Re: Patch to remove undefined C code

2000-10-17 Thread Bill Wendling
Also sprach Mark Montague: } } dn[i], i++ evaluates to i, but str[i] = dn[i], i++ sets str[i] to } dn[i] first, then increments i returning its previous value, which is } discarded. Which was probably specified this way so } } for(i=1,j=2; something; something else) } } works as expected, rathe

FIX: Nice oops from agpgart - 2.2 kernels and Alpha

2000-10-17 Thread Michal Jaegermann
I complained few days ago that 'agpgart.o' module from 2.2.18pre is causing a kernel oops. The problem turned out to be an apparent assumption that PCI memory <-> memory mapping is an identity and this is not always the case. Here is a patch applicable to all 2.2.18pre kernels with agpgart suppo

Re: Patch to remove undefined C code

2000-10-17 Thread Bill Wendling
Also sprach Bernd Schmidt: } > Looking at the above code, I noticed that there are a lot of ++ } > operations. I rewrote the code as: } > } > setup_from[0] = setup_from[1] = eaddrs[0]; } > setup_from[2] = setup_from[3] = eaddrs[1]; } > setup_from[4] = setup_from[5] = eaddrs[2]; }

Re: Patch to remove undefined C code

2000-10-17 Thread Bill Wendling
Also sprach Tom Leete: } } You are correct that in C the rightmost argument is always } at the open end of the stack, and that varargs require that. } The opposite is called the Pascal convention. } Where in the standard does it say this? It's probably done most of the time in this fashion for c

Re: mapping user space buffer to kernel address space

2000-10-17 Thread Andrea Arcangeli
On Mon, Oct 16, 2000 at 08:11:55PM -0700, Linus Torvalds wrote: > Oh. So to fix a bug, you say "either delete the code, or do something else > that is completely idiotic instead"? I'm not saying this because the "something else" doesn't look completly idiotic to me. > Andrea, explain to me how p

Re: problems with udma66

2000-10-17 Thread Vojtech Pavlik
Hi! No chance getting this to work on 2.2 now, try 2.4.0, it should work. I hope to fix 2.2 later ... Vojtech On Tue, Oct 17, 2000 at 12:05:40PM +0200, Francesc Oller wrote: > Hi all, > > I'm trying to use UDMA66 in my computer but haven't suceeded > until now. > > Configuration: > > Epox EP

quick questions: kernel stack size and call gates

2000-10-17 Thread Chris Swiedler
1. Does Linux use call gates (as specified in the Intel SDK vol.3) when a user process makes a system call? From what I understand, call-gates let a ring-3 process execute ring-0 code, which sounds exactly like a system call. I've found all of the actual system call functions (sys_ni etc.) in sys

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Andre Hedrick
On Tue, 17 Oct 2000, Vojtech Pavlik wrote: > But does this give any benchmarking benefit over traditional access via > /dev/hda? Sure, I can make it slip revs that the elevator can not correct. Hop platters, if we know where they begin/end. I can do write_verify_read that can never be done in a

Re: Patch to remove undefined C code

2000-10-17 Thread Bernd Schmidt
On Tue, 17 Oct 2000, Horst von Brand wrote: > Richard Guenther <[EMAIL PROTECTED]> said: > > The following one is wrong, tho - should be rather > > str[i] = dn[i]; i++; > > > > diff -x log.build -x .* -dru linux-2.4/drivers/isdn/sc/debug.c linux-2.4-fixe > > d/drivers/isdn/sc/deb

Are there around some eigrp Linux patches

2000-10-17 Thread Andrea Ferraris
Does somebody know if there are somewhere for some linux kernel some patches that implement eigrp? I know it's a proprietary Cisco protocol, but I don't know the licensing terms, so I'm asking if someone here know something about. Regards to all, thanks to replying people, Andrea - To

Re: UMSDOS Problem with test10-pre2

2000-10-17 Thread Wayne . Brown
Thanks for the suggestion. I tried it and you're right: it booted normally and then gave me an oops. For now, I've managed to get my network card "sort of" working with 2.3.51, and I'm going to try to resolve the remaining problems with that. Also, now that I know it's a umsdos problem and n

Re: New Benchmark tools, lookie looky........

2000-10-17 Thread Andre Hedrick
On Tue, 17 Oct 2000, Larry McVoy wrote: > Sure, I did it over the protests of other people and I learned something, > you have every right to do the same thing. In fact, it's great that you > are doing it. Just don't get all bent out of shape if you tweaking the > elevator alg does nothing (in

Re: Lancewood layout info

2000-10-17 Thread Michael O'Donnell
I wrote: > I'm chasing (what appears to be) an interrupt- > related problem that involves an Intel Lancewood > SMP motherboard and I'd like to get my hands on > something like a schematic or any other document > that details the layout. Is this info available? ...and eventually found the follo

  1   2   >