Re: three kernel trees?

2000-10-17 Thread Alan Cox
As soon as 2.4 comes out, 2.7 is created, 2.6test will be feature frozen. Development time would be shorter, and the nuisance with "this important feature has tz slip in" would be finished. It requires too much people overhead. I have proposed another idea which is at about 10 months in or

Re: ide-scsi + /dev/dsp == solid lockup

2000-10-17 Thread Alan Cox
Makes me wonder why my PIIX3 (i430HX) Tyan Tomcat IVD has never had a problem with an ISA SoundBlaster AWE32 even with Passive Release enabled and such devices as PCI TV cards, PCI Ethernet controllers, and ISA modems in it. I've burned CD's on an IDE HP CD-Writer+ (hdb) from an IBM hard

Re: three kernel trees?

2000-10-17 Thread Jeff V. Merkey
Alan, Were Linux to go totally modular in 2.5, development cycles will be reduced by 1/2 to 1/3. This is because you could always roll back to known good modules to post a release. The way you guys are going, if Linux stays monolithic, your cycles will get longer and longer. Modularity will

Re: test10-pre3

2000-10-17 Thread David Weinehall
On Tue, Oct 17, 2000 at 08:14:58AM -0400, Mark Salisbury wrote: 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

Re: failure to blank CDRWs (2.2.18pre15 smp ide-scsi hp7100i)

2000-10-17 Thread George
On Tue, 17 Oct 2000, Joerg Schilling wrote: However it may be a broken hp7100: I suspect that all drives ever made are now dead because of bad quality. Mine still works as a reader. ;) Attempting to actually write produces a lovely "power calibration failed" and a coaster faster than you can

RE: An excellent read on CPU caches

2000-10-17 Thread Marty Fouts
There are some details in error in this document, and the discussion of cache-coherence might be expanded or dropped altogether, rather than hinted at. I've sent a long note to the author with "diffs' for a next edition. Thanks for pointing it out, I know of several situations in which it will

Re: Patch to remove undefined C code

2000-10-17 Thread Richard Henderson
On Tue, Oct 17, 2000 at 10:40:12AM +0100, Bernd Schmidt wrote: I compiled using "gcc -S -Wall -O2 -fomit-frame-pointer -m486" to generate the assembler code. The old code is 17 instructions long and the new code is 11 instructions. As well as being shorter, simple timing test indicate

Re: mapping user space buffer to kernel address space

2000-10-17 Thread Stephen Tweedie
Hi, On Tue, Oct 17, 2000 at 10:06:35PM +0200, Andrea Arcangeli wrote: also don't see why any bug with kiobufs can't be fixed without the expensive and complex pinning. IMHO pinning the page in the pte is less expensive and less complex than making rawio and the VM aware of those issues.

Re: IDE-cd problem with 2.4-test9

2000-10-17 Thread Bruno Boettcher
On Wed, Oct 18, 2000 at 12:34:18AM +0200, Kenneth Johansson wrote: Same problem I have. I used to work for me and I have not changed anything. But other people are complaining on problems to burn faster than speed=4 and I can't even see the drive ?? yep if at least i could see the drive and

CDROMPLAYTRKIND in 2.4.X

2000-10-17 Thread Thomas Molina
On Tue, 17 Oct 2000, Jens Axboe wrote: On Tue, Oct 17 2000, Thomas Molina wrote: CD Recording seems to work correctly under 2.4.0-test10-pre3. I'm using cdrecord 1.9 with a Phillips CDD3610. However, playing back an audio cd using cdp gives the following error: sr0: CDROM (ioctl)

Re: mapping user space buffer to kernel address space

2000-10-17 Thread Andrea Arcangeli
On Tue, Oct 17, 2000 at 02:04:10PM -0700, Linus Torvalds wrote: It so happens that the vmscan stuff won't ever remove a physical page mapping, but that's simply because such a page CANNOT be swapped out. How So if I write a mechanism that allows those driver-private-pages that are used for DMA

Re: Status of ReiserFS + Journalling

2000-10-17 Thread lamont
On Thu, 5 Oct 2000, Neil Brown wrote: 2/ Arrange your filesystem so that you write new data to an otherwise unused stripe a whole stripe at a time, and store some sort of chechksum in the stripe so that corruption can be detected. This implies a log structured filesystem (though

following the mountd code in nfs-utils

2000-10-17 Thread Samar Sharma
How do I step through the mountd program ? gdb doesn't allow me to do it. If someone understands that code, could you please send me a briefing on the code flow. Thanks. Samar [root@nbv-pc-1 mountd]# gdb mountd GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software,

e2fsck hang with test9

2000-10-17 Thread Pete Harlan
e2fsck froze up (waited 10 minutes before rebooting) after checking 70.0% of a 63Gb scsi partition (41Gb used) under 2.4.0test9. This was repeatable. fsck'd fine when booting from 2.2.17pre19. Both kernels are PIII SMP, compiled with up-to-date Debian stable, machine has 1Gb Ram, Adaptec

Re: PATCH 2.4.0.10.3: pc_keyb and q40_keyb cleanup

2000-10-17 Thread Jeff Garzik
Andrea Arcangeli wrote: 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

Re: CDROMPLAYTRKIND in 2.4.X

2000-10-17 Thread Mark Cooke
On Tue, 17 Oct 2000, Thomas Molina wrote: On Tue, 17 Oct 2000, Jens Axboe wrote: On Tue, Oct 17 2000, Thomas Molina wrote: CD Recording seems to work correctly under 2.4.0-test10-pre3. I'm using cdrecord 1.9 with a Phillips CDD3610. However, playing back an audio cd using cdp gives

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 07:21:04PM -0400, Jeff Garzik wrote: I wonder if q40_keyb has the same thing to worry about It seems no, it looks like we can remove the irqsave from there. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH] cpqarray: several fixes/cleanups

2000-10-17 Thread Arnaldo Carvalho de Melo
Jeff, Here it is, resubmitting after rediffing wrt 2.4.0-test10-pre3. - Arnaldo --- linux-2.4.0-test10-3/drivers/block/cpqarray.c Fri Oct 13 18:40:39 2000 +++ linux-2.4.0-test10-3.acme/drivers/block/cpqarray.c Tue Oct 17 11:38:53 2000 @@ -21,6 +21,13 @@ *If you want to

Re: three kernel trees?

2000-10-17 Thread Kenneth Johansson
"Jeff V. Merkey" wrote: Alan, Were Linux to go totally modular in 2.5, development cycles will be reduced by 1/2 to 1/3. This is because you could always roll back to known good modules to post a release. The way you guys are going, if Linux stays monolithic, your cycles will get longer

Re: test10-pre3

2000-10-17 Thread Michael H. Warfield
On Wed, Oct 18, 2000 at 12:12:39AM +0200, David Weinehall wrote: On Tue, Oct 17, 2000 at 08:14:58AM -0400, Mark Salisbury wrote: 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

Re: Patch to remove undefined C code

2000-10-17 Thread Jeff Epler
On Tue, Oct 17, 2000 at 07:42:31AM +, Peter Samuelson wrote: So, if you choose left-to-right, how do you implement varargs? Keep in mind that prototypes are optional. I bet anything your solution is slower and more complex than right-to-left, as all known compilers do. Calling a varargs

Re: mapping user space buffer to kernel address space

2000-10-17 Thread Andrea Arcangeli
On Tue, Oct 17, 2000 at 01:02:01PM -0700, Linus Torvalds wrote: But what about things like: - linearized circular buffers (where "linearized" means that the buffer is mapped twice or more consecutively virtually in memory, so that the user doesn't need to worry about the boundary

Re: three kernel trees?

2000-10-17 Thread Jeff V. Merkey
Kenneth Johansson wrote: "Jeff V. Merkey" wrote: Alan, Were Linux to go totally modular in 2.5, development cycles will be reduced by 1/2 to 1/3. This is because you could always roll back to known good modules to post a release. The way you guys are going, if Linux stays

Re: Patch to remove undefined C code

2000-10-17 Thread Tom Leete
[CC trimmed] Bill Wendling wrote: 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

RE: [BUG]: Ext2 Corruption in test10pre3 (incl. Oops) -- MAIL LOOP?

2000-10-17 Thread Sudhindra Herle
Sorry for this off-topic post, but, I'm getting this email way too many times. I now have 5 copies of the email from Alexander Viro (in response to Linus). Is anyone else facing the same problem? Is vger messed up again? Cheers, -Sudhi. - To unsubscribe from this list: send the line

Re: three kernel trees?

2000-10-17 Thread FORT David
"Jeff V. Merkey" wrote: Kenneth Johansson wrote: "Jeff V. Merkey" wrote: Alan, Were Linux to go totally modular in 2.5, development cycles will be changes creap into the kernel that increase the time to a stable version. Making the TODO list before instead of at the end

Re: three kernel trees?

2000-10-17 Thread Jeff V. Merkey
Let's see if Linus creates a modular 2.5 tree. If he does, merging MANOS back into Linux will be a pleasant experience Jeff FORT David wrote: "Jeff V. Merkey" wrote: Kenneth Johansson wrote: "Jeff V. Merkey" wrote: Alan, Were Linux to go totally modular in 2.5,

2.4 switches eth0 and eth1 from 2.2

2000-10-17 Thread The Shadow's Hand
I've got an Asus P2B-L mobo, which has an integrated eepro100, and an DEC Tulip PCI card. I've been running 2.2.16. To use a new ATA/100 card I tried 2.4-test10-pre3. All worked well, indeed very well, except 2.4 switched eth0 and eth1 from 2.2.x. That is, the Tulip became eth0, rather than

Re: 2.4.0-test9-pre8, usb, unresolved symbols

2000-10-17 Thread Keith Owens
Objects that export symbols must be explicitly listed before the calculation of OX_OBJS. usb.o is not explicitly listed as an object, it is implicitly included via the link of usbcore. Index: 0-test10-pre3.1/drivers/usb/Makefile --- 0-test10-pre3.1/drivers/usb/Makefile Mon, 02 Oct 2000 15:28:44

Re: 2.4 switches eth0 and eth1 from 2.2

2000-10-17 Thread Andi Kleen
On Tue, Oct 17, 2000 at 08:51:08PM -0400, The Shadow's Hand wrote: I've got an Asus P2B-L mobo, which has an integrated eepro100, and an DEC Tulip PCI card. I've been running 2.2.16. To use a new ATA/100 card I tried 2.4-test10-pre3. All worked well, indeed very well, except 2.4 switched

Ute-Linux Release 1.0.1 posted

2000-10-17 Thread Jeff V. Merkey
This release is freely available for download at vger.timpanogas.org in both ISO image and directory tree formats. This release corrects a bug in the anaconda installer python scripts relative to dependent modules. The anaconda scripts simply hang and lockup a system if a module is

Re: mapping user space buffer to kernel address space

2000-10-17 Thread Stephen Tweedie
Hi, On Wed, Oct 18, 2000 at 01:00:48AM +0200, Andrea Arcangeli wrote: On Tue, Oct 17, 2000 at 02:04:10PM -0700, Linus Torvalds wrote: It so happens that the vmscan stuff won't ever remove a physical page mapping, but that's simply because such a page CANNOT be swapped out. How So if I

Re: mapping user space buffer to kernel address space

2000-10-17 Thread Linus Torvalds
On Wed, 18 Oct 2000, Andrea Arcangeli wrote: On Tue, Oct 17, 2000 at 02:04:10PM -0700, Linus Torvalds wrote: It so happens that the vmscan stuff won't ever remove a physical page mapping, but that's simply because such a page CANNOT be swapped out. How So if I write a mechanism that

Re: mapping user space buffer to kernel address space

2000-10-17 Thread Linus Torvalds
On Wed, 18 Oct 2000, Andrea Arcangeli wrote: Are you suggesting something like: if it is reading from a page (ie writing the contents of that page somewhere else), we don't lock it, but if it is writing to a page, we lock it so that the dirty bit won't get lost. That wasn't what I

2.4.0-test10-pre3 Ooops

2000-10-17 Thread Gary E. Miller
Yo All! Help! See below for my kernel oops. I have not been able to use any kernel after 2.4.0-test5 due to this problem. It happens shortly after booting the kernel and is very repeatable. This is a dual PII system with PIIX4 ide, 53c875 scsi and Raid 1. It is not a production system so I

[PATCH] Boot Logo - cleanup and configuration

2000-10-17 Thread Rick Miller
Axel, are these changes to the kernel configuration options okay with you? Kernel Developers, please try this one out. I don't have any non-i386 architecture machines to try this out on. Various changes to unify and automate the frame buffer boot graphic and to offer kernel configuration

Oops in 2.2.17

2000-10-17 Thread Kari Lempiainen
I'm running 2.2.17 on Dual SMP system. This appeared on syslog last night: Oct 18 03:28:39 trane kernel: Unable to handle kernel paging request at virtual address 2d4d524d Oct 18 03:28:39 trane kernel: current-tss.cr3 = 00101000, %cr3 = 00101000 Oct 18 03:28:39 trane kernel: *pde =

Re: compile error in 2.4.0-test10-pre3

2000-10-17 Thread Thomas Molina
On Tue, 17 Oct 2000, Thomas Molina wrote: > I patched from 2.4.0-test9 to 2.4.0-test10-pre3 successfully. I then > did make mrproper, make oldconfig, make dep successfully. make bzImage > resulted in the following error: Would someone please hand me one of those brown paper bags. Note to

Re: compile error in 2.4.0-test10-pre3

2000-10-17 Thread Keith Owens
On Tue, 17 Oct 2000 00:45:13 -0500 (CDT), Thomas Molina <[EMAIL PROTECTED]> wrote: >I patched from 2.4.0-test9 to 2.4.0-test10-pre3 successfully. I then >did make mrproper, make oldconfig, make dep successfully. make bzImage >resulted in the following error: > >[root@wr5z linux]# make bzImage

Weird Interfaces

2000-10-17 Thread Peter Zimmer
Hi! I'm in serious trouble right now. I built a firewall with the 2.2.x kernel (with ipchains + masquerading + ipip tunnel). If I try to connect to my firewall from another computer(inner or outer net) , sometimes (50%, what else??) the 'wrong' interface answers (my firewall detects packets for

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

2000-10-17 Thread David Woodhouse
On Tue, 17 Oct 2000, Mike A. Harris wrote: > Is there a major compelling reason that this patch isn't included > in the standard kernel tree? It does _evil_ things with the timers. If we shift the system timer tick onto the RTC, it won't be so evil, and I'd consider trying to submit it for 2.5.

Re: [PATCH] GPL licence corrections

2000-10-17 Thread David Woodhouse
On Mon, 16 Oct 2000, Mike A. Harris wrote: > Actually I just looked through my command history and found the > exact command I used: > > grep -ir "licence" * > ../license-grep-2.4 > > Talk about not being able to decide how to spell something! > Heheh. I normally spell it "license", however

Re: two patches for 2.4.0-test10-pre3

2000-10-17 Thread Rusty Russell
In message <[EMAIL PROTECTED]> you write: > --- linux/net/ipv6/netfilter/Config.in.oldMon Oct 16 17:25:17 2000 > +++ linux/net/ipv6/netfilter/Config.inMon Oct 16 17:46:07 2000 > +if [ "$CONFIG_IP6_NF_TARGET_MARK" = "y" -a "$CONFIG_IP_NF_IPTABLES" != " y" ]; then > +

Re: failure to blank CDRWs (2.2.18pre15 smp ide-scsi hp7100i)

2000-10-17 Thread Joerg Schilling
>From [EMAIL PROTECTED] Tue Oct 17 01:14:32 2000 >1.8.1. A ricoh 9060 on a machine running identical kernel build / >cdrecord binary works fine> >I just finished compiling cdrecord-1.8.1 with debug enabled. The two >attached log files are from the hp7100i / smp / 2.2.18pre15, and the >ricoh

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 > >

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

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,

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; >

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

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

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

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,

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

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.

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

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 > >

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

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

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,

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

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

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

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

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

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

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

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

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 ---

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

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 > >

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

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

[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

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

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,

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

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

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

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?

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

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

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

<    1   2   3   4   >