Re: Patch (repost): cramfs memory corruption fix

2001-01-08 Thread Christoph Rohland
Hi Linus, On Sun, 7 Jan 2001, Linus Torvalds wrote: I wonder what to do about this - the limits are obviously useful, as would the "use swap-space as a backing store" thing be. At the same time I'd really hate to lose the lean-mean-clean ramfs. Let me repeat on this issue: shmem.c has

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread David Woodhouse
[EMAIL PROTECTED] said: I put it into generic_file_write. That covers most fs's it seems. The jffs guys are going to switch to generic_file_write soon It's in CVS already. For 2.4, 'soon' == 'when Linus is ready to start taking patches' If you want it for 2.4-ac I can provide a patch

Re: Patch (repost): cramfs memory corruption fix

2001-01-08 Thread Shane Nay
On Monday 08 January 2001 13:11, David Woodhouse wrote: [EMAIL PROTECTED] said: Also, if you care about memory usage, you're likely to be much better off using ramfs rather than something like "ext2 on ramdisk". You won't get the double buffering. That'll be even more useful once we can

Re: suggest: diff-2.4.0-test12_to_2.4.0

2001-01-08 Thread stefan mojschewitsch
stefan mojschewitsch wrote: hi ulrich, Ulrich Windl wrote: I thought I'd find a diff between 2.4.0test12 (last test release) to the final 2.4.0 release, but did not. Wouldn't it be (have been) a good idea? [snip] its here

Re: [PATCH] cramfs is ro only, so honour this in inode-mode

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Ingo Oeser wrote: Then we might need W bits, but currently they disturb things like "test" and the perl equivalent, which is quite annoying and complexifies code. (Yes, I'm selfish too ;-)) Huh??? Consider write-protected floppy. What, you mean that it also should

Delay in authentication.

2001-01-08 Thread Ansari
Hi !! I just installed Redhat 6.0. When i run "su" command it takes much time to apper passwd prompt. Its also taking much time in authentication after entering the password. Regards, Nauman Ansari - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: suggest: diff-2.4.0-test12_to_2.4.0

2001-01-08 Thread Ulrich Windl
On 8 Jan 2001, at 14:16, Andreas Jaeger wrote: Ulrich Windl writes: I thought I'd find a diff between 2.4.0test12 (last test release) to the final 2.4.0 release, but did not. Wouldn't it be (have been) a good idea? Apply: patch-2.4.0-prerelease.bz2 and then

2.4: header file confusion (interrupts)

2001-01-08 Thread Ulrich Windl
Inspecting some code I found out that in 2.4.0test12 request_irq() is declared in sched.h, and not in interrupt.h, SA_SHIRQ is declared in asm/signal.h, and not in interrupt.h Isn't that a bit confusing? Maybe for 2.5 let's re-sort some things to clean up dependencies... Regards, Ulrich -

Mouse problem on VIA chipset mobo

2001-01-08 Thread Antonio Miguel Trindade
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I don't know if this is the right place to ask this, but here it goes: I have a Microsoft Intellimouse 1.2 connected to the PS/2 port of my VIA chipset based mobo, and frequently it sends mouse move and button press events that are nothing

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Stefan Traby
On Mon, Jan 08, 2001 at 08:35:10AM -0500, Alexander Viro wrote: On Mon, 8 Jan 2001, Stefan Traby wrote: Try 'getconf LINK_MAX /ramfs'. While the result (127) is in some way SuS/POSIXLY_CORRECT, it's not the truth. Why not start to fix this problem outside the funny switch/case in

[PATCH] tulip

2001-01-08 Thread Peter De Schrijver
Hi, The following patch tries to improve the media autosensing capabilities of the 2.4 tulip driver. Iused Doanld Becker's tulip driver as a basis. I only tested it on a Digital PWS500a with onboard 21143 chip with MII transceiver. Peter. diff -rc linux.orig/drivers/net/tulip/21142.c

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alexander Viro
Alan, consider applying the patch below. Contents: * recovery from failing get_block() in __block_write_full_page() and __block_prepare_write(). * handling of partially mapped pages in generic_file_write(). * use of -s_maxbytes in default_llseek(). * crapectomy in

Re: Network Performance?

2001-01-08 Thread Tim Sailer
On Mon, Jan 08, 2001 at 09:26:23PM +1100, Andrew Morton wrote: Tim Sailer wrote: On Sat, Jan 06, 2001 at 10:11:40PM +1100, Andrew Morton wrote: this issue was discussed on the netdev mailing list a few weeks back. It's very unfortunate that the web archives of netdev stopped

Re: [PATCH] tulip

2001-01-08 Thread Matti Aarnio
On Mon, Jan 08, 2001 at 03:01:08PM +0100, Peter De Schrijver wrote: Hi, The following patch tries to improve the media autosensing capabilities of the 2.4 tulip driver. Iused Doanld Becker's tulip driver as a basis. I only tested it on a Digital PWS500a with onboard 21143 chip with MII

Re: Coppermine is a PIII or a Celeron?

2001-01-08 Thread J . A . Magallon
On 2001.01.08 Giacomo Catenazzi wrote: Thus the older Celerons should be compiled with CONFIG_M686 (Pentium Pro), but the Celeron Coppermine can be compiled with CONFIG_M686FXSR (Pentium III), right? In this case we should update the files Configure.help and the config.in files. I am

Re: Delay in authentication.

2001-01-08 Thread Chris Meadors
On Mon, 8 Jan 2001, David S. Miller wrote: This definitely seems like the classic "/etc/nsswitch.conf is told to look for YP servers and you are not using YP", so have a look and fix nsswitch.conf if this is in fact the problem. What I have never gotten, is why on my machines (no specific

[Linux-IrDA]Re: Delay in authentication.

2001-01-08 Thread David S. Miller
Date:Mon, 08 Jan 2001 18:39:34 +0500 From: Ansari [EMAIL PROTECTED] I just installed Redhat 6.0. When i run "su" command it takes much time to apper passwd prompt. Its also taking much time in authentication after entering the password. This definitely seems like the

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Stefan Traby wrote: Because I have no knowledge on this I suggest that you and Ulrich fight together on a more flexible solution than the current one. I guess that Linus would accept this without thinking too much about it. Unfortunately, Ulrich's taste was incompatible

Re: Patch (repost): cramfs memory corruption fix

2001-01-08 Thread Christoph Hellwig
In article [EMAIL PROTECTED] you wrote: Hi Linus, On Sun, 7 Jan 2001, Linus Torvalds wrote: I wonder what to do about this - the limits are obviously useful, as would the "use swap-space as a backing store" thing be. At the same time I'd really hate to lose the lean-mean-clean ramfs. Let

No Subject

2001-01-08 Thread Wayne . Brown
Free speech means you can say anything you want, but it doesn't mean you can force anyone to listen. If I don't want to hear it, I can forbid you from coming into my house to tell me about it. I can configure my software to reject your messages if I don't want to see them. If I own a

Re: [PATCH] cramfs is ro only, so honour this in inode-mode

2001-01-08 Thread Shane Nay
Ingo, You can use (GNU-)tar for this. It even keeps track of other bits like ext2fs attributes, AFAIK. True..., but cramfs is acting like a mountable (tar czvf) because of the compressed pages. Seems redundant to have a tar on top of what is basically a segmented tar with frontal indexing

2.4.0 - sndstat not present

2001-01-08 Thread Martin Laberge
i installed 2.4.0 last week and all worked well on my amd-K6-350 i use a cheap sound card since 2.0.36 and it always worked well too. it work well now in 2.4.0, BUT , /dev/sndstat report me no such file or directory and /proc/sound (as noted in documentation) does not exist... the sound work

Re: Patch (repost): cramfs memory corruption fix

2001-01-08 Thread David Woodhouse
[EMAIL PROTECTED] said: While the topic is raised..., I've hacked up cramfs for linear addressing to kill the "double buffering" effiect. However as David mentions the block device support thing is an issue here. What is a reasonable way to allow a cramfs partition to access the device

Re: PATCH for 2.4.0: assign ad1848 mixer operations to correct module

2001-01-08 Thread Alan Cox
+ + if (owner) + ad1848_mixer_operations.owner = owner; + if ((e = sound_install_mixer(MIXER_DRIVER_VERSION, dev_name, ad1848_mixer_operations, BTW Isn't it ever-so-slightly dodgy modifying the static Very. operations in exactly the same way as the

Re: [PATCH] tulip

2001-01-08 Thread Peter De Schrijver
HYA Peter. diff -ur linux.orig/drivers/net/tulip/21142.c linux/drivers/net/tulip/21142.c --- linux.orig/drivers/net/tulip/21142.cTue Nov 7 20:08:09 2000 +++ linux/drivers/net/tulip/21142.c Sun Jan 7 18:29:03 2001 @@ -99,8 +99,8 @@ { struct tulip_private *tp = (struct

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alan Cox
Why not start to fix this problem outside the funny switch/case in glibc ? The filesystem itself should able to handle this. Sigh... And the API would be? In SuS its pathconf() - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: Patch (repost): cramfs memory corruption fix

2001-01-08 Thread Alan Cox
On Sun, 7 Jan 2001, Linus Torvalds wrote: I wonder what to do about this - the limits are obviously useful, as would the "use swap-space as a backing store" thing be. At the same time I'd really hate to lose the lean-mean-clean ramfs. Let me repeat on this issue: shmem.c has everything

Re: Patch (repost): cramfs memory corruption fix

2001-01-08 Thread Christoph Rohland
Hi Christoph, On Mon, 8 Jan 2001, Christoph Hellwig wrote: I had a prototype tmpfs in -test10 (ro so) times. It based on ramfs for all the metadata stuff and used the (old) shmfs code for swap-backed data. The only real problem the code had, was that it needed a -allocpage address_space

Revised patch: Linux 2.4.0 ad1848 mixer ownership

2001-01-08 Thread Chris Rankin
Hi, This is a revised version of my ad1848 patch; instead of modifying the static structures, update the "owner" fields in the audio_devs[] and mixer_devs[] structures instead. Chris --- linux-vanilla/drivers/sound/ad1848.cFri Aug 11 16:26:43 2000 +++

Re: Patch (repost): cramfs memory corruption fix

2001-01-08 Thread Christoph Rohland
Hi Alan, On Mon, 8 Jan 2001, Alan Cox wrote: I have been thinking about this. I think we should merge the size limiting code with the example clean ramfs code. Having spent a while debugging the LFS checks and some other funnies I realised one problem with the ramfs in 2.4.0 as an example.

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Alan Cox wrote: Why not start to fix this problem outside the funny switch/case in glibc ? The filesystem itself should able to handle this. Sigh... And the API would be? In SuS its pathconf() Which happens to be remarkably ugly. And it will not get better

Ext2 descriptor corruption in 2.4.0

2001-01-08 Thread Daniel Phillips
After 3 days up doing fairly normal things with an unremarkable configuration and a vanila 2.4.0 kernel (nfs) I tried to log out of KDE and hung in 'preparing session for logout'. In a text console, dmesg showed an infinite number of "Free blocks count corrupted" messages: EXT2-fs error

Re: Kdb for modules

2001-01-08 Thread Keith Owens
On Mon, 8 Jan 2001 10:57:32 + (GMT), Guennadi Liakhovetski [EMAIL PROTECTED] wrote: Keith Owens wrote kdb v0.6 is out of date and no longer supported. kdb v1.5 against 2.2.18 is in ftp://oss.sgi.com/projects/kdb/download/ix86/, it supports modules correctly. This patch is only there as

Re: [PATCH] More Configure.help fixes

2001-01-08 Thread Paul Gortmaker
Configure.help also has help text for some 35 CONFIG_ options that have since been removed from the config.in files. Here is a little script to prune out those orphan entries (it is only 1/10th the size of the resulting diff, and its the gift that keeps on giving) It tells you how many

Re: 2.2.18 and Maxtor 96147H6 (61 GB)

2001-01-08 Thread Igmar Palsenberg
On Sat, 6 Jan 2001 [EMAIL PROTECTED] wrote: It's not that simple.. The maxtor comes clipped,. but Linux can't kill the clip. So it sticks with 32 MB ibmsetmax.c does a software clip, but that bugs a bit. Sometimes even Linux doesn't see 61 GB, but only 32, sometimes the full capacity.

Re: 2.4.0 - sndstat not present

2001-01-08 Thread Christoph Hellwig
In article [EMAIL PROTECTED] you wrote: i installed 2.4.0 last week and all worked well on my amd-K6-350 i use a cheap sound card since 2.0.36 and it always worked well too. it work well now in 2.4.0, BUT , /dev/sndstat report me no such file or directory and /proc/sound (as noted in

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Alan Cox wrote: Which happens to be remarkably ugly. And it will not get better tomoorow... Its really only ugly in one way which is that you pass an int for the item rather than having a struct of all the data You know as well as I do that as soon as we add it glibc

Re: Change of policy for future 2.2 driver submissions

2001-01-08 Thread Wayne . Brown
Cool! I remember reading about the --dry-run option in the patch man page once, and thinking it would be useful, but then I forgot all about it without ever using it. (Patch is one of those programs I've been using for so many years that my fingers type it automatically and I never think to

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Chris Mason
On Monday, January 08, 2001 09:02:46 AM -0500 Alexander Viro [EMAIL PROTECTED] wrote: Alan, consider applying the patch below. Contents: [snip] + do { + if (buffer_mapped(bh)) { + bh-b_end_io = end_buffer_io_async; +

RE: USB broken in 2.4.0

2001-01-08 Thread Heitzso
There's a flurry of emails I haven't read yet. I wanted to answer the direction question first test9 OK test10 OK test11 BROKEN so that's where the break occurred. I've gotta admit I was scared running the older test kernels because somewhere in the series the filesystem could be damaged

Re: 2.4.0 - sndstat not present

2001-01-08 Thread Martin Laberge
Christoph Hellwig wrote: In article [EMAIL PROTECTED] you wrote: i installed 2.4.0 last week and all worked well on my amd-K6-350 i use a cheap sound card since 2.0.36 and it always worked well too. it work well now in 2.4.0, BUT , /dev/sndstat report me no such file or directory and

Re: 2.4.0 - sndstat not present

2001-01-08 Thread Christoph Hellwig
On Mon, Jan 08, 2001 at 10:30:39AM -0500, Martin Laberge wrote: the reference to sndstat and /proc/sound was found in drivers/sound/soundcard.c IIRC it is only in the changelogs - and I don't want to play Big Brother on source files ... thanks for your lights on this topic... is there

Re: Delay in authentication.

2001-01-08 Thread Ansari
"David S. Miller" wrote: Date:Mon, 08 Jan 2001 18:39:34 +0500 From: Ansari [EMAIL PROTECTED] I just installed Redhat 6.0. When i run "su" command it takes much time to apper passwd prompt. Its also taking much time in authentication after entering the password.

Re: Delay in authentication.

2001-01-08 Thread Igmar Palsenberg
On Mon, 8 Jan 2001, Chris Meadors wrote: On Mon, 8 Jan 2001, David S. Miller wrote: This definitely seems like the classic "/etc/nsswitch.conf is told to look for YP servers and you are not using YP", so have a look and fix nsswitch.conf if this is in fact the problem. What I have

Re: [PATCH] hashed device lookup (New Benchmarks)

2001-01-08 Thread Ben Greear
"David S. Miller" wrote: Date:Mon, 08 Jan 2001 01:12:21 -0700 From: Ben Greear [EMAIL PROTECTED] http://grok.yi.org/~greear/hashed_dev.png (If you can't get to it, let me know and I'll email it to you...some cable modem networks have I firewalled.) It just

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Chris Mason wrote: On Monday, January 08, 2001 09:02:46 AM -0500 Alexander Viro [EMAIL PROTECTED] wrote: Alan, consider applying the patch below. Contents: [snip] + do { + if (buffer_mapped(bh)) { + bh-b_end_io =

Announce: modutils 2.4.1 is available

2001-01-08 Thread Keith Owens
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Content-Type: text/plain; charset=us-ascii In the absence of any screams of pain from the usb list, modutils 2.4.1 is released for your enjoyment. ftp://ftp.country.kernel.org/pub/linux/utils/kernel/modutils/v2.4 modutils-2.4.1.tar.gz

Re: USB broken in 2.4.0

2001-01-08 Thread antirez
On Mon, Jan 08, 2001 at 10:38:31AM -0500, Heitzso wrote: so that's where the break occurred. The problem was fixed (new interface don't allow a bulk read to be more than PAGE_SIZE, often 4096 bytes) Read the thread for more information. You can download the fixed s10sh at

Re: 2.2.18 and Maxtor 96147H6 (61 GB)

2001-01-08 Thread Andries . Brouwer
2.2.18 sometimes sees 61 GB, sometimes 32 GB. I don't call that hard to understand. The same kernel has varying behaviour? Maybe not hard to understand, but rather surprising. You are the first to report nondeterministic behaviour. - To unsubscribe from this list: send the line "unsubscribe

Re: Delay in authentication.

2001-01-08 Thread Chris Meadors
On Mon, 8 Jan 2001, Igmar Palsenberg wrote: check /etc/pam.d/login No pam. Could be kerberos that is biting you, althrough that doesn't explain the portmap story. So no kerberos. I just rebuilt the shadow suite (where my login comes from) to be on the safe side. But the problem is still

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alan Cox
I prefer SuS fpathconf(), pathconf() is just a wrapper to fpathconf(); You can't implement it that way in the corner cases. - 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: [PATCH] cramfs is ro only, so honour this in inode-mode

2001-01-08 Thread Ingo Oeser
On Mon, Jan 08, 2001 at 08:42:35AM -0500, Alexander Viro wrote: If program considers these bits of st_mode as indication of ability to write into file - program is buggy and should be fixed. Regardless of cramfs. Ok, point taken. I fixed the generation of the tree to be crammed into the

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Chris Mason
On Monday, January 08, 2001 10:47:41 AM -0500 Alexander Viro [EMAIL PROTECTED] wrote: + do { + if (buffer_mapped(bh)) { + bh-b_end_io = end_buffer_io_async; + atomic_inc(bh-b_count); + set_bit(BH_Uptodate,

Re: Are PCI add-on Cardbus Readers supported by the 2.4.0 kernel?

2001-01-08 Thread David Hinds
On Sun, Jan 07, 2001 at 11:43:40PM -0800, Miles Lane wrote: The specs mention Win98 support. Hopefully that doesn't mean this is some sort of "WinCardbus Reader" heap of junk. Has anyone gotten this board or a similar one from another manufacturer to work? Desktop cardbus readers

Re: ext3fs 0.0.5d and reiserfs 3.5.2x mutually exclusive

2001-01-08 Thread Stephen C. Tweedie
Hi, On Thu, Jan 04, 2001 at 01:50:44PM +0100, Matthias Andree wrote: I just tried to patch ext3fs 0.0.5d on top of a 2.2.18 that already had reiserfs 3.5.28 and failed, there are overlapping patches in fs/buffer.c that I cannot resolve for lack of knowledge how buffer.c and journalling are

Re: The advantage of modules?

2001-01-08 Thread Michael Meissner
On Fri, Jan 05, 2001 at 10:50:20PM -0600, Evan Thompson wrote: I'd like to know (I know, I'm being slightly off topic, while still staying on topic, so I'm on topic...er...yes) if there is any advantage, be it memory-wise or architectuarally wise, to use modules? I already know the obvious

Re: The advantage of modules?

2001-01-08 Thread Michael Meissner
On Sat, Jan 06, 2001 at 11:02:15AM +0100, J . A . Magallon wrote: On 2001.01.06 Drew Bertola wrote: My best reasons are... Development: You don't have to recompile the kernel a billion times while working on a driver, you just recompile the module. Also, you can debug, unload, fix,

'console=' kernel parameter questions

2001-01-08 Thread Paul Powell
Hello, I am running an unmodified RedHat 6.2 kernel (kernel version 2.2.14-5.0) I am trying to redirect the linux startup messages to the serial port. I've added the 'console=' parameter to my lilo.conf file. I've tried several iterations such as

Re: .br blacklisted ?

2001-01-08 Thread Rik van Riel
On Sun, 7 Jan 2001, John O'Donnell wrote: Only on my company's e-mail server. My company typically gets "zero" emails from outside the US. If I get a piece of spam (sorry they are typically from outside the US), I just block the entire .com.br domain. I get far less SPAM now! Remind me to

`rmdir .` doesn't work in 2.4

2001-01-08 Thread Andrea Arcangeli
Hello Al, why `rmdir .` is been deprecated in 2.4.x? I wrote software that depends on `rmdir .` to work (it's local software only for myself so I don't care that it may not work on unix) and I'm getting flooded by failing cronjobs since I put 2.4.0 on such machine. `rmdir .` makes perfect

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alan Cox
I reread SuSv2 again and didn't found corner cases. Do you mean FIFO/pipe stuff ? I can't see the problem in this area. In which case is an emulation of pathconf by fpathconf impossible ? use all your file descriptors up. Now try - To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] cramfs is ro only, so honour this in inode-mode

2001-01-08 Thread Linus Torvalds
On Mon, 8 Jan 2001, Ingo Oeser wrote: cramfs is a read-only fs. So we should honour that in inode-mode to avoid confusion of programs. No no no. This breaks device nodes etc quite badly. A change to mkcramfs might be fine - but it has to conditionalize on the file being a regular file.

typo in linux-2.2.18/Documentation/usb/usb-serial.txt

2001-01-08 Thread Hisaaki Shibata
Hi! I tried to use USB-SERIAL converter shown in http://www.century.co.jp/products/usb_serial1a.html that uses Prolific chip. Prolific USB2SERIAL is not supported yet, so I tried to "generic". Then I found typo in the document. Here is a tiny patch. BTW. I can not use prolific U2S yet.

[PATCH,serious] Fix raid5 crashes in 2.4.0

2001-01-08 Thread Andi Kleen
Hallo Linus, The following patch fixes an oops in 2.4.0 RAID5 initialisation when the kernel was configured without CONFIG_X86_FXSR but is booted on a CPU supporting SSE. The problem is that without the FXSR config the OSFXSR flag is not set during bootup, which causes any operation

Re: Subtle MM bug

2001-01-08 Thread Rik van Riel
On Sun, 7 Jan 2001, Wayne Whitney wrote: Well, here is a workload that performs worse on 2.4.0 than on 2.2.19pre, The typical machine is a dual Intel box with 512MB RAM and 512MB swap. How does 2.4 perform when you add an extra GB of swap ? 2.4 keeps dirty pages in the swap cache, so you

Re: 'console=' kernel parameter questions

2001-01-08 Thread Matthew Kirkwood
On Mon, 8 Jan 2001, Paul Powell wrote: 'console=ttys0','console=cua0','console=ttys0,9600n8', etc ^ console=ttyS0 Matthew. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at

Re: [PATCH,serious] Fix raid5 crashes in 2.4.0

2001-01-08 Thread Ingo Molnar
On Mon, 8 Jan 2001, Andi Kleen wrote: The following patch fixes an oops in 2.4.0 RAID5 initialisation when the kernel was configured without CONFIG_X86_FXSR but is booted on a CPU supporting SSE. yep - my bad, thanks for the fix. Fortunately it crashes at a stage when there are no

[PATCH] Add CONFIG_X86_RUNTIME_XMM for 2.4.

2001-01-08 Thread Andi Kleen
Hallo, Currently there is no way to get the support for the SSE2 exceptions compiled in without getting the P3 memory barriers too. The SSE2 exception code correctly checks all feature flags, but the memory barriers do not. This patch adds a CONFIG_X86_RUNTIME_XMM, which enables the SSE2 code,

Re: 'console=' kernel parameter questions

2001-01-08 Thread Mohammad A. Haque
I do believe RedHat kernels have this feature compiled in. This is probably an typo in the email but it's /dev/ttyS0 . Note the capital 'S'. On Mon, 8 Jan 2001, Paul Powell wrote: Hello, I am running an unmodified RedHat 6.2 kernel (kernel version 2.2.14-5.0) I am trying to redirect the

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Mohammad A. Haque
I fail to see why this is useful. you can't do anything in the directory afterwards. bash# mkdir foobar bash# cd foobar/ bash# ls bash# rmdir . bash# touch foo touch: foo: Operation not permitted bash# ls Whats the point of it? On Mon, 8 Jan 2001, Andrea Arcangeli wrote: Hello Al,

Re: MM/VM todo list

2001-01-08 Thread afei
About the RSS ulimit proposal, have we resolved the correctness of counting RSS in a process? Fei On Fri, 5 Jan 2001, Rik van Riel wrote: Hi, here is a TODO list for the memory management area of the Linux kernel, with both trivial things that could be done for later 2.4 releases and

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Chris Mason wrote: On Monday, January 08, 2001 10:47:41 AM -0500 Alexander Viro [EMAIL PROTECTED] wrote: + do { + if (buffer_mapped(bh)) { + bh-b_end_io = end_buffer_io_async; + atomic_inc(bh-b_count); +

Re: MM/VM todo list

2001-01-08 Thread Rik van Riel
On Mon, 8 Jan 2001 [EMAIL PROTECTED] wrote: About the RSS ulimit proposal, have we resolved the correctness of counting RSS in a process? I have not taken^Whad the time to check the kernel tree and see if the RSS counting has indeed been made safe everywhere. regards, Rik -- Virtual memory

Re: [PATCH] cramfs is ro only, so honour this in inode-mode

2001-01-08 Thread Linus Torvalds
On Mon, 8 Jan 2001, Ingo Oeser wrote: On Mon, Jan 08, 2001 at 12:13:39PM +, Shane Nay wrote: This may not initially seem like such a great thing..., but imagine a base distro being distributed as a cramfs file. Copy the thing over to your HD and you're done, otherwise the distro

Re: PATCH for 2.4.0: assign ad1848 mixer operations to correct module

2001-01-08 Thread Chris Rankin
+ + if (owner) + ad1848_mixer_operations.owner = owner; + if ((e = sound_install_mixer(MIXER_DRIVER_VERSION, dev_name, ad1848_mixer_operations, BTW Isn't it ever-so-slightly dodgy modifying the static Very. operations in exactly the same way

Oops in 2.2.18

2001-01-08 Thread Lawrence Manning
Hardware is a Intel 440LX, with IDE disks, 96meg of memory, voodoo 2 graphics etc. Nothing remarkable. For about 3 days now, it has been oopsing at least once a day. Each time the machine eventually locks up in X. The kernel is a standard 2.2.18 linus kernel with Alsa drivers (version 0.5.10)

Re: Subtle MM bug

2001-01-08 Thread Rik van Riel
On 7 Jan 2001, Linus Torvalds wrote: That doesn't resolve the "2.4.x behaves badly" thing, though. I've seen that one myself, and it seems to be simply due to the fact that we're usually so good at gettign memory from page_launder() that we never bother to try to swap stuff out. And when

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alan Cox
if (pos + count inode-i_sb-s_maxbytes) { count = inode-i_sb-s_maxbytes - count; goto out; } looks funny - goto out means that new (and rather meaningless) value of count goes to hell. Shouldn't we remove that line and s/- count/-

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Andrea Arcangeli
On Mon, Jan 08, 2001 at 12:31:29PM -0500, Mohammad A. Haque wrote: I fail to see why this is useful. you can't do anything in the directory afterwards. bash# mkdir foobar bash# cd foobar/ bash# ls bash# rmdir . bash# touch foo touch: foo: Operation not permitted bash# ls

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Andrea Arcangeli wrote: Hello Al, why `rmdir .` is been deprecated in 2.4.x? I wrote software that depends on `rmdir .` to work (it's local software only for myself so I don't care that it may not work on unix) and I'm getting flooded by failing cronjobs since I put

Re: Subtle MM bug

2001-01-08 Thread Linus Torvalds
On Mon, 8 Jan 2001, Rik van Riel wrote: On Sun, 7 Jan 2001, Wayne Whitney wrote: Well, here is a workload that performs worse on 2.4.0 than on 2.2.19pre, The typical machine is a dual Intel box with 512MB RAM and 512MB swap. How does 2.4 perform when you add an extra GB of swap ?

Re: VM subsystem bug in 2.4.0 ?

2001-01-08 Thread Rik van Riel
On Mon, 8 Jan 2001, Sergey E. Volkov wrote: I have a problem with 2.4.0 I'm testing Informix IIF-2000 database server running on dual Intel Pentium II - 233. When I run 'make -j30 bzImage' in the kernel source, my Linux box hangs without any messages. Informix allocate about to 50% of

Re: Subtle MM bug

2001-01-08 Thread Linus Torvalds
On Mon, 8 Jan 2001, Rik van Riel wrote: You are right in that we need to refill the inactive list before calling page_launder(), but we'll also need a few other modifications: NONE of your three additions do _anything_ to help us at all if we don't even see the dirty bit because the page

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Stefan Traby
On Mon, Jan 08, 2001 at 04:01:10PM +, Alan Cox wrote: I prefer SuS fpathconf(), pathconf() is just a wrapper to fpathconf(); You can't implement it that way in the corner cases. I reread SuSv2 again and didn't found corner cases. Do you mean FIFO/pipe stuff ? I can't see the problem in

Re: `rmdir .` doesn't work in 2.4

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Andrea Arcangeli wrote: in userspace, but I think the old behaviour was more flexible (it was also showing how much our dcache is powerful) and I still don't see why it's been removed. Maybe it was to remove a branch from a fast path? (if so I don't think it was a good

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Stefan Traby wrote: On Mon, Jan 08, 2001 at 04:01:10PM +, Alan Cox wrote: I prefer SuS fpathconf(), pathconf() is just a wrapper to fpathconf(); You can't implement it that way in the corner cases. I reread SuSv2 again and didn't found corner cases. Do you

Re: Network Performance?

2001-01-08 Thread Erik Mouw
On Mon, Jan 08, 2001 at 09:06:45AM -0500, Tim Sailer wrote: On Mon, Jan 08, 2001 at 09:26:23PM +1100, Andrew Morton wrote: You're sending and receiving FTP/TCP/IP4 to Solaris and AIX hosts Yup You have a 1000kbyte window size Yup You have an 80 megabit/sec pipe. Actually, 100

Re: VM subsystem bug in 2.4.0 ?

2001-01-08 Thread Linus Torvalds
On Mon, 8 Jan 2001, Rik van Riel wrote: We need a check in deactivate_page() to prevent the kernel from moving pages from locked shared memory segments to the inactive_dirty list. Christoph? Linus? The only solution I see is something like a "active_immobile" list, and add entries to

A Curious and Interesting Opportunity!!

2001-01-08 Thread marc5858
Dear Friend: AS SEEN ON NATIONAL TV : ''Making over half million dollars every 4 to 5 months from your home for an investment of only $25 U.S. Dollars expense one time'' THANKS TO THE COMPUTER AGE AND THE INTERNET! = BE A MILLIONAIRE LIKE OTHERS

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Stefan Traby
On Mon, Jan 08, 2001 at 01:05:49PM -0500, Alexander Viro wrote: On Mon, 8 Jan 2001, Stefan Traby wrote: On Mon, Jan 08, 2001 at 04:01:10PM +, Alan Cox wrote: I prefer SuS fpathconf(), pathconf() is just a wrapper to fpathconf(); You can't implement it that way in the

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Stefan Traby wrote: Calling pathconf with a symlink is not defined. I suggest an implementation of "yankee doodle" for that case. Anyway the broken SuS standard wants that pathconf follow symlinks. Or how do you interpret this: [ELOOP] Too many symbolic

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Stefan Traby
On Mon, Jan 08, 2001 at 01:22:49PM -0500, Alexander Viro wrote: Here's another one: suppose that /foo is a mountpoint and you have no read permissions on it. Try to open the thing... I would return EACCESS. [EACCES] Search permission is denied for a component of the path prefix.

Re: The advantage of modules?

2001-01-08 Thread Ookhoi
Hi Michael, On Fri, Jan 05, 2001 at 10:50:20PM -0600, Evan Thompson wrote: I'd like to know (I know, I'm being slightly off topic, while still staying on topic, so I'm on topic...er...yes) if there is any advantage, be it memory-wise or architectuarally wise, to use modules? I

Re: Patch (repost): cramfs memory corruption fix

2001-01-08 Thread Linus Torvalds
On Sun, 7 Jan 2001, David L. Parsley wrote: 2.4.0 ramfs with the one-liner does it's job for me already; what I'd really love to fool with is _cramfs_. ;-) In case you missed the beginning of this thread: all my cramfs initrd's fail to mount as /dev/ram0 with 'wrong magic'; their romfs

Re: VM subsystem bug in 2.4.0 ?

2001-01-08 Thread Rik van Riel
On Mon, 8 Jan 2001, Linus Torvalds wrote: On Mon, 8 Jan 2001, Rik van Riel wrote: We need a check in deactivate_page() to prevent the kernel from moving pages from locked shared memory segments to the inactive_dirty list. Christoph? Linus? The only solution I see is something

Adaptec 19160 Problems

2001-01-08 Thread Jason Perlow
Greetings (and Linus and Alan if youre listening, thanks): I'm having a few bizarre problems with an adaptec 19160 scsi controller and several Linux distributions inlcluding Redhat 6.2 and 7.0, and I was wondering if anyone encountered anything similar and might be able to help. The machine

Re: ramfs problem... (unlink of sparse file in D state)

2001-01-08 Thread Alexander Viro
On Mon, 8 Jan 2001, Stefan Traby wrote: On Mon, Jan 08, 2001 at 01:22:49PM -0500, Alexander Viro wrote: Here's another one: suppose that /foo is a mountpoint and you have no read permissions on it. Try to open the thing... I would return EACCESS. [EACCES] Search

Re: Adaptec 19160 Problems

2001-01-08 Thread I Lee Hetherington
I had the exact same problem. I ended up getting around it by installing a Linux image from another machine. 2.2.18 works fine on the machine, but Red Hat 6.2's install would not reliably get past the infinite reset stage. So, there is hope that once you get something new enough on the machine

Re: Network Performance?

2001-01-08 Thread Craig I. Hagan
101 packets transmitted, 101 packets received, 0% packet loss round-trip min/avg/max = 109.6/110.3/112.2 ms Does the problem occur in both directions? Good question. I'll find out. Are you _sure_ the window size is being set correctly? How is it being set? I'm fairly sure. We

Re: Adaptec 19160 Problems

2001-01-08 Thread Jason Perlow
Ouch, thats an ugly solution. But why would it be the installer routine as opposed to some wackyness in the adaptec module? The kernel used in the installer routines for most of these distros is the same kernel used to boot the installed OS, right? How would you go about copying the IDE disk

<    1   2   3   4   5   6   7   >