Re: [PATCH] semaphore fairness patch against test11-pre6

2000-11-18 Thread Christoph Rohland
Hi David, David Mansfield <[EMAIL PROTECTED]> writes: > If you can find the time to check this out more completely, I recommend > it, because it seems like a great improvement to be able to accurately > see vmstat numbers in times of system load. I hope the other side > effects are beneficial as

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-18 Thread David Ford
Linus Torvalds wrote: [...] > If somebody still has a problem with the in-kernel stuff, speak up. The kernel's irq detection for the card sockets doesn't work for me. It's the NEC Versa LX story. The DH code also reports no IRQ found but still figures out a working IRQ (normally 3) and assigns

Re: Linux 2.2.18pre21

2000-11-18 Thread Rogier Wolff
Alan Cox wrote: > > It's simply not good enough to close all directory file descriptors before >chrooting. > > > > If calling chroot once you're already in a chroot jail was disallowed, it would >stop > > this attack. > I think the problem here is that some people have the idea that > chroot

speaking of USB...(bug/hub.c)

2000-11-18 Thread David Ford
Here's another one for the books. In the recent test11 series, timing appears to be partially broken for dev addr assignments. If I'm lucky a new usb device will answer back and get all the numbers set up properly. Regularly however a new device gets plugged in and I get several of the below wi

passing arguments to module

2000-11-18 Thread Anil Kumar Prasad
Hi, can anybody tell how to pass argument to modules? thanks in advance, Anil Prasad Note:Please CC the answer __ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/ - To unsubscribe from this list: send the

Re: RFC: "SubmittingPatches" text

2000-11-18 Thread Rogier Wolff
Alan Cox wrote: > Maybe also note that maintainers of given modules are much more likely to > give feedback than Linus, also the [PATCH]: convention Question: Should a submitter CC Linus or linux-kernel on the patch before having gotten approval from a maintainer? I'd say DO CC Linux-kernel, d

[PATCH] Speed up interrupt entry

2000-11-18 Thread Andi Kleen
Hi Linus, It turns out that segment register reloading is rather expensive on modern CPUs -- it needs several locked cycles to access the segment table which are especially expensive on SMP. This patch against 2.4.0test11-pre5 tries to avoid the segment register reload for interrupts if possibl

Re: passing arguments to module

2000-11-18 Thread Keith Owens
On Sat, 18 Nov 2000 02:10:40 -0800 (PST), Anil Kumar Prasad <[EMAIL PROTECTED]> wrote: >can anybody tell how to pass argument to modules? RTFM. man modprobe. man insmod. man modules.conf. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [E

Re: RFC: "SubmittingPatches" text

2000-11-18 Thread Rogier Wolff
Andries Brouwer wrote: > On Fri, Nov 17, 2000 at 09:30:13AM +0100, Kai Germaschewski wrote: > > > One question comes to my mind: Are patches supposed to be applied with > > patch -p0 or patch -p1? > > Suppose the kernel tree is in /kernpath, starting with /kernpath/linux. > Linus' patches can b

Re: passing arguments to module

2000-11-18 Thread Anil Kumar Prasad
> >can anybody tell how to pass argument to modules? > > RTFM. man modprobe. man insmod. man modules.conf. > sorry i didn't ask the question properly. I need to know how does kernel modules accept run time arguments from user? Thanks Anil __

Re: passing arguments to module

2000-11-18 Thread Keith Owens
On Sat, 18 Nov 2000 03:07:47 -0800 (PST), Anil Kumar Prasad <[EMAIL PROTECTED]> wrote: >sorry i didn't ask the question properly. I need to >know how does kernel modules accept run time arguments >from user? MODULE_PARM(variable, type) in the code. It defines which variables can be set on the i

[PATCH] swap= kernel commandline

2000-11-18 Thread Kaj-Michael Lang
This patch adds a swap kernel commandline option, so that you can add a swap partition before init starts running on a low-memory machine. The patch is against 2.4.0-test11-pre7 This is my first try at a kernel patch so... I hope someone finds it usefull. --- init/main.c-2.4.0test11-pre7

Re: ORACLE and 2.4-test10

2000-11-18 Thread Frank van Maarseveen
On Fri, Nov 17, 2000 at 06:14:14PM +, Alan Cox wrote: > SHM is resolved but O_SYNC is not yet fixed. You could therefore easily lose > your entire database I assume 2.2.18-pre-latest is ok? Some oracle doc still refers to 2.0.34 -- Frank - To unsubscribe from this list: send the line "unsub

Re: [PATCH] CONFIG_EISA note in Documentation/Configure.help

2000-11-18 Thread Christer Weinigel
[Ouch, I tried to mail this to vger.rutgers.edu again, alan, sorry for the duplicate mail.] In article <[EMAIL PROTECTED]> you write: >Some clues here > >http://www.google.com/search?q=cache:www.korpse.freeserve.co.uk/hardware/pnp/html/escd.html+eisa+data+format&hl=en > >but the original seems to

[PATCH] Typo in test11-pre7 isofs/namei.c

2000-11-18 Thread Tom Leete
Hi, The second and third arguments of get_joliet_filename() are swapped. Tom --- linux-2.4.0-test11/fs/isofs/namei.c.origSat Nov 18 01:55:55 2000 +++ linux-2.4.0-test11/fs/isofs/namei.c Sat Nov 18 07:08:05 2000 @@ -127,7 +127,7 @@ dpnt = tmpname; #ifdef CONFIG_JOLI

[PATCH] Typo in test11-pre7 i386 cpu_init

2000-11-18 Thread Tom Leete
Hi, Here is another. Tom --- linux-2.4.0-test11/arch/i386/kernel/setup.c.origSat Nov 18 01:55:18 2000+++ linux-2.4.0-test11/arch/i386/kernel/setup.c Sat Nov 18 07:43:19 2000 @@ -2178,7 +2178,7 @@ if (tsc_disable && cpu_has_tsc) { printk("Disabling TSC...\n");

Re: BTTV detection broken in 2.4.0-test11-pre5

2000-11-18 Thread Werner Almesberger
Gerd Knorr wrote: > It simply did'nt work correctly and often used to misdetect > random bt848 cards as either MIRO or Hauppauge (which where the first > available cards). Well, this means there's yet another mandatory __setup parameter :-( Should it be called bttv_card or bt484_card (i.e. are t

Re: [PATCH] swap= kernel commandline

2000-11-18 Thread Francois romieu
Hi, The Sat, Nov 18, 2000 at 01:46:40PM +0200, Kaj-Michael Lang wrote : > This patch adds a swap kernel commandline option, so that you can add a > swap partition before init starts running on a low-memory machine. Did you try and add swap from an initrd image ? It should work and it's already

Re: RFC: "SubmittingPatches" text

2000-11-18 Thread Werner Almesberger
Rogier Wolff wrote: > I'd say DO CC Linux-kernel, don't CC Linus. Agreed. Posting to linux-kernel (as opposed to only the maintainer and/or Linus) serves the following purposes: - For patches introducing new features or changing existing ones, this exposes them to public review. (Every once

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Michael Meding
Hi, I am using test10-pre5 on Duron. > > I couldn't get it to freeze. I tried it with asm("fldcw %0": :"m" (0)) > and with fesetenv() using gcc -lm to link it. I have glibc-2.1.2, > egcs 2.91.66, and 2.4.0-test10. > > Regards, > Adrian Same here except gcc-2.95.2 and glibc 2.13. I got an floa

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Brian Gerst
Linus Torvalds wrote: > > In article <[EMAIL PROTECTED]>, > =?iso-8859-1?q?Markus=20Schoder?= <[EMAIL PROTECTED]> wrote: > >The following small program (linked against glibc 2.1.3) reliably > >freezes my system (Athlon Thunderbird CPU) with at least kernels > >2.4.0-test10 and 2.4.0-test11-pre5.

Re: Error in x86 CPU capabilities starting with test5/6

2000-11-18 Thread Christoph Rohland
Andrea Arcangeli <[EMAIL PROTECTED]> writes: > On Fri, Nov 17, 2000 at 05:06:49PM +0100, Christoph Rohland wrote: > > Could I get this for i686? :-) > > If we break binary compatibility yes. OK, I'll stick to rdtsc on ix86 Christoph - To unsubscribe from this list: send the line "uns

reordering pci interrupts?

2000-11-18 Thread Marc Lehmann
I have a motherboard with a broken bios that is unable to set interrupts correctly, i.e. it initializes the devices corerctly but swaps the interrupts for slot1/slot3 and slot2/slot4. Now, is there a way to forcefully re-order the pci-interrupts? I do not have an io-apic (thus no pirq=xxx), and I

Re: Please send Changelog info and patch notices for the test and-pre releases.

2000-11-18 Thread Linus Torvalds
On Fri, 17 Nov 2000, Miles Lane wrote: > > I haven't seen any announcements of recent test and test-pre releases. > Can you begin sending those again, please? You can actually get them off kernel.org these days: Peter Anvin set up a system whereby when I upload a changelog it automatically get

Re: Please send Changelog info and patch notices for the test and-pre releases.

2000-11-18 Thread davej
On Sat, 18 Nov 2000, Linus Torvalds wrote: > You can actually get them off kernel.org these days: Peter Anvin set up a > system whereby when I upload a changelog it automatically gets added to > the web-site (main page, bottom). The same changelogs (plus archived earlier ones) are also available

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-18 Thread Linus Torvalds
On Sat, 18 Nov 2000, David Ford wrote: > Linus Torvalds wrote: > [...] > > > If somebody still has a problem with the in-kernel stuff, speak up. > > The kernel's irq detection for the card sockets doesn't work for me. It's the NEC > Versa LX story. The DH code also reports no IRQ found but

[PATCH] x86 mm init cleanup

2000-11-18 Thread Brian Gerst
Patch against test11. This patch moves the setting of %cr4 out of the loops and makes the code a bit more readable. Tested with standard pagetables, PSE, and PAE. -- Brian Gerst diff -urN linux-2.4.0t11p5/arch/i386/mm/init.c linux/arch/i386/mm/

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Linus Torvalds
On Sat, 18 Nov 2000, Brian Gerst wrote: > > I get Floating Point Exception (core dumped), but I needed to use the > modified program below to keep GCC from optimizing the division away as > a constant. This is on test11-pre5. I'm starting to suspect that it's really a combination of three thi

Re: [PATCH] x86 mm init cleanup

2000-11-18 Thread Tigran Aivazian
On Sat, 18 Nov 2000, Brian Gerst wrote: > Patch against test11. This patch moves the setting of %cr4 out of the > loops and makes the code a bit more readable. Tested with standard > pagetables, PSE, and PAE. > > Brian, while you were there, so close to paging_init() why not also correct th

Re: kernel panic on 2.2.14 in sg driver

2000-11-18 Thread John Summerfield
> I am seeing a kernel panic on 2.2.14. It looks like 2.2.16 also has the > same problem. > Did you try it in 2.2.17? If it's fixed already, nobody will be very interested in looking at it. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

Re: [PATCH] x86 mm init cleanup

2000-11-18 Thread Brian Gerst
Tigran Aivazian wrote: > > On Sat, 18 Nov 2000, Brian Gerst wrote: > > > Patch against test11. This patch moves the setting of %cr4 out of the > > loops and makes the code a bit more readable. Tested with standard > > pagetables, PSE, and PAE. > > > > > > Brian, > > while you were there, so

Re: VGA PCI IO port reservations

2000-11-18 Thread Alan Cox
> It is. There are plenty of devices for which an arbitrary IN is an > irrecoverable state transition. The ne2000 clones being the most infamous of them. Blind ISA read probing is not a safe business - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mess

Re: [PATCH] 2.2.18pre21: DRM update

2000-11-18 Thread Alan Cox
I'll look over it. It may be worth doing the fixing for 2.2.18, since 2.2.17 doesnt have DRM anyway. As posted it doesnt build against vanilla 2.2.18pre but I can see why so not a problem - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: EXPORT_NO_SYMBOLS vs. (null) ?

2000-11-18 Thread Alan Cox
> What is the difference between a module that exports no symbols and > includes EXPORT_NO_SYMBOLS reference, and such a module that lacks > EXPORT_NO_SYMBOLS? > > Alan once upbraided me for assuming they were the same :) EXPORT_NO_SYMBOLS - nothing exported MODULE_foo

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Alan Cox
> Linus Torvalds wrote: > > > > I sure as hell hope this isn't an Athlon issue. Can other people try > > the test-program and see if we have a pattern (ie "it happens only on > > Athlons", or "Linus is on drugs and it happens for everybody else"). > > I've tried both variants (fesetenv and inli

Re: Errors in aa2

2000-11-18 Thread Andrea Arcangeli
On Sat, Nov 18, 2000 at 03:36:09AM +0100, J . A . Magallon wrote: > Hi everyone. > > When compiling Andreas aa2 patch I got: > > /usr/bin/kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes > -O4 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe > -fno-strength-reduce -m

Re: ORACLE and 2.4-test10

2000-11-18 Thread Alan Cox
> On Fri, Nov 17, 2000 at 06:14:14PM +, Alan Cox wrote: > > SHM is resolved but O_SYNC is not yet fixed. You could therefore easily lose > > your entire database > > I assume 2.2.18-pre-latest is ok? I certainly hope so 8) Alan - To unsubscribe from this list: send the line "unsubscribe li

Re: ORACLE and 2.4-test10

2000-11-18 Thread Josue Emmanuel Amaro
Frank, You must be looking at Oracle 8.0 docs. If you are looking to update a production system we only support stable kernels. Pre kernels are not yet really stable and therefore not supported. (We had to draw the line somewhere.) That said, we will look into O_DIRECT and kiovects. We may b

Re: Linux 2.2.18pre21

2000-11-18 Thread kuznet
Hello! > This IS the magical security device. Jail maybe is. Chroot is not. It is even not clear, why you remembered about jail here. Chroot does not imprison anyone. Alexey - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: Linux 2.2.18pre21

2000-11-18 Thread Rogier Wolff
[EMAIL PROTECTED] wrote: > Hello! > > > This IS the magical security device. > > Jail maybe is. Chroot is not. It is even not clear, why you remembered > about jail here. Chroot does not imprison anyone. Well, because lots of people seem to THINK that chroot imprisons someone. And "jail" actua

Re: EXPORT_NO_SYMBOLS vs. (null) ?

2000-11-18 Thread Rogier Wolff
Alan Cox wrote: > > What is the difference between a module that exports no symbols and > > includes EXPORT_NO_SYMBOLS reference, and such a module that lacks > > EXPORT_NO_SYMBOLS? > > > > Alan once upbraided me for assuming they were the same :) > > EXPORT_NO_SYMBOLS - nothin

About IOs, ISA, PCI, and life (WAS: VGA PCI IO port...)

2000-11-18 Thread Benjamin Herrenschmidt
> >One way to do this is to treat PCI IO and ISA IO as two separate >address spaces. The PCI IO address space is a 14-bit address space >(bits 9:8 are always zero) ranging from 0x1000 to 0xFCFF. ISA IO is a >10-bit space (bits 15:10 are available for the card to use) ranging >from 0x100 to 0x3FF

Re: EXPORT_NO_SYMBOLS vs. (null) ?

2000-11-18 Thread Jeff Garzik
Rogier Wolff wrote: > > Alan Cox wrote: > > > What is the difference between a module that exports no symbols and > > > includes EXPORT_NO_SYMBOLS reference, and such a module that lacks > > > EXPORT_NO_SYMBOLS? > > > > > > Alan once upbraided me for assuming they were the same :) > > > > EXPORT_

Re: Linux 2.2.18pre21

2000-11-18 Thread kuznet
Hello! > Well, because lots of people seem to THINK that chroot imprisons > someone. And "jail" actually does Also many of people work to add to linux jail-like functionality, which is expected to be real security tool unlike bsd jail. I think from the same source where you read about jail

Re: EXPORT_NO_SYMBOLS vs. (null) ?

2000-11-18 Thread Rogier Wolff
Jeff Garzik wrote: > Rogier Wolff wrote: > > > > Alan Cox wrote: > > > > What is the difference between a module that exports no symbols and > > > > includes EXPORT_NO_SYMBOLS reference, and such a module that lacks > > > > EXPORT_NO_SYMBOLS? > > > > > > > > Alan once upbraided me for assuming th

Re: Linux 2.2.18pre21

2000-11-18 Thread Rogier Wolff
[EMAIL PROTECTED] wrote: > Hello! > > > Well, because lots of people seem to THINK that chroot imprisons > > someone. And "jail" actually does > > Also many of people work to add to linux jail-like functionality, > which is expected to be real security tool unlike bsd jail. > > I think from

[PATCH] linux/time.h name space pollution in 2.4.0-test11-pre6/pre7

2000-11-18 Thread Werner Almesberger
Hi Linus, include/linux/time.h leaks out mktime, creating a possible conflict with POSIX mktime. This patch puts mktime and a few helper functions into #ifdef __KERNEL__ Originally for 2.4.0-test11-pre6, but applies also to 2.4.0-test11-pre7 Cheers, Werner -- cu

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Linus Torvalds
On Sat, 18 Nov 2000, Alan Cox wrote: > > Linus Torvalds wrote: > > > > > > I sure as hell hope this isn't an Athlon issue. Can other people try > > > the test-program and see if we have a pattern (ie "it happens only on > > > Athlons", or "Linus is on drugs and it happens for everybody else")

Re: sound and scsi pci MODULE_DEVICE_TABLE entries? (primary for Alan Cox)

2000-11-18 Thread Christoph Hellwig
In article <[EMAIL PROTECTED]> you wrote: > Jeff Garzik tells me that you, with some help from some other > kernel developers, are hacking on the sound drivers right now. I > would like to add PCI MODULE_DEVICE_TABLE entries to three of > the four PCI sound drivers: cmpci, cs46xx and nm

Re: test11-pre6 still very broken

2000-11-18 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Greg KH <[EMAIL PROTECTED]> wrote: >On Fri, Nov 17, 2000 at 11:25:50PM -0800, Ben Ford wrote: >> Here is lspci output from the laptop in question. Is this not UHCI? > >Yes it is. Just a bit funny if you think about it, but with Intel and >Via putting the UHCI cor

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Markus Schoder
--- Linus Torvalds <[EMAIL PROTECTED]> wrote: > > If I'm right, the proper test-program should be > something like > Your test program is indeed sufficient to trigger the freeze. Unfortunately the patch does not make a difference :( My test program caused the exception (and the freeze) unin

Re: lseek/llseek allows the negative offset

2000-11-18 Thread Andrea Arcangeli
On Fri, Nov 17, 2000 at 04:09:00PM -0800, H . J . Lu wrote: > On Fri, Nov 17, 2000 at 03:59:13PM -0800, H . J . Lu wrote: > > # gcc x.c > > # ./a.out > > lseek on -10: -10 > > write: File too large > > > > Should kernel allow negative offsets for lseek/llseek? > > > > > > Never mind. I

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Udo A. Steinberg
Linus Torvalds wrote: > > Compiler specific ? > > There's almost certainly more than that. I'd love to have a report on my > asm-only version, but even so I suspect it also requires the 3dnow stuff, > because I'm not able to trigger anything like this on any machines I have > access to (none of

[PATCH] more up_and_exit() fixes.

2000-11-18 Thread David Woodhouse
Index: drivers/media/video/msp3400.c === RCS file: /net/passion/inst/cvs/linux/drivers/media/video/Attic/msp3400.c,v retrieving revision 1.1.2.2 diff -u -r1.1.2.2 msp3400.c --- drivers/media/video/msp3400.c 2000/11/15 12:15:02

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Udo A. Steinberg
Markus Schoder wrote: > My test program caused the exception (and the freeze) > unintendedly in the return statement since the > division was optimized away as Brian pointed out. It's quite strange that I cannot seem to trigger the problem here on my machine. > I know of another guy with the ex

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread adrian
On Sat, 18 Nov 2000, Linus Torvalds wrote: > There's almost certainly more than that. I'd love to have a report on my > asm-only version, but even so I suspect it also requires the 3dnow stuff, I tried all three versions, and no freezes. I forgot to mention the tests were run on a model 2 Ath

Re: Errors in aa2

2000-11-18 Thread J . A . Magallon
On Sat, 18 Nov 2000 18:19:37 Andrea Arcangeli wrote: > On Sat, Nov 18, 2000 at 03:36:09AM +0100, J . A . Magallon wrote: > > /usr/bin/kgcc -D__KERNEL__ -I/usr/src/linux/include -Wall > -Wstrict-prototypes > > -O4 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe > > -fno-strength-reduce -

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Linus Torvalds
On Sat, 18 Nov 2000, Markus Schoder wrote: > > Your test program is indeed sufficient to trigger the > freeze. Unfortunately the patch does not make a > difference :( Ok. This may in fact be an Athlon CPU bug. But before we contact anybody from AMD, I'd really need to know what the result fr

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Linus Torvalds
On Sat, 18 Nov 2000, adrian wrote: > > > On Sat, 18 Nov 2000, Linus Torvalds wrote: > > > There's almost certainly more than that. I'd love to have a report on my > > asm-only version, but even so I suspect it also requires the 3dnow stuff, > > I tried all three versions, and no freezes. I

Re: EXPORT_NO_SYMBOLS vs. (null) ?

2000-11-18 Thread Jeff Garzik
Rogier Wolff wrote: > > Jeff Garzik wrote: > > Rogier Wolff wrote: > > > > > > Alan Cox wrote: > > > > > What is the difference between a module that exports no symbols and > > > > > includes EXPORT_NO_SYMBOLS reference, and such a module that lacks > > > > > EXPORT_NO_SYMBOLS? > > > > > > > > >

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread Markus Schoder
--- Linus Torvalds <[EMAIL PROTECTED]> schrieb: > > > On Sat, 18 Nov 2000, adrian wrote: > > > > > > > On Sat, 18 Nov 2000, Linus Torvalds wrote: > > > > > There's almost certainly more than that. I'd > love to have a report on my > > > asm-only version, but even so I suspect it also > requ

Re: Kernel Panic

2000-11-18 Thread Chmouel Boudjnah
Dave Seff <[EMAIL PROTECTED]> writes: > I am not subscribed to this list, so please cc me on > replies. Thanks. I was running mke2fs on an external 17GB SCSI > drive. This started spewing and blasted the 2.2.17mdksmp kernel. could you generate it with ksymoops(include kernel-utils rpm) like ex

[PATCH] Large "clipped" IDE disk support for 2.4 when using old BIOS

2000-11-18 Thread Taisuke Yamada
Hi. Earlier this month, I had sent in a patch to 2.2.18pre17 (with IDE-patch from http://www.linux-ide.org/ applied) to add support for IDE disk larger than 32GB, even if the disk required "clipping" to reduce apparent disk size due to BIOS limitation. BIOS known to have this limitation is Awar

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-18 Thread Pavel Machek
Hi! > [EMAIL PROTECTED] said: > > Umm.. Linus drivers dont appear to be SMP safe on unload > > AFAIK, no kernel threads are currently SMP safe on unload. However, > the PCMCIA thread would be safe with the patch below, and we could fairly > easily convert the others to use up_and_exit() onc

Re: [PATCH] Large "clipped" IDE disk support for 2.4 when using oldBIOS

2000-11-18 Thread Andre Hedrick
Taisuke, After some changes in the code to conform to the near final taskfile solution, it is called CONFIG_IDEDISK_STROKE. It is in the latest patch for 2.2.17 published on kernel.org but I forgot to remove a blocking stub in ide-disk.c Please try it and comment offline for now. Cheers, On S

Re: [PATCH] swap= kernel commandline

2000-11-18 Thread Rik van Riel
On Sat, 18 Nov 2000, Francois romieu wrote: > The Sat, Nov 18, 2000 at 01:46:40PM +0200, Kaj-Michael Lang wrote : > > This patch adds a swap kernel commandline option, so that you can add a > > swap partition before init starts running on a low-memory machine.

Re: Advanced Linux Kernel/Enterprise Linux Kernel

2000-11-18 Thread Daniel Phillips
"Eric W. Biederman" wrote: > > Daniel Phillips <[EMAIL PROTECTED]> writes: > > > Actually, I was planning on doing on putting in a hack to do something > > like that: calculate a checksum after every buffer data update and check > > it after write completion, to make sure nothing scribbled in th

ATA/IDE: dmaproc error 14 testers wanted!

2000-11-18 Thread Andre Hedrick
If anyone is suffering from the dreaded "dmaproc error 14: unsupported" error and want to test a code that could get you out of that deadlock please speak up. Basically this is an Intel 440BX PIIX4 issues, but the solution is global and should work for all cases. Regards, Andre Hedrick CTO Tim

Re: speaking of USB...(bug/hub.c)

2000-11-18 Thread Johannes Erdfelt
On Sat, Nov 18, 2000, David Ford <[EMAIL PROTECTED]> wrote: > Here's another one for the books. In the recent test11 series, timing > appears to be partially broken for dev addr assignments. If I'm lucky a > new usb device will answer back and get all the numbers set up > properly. Regularly ho

Re: ATA/IDE: dmaproc error 14 testers wanted!

2000-11-18 Thread Mohammad A. Haque
This isnt the same as "ide_dmaproc: chipset supported ide_dma_timeout func only: 14" is it? This was on a PIIX4 w/ test11-pre5. I've since upgraded to test11-pre7 and the problem hasn't surfaced again. Andre Hedrick wrote: > > If anyone is suffering from the dreaded "dmaproc error 14: unsupporte

2.2.18pre21 and ipv6 problems/questions

2000-11-18 Thread Pete Toscano
hello, i'm trying to set up an ipv6 machine. i got a setup script from freenet6 complete with an ipv6 address and the ipv6 and ipv4 addresses of my tunnel endpoint. i'm seeing some strange behavior, so i have a few questions. most of these are probably ubd (user brain damage), but i'd like to

Re: [PATCH] swap= kernel commandline

2000-11-18 Thread Werner Almesberger
Rik van Riel wrote: > Did you try to load an initrd on a low-memory machine? > It shouldn't work and it probably won't ;) You must be really low on memory ;-) # zcat initrd.gz | wc -c 409600 (ash, pwd, chroot, pivot_root, smount, and still about 82 kB free.) - Werner -- __

[PATCH] megaraid driver update for 2.4.0-test10

2000-11-18 Thread dalecki
The attached patch does the following: 1. Merge the most current version (aka: 1.08) of the MegaRAID driver from AMI in to the most current kernel (2.4.0-test10 and friends). 2. Try to be clever about HP NetRaid controllers used in HP LHR4 and LHR3 boxes. The current driver does initial

Re: Linux 2.2.18pre21

2000-11-18 Thread Pavel Machek
Hi! > > Two easy "get out of jail free" cards. There are other, more complex > > exploits. You have added one more. They all require root privileges. > > Actually, I've heard that a chrooted _non-root_ process can find another > process with the same uid that's not chrooted and can ptrace() t

Re: rdtsc to mili secs?

2000-11-18 Thread Pavel Machek
Hi! > > Anyway, this should be solvable by checking for clock change in the > > timer interrupt. This way we should be able to detect when the clock > > went weird with a 10 ms accuracy. And compensate for that. It should be > > possible to keep a 'reasonable' clock running even through the clock

Re: rdtsc to mili secs?

2000-11-18 Thread Pavel Machek
Hi! > > > > Intel PIIX-based systems will do duty-cycle throttling, for example. > > > > > > Don't think so. My toshiba is PIIX-based, AFAIC: > > > > Interesting. Some will, definitely. Didn't know that wasn't universal. > > > > Clearly, on a machine like that, there is no hope for RDTSC, at

Re: APM oops with Dell 5000e laptop

2000-11-18 Thread Pavel Machek
Hi! > > > Is there a way to uniquely identify the affected BIOSes at boot time and > > > Im looking at one with some pointers from Dell. It won't be in 2.2.18 so its > > quite likely a fixed BIOS will be out first anyway. > > Wherever the fix comes from, I sure hope it comes soon, because it's

Re: KPATCH] Reserve VM for root (was: Re: Looking for better VM)

2000-11-18 Thread Pavel Machek
Hi! > >>main() { while(1) if (fork()) malloc(1); } > >>With the patch below I could ssh to the host and killall the offending > >>processes. To enable reserving VM space for root do > > what about main() { while(1) system("ftp localhost &"); } > > This. or so,ething similar should all

Re: Please send Changelog info and patch notices for the test and -pre releases.

2000-11-18 Thread bert hubert
On Sat, Nov 18, 2000 at 07:48:35AM -0800, Linus Torvalds wrote: > You can actually get them off kernel.org these days: Peter Anvin set up a > system whereby when I upload a changelog it automatically gets added to > the web-site (main page, bottom). I find that synchronous notification of new ke

Re: [PATCH] (new for ppa and imm) Re: [PATCH] Re: Patch to fix lockup on ppa insert

2000-11-18 Thread John Cavan
Tim Waugh wrote: > > On Thu, Nov 16, 2000 at 09:50:40PM -0500, John Cavan wrote: > > > [...] This patch unlocks, allows the lowlevel driver to do it's > > probes, and then relocks. It could probably be more granular in the > > parport_pc code, but my own home tests show it to be working fine. >

Re: rdtsc to mili secs?

2000-11-18 Thread Vojtech Pavlik
On Sat, Nov 18, 2000 at 09:12:31PM +0100, Pavel Machek wrote: > > Anyway, this should be solvable by checking for clock change in the > > timer interrupt. This way we should be able to detect when the clock > > went weird with a 10 ms accuracy. And compensate for that. It should be > > possible t

Re: [PATCH] pcmcia event thread. (fwd)

2000-11-18 Thread David Hinds
On Sat, Nov 18, 2000 at 08:03:51AM -0800, Linus Torvalds wrote: > > Strange. Your interrupt router is a bog-standard PIIX4, we know how to > route the thing, AND your device shows up: > > > # dump_pirq > > Interrupt routing table found at address 0xf5a80: > > Version 1.0, size 0x0080 > > Int

2.4 sendfile() not doing as manpage promises?

2000-11-18 Thread bert hubert
Hi everybody, I tried to use sendfile() to send data from a tcp/ip socket to a file on disk. This does not work, giving EINVAL. Using the very fine kgdb product (http://kgdb.sourceforge.net) and my laptop for remote debugging, I was able to trace this to this: sys/filemap.c::sys_sendfile():

Re: [PATCH] megaraid driver update for 2.4.0-test10

2000-11-18 Thread Jeff Garzik
dalecki wrote: > -#if LINUX_VERSION_CODE > 0x020024 > #include > -#endif *cheer* > -u32 RDINDOOR (mega_host_config * megaCfg) > +ulong RDINDOOR (mega_host_config * megaCfg) > -void WRINDOOR (mega_host_config * megaCfg, u32 value) > +void WRINDOOR (mega_host_config * megaCfg, ulong value) > -u3

Re: Freeze on FPU exception with Athlon

2000-11-18 Thread TimO
adrian wrote: > > On Sat, 18 Nov 2000, Linus Torvalds wrote: > > > There's almost certainly more than that. I'd love to have a report on my > > asm-only version, but even so I suspect it also requires the 3dnow stuff, > > I tried all three versions, and no freezes. I forgot to mention the test

VIA IDE UDMA Mode x -> CRC-ERRORs (2.4.0-testxx)

2000-11-18 Thread Rene Rebe
Hi! I have an Asus K7M motherboard with an AMD Irongate and a VIA VT82C686 connected to an IBM-DPTA-372050 and/or IBM-DTLA-307030. I ever had IDE-DMA problems since I got the board in the beginning of this year. Until Kernel 2.4.0-test7 (or test6 or 8?) it was not possible to use a ATA-66 cable

Re: lseek/llseek allows the negative offset

2000-11-18 Thread H . J . Lu
On Sat, Nov 18, 2000 at 07:25:42PM +0100, Andrea Arcangeli wrote: > On Fri, Nov 17, 2000 at 04:09:00PM -0800, H . J . Lu wrote: > > On Fri, Nov 17, 2000 at 03:59:13PM -0800, H . J . Lu wrote: > > > # gcc x.c > > > # ./a.out > > > lseek on -10: -10 > > > write: File too large > > > > > > S

Re: 2.4 sendfile() not doing as manpage promises?

2000-11-18 Thread Dan Hollis
On Sun, 19 Nov 2000, bert hubert wrote: > After some exploring with 'ddd' (a very nice graphical frontend for gdb, > which includes tools to display and traverse structs), I found that this > probably means that sendfile() can only be used to send files from > blockdevices which support mmap()-lik

Re: [BUG] raid5 link error? (was [PATCH] raid5 fix after xor.c cleanup)

2000-11-18 Thread Jasper Spaans
On Sat, Nov 18, 2000 at 12:35:36PM +0100, Jasper Spaans wrote: > Hmm, next time I'll need to eat my own dogfood -- this patch doesn't work, > it only compiles. Don't use it. It seems to me the original code was correct, but the linking isn't in the right order and the initcalls are in the wrong

Re: rdtsc to mili secs?

2000-11-18 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Pavel Machek <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > Actually, on machines where RDTSC works correctly, you'd like to use > > that to detect a lost timer interrupt. > > > > It's tough, it really is :( > > Well, my patch did not do t

Re: 2.4 sendfile() not doing as manpage promises?

2000-11-18 Thread bert hubert
On Sat, Nov 18, 2000 at 03:15:28PM -0800, Dan Hollis wrote: > > In that case, the wording of the manpage needs to be changed, as it > > implies that 'either or both' of the filedescriptors can be sockets. > > Its quite clear. > > DESCRIPTION >This call copies data between file descript

[PATCH] blindingly stupid 2.2 VM bug

2000-11-18 Thread Rik van Riel
Hi Alan, here's a fix for a blindingly stupid bug that's been in 2.2 for ages (and which I've warned you about a few times in the last 6 months, and which I've even sent some patches for). This patch should make 2.2 VM a bit more stable and should also fix the complaints from people who's system

Re: [CFT] dmfe.c network driver update for 2.4

2000-11-18 Thread Tobias Ringstrom
On Fri, 17 Nov 2000, Frank Davis wrote: > > I would rather fix those non-SMP compliant drivers to be SMP compliant, > then keeping them 'broken'. Adding the print statements would only be a > temporary solution. Of course. This list of priorites is very natural, I think: 1. Working SMP

Re: [CFT] dmfe.c network driver update for 2.4

2000-11-18 Thread Jeff Garzik
Tobias Ringstrom wrote: > > On Fri, 17 Nov 2000, Frank Davis wrote: > > > > I would rather fix those non-SMP compliant drivers to be SMP compliant, > > then keeping them 'broken'. Adding the print statements would only be a > > temporary solution. > > Of course. This list of priorites is v

"No IRQ known for interrupt pin A..." error message

2000-11-18 Thread Steven Walter
During boot, I get the message: PCI: No IRQ known for interrupt pin A of device 00:00.1. Please try using pci=biosirq. If I boot with pci=biosirq, as the error message suggests, I get the same error, save the part about trying with pci=biosirq. This is with version 2.4.0-test11-pre7 and as far

Re: lseek/llseek allows the negative offset

2000-11-18 Thread Andrea Arcangeli
On Sat, Nov 18, 2000 at 07:25:42PM +0100, Andrea Arcangeli wrote: > I fixed it this way: fix is plain wrong, it's still possible to have lseek return -1 -2 -3 -4 even when it should return -EINVAL. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Linux 2.2.18pre22

2000-11-18 Thread Alan Cox
Bugs to go: PS/2 mouse detection Anything which isnt a strict bug fix or previously agreed is now 2.2.19 material. Alan 2.2.18pre22 o Fix HZ assumption in USB hub driver (Oleg Drokin) o Fix ndisc range check on ipv6 (Dave Miller) o Clear other fi

Re: [PATCH] semaphore fairness patch against test11-pre6

2000-11-18 Thread Andrew Morton
Christoph Rohland wrote: > > Hi David, > > David Mansfield <[EMAIL PROTECTED]> writes: > > If you can find the time to check this out more completely, I recommend > > it, because it seems like a great improvement to be able to accurately > > see vmstat numbers in times of system load. I hope th

Re: lseek/llseek allows the negative offset

2000-11-18 Thread H . J . Lu
On Sun, Nov 19, 2000 at 01:45:12AM +0100, Andrea Arcangeli wrote: > On Sat, Nov 18, 2000 at 07:25:42PM +0100, Andrea Arcangeli wrote: > > I fixed it this way: > > fix is plain wrong, it's still possible to have lseek return -1 -2 -3 -4 > even when it should return -EINVAL. > Try this again 2.2.

Re: [PATCH] swap= kernel commandline

2000-11-18 Thread Eric W. Biederman
Werner Almesberger <[EMAIL PROTECTED]> writes: > Rik van Riel wrote: > > Did you try to load an initrd on a low-memory machine? > > It shouldn't work and it probably won't ;) > > You must be really low on memory ;-) > > # zcat initrd.gz | wc -c > 409600 > > (ash, pwd, chroot, pivot_root, smou

  1   2   >