Re: [PATCH] Re: SCSI scanning

2000-09-22 Thread Peter Samuelson
[mec] Can you characterize the problem in more detail for me? That is, exactly what link order constraints you are trying to obey. As has been explained, scsi lowlevel (drivers) need to come before scsi toplevel (sd, sr, st, sg) because sd and sr cannot dynamically resize arrays of drives --

Re: [PATCH] Re: SCSI scanning

2000-09-22 Thread Peter Samuelson
[I wrote] Unfortunately, your drivers/scsi/foo.o actually represents the zillions of host drivers we have, so the DRIVERS assignment starts to look rather daunting and hackish. I retract that -- I had forgotten that lowlevel is all pulled into hosts.o. Peter - To unsubscribe from this list:

Re: [patch] mousedev.c

2000-09-22 Thread Peter Samuelson
[Igmar Palsenberg] Patch looks not necessary. The compiler executes the statements until it encounters a break. - case BTN_EXTRA: if (list-mode 1) { index = 4; break; } + case BTN_EXTRA: if (list-mode 1) index = 4; break; ^^^ You missed

Subject: NFS compatibility issues (Linux client, NetBSD/sparc server)

2000-09-22 Thread Simon Richter
Hi, there seems to be a number of issues regarding the above setup. Symptoms: - Directory listings of big (read: more than approx. 200 files) directories show up as empty in 95% of all cases - Requests fail randomly (5-10%) No. 2 is especially annoying for cron jobs, because the problems

Re: Graphics Drivers for Intel 82815 Graphics Controller

2000-09-22 Thread Alan Cox
Does anyone know what Video Drivers will allow X to work with an Intel = Graphics Controller (82815 Graphics Controller) (on a Intel D815EEA) Motherboard? The VesaFB does not work properly with = it properly. You want an XFree 4.0 release and the AGP patches (or 2.2.18pre kernel or 2.4test

Re: cPCI development

2000-09-22 Thread Alan Cox
Yes you can failover your mail server, but your core linux routers are another story and thats where hotswap really counts. Customers can tolerate short mailserver outages but they cant tolerate short router outages. Then they shouldnt be using the internet for a few more years ;) I see

Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Igmar Palsenberg
Hi, This machine is running 2.2.17aa2 (I needed LFS), and I'm able to lock it hard. This is what was in the logs : Sep 21 23:55:38 fs1 kernel: hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error } Sep 21 23:55:38 fs1 kernel: hdc: dma_intr: error=0x40 { UncorrectableError },

Re: [RFC] ioctl(2) return value

2000-09-22 Thread Alan Cox
Linux doesnt care. If you want ALSA to run on SYS5 or BSD derived kernels you should avoid returning anything but 0/error-code from ioctls. I'd like you clarify the reasons for this choice in these OS families. Probably one of your gnomes knows it (I hope that this specific gnome is not

[PATCH] old+new RAID for 2.2.17+

2000-09-22 Thread Peter Samuelson
Alan, would you consider the following for 2.2.19? (It compiles but I can't test functionality as I don't run md.) Inspired by Matthew Kirkwood's patch to move RAID to drivers/md/, I've merged this with RAID 0.90 and 2.2.17. The idea here is not to disturb the old RAID, so the two can coexist

Re: [PATCH] old+new RAID for 2.2.17+

2000-09-22 Thread Ingo Molnar
i strongly disagree. It's a nightmare to have three variants of the same code at once. (mdtools, raidtools and raidtools2.) This mess has been cleaned up in 2.4, and we shouldnt touch 2.2's RAID code beyond bugfixes. This is not support for 'old hardware', it's support for the very same thing.

oosp 2.2.17

2000-09-22 Thread octave klaba
Hello, I had again a kernel panic and it is seems to be the same I reported Sun, 17 Sep 2000 Subject: oops 2.2.17 is there any patch which fix it ? Thanks Octave CPU 0: Machine Check Exception: 00040Bank 4: b2040151general protection fault: CPU:0 EIP:

Re: oosp 2.2.17

2000-09-22 Thread Alan Cox
I had again a kernel panic and it is seems to be the same I reported Sun, 17 Sep 2000=20 Subject: oops 2.2.17 is there any patch which fix it ? 2.2.18pre shouldnt oops in this case. The MCE however appears valid and real and isnt a Linux problem CPU 0: Machine Check Exception:

Re: Very aggressive swapping after 2 hours rest

2000-09-22 Thread Rik van Riel
On Wed, 20 Sep 2000, Andrea Arcangeli wrote: 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

Re: new MM and shared memory

2000-09-22 Thread Rik van Riel
On 19 Sep 2000, Christoph Rohland wrote: As stated before the new mm does break shm swapping. Under the ipctst program driving my machine into swap I get the appended console output. After this it locked up. I can make it run longer by giving mem= with less memory. Since I changed

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Carsten Lang
Hi Alan, Uncorrectable error is the drive. i don't think that we can blame the disks! I have 3 different drives, which produce this error after 24 hrs under heavy load. I'm very sure, that the whole IDE-stuff is broken under heavy load conditions, but i can't find out, what happens

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-22 Thread James Cownie
Actually, even simpler approach: - always clear db7 after sending signal - don't test for pending or for kernel mode at all at that point. - re-load %db7 at the top of the for(;;) loop in do_signal(). That should mean that you will actually get a debug signal for ALL triggers of

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Andre Hedrick
Why don't you try my patches ontop and thin see what happens. Then you are claiming heavy loads. Go grab the smart-suite off of source-forge and see if you crapped out the drives. On Fri, 22 Sep 2000, Carsten Lang wrote: Hi Alan, Uncorrectable error is the drive. i don't think

Re: new MM and shared memory

2000-09-22 Thread Christoph Rohland
Rik van Riel [EMAIL PROTECTED] writes: On 19 Sep 2000, Christoph Rohland wrote: As stated before the new mm does break shm swapping. Under the ipctst program driving my machine into swap I get the appended console output. After this it locked up. I can make it run longer by giving

Re: [patch *] VM deadlock fix

2000-09-22 Thread James Lewis Nance
On Thu, Sep 21, 2000 at 01:44:35PM -0300, Rik van Riel wrote: I've found and fixed the deadlocks in the new VM. They turned out to be single-cpu only bugs, which explains why they didn't crash my SMP tesnt box ;) I applied the patches and ran my "build mozilla with mem=48M" test again. It

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Alan Cox
Uncorrectable error is the drive. i don't think that we can blame the disks! Uncorrectable error is the drive. Its not something the kernel can directly get wrong nor is it timing. It is possible it occurred because the kernel asked for something silly. Do you have stuff logged about

Re: Linux-2.4.0-test9-pre2

2000-09-22 Thread Rik van Riel
On Tue, 19 Sep 2000, Tom Rini wrote: On Tue, Sep 19, 2000 at 09:36:30PM -0700, David Ford wrote: The VM work has been scheduled to go in for a while. If you check the TODO emails from months back, it's always been there. I wasn't arguing that (really) it's just that it really should

[PATCH/KERNELI] Util-linux 3des update

2000-09-22 Thread Gisle S{lensminde
Since des_ede3(3des) now is added to the international kernel, it will probably be a good idea to add support for it in losetup, so here is a patch to the kerneli version of util-linux-2.10m / kerneli 2.2.17.3 Since this is crypto-related the patch is found at the URL:

Re: test9-pre5+t9p2-vmpatch VM deadlock during write-intensiveworkload

2000-09-22 Thread Rik van Riel
On Fri, 22 Sep 2000, Molnar Ingo wrote: yep this has done the trick, the deadlock is gone. I've attached the full VM-fixes patch (this fix included) against vanilla test9-pre5. Linus, could you please include this patch in the next pre patch? (in the mean time, I'll go back to looking at

Re: [patch *] VM deadlock fix

2000-09-22 Thread Rik van Riel
On Fri, 22 Sep 2000, James Lewis Nance wrote: On Thu, Sep 21, 2000 at 01:44:35PM -0300, Rik van Riel wrote: I've found and fixed the deadlocks in the new VM. They turned out to be single-cpu only bugs, which explains why they didn't crash my SMP tesnt box ;) I applied the patches and

[2.2.17] poll(2) bug/race condition?

2000-09-22 Thread Matthias Andree
Playing with Uwe Ohse's ftpcopy 0.3.2 (which I like a lot), I found strange behaviour in poll(). Does not happen under FreeBSD 4.0. Preface: ftpcopy is an FTP client (mirroring agent, actually) that uses poll(). Available on http://www.ohse.de/uwe/ftpcopy.html Now, if I suspend ftpcopy (^Z in

SMP APIC spurrious int wierdness

2000-09-22 Thread Robert Redelmeier
In keeping with my other projects, I'm working on `burnAPIC` to test out APIC functionality. I've finally got the APIC interrupt command register working -- in a kernel module, of course. I'm a little behind on kernels -- 2.2.13. I stick in `movl $0x000840D0, 0xE300` and I get a nice

2.4.0-test9-preX ptrace changes kill also ltrace

2000-09-22 Thread Petr Vandrovec
Hi Linus, in addition to UML, also ltrace is affected by EIP changes in ptrace :-( ptrace(POKE_USER, ..., 4*EIP, ...); ptrace(PTRACE_SINGLESTEP, ...); and child died :-( Maybe we should really backout change... Best regards,

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Igmar Palsenberg
On Fri, 22 Sep 2000, Alan Cox wrote: This machine is running 2.2.17aa2 (I needed LFS), and I'm able to lock it hard. This is what was in the logs : Sep 21 23:55:38 fs1 kernel: hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error } A disk seek failed Sep 21 23:55:38 fs1

PATCH: pci_enable_device_mask

2000-09-22 Thread Jeff Garzik
I didn't update all the archs, just x86.. Enjoy. This is not an official patch submission (so Linus if you see it, don't apply...) ? .config ? .tmpconfig ? .tmpconfig.h ? include/config ? include/linux/modules ? include/linux/autoconf.h ? include/linux/version.h ? include/linux/module.mak ?

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Igmar Palsenberg
On Fri, 22 Sep 2000, Carsten Lang wrote: i don't think that we can blame the disks! I have 3 different drives, which produce this error after 24 hrs under heavy load. This one chokes after about 10 mins. Total meltdown. Drives are brandnew, so I doubt the failure. If I md5sum the files

Re: (reiserfs) Re: An elevator algorithm

2000-09-22 Thread Hans Reiser
I think Xuan's algorithm is good, so I want to add to it.:-) Ragnar, I don't understand your objection to it. It is always the case that if you specify real time constraints that are impossible then they aren't met. If you want to get fancy you could sort all expired time limit requests by

Re: [PATCH/KERNELI] Util-linux 3des update

2000-09-22 Thread Alexander S A Kjeldaas
On Fri, Sep 22, 2000 at 11:46:02AM +0200, Gisle Sælensminde wrote: Since des_ede3(3des) now is added to the international kernel, it will probably be a good idea to add support for it in losetup, so here is a patch to the kerneli version of util-linux-2.10m / kerneli 2.2.17.3 Since this

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Igmar Palsenberg
This is the following problem hda: Maxtor 71626 AP, 1554MB w/128kB Cache, CHS=789/64/63, DMA hdb: Maxtor 91021U2, 9641MB w/512kB Cache, CHS=1229/255/63, (U)DMA hdc: Maxtor 91021U2, 9641MB w/512kB Cache, CHS=19590/16/63, (U)DMA I'll put both UDMA drives on ide1 and kick it's ass again.

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Igmar Palsenberg
Do you have stuff logged about trying to access out of range blocks ? No. It start to bark about the DMA mode and then dies. Igmar - 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

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Andries Brouwer
On Fri, Sep 22, 2000 at 02:34:16PM +0200, Igmar Palsenberg wrote: It could be that it is choking on the fact that one drives is LBA, one drive isn't. Drives are identical, but dmesg gives different CHS for each of them.. A FAQ. See

Re: [patch *] VM deadlock fix

2000-09-22 Thread Martin Diehl
On Thu, 21 Sep 2000, Rik van Riel wrote: I've found and fixed the deadlocks in the new VM. They turned out to be single-cpu only bugs, which explains why they didn't crash my SMP tesnt box ;) Hi, tried http://www.surriel.com/patches/2.4.0-t9p2-vmpatch applied to 2.4.0-t9p4 on UP box

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Igmar Palsenberg
On Fri, 22 Sep 2000, Andries Brouwer wrote: On Fri, Sep 22, 2000 at 02:34:16PM +0200, Igmar Palsenberg wrote: It could be that it is choking on the fact that one drives is LBA, one drive isn't. Drives are identical, but dmesg gives different CHS for each of them.. A FAQ. See

Re: IDE Troubles - linux-2.4.0-test9-pre2

2000-09-22 Thread Andrew Morton
Byron Stanoszek wrote: After about 3 days running 2.4.0-test9-pre2 (32mb i586 machine), I switched on the system console and saw these messages. Nothing seems to be wrong with the system. Can anyone enlighten me? Flags; bus-master 1, full 0; dirty 1267452(12) current 1267456(0). Bogus

Re: [PATCH/KERNELI] Util-linux 3des update

2000-09-22 Thread Gisle S{lensminde
On Fri, 22 Sep 2000, Alexander S A Kjeldaas wrote: On Fri, Sep 22, 2000 at 11:46:02AM +0200, Gisle Sælensminde wrote: Since des_ede3(3des) now is added to the international kernel, it will probably be a good idea to add support for it in losetup, so here is a patch to the kerneli

No sound (es1371) after test7

2000-09-22 Thread Kernel Related Emails
List, Well everythings working fine in test9-pre5 except for the fact that sound has stopped functioning on my es1371 card. I had no problems with it at all in test7 but since then it doesn't work. On boot it detects normally, pops and crackles for a second, and then just doesn't work. Any

Re: stuck on TLB IPI wait (CPU#0) at 2.2.17+reiserfs+ide+raid

2000-09-22 Thread Andrew Morton
Andi Kleen wrote: On Mon, Sep 18, 2000 at 10:06:37AM -0600, Andreas Dilger wrote: Chris, you write: my box sometimes hang up at high load avarage with "stuck on TLB IPI wait (CPU#0)" messages. This is a known issue with the way reiserfs uses the scheduler task queue. The

Re: cPCI development

2000-09-22 Thread Vitaly Luban
Dan Hollis wrote: On Thu, 21 Sep 2000, Alan Cox wrote: I'd disagree on the ISP thing too btw. Telcos care a lot about hotswap PCI, but ISP services you can take a down box with a failover of a machine - which in general is a lot easier and overall better coverage Alan, you want an ISP

IOREMAP

2000-09-22 Thread MOHAMMED AZAD
Hi all, How does ioremap work???... does it allocate memory after a remap operation.. can someone throw some light on this... any help appreciated... thanks azad - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read

Re: IOREMAP

2000-09-22 Thread Timur Tabi
** 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 they say around here ... "the source code is the

Re: [PATCH/KERNELI] Util-linux 3des update

2000-09-22 Thread Sandy Harris
Gisle S{lensminde wrote: On Fri, 22 Sep 2000, Alexander S A Kjeldaas wrote: On Fri, Sep 22, 2000 at 11:46:02AM +0200, Gisle Sælensminde wrote: Since des_ede3(3des) now is added to the international kernel, it will probably be a good idea to add support for it in losetup, so here

[PATCH] sigtimedwait with zero timeout should not block

2000-09-22 Thread Henrik Nordstrom
As I mentioned earlier sigtimedwait with a zero timeout (0,0) should not block, but it currently does for 10msec (one jiffie). This is a performance problem for applications using polled signal queues. SUSV2 says specifically for this case "returns immediately with an error". Attached is a new

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

2000-09-22 Thread Timur Tabi
** Reply to message from "Richard B. Johnson" [EMAIL PROTECTED] on Fri, 22 Sep 2000 12:48:06 -0400 (EDT) Well no. It specifically disallows using space already used by RAM. Sorry, I should have said that in 2.4, you can use ioremap on normal RAM, although I'm having some problems getting it

Re: [DOC] Debugging early kernel hangs

2000-09-22 Thread Russell King
Keith Owens writes: If a kernel hangs early in the boot process (before the console has been initialized) then printk is no use because you never see the output. There is a technique for using the video display to indicate boot progress so you can localize the problem. Reporting "my kernel

Re: [DOC] Debugging early kernel hangs

2000-09-22 Thread Oliver Xymoron
On Fri, 22 Sep 2000, Keith Owens wrote: On Thu, 21 Sep 2000 18:54:33 -0400 (EDT), Byron Stanoszek [EMAIL PROTECTED] wrote: On Fri, 22 Sep 2000, Keith Owens wrote: The idea is to write characters direct to the video screen during booting using a macro called VIDEO_CHAR. Why not just

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-22 Thread Linus Torvalds
On Fri, 22 Sep 2000, James Cownie wrote: This is obviously much better (getting a signal for ALL debug register triggers is a _good_ thing), but is it safe to call force_sig_info from the debug trap handler if it was entered from kernel mode ? Good question. It should be safe. The code

Re: Is there any T/TCP patch for kernel 2.2.*

2000-09-22 Thread Oliver Xymoron
On Thu, 21 Sep 2000, Mao Yun wrote: Hi all, Is there any T/TCP patch for kernel 2.2.16? thanks. Maybe, but you don't want it. T/TCP is inherently insecure. -- "Love the dolphins," she advised him. "Write by W.A.S.T.E.." - To unsubscribe from this list: send the line "unsubscribe

[patch] Re: ARP entry in /proc wrong?

2000-09-22 Thread David Ford
Attached is a patch. -d his dad wrote: Linux 2.4.0-test6 i386 I've just put a manual arp entry in for 192.168.56.1. arp -n does not show it. /proc/arp has the following line 192.168.56.10x10xc etc where the ipaddress and the HWtype are jammed against each other. dare i

Re: IOREMAP

2000-09-22 Thread Alan Cox
the physical address you request. It's intended for PCI memory, but you can use it on normal memory is mark the pages reserved in the mem_map_t structures. Well no. It specifically disallows using space already used by RAM. The original poster is correct for 2.4 and 2.2.18pre+. For

Re: [PATCH] panic when booting Intel XXPRESS SMP boards

2000-09-22 Thread Maciej W. Rozycki
On Fri, 8 Sep 2000, Linus Torvalds wrote: Note that then we should move the panic to the irq routing part (ie MPBIOS_trigger() and MPBIOS_polarity friends). Although right now we have just a printk() there, and I think I'd prefer it that way. Maybe just make it bigger letters.. OK, I've

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-22 Thread Andi Kleen
On Fri, Sep 22, 2000 at 10:56:34AM -0700, Linus Torvalds wrote: On Fri, 22 Sep 2000, James Cownie wrote: This is obviously much better (getting a signal for ALL debug register triggers is a _good_ thing), but is it safe to call force_sig_info from the debug trap handler if it was

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-22 Thread Linus Torvalds
On Fri, 22 Sep 2000, Andi Kleen wrote: The problem is that the !SI_FROMUSER check in bad_signal() does not work properly, because SI_FROMUSER does not match the defined SI_* codes (it returns true for kernel generated signals). The result is that it always looks at current and what

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-22 Thread Andi Kleen
On Fri, Sep 22, 2000 at 11:14:01AM -0700, Linus Torvalds wrote: On Fri, 22 Sep 2000, Andi Kleen wrote: The problem is that the !SI_FROMUSER check in bad_signal() does not work properly, because SI_FROMUSER does not match the defined SI_* codes (it returns true for kernel generated

[patch] 2.4.0-test8: Alpha Makefile fixes

2000-09-22 Thread Maciej W. Rozycki
Hi, Due to arch/alpha/vmlinux.lds being build by the archdep and removed by the clean target, the usual `make dep clean boot' command does not work for Alpha. There are also a few names of programs hardcoded in Alpha Makefiles, which causes problems when cross-compiling. The following patch

[patch] 2.4.0-test8: Alpha RTC clean-ups

2000-09-22 Thread Maciej W. Rozycki
Hi, As I already pointed out, there are a few errors in RTC handling for Alpha. Also a few comments are misleading. The following is an updated patch that applies to 2.4.0-test8. Maciej -- + Maciej W. Rozycki, Technical University of Gdansk, Poland +

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-22 Thread Linus Torvalds
On Fri, 22 Sep 2000, Andi Kleen wrote: No. The current process is always the same one we send the signal to, so that test ends up being irrelevant. Really ? I thought the original user wanted the signal to be sent to the debugger (e.g. the idle process probably couldn't care less

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-22 Thread Andi Kleen
On Fri, Sep 22, 2000 at 11:25:21AM -0700, Linus Torvalds wrote: On Fri, 22 Sep 2000, Andi Kleen wrote: No. The current process is always the same one we send the signal to, so that test ends up being irrelevant. Really ? I thought the original user wanted the signal to be sent

Re: PATCH: pci_enable_device_mask

2000-09-22 Thread Martin Mares
Hi Jeff! I didn't update all the archs, just x86.. Enjoy. This is not an official patch submission (so Linus if you see it, don't apply...) Is there any reason for adding such a thing? I was thinking about it some months ago and it seemed to me that we always have plenty of space for all

Re: [PATCH/KERNELI] Util-linux 3des update

2000-09-22 Thread Gisle S{lensminde
On Fri, 22 Sep 2000, Sandy Harris wrote: Gisle S{lensminde wrote: No. Adding data the attacker knows cannot make the attack harder to any significant extent. At best, it might increase attack overheads by some small factor. What you need for security are things that cost little or nothing

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Andre Hedrick
On Fri, 22 Sep 2000, Andries Brouwer wrote: Here 1.4 MB is wasted on hdb because the BIOS has invented this 1229/255/63 translation. The disk access methods on hdb and hdc is the same. Yes, and soon CHS will go away completely with 48-bit LBA or if you CHS these large drives. I considered

Re: cPCI development

2000-09-22 Thread Dan Hollis
On Fri, 22 Sep 2000, Vitaly Luban wrote: Dan Hollis wrote: Alan, you want an ISP to configure identical machines for linux routers just so they can hotswap NICs? What have you been putting in your tea lately 8) [...] One may have cPCI configuration with two or more NICs on each side of

RAID disk / raw device accounting

2000-09-22 Thread Mark Givens
Hi, Are there any tools/patches that allow for RAID disk and/or raw device accounting? Thanks -mg _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your

Re: [patch] mousedev.c

2000-09-22 Thread Igmar Palsenberg
On Fri, 22 Sep 2000, Russell King wrote: You're telling us that: if (list-mode 1) { index = 4; break; } is the same as: if (list-mode 1) index = 4; break; No, it isn't.. Ws confused with switch() {}

[patch] net/ipv4/net.c

2000-09-22 Thread David Ford
After reviewing the arp.c file, I made a couple of changes. I fixed the ip.ip.ip.ip0xNN breakage and also changed the printing routine. Since the ARP mask is not implemented in the /proc file, I changed the length formatting of it and the following dev-name entry. e.g.: -"

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-22 Thread Linus Torvalds
On Fri, 22 Sep 2000, Andi Kleen wrote: Unless I'm missing something switch_to does not clear debug registers on context switch (unless another process also uses them) You're missing something. The thing you're missing is the top of the debug() trap handler, which handles the case of

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Igmar Palsenberg
Do you have stuff logged about trying to access out of range blocks ? Putting primary to secondary slave (two UDMA devices on the same bus) fixed the lockup. The second drive was ginging errors in some cases, and sometimes it didn't. Was the reason I couldn't reproduce the unrecoverable

Re: [ANOTHER PATCH] Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-22 Thread Linus Torvalds
On Fri, 22 Sep 2000, Andi Kleen wrote: Also unless I'm missing another thing ptrace allows you to put any addresses including kernel address into the debug registers, so you could certainly get debug traps everywhere, making my original objection valid. See: if(addr

Re: [PATCH] 2.4.0 i386 watchpoint problems

2000-09-22 Thread H. Peter Anvin
Followup to: [EMAIL PROTECTED] By author:Linus Torvalds [EMAIL PROTECTED] In newsgroup: linux.dev.kernel Remember: debug traps work even without debuggers. You can use a "int 3" in your program if you want to have self-debug somewhere. Not many people do it, of course, but there's

Re: [PATCH/KERNELI] Util-linux 3des update

2000-09-22 Thread Marc Mutz
Gisle S{lensminde wrote: snip Predictable data in the last DES subkey would probably open up for certain attacks. snip meet-in-the-middle with complexity at most 2*2**54 if the last key is known. The right way to do this would be to create a random key and use that for encryption.

Re: New topic (PowerPC Linux PCI HELL)

2000-09-22 Thread Gérard Roudier
On Fri, 22 Sep 2000, Jamie Lokier wrote: Michel Lanners wrote: static inline int pci_enable_device(struct pci_device *dev) { return pci_enable_device_features(USE_IO|USE_MM); } (snip) And what about other features ? I mean: - Bus Master - Memory Write and Invalidate

Intel 82562ET support?

2000-09-22 Thread Michael J. Dikkema
Is the Intel 82562ET Supported by the EtherExpress driver in the kernel, or is it neccessary to use the e100 driver provided by intel? I'm trying to talk a client through getting his network card working and don't have physical access to the box. It's an onboard NIC on the D815EEA desktop

mkswap/swapon problems

2000-09-22 Thread Pavel Machek
Hi! test8 exhibits rather strange behaviour: root@bug:~# ls -al /tmp/swap -rw-r--r-- 1 root root 27164672 Sep 22 16:58 /tmp/swap root@bug:~# mkswap /tmp/swap Setting up swapspace, size = 27160576 bytes root@bug:~# swapon /tmp/swap swapon: /tmp/swap: Invalid argument root@bug:~# sync

Re: [patch] net/ipv4/net.c (correction: arp.c)

2000-09-22 Thread David Ford
David Ford wrote: After reviewing the arp.c file, I made a couple of changes. I fixed the uhm. I meant arp.c ;) -d -- "The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast: the chicken was 'involved' - the pig was 'committed'." begin:vcard

Re: lvm in 2.4.0-test9pre5

2000-09-22 Thread Linus Torvalds
In article [EMAIL PROTECTED], Andrea Arcangeli [EMAIL PROTECTED] wrote: On Thu, Sep 21, 2000 at 04:11:46PM +0200, Jan Niehusmann wrote: Yes, lvm.c and lvm-snap.c are missing from drivers/md/. LVM and MD have nothing common. I disagree. Yes, they have no _code_ in common. They have a

Re: __ucmpdi2

2000-09-22 Thread Linus Torvalds
In article [EMAIL PROTECTED], Jeremy Higdon [EMAIL PROTECTED] wrote: In my case, it is simple "long long" arithmetic. Shifts, ANDs, ORs, comparisons, etc. Not even any addition (which should be pretty efficient with the HW carry bit on X86). I don't know why: Oh, I agree. In your case this

2.2.17 Stuck TCP ESTABLISHED sessions

2000-09-22 Thread Philippe Troin
I've seen that in the past, but never had time to investigate. For some reasons, TCP sessions get stuck. Here'an example with a ssh session: 1) Netstat says on tantale (note the non-zero Send-Q): tcp 0 38364 tantale:ssh neptune:1022 ESTABLISHED Netstat says on neptune:

Re: [DOC] Debugging early kernel hangs

2000-09-22 Thread Benjamin Herrenschmidt
Hmm, good idea, but how does this work on, say, non-x86 architectures which don't have a VGA text frame buffer, or whose VGA text frame buffer is not mapped in, or whose VGA text frame buffer is not initialised. You will still end up with those "my kernel hangs during boot" messages. A lot of

traffic shapping problem with fragmented packets

2000-09-22 Thread Wael Ashmawi
Hi,I have a question regarding the token bucket filter queuing in the TCpackage.I'm trying to shape a bursty traffic to make it conferment to the EFrequirements in terms of rateand burst size.The traffic, as I said, is bursty and its burst size is 11 packets(Video server output running on

Re: RAID disk / raw device accounting

2000-09-22 Thread Andreas Dilger
Mark Givens writes: Are there any tools/patches that allow for RAID disk and/or raw device accounting? You can use Stephen Tweedie's "sard" patches, available at: ftp://ftp.linux.org.uk/pub/linux/sct/fs/profiling/sard-0.6.tar.gz -- Andreas Dilger \ "If a man ate a pound of pasta and a

Re: mkswap/swapon problems

2000-09-22 Thread Andries Brouwer
On Fri, Sep 22, 2000 at 04:59:11PM +0200, Pavel Machek wrote: test8 exhibits rather strange behaviour: root@bug:~# ls -al /tmp/swap -rw-r--r-- 1 root root 27164672 Sep 22 16:58 /tmp/swap root@bug:~# mkswap /tmp/swap Setting up swapspace, size = 27160576 bytes root@bug:~# swapon

es1371 in 2.4.0-test7 and 2.4.0-test8

2000-09-22 Thread Andrew C. Dingman
Hi- I've been running 2.4.0-test6 without problems for a while, but upon trying test7 and test8, I've been unable to get the es1371 module to load. I built the test7 and test8 kernels using 'make oldconfig' and the .config from my fully functional test6 kernel, so I think that my config

Re: traffic shapping problem with fragmented packets

2000-09-22 Thread Andi Kleen
On Fri, Sep 22, 2000 at 04:56:55PM -0400, Wael Ashmawi wrote: I have tried several ways of doing that the script shown below does the shaping ok but for packet less than the Ethernet MTU. if I start to have fragments everything is missed up. I tried it with pings givinig different packet size

um, here's the attachment

2000-09-22 Thread Andrew C. Dingman
# # Automatically generated make config: don't edit # CONFIG_X86=y CONFIG_ISA=y # CONFIG_SBUS is not set CONFIG_UID16=y # # Code maturity level options # # CONFIG_EXPERIMENTAL is not set # # Loadable module support # CONFIG_MODULES=y CONFIG_MODVERSIONS=y CONFIG_KMOD=y #

Re: [patch] 2.4.0-test8: Alpha RTC clean-ups

2000-09-22 Thread Jan-Benedict Glaw
On Fri, Sep 22, 2000 at 08:23:05PM +0200, Maciej W. Rozycki wrote: Hi! + if (year = 20 year 48) [...] else if (year = 48 year 70) [...] - else if (year = 70 year 100) - /* Digital DECstations, very old... */ - epoch = 1928; Instead of having

Re: Reproducable hard locks in 2.2.17. IDE related

2000-09-22 Thread Andries Brouwer
On Fri, Sep 22, 2000 at 12:03:30PM -0700, Andre Hedrick wrote: On Fri, 22 Sep 2000, Andries Brouwer wrote: Here 1.4 MB is wasted on hdb because the BIOS has invented this 1229/255/63 translation. The disk access methods on hdb and hdc is the same. Yes, and soon CHS will go away

Re: No sound (es1371) after test7

2000-09-22 Thread Mordechai Ovits
On Fri, Sep 22, 2000 at 09:14:23AM -0400, Kernel Related Emails wrote: List, Well everythings working fine in test9-pre5 except for the fact that sound has stopped functioning on my es1371 card. I had no problems with it at all in test7 but since then it doesn't work. On boot it detects

Another VM bug report.

2000-09-22 Thread Rui Sousa
Hi, I had another system lock up using 2.4.0-test9pre5 + vmfixes-2.4.0-test9-A1 (by Ingo Molnar). This time I manage to sample the functions where the kernel was looping using SysReq + P. Here is the list: swap_out swap_out_vma try_to_swap_out find_vma __wake_up It probably doesn't help much

2.4 kernels do not boot on UX (Alpha)

2000-09-22 Thread Michal Jaegermann
I tried to boot recent 2.4.0 kernels (the last one 2.4.0-test9-pre5) on Ruffian type of Alpha, also known as UX, with a notable lack of success. So far I had not a single succesful boot. My test machine ran without any hiccups various 2.2 kernels, patched and upatched, and before that a long

2.4.0-test8 sit device failure: not enough buffer space

2000-09-22 Thread Felix von Leitner
Sorry if this is a known problem or I am doing something trivial wrong. I did this: # ifconfig sit0 up # ifconfig sit0 tunnel ::10.0.0.1 SIOCSIFDSTADDR: No buffer space available # What's wrong? I am using 2.4.0-test8 for this. The same chain of commands works without error on

kernel BUG at page_alloc.c:85 (iounmap)

2000-09-22 Thread Timur Tabi
I have a driver which calls marks a physical page as PG_Reserved, calls ioremap_nocache() on it, performs a non-destructive memory write, and then calls iounmap(). I have a recurring problem which I can't figure out. After 28 such map/unmap calls, I get an error in page_alloc.c on line 85.

test9-pre6

2000-09-22 Thread Linus Torvalds
This should fix the VM deadlocks (knock wood), and adds the infrastructure for better samba serving. And lots of small details... Linus - - pre1: - USB: OHCI controller unlink and bandwidth reclamation fixes - USB: storage update - sparc64: register window

[PATCH] backing a little bit out of Rik v. riel's vm

2000-09-22 Thread Frank Dekervel
Hello, since for me , the VM deadlocks were introduced only after test8-rielvm2, i diff'd a bit between test8-rielvm2 and test9-pre5. It gave me a little patch that made me run mmap002 without locking up, so probably some people could use this little patch as a temporarily fix for the recent

Re: cPCI development

2000-09-22 Thread Vitaly Luban
Dan Hollis wrote: On Fri, 22 Sep 2000, Vitaly Luban wrote: One may have cPCI configuration with two or more NICs on each side of the router, with dynamic IP reallocation and hotswap that's make sense IMHO. Easy for ethernet where you have shared media and switches, but what about ptp

Re: cPCI development

2000-09-22 Thread Dan Hollis
On Fri, 22 Sep 2000, Vitaly Luban wrote: Dan Hollis wrote: Easy for ethernet where you have shared media and switches, but what about ptp synchronous serial lines? Oh dear thats a problem isnt it 8) Not, if one have two USARTs, receivers paralleled syncronized, transmitters wired-OR and

Re: PROBLEM: Is remap_page_range() working properly?

2000-09-22 Thread Alan Cox
Is remap_page_range working properly? Probably But the code in remap_pte_range() seems to behave exactly in the opposite way; as far as I can see, it sets to null every page, _except_ "references to nonexistent pages"! Here are the relevant lines of code taken from kernel 2.0.32 (the file

  1   2   3   4   >