Re: ALI 1541,K6,AGP 2.4.3-ac12 instability

2001-04-23 Thread Norbert Preining
Hi Mark! This is a well known problem. nvidia-0.9-769 does NOT WORK WITH 2.4.X agpgart, either use nvagp (not possible for ali chipsets) or disable agp (Option NvAgp 0) for the time being. Next version will hopefully fix this! See #nvidia on openprojects.net Best wishes Norbert -- ciao

Re: Linux 2.4.3-ac12

2001-04-23 Thread Geert Uytterhoeven
On 22 Apr 2001, Jes Sorensen wrote: Alan == Alan Cox [EMAIL PROTECTED] writes: Alan The recommended compilers for non x86 are different too - eg you Alan need 2.96 gcc for IA64, you need 2.95 not egcs for mips and so Alan on. In principle you just need 2.7.2.3 for m68k, but someone

Re: [PATCH] Longstanding elf fix (2.4.3 fix)

2001-04-23 Thread Eric W. Biederman
David S. Miller [EMAIL PROTECTED] writes: Eric W. Biederman writes: In building a patch for 2.4.3 I also discovered that we are not taking the mmap_sem around do_brk in the exec paths. Does that really matter? In the library loader I can certainly see it making a difference. Who

Re: [repost] Announce: Linux-OpenLVM mailing list

2001-04-23 Thread Heinz J. Mauelshagen
On Fri, Apr 20, 2001 at 07:04:21PM +0100, Alan Cox wrote: We will announce when they are available ASAP and would appreciate if people like Alan Cox, Andrea Arcangeli and Andreas Dilger could check them *before* we start submitting them to Linus. I'll be glad to help look over them.

[PATCH] 2.4.4-pre6 NFSv3 maximum filesize correction

2001-04-23 Thread Trond Myklebust
Hi Linus, The current 2.4.4-pre series assumes that NFSv3 is always fully LFS capable. This is of course not the case on 32bit architectures such as the 2.2.x series. The following patch to fs/nfs/inode.c corrects this bug by using the NFSPROC3_FSINFO call to provide the maximum supported

Re: No 100 HZ timer!

2001-04-23 Thread Ulrich Windl
IMHO the POSIX is doable to comply with POSIX. Probably not what many of the RT freaks expect, but doable. I'm tuning the nanoseconds for a while now... Ulrich On 17 Apr 2001, at 11:53, george anzinger wrote: I was thinking that it might be good to remove the POSIX API for the kernel and

Re: [repost] Announce: Linux-OpenLVM mailing list

2001-04-23 Thread Heinz J. Mauelshagen
On Fri, Apr 20, 2001 at 08:25:15PM +0200, Jens Axboe wrote: On Fri, Apr 20 2001, Alan Cox wrote: We will announce when they are available ASAP and would appreciate if people like Alan Cox, Andrea Arcangeli and Andreas Dilger could check them *before* we start submitting them to Linus.

Re: Linux 2.4.3-ac12

2001-04-23 Thread Byeong-ryeol Kim
On Sun, 22 Apr 2001, Alan Cox wrote: Using /lib/modules/2.4.3-ac12/kernel/drivers/char/drm/radeon.o /lib/modules/2.4.3-ac12/kernel/drivers/char/drm/radeon.o: unresolved symbol rwsem_up_write_wake /lib/modules/2.4.3-ac12/kernel/drivers/char/drm/radeon.o: unresolved symbol

Re: [BUG] lvm beta7 and ac11 problems

2001-04-23 Thread Martin Dalecki
Jens Axboe wrote: On Sat, Apr 21 2001, Ed Tomlinson wrote: Hi, building a kernel with 2.4.3-ac11 and lvm beta7 + vfs_locking_patch-2.4.2 yields: oscar# depmod -ae 2.4.3-ac11 depmod: *** Unresolved symbols in /lib/modules/2.4.3-ac11/kernel/drivers/md/lvm-mod.o depmod:

disable_ide_dma gcc-3.0 warn

2001-04-23 Thread J . A . Magallon
Hi, everyone. One other gcc-3.0 warning (apart from the classic multiline strings) I do not know if it can be important. gcc -D__KERNEL__ -I/usr/src/linux-2.4.3-ac12/include -Wall -Wstrict-prototypes - O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686

Re: Problem with su - and kernels 2.4.3-ac11 and higher

2001-04-23 Thread Alan Cox
Did you try nesting more than one su -? The first one after a boot works for me - every other one fails. Same here: the first su - works OK, but a second nested one hangs: It appears to be a bug in PAM. Someone seems to reply on parent/child running order and just got caught out - To

Re: [PATCH] Longstanding elf fix (2.4.3 fix)

2001-04-23 Thread Philip Blundell
And of course since much of the code in the kernel is built on the copy a good example neglecting the locking without a big comment, invites trouble elsewhere like in elf_load_library. Where we could have multiple threads running. Out of interest: does anything, anywhere, actually use

Re: Kernel hang on multi-threaded X process crash

2001-04-23 Thread Alan Cox
Following up on myself, I replaced the contents of /usr/X11R6 server with the standard 4.0.3 RPMs that come with RH 7.1 and it made no difference. Also, if it's important my video card is a Voodoo 5 5500. To follow up on my followup, I can now reproduce this 100% and get the Trying to

Re: Kernel hang on multi-threaded X process crash

2001-04-23 Thread Alan Cox
Strange trace but it looks like a bug in the -ac experimental multithreaded core dump patches. I've got a couple of other reports consistent with them being broken somewhere Does it have to be something like mozilla (xmms also probably breaks it) that does this. If so I suspect its specific to

Re: disable_ide_dma gcc-3.0 warn

2001-04-23 Thread Ingo Oeser
On Mon, Apr 23, 2001 at 11:07:53AM +0200, J . A . Magallon wrote: In dmi_scan.c there is the func: static __init int disable_ide_dma(struct dmi_blacklist *d) But now it is unused (intentionally ?): static __initdata struct dmi_blacklist dmi_blacklist[]={ #if 0==

kernel: VM

2001-04-23 Thread Subba Rao
Hi, I have seen several of these messages in my kernel log this morning. The system responded to ping but won't allow me to login. What is VM? What causes these errors and how can I prevent it from happening again? Thank you in advance for any help.

Re: disable_ide_dma gcc-3.0 warn

2001-04-23 Thread Alan Cox
-march=i686-c -o dmi_scan.o dmi_scan.c dmi_scan.c:158: warning: `disable_ide_dma' defined but not used In dmi_scan.c there is the func: static __init int disable_ide_dma(struct dmi_blacklist *d) But now it is unused (intentionally ?): Intentionally for now - To unsubscribe from this

xtime.tv_usec update in timer interrupt

2001-04-23 Thread alad
Hi, In update_wall_one_tick() function, we have following xtime.tv_usec += tick + time_adjust_step. where tick = (100 + hz/2)/hz. In systems where we have TSC why we cannot use that to update xtime.tv_usec. It should give better time estimate. and the values that are

Re: Problem with su - and kernels 2.4.3-ac11 and higher

2001-04-23 Thread Andrzej Krzysztofowicz
Manuel McLure wrote: On 2001.04.22 14:38 Andrzej Krzysztofowicz wrote: I'm having a problem with su - on ac11/ac12. ac5 doesn't show the problem. The problem is easy to reproduce - go to a console, log in as root, do an su - (this will succeed) and then another su -. The second

Re: ALI 1541,K6,AGP 2.4.3-ac12 instability

2001-04-23 Thread Alan Cox
kernel oops messages. (Ran through ksymoops) It looks like it could be an NVidia driver problem, but I doubt it as I run this with AGP at work with Wrong mailing list. Take it up with nvidia. no problems. I'm wondering if anyone else has AGP working with the (new?) ALI AGP code. Nvidia

Test mail.. pls ignore delete

2001-04-23 Thread alad
- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Inspiron 8000 does not resume after suspend

2001-04-23 Thread Daniel Dorau
On Sun, Apr 22, 2001 at 21:45:37 -0500, [EMAIL PROTECTED] wrote: Try turning off DRI in XF86Config-4. Please let me know if this helps. Yes, removing agpgart gives me back earlier behaviour: The notebook wakes up after suspending with following restrictions: 1. Internal NIC and maybe even

New driver for FarSite synchronous cards

2001-04-23 Thread rjd
Hi, I've just completed the first draft of a new device driver for the FarSite Communications, FarSync T2P and T4P cards. These cards are intelligent synchronous serial cards supporting 2 or 4 ports running at up to 8Mbps with X.21, V.35 or V.24 signalling. This mail is basically a call for

Re: MO drives (2048 byte block vfat fs) in lk 2.4

2001-04-23 Thread Alan Cox
The EIP resolved most often to cont_prepare_write() in fs/buffer. A disassembly suggests line 1802 in buffer.c [2.4.3ac11]. That is around a memset() between __block_prepare_write() and __block_commit_write() calls within the while loop. Most other addresses were within the same while loop.

Re: All architecture maintainers: pgd_alloc()

2001-04-23 Thread Alan Cox
I really would wish folks would not choose Alan as the first place to send the patch. I'm not directly accusing anyone of it, but it I asked him about it on irc and why it was needed, so it sort of makes a lot of sense he emailed me it 8) Alan - To unsubscribe from this list: send the

[PATCH]Bug in lib/brlock.c

2001-04-23 Thread Takanori Kawano
I think lib/brlock.c need to be fixed as: --- lib/brlock.cTue Apr 25 05:59:56 2000 +++ lib/brlock.c.fixed Mon Apr 23 19:56:43 2001 @@ -25,7 +25,7 @@ int i; for (i = 0; i smp_num_cpus; i++) - write_lock(__brlock_array[idx] + cpu_logical_map(i)); +

PROBLEM: really odd timing issues with 2.4 kernels and SMP

2001-04-23 Thread barry
Okay, I'll try and do this as best I can from the REPORTING-BUGS file, I can't post any Oops information or anything, because it's not a fatal problem. Last week, I replaced an HD in my machine, to make life easier copying things over, I made it /dev/hdc (to replace /dev/hdb) and made it

Re: hundreds of mount --bind mountpoints?

2001-04-23 Thread Christoph Rohland
Hi David, On Sun, 22 Apr 2001, David L. Parsley wrote: I'm still working on a packaging system for diskless (quasi-embedded) devices. The root filesystem is all tmpfs, and I attach packages inside it. Since symlinks in a tmpfs filesystem cost 4k each (ouch!), I'm considering using mount

Re: ALI 1541,K6,AGP 2.4.3-ac12 instability

2001-04-23 Thread Jeff Hartmann
Mark Swanson wrote: Hello, When I enable AGP on my ALI system 2D seems to work fine but 3D causes kernel oops messages. (Ran through ksymoops) It looks like it could be an NVidia driver problem, but I doubt it as I run this with AGP at work with no problems. I'm wondering if anyone else

compile-error on 2.4.3-ac12

2001-04-23 Thread Jürgen Herrmann
Hi. I tried to compile kernel 2.4.3 with applied ac-12 patch and make bzImage gives me the following error: make all_targets make[2]: Entering directory `/usr/src/linux/arch/i386/lib' make[2]: Nothing to be done for `all_targets'. make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'

Re: how does linux support domino?

2001-04-23 Thread Erik Mouw
On Mon, Apr 23, 2001 at 01:59:52PM +0800, Xiong Zhao wrote: hello.on linux we will see a new domino server process/thread is created for each client.how does linux do this?does it use pthread?using fork or clone or someway else? pthreads are modeled on top of the clone() system call. what's

Re: All architecture maintainers: pgd_alloc()

2001-04-23 Thread Russell King
On Sun, Apr 22, 2001 at 09:44:07PM -0700, David S. Miller wrote: I really would wish folks would not choose Alan as the first place to send the patch. I'm not directly accusing anyone of it, but it does appear that often AC is used as a back door to get a change in. While this scheme most

Can't compile 2.4.3 with agcc

2001-04-23 Thread mythos
Using gcc version pgcc-2.95.3 19991024 (AthlonGCC-0.0.3ex3.1) I can't compile 2.4.3.I get the follow message: init/main.o: In function `check_fpu': init/main.o(.text.init+0x65): undefined reference to `__buggy_fxsr_alignment' make: *** [vmlinux] Error 1 Can anyone help me? - To unsubscribe

Re: [BUG] lvm beta7 and ac11 problems

2001-04-23 Thread Jeff Chua
On Mon, 23 Apr 2001, Martin Dalecki wrote: depmod: *** Unresolved symbols in /lib/modules/2.4.3-ac11/kernel/drivers/md/lvm-mod.o try this (after you have applied the patch for lvm 0.9.1_beta7) ... Jeff [[EMAIL PROTECTED]] --- /u2/src/linux/drivers/md/lvm.c.org Mon Apr 23 21:11:32 2001

Re: light weight user level semaphores

2001-04-23 Thread David Howells
David Woodhouse [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] said: [BTW, another solution is to truly support opaque handles to kernel objects; I believe David Howells is already working on something like this for Wine? Yes. However, it uses a different system call set to use them. They

Re: [BUG] lvm beta7 and ac11 problems

2001-04-23 Thread Martin Dalecki
Jeff Chua wrote: On Mon, 23 Apr 2001, Martin Dalecki wrote: depmod: *** Unresolved symbols in /lib/modules/2.4.3-ac11/kernel/drivers/md/lvm-mod.o try this (after you have applied the patch for lvm 0.9.1_beta7) ... Jeff [[EMAIL PROTECTED]] --- /u2/src/linux/drivers/md/lvm.c.org

P4 problem with 2.4.3

2001-04-23 Thread Michael J Clark
Hey guys, Im trying to get the 2.4.3 Kernel on a Dell dimension 8100 (p4, 1.3ghz). The 2.2* kernels work fine but when I start up with the new kernel it dies at the line cpu:0, clocks:0, slice:0. It also says something about wierd, boot kernel (CPU#0) not found in BIOS. There is also a

Re: light weight user level semaphores

2001-04-23 Thread Alon Ziv
From: David Howells [EMAIL PROTECTED] David Woodhouse [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] said: [BTW, another solution is to truly support opaque handles to kernel objects; I believe David Howells is already working on something like this for Wine? Yes. However, it uses a

Re: P4 problem with 2.4.3

2001-04-23 Thread Chmouel Boudjnah
Michael J Clark [EMAIL PROTECTED] writes: wierd, boot kernel (CPU#0) not found in BIOS. There is also a message do you have SMP or APIC enabled ? -- MandrakeSoft Inc http://www.chmouel.org --Chmouel - To unsubscribe from this list: send the line

Re: hundreds of mount --bind mountpoints?

2001-04-23 Thread Alexander Viro
On Mon, 23 Apr 2001, David L. Parsley wrote: What I'm not sure of is which solution is actually 'better' - I'm guessing that performance-wise, neither will make a noticable difference, so I guess memory usage would be the deciding factor. If I Bindings are faster on lookup. For obvious

SGI Visual Workstation Support

2001-04-23 Thread Bram Smout
Hello, If I try to compile a 2.4.x (0-3) kernel for my SGI 540 Workstation and I enable SGI Virtual Workstation support (under general setup) the compilation stops with the error kernel.o: In function 'enable_irq' etc Previous kernels, such as 2.2.19 compile without any problem (same

Announce: cryptoapi-2.4.3 [aka international crypto (non-)patch]

2001-04-23 Thread Herbert Valerio Riedel
hello! short version: this is the international crypto patch, which is built outside of the kernel source tree. you don't even have to reboot (unless your kernel didn't have loop devices enabled, or some other unthought situation exists... :) As a response to Jari's loop-AES crypto

Re: kernel: VM

2001-04-23 Thread Ville Herva
On Mon, Apr 23, 2001 at 05:52:37AM +, you [Subba Rao] claimed: Hi, I have seen several of these messages in my kernel log this morning. The system What kernel version. responded to ping but won't allow me to login. What is VM? Virtual memory subsystem in Linux kernel. What causes

Re: SGI Visual Workstation Support

2001-04-23 Thread Jeff Garzik
Bram Smout wrote: If I try to compile a 2.4.x (0-3) kernel for my SGI 540 Workstation and I enable SGI Virtual Workstation support (under general setup) the compilation stops with the error kernel.o: In function 'enable_irq' etc SGI Visual Workstation support has been unmaintained for

Re: SGI Visual Workstation Support

2001-04-23 Thread Erik Mouw
On Mon, Apr 23, 2001 at 10:12:14PM +0200, Bram Smout wrote: If I try to compile a 2.4.x (0-3) kernel for my SGI 540 Workstation and I enable SGI Virtual Workstation support (under general setup) the compilation stops with the error kernel.o: In function 'enable_irq' etc Previous

Re: P4 problem with 2.4.3

2001-04-23 Thread Michael J Clark
I believe APIC is enabled, it does some kind of check for it. Everything is pretty much default. I read that the APIC can cause interrupt problems, should I disable it? If so, is that done in the kernel config? Mike Michael J Clark [EMAIL PROTECTED] writes: wierd, boot kernel

[RFC] yet another knfsd-reiserfs patch

2001-04-23 Thread Chris Mason
Hi guys, This patch is not meant to replace Neil Brown's knfsd ops stuff, the goal was to whip up something that had a chance of getting into 2.4.x, and that might be usable by the AFS guys too. Neil's patch tries to address a bunch of things that I didn't, and looks better for the long run.

Re: P4 problem with 2.4.3

2001-04-23 Thread Chmouel Boudjnah
Michael J Clark [EMAIL PROTECTED] writes: I believe APIC is enabled, it does some kind of check for it. Everything is pretty much default. I read that the APIC can cause interrupt problems, should I disable it? If so, is that done in the kernel config? yes APIC cause problems for me on

Re: SGI Visual Workstation Support

2001-04-23 Thread nick
Is documantation available for the VW? Nick On Mon, 23 Apr 2001, Erik Mouw wrote: On Mon, Apr 23, 2001 at 10:12:14PM +0200, Bram Smout wrote: If I try to compile a 2.4.x (0-3) kernel for my SGI 540 Workstation and I enable SGI Virtual Workstation support (under general setup) the

Re: Can't compile 2.4.3 with agcc

2001-04-23 Thread Russell King
On Mon, Apr 23, 2001 at 04:13:47PM +0300, mythos wrote: Using gcc version pgcc-2.95.3 19991024 (AthlonGCC-0.0.3ex3.1) I can't compile 2.4.3.I get the follow message: init/main.o: In function `check_fpu': init/main.o(.text.init+0x65): undefined reference to `__buggy_fxsr_alignment' make:

Re: compile-error on 2.4.3-ac12

2001-04-23 Thread Steve Clark
Jürgen Herrmann wrote: Hi. I tried to compile kernel 2.4.3 with applied ac-12 patch and make bzImage gives me the following error: . make all_targets make[2]: Entering directory `/usr/src/linux/arch/i386/lib' make[2]: Nothing to be done for `all_targets'. make[2]: Leaving

Attn: Sales Manager

2001-04-23 Thread Bernard Hartken
Attn: Sales Manager If you are outsourcing or need to expand your sales force for the short term or long term contract, Telexpand will create a tailored campaign to guarantee you and your product success. We are an established, full service call center with a completely trained staff of 70

RE: 2.4.3+ sound distortion

2001-04-23 Thread Woller, Thomas
David, your report sounds like a problem that we have seen in the test lab, but no one has reported in the field... yet. :) if the problem is the same as we have seen... unloading the driver and reloading the driver should also clear up the problem. but typically the problem only occurs after

RE: Device Major max and Disk Max in 2.4.x kernel

2001-04-23 Thread Dupuis, Don
I have already sent a patch to Alan and Linus on this issue. Linus has never responed and Alan said he would look into it in the middle of April. Nothing is new at this point -Original Message- From: PhiloVivero [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 22, 2001 12:12 AM To: [EMAIL

Re: hundreds of mount --bind mountpoints?

2001-04-23 Thread Christoph Rohland
Hi Ingo, On Mon, 23 Apr 2001, Ingo Oeser wrote: On Mon, Apr 23, 2001 at 01:43:27PM +0200, Christoph Rohland wrote: On Sun, 22 Apr 2001, David L. Parsley wrote: attach packages inside it. Since symlinks in a tmpfs filesystem cost 4k each (ouch!), I'm considering using mount --bind for

[PATCH] pedantic code cleanup - am I wasting my time with this?

2001-04-23 Thread Jesper Juhl
Hi people, I'm reading through various pieces of source code to try and get an understanding of how the kernel works (with the hope that I'll eventually be able to contribute something really usefull, but you've got to start somewhere ;) While reading through the source I've stumbled across

[2.2.19 reiserfs] vs-8345: get_mem_for_virtual_node: kmalloc failed.

2001-04-23 Thread Ríkharður Egilsson
This machine is has a 400MHz PII, Adaptec AIC-7895, 631 MB of memory, and about 512 Meg of swap). When compiling the kernel (2.2.19) I changed __FD_SETSIZE in /usr/include/bits/types.h from 1024 to 8192. (Increased number of file descriptors) The following is executed at boot time: # More file

No Subject

2001-04-23 Thread axel
Hallo, I just tried to compile latest kernel 2.4.4pre6 with following error output. Unfortunately I don't have no idea what this wants to tell me. Probably something about those rw_semaphores I have recently read about in lkml. Regards, Axel Siebenwirth make[1]: Entering directory

Re: hundreds of mount --bind mountpoints?

2001-04-23 Thread Ingo Oeser
Hi Chris, On Mon, Apr 23, 2001 at 04:54:02PM +0200, Christoph Rohland wrote: The question is: How? If you do it like ramfs, you cannot swap these symlinks and this is effectively a mlock(symlink) operation allowed for normal users. - BAD! How about storing it into the inode structure if

Re: [PATCH] pedantic code cleanup - am I wasting my time with this?

2001-04-23 Thread Jeff Garzik
Jesper Juhl wrote: Hi people, I'm reading through various pieces of source code to try and get an understanding of how the kernel works (with the hope that I'll eventually be able to contribute something really usefull, but you've got to start somewhere ;) While reading through the

Re: Kernel hang on multi-threaded X process crash

2001-04-23 Thread Manuel McLure
On 2001.04.23 02:38 Alan Cox wrote: Strange trace but it looks like a bug in the -ac experimental multithreaded core dump patches. I've got a couple of other reports consistent with them being broken somewhere Does it have to be something like mozilla (xmms also probably breaks it)

Re: Can't compile 2.4.3 with agcc

2001-04-23 Thread Alan Cox
Using gcc version pgcc-2.95.3 19991024 (AthlonGCC-0.0.3ex3.1) I can't compile 2.4.3.I get the follow message: init/main.o: In function `check_fpu': init/main.o(.text.init+0x65): undefined reference to `__buggy_fxsr_alignment' make: *** [vmlinux] Error 1 Can anyone help me? Thats

Re: P4 problem with 2.4.3

2001-04-23 Thread Alan Cox
dies at the line cpu:0, clocks:0, slice:0. It also says something about wierd, boot kernel (CPU#0) not found in BIOS. There is also a message This message is printed when the kernel finds it is running on a processor not listed in the MP table. Basically your machine seems to have broken

Re: [patch] swap-speedup-2.4.3-A1, massive swapping speedup

2001-04-23 Thread Rik van Riel
On Mon, 23 Apr 2001, Ingo Molnar wrote: the reason why lookup_swap_cache() locks the page is due to a valid race, but the solution excessive: it tries to keep the lookup atomic against destroyers of the page, page_launder() and reclaim_page(). But it does not really need the page lock for

Re: [2.2.19 reiserfs] vs-8345: get_mem_for_virtual_node: kmalloc failed.

2001-04-23 Thread Andi Kleen
On Mon, Apr 23, 2001 at 05:20:35PM +0200, Ríkharður Egilsson wrote: Is there anything I can do to prevent this from happening ? This (squid) server, serves about 50 requests/sec, so 2 minutes of downtime means a lot of unhappy customers. The atomic allocations for incoming packets probably

Re: hundreds of mount --bind mountpoints?

2001-04-23 Thread Alexander Viro
On Mon, 23 Apr 2001, Ingo Oeser wrote: Hi Chris, On Mon, Apr 23, 2001 at 04:54:02PM +0200, Christoph Rohland wrote: The question is: How? If you do it like ramfs, you cannot swap these symlinks and this is effectively a mlock(symlink) operation allowed for normal users. - BAD!

Re: [PATCH] pedantic code cleanup - am I wasting my time with this?

2001-04-23 Thread Richard Gooch
Jesper Juhl writes: Hi people, I'm reading through various pieces of source code to try and get an understanding of how the kernel works (with the hope that I'll eventually be able to contribute something really usefull, but you've got to start somewhere ;) While reading through the

Re: light weight user level semaphores

2001-04-23 Thread David Howells
Alon Ziv [EMAIL PROTECTED] wrote: Obviously... since they're handles, not FDs... [BTW, are you using Windows' idea of storing the objects in process space, in a page that's inaccessible to the app itself, and passing pointers into this page as the handles?] No... I grab a page in kernel

Re: Kernel hang on multi-threaded X process crash

2001-04-23 Thread Alan Cox
Both mozilla and aviplay (which are both multithreaded) trigger this - I haven't tried with xmms. Simpler programs like xclock or cat don't trigger it. Thanks. I'll revert the core dump stuff for 2.4.4-ac unless anyone cares to fix the fix - To unsubscribe from this list: send the line

Re: [PATCH] pedantic code cleanup - am I wasting my time with this?

2001-04-23 Thread Jesper Juhl
Sean Hunter wrote: On Mon, Apr 23, 2001 at 05:26:27PM +0200, Jesper Juhl wrote: last entry should not have a trailing comma. Sadly not. This isn't a gcc thing: ANSI says that trailing comma is ok (KR Second edition, A8.7 - pg 218 219 in my copy) You are right, I just consulted my own

Re: Can't compile 2.4.3 with agcc

2001-04-23 Thread David Woodhouse
[EMAIL PROTECTED] said: On Mon, Apr 23, 2001 at 04:13:47PM +0300, mythos wrote: init/main.o(.text.init+0x65): undefined reference to `__buggy_fxsr_alignment' This is a FAQ! (sorry, but I don't know if it is in a FAQ or not). IIRC, you can't use pgcc to compile linux kernels. Then the

Re: New driver for FarSite synchronous cards

2001-04-23 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: Hi, I've just completed the first draft of a new device driver for the FarSite Communications, FarSync T2P and T4P cards. These cards are intelligent synchronous serial cards supporting 2 or 4 ports running at up to 8Mbps with X.21, V.35 or V.24 signalling.

Re: Problem with su - and kernels 2.4.3-ac11 and higher

2001-04-23 Thread Lukasz Trabinski
In article [EMAIL PROTECTED] you wrote: I'm having a problem with "su -" on ac11/ac12. ac5 doesn't show the problem. The problem is easy to reproduce - go to a console, log in as root, do an "su -" (this will succeed) and then another "su -". The second "su -" should hang - ps shows it

Re: [PATCH] es1371 pci fix/cleanup

2001-04-23 Thread Marcus Meissner
On Mon, Apr 23, 2001 at 11:58:25AM -0400, Jeff Garzik wrote: Marcus Meissner wrote: Hi, This moves pci_enable_device in the es1371 driver before any resource access and also replaces the RSRCISIOREGION by just pci_resource_flags as suggested by Jeff. Tested and verified.

ioctl arg passing

2001-04-23 Thread Matt
Righto, first post to the list, here goes: I'm writing a char device driver for a dsp card that drives a motion platform. The basic flow is I basically have to reset the card and upload an executable file to it, and then poke the card to run it. Once this is done, I can issue instructions to the

Re: [PATCH] es1371 pci fix/cleanup

2001-04-23 Thread Jeff Garzik
Marcus Meissner wrote: Hmm, I think I spotted all places in the probe function. I also return -ENODEV in case we can't request_region() or request_irq(). Some drivers use EBUSY, some ENOMEM, some ENODEV there, is there any standard return value? request_region/request_mem_region - EBUSY

Re: BUG: Global FPU corruption in 2.2

2001-04-23 Thread Christian Ehrhardt
On Thu, Apr 19, 2001 at 11:05:03AM -0500, Victor Zandy wrote: We have found that one of our programs can cause system-wide corruption of the x86 FPU under 2.2.16 and 2.2.17. That is, after we run this program, the FPU gives bad results to all subsequent processes. A few comments, not sure

Re: [PATCH] pedantic code cleanup - am I wasting my time with this?

2001-04-23 Thread Jesper Juhl
Richard Gooch wrote: Jesper Juhl writes: All the above does is to remove the last comma from 3 enumeration lists. I know that gcc has no problem with that, but to be strictly correct the last entry should not have a trailing comma. But it's more people-friendly to have that trailing

Re: What is the precision of usleep ?

2001-04-23 Thread george anzinger
george anzinger wrote: Marcus Ramos wrote: Hello, I am using usleep in an application under RH7 kernel 2.4.2. However, when I bring its argument down to 20 miliseconds (20.000 microseconds) or less, this seems to be ignored by the function (or the machine's hw timer), which

Re: Disappearing RAM

2001-04-23 Thread Andi Kleen
On Mon, Apr 23, 2001 at 11:58:37AM -0400, John Weber wrote: There appears to be quite a difference between the memory usage reported by top (immediately after boot and minus all user processes) and that reported by the kernel during boot. Can anyone give me any hints as to why this might

Re: ioctl arg passing

2001-04-23 Thread Petr Vandrovec
On 23 Apr 01 at 17:06, Matt wrote: struct instruction_t { __s16 code; __s16 rxlen; __s16 *rxbuf; __s16 txlen; __s16 *txbuf; }; You should reorder fields, starting with largest fields and going down to smaller ones. That ways you'll not have troubles with alignment when

[patch] swap-speedup-2.4.3-A2

2001-04-23 Thread Ingo Molnar
On Mon, 23 Apr 2001, Rik van Riel wrote: There seems to be one more reason, take a look at the function read_swap_cache_async() in swap_state.c, around line 240: you are right - i thought about that issue too and assumed it works like the pagecache (which first reads the page without hashing

Re: ioctl arg passing

2001-04-23 Thread Alex Bligh - linux-kernel
And there is very low chance that kmalloc() for anything bigger than 4KB will succeed. You should either use vmalloc unconditionally, or at least as fallback. The phrase 'very low chance' is inaccurate. How do you think NFS works with -rsize, -wsize 4096? kmalloc() uses get_free_pages() to

Re: [patch] swap-speedup-2.4.3-A1, massive swapping speedup

2001-04-23 Thread Linus Torvalds
On Mon, 23 Apr 2001, Jonathan Morton wrote: There seems to be one more reason, take a look at the function read_swap_cache_async() in swap_state.c, around line 240: /* * Add it to the swap cache and read its contents. */ lock_page(new_page);

giga ethernet/National Semiconductor dp83820

2001-04-23 Thread M. Osten
Does anyone know the status of the alpha driver? Source for the driver is available from vendors, but only compiles on 2.2.x intel. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [patch] swap-speedup-2.4.3-A2

2001-04-23 Thread Linus Torvalds
On Mon, 23 Apr 2001, Ingo Molnar wrote: you are right - i thought about that issue too and assumed it works like the pagecache (which first reads the page without hashing it, then tries to add the result to the pagecache and throws away the page if anyone else finished it already), but

Re: Disappearing RAM

2001-04-23 Thread Richard B. Johnson
On Mon, 23 Apr 2001, John Weber wrote: There appears to be quite a difference between the memory usage reported by top (immediately after boot and minus all user processes) and that reported by the kernel during boot. Can anyone give me any hints as to why this might happen? I am

Re: Device Major max and Disk Max in 2.4.x kernel

2001-04-23 Thread Martin Dalecki
Dupuis, Don wrote: I have already sent a patch to Alan and Linus on this issue. Linus has never responed and Alan said he would look into it in the middle of April. Nothing is new at this point -Original Message- From: PhiloVivero [mailto:[EMAIL PROTECTED]] Sent: Sunday, April

Re: ioctl arg passing

2001-04-23 Thread Ingo Oeser
On Mon, Apr 23, 2001 at 05:06:48PM +0100, Matt wrote: I'm writing a char device driver for a dsp card that drives a motion platform. Can you elaborate on the dsp card? Is it freely programmable? I'm working on a project to support this kind of stuff via a dedicated subsystem for Linux. The

Re: Can't compile 2.4.3 with agcc

2001-04-23 Thread Ingo Oeser
On Mon, Apr 23, 2001 at 04:52:53PM +0100, David Woodhouse wrote: RCS file: /inst/cvs/linux/include/asm-i386/bugs.h,v retrieving revision 1.2.2.16 diff -u -r1.2.2.16 bugs.h --- include/asm/bugs.h2001/01/18 13:56:53 1.2.2.16 +++ include/asm/bugs.h2001/04/23 15:45:28 @@

3-Ware Raid driver fails to update GenDisk head

2001-04-23 Thread Jeff V. Merkey
Andre/LKML, I am still working on this, but would appreciate some help from whomever owns this driver proper. I have discovered that the 3Ware drivers are not updating the gendisk_head with devices reported and exposed to user space as /dev/sda, sdb, etc. The adapter driver does correctly

Re: BUG: Global FPU corruption in 2.2

2001-04-23 Thread Erik Paulson
On 23 Apr 2001 18:11:48 +0200, Christian Ehrhardt wrote: On Thu, Apr 19, 2001 at 11:05:03AM -0500, Victor Zandy wrote: We have found that one of our programs can cause system-wide corruption of the x86 FPU under 2.2.16 and 2.2.17. That is, after we run this program, the FPU gives bad

Re: [OT] Re: Your response is requested

2001-04-23 Thread Dale Amon
On Tue, Apr 17, 2001 at 12:34:36PM -0700, J Sloan wrote: [EMAIL PROTECTED] wrote: Dear Friend: YOU CAN make over a half million dollars every 4 to 5 months from your home for a one time investment of only twenty five U.S. Dollars. This did not originate from toyota.com - The

KDE Lockups with emu10k1 driver in kernel 2.4.3-ac9

2001-04-23 Thread Gary White (Network Administrator)
Since ac9 I started having a lockup when initializing KDE 2.1.1. Did not think that much about it since my installation has had libs upgraded and patched for months. Today I decided to do a clean distribution install and after I had the same problem. Removing each module one at a time I finally

Re: KDE Lockups with emu10k1 driver in kernel 2.4.3-ac9

2001-04-23 Thread rui.sousa
On Mon, 23 Apr 2001, Gary White (Network Administrator) wrote: There are no emu10k1 changes from ac9 up to ac12... Do you have a VIA motherboard by any chance? Rui Sousa Since ac9 I started having a lockup when initializing KDE 2.1.1. Did not think that much about it since my installation

Re: Can't compile 2.4.3 with agcc

2001-04-23 Thread Alan Cox
+ printk(KERN_EMERG This is usually caused by a buggy compiler (perhaps pgcc?)\n); + printk(KERN_EMERG Cannot continue.\n); + for (;;) ; At least make the final printk a panic.. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the

atyfb/rage 3d mobility pro

2001-04-23 Thread Aaron Dewell
Hi all, I have a Dell Latitude with an ATI mach64 in it (Rage 3D Mobility Pro) that doesn't like the atyfb driver (can't get it to work no matter what the resolution). Who should I mention that to and/or what information should I send about it? Thanks, Aaron - To unsubscribe from this list:

Re: i810_audio broken?

2001-04-23 Thread Alan Cox
The i810 audio driver is broken on my Fujitsu Lifebook S-4546. All output is just noise. Here is a snip's from the kernel log. Intel 810 + AC97 Audio, version 0.02, 19:41:16 Apr 23 2001 PCI: Found IRQ 9 for device 00:00.1 PCI: The same IRQ used for device 00:00.2 PCI: The same IRQ used

Re: KDE Lockups with emu10k1 driver in kernel 2.4.3-ac9

2001-04-23 Thread Gary White (Network Administrator)
Yep I do. But looking at patch-2.4.3-ac10, there are lots of changes to the emu10k1 driver. On Mon, 23 Apr 2001, Gary White (Network Administrator) wrote: There are no emu10k1 changes from ac9 up to ac12... Do you have a VIA motherboard by any chance? Rui Sousa Since ac9 I started

Re: KDE Lockups with emu10k1 driver in kernel 2.4.3-ac9

2001-04-23 Thread Gary White (Network Administrator)
Looking gain at the patches there wa only a few trivial changes made to the audio.c, cardmi.h, mixer.c amd timer.h code. Yep I do. But looking at patch-2.4.3-ac10, there are lots of changes to the emu10k1 driver. On Mon, 23 Apr 2001, Gary White (Network Administrator) wrote: There are

  1   2   3   4   5   >