Re: Porting network driver to 2.4.0

2001-01-10 Thread Richard B. Johnson
On Wed, 10 Jan 2001, Jonathan Earle wrote: Hey all, Still working with kernel 2.4.0-test9 (other things we use require it for now), and I was looking at a driver for a Znyx zx346q network card that I grabbed from the znyx.com website. The driver is for a 2.2.x kernel, but figuring I'd

Re: Linux driver: __get_free_pages()

2001-01-11 Thread Richard B. Johnson
On Thu, 11 Jan 2001, Paul Powell wrote: Our driver is trying to allocate a DMA buffer to flash an adapter's firmware. This can require as much as 512K ( of contiguous DMA memory ). We are using the function __get_free_pages( GFP_KERNEL | GFP_DMA, order ) . The call is failing if 'order'

Re: [2.2.18] outgoing connections getting stuck in SYN_SENT

2001-01-11 Thread Richard B. Johnson
On Fri, 12 Jan 2001, Mark Longair wrote: I'm having a problem where twice a day or so, any new tcp connection it gets stuck in SYN_SENT. Eventually this situation rights itself, but obviously in the meantime many services (e.g. squid, X) are broken. The machine does IP masquerdading with

Re: [2.2.18] outgoing connections getting stuck in SYN_SENT

2001-01-12 Thread Richard B. Johnson
On Fri, 12 Jan 2001, Mark Longair wrote: On Thursday 11 January, Richard B. Johnson wrote ("Re: [2.2.18] outgoing connections getting stuck in SYN_SENT"): [...] You probably compiled your kernel with "CONFIG_INET_ECN" set. If so, you need to turn it OFF in /proc/sys/

Turn OFF flow-control on a serial link??

2001-01-15 Thread Richard B. Johnson
Hello, When the 'console' is mapped to a serial device, i.e., /dev/ttyS0, if a terminal, without modem control is connected, no text is displayed. If a terminal is connected, it is often just 3-wires, i.e, RX/TX/GND. I need to disable modem control, i.e., hardware slow-control. It used to be

Re: Slot Number Question

2001-01-15 Thread Richard B. Johnson
On Mon, 15 Jan 2001, Jack Hammer wrote: My adapter configuration utility needs to instruct the user which physical adapter needs attention ( when there may be multiple adapters in the system ).My question is : How do I determine the ( machine ) slot number of a PCI adapter ? In BIOS

Update on RTS/CTS serial problem with 2.4.0

2001-01-16 Thread Richard B. Johnson
I previously reported a problem trying to disable hardware flow-control of serial ports in the Linux kernel 2.4.0. This problem did not exist in Linux version 2.2.18. This problem occurs when the initial console has been redirected out to a serial port as is the case with one of our embedded

Linux 2.0.4 has FS corruption (not IDE)

2001-01-17 Thread Richard B. Johnson
I lost my root file-system last night to massive corruption occurring while doing a automatic `tar` backup to tape. Some corruption probably occurred while the ATIME was being updated because most of the tape was good. Basically, e2fsck could not recognize a valid file system. `od /dev/sdc1`

Re: [OT?] Coding Style

2001-01-22 Thread Richard B. Johnson
On Mon, 22 Jan 2001, Larry McVoy wrote: On Mon, Jan 22, 2001 at 11:04:50AM -0500, Jonathan Earle wrote: -Original Message- From: profmakx.fmp [mailto:[EMAIL PROTECTED]] So, every good programmer should know where to put comments. And it is unnecessary to put comments

Re: Total loss with 2.4.0 (release)

2001-01-23 Thread Richard B. Johnson
On Tue, 23 Jan 2001, Trever L. Adams wrote: Patrizio Bruno wrote: I think that your linux's partition has not been overwritten, but only the MBR of your disk, so you probably just need to reinstall lilo. Insert your installation bootdisk into your pc, then skip all the setup stuff, but

AMD Ethernet/Am79C973/Am79C975 (pcnet32/FAST), SEEPROM R/W patch

2001-01-24 Thread Richard B. Johnson
-EOPNOTSUPP; } --- linux-2.4.0/drivers/net/pcnet32.h.orig Tue Jan 23 13:37:24 2001 +++ linux-2.4.0/drivers/net/pcnet32.h Mon Jan 22 11:05:16 2001 @@ -0,0 +1,33 @@ +/* + * File: pcnet32.h Created 12-12-2000 Richard. B. Johnson + * + * Contains elements that need to be

Re: Silly Question

2001-01-24 Thread Richard B. Johnson
On Wed, 24 Jan 2001, Isabelle, Francois wrote: There is something I try to do using Linux and I think you may have a clue: I want to use the external loopback of my ethernet interface to test it. I want the data to actually go through the cable and I don't want internal logic to bypass

Re: patchlet for cs46xx

2001-01-25 Thread Richard B. Johnson
On Thu, 25 Jan 2001, Pete Zaitcev wrote: Sorry for the nitpicking, bust since 2.4 is now "stable"... -- Pete [SNIPPED...] From what I tested, copy_to/from_user, now seg-faults the caller directly. If the function returns, it worked. Therefore you will never get a chance to return -EFAULT.

Re: patchlet for cs46xx

2001-01-25 Thread Richard B. Johnson
On Thu, 25 Jan 2001, Jens Axboe wrote: On Thu, Jan 25 2001, Richard B. Johnson wrote: [SNIPPED...] From what I tested, copy_to/from_user, now seg-faults the caller directly. If the function returns, it worked. Therefore you will never get a chance to return -EFAULT. Huh?? copy_to

Re: Linux Post codes during runtime, possibly OT

2001-01-25 Thread Richard B. Johnson
On Thu, 25 Jan 2001, H. Peter Anvin wrote: Matthew Dharm wrote: It occurs to me that it might be a good idea to pick a different port for these things. I know a lot of people who want to use port 80h for debugging data, especially in embedded x86 systems. Find a safe port, make

Re: Renaming lost+found

2001-01-26 Thread Richard B. Johnson
On Fri, 26 Jan 2001, Rob Kaper wrote: If this is ext2 specific, just say so and I'll find a better list to discuss this: (any good ext2 lists available for example?) Is there a way to rename lost+found ?? It bothers me to see it in ls all the time because 99.9% of my time it's just useless

Re: Linux Post codes during runtime, possibly OT

2001-01-26 Thread Richard B. Johnson
On Thu, 25 Jan 2001, H. Peter Anvin wrote: "Richard B. Johnson" wrote: On Thu, 25 Jan 2001, H. Peter Anvin wrote: Matthew Dharm wrote: It occurs to me that it might be a good idea to pick a different port for these things. I know a lot of people who want to us

Re: Linux Post codes during runtime, possibly OT

2001-01-26 Thread Richard B. Johnson
On Fri, 26 Jan 2001, Petr Vandrovec wrote: On 26 Jan 01 at 8:58, Richard B. Johnson wrote: On Thu, 25 Jan 2001, H. Peter Anvin wrote: You could use the DMA scratch register at 0x19. I'm sure Linux doesn't "save" stuff there when setting up the DMA controller. I w

Re: Linux Post codes during runtime, possibly OT

2001-01-26 Thread Richard B. Johnson
On Fri, 26 Jan 2001, Jamie Lokier wrote: Mark Hahn wrote: #ifdef SLOW_IO_BY_JUMPING #define __SLOW_DOWN_IO "\njmp 1f\n1:\tjmp 1f\n1:" #else -#define __SLOW_DOWN_IO "\noutb %%al,$0x80" +#define __SLOW_DOWN_IO "\noutb %%al,$0x19" this is nutty: why can't udelay be used

Re: Linux Post codes during runtime, possibly OT

2001-01-26 Thread Richard B. Johnson
On Fri, 26 Jan 2001, Manfred Spraul wrote: + * + * Changed the slow-down I/O port from 0x80 to 0x19. 0x19 is a + * DMA controller scratch register. [EMAIL PROTECTED] */ What about making that a config option? default: delay with 'outb 0x80', other options could be

Re: Linux Post codes during runtime, possibly OT

2001-01-29 Thread Richard B. Johnson
On Sun, 28 Jan 2001, Pavel Machek wrote: Hi! Ok. I've thought about it some more, but I don't care enough about this issue to do the painstaking legwork: I don't have one of those POST-code indicators on port 0x80. I've made the "pause" in outb_p just a few (*) ns slower,

Re: eepro100 - Linux vs. FreeBSD

2001-01-29 Thread Richard B. Johnson
On Mon, 29 Jan 2001, Craig I. Hagan wrote: One approach to the endless eepro100 headaches would be to port the FreeBSD if_fxp driver to Linux. After all, drivers have been ported between these OSs before; e.g., the aic7xxx SCSI adapter. However, I see no evidence that this has been

Re: eepro100 - Linux vs. FreeBSD

2001-01-29 Thread Richard B. Johnson
On Mon, 29 Jan 2001, Sergey Kubushin wrote: On Mon, 29 Jan 2001, Richard B. Johnson wrote: Two of my Linux machines use the Intel Ethernet controller on the motherboard. These are both SMP machines. I have never, ever, had any problems with the eepro100 driver that handles these chips

Re: Linux Post codes during runtime, possibly OT

2001-01-30 Thread Richard B. Johnson
On Tue, 30 Jan 2001, Mark H. Wood wrote: On Sat, 27 Jan 2001, Rogier Wolff wrote: [snip] I may have missed too much of the discussion, but I thought that the idea was that some people noted that their POST-code-cards don't really work all that well when Linux is running because Linux

Re: Linux Post codes during runtime, possibly OT

2001-01-30 Thread Richard B. Johnson
On Tue, 30 Jan 2001, mirabilos wrote: [...] Now, we've found that small delays are reasonably well generated with an "outb" to 0x80. So, indeed changing that to something else is going to be tricky. So how bad would it be to give these people a place to leave the value that

Version 2.4.1 cannot be built.

2001-01-30 Thread Richard B. Johnson
The subject says it all. `make dep` is now broken. make[1]: Entering directory `/usr/src/linux-2.4.1/arch/i386/boot' make[1]: Nothing to be done for `dep'. make[1]: Leaving directory `/usr/src/linux-2.4.1/arch/i386/boot' scripts/mkdep init/*.c .depend scripts/mkdep `find

Re: Ruined boot sector on X20/W2K

2001-01-30 Thread Richard B. Johnson
On Tue, 30 Jan 2001, I Lee Hetherington wrote: If Mandrake used LILO to install, there very well might be a backup in /boot/boot.0800 or something like that. You might want to consult the LILO documentation and/or a net search to see if they say how to restore this (probably using dd).

Re: Version 2.4.1 cannot be built.

2001-01-30 Thread Richard B. Johnson
On Wed, 31 Jan 2001, Keith Owens wrote: On Tue, 30 Jan 2001 16:45:16 -0500 (EST), "Richard B. Johnson" [EMAIL PROTECTED] wrote: The subject says it all. `make dep` is now broken. make[4]: Entering directory `/usr/src/linux-2.4.1/drivers/acpi' Makefile:29: *** target patter

Re: Version 2.4.1 cannot be built.

2001-01-30 Thread Richard B. Johnson
On Tue, 30 Jan 2001, Richard B. Johnson wrote: On Wed, 31 Jan 2001, Keith Owens wrote: On Tue, 30 Jan 2001 16:45:16 -0500 (EST), "Richard B. Johnson" [EMAIL PROTECTED] wrote: The subject says it all. `make dep` is now broken. make[4]: Entering directory `/usr/src/linux-2.4

Re: Version 2.4.1 cannot be built.

2001-01-30 Thread Richard B. Johnson
On Wed, 31 Jan 2001, Keith Owens wrote: On Tue, 30 Jan 2001 17:57:44 -0500 (EST), "Richard B. Johnson" [EMAIL PROTECTED] wrote: On Wed, 31 Jan 2001, Keith Owens wrote: On Tue, 30 Jan 2001 16:45:16 -0500 (EST), "Richard B. Johnson" [EMAIL PROTECTED] wrote: The

Re: Version 2.4.1 cannot be built.

2001-01-31 Thread Richard B. Johnson
On Tue, 30 Jan 2001, Rik van Riel wrote: On Tue, 30 Jan 2001, Richard B. Johnson wrote: The subject says it all. `make dep` is now broken. It worked fine here, with 2.4.1 unpacked from the tarball. Rik -- I cannot find the source for GNU Make 3.77+ Does anybody know were it is now

Re: Version 2.4.1 cannot be built.

2001-01-31 Thread Richard B. Johnson
On Wed, 31 Jan 2001, Rik van Riel wrote: On Wed, 31 Jan 2001, Richard B. Johnson wrote: On Tue, 30 Jan 2001, Rik van Riel wrote: On Tue, 30 Jan 2001, Richard B. Johnson wrote: The subject says it all. `make dep` is now broken. It worked fine here, with 2.4.1 unpacked from

Re: Version 2.4.1 cannot be built.

2001-01-31 Thread Richard B. Johnson
On Mon, 29 Jan 2001, Michael B. Trausch wrote: On Wed, 31 Jan 2001, Richard B. Johnson wrote: I cannot find the source for GNU Make 3.77+ Does anybody know were it is now? Also, for a long time, I have been trying to find the source for bison "yacc". I'd wonder if yo

Re: Version 2.4.1 cannot be built.

2001-01-31 Thread Richard B. Johnson
On Wed, 31 Jan 2001, Rik van Riel wrote: On Wed, 31 Jan 2001, Richard B. Johnson wrote: On Wed, 31 Jan 2001, Rik van Riel wrote: On Wed, 31 Jan 2001, Richard B. Johnson wrote: I cannot find the source for GNU Make 3.77+ I have a hard time believing that you don't have

Not a typewriter

2001-05-10 Thread Richard B. Johnson
I noticed that my favorite errno has now gotten trashed by the newer 'C' runtime libraries. ENOTTY has been for ages, Not a typewriter. It's now been changed to Inappropriate ioctl for device. Methinks that this means that ../linux/include/asm/errno.h now needs to be updated: -#define

Re: Not a typewriter

2001-05-11 Thread Richard B. Johnson
On Thu, 10 May 2001, H. Peter Anvin wrote: [EMAIL PROTECTED] wrote: On 05/10/2001 at 05:38:32 PM [EMAIL PROTECTED] (H. Peter Anvin) wrote: Sounds like someone has just clarified what the heck it means. tty and typewriter aren't exactly the same thing (even though tty stands for

Possible race in interruptible_sleep_on_timeout()

2001-05-16 Thread Richard B. Johnson
I lifted the following kernel-thread code from ../linux/drivers/net/8139too.c, just added a procedure to call. static int gpib_thread(void *unused) { unsigned long timeout; daemonize(); spin_lock_irq(current-sigmask_lock); sigemptyset(current-blocked);

Re: wrong /dev/sd... order with multiple adapters in kernel 2.4.4

2001-05-16 Thread Richard B. Johnson
On Wed, 16 May 2001, Massimo Dal Zotto wrote: Hi, I have recently upgraded the kernel from 2.2.19 to 2.4.4 and discovered that it assigns the /dev/sd... devices in the wrong order with respect both to the behavior of kernel 2.2.19 and to the `scsihosts' boot option which I specified at

Linux-2.4.4 failure to compile

2001-05-17 Thread Richard B. Johnson
Hello; I downloaded linux-2.4.4. The basic kernel compiles but the aic7xxx SCSI module that I require on some machines, doesn't. [SNIPPED `make modules`] make -C scsi modules make[2]: Entering directory `/usr/src/linux-2.4.4/drivers/scsi' ld -m elf_i386 -r -o scsi_mod.o scsi.o hosts.o

Re: Linux-2.4.4 failure to compile

2001-05-17 Thread Richard B. Johnson
On 17 May 2001, H. Peter Anvin wrote: Followup to: [EMAIL PROTECTED] By author:Tim Hockin [EMAIL PROTECTED] In newsgroup: linux.dev.kernel The aic7xxx assembler requiring libdb1 is a bungle. Getting the headers for that right on various distros is not easy. Add to that it

Re: [newbie] timer in module

2001-05-18 Thread Richard B. Johnson
On Fri, 18 May 2001, sebastien person wrote: Le Fri, 18 May 2001 08:32:33 -0400 (EDT) Bart Trojanowski [EMAIL PROTECTED] a ecrit : On Fri, 18 May 2001, sebastien person wrote: I have a network module that need to regularly get data from network adaptater. But I don't know if it

Re: [patch] string-486.h modified

2000-08-31 Thread Richard B. Johnson
On Thu, 31 Aug 2000, Petko Manolov wrote: Hi to all, I made this patch as some people request using 486 optimized string routines for older (486 and 586) machines. With intel processors, the 'rep' before an instruction will not execute that instruction if ecx is already zero. You

Re: Large File support and blocks.

2000-09-01 Thread Richard B. Johnson
On Fri, 1 Sep 2000, Matti Aarnio wrote: On Fri, Sep 01, 2000 at 03:15:27PM +0200, Andi Kleen wrote: ( Not 'unsigned long long' ) The shift on pbm_offset operates on long long. Uh, somehow I thought the reference was about bh-b_blocknr; Ok, never mind. The

Re: [patch] string-486.h modified

2000-09-01 Thread Richard B. Johnson
On Fri, 1 Sep 2000, Pavel Machek wrote: Hi! On Thu, 31 Aug 2000, Petko Manolov wrote: [Snipped...] Good. You understand. Keep up the good work. I realy would like to see this code in use ;-) After you test it **THOUROUGHLY**, send a patch to Linus. I

Race condition in 2.2.15 and 2.2.16

2000-09-06 Thread Richard B. Johnson
There is a race condition somewhere in linux-2.2.15 and 2.2.16 that is demonstrated here. Cut and save the included 'Makefile'. Execute: mkdir zam mv Makefile zam cd zam Make sure you are in the empty directory with only "Makefile" Execute: while true ; do make clean ; done The file,

Re: modules directory

2000-09-06 Thread Richard B. Johnson
On Thu, 7 Sep 2000, Keith Owens wrote: On Wed, 6 Sep 2000 15:09:02 -0400 (EDT), Andrew Park [EMAIL PROTECTED] wrote: Just installed linux-2.4.0-test7, but I noticed that the modules get installed /lib/modules/`uname -r`/kernel/drivers/... which is different from previous kernels.

Re: Booting into /bin/bash

2000-09-11 Thread Richard B. Johnson
On Mon, 11 Sep 2000, Adam wrote: Does anybody know off the top of their head if there is an easy way to have ^C work with /bin/bash as a shell, without having to set up ptys?? Just setting terminal parameters to allow signals doesn't do anything. not exactly the answer, but what I do

Re: Booting into /bin/bash

2000-09-13 Thread Richard B. Johnson
On Wed, 13 Sep 2000, Miquel van Smoorenburg wrote: According to Richard B. Johnson: Without patching the kernel, I think I can show that there is something basically wrong. The patch may just hide the problem. No. Try it. Something seems to be wrong, even with using the first

Re: Linux 2.2.17 broken with initrd

2000-09-13 Thread Richard B. Johnson
On Wed, 13 Sep 2000, Joseph Carter wrote: I've been fighting with this for a couple of days now. I've been trying under lilo, syslinux, and grub to get the kernel to follow the documented behavior of executing /linuxrc if you tell it to load an initrd as it did back in 2.0.35 (which was the

Re: Distro kernel patches (was Re: Linux 2.2.18pre4)

2000-09-13 Thread Richard B. Johnson
On 13 Sep 2000, Ralf Gerbig wrote: * Chip Salzenberg writes: Hi Chip, According to Ralf Gerbig: but SuSe and I believe RedHat etc. etc. _do_ ship patched kernels. You've just made L-K's understatement of the day. [...] so I rest my case vs shrink wrap. Yep. I installed

Re: Booting into /bin/bash

2000-09-15 Thread Richard B. Johnson
suceed if the current process does not already have a controlling terminal. Both will fail for pid=1, which does not already have a controlling terminal. Therefore... Richard B. Johnson writes: setsid()= 6 open("/dev/tty1", O_RDWR|

Re: Booting into /bin/bash

2000-09-15 Thread Richard B. Johnson
a controlling terminal. (Note that TIOCSCTTY takes an argument which means "steal the controlling tty from another session leader, if any" which only works if the calling process is UID0). There was an argument, but strace didn't show it. Therefore... Richard B. John

Re: New topic (PowerPC Linux PCI HELL)

2000-09-15 Thread Richard B. Johnson
On Fri, 15 Sep 2000, Alan Cox wrote: The PCI Specification states, in part, that either the BIOS or the driver has to enable the device. So, many drivers find that the device has not been enabled. This is normal and necessary because many/most PCI hardware had better not be enabled until

Re: New topic (PowerPC Linux PCI HELL)

2000-09-15 Thread Richard B. Johnson
On Fri, 15 Sep 2000, [ISO-8859-1] Gérard Roudier wrote: On Fri, 15 Sep 2000, Linus Torvalds wrote: On Fri, 15 Sep 2000, Gérard Roudier wrote: [Snipped a lot...] Call "pci_enable_device()". What's so hard about that? This function delegates too much as a whole to the PCI

Re: Question: Using floating point in the kernel

2000-09-19 Thread Richard B. Johnson
On Tue, 19 Sep 2000, Michael Vines wrote: I was just wondering if you can use floating point while servicing a syscall in the kernel? Doing a find -name \*.c -exec grep float {} \; -print turned up a couple drivers that seem to be using fp. Are there any known issues that I should to be

Re: /dev/f1

2000-09-19 Thread Richard B. Johnson
On Tue, 19 Sep 2000, Daniel Lange wrote: Hi all, I don't know how relevant to this list my question is, as I'm a quite new subscriber, but I was perusing the linux kernel (2.2.16) Makefiles and ran into this in /usr/src/linux/net/ethernet/Makefile: tar -cvf /dev/f1 . I think you

Re: Question: Using floating point in the kernel

2000-09-21 Thread Richard B. Johnson
On Thu, 21 Sep 2000, Alan Cox wrote: It is sufficient when you do tsk-flags |= PF_USEDFPU first. Unless you sleep Unless I'm missing something the lazy FPU state save in the 2.4 switch_to will do the right thing at least on x86. Your kernel FPU state will overwrite the user

Re: IOREMAP

2000-09-22 Thread Richard B. Johnson
On Fri, 22 Sep 2000, Timur Tabi wrote: ** Reply to message from MOHAMMED AZAD [EMAIL PROTECTED] on Fri, 22 Sep 2000 21:26:56 +0530 How does ioremap work???... does it allocate memory after a remap operation.. can someone throw some light on this... any help appreciated... Well, as

Re: Interrupt sharing

2000-09-25 Thread Richard B. Johnson
On Mon, 25 Sep 2000, Mahadev K Cholachagudda wrote: Hello to all, I have one doubt and is as below. Suppose say the two drivers driver1 and driver2 will install the ISR for a particular interrupt, say UART0. After some time the interrupt is generated. At this moment, which driver's

Re: st0 errors - 2.2.16

2000-09-25 Thread Richard B. Johnson
On Mon, 25 Sep 2000, Michael J. Dikkema wrote: I get these errors whenever I try to read data off of a new tape drive that we got. (Onstream ADR-50) st0: Error 2603 (sugg. bt 0x20, driver bt 0x26, host bt 0x3). st0: Error on write filemark. You should not get a write error when

Re: kernel/dma.c question

2000-09-26 Thread Richard B. Johnson
On Tue, 26 Sep 2000, boria wrote: Hi, First of all, i am new to kernel, so please correct me if i am wrong or explain if i don't get something. Why does free_dma get declared with different return types in dma.c ? So runtime checks don't have to be made. If you don't have DMA,

Re: Linux kernel modules development in C++

2000-09-27 Thread Richard B. Johnson
On Wed, 27 Sep 2000, [iso-8859-1] Abel Muñoz Alcaraz wrote: Hi everybody, I want to develop a linux kernel module in C++ but I don't find makefiles and/or sorce files examples to do this. Use the correct tool for the job. The Linux kernel uses 'C' and assembly. Cheers, Dick

Re: Removing boot text

2000-09-28 Thread Richard B. Johnson
On Thu, 28 Sep 2000, Paul Powell wrote: We are using Linux as a bootable CD for system configuration. We would like to keep all the information displayed at bootup hidden. The main reason for this is because our users see words such as "error" and "failed" and it bothers them (though

Re: What is up with Redhat 7.0?

2000-09-29 Thread Richard B. Johnson
On Fri, 29 Sep 2000, David M. Rector wrote: Has anyone tried Redhat 7.0 yet? What a mess. 1) It would not compile stock kernels out of the box. (ends at compress.S) with a fatal error. 2) Trying to compile the kernel source for 2.2.16 that comes with the redhat disk (which is very

Re: Booting into /bin/bash

2000-09-13 Thread Richard B. Johnson
On Wed, 13 Sep 2000, David S. Miller wrote: Date: Wed, 13 Sep 2000 09:25:28 -0400 (EDT) From: "Richard B. Johnson" [EMAIL PROTECTED] I haven't a clue why a UID/GID=0 process can't acquire a controlling TTY. It probably is some bogosity to do with proc

Re: 32-bit pid_t / security

2000-10-04 Thread Richard B. Johnson
On Tue, 3 Oct 2000, Brett Frankenberger wrote: S/390 folks run 70,000 sessions active within the same 60 second period off one big box. Not on Linux (yet ;)) but its worth bearing in mind. Linux 2.2.17 only allows 255 processes at any one time. Is this a 'feature'. If so, there is no

Re: 32-bit pid_t / security

2000-10-04 Thread Richard B. Johnson
On Wed, 4 Oct 2000, Michael van den broek wrote: On Wed, 4 Oct 2000, Richard B. Johnson wrote: On Tue, 3 Oct 2000, Brett Frankenberger wrote: S/390 folks run 70,000 sessions active within the same 60 second period off one big box. Not on Linux (yet ;)) but its worth

Re: 32-bit pid_t / security

2000-10-04 Thread Richard B. Johnson
On Wed, 4 Oct 2000, Mark Hahn wrote: Linux 2.2.17 only allows 255 processes at any one time. Is this a ... Can't fork any more after 255 processes ulimit -u getting back OT, current entry-level PCs (duron/600) can easily do 7000 fork/wait pairs per second. Maybe I have a broken

Re: Apache Overload Behavior Under Linux [Kernel-Centric Question]

2000-10-06 Thread Richard B. Johnson
On Fri, 6 Oct 2000, Stanislav Rost wrote: Fellow Linux afficionados, I am working on a research project involving the Linux kernel and Apache. Recently, I became puzzled by the overload behavior of Apache under cetrain conditions. The processing in web servers is inherently kernel-heavy,

Re: PATCH: Linux 2.2.17 not RFC1812 compliant

2000-10-06 Thread Richard B. Johnson
On Fri, 6 Oct 2000, Mario Lorenz wrote: Hi folks, Linux 2.2.17 (only tested version, I assume all other 2.2 series suffer from the same problem and possibly 2.4 as well - but I havent even looked at that). Assuming a configuration with linuxbox1 eth0 has adresses 192.168.129.1 and

IEEE 1394 Firewire

2000-10-08 Thread Richard B. Johnson
Hello! Has anybody written a driver for the Western Digital (or similar) PCI / Firewire adapter? If not, I'm going to have to write one. If it doesn't exist yet, should the device be a block device or a character device? There are some new very-fast disks that now use Firewire so this would

Re: spurious 8259A interrupt?

2000-10-10 Thread Richard B. Johnson
On Mon, 9 Oct 2000, Daniel Lange wrote: Periodically, I get the following error with the 2.4.0test9 kernel: spurious 8259A interrupt: IRQ7. [SNIPPED...] This will sometimes happen with the 8259A and really should not even be logged. There is a default handler for all interrupts. If this

Re: [PATCH] OOM killer API (was: [PATCH] VM fix for 2.4.0-test9 OOM handler)

2000-10-11 Thread Richard B. Johnson
On Thu, 12 Oct 2000, Matthew Hawkins wrote: Seriously, am I missing something obvious or is it far simpler just to keel over and die if the system goes OOM? I mean, seriously, if the administrator lets it get to that state then he/she/it deserves a dead system. It's akin to having your

BIG problem with BusLogic SCSI and/or something else

2000-10-11 Thread Richard B. Johnson
I tried to add a new Hard disk. It's s Seagate ST39102LW 8.1 Gb. In the BIOS setup of the BusLogic adapter, I was able to format and verify the disk with no problems whatsoever. fdisk seemed to work okay. I made partitions. mke2fs would fail (hang the system) while writing inodes. The BusLogic

Re: BIG problem with BusLogic SCSI and/or something else

2000-10-12 Thread Richard B. Johnson
On Thu, 12 Oct 2000, Guest section DW wrote: On Wed, Oct 11, 2000 at 05:11:39PM -0400, Richard B. Johnson wrote: Linux version 2.2.17 I tried to add a new Hard disk. It's s Seagate ST39102LW 8.1 Gb. Hmm. Your C/H/S multiplies out to 9.1 GB. On the other hand, Seagate ST39102LW has

Re: BIG problem with BusLogic SCSI and/or something else

2000-10-12 Thread Richard B. Johnson
On Thu, 12 Oct 2000, Matthias Andree wrote: Note that the sync-rate of target 6, the device I added, has been turned down to try to eliminate any hardware problems. Also note that the entire drive has been read/written with the BusLogic BIOS diagnostic setup utility. That BIOS setup

Re: BIG problem with BusLogic SCSI and/or something else

2000-10-12 Thread Richard B. Johnson
On Thu, 12 Oct 2000, Jeff Garzik wrote: "Richard B. Johnson" wrote: --- linux-2.2.17/drivers/scsi/BusLogic.h.orig Thu Oct 12 11:22:44 2000 +++ linux-2.2.17/drivers/scsi/BusLogic.hThu Oct 12 11:47:07 2000 @@ -1509,6 +1509,7 @@ void BusLogic_AcquireHostA

Re: large memory support for x86

2000-10-12 Thread Richard B. Johnson
On Thu, 12 Oct 2000, Oliver Xymoron wrote: On Wed, 11 Oct 2000, Kiril Vidimce wrote: My primary concern is whether a process can allocate more than 4 GB of memory, rather than just be able to use more than 4 GB of physical memory in the system. Define allocate. There are tricks you

Re: large memory support for x86

2000-10-12 Thread Richard B. Johnson
On Thu, 12 Oct 2000, Timur Tabi wrote: ** Reply to message from Jeff Epler [EMAIL PROTECTED] on Thu, 12 Oct 2000 13:08:19 -0500 What the support for 4G of memory on x86 is about, is the "PAE", Page Address Extension, supported on P6 generation of machines, as well as on Athlons (I

Re: Clear interrupts on a SMP machine?

2000-10-18 Thread Richard B. Johnson
On Wed, 18 Oct 2000, Alan Cox wrote: spin_lock_irqsave(local_lock, flags); Muck_With_The_RTC_Chip(); spin_unlock_irqrestore(local_lock, flags); This protects only the local procedure. In the meantime, somebody else, using another CPU is mucking with the same RTC Chip.

Re: Clear interrupts on a SMP machine?

2000-10-18 Thread Richard B. Johnson
On Wed, 18 Oct 2000, David Woodhouse wrote: [EMAIL PROTECTED] said: I can't control somebody else's use of `hwclock` or even some future kernel module. What you actually need to do is use the same spinlock as other users of the RTC hardware do. extern spinlock_t rtc_lock; It

Re: Clear interrupts on a SMP machine?

2000-10-18 Thread Richard B. Johnson
On Wed, 18 Oct 2000, David Woodhouse wrote: [EMAIL PROTECTED] said: There is no such exported variable in the 'stable' kernel tree: Then there should be, and the RTC accesses in 2.2 are probably racy. In which case, feel free to provide Alan with a patch for 2.2.18. -- dwmw2

Re: Clear interrupts on a SMP machine?

2000-10-18 Thread Richard B. Johnson
On Wed, 18 Oct 2000, David Woodhouse wrote: [EMAIL PROTECTED] said: 2.2.17 should be able to do. Cool. drivers/char/rtc.c needs to use it too. Then you need to pester Alan till he puts it in 2.2.18-pre-de-jour :) You want to patch /drivers/char/rtc.c ?? If you have a later

Re: Clear interrupts on a SMP machine?

2000-10-18 Thread Richard B. Johnson
On Wed, 18 Oct 2000, David Woodhouse wrote: [EMAIL PROTECTED] said: You want to patch /drivers/char/rtc.c ?? If you have a later kernel than me, it would be helpful. Just apply my patch than do the rtc.c. /me looks at his TODO list. Not really. Okay. I'll do it tonight. There are

Patch, spin-locks for CMOS access under SMP

2000-10-18 Thread Richard B. Johnson
This puts CMOS Chip access under a spin-lock and exports the rtc_lock symbol. It is for 2.2.17, should patch to 2.2.18. --- linux-2.2.17/arch/i386/kernel/i386_ksyms.c.orig Wed Oct 18 12:53:42 2000 +++ linux-2.2.17/arch/i386/kernel/i386_ksyms.c Wed Oct 18 12:55:55 2000 @@ -17,7 +17,7 @@

Re: process header declaration?

2000-10-19 Thread Richard B. Johnson
On Thu, 19 Oct 2000, Andrew C. Dingman wrote: I'm working on a project for my senior seminar for which I (and my profs) think I need to modify the process descriptor struct. Unfortunately, I don't seem to be good enough with 'grep' to figure out where the type is declared. Could someone give

Re: TRACED] Re: Tux is the wrong logo for Linux

2000-10-19 Thread Richard B. Johnson
On Thu, 19 Oct 2000, Dan Hollis wrote: [Snipped...] The machine's physical location is in Cary, NC. Anyone live near there willing to make a personal visit to the location to identify the individual responsible? -Dan "You get more respect with a kind word and a gun than a kind word".

RE: TRACED] Re: Tux is the wrong logo for Linux

2000-10-19 Thread Richard B. Johnson
On Thu, 19 Oct 2000, Mark Haney wrote: Richard Johnson wrote: Cary, NC. can't be very large. There are, probably, three persons in the whole county than have computers. Two haven't been booted since the day the were received by the kids because they've been busy studying for the M-CAP test.

Re: Topic for discussion: OS Design

2000-10-23 Thread Richard B. Johnson
On Sun, 22 Oct 2000, Dwayne C . Litzenberger wrote: Linux's loadable modules design is insufficient. I have several reasons for making this claim: 1. Many things are inaccessible to the modules: There are relatively few kernel modifications that can be compiled without patching the

Re: (no subject)

2000-10-23 Thread Richard B. Johnson
On Mon, 23 Oct 2000, Marco wrote: Hi, can someone briefly explain me how the kernel code prevent the preemption of process executing a system call ? I read several technical papers but I haven't found (or perhaps don't understood) a response there. Many thanks in advance

Re: Topic for discussion: OS Design

2000-10-23 Thread Richard B. Johnson
On Mon, 23 Oct 2000, Dennis wrote: o What used to take a month to get working in SunOS, will take a few hours on Linux. Linux has continually improved the resources available to the modules. In the beginning there was a kernel memory allocator. Now we have common resource allocation

Re: Topic for discussion: OS Design

2000-10-23 Thread Richard B. Johnson
On Mon, 23 Oct 2000, Dennis wrote: This is typical of the "linux mentality". Why do other OSs have solutions that work, yet linux's method requires special coding? If it "has to be done that way", why do other OS's have solutions that dont do it that way? the size of the buffer is an

Re: Minimizing dropped UDP packets

2000-10-24 Thread Richard B. Johnson
On Tue, 24 Oct 2000, Frank Hansen wrote: [SNIPPED...] Any suggestions whatsoever would be greatly appreciated. FWIW NT 4.0 running on the same hardware performs this task flawless, and I will have a diffucult time to convice my boss that we should use Linux as long as it is outperformed

Re: Can't boot AsusA7V+Tbird with Linux2.2.X?

2000-10-25 Thread Richard B. Johnson
On Wed, 25 Oct 2000, Michael O'Donnell wrote: Before I spend too many additional brain cells diagnosing this, can somebody remind me if this happens to be a well known problem? Several of my other brain cells think they've seen mention of this problem here, but a scan of the archives

Re: Linux 2.4.1 network (socket) performance

2001-02-23 Thread Richard B. Johnson
Hello, The problem with awful socket performance on 2.4.1 has been discovered and fixed by Manfred Spraul. Here is some info, and his patch: On Fri, 23 Feb 2001, Manfred Spraul wrote: Could you post your results to linux-kernel? My mail from this morning wasn't accurate enough, you patched

Re: random PID generation

2001-02-23 Thread Richard B. Johnson
On Fri, 23 Feb 2001, Sean Hunter wrote: I have already written a 2.2 implementation which does not suffer from these problems. It was rejected because Alan Cox (and others) felt it only provided security through obscurity. Sean The following is a simple random generator that will never

Re: Posible bug in gcc

2001-02-26 Thread Richard B. Johnson
On Mon, 26 Feb 2001, Alan Cox wrote: Well gcc-bugs would be the better place to send it but this is a known problem fixed in CVS gcc 2.95.3, CVS gcc 3.0 branch and gcc 2.96 (unofficial, Red Hat) I'm not sure if it is known, at least not known to me, but definitely not fixed in any

Re: Bug in cdrom_ioctl?

2001-02-27 Thread Richard B. Johnson
On Tue, 27 Feb 2001, Per Erik Stendahl wrote: Hi. In linux-2.4.2/drivers/cdrom/cdrom.c:cdrom_ioctl() branches CDROM_SET_OPTIONS and CDROM_CLEAR_OPTIONS both return like this: return cdi-options; If cdi-options is non-zero, the ioctl() calls returns non-zero. My ioctl(2) manpage

RE: Bug in cdrom_ioctl?

2001-02-27 Thread Richard B. Johnson
On Tue, 27 Feb 2001, Per Erik Stendahl wrote: In linux-2.4.2/drivers/cdrom/cdrom.c:cdrom_ioctl() branches CDROM_SET_OPTIONS and CDROM_CLEAR_OPTIONS both return like this: return cdi-options; If cdi-options is non-zero, the ioctl() calls returns non-zero. My ioctl(2)

Re: Compilation problems

2001-02-27 Thread Richard B. Johnson
On Tue, 27 Feb 2001, Rob wrote: Hi, I've encountered a problem compiling the 2.4.2 kernel. I downloaded the source, did a make menuconfig, make dep, make bzImage; everything went ok, but I didn't have the NIC working correctly. I recompiled, it seemed to go ok but still the NIC didn't

  1   2   3   4   5   6   7   8   9   >