Re: Inconsistent #ifdef __KERNEL__ on different architectures

2001-06-06 Thread Albert D. Cahalan
Paul Mackerras writes: The only valid reason for userspace programs to be including kernel headers is to get definitions that are part of the kernel API. (And in fact others here will go further and assert that there are *no* valid reasons for userspace programs to include kernel headers.)

Re: SCSI is as SCSI don't...

2001-06-06 Thread Alan Olsen
On Tue, 5 Jun 2001, Greg KH wrote: On Tue, Jun 05, 2001 at 11:08:04PM -0700, Alan Olsen wrote: The basic effect is that the kernel will not load. Something breaks hard in it. Any clue on what the last thing printed to the kernel log is? Hardware you have? .config for the kernel?

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Sean Hunter
On Tue, Jun 05, 2001 at 09:42:26PM -0400, Russell Leighton wrote: I also need some 2.4 features and can't really goto 2.2. I would have to agree that the VM is too broken for production...looking forward to the work that (hopefully) will be in 2.4.6 to resolve these issues. Boring to do a

VIA context switches

2001-06-06 Thread Giuliano Pochini
I have performance problems with a CUV4X-DLS (VIA-694XDP) dual processor motherboard. It's a web server. vmstat shows it does 1-15000 context switches/s and load average stays aroung 20 all the time. I tried two other machines (a VAlinux UP and supermicro MP) with the same load, memory, SCSI

Re: 2.4.5 VM

2001-06-06 Thread Jonathan Morton
On a side question: does Linux support swap-files in addition to sawp-partitions? Even if that has a performance penalty, when the system is swapping performance is dead anyway. Yes. Simply use mkswap and swapon/off on a regular file instead of a partition device. I don't notice any

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Jonathan Morton
It seems bizarre that a 4GB machine with a working set _far_ lower than that should be dying from OOM and swapping itself to death, but that's life in 2.4 land. I posted a fix for the OOM problem long ago, and it didn't get integrated (even after I sent Alan a separated-out version from the

Re: Cannot mount old ext2 cdrom, but e2fsck shows no problems

2001-06-06 Thread Nick Urbanik
Vincent Stemen wrote: On Tuesday 05 June 2001 02:36, Nick Urbanik wrote: Dear folks, I made 18 ext2 cdroms in October 1998 using an old (new at the time) Red Hat system. Now I can't mount them. e2fsck shows no problems. I also can dd them to a file, then mount the file. But I want

Nvidia takes a crack at PCs -- Interesting article from ZDNet

2001-06-06 Thread Miles Lane
I noticed this article on ZDNet and wondered if any of the kernel developers might be able to get a prototype motherboard from NVidia in order to do early support work for this new chipset. It sounds like pretty interesting technology. --- Nvidia takes a crack at PCs By Ian

Re: kswapd and MM overload fix

2001-06-06 Thread Xavier Bestel
On 05 Jun 2001 16:51:13 -0700, Linus Torvalds wrote: On Wed, 6 Jun 2001, Andrea Arcangeli wrote: that would fix it too indeed, OTOH I think changing the empty zone handling in the kernel is beyond the scope of the bugfix (grep for zone-size in mm/*.c :). Certainly making empty zones

Re: forcibly unmap pages in driver?

2001-06-06 Thread Martin Diehl
On Tue, 5 Jun 2001, Pete Wyckoff wrote: [EMAIL PROTECTED] said: user-space program is still running. I need to remove the user-space mapping -- otherwise the user process would still have access to the now-freed pages. I need an inverse of remap_page_range(). That seems a bit perverse.

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Xavier Bestel
On 05 Jun 2001 23:19:08 -0400, Derek Glidden wrote: On Wed, Jun 06, 2001 at 12:16:30PM +1000, Andrew Morton wrote: Jeffrey W. Baker wrote: Because the 2.4 VM is so broken, and because my machines are frequently deeply swapped, The swapoff algorithms in 2.2 and 2.4 are basically

RSVP linux

2001-06-06 Thread sebastien person
Hi, I want to know if someone know where found info about RSVP suuport on linux. Is it full supported by linux ? Thanks sebastien person - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Testing DEC 21041 and 21142 chipsets (tulip): it looks like kernels after 2.4.4 does not work with 21041; and 21142 does not work in 10M net at all

2001-06-06 Thread Info
There are 2 tests. TEST 1. Both IP and IPX does not work with 2.4.5 kernel on DEC 24041 chipset card (CNet 935E). I compile and try 2.4.5, 2.4.4-ac8-xfs-kdb and 2.4.5-ac8. In all cases system does not see Netware server (NW5.0 sp3) in ipx net and can't operate IP. In 2.4.4 kernet all is

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Sean Hunter
On Wed, Jun 06, 2001 at 10:19:30AM +0200, Xavier Bestel wrote: On 05 Jun 2001 23:19:08 -0400, Derek Glidden wrote: On Wed, Jun 06, 2001 at 12:16:30PM +1000, Andrew Morton wrote: Jeffrey W. Baker wrote: Because the 2.4 VM is so broken, and because my machines are frequently

Re: NFS-related oops in 2.4.5

2001-06-06 Thread Pavel Machek
Hi! I got this while compiling kernel over NFS. pavel@bug:/usr/src/linux-acpi$ time make bzImage gcc -D__KERNEL__ -I/elf/big/linux-acpi/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i386 -DUTS_MACHINE='i386' -c

NFS-related oops in 2.4.5

2001-06-06 Thread Pavel Machek
Hi! I got this while compiling kernel over NFS. pavel@bug:/usr/src/linux-acpi$ time make bzImage gcc -D__KERNEL__ -I/elf/big/linux-acpi/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i386 -DUTS_MACHINE='i386' -c -o

Re: USBDEVFS_URB_TYPE_INTERRUPT

2001-06-06 Thread Thomas Sailer
John Chris Wren schrieb: I don't really want to write a full-up kernel mode driver for this device, but interrupt type messages are the preferred method for communicating, since once a message needs to be sent, it should be timely (whereas control messages could be delayed a

Re: 2.4.5 VM

2001-06-06 Thread Christian Bornträger
On a side question: does Linux support swap-files in addition to sawp-partitions? Even if that has a performance penalty, when the system is swapping performance is dead anyway. Yes. A possible solution could be: dd if=/dev/zero of=/swap bs=1M count=whatever you like in MB mkswap /swap

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Xavier Bestel
On 06 Jun 2001 09:54:31 +0100, Sean Hunter wrote: This is what Linus recommended for 2.4 (swap = 2 * RAM), saying that anything less won't do any good: 2.4 overallocates swap even if it doesn't use it all. So in your case you just have enough swap to map your RAM, and nothing to really

Re: symlink_prefix

2001-06-06 Thread Pavel Machek
Hi! What I did was: add a field `char *mnt_symlink_prefix;' to the struct vfsmount, fill it in super.c:add_vfsmnt(), use it in namei.c:vfs_follow_link(). Pick the value up by recognizing in super.c:do_mount() the option symlink_prefix= before giving the options to the separate

Re: Linux 2.4.5-ac9

2001-06-06 Thread Thomas Sailer
Alan Cox schrieb: 2.4.5-ac9 o Add es1371 sound driver locking (Frank Davis) Looks bogus. Independent processes can open the same device once for reading and once for writing, now you are serializing needlessly these processes. Please revert. Tom - To unsubscribe from

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Sean Hunter
On Wed, Jun 06, 2001 at 11:16:27AM +0200, Xavier Bestel wrote: On 06 Jun 2001 09:54:31 +0100, Sean Hunter wrote: This is what Linus recommended for 2.4 (swap = 2 * RAM), saying that anything less won't do any good: 2.4 overallocates swap even if it doesn't use it all. So in your case

Linux support for PDC20268

2001-06-06 Thread Frank Neuber
Hi list, I try to set up IDE-Support for ARM-Integrator with an PDC20268. This controller is currently not supported in linux/drivers/ide/pdc202xx.c It is possible to define this controller with the same behavior as PDC20267 in linux/drivers/ide/pdc202xx.c? Because the ARM-Integrator is not

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Dr S.M. Huen
On Wed, 6 Jun 2001, Sean Hunter wrote: For large memory boxes, this is ridiculous. Should I have 8GB of swap? Do I understand you correctly? ECC grade SDRAM for your 8GB server costs £335 per GB as 512MB sticks even at today's silly prices (Crucial). Ultra160 SCSI costs £8.93/GB as 73GB

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Jonathan Morton
I am waiting patiently for the bug to be fixed. However, it is a real embarrasment that we can't run this stable kernel in production yet because somethign as fundamental as this is so badly broken. Rest assured that a fix is in the works. I'm already seeing a big improvement in behaviour on my

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Vivek Dasmohapatra
On Wed, 6 Jun 2001, Dr S.M. Huen wrote: On Wed, 6 Jun 2001, Sean Hunter wrote: For large memory boxes, this is ridiculous. Should I have 8GB of swap? Do I understand you correctly? ECC grade SDRAM for your 8GB server costs £335 per GB as 512MB sticks even at today's silly prices

RE: Break 2.4 VM in five easy steps

2001-06-06 Thread DBs \(ML\)
What happens if the box is full of disk capacity and you cannot add anymore spindles? Then what? Upgrade the whole disk subsystem just to cater for this issue? That would turn out to be a bit more expensive in both money terms and downtime/labour costs. It really annoys me when people just say

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Lauri Tischler
Vivek Dasmohapatra wrote: On Wed, 6 Jun 2001, Dr S.M. Huen wrote: On Wed, 6 Jun 2001, Sean Hunter wrote: For large memory boxes, this is ridiculous. Should I have 8GB of swap? Do I understand you correctly? ECC grade SDRAM for your 8GB server costs £335 per GB as 512MB

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Sean Hunter
On Wed, Jun 06, 2001 at 10:57:57AM +0100, Dr S.M. Huen wrote: On Wed, 6 Jun 2001, Sean Hunter wrote: For large memory boxes, this is ridiculous. Should I have 8GB of swap? Do I understand you correctly? ECC grade SDRAM for your 8GB server costs £335 per GB as 512MB sticks even at

[PATCH] Configure.help:

2001-06-06 Thread Remi Turk
Hi, it seems the Configure.help text for CONFIG_LP_CONSOLE is incorrect: The default is to stall until the printer is ready while the help text says the opposite. (vi +540 drivers/char/lp.c) Attached is a patch for 2.4.6-pre1 which fixes the help text. Also, shouldn't CONFIG_LP_CONSOLE depend

[question] why does grok_partitions clear blk_size[major]?

2001-06-06 Thread COTTE
Hi kernel-list-readers! We just had a problem when running some formatting-utils on a large amount of disks synchronously: We got a NULL-pointer violation when accessig blk_size[major] for our major number. Further research showed, that grok_partitions was running at that time, which has been

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Alexander Viro
On Wed, 6 Jun 2001, Sean Hunter wrote: This is completely bogus. I am not saying that I can't afford the swap. What I am saying is that it is completely broken to require this amount of swap given the boundaries of efficient use. Funny. I can count many ways in which 4.3BSD, SunOS{3,4}

Re: [PATCH] Configure.help:

2001-06-06 Thread Tim Waugh
On Wed, Jun 06, 2001 at 12:24:34PM +0200, Remi Turk wrote: Attached is a patch for 2.4.6-pre1 which fixes the help text. Thanks. Also, shouldn't CONFIG_LP_CONSOLE depend on CONFIG_PRINTER=y? (it doesn't work when CONFIG_PRINTER=m, at least for me) It works for me with CONFIG_PRINTER=m.

Re: Linux 2.4.5-ac9

2001-06-06 Thread Christoph Hellwig
In article [EMAIL PROTECTED] you wrote: 2.4.5-ac9 o Add es1371 sound driver locking (Frank Davis) It's buggy. The locking in -read and -write will give double ups when a signal is pending and remove a not added waitq when programming the dmabuf fails. Christoph

[driver] New life for Serial mice

2001-06-06 Thread Vojtech Pavlik
Hi! If you still have your 3-button MouseSystems (or any other serial) mouse somewhere in your driver, forgotten becase of the incredibly slow update rate causing so much jumping of the pointer on the screen that it is unusable, you may want to pull it out and give it a try. Or if you're still

Re: lots of pppd (down) stall SMP linux-2.4.x (no HIGHMEM)

2001-06-06 Thread Till Immanuel Patzschke
Rico Tudor wrote: Try your test with High Memory Support disabled. ... tried w/o HIGH_MEM support - same result, machine hang-up... -- Till Immanuel Patzschke mailto: [EMAIL PROTECTED] interNetwork AG Phone: +49-(0)611-1731-121 Bierstadter Str. 7

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Daniel Phillips
On Wednesday 06 June 2001 10:54, Sean Hunter wrote: Did you try to put twice as much swap as you have RAM ? (e.g. add a 512M swapfile to your box) This is what Linus recommended for 2.4 (swap = 2 * RAM), saying that anything less won't do any good: 2.4 overallocates swap even if it

Re: [driver] New life for Serial mice

2001-06-06 Thread Guest section DW
In 322 lines of code, [hmm - gzipped, ach] Including the code in a readable form is much better - many people would glance at it and perhaps have remarks. And in those cases where the code is too large to give, a URL is preferable. Andries - To unsubscribe from this list: send the line

Re: Lockup in 2.4.5-ac2

2001-06-06 Thread Martin Josefsson
On Wed, 6 Jun 2001, Glenn Shannon wrote: Hi all! Enjoying the -ac2 kernel except for one minor thing: it locks up. As I see below you have a Realtek 8139B... The 8139too driver in 2.4.3-something to 2.4.5-ac2 is broken. It will hang your machine. so upgrade to 2.4.5-ac3 or above (2.4.5-ac9

[Question]: end_buffer_io_async() dilemma

2001-06-06 Thread Stefan . Bader
Hi, I know you are surely overworked, but I am not sure who else may know enough about this buffer_head/page cache stuff... Feel free to ingore this if you havn't got the time. What I try to do: Adding multipath support to the LVM. One part of this is to get informed whenever an IO completes

Buffer management - interesting idea

2001-06-06 Thread Ivan Schreter
Hello, I'm working on some hi-speed DB projects under Linux and I was researching various buffer-replacement algorithms. I found 2Q buffer replacement policy at http://citeseer.nj.nec.com/63909.html Maybe it would be interesting to use it instead of LRU for disk buffer replacement.

Re: Linux 2.4.5-ac9

2001-06-06 Thread Thomas Sailer
Christoph Hellwig schrieb: In article [EMAIL PROTECTED] you wrote: 2.4.5-ac9 o Add es1371 sound driver locking (Frank Davis) It's buggy. The locking in -read and -write will give double ups when a signal is pending and remove a not added waitq when programming

Re: 2.4.5-ac6: IDE deadlocks/bugs + unexpected IO-APIC

2001-06-06 Thread Xavier Bestel
On 05 Jun 2001 18:39:16 +0200, Xavier Bestel wrote: Hi ! I have an ABit VP6 (Dual PIII, infamous VIA686, onboard IDE + onboard HPT370). This is a new machine, so I didn't test it on several kernels. Using 2.4.4-ac11 (SMP), it started to deadlock really often when accessing the new disk

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Jonathan Morton
Did you try to put twice as much swap as you have RAM ? (e.g. add a 512M swapfile to your box) This is what Linus recommended for 2.4 (swap = 2 * RAM), saying that anything less won't do any good: 2.4 overallocates swap even if it doesn't use it all. So in your case you just have enough

temperature standard - global config option?

2001-06-06 Thread David N. Welton
[ please CC replies to me ] Perusing the kernel sources while investigating watchdog drivers, I notice that in some places, Fahrenheit is used, and in some places, Celsius. It would seem logical to me to have a global config option, so that you *know* that you talk devices either in F or C. I

[OFFTOPIC] lmc_utils + 2.4.5

2001-06-06 Thread Fabbione
Hi all, I was testing the kernel support for the LMC1200 interface (E1/T1) and like specified in the help menu a user land tool is needed to configure the interface. But during the compilation time is reporting this error /usr/include/linux/timer.h:17: field `list' has incomplete type

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Eric W. Biederman
Jeffrey W. Baker [EMAIL PROTECTED] writes: On Tue, 5 Jun 2001, Derek Glidden wrote: After reading the messages to this list for the last couple of weeks and playing around on my machine, I'm convinced that the VM system in 2.4 is still severely broken. This isn't trying to test

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Eric W. Biederman
Andrew Morton [EMAIL PROTECTED] writes: Jeffrey W. Baker wrote: Because the 2.4 VM is so broken, and because my machines are frequently deeply swapped, The swapoff algorithms in 2.2 and 2.4 are basically identical. The problem *appears* worse in 2.4 because it uses lots more swap.

Re: Linux 2.4.5-ac9

2001-06-06 Thread Christoph Hellwig
On Wed, Jun 06, 2001 at 01:41:31PM +0200, Thomas Sailer wrote: Christoph Hellwig schrieb: In article [EMAIL PROTECTED] you wrote: 2.4.5-ac9 o Add es1371 sound driver locking (Frank Davis) It's buggy. The locking in -read and -write will give double ups

RE: kHTTPd hangs 2.4.5 boot when moduled

2001-06-06 Thread David Gordon (LMC)
This is very strange. Does your kernel do the same if you compile IPv6 as module and khttpd off ? No, the boot proceeds normally. I loaded ipv6 module manually after boot and ipv6 worked locally also (ping6 ::1). I didn't test network ipv6 (my personal computer is on an ipv4 network).

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Disconnect
On Tue, 05 Jun 2001, Derek Glidden did have cause to say: The swapoff algorithms in 2.2 and 2.4 are basically identical. The problem *appears* worse in 2.4 because it uses lots more swap. I disagree with the terminology you're using. It *is* worse in 2.4, period. If it only *appears*

PROBLEM: I/O system call never returns if file desc is closed in the meantime

2001-06-06 Thread thierry . lelegard
[1.] I/O system call never returns if file desc is closed in the meantime [2.] Full description of the problem/report: This report describes a problem in the usage of file descriptors across multiple threads. When one thread closes a file descriptor, another thread which waits for an I/O on

Re: SysRq bug for tErm and kIll with init

2001-06-06 Thread Pavel Machek
Hi! Good evening, The problem is annoying, the fix is trivial. I am not subscribed to the list, so PLEASE CC ME when replying. Your fix looks ok. Can you make it diff -u and submit to linus? [You may tell him I approved ;-) -- mj is maintainer but he is away]

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Derek Glidden
Bill Pringlemeir wrote: [snip] Derek overwhelmed. On the system I'm using to write this, with Derek 512MB of RAM and 512MB of swap, I run two copies of this Please see the following message on the kernel mailing list, 3086:Linus 2.4.0 notes are quite clear that you need at least

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Derek Glidden
Xavier Bestel wrote: Did you try to put twice as much swap as you have RAM ? (e.g. add a 512M swapfile to your box) This is what Linus recommended for 2.4 (swap = 2 * RAM), saying that anything less won't do any good: 2.4 overallocates swap even if it doesn't use it all. So in your case

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Marc Heckmann
On Wed, Jun 06, 2001 at 12:16:30PM +1000, Andrew Morton wrote: Jeffrey W. Baker wrote: Because the 2.4 VM is so broken, and because my machines are frequently deeply swapped, The swapoff algorithms in 2.2 and 2.4 are basically identical. The problem *appears* worse in 2.4 because it

RE: Linux 2.4.5-ac9

2001-06-06 Thread Chris Liebman
I've just tried the orinoco_cs driver with my Orinoco Gold pcmcia card in hopes that I could use this instead of having to rebuild the pcmcia-cs package everytime I try a new kernel... I am seeing the following messages: NETDEV WATCHDOG: eth1: transmit timed out eth1: Tx timeout! Resetting

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Derek Glidden
Helge Hafting wrote: The drive is inactive because it isn't needed, the machine is running loops on data in memory. And it is unresponsive because nothing else is scheduled, maybe swapoff is easier to implement I don't quite get what you're saying. If the system becomes unresponsive

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Hugh Dickins
On Wed, 6 Jun 2001, Andrew Morton wrote: Yes. The sys_swapoff() system call can take many minutes Haven't looked at it closely, but I think the algorithm could become something like: for (each process) { for (each page in this process) { if (page

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Richard Gooch
Daniel Phillips writes: On Wednesday 06 June 2001 10:54, Sean Hunter wrote: Did you try to put twice as much swap as you have RAM ? (e.g. add a 512M swapfile to your box) This is what Linus recommended for 2.4 (swap = 2 * RAM), saying that anything less won't do any good: 2.4

2.4.6-pre1 hard lockup

2001-06-06 Thread David Mansfield
This morning I was running 2.4.6-pre1 and it locked up hard in X-windows. The mouse cursor was frozen, and I couldn't ping the box from another one on the network. The sysrq did work - to an extent. A tried the 's u b' combination, and although the sync and remount didn't work (filesystems

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Derek Glidden
Funny. I can count many ways in which 4.3BSD, SunOS{3,4} and post-4.4 BSD systems I've used were broken, but I've never thought that swap==2*RAM rule was one of them. Yes, but Linux isn't 4.3BSD, SunOS or post-4.4 BSD. Not to mention, all other OS's I've had experience using *don't* break

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Christian Bornträger
OK, Linus said if I use swap it should be at least twice as much as RAM. there will be much more discussion about it, for me this contraint is a very very bad idea. Have you ever thought about diskless workstations? Swapping over a network sounds ugly. Nevertheless, my question is: what happens

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread John Alvord
On Wed, 06 Jun 2001 11:31:28 -0400, Derek Glidden [EMAIL PROTECTED] wrote: I'm beginning to be amazed at the Linux VM hackers' attitudes regarding this problem. I expect this sort of behaviour from academics - ignoring real actual problems being reported by real actual people really and

Requirement: swap = RAM x 2.5 ??

2001-06-06 Thread Jeff Garzik
I'm sorry but this is a regression, plain and simple. Previous versons of Linux have worked great on diskless workstations with NO swap. Swap is extra space to be used if we have it and nothing else. -- Jeff Garzik | Andre the Giant has a posse. Building 1024| MandrakeSoft | -

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Derek Glidden
John Alvord wrote: On Wed, 06 Jun 2001 11:31:28 -0400, Derek Glidden [EMAIL PROTECTED] wrote: I'm beginning to be amazed at the Linux VM hackers' attitudes regarding this problem. I expect this sort of behaviour from academics - ignoring real actual problems being reported by real

Re: [PATCH] fix for initrd panic in 2.4.5

2001-06-06 Thread Juan Quintela
james == James Bottomley [EMAIL PROTECTED] writes: james Not many people have seen this, but the i_bdev field in fake_inode in james ioctl_by_bdev() is uninitialised. Since this field is dereferenced by james BLKFLSBUF in rd_ioctl, it can lead to a panic (depending on what happens to be

Re: temperature standard - global config option?

2001-06-06 Thread Chris Boot
Hi, Please, don't. Use kelvins *0.1, and use them consistently everywhere. This is what ACPI does, and it is probably right. I'm sorry, by I don't feel like adding 273 to every number I get just to find the temperature of something. What I would do is give configuration options to choose

Re: Requirement: swap = RAM x 2.5 ??

2001-06-06 Thread Richard Gooch
Jeff Garzik writes: I'm sorry but this is a regression, plain and simple. Previous versons of Linux have worked great on diskless workstations with NO swap. Swap is extra space to be used if we have it and nothing else. Sure. But Linux still works without swap. It's just that if you

Re: temperature standard - global config option?

2001-06-06 Thread Peter Svensson
On Wed, 6 Jun 2001, Chris Boot wrote: I'm sorry, by I don't feel like adding 273 to every number I get just to find the temperature of something. What I would do is give configuration options to choose the default (Celsius/centigrade, Kelvin, or [shudder] Fahrenheit) then, when you need to

Re: [driver] New life for Serial mice

2001-06-06 Thread James Simmons
Is it possible to move serio.c and serport.c up into drivers/char. I'm finding many drivers that use this and it is a mess to have to enable joysticks just to use other types of devices like touchscreens. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: Requirement: swap = RAM x 2.5 ??

2001-06-06 Thread Jeff Garzik
Richard Gooch wrote: Jeff Garzik writes: I'm sorry but this is a regression, plain and simple. Previous versons of Linux have worked great on diskless workstations with NO swap. Swap is extra space to be used if we have it and nothing else. Sure. But Linux still works without

Re: Requirement: swap = RAM x 2.5 ??

2001-06-06 Thread Richard Gooch
Jeff Garzik writes: Richard Gooch wrote: Jeff Garzik writes: I'm sorry but this is a regression, plain and simple. Previous versons of Linux have worked great on diskless workstations with NO swap. Swap is extra space to be used if we have it and nothing else.

Re: VIA's Southbridge bug: Latest (pseudo-)patch

2001-06-06 Thread Marc Lehmann
On Sun, Jun 03, 2001 at 11:10:02PM +0100, Adrian Cox [EMAIL PROTECTED] wrote: data corruption was easily detectable, one couldn't even write 500megs without altered bytes). Wrong way round. You're right that the pci master is supposed to handle delayed transactions, but during data

Re: NULL characters in file on ReiserFS again.

2001-06-06 Thread Stephen C. Tweedie
Hi, On Thu, May 31, 2001 at 09:57:51AM -0700, Hans Reiser wrote: /etc/hosts (or anywhere). As a tesult, startx hung starting X server; it was not possible to switch to alpha console or kill X server. I pressed reset and after reboot looked into /var/log/XFree86*log - and there were a

Re: [driver] New life for Serial mice

2001-06-06 Thread Jeff Garzik
hmmm. I just looked over this, and drivers/char/joystick/ser*.[ch]. Bad trend. Serial needs to be treated just like parport: the basic hardware code, then on top of that, a selection of drivers, all peers: dumb serial port, serial mouse, joystick, etc. -- Jeff Garzik | Andre the Giant

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Ben Greear
Richard Gooch wrote: Daniel Phillips writes: On Wednesday 06 June 2001 10:54, Sean Hunter wrote: Did you try to put twice as much swap as you have RAM ? (e.g. add a 512M swapfile to your box) This is what Linus recommended for 2.4 (swap = 2 * RAM), saying that anything less

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Jeffrey W. Baker
On 6 Jun 2001, Eric W. Biederman wrote: Jeffrey W. Baker [EMAIL PROTECTED] writes: On Tue, 5 Jun 2001, Derek Glidden wrote: After reading the messages to this list for the last couple of weeks and playing around on my machine, I'm convinced that the VM system in 2.4 is still

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread dean gaudet
On Wed, 6 Jun 2001, Dr S.M. Huen wrote: If you can afford 4GB RAM, you certainly can afford 8GB swap. this is a completely crap argument. you should study the economics of managing a farm of thousands of machines some day. when you do this, you'll also learn to consider the power

Re: Requirement: swap = RAM x 2.5 ??

2001-06-06 Thread Mike Galbraith
On Wed, 6 Jun 2001, Richard Gooch wrote: Jeff Garzik writes: Richard Gooch wrote: Jeff Garzik writes: I'm sorry but this is a regression, plain and simple. Previous versons of Linux have worked great on diskless workstations with NO swap. Swap is extra space

Test Mail!!!

2001-06-06 Thread jalaja devi
__ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread dean gaudet
On Wed, 6 Jun 2001, Alexander Viro wrote: On Wed, 6 Jun 2001, Sean Hunter wrote: This is completely bogus. I am not saying that I can't afford the swap. What I am saying is that it is completely broken to require this amount of swap given the boundaries of efficient use. Funny. I can

Re: temperature standard - global config option?

2001-06-06 Thread Bill Pringlemeir
Peter == Peter Svensson [EMAIL PROTECTED] writes: Peter Kelvin (decikelvin?) is probably a good unit to use in the Peter kernel. If you want something else you convert it in the Peter programs you use to interact with the kernel. This is a Peter usespace issue, I think. How about

Re: [driver] New life for Serial mice

2001-06-06 Thread Vojtech Pavlik
On Wed, Jun 06, 2001 at 12:31:28PM -0400, Jeff Garzik wrote: hmmm. I just looked over this, and drivers/char/joystick/ser*.[ch]. Bad trend. Serial needs to be treated just like parport: the basic hardware code, then on top of that, a selection of drivers, all peers: dumb serial port,

Re: Requirement: swap = RAM x 2.5 ??

2001-06-06 Thread Greg Hennessy
In article [EMAIL PROTECTED], Richard Gooch [EMAIL PROTECTED] wrote: Swap is extra space to be used if we have it and nothing else. Sure. But Linux still works without swap. It's just that if you *do* have swap, it works best with 2* RAM. There is a large difference between saying Linux

Re: [driver] New life for Serial mice

2001-06-06 Thread Vojtech Pavlik
On Wed, Jun 06, 2001 at 09:17:56AM -0700, James Simmons wrote: Is it possible to move serio.c and serport.c up into drivers/char. I'm finding many drivers that use this and it is a mess to have to enable joysticks just to use other types of devices like touchscreens. Possible it indeed is.

patches sound driver locking issue

2001-06-06 Thread Frank Davis
Hello all, I have attached patches against the following sound drivers to fix the locking issues mentioned in Alan's release notes for 2.4.5-ac9 . Please CC me on your comments to the code (I can address the issues quicker). Thanks. drivers/sound/esssolo1.c drivers/sound/maestro.c

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Remi Turk
On Wed, Jun 06, 2001 at 06:48:32AM -0400, Alexander Viro wrote: On Wed, 6 Jun 2001, Sean Hunter wrote: This is completely bogus. I am not saying that I can't afford the swap. What I am saying is that it is completely broken to require this amount of swap given the boundaries of efficient

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Kurt Roeckx
On Wed, Jun 06, 2001 at 10:57:57AM +0100, Dr S.M. Huen wrote: On Wed, 6 Jun 2001, Sean Hunter wrote: For large memory boxes, this is ridiculous. Should I have 8GB of swap? Do I understand you correctly? ECC grade SDRAM for your 8GB server costs £335 per GB as 512MB sticks even at

Re: [driver] New life for Serial mice

2001-06-06 Thread Russell King
On Wed, Jun 06, 2001 at 07:01:58PM +0200, Vojtech Pavlik wrote: On Wed, Jun 06, 2001 at 12:31:28PM -0400, Jeff Garzik wrote: hmmm. I just looked over this, and drivers/char/joystick/ser*.[ch]. Bad trend. Serial needs to be treated just like parport: the basic hardware code, then

Re: Linux 2.4.5-ac9

2001-06-06 Thread Tom Sightler
2.4.5-ac9 o Fix xircom_cb problems with some cisco kit (Ion Badulescu) I'm not sure what this is supposed to fix, but it makes my Xircom RBEM56G-100 almost useless on my network at the office. Actually, I can't quite blame just this patch, it only makes the problem worse, the driver from

Re: patches sound driver locking issue

2001-06-06 Thread Jeff Garzik
Frank Davis wrote: Hello all, I have attached patches against the following sound drivers to fix the locking issues mentioned in Alan's release notes for 2.4.5-ac9 . Please CC me on your comments to the code (I can address the issues quicker). Thanks. Do these patches have the same

Re: temperature standard - global config option?

2001-06-06 Thread José Luis Domingo López
On Wednesday, 06 June 2001, at 18:06:56 +0200, Chris Boot wrote: Hi, Please, don't. Use kelvins *0.1, and use them consistently everywhere. This is what ACPI does, and it is probably right. I'm sorry, by I don't feel like adding 273 to every number I get just to find the

Re: [patch] Re: Linux 2.4.5-ac6

2001-06-06 Thread Maciej W. Rozycki
On Wed, 6 Jun 2001, Jeff Garzik wrote: There are two things you can do here, one is easy: use linker tricks to make sure that an application built on alpha -- with 64-bit pointers -- uses no more than the lower 32 bits of each pointer for addressing. This should fix a ton of applications

Re: How to know HZ from userspace?

2001-06-06 Thread Tomas Telensky
Hi! Is there any way to read out the compile-time HZ value of the kernel? Why simply #include asm/param.h? Tomas I had a brief look at /proc/* and didn't find anything. The background, why it is needed: There are certain settings, for example the icmp rate limiting

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread José Luis Domingo López
On Wednesday, 06 June 2001, at 10:19:30 +0200, Xavier Bestel wrote: On 05 Jun 2001 23:19:08 -0400, Derek Glidden wrote: On Wed, Jun 06, 2001 at 12:16:30PM +1000, Andrew Morton wrote: [...] Did you try to put twice as much swap as you have RAM ? (e.g. add a 512M swapfile to your box) I'm

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Eric W. Biederman
Derek Glidden [EMAIL PROTECTED] writes: John Alvord wrote: On Wed, 06 Jun 2001 11:31:28 -0400, Derek Glidden [EMAIL PROTECTED] wrote: I'm beginning to be amazed at the Linux VM hackers' attitudes regarding this problem. I expect this sort of behaviour from academics - ignoring

Re: Break 2.4 VM in five easy steps

2001-06-06 Thread Dr S.M. Huen
On Wed, 6 Jun 2001, Kurt Roeckx wrote: On Wed, Jun 06, 2001 at 10:57:57AM +0100, Dr S.M. Huen wrote: On Wed, 6 Jun 2001, Sean Hunter wrote: For large memory boxes, this is ridiculous. Should I have 8GB of swap? Do I understand you correctly? ECC grade SDRAM for your 8GB

ethernet and pointopoint

2001-06-06 Thread Adam
hello, Is there reason why I can't set pointopoint for ethernet? I have to computers (and two 100mbps ethernet cards) connected via null-modem ethernet cable (with no hub in between). So since there's no way to have more than two hosts talking to each other for

Re: How to know HZ from userspace?

2001-06-06 Thread Harald Welte
On Wed, Jun 06, 2001 at 08:09:33PM +0200, Tomas Telensky wrote: Hi! Is there any way to read out the compile-time HZ value of the kernel? Why simply #include asm/param.h? because the include file doesn't say anything about the HZ value of the currently running kernel, but only about

  1   2   3   4   >