Re: 2.4.0-test10-pre3 Ooops

2000-10-18 Thread Mike Galbraith
On Tue, 17 Oct 2000, Gary E. Miller wrote: Yo All! Help! See below for my kernel oops. I have not been able to use any kernel after 2.4.0-test5 due to this problem. It happens shortly after booting the kernel and is very repeatable. This is a dual PII system with PIIX4 ide, 53c875

2.2 generating odd TCP resets?

2000-10-18 Thread Brian Craft
I've been trying to get xsane-win32 working with a linux server. It keeps failing because read() on the win95 box returns an error just before the data transfer is complete. Dumping the conversation, I see linux sending a TCP RST: 00:26:29.260171 porky.cisco.com.1034 scan.1029: P

Re: 2.4.0 - isdn hisax - compilation error

2000-10-18 Thread Helge Hafting
ISDN failed for me with 2.4.0-test9, it would dial but couldn't get more than 130 cps or so, which is completely useless. Fortunately, 2.4.0-test10-pre3 works well. Helge Hafting - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

nopage() vs remap_page_range

2000-10-18 Thread Justin Schoeman
Linus Torvalds wrote: ...snip... Anyway, I didn't realize you were talking about the sound drivers use of remap_page_range(). That's not the original reason for remap_page_range() at all, and in fact it's the _ugly_ way to do things. It's simple and it works, but it's not pretty. Quite

Re: three kernel trees?

2000-10-18 Thread Horst von Brand
FORT David [EMAIL PROTECTED] said: I totally agree, I'm really wondering if the current API would allow to create a tree which would contain only files needed on machine. Typically i never use sparc or mips file in kernel compilation. I'm dreaming of a day when i could download these

Re: 2.4.0-test10-pre3 Ooops

2000-10-18 Thread Mike Galbraith
On Wed, 18 Oct 2000, Gary E. Miller wrote: Yo Mike! On Wed, 18 Oct 2000, Mike Galbraith wrote: Help! See below for my kernel oops. I have not been able to use any kernel after 2.4.0-test5 due to this problem. It happens shortly after booting the kernel and is very repeatable.

Re: Shutdown not shutting down...

2000-10-18 Thread Alan Cox
In Linux, "shutdown -h now" results in Linux going through the process, but at the end I get the following: The bit I need is the EIP value from the first crash. Looking at the address involved I think you have a BIOS bug - To unsubscribe from this list: send the line "unsubscribe

2.4.0-test10-pre3 isapnp-patch breaks sb detection

2000-10-18 Thread Richard Guenther
Hi! The isapnp change in 2.4.0-test10-pre beaks the detection of my non-pnp soundblaster AWE32 card (compiled into the kernel, as modular operation oopses - see mail with Subject:sound related OOPS (2.4.0-test9-pre7) from Sun, 1 Oct 2000 15:49:46). The kernel hangs after printing the message sb:

2.2.16: Verify mounting of /

2000-10-18 Thread Ulrich Windl
Hello, I have some trouble with an initrd configuration where it seems the wrong partition is mounted as root (/), even though it seems fine in /etc/fstab, and mount and df all display that it's fine. I realized that the kernel messages are not as helpful as possible: 4VFS: Mounted root

Re: 0 size files in linux-2.2.17.tar.gz

2000-10-18 Thread Giacomo Catenazzi
Amit D Chaudhary wrote: Hi, When trying to create a patch with linux 2.2.17 sources, I found the following files to be of size 0 in linux-2.2.17.tar.gz. linux/include/linux/dasd.h linux/include/linux/coda_opstats.h Since the file is the most latest in the kernel/v2.2 directory,

Re: OOM Test Case - Failed!

2000-10-18 Thread Ingo Oeser
On Tue, Oct 17, 2000 at 10:02:52AM -0400, Byron Stanoszek wrote: I am very unimpressed with the current OOM killer. [...] We need to decide on a better algorithm, albeit simple, that will alleviate this problem before 2.4.0 final comes out. We don't need to decide on one, you can provide and

RE: 2.2 generating odd TCP resets?

2000-10-18 Thread Tony Gale
Most likely reason is that the server calls close() while there is still data pending to be read. As TCP is a reliable transport, this loss of data causes a RST. An application bug. -tony On 18-Oct-2000 Brian Craft wrote: I've been trying to get xsane-win32 working with a linux server. It

[ANNOUNCE] DProbes 1.1

2000-10-18 Thread richardj_moore
We've release v1.1 of DProbes - deatils and code is on the DProbes web page. the enhancements include: - DProbes for kernel version 2.4.0-test7 is now available. - Provision to invoke other debug facilities (SGI KDB, Crash Dump and coredumps) from a probe program. - Probe points can now be

Re: New Benchmark tools, lookie looky........

2000-10-18 Thread Rogier Wolff
Larry McVoy wrote: As someone pointed out, the URLs I sent are wrong, they are http://www.bitmover.com/disks/bw.gif http://www.bitmover.com/disks/seek.gif http://www.bitwizard.nl/maxtor_2.speeds.gif (yes, vertical axis is MB per second) is what my measurement tool makes of

Re: test10-pre3

2000-10-18 Thread Mike A. Harris
On Tue, 17 Oct 2000, Michael H. Warfield wrote: On Mon, 16 Oct 2000, [EMAIL PROTECTED] wrote: On Tue, 17 Oct 2000, Mikael Pettersson wrote: Why Intel chose family 15 is still beyond me though. IV is 15 if you just translate the symbols, but ignore the meaning either that or someone

Re: Shutdown not shutting down...

2000-10-18 Thread Wojtek Pilorz
On Wed, 18 Oct 2000, Wolf wrote: Date: Wed, 18 Oct 2000 03:15:01 -0500 From: Wolf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: "Shutdown" not shutting down... I was wondering if someone could explain something to me. I've got a dual-boot Red Hat 6.2/Win95B box, AMD K6-500, NVidia /

Processor affinity planned for 2.5?

2000-10-18 Thread Markus Pfeiffer
HI all I received and discussed Processor-affinity on the SMP-Kernel-list and I only wanted to ask if there is something in preparation or if someone (especially Linus :)) is against this ... I was asked this question beacause someone wanted to do some Matrix-Operations on his SMP machine and

atm_devs protection.

2000-10-18 Thread Rogier Wolff
Hi, We're trying to make the module refcounting 'secure' against concurrent SMP unloads. For example in net/atm/resources.c: --- static void free_atm_dev(struct atm_dev *dev) { if (dev-prev) dev-prev-next = dev-next;

Re: 2.4.0 - isdn hisax - compilation error

2000-10-18 Thread David Relson
At 12:56 PM 10/17/00, you wrote: Greetings, I have compiled a 2.4.0 kernel for the first time, specifically 2.4.0-test9. Looking through the output for errors, I found "config.c:311: #error "HiSax: No cards configured". Checking further, it appears that isdn is being compiled, even though

Re: test10-pre3

2000-10-18 Thread Mark Salisbury
On Tue, 17 Oct 2000, David Weinehall wrote: On Tue, Oct 17, 2000 at 08:14:58AM -0400, Mark Salisbury wrote: On Mon, 16 Oct 2000, [EMAIL PROTECTED] wrote: On Tue, 17 Oct 2000, Mikael Pettersson wrote: Why Intel chose family 15 is still beyond me though. IV is 15 if you just

Re: test10-pre3

2000-10-18 Thread Thomas Molina
On Wed, 18 Oct 2000, Mike A. Harris wrote: It's RNCD: Roman Numeral Coded Decimal. The new standard for information interchange. A new proprietary feature of Intel CPU's that will bring new high performance web sites to the reach of the masses! Now you can access these special custom

Re: mapping user space buffer to kernel address space

2000-10-18 Thread Andrea Arcangeli
On Tue, Oct 17, 2000 at 09:26:07PM -0700, Linus Torvalds wrote: Maybe you mean PG_reserved? Yes of course. (sorry for the typo) Quite frankly, the way I'd conceptually prefer people do these kinds of DMA buffers etc is to just have a "nopage()" function, and let that nopage() function just

Re: mapping user space buffer to kernel address space

2000-10-18 Thread Andrea Arcangeli
On Tue, Oct 17, 2000 at 09:42:36PM -0700, Linus Torvalds wrote: - get PTE entry, clear it out. - if PTE was dirty, add the page to the swap cache, and mark it dirty, but DON'T ACTUALLY START THE IO! - free the page. Basically, we removed the page from the virtual mapping, and it's

Re: [PATCH] Make agpsupport work with modversions

2000-10-18 Thread John Levon
On Tue, 17 Oct 2000, Linus Torvalds wrote: There's something else wrong in the config to make this be needed at all. You need to figure out what the real problem is, and what is causing the AGP symbols to not get version information. Probably a file is missing from the "export-objs" list..

problem with scsi emulation in 2.4.0-test9

2000-10-18 Thread Dave Phillips
Greetings: The subject says it. I'm getting the following errors when I try to install the ide-scsi module: # insmod ide-scsi Using /lib/modules/2.4.0-test9/kernel/drivers/scsi/ide-scsi.o /lib/modules/2.4.0-test9/kernel/drivers/scsi/ide-scsi.o: unresolved symbol scsi_register_R85845d2f

Re: mapping user space buffer to kernel address space

2000-10-18 Thread Stephen Tweedie
Hi, On Tue, Oct 17, 2000 at 09:26:07PM -0700, Linus Torvalds wrote: I hated people mis-using it the way it's being done by the sound drivers, but because I also realize that it allows for some simplifications I do accept it - it's basically an ugly hack that doesn't really matter because

Re: [PATCH] Boot Logo - cleanup and configuration

2000-10-18 Thread John Levon
On Wed, 18 Oct 2000, David N. Lombard wrote: The url: http://execpc.com/~rdmiller/Linux/kernel-bootlogo.patch.gz (It's about 380k.) Are you sure about this patch? Take a look a list of the patches files; also look at the last four lines of the patch file. When doing a diff you

Re: mapping user space buffer to kernel address space

2000-10-18 Thread Stephen Tweedie
Hi, On Wed, Oct 18, 2000 at 03:23:17PM +0200, Andrea Arcangeli wrote: This change makes sense and I agree it would cover the problem. However I prefer to clarify that doing it for the swap cache as described is not nearly enough to cover the mm corruption (everything that gets written via a

Re: mapping user space buffer to kernel address space

2000-10-18 Thread Andrea Arcangeli
On Wed, Oct 18, 2000 at 03:40:39PM +0100, Stephen C. Tweedie wrote: shm already does it: [..] Right. Only the shared mappings and anonymoys memory need to be changed. Andrea - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

[PATCH] typos drivers/net/sis900.h

2000-10-18 Thread Ookhoi
Hi! I hope this is correct. Its my first patch. Have to start somewhere. :-) Pls correct me if I am, or do something wrong. Who should I cc on this btw? Ookhoi --- drivers/net/sis900.h.orig Wed Oct 18 16:44:11 2000 +++ drivers/net/sis900.hWed Oct 18 16:45:01 2000 @@ -10,7

low-latency and 2.4.0-test9

2000-10-18 Thread Dave Phillips
Greetings: I've recently completed a series of tests with kernels patched for low-latency. Results were most impressive: under 2 msec with a patched 2.2.10 kernel (using Ingo's patch) and under 4 msec on 2.4.0-test9 (with Andrew Morton's patch). Consider the fact that engineers at Cakewalk

Re: Clear interrupts on a SMP machine?

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

Re: 2.2.18pre16 and USB_UHCI_ALT

2000-10-18 Thread David Rees
On Tue, Oct 17, 2000 at 01:46:46PM -0700, Greg KH wrote: On Mon, Oct 16, 2000 at 10:49:56PM -0700, David Rees wrote: Well, the real interesting part is that I was using the usb-uhci.c driver in 2.2.18pre15, and now in 2.2.18pre16 it stopped working for my mouse with no apparent change

use of add_interrupt_randomness in drivers missing in many drivers

2000-10-18 Thread Oliver M . Bolzer
Hi! Recently I needed a lot of entroy for cryptographic purposes on a server and took a look at where the entroy for drivers/char/random.c was coming from, as the server didn't have any activly used mouse/keyboard. Anyway, I noticed that only 3 drivers were using add_interrupt_randomness() to

Re: Clear interrupts on a SMP machine?

2000-10-18 Thread richardj_moore
I think you need to use the smp_call_funtion service and define the function to be a spin_until_notified function. Each other processor will call spin_until_notified when it receives the IPI for smp_call_function. You can do what you need, then change some global that's keeping all the other

[PATCH] Boot Logo - CORRECTION

2000-10-18 Thread Rick Miller
I really should have looked into it when I saw the compressed patch double in size, eh? I've replaced the compressed patch which the URL points to with the proper one (same URL): http://execpc.com/~rdmiller/Linux/kernel-bootlogo.patch.gz Thank you David, for noticing my error (not cleaning

Re: Clear interrupts on a SMP machine?

2000-10-18 Thread David Woodhouse
[EMAIL PROTECTED] said: I can't control somebody else's use of `hwclock` or even some future kernel module. What you actually need to do is use the same spinlock as other users of the RTC hardware do. extern spinlock_t rtc_lock; It is exported to modules for this very reason. -- dwmw2

Re: Clear interrupts on a SMP machine?

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

Re: use of add_interrupt_randomness in drivers missing in many drivers

2000-10-18 Thread Rick Miller
"Oliver M . Bolzer" wrote: Hi! Recently I needed a lot of entroy for cryptographic purposes on a server and took a look at where the entroy for drivers/char/random.c was coming from, as the server didn't have any activly used mouse/keyboard. Anyway, I noticed that only 3 drivers were

Re: Clear interrupts on a SMP machine?

2000-10-18 Thread David Woodhouse
[EMAIL PROTECTED] said: There is no such exported variable in the 'stable' kernel tree: Then there should be, and the RTC accesses in 2.2 are probably racy. In which case, feel free to provide Alan with a patch for 2.2.18. -- dwmw2 - To unsubscribe from this list: send the line

Re: three kernel trees?

2000-10-18 Thread Stephen Tweedie
Hi, On Tue, Oct 17, 2000 at 03:57:52PM -0600, Jeff V. Merkey wrote: Were Linux to go totally modular in 2.5, development cycles will be reduced by 1/2 to 1/3. This is because you could always roll back to known good modules to post a release. Most of the big 2.4 module changes involved

Re: Request for info on proc system update frequency

2000-10-18 Thread Stephen Tweedie
Hi, On Tue, Oct 17, 2000 at 12:31:24AM -0400, John Kacur wrote: I'm trying to understand how the proc file system works. In particular I'd like to know more about the algorithm by which the information is updated and how frequently. It is "live": the file contents are generated on demand

Re: OOM Test Case - Failed!

2000-10-18 Thread Stephen Tweedie
Hi, On Tue, Oct 17, 2000 at 10:02:52AM -0400, Byron Stanoszek wrote: I am very unimpressed with the current OOM killer. After 10 days of online time, I decided to try compiling gcc again, the very culprit that killed my last system using 2.4.0-test8 Friday night (to which I was unable to

Re: [patch] 2.4 version of my duplicate IP and MAC detection patch

2000-10-18 Thread James Sutherland
On Tue, 17 Oct 2000, Werner Almesberger wrote: Marc MERLIN wrote: Come on, Andi, it's not. You do DAD, you get your IP, I plug my laptop, use your IP, you don't even know it. My patch lets you know. The reason I wrote it is that I've seen this happen too many times already. Also, if

Re: Processor affinity planned for 2.5?

2000-10-18 Thread Jakob Østergaard
On Wed, Oct 18, 2000 at 01:13:48PM +0200, Markus Pfeiffer wrote: HI all I received and discussed Processor-affinity on the SMP-Kernel-list and I only wanted to ask if there is something in preparation or if someone (especially Linus :)) is against this ... I was asked this question

Re: [PATCH] typos drivers/net/sis900.h

2000-10-18 Thread Ookhoi
You should also say what version of the kernel your patch is against (ie, which version does it change). Damned. :-) This is against kernel 2.4.0-test10-pre3 Thanx! Ookhoi On Wed, 18 Oct 2000, Ookhoi wrote: Date: Wed, 18 Oct 2000 17:04:59 +0200 From: Ookhoi [EMAIL PROTECTED]

Re: use of add_interrupt_randomness in drivers missing in many drivers

2000-10-18 Thread Jeff Garzik
"Oliver M . Bolzer" wrote: Hi! Recently I needed a lot of entroy for cryptographic purposes on a server and took a look at where the entroy for drivers/char/random.c was coming from, as the server didn't have any activly used mouse/keyboard. Anyway, I noticed that only 3 drivers were

Q: kallsyms - where can I find it and what does it do ?

2000-10-18 Thread Hen, Shmulik
Hello, I'm trying to build a new kernel with kdb support and I keep getting an error from the make file: kallsyms pass 1 [make] /bin/sh: /sbin/kallsyms: No such file or directory error What is kallsyms and where can I get it from ? Here is what I have and what I

Re: Clear interrupts on a SMP machine?

2000-10-18 Thread Alan Cox
You need to put the spinlock in for every other use of the chip I can't control somebody else's use of `hwclock` or even some future kernel module. You'll have to What I do is have a daemon which wakes up at 1 second intervals and writes 'time_t' to a spare group of CMOS registers and

Re: use of add_interrupt_randomness in drivers missing in many drivers

2000-10-18 Thread Alan Cox
The only thing needed is to add the SA_SAMPLE_RANDOM flag to request_irq in the drivers. If nobody objects, I'll submit a patch that adds this to network drivers. Network timing is controllable remotely Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Please ignore - RE: kallsyms - where can I find it and what does it do ?

2000-10-18 Thread Hen, Shmulik
-Original Message- From: Hen, Shmulik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 18, 2000 6:17 PM To: [EMAIL PROTECTED] Cc: 'Keith Owens' Subject: Q: kallsyms - where can I find it and what does it do ? Hello, I'm trying to build a new kernel with kdb support and I keep

Re: mapping user space buffer to kernel address space

2000-10-18 Thread Linus Torvalds
On Wed, 18 Oct 2000, Andrea Arcangeli wrote: Quite frankly, the way I'd conceptually prefer people do these kinds of DMA buffers etc is to just have a "nopage()" function, and let that nopage() function just fill in the page from the DMA buffer directly. This would work fine, and

Re: use of add_interrupt_randomness in drivers missing in many drivers

2000-10-18 Thread Mordechai Ovits
On Wed, Oct 18, 2000 at 05:20:43PM +0100, Alan Cox wrote: The only thing needed is to add the SA_SAMPLE_RANDOM flag to request_irq in the drivers. If nobody objects, I'll submit a patch that adds this to network drivers. Network timing is controllable remotely Read Bruce Schneier's

Re: [PATCH] Make agpsupport work with modversions

2000-10-18 Thread Linus Torvalds
On Wed, 18 Oct 2000, John Levon wrote: I have only compile-tested the patch below with 2.4.0test10pre3 and 2.2.18pre16 (some fuzz on apply). Hope it's right, I can't test if it fixes the MODVERSIONS+in kernel agp+in kernel drm case. I tested kernel and module cases. It looks better.

Re: use of add_interrupt_randomness in drivers missing in many drivers

2000-10-18 Thread Sandy Harris
Jeff Garzik wrote: "Oliver M . Bolzer" wrote: Hi! Recently I needed a lot of entroy for cryptographic purposes on a server and took a look at where the entroy for drivers/char/random.c was coming from, as the server didn't have any activly used mouse/keyboard. Anyway, I noticed

Re: three kernel trees?

2000-10-18 Thread Horst von Brand
FORT David [EMAIL PROTECTED] said: Horst von Brand wrote: [...] Dream on, as it won't happen. Just think of either: - All pieces _have_ to be the same version: What is the use then? Just ship them together and be done. Splitting it up is extra work, plus the complaints that

Re: [PATCH] Make agpsupport work with modversions

2000-10-18 Thread John Levon
On Wed, 18 Oct 2000, Linus Torvalds wrote: It looks better. However, the fact that you need that dependency on CONFIG_MODULES _still_ shows that something is wrong. That dependency should not be there, and the drm code should be fixed. Why does it care about CONFIG_MODULES at all? It

Re: TCP: peer x.x.x.x:y/z shrinks window a:b:c...

2000-10-18 Thread Jordan Mendelson
"David S. Miller" wrote: The IP addresses are important because we can use them to find out what TCP implementations shrink their offered windows. Actually, you don't need to tell me or anyone else what these IP addresses are, you can instead run one of the "remote OS identifier"

Re: use of add_interrupt_randomness in drivers missing in many drivers

2000-10-18 Thread Horst von Brand
Sandy Harris [EMAIL PROTECTED] said: [...] I'd still like to see the patch applied, though. I'd like /dev/random to work well "out of the box" on the FreeS/WAN gateways people are building out of older surplus hardware. The question at hand is more "looks like it works well", and it is

bind() allowed to non-local addresses

2000-10-18 Thread Matt Peterson
Using linux-2.4.0-test9, bind() incorrectly allows a bind to a non-local address. The correct behavior should be a return code of -1 with errno set to EADDRNOTAVAIL. (Simple snippet to reproduce/debug the problem is available on request) There appears to be significant differences between the

Re: Processor affinity planned for 2.5?

2000-10-18 Thread Markus Pfeiffer
Wasnt my idea ... I´ll forward this to the guy who asked ... On 128 CPU machines affinity to processor groups may be a thing to consider but not on 2 or 4 way SMPs ... Anyway, I appreciate that he asked on linux-SMP and not here ... less traffic in here ... Markus Jakob Østergaard wrote: On

Re: [PATCH] Make agpsupport work with modversions

2000-10-18 Thread Christoph Hellwig
In article [EMAIL PROTECTED] you wrote: However, the fact that you need that dependency on CONFIG_MODULES _still_ shows that something is wrong. That dependency should not be there, and the drm code should be fixed. Why does it care about CONFIG_MODULES at all? It should not, and it _must_

[patch] khttpd doesn't detach from the files of its parent

2000-10-18 Thread Alessandro Rubini
Hi all. While looking at kHTTPd (linux-2.4.0-test9) I found what looks like a bug to me. The daemon doesn't detach itself from the files structure of the parent process. Therefore, when it is run as a module, the files opened by "insmod" (or whatever loads it) remain open. Besides

Re: [ANNOUNCE] DProbes 1.1

2000-10-18 Thread Andi Kleen
Hallo Richard, On Wed, Oct 18, 2000 at 10:44:11AM +0100, [EMAIL PROTECTED] wrote: We've release v1.1 of DProbes - deatils and code is on the DProbes web page. the enhancements include: - DProbes for kernel version 2.4.0-test7 is now available. First thanks for this nice work. I

Re: Clear interrupts on a SMP machine?

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

Re: Clear interrupts on a SMP machine?

2000-10-18 Thread David Woodhouse
[EMAIL PROTECTED] said: 2.2.17 should be able to do. Cool. drivers/char/rtc.c needs to use it too. Then you need to pester Alan till he puts it in 2.2.18-pre-de-jour :) -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [patch] khttpd doesn't detach from the files of its parent

2000-10-18 Thread John Levon
On Wed, 18 Oct 2000, Alessandro Rubini wrote: + /* init_module has stdin/stdout/stderr open: close them (ARub) */ + for (i=255; i=0; i--) + if (current-files-fd[i]) + close(i); shouldn't this be exit_files() ? see md.c for an example usage ...

proccess hung

2000-10-18 Thread hiren_mehta
Hi All, I have one process hung on my linux smp system (2 processors) running RedHat Linux 7. The command % ps -eo fname,tty,pid,stat,pcpu,nwchan,wchan gives the following information about the command : COMMAND TT PID STAT %CPU WCHAN WCHAN rm tty2 21760R99.8

Re: Clear interrupts on a SMP machine?

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

Re: 2.2 generating odd TCP resets?

2000-10-18 Thread Brian Craft
Well, this seems to be half the story. If I remove the close() and let server bleed file descriptors, the RST goes away. If I add a read() on the socket after sending all the data, the RST goes away. However, there's NO DATA on the socket. read() returns zero until the client closes the socket.

Re: [patch] khttpd doesn't detach from the files of its parent

2000-10-18 Thread Alessandro Rubini
shouldn't this be exit_files() ? Yes, definitely. Arjan already replied (privately) to say the same. Thanks /alessandro - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: Clear interrupts on a SMP machine?

2000-10-18 Thread David Woodhouse
[EMAIL PROTECTED] said: You want to patch /drivers/char/rtc.c ?? If you have a later kernel than me, it would be helpful. Just apply my patch than do the rtc.c. /me looks at his TODO list. Not really. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] Make agpsupport work with modversions

2000-10-18 Thread Linus Torvalds
On Wed, 18 Oct 2000, Christoph Hellwig wrote: In article [EMAIL PROTECTED] you wrote: I have no idea what the get_module_symbol() code in question is trying to do, but this should be _fixed_ and not just worked around. That's a bug. It gets the symbol of a function, that's name is

Re: Clear interrupts on a SMP machine?

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

Re: [patch] khttpd doesn't detach from the files of its parent

2000-10-18 Thread Alessandro Rubini
Yes, definitely. It should, unless you want to open any files in the thread itself. Yes. I realized that just before getting your message (after looking at kernel/exit.c). I should never say "definitely" :) /alessandro - To unsubscribe from this list: send the line "unsubscribe

Re: [patch] khttpd doesn't detach from the files of its parent

2000-10-18 Thread Jeff Garzik
Alexander Viro wrote: On Wed, 18 Oct 2000, Alessandro Rubini wrote: shouldn't this be exit_files() ? Yes, definitely. Arjan already replied (privately) to say the same. It should, unless you want to open any files in the thread itself. If you start a kernel thread which opens files

Re: [patch] khttpd doesn't detach from the files of its parent

2000-10-18 Thread Alexander Viro
On Wed, 18 Oct 2000, Arjan van de Ven wrote: In article [EMAIL PROTECTED] you wrote: It should, unless you want to open any files in the thread itself. Oh damn. kHTTPd does need to open files later on.. Reading the code to exit_files() suggests I actually need

Re: [patch] khttpd doesn't detach from the files of its parent

2000-10-18 Thread Alexander Viro
On Wed, 18 Oct 2000, Jeff Garzik wrote: Alexander Viro wrote: On Wed, 18 Oct 2000, Alessandro Rubini wrote: shouldn't this be exit_files() ? Yes, definitely. Arjan already replied (privately) to say the same. It should, unless you want to open any files in the thread itself.

Re: [PATCH] Make agpsupport work with modversions

2000-10-18 Thread John Levon
On Wed, 18 Oct 2000, Rik Faith wrote: [Note that the other way to fix this would be to export get_module_symbol all the time, and have it just search the available symbol space if CONFIG_MODULES is 'n'.] and s/_module//; it is mis-named already ... john -- "Mathemeticians stand on each

Re: [PATCH] Make agpsupport work with modversions

2000-10-18 Thread Rik Faith
On Wed 18 Oct 2000 10:49:24 -0700, Linus Torvalds [EMAIL PROTECTED] wrote: On Wed, 18 Oct 2000, Christoph Hellwig wrote: In article [EMAIL PROTECTED] you wrote: I have no idea what the get_module_symbol() code in question is trying to do, but this should be _fixed_ and not

Re: [PATCH] Make agpsupport work with modversions

2000-10-18 Thread David Woodhouse
[EMAIL PROTECTED] said: #ifdef CONFIG_MODULES /* use get_module_symbol() */ #else /* reference agp_* directly */ #endif Don't you need to deal with the !CONFIG_AGP case correctly? #ifdef CONFIG_MODULES /* blah */ #elif CONFIG_AGP /* blah */

Re: three kernel trees?

2000-10-18 Thread Jeff V. Merkey
Stephen Tweedie wrote: Hi, On Tue, Oct 17, 2000 at 03:57:52PM -0600, Jeff V. Merkey wrote: Were Linux to go totally modular in 2.5, development cycles will be reduced by 1/2 to 1/3. This is because you could always roll back to known good modules to post a release. Most of the

Re: use of add_interrupt_randomness in drivers missing in many drivers

2000-10-18 Thread Henry Spencer
On Wed, 18 Oct 2000, Sandy Harris wrote: So methinks the questions are whether /dev/random can get one bit of unknowable-by-the-enemy entropy per packet passing through a gateway and whether it would estimate entropy sufficiently conservatively in this case. If both answers are yes, please

Re: [patch] khttpd doesn't detach from the files of its parent

2000-10-18 Thread Alessandro Rubini
put_files_struct() is a destructor, so it won't help here. The following patch may be of use [...] It's "create an empty files_struct and replace the task-files with it" - thing we can't do via clone() and may want to (khttpd does). Sorry, what's wrong with just closing the files? It's much

Re: [PATCH] Make agpsupport work with modversions

2000-10-18 Thread Rik Faith
On Wed 18 Oct 2000 19:23:54 +0100, David Woodhouse [EMAIL PROTECTED] wrote: Don't you need to deal with the !CONFIG_AGP case correctly? This should already be dealt with in the Makefile -- if !CONFIG_AGP, then the file that we've been talking about (agpsupport.c) isn't compiled. (So, yes,

trident sound chip programming

2000-10-18 Thread daniel sheltraw
Hello kernel developers Does anyone know where I can get more programming info for the Trident 4DWave sound chip? I have obtained the datasheets for the Trident 4DWave NX from the ALSA site but they are not enough for my needs. The ALSA docs give the descriptions of important registers of the

Re: trident sound chip programming

2000-10-18 Thread Dan Hollis
On Wed, 18 Oct 2000, daniel sheltraw wrote: Does anyone have a contact at Trident or one of the sound card manufacturers using this chip that could provide the docs I need? Trident has laid off its entire 4dwave engineering team so there is noone left at Trident who knows anything about these

Re: [patch] khttpd doesn't detach from the files of its parent

2000-10-18 Thread Alexander Viro
On Wed, 18 Oct 2000, Alessandro Rubini wrote: put_files_struct() is a destructor, so it won't help here. The following patch may be of use [...] It's "create an empty files_struct and replace the task-files with it" - thing we can't do via clone() and may want to (khttpd does).

why would you want /proc/sys/net/ipv4/route/min_delay to not be zero?

2000-10-18 Thread Christopher Friesen
I figured out why my IP takeover was taking a couple seconds to take effect even though it returned immediately--the /proc/sys/net/ipv4/route/min_delay setting is by default set to 2, giving a 2 second delay before the route cache is updated or flushed. This meant that packets continued to go

Re: why would you want /proc/sys/net/ipv4/route/min_delay to not be zero?

2000-10-18 Thread Andi Kleen
On Wed, Oct 18, 2000 at 03:35:46PM -0400, Christopher Friesen wrote: Now what I'm trying to figure out is why anyone would want this value to NOT be set to zero. When would you not want route flushes and route changes to take immediate effect? Mostly to avoid total breakdown of a BGP4 router

Re: why would you want /proc/sys/net/ipv4/route/min_delay to not be zero?

2000-10-18 Thread Andi Kleen
On Wed, Oct 18, 2000 at 03:55:41PM -0400, Johannes Erdfelt wrote: On Wed, Oct 18, 2000, Andi Kleen [EMAIL PROTECTED] wrote: On Wed, Oct 18, 2000 at 03:35:46PM -0400, Christopher Friesen wrote: Now what I'm trying to figure out is why anyone would want this value to NOT be set to zero.

Re: use of add_interrupt_randomness in drivers missing in many drivers

2000-10-18 Thread David Wagner
Jeff Garzik wrote: Then you make your local random pool vulnerable to external manipulation, to a certain extent... Adding more bits to the pool should never hurt; the cryptographic mixing ensures this. What _can_ hurt is adding predictable bits but (erroneously) bumping up the entropy

Re: three kernel trees?

2000-10-18 Thread Nathan Straz
On Tue, Oct 17, 2000 at 06:13:34PM -0600, Jeff V. Merkey wrote: Kenneth Johansson wrote: "Jeff V. Merkey" wrote: This does not solve the problem of integration testing, but eh solution here is to create an integration test group whose sole charter is to test modules in an integrated

Re: 2.4.0-test9-pre8, usb, unresolved symbols

2000-10-18 Thread Randy Dunlap
Keith Owens wrote: Objects that export symbols must be explicitly listed before the calculation of OX_OBJS. usb.o is not explicitly listed as an object, it is implicitly included via the link of usbcore. Index: 0-test10-pre3.1/drivers/usb/Makefile ---

Patch, spin-locks for CMOS access under SMP

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

Re: use of add_interrupt_randomness in drivers missing in many drivers

2000-10-18 Thread Horst von Brand
[EMAIL PROTECTED] (David Wagner) said: Jeff Garzik wrote: Then you make your local random pool vulnerable to external manipulation, to a certain extent... Adding more bits to the pool should never hurt; the cryptographic mixing ensures this. What _can_ hurt is adding predictable bits but

RE: 2.4.0-test9-pre8, usb, unresolved symbols

2000-10-18 Thread Dunlap, Randy
Greg, That's fine with me, especially if it fixes this problem. Go for it. ~Randy ___ |Randy Dunlap | |randy.dunlap_at_intel.com503-696-2055| |NOTE: Any views presented here are mine alone| | may not represent

Re: BLKSSZGET change will break fdisk

2000-10-18 Thread Jes Sorensen
"Ralf" == Ralf Baechle [EMAIL PROTECTED] writes: Ralf On Tue, Oct 17, 2000 at 12:53:40AM +0200, Andries Brouwer wrote: (By the way, have you checked that replacing get_sectorsize by an empty routine, and specifying a -b option, works well?) (Do you know which disks have unusual sector

Re: Patch, spin-locks for CMOS access under SMP

2000-10-18 Thread David Woodhouse
On Wed, 18 Oct 2000, Richard B. Johnson wrote: This puts CMOS Chip access under a spin-lock and exports the rtc_lock symbol. It is for 2.2.17, should patch to 2.2.18. Nice. You've managed to find places we haven't yet fixed it in 2.4 either :) -- dwmw2 - To unsubscribe from this list:

[PATCH] fixes to Pentium IV detection in test10-pre3

2000-10-18 Thread Mikael Pettersson
Here's a patch which should improve Pentium IV support in test10-pre. The test10-pre3 patch detects Pentium IV (family code 15) but resets boot_cpu_data.x86 to 6 in this case. The advantage of doing this is that the places in the kernel which construct cpu family names (i386 .. i686) still

  1   2   3   4   >