Re: maximum number of sockets

2000-09-20 Thread Dan Kegel
Lee Chin ([EMAIL PROTECTED]) wrote: How do I increase the maximum number of socket connections I can have open in the 2.4 series kernel? See http://www.kegel.com/c10k.html#limits.filehandles - Dan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

bug report

2000-09-20 Thread frank
hi all, I hope it is the right mailing list! Kernel version 2.2.5-15 and 2.2.10 (no other available) The problem: A consol-terminal connected to /dev/ttyS? cannot work with parity = odd. error is in: /usr/src/linux/drivers/serial.c error resolving: In fuction : __initfunc(static int

Re: maximum number of sockets

2000-09-20 Thread Lee Chin
Hello, Yes, I know this can be done in older kernels, however in 2.4.0-test8, I DO NOT see a /proc/sys/fs/inode-max! I also do not see any changes listed in the Documentation. Thanks, Lee --Original Message-- From: Dan Kegel [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED]

Re: __ucmpdi2

2000-09-20 Thread Albert D. Cahalan
Jeremy Higdon writes: In reality, the switch does a 60 bit shift right, so I can cast to a uint, which is the right thing to do on old architectures :-), solving the problem. I had originally thought that the problem was in all the masks, shifts, and compares, but they are all inlined.

for Martin (Re: weird PCI problems... (fwd)

2000-09-20 Thread Tigran Aivazian
Martin, I got bounces from your [EMAIL PROTECTED] address - so I am not sure if you received this info you requested: -- Forwarded message -- Date: Tue, 19 Sep 2000 22:05:24 +0100 (BST) From: Tigran Aivazian [EMAIL PROTECTED] To: Martin Mares [EMAIL PROTECTED] Cc: Andrew Morton

Re: bug report

2000-09-20 Thread Tigran Aivazian
On Wed, 20 Sep 2000, frank wrote: ok: switch(parity) { case 'o': case 'O': cflag |= PARODD; cflag |= PARENB; can't you just do (PARODD|PARENB) instead? Also, producing diff -ur output makes it a lot easier to

Re: [PATCH] Re: SCSI scanning

2000-09-20 Thread Helge Hafting
Jeremy Higdon wrote: [...] My system has both an Adaptec adapter and a Qlogic adapter. The number of disks on the Qlogic was variable (it was attached to a SAN). The boot disk is attached to the Adaptec. If the Qlogic was probed first, then linux could not find the root device, so I had to

Given an image, how can show its config?

2000-09-20 Thread linux-kernel
Dear all, I would like to upgrade my kernel which is bundled with Red Hat. However, I don't want to lose modules/functions it has complied. How can I do it? Is there any command to check the current config and how can I check the modules it has as well? Many thanks!!! Best regards, Boris - To

Re: APIC errors on my dual celeron, 2.4.0-test7

2000-09-20 Thread Helge Hafting
Seth R Arnold wrote: [...] APIC error on CPU1: 02(02) APIC error on CPU1: 02(08) [...] Is this something I should be worried about? No. The APIC retries the stuff that go wrong, so all you get is a very slight performance degradation. Nothing to worry about unless it happens hundreds of times

Re: Freezes with test9-pre4 + mmap002

2000-09-20 Thread Frank Dekervel
Hello, I got the same here. My computer (UP pentium 100 with 32 meg ram) froze this morning, i was not doing stresstesting at all, the machine was verry lightly or not loaded. The kernel i used before was test8-riel2-blk3, which never had such lockups. (so the bug has creeped in verry recently i

Re: Given an image, how can show its config?

2000-09-20 Thread Keith Owens
On Wed, 20 Sep 2000 17:09:27 +0800 (CST), [EMAIL PROTECTED] wrote: I would like to upgrade my kernel which is bundled with Red Hat. Ask redhat for the .config, this is not a problem for the linux-kernel list. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

null TTY in tty_fasync?

2000-09-20 Thread Marco d'Itri
At the end of a UUCP poll this message was logged: Sep 19 23:42:47 wonderland kernel: Warning: null TTY for (04:40) in tty_fasync What does it mean? Linux wonderland.linux.it 2.4.0-test8 #12 Sat Sep 16 19:35:51 CEST 2000 i586 unknown -- ciao, Marco - To unsubscribe from this list: send

Re: __release_region() printf format

2000-09-20 Thread Pavel Machek
Hi! __release_region() always uses `%04lx', while start and end may be larger (e.g. for release_mem_region()). What about making it %lx-%lx without any numbers? Pavel --- linux-2.4.0-test9-pre2/kernel/resource.c.orig Mon

Re: [PATCH] Re: SCSI scanning

2000-09-20 Thread Helge Hafting
Keith Owens wrote: On Wed, 20 Sep 2000 10:43:35 +0200, Helge Hafting [EMAIL PROTECTED] wrote: Ideally I'd like specifying controller order in menuconfig. Perhaps a "controller order" submenu in scsi, that display the default order of the selected controllers. The user can then change

Re: __release_region() printf format

2000-09-20 Thread Keith Owens
On Tue, 19 Sep 2000 00:11:59 +0200, Pavel Machek [EMAIL PROTECTED] wrote: Hi! __release_region() always uses `%04lx', while start and end may be larger (e.g. for release_mem_region()). What about making it %lx-%lx without any numbers? If you really care about getting the exact number of

Re: [PATCH] Re: SCSI scanning

2000-09-20 Thread Keith Owens
On Wed, 20 Sep 2000 11:42:24 +0200, Helge Hafting [EMAIL PROTECTED] wrote: Keith Owens wrote: To handle newer controllers which mimic older controllers, the newer controllers would be listed in LINK_FIRST. At the moment we do not have any plans to allow user ordering of controllers via

Re: EXT2-fs error and geometry walk ... ???

2000-09-20 Thread Andre Hedrick
On Mon, 18 Sep 2000, Andries Brouwer wrote: If this is an unpatched vanilla 2.4.0test8 then I am surprised. But if it is a patched version I would prefer to blame the patch. Andries, Going back to 2.4.0test5 with my patch it works perfectly. I will move this forward to 2.4.0test8, but all

Re: Question: Using floating point in the kernel

2000-09-20 Thread Matthias Andree
On Tue, 19 Sep 2000, Richard B. Johnson wrote: long int radians = (long) (2.0 * 3.141592654 * (float) HZ); Just out of curiosity: what's that cast to float about? Have it spring into the eye of a casual reader? That pi constant already is a double and C implicitly casts to the type with

Function calls not permitted in kernel code

2000-09-20 Thread Mark James
Hi, couldn't find an answer to this in any FAQ: Can anyone point me to a clear summary of what can and what can't be called by kernel code. That is, can a kernel module open and read files or sockets, call libc functions, start processes? If, as I suspect, none of these are possible, are the

Re: PATCH 2.4.0.9.4: Fix Cardbus

2000-09-20 Thread Dag Bakke
Jeff Garzik wrote: Ok, it's time to get test9 running on my laptop, so I played the "what code didn't get cut-n-pasted" game. With the attached tested patch against 2.4.0-test9-pre4, CardBus is working again for me. This patch makes the logic match that of the old code. Well. Still

Re: /proc/partitions is wrong

2000-09-20 Thread Marko Kreen
On Wed, Sep 20, 2000 at 12:11:33PM +0200, Marko van Dooren wrote: Hello, my /proc/partitions says I have 25 partitions while there are only 21. Fdisk shows the right information, so there's nothing wrong with my disk or so. ... /dev/hda2 * 4 386 3076447+ a5 BSD/386 You

Re: SCSI scanning changes break RAID autorun

2000-09-20 Thread Peter Samuelson
[Matthew Kirkwood] +ifeq ($(CONFIG_BLK_DEV_MD),y) +SUB_DIRS += md +MOD_SUB_DIRS += md +else + ifeq ($(CONFIG_BLK_DEV_MD),m) + MOD_SUB_DIRS += md endif endif Drop the 'else' bit; CONFIG_BLK_DEV_MD cannot be 'm'. +obj-n:= +obj- := These two variables

Re: Given an image, how can show its config?

2000-09-20 Thread Peter Samuelson
[[EMAIL PROTECTED]] I would like to upgrade my kernel which is bundled with Red Hat. [kaos] Ask redhat for the .config, this is not a problem for the linux-kernel list. Also you might make sure you have any relevant RH patches installed. Not being a RH user, I don't know which ones those

Re: Function calls not permitted in kernel code

2000-09-20 Thread Peter Samuelson
[Mark James] That is, can a kernel module open and read files or sockets, call libc functions, start processes? * Read files/sockets: you need a process context. That means if you are running in an interrupt you are SOL and if you are in an existing process context, the context owner

Re: Given an image, how can show its config?

2000-09-20 Thread Mohammad A. Haque
Grab the kernel source rpm and install it. Once install you can find various configs in /usr/src/linux/configs/. I'm not sure if they include this will all sources. The last one I checked was 2.2.14 before modifying to my liking. [EMAIL PROTECTED] wrote: Dear all, I would like to upgrade

Re: __ucmpdi2

2000-09-20 Thread Peter Samuelson
[Cahalan] Well, what do you care about most? The problem can be solved in other, more disturbing ways. :-) For example, gcc's computed goto. [code snipped] You are sick. (: Peter - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: NMI Watchdog detected LOCKUP on CPU1 (stext_lock)(2.4.0-test9-pre2)

2000-09-20 Thread Andrew Morton
Keith Owens wrote: Just because the traces end up in stext_lock does not mean that they are the same bug. Locks are optimized for pipeline performance, the code for "got the lock" is in the main text section, the code for "cannot get lock, need to wait" is moved to a separate text section.

Re: null TTY in tty_fasync?

2000-09-20 Thread Andrew Morton
Marco d'Itri wrote: At the end of a UUCP poll this message was logged: Sep 19 23:42:47 wonderland kernel: Warning: null TTY for (04:40) in tty_fasync What does it mean? Very hard to say. Ted, Google says this has only been reported three or four times. Could we please have a BUG()

Re: NMI Watchdog detected LOCKUP on CPU1 (stext_lock)(2.4.0-test9-pre2)

2000-09-20 Thread Keith Owens
On Thu, 21 Sep 2000 00:05:03 +1100, Andrew Morton [EMAIL PROTECTED] wrote: The downside of this optimization is that all code that is waiting for a lock appears to be in the out of line section and the only label in that section is right at the start. So all lock code appears to be in

Re: __ucmpdi2

2000-09-20 Thread Peter Samuelson
[Jeremy Higdon] Is there a little FAQ of C constructions you should not use if you are writing kernel code? It took a little doing to figure out that it was the switch that was causing trouble and not the shifts and arithmetic operations, and I'd like to avoid that in the future :-). Here

Re: NMI Watchdog detected LOCKUP on CPU1 (stext_lock)(2.4.0-test9-pre2)

2000-09-20 Thread Andrew Morton
Keith Owens wrote: ... Waiting on spinlock! Spinner's EIP is [c0130d7a] ... Is the extra code worth it? The ix86 oops dump runs the stack printing anything that looks like a kernel address. Fair enough. What about the ALT-SYSRQ-P thing? I guess that wouldn't be necessary

NAT dropping packets

2000-09-20 Thread Russell King
Hi, I've just spotted a small problem with 2.4.0-test8 running netfilter: NAT: 3 dropping untracked packet c065d3a0 1 192.168.0.1 - 192.168.0.9 This seems to be caused when you have connection tracking enabled, and you ping the local network broadcast address. The filter rules specific to the

Re: Questions on RAID1 on IDE hard disks

2000-09-20 Thread Peter Samuelson
[Terence Ang] Could anyone kindly tell me how to setup software RAID1 on IDE drives under RedHat 6.2? I have got one extra PCI IDE card with 2 hard disks (not mentioning the existing Linux OS hard disk) It seemed that the card could not be detected under Linux. It looks like you will need:

RE: cPCI development

2000-09-20 Thread Justin . Skists
Am I right in assumming that 2.2.14 (as from RH6.2) supports cPCI? Or do I need to start developing on 2.4? I really do need to do some research into this, if I knew where to start. I need some docs! (either paper, URL, or the straight-jacket kind) Justin. -Original Message- From:

missing symbols with depmod - how to solve this?

2000-09-20 Thread Graham Leggett
Hi all, I have recently been plagued with the problem of depmod complaining of missing symbols after a kernel compile - and I am completely stumped as to what is causing this. - I confirm that no pre-existing /usr/src/linux or /lib/modules/2.2.17 directories exist. - I download and unpack a

[Oops] Unable to handle kernel NULL pointer dereference

2000-09-20 Thread J Brook
Hi, I ran into some trouble while compiling the pspell library that the new version of Balsa requires - okay, so perhaps I was asking for it :-) I ran the configure script fine, but a kernel oops occurred a few lines into the "make" process. I gather that it might be something to do with

Re: NMI Watchdog detected LOCKUP on CPU1 (stext_lock)(2.4.0-test9-pre2)

2000-09-20 Thread Andrea Arcangeli
On Thu, Sep 21, 2000 at 12:42:25AM +1100, Andrew Morton wrote: What about the ALT-SYSRQ-P thing? I guess that wouldn't be necessary if handle_sysrq() did a show_stack(0), which it doesn't, and probably should. Yes, SYSRQ+P should definetly show the stack trace. Andrea - To unsubscribe from

Kernel oops panic in ISDN

2000-09-20 Thread Steve Hill
I've got a Redhat 6.2 box here with a HiSax PCI ISDN card (modprobed with parameters: type=36 protocol=2). It's running a custom compiled 2.2.17 kernel. If I do an "isdnctrl dial ippp0" it dials up and negotiates the IP address, etc. However, I can't transmit any data across the syncppp link

[PATCH] Scsi scanning fixes

2000-09-20 Thread Torben Mathiasen
Linus and others, Patch attached that should fix some of the problems with the new scsi scanning: devfs registration should be ok now with both builtin and module. link order changed to reflect hosts.c + minor additions. minor cleanups. First of all, please don't yell

linux-kernel-digest ?

2000-09-20 Thread Robert Greimel
Hi, I am just wondering if linux-kernel-digest is going to come back. Greetings Robert - 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://www.tux.org/lkml/

Re: Given an image, how can show its config?

2000-09-20 Thread Timur Tabi
** Reply to message from [EMAIL PROTECTED] on Wed, 20 Sep 2000 17:09:27 +0800 (CST) I would like to upgrade my kernel which is bundled with Red Hat. However, I don't want to lose modules/functions it has complied. How can I do it? Is there any command to check the current config and how can

Question about signals

2000-09-20 Thread Adam Watson
I am working to get Diald up and running and with both 2.2.16 and the 2.4.0 series kernels I have been getting SIOCSIFMETRIC Operation not supported. I've looked through the kernel docs and include files but couldn't find a reference to that operation. Is there another name for that

l-k archive at tux.org vanishes?

2000-09-20 Thread Dan Kegel
http://boudicca.tux.org/hypermail/linux-kernel/ is gone. I was linking to individual posts there in my pages about kernel enhancements. What happened? Must I now laboriously link to some other archive? :-( And what linux-kernel archive is likely to be around long enough to be worth linking to?

Re: Very aggressive swapping after 2 hours rest

2000-09-20 Thread Rik van Riel
On Tue, 19 Sep 2000, Andrea Arcangeli wrote: On Tue, Sep 19, 2000 at 05:29:29AM -0300, Rik van Riel wrote: what I wanted to do in the new VM, except that I didn't see why we would want to restrict it to swap pages only? You _must_ do that _only_ for the swap_cache, that's a specific

Re: Linux-2.4.0-test9-pre2

2000-09-20 Thread Rik van Riel
On Tue, 19 Sep 2000, Andrea Arcangeli wrote: On Tue, Sep 19, 2000 at 05:58:48AM -0300, Rik van Riel wrote: One of the issues which seems to be affecting performance is the elevator starvation bug, though, so I'm not sure how You are contraddicting yourself. If you decrease the latency (so

Re: Linux-2.4.0-test9-pre2

2000-09-20 Thread Dr. Kelsey Hudson
On Tue, 19 Sep 2000, Andrea Arcangeli wrote: I'm tired of you screwing up the VM and then complaining the elevator. At least try to vary and choose something else to complain. At test1 time you may been right, but now we're so permissive in the default settings exactly to be sure the

Re: Very aggressive swapping after 2 hours rest

2000-09-20 Thread Andrea Arcangeli
On Wed, Sep 20, 2000 at 12:53:18PM -0300, Rik van Riel wrote: On Tue, 19 Sep 2000, Andrea Arcangeli wrote: On Tue, Sep 19, 2000 at 05:29:29AM -0300, Rik van Riel wrote: what I wanted to do in the new VM, except that I didn't see why we would want to restrict it to swap pages only?

Re: Question about signals

2000-09-20 Thread Chris Meadors
On Wed, 20 Sep 2000, Adam Watson wrote: I am working to get Diald up and running and with both 2.2.16 and the 2.4.0 series kernels I have been getting SIOCSIFMETRIC Operation not supported. I've looked through the kernel docs and include files but couldn't find a reference to that

Re: Question: Using floating point in the kernel

2000-09-20 Thread Timur Tabi
** Reply to message from "Lyle Coder" [EMAIL PROTECTED] on Wed, 20 Sep 2000 01:50:05 GMT You cannot use MMX registers in the kernel either, since the kernel doesen't save and restore FX state (fxsave, fxrstor) either (just like (fsave/frstor). But what about these source files:

Re: cPCI development

2000-09-20 Thread Vitaly Luban
Ondrej Feela Filip wrote: On Wed, 20 Sep 2000 [EMAIL PROTECTED] wrote: Am I right in assumming that 2.2.14 (as from RH6.2) supports cPCI? Or do I need to start developing on 2.4? ? I believe, that PCI and cPCI are from SW view identical. I run linux (2.2.13+) on many cPCI systems and it

RE: PERCRAID 3 drivers?

2000-09-20 Thread Bruce A. Locke
Thanks to everyone who responded. The aacard driver patches that were in the Redhat pinstripe kernel SRPM work fine with 2.2.17. The machine seems pretty stable and speed is about the same as with the binary driver. Thanks again...

[IDE]2.4.0test9-pre1, CD drive on hpt366 not detected correctly and locking up when activated

2000-09-20 Thread FORT David
The subject says everything, while detecting the drive i got the following strange thing: [from dmesg] PIIX4: chipset revision 1 PIIX4: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xf008-0xf00f, BIOS

Re: [PATCH] Fix queued SIGIO

2000-09-20 Thread Robert H. de Vries
On Wed, 20 Sep 2000, Julian Anastasov wrote: Hello, On Tue, 19 Sep 2000, Robert H. de Vries wrote: It would be better to change SI_SIGIO in all the include/asm-*/siginfo.h files from -5 to __SI_CODE(__SI_SIGIO, -5) __SI_SIGIO would become (6 16). This is not needed for SI_SIGIO. It

Re: cPCI development

2000-09-20 Thread Adrian Cox
[EMAIL PROTECTED] wrote: Am I right in assumming that 2.2.14 (as from RH6.2) supports cPCI? Or do I need to start developing on 2.4? I really do need to do some research into this, if I knew where to start. I need some docs! (either paper, URL, or the straight-jacket kind) cPCI is PCI +

2.2.17 crashes with RTL8139B and/or IPv6

2000-09-20 Thread Simon Richter
Hi, I just upgraded our server (486DX2/120, running 186 days`) with a 100MBit RTL8139B network card and moved from 2.2.14 to 2.2.17 in this process, using the same .config (oldconfig) with two differences: IPv6 and the RTL8139 drivers. After about 20k of network activity the machine crashes (I

Re: FWD: Re: Linux pipe question

2000-09-20 Thread Jakob Østergaard
On Wed, Sep 20, 2000 at 12:31:25PM -0400, Mike Panetta wrote: Can anyone answer this? I am not sure if unnamed pipes in linux are pageable or not. If an unnamed pipe could be paged out what could be done to prevent that from happening? The pipe itself is not pageable, but the user programs

Strange virtual/physical address of global data

2000-09-20 Thread Timur Tabi
I wrote a little module to test virt_to_phys: unsigned long test_data; int init_module(void) { void *virt = test_data; unsigned long phys = virt_to_phys(virt); When I run this and check the valur of virt and phys, it appears that phys is outside the range of physical memory! That is,

Re: Linux kernel 2.2.17 appears not support 512M RAM Disk

2000-09-20 Thread Andreas Dilger
Ryan Tokarek writes: On Linux kernel 2.2.17 running on an intel PIII system with 1GB RAM I cannot successfully create a ramdisk of greater than 512MB. It may be that there is a bug, but I would be interested to know what you are really trying to do. Usually bugs like this exist because

Re: __ucmpdi2

2000-09-20 Thread Linus Torvalds
In article [EMAIL PROTECTED], Jeremy Higdon [EMAIL PROTECTED] wrote: - Linux developers often do horribly stupid things, and use 64-bit division etc instead of using a simple shift. Again, not linking against libgcc finds those things early rather than late, because the horribly

Re: [PATCH] abuse of macros in swab.h

2000-09-20 Thread Andrzej Krzysztofowicz
+static inline __u64 ___swab16(__u64 x) +{ + return (__u64)((x (__u64)0x00ffULL) 56) | + (__u64)((x (__u64)0xff00ULL) 40) | + (__u64)((x (__u64)0x00ffULL) 24) | + (__u64)((x (__u64)0xff00ULL)

Re: linux-kernel-digest ?

2000-09-20 Thread Matti Aarnio
On Wed, Sep 20, 2000 at 04:38:45PM +0100, Robert Greimel wrote: Hi, I am just wondering if linux-kernel-digest is going to come back. Greetings According to DaveM: No. (Sometimes he holds possibly bad opinnions as ferociously as Linus, but on the other hand, that Majordomo 1.x

Re: linux-kernel-digest ?

2000-09-20 Thread Dmitry Pogosyan
Matti Aarnio wrote: On Wed, Sep 20, 2000 at 04:38:45PM +0100, Robert Greimel wrote: Hi, I am just wondering if linux-kernel-digest is going to come back. Greetings According to DaveM: No. (Sometimes he holds possibly bad opinnions as ferociously as Linus, but on the other

Re: [IDE]2.4.0test9-pre1, CD drive on hpt366 not detected correctlyand locking up when activated

2000-09-20 Thread Andre Hedrick
The ATAPI-DMA code for the use of all addon cards is not native. You are not allowed to do ATAPI-DMA on these, yet. I do not care what the OEM claims with their drivers, Linux chipset code is not completed or started to do this in 95 % of the cases. Cheers, On Wed, 20 Sep 2000, FORT David

Re: FWD: Re: Linux pipe question

2000-09-20 Thread Mike Panetta
Thanks for the reply! On Wed, Sep 20, 2000 at 07:29:06PM +0200, Jakob Østergaard wrote: On Wed, Sep 20, 2000 at 12:31:25PM -0400, Mike Panetta wrote: Can anyone answer this? I am not sure if unnamed pipes in linux are pageable or not. If an unnamed pipe could be paged out what could

Re: uid

2000-09-20 Thread Chris Wing
Dan: GNU tar uses text usernames preferentially, otherwise it falls back upon numeric IDs. So if you had a user with the same user name as in the tar file, it would chown it to that user's ID, not the same id as 'tarabas'. This is true only for GNU format tar, however; SysV format tar files do

Re: 2.2.17 crashes with RTL8139B and/or IPv6

2000-09-20 Thread Marco Colombo
On Wed, 20 Sep 2000, Simon Richter wrote: Hi, I just upgraded our server (486DX2/120, running 186 days`) with a 100MBit ^^ isn't it overclocked? .TM. -- / / / / / / Marco Colombo ___/ ___ / /

Wait queues and a race condition on 2.2.x

2000-09-20 Thread Lee Cremeans
I'm working on a driver for the Hi/fn 7751 encryption chip, and I've run into a weird problem and I'm not entirely sure how to fix it. The driver was originally written for NT, but has been broken out into OS-specific and OS-independent parts, and the Linux-specific part calls code in the

Re: cPCI development

2000-09-20 Thread Dan Hollis
On Wed, 20 Sep 2000, Adrian Cox wrote: cPCI is PCI + hotswap. Most people seem to ignore the hotswap, except at tradeshows. ISPs certainly don't ignore hotswap. Unfortunately, Linux does. :) :( -Dan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: 2.2.17 crashes with RTL8139B and/or IPv6

2000-09-20 Thread James Sutherland
On Wed, 20 Sep 2000, Marco Colombo wrote: On Wed, 20 Sep 2000, Simon Richter wrote: Hi, I just upgraded our server (486DX2/120, running 186 days`) with a 100MBit ^^ isn't it overclocked? From the CPU identification given later, it is said to be a

Re: NAT dropping packets

2000-09-20 Thread Henrik Størner
In [EMAIL PROTECTED] Russell King [EMAIL PROTECTED] writes: NAT: 3 dropping untracked packet c065d3a0 1 192.168.0.1 - 192.168.0.9 I see loads of these, in a firewall (state matching) and SNAT setup. When I send mail, I see them quite regularly. It is quite annoying, since they get dumped to

Re: linux-kernel-digest ?

2000-09-20 Thread Rogier Wolff
Matti Aarnio wrote: I think DaveM also supplied an answer: "procmail" Select by header: X-Mailing-List: TAB [EMAIL PROTECTED] Do note that TAB character, for some reason it really is not space.. Store into separate folder from your normal inbox. Ah!!! Thats why my space

Re: Linux-2.4.0-test9-pre2 (version numbering)

2000-09-20 Thread Horst von Brand
"Barry K. Nathan" [EMAIL PROTECTED] said: [...] In other words, if I understand things correctly, once we have Linux 2.4.0-test4294967296 ;) and 2.4 is stable enough for the last phase of testing before release, 2.4.0-pre1 will be next... That so? Must get Linus an Alpha or SPARC64 ASAP so

Re: [PATCH] Re: SCSI scanning

2000-09-20 Thread Linus Torvalds
On Wed, 20 Sep 2000, Eric Youngdale wrote: Some of problems that are forcing ordering requirements are better fixed in 2.5. The cleanups to allow disk and cdrom drivers to dynamicly resize are probably in this category. If you disagree, I can take a stab at it, but some of the

PCMCIA: 2.4.0-test9pre4: PCI resource for 3CCFE575CT

2000-09-20 Thread Claude LeFrancois (LMC)
Hello, I just installed the latest kernel: 2.4.0-test9pre4. I have also installed the pcmcia-cs-3.1.20 package. I have a Compaq Armada 7400 with 128 MB RAM and a 4 GB disk running Mandrake 7.0. I want to report the following malfunction. There is something bad between the PCI, the 3c59x cardbus

PCMCIA: 2.4.0-test9pre4: still reading only one socket

2000-09-20 Thread Claude LeFrancois (LMC)
Hello, With 2.4.0-test7, it was impossible for me to have my two PCMCIA sockets running (2.2.x was OK). Only the socket 0 was working fine. I have upgraded to 2.4.0-test9pre4 and pcmcia-cs-3.1.20 and I still have the same problem. From my /var/log/messages, I get: Sep 20 16:06:10 qwerty

Re: Linux-2.4.0-test9-pre2 (version numbering)

2000-09-20 Thread Barry K. Nathan
"Barry K. Nathan" [EMAIL PROTECTED] said: In other words, if I understand things correctly, once we have Linux 2.4.0-test4294967296 ;) and 2.4 is stable enough for the last phase of testing before release, 2.4.0-pre1 will be next... That so? Must get Linus an Alpha or SPARC64 ASAP so

Hang on 2.2.17 - serial/tty related?

2000-09-20 Thread Russell King
Hi, I just experianced a complete hang of one of my systems here after using the serial port a lot (ie, open, read/write, close). I was using minicom, and I started to notice that each time I quit minicom, it would not exit. ps alx revealed that it was waiting in tty_wait_until_sent, yet the

Re: EXT2-fs error and geometry walk ... ???

2000-09-20 Thread Andre Hedrick
Andries, The crap out is between 2.4.0-test5 and 2.4.0-test6. It takes four drives that were single partitioned and rips the first 130 blocks out and creates 4 bogus partitions. Partition check: /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p5 p6 p7 p8 p9 p10

sigtimedwait with a zero timeout

2000-09-20 Thread Henrik Nordstrom
Hi. While playing with signal queues it was discovered that sigtimedwait with a zero timeout apparently does block somewhat even if it should not. Why: It forces a schedule() Also the actual delay seems to be at least 10msec more than requested, but I guess that is an effect of the

Re: Software RAID

2000-09-20 Thread Jorge Nerin
Steve Hill wrote: Has anyone had any problems with software RAID causing high loadaverage peaks? I've got a number of i586 boxes here, dual IDE controllers, one drive on each controller. They're using RAID 1 across the two drives. Every few hours, the load average peaks very high, and it

test9-pre5

2000-09-20 Thread Linus Torvalds
- pre1: - USB: OHCI controller unlink and bandwidth reclamation fixes - USB: storage update - sparc64: register window race. Non-deadlock rwlocks. - name clash in hamradio/pi2.c and hamradio/pt.c - epic100 credits, 8139too driver update, sr.c initcalls - acenic update

Updated serial driver for 2.2.x

2000-09-20 Thread Lubomír Bulej
Hello, I'd like to ask if there exists a backport of 2.4 serial driver to 2.2.x. I've got to get one Oxford Semiconductor PCI serial board with UART 16950 on it running but fail to do so under 2.2.17. Lubomir - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: Function calls not permitted in kernel code

2000-09-20 Thread Mark James
Thank you Tigran and Peter for your replies. In summary: - Kernel code can't or shouldn't do anything too high-level. Emulating high-level things through calls to other parts of the kernel is not likely to be portable across versions. - A subset of libc functions is in the linux/lib

net/sunrpc/clnt.c: erroneous fallthru

2000-09-20 Thread Tim Mann
There is a missing case break in net/sunrpc/clnt.c that causes the kernel to print an extra, spurious message when a Sun RPC (NFS) request is rejected by a server with the error RPC_AUTH_TOOWEAK. The missing break also causes EIO to be returned to the user process instead of EACCES, which seems

Re: Question: Using floating point in the kernel

2000-09-20 Thread Rusty Russell
In message [EMAIL PROTECTED] you write: I was just wondering if you can use floating point while servicing a syscall in the kernel? Please read the documentation, found in linux/Documentation/DocBook/kernel-hacking.tmpl See `No floating point or MMX' Rusty. -- Hacking time. - To

lvm in 2.4.0-test9pre5

2000-09-20 Thread Mohammad A. Haque
I think lvm and lvm-snap didn't get moved into the md dir. Or maybe the Makefile in md needs to be fixed. -- = Mohammad A. Haque http://www.haque.net/

Re: Function calls not permitted in kernel code

2000-09-20 Thread Peter Samuelson
[Mark James [EMAIL PROTECTED]] In summary: - Kernel code can't or shouldn't do anything too high-level. In general, yes. This is why the winmodem driver people (last I heard) are trying to pull some of the modem functions out into userspace programs. Sync and cancellation algorithms for a

2 Simple VGA/PCI questions (newbie)

2000-09-20 Thread Lee
Hello, For my own edification I am writing a simple VGA driver for my PCI video card. I have two questions that probably many could answer. I am using v2.4-test7. 1) request_region(VGA_IO_BASE, VGA_IO_SIZE, "vga") always fails. How do I get the standard vga ports? 2) Why aren't

Re: 2 Simple VGA/PCI questions (newbie)

2000-09-20 Thread Jeff Garzik
Lee wrote: For my own edification I am writing a simple VGA driver for my PCI video card. Have you seen drivers/video/vga16fb? I have two questions that probably many could answer. I am using v2.4-test7. 1) request_region(VGA_IO_BASE, VGA_IO_SIZE, "vga") always fails. How do I get

Re: 2.4.0-test9-pre2: pcmcia 3c59x doesn't work

2000-09-20 Thread Horst von Brand
[EMAIL PROTECTED] (Linus Torvalds) said: [...] Just to confirm that 2.4.0-test9-pre5 works fine here. Thanks! -- Horst von Brand [EMAIL PROTECTED] Casilla 9G, Vin~a del Mar, Chile +56 32 672616 - To unsubscribe from this list: send the

Re: [PATCH] abuse of macros in swab.h

2000-09-20 Thread Horst von Brand
Martin Dalecki [EMAIL PROTECTED] said: Andrea Arcangeli wrote: On Wed, Sep 20, 2000 at 01:22:50AM +0200, Andi Kleen wrote: Better would be to use statement blocks like #define bla(x) ({ __u32 tmp__ = (x); ; tmp__; }) Agreed. Not agreed. In this case older version of GCC will

dev-hard_start_xmit return val handling correct?

2000-09-20 Thread Jeff Garzik
When dev-hard_start_xmit returns an error, it doesn't seem like returning ENETDOWN is the best course of action.. Is this correct? int dev_queue_xmit(struct sk_buff *skb) [...] if (dev-hard_start_xmit(skb, dev) == 0) { dev-xmit_lock_owner = -1;

Intel D815EEA Motherboard (ethernet driver)

2000-09-20 Thread Craig Whitmore
To get the eepro100 ethernet card going on this motherboard (Intel D815EAA) I had to add *** linux-2.4.0-test8/drivers/net/eepro100.cSat Aug 12 14:14:46 2000--- linux-2.4.0-test8-old/drivers/net/eepro100.cThu Sep 21 13:20:15 2000** 2273,2278 --- 2273,2280

Re: Question: Using floating point in the kernel

2000-09-20 Thread Ricky Beam
On Wed, 20 Sep 2000, Lyle Coder wrote: You cannot use MMX registers in the kernel either, since the kernel doesen't save and restore FX state (fxsave, fxrstor) either (just like (fsave/frstor). You might want to tell the software RAID maintainers that... RAID5 CRC calculations can be done with

Re: __ucmpdi2

2000-09-20 Thread Jeremy Higdon
So I understand the point about filesystems and values that always happen to be a power of two where the compiler can't know that. However: From: [EMAIL PROTECTED] (Linus Torvalds) So what we've said is: 64 bit is okay, except in a switch statement, or other random expressions that might

Re: 2.4.0-test9-pre4: __alloc_pages(...) try_again:

2000-09-20 Thread Mike Galbraith
On Wed, 20 Sep 2000, Roger Larsson wrote: Hi, Trying to find out why test9-pre4 freezes with mmap002 I added a counter for try_again loops. ... __alloc_pages(...) int direct_reclaim = 0; unsigned int gfp_mask = zonelist-gfp_mask; struct page * page = NULL;

Re: Strange virtual/physical address of global data

2000-09-20 Thread Russell King
Timur Tabi writes: I wrote a little module to test virt_to_phys: unsigned long test_data; int init_module(void) { void *virt = test_data; unsigned long phys = virt_to_phys(virt); When I run this and check the valur of virt and phys, it appears that phys is outside the range

Re: NAT dropping packets

2000-09-20 Thread Russell King
Henrik Størner writes: In [EMAIL PROTECTED] Russell King [EMAIL PROTECTED] writes: NAT: 3 dropping untracked packet c065d3a0 1 192.168.0.1 - 192.168.0.9 I see loads of these, in a firewall (state matching) and SNAT setup. When I send mail, I see them quite regularly. It is quite

[2.4.0-test9-pre5] SCSI still broken, trident/mixer still broken

2000-09-20 Thread Simon Kirby
Hi n' stuff, Around 2.4.0-test9-pre2 (or so, definitely in pre3) both my SCSI scanner and trident sound card stopped being happy. They are still both broken in pre5. On test8, both work perfectly. On test8: (scsi0:6:0) Synchronous Data Transfer Request was rejected Vendor: Model:

Re: Question: Using floating point in the kernel

2000-09-20 Thread Lyle Coder
Hi The real issue is that if you use MMX or FP state, the kernel _must_ save and restore the original state other wise user programs will see corruption. We all know this too well since redhat's 6.1 (I think) kernel had this optimized MMX functions that _screwed_ up user programs. The fact is...

  1   2   3   >