O_TRUNC problem on a full filesystem

2001-05-23 Thread Manas Garg
I am not sure if it should be classified as a bug, that's why I am calling it a problem. Here is the description: If the filesystem is full, obviously, I can't write anything to that any longer. But if I open a file with O_TRUNC flag set, the file will be truncated. Any program that opens a file

Re: [PATCH] struct char_device

2001-05-23 Thread Andries . Brouwer
On Wed, 23 May 2001 [EMAIL PROTECTED] wrote: why not implement partitions as simply doing block remaps Everybody agrees. No they don't. We had this discussion already. We all agree. Maybe you read in remap something other than a simple addition but I don't. This

Re: New XFS, ReiserFS and Ext2 benchmarks

2001-05-23 Thread Daniel Phillips
On Tuesday 22 May 2001 20:20, David N. Lombard wrote: Rik van Riel wrote: On Tue, 22 May 2001, Daniel Phillips wrote: On Tuesday 22 May 2001 12:29, Daniel Phillips wrote: http://nl.linux.org/~phillips/htree Oops, nl.linux.org was down for 'unscheduled maintainance' and seems

__asm__

2001-05-23 Thread Blesson Paul
Hi I am comfronting with a macro __asm__ . What is the meaning of this. I cannot find the definition of this. I need the meaning of this line __asm__(and 1 %%esp.%0; :=r (current) : 0 (~8191UL)); This is defined inside the get_current() in current.h

Virus Alert, FYI

2001-05-23 Thread VirusAlert
An email sent to you was identified to contain a virus. Here are the information in this mail: Date: Tue, 22 May 2001 09:29:17 From: Mayank Vasa [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Mawanella Our virus filter has blocked this email and notified the sender. This message is just

Re: [Patch] Output of L1,L2 and L3 cache sizes to /proc/cpuinfo

2001-05-23 Thread Martin.Knoblauch
Dave Jones wrote: On Wed, 23 May 2001, Martin Knoblauch wrote: They may not be stupid, just mislead :-( When Intel created the cpuid Feature some way along the P3 line, they gave a stupid reason for it and created a big public uproar. As silly as I think that was (on both sides),

Re: Linux 2.4.4-ac14

2001-05-23 Thread Geert Uytterhoeven
On Wed, 23 May 2001, Keith Owens wrote: Is drivers/char/ser_a2232fw.ax supposed to be included? Nothing uses it. It's the source for the firmware hexdump in ser_a2232fw.h, provided as a reference. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven

Re: Gameport analog joystick broken in 2.4.4-ac13

2001-05-23 Thread Vojtech Pavlik
On Tue, May 22, 2001 at 10:43:57PM +0100, Stephen Thomas wrote: I have an analog joystick plugged into the gameport of a Soundblaster AWE64. In 2.4.4-ac12 this was recognized and worked just fine. Under ac13 the recognition is incomplete - it seems to identify that there is a NS558 gameport

Re: Gameport analog joystick broken in 2.4.4-ac13

2001-05-23 Thread Stephen Thomas
Vojtech Pavlik wrote: This is weird - there were no changes in joystick code between the two as far as I know. Have you tried loading the modules manually? No I haven't. And, as I said in my reply to Alan's message, I can't even get the failure to repeat reliably (or at all) any more. I'll

Re: __asm__

2001-05-23 Thread David Howells
__asm__(and 1 %%esp.%0; :=r (current) : 0 (~8191UL)); This doesn't look right... Where did you get this from. Taking the one in include/asm-i386/current.h as an example: | __asm__( This signifies a piece of inline assembly that the compiler must insert into it's output code. The __asm__ is

Changing the Number of processes/tasks

2001-05-23 Thread Khader Syed
Hi Folks, How can I change the Number of processes that can be run on the 2.4 kernel ? Is there a way to change that ? I would be glad if someone can direct me in this regards. In kernel 2.2.x, we could modify tasks.h to accompliish the task. How do we go about doing it in the 2.4 kernel ? Sorry

kernel oops with 2.4.3-xfs

2001-05-23 Thread Gerald Weber
hi, i use kernel 2.4.3 with xfs (release 1) on a dell poweredge 2450. it happens about every week that the system completely hangs (network down,console does not accept any input,sysreq useless...). i think this has anything to do with xfs or other fs issues,because kupdated always uses about

Re: noapic doesn't quite work as advertised

2001-05-23 Thread Studierende der Universitaet des Saarlandes
've got a tyan s2520 motherboard (dual PIII + i840) which is having a problem with APIC errors. I tried running with noapic, but there were still errors, although fewer. Does anyone have any idea what is going on? I'm running 2.4.4 and software raid5, which generates a lot of interrupts.

Re: [Re: __asm__ ]

2001-05-23 Thread Blesson Paul
Hi David Thanks for the reply. I am sorry that I misspelled the line(__asm__()). It is from the get_current() function in asm-i386/current.h. But I am not clear what is the whole meaning of that line(__asm__(..)) in get_current(). I am doing a project in Linux related to

write drop behind effect on active scanning

2001-05-23 Thread Marcelo Tosatti
Hi, I just noticed a bad effect of write drop behind yesterday during some tests. The problem is that we deactivate written pages, thus making the inactive list become pretty big (full of unfreeable pages) under write intensive IO workloads. So what happens is that we don't do _any_ aging

OT: O_TRUNC problem on a full filesystem

2001-05-23 Thread Helge Hafting
Manas Garg wrote: I am not sure if it should be classified as a bug, that's why I am calling it a problem. Here is the description: Not a bug. If the filesystem is full, obviously, I can't write anything to that any longer. But if I open a file with O_TRUNC flag set, the file will be

Re: [Patch] Output of L1,L2 and L3 cache sizes to /proc/cpuinfo

2001-05-23 Thread Martin.Knoblauch
Dave Jones wrote: On Wed, 23 May 2001, Tomas Telensky wrote: Yes. Recently I tried to transform whole cpuid code to a userspace utility. Not easy, not clean... but it worked. See http://www.sourceforge.net/projects/x86info or ftp://ftp.suse.com/pub/people/davej/x86info/ thanks

Re: Changing the Number of processes/tasks

2001-05-23 Thread hanishkvc
Hi Khader, If I am not wrong there is no limit on Number of processes based on the process table size or so as It should be dynamicaly growing as required in 2.4. On Wed, 23 May 2001, Khader Syed wrote: Hi Folks, How can I change the Number of processes that can be run on the 2.4 kernel ?

softirq question

2001-05-23 Thread Aviv Greenberg
Hi, Is it possible to enter into sleep mode ( current-state = !RUNNING schedule(_timeout)) from a softirq ? It is not a real hardware interrupt after all, but it still runs in the context of a running process Aviv Greenberg // sizeof(void) http://www.voltaire.com - To unsubscribe from

Re: [Re: __asm__ ]

2001-05-23 Thread =C0=CC=C8=A3
Blesson Paul Wrote: Thanks for the reply. I am sorry that I misspelled the line(__asm__()). It is from the get_current() function in asm-i386/current.h. But I am not clear what is the whole meaning of that line(__asm__(..)) in get_current(). I am doing a project in

Re: write to dvd ram

2001-05-23 Thread Helge Hafting
[EMAIL PROTECTED] wrote: OK, I've asked this question four weeks in a row and received no response whatsoever. This happens. So what? Nobody _promised_ you anything. Linux is supposed to be the OS where you can turn to the newsgroups/IRC and get able help. Linux is the os where you

Re: softirq question

2001-05-23 Thread Andi Kleen
On Wed, May 23, 2001 at 12:26:49PM +0200, Aviv Greenberg wrote: Hi, Is it possible to enter into sleep mode ( current-state = !RUNNING schedule(_timeout)) from a softirq ? No. It is not a real hardware interrupt after all, but it still runs in the context of a running process

Re: Linux 2.4.4-ac14

2001-05-23 Thread Olivier Galibert
On Wed, May 23, 2001 at 07:07:38PM +1000, Keith Owens wrote: On Wed, 23 May 2001 09:17:08 +0200 (CEST), Geert Uytterhoeven [EMAIL PROTECTED] wrote: On Wed, 23 May 2001, Keith Owens wrote: Is drivers/char/ser_a2232fw.ax supposed to be included? Nothing uses it. It's the source for the

Re: O_TRUNC problem on a full filesystem

2001-05-23 Thread Andrew Morton
Manas Garg wrote: I am not sure if it should be classified as a bug, that's why I am calling it a problem. Here is the description: It works fine with ext3 :) That's because ext3 has per-file block preallocation disabled. When you truncated your file, the blocks remained preallocated on

Kernel 2.4.x TODO

2001-05-23 Thread Martin . Garton
All, Was the TODO list at http://linux24.sourceforge.net just meant to be useful before 2.4.0 was released? It seems to me that it would still be useful for (amongst other things) potential kernel hackers looking for something to have a stab at but it doesn't seem to up to date. Is it still

Re: Linux 2.4.4-ac14

2001-05-23 Thread Keith Owens
On Wed, 23 May 2001 05:36:20 -0400, Olivier Galibert [EMAIL PROTECTED] wrote: On Wed, May 23, 2001 at 07:07:38PM +1000, Keith Owens wrote: What is the point of including it in the kernel source tree without the code to convert it to ser_a2232fw.h? Nobody can use ser_a2232fw.ax, it is just

Re: Linux 2.4.4-ac14

2001-05-23 Thread David Weinehall
On Wed, May 23, 2001 at 05:36:20AM -0400, Olivier Galibert wrote: On Wed, May 23, 2001 at 07:07:38PM +1000, Keith Owens wrote: On Wed, 23 May 2001 09:17:08 +0200 (CEST), Geert Uytterhoeven [EMAIL PROTECTED] wrote: On Wed, 23 May 2001, Keith Owens wrote: Is drivers/char/ser_a2232fw.ax

Re: softirq question

2001-05-23 Thread Studierende der Universitaet des Saarlandes
Is it possible to enter into sleep mode ( current-state = !RUNNING schedule(_timeout)) from a softirq ? calling schedule() causes a panic() in schedule(), and even an innocent current-state = TASK_RUNNING; from an softirq causes runqueue corruptions.[you must use

Request for comments on a thesis about Linux vs. IRIX, Solaris, AIX, HP-UX, and Tru64 UNIX.

2001-05-23 Thread Cesar Da Silva
Hi! I'm looking for some help on reviewing my thesis about comparing the kernel functions/features in Linux, HP-UX, Solaris, IRIX, AIX, and Tru64 UNIX. I would appreciate if you also could point out some other features that I should add to my list (in the tables, on page 25-28 on the postscript

Re: Kernel 2.4.x TODO

2001-05-23 Thread André Dahlqvist
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Was the TODO list at http://linux24.sourceforge.net just meant to be useful before 2.4.0 was released? It would be interesting to know how many of these issues have been fixed by now. -- André Dahlqvist [EMAIL PROTECTED] - To unsubscribe from this

Re: [Re: __asm__ ]

2001-05-23 Thread David Howells
Okay, current is a macro on i386 that expands to get_current(). This gets the task_struct for the task currently running on the CPU executing the code. It does this by masking out the bottom bits of its kernel stack pointer. For example, assuming that some running process has the following

Re: kernel oops with 2.4.3-xfs

2001-05-23 Thread Steve Lord
Hmm, we 'released' version 1 of XFS against a 2.4.2 base - and packaged it into a RedHat 7.1 Kernel RPM, we also have a development CVS tree currently running at 2.4.4. If you are running a production server with what you describe below, you might want to switch to one of the other two kernels I

Re: Getting FS access events

2001-05-23 Thread Stephen C. Tweedie
Hi, On Sat, May 19, 2001 at 12:47:15PM -0700, Linus Torvalds wrote: On Sat, 19 May 2001, Pavel Machek wrote: Don't get _too_ hung up about the power-management kind of invisible suspend/resume sequence where you resume the whole kernel state. Ugh. Now I'm confused. How do you do

Re: Getting FS access events

2001-05-23 Thread Stephen C. Tweedie
Hi, On Tue, May 15, 2001 at 04:37:01PM +1200, Chris Wedgwood wrote: On Sun, May 13, 2001 at 08:39:23PM -0600, Richard Gooch wrote: Yeah, we need a decent unfragmenter. We can do that now with bmap(). SCT wrote a defragger for ext2 but it only handles 1k blocks :( Actually, I

Re: Getting FS access events

2001-05-23 Thread Stephen C. Tweedie
Hi, On Fri, May 18, 2001 at 09:55:14AM +0200, Rogier Wolff wrote: The boot quickly was an example. Load netscape quickly on some systems is done by dd-ing the binary to /dev/null. This is one of the reasons why some filesystems use extent maps instead of inode indirection trees. The

Re: [PATCH] struct char_device

2001-05-23 Thread Alan Cox
It is entirely possible to remove all partition table handling code from the kernel. User space can figure out where the partitions are supposed to be and tell the kernel. For the initial boot this user space can be in an initrd, or it could just be a boot parameter: rootdev=/dev/hda,

rwsems and asm-constraint gcc bug

2001-05-23 Thread David Howells
The bug in gcc 3.0 that stopped the inline asm constraints being interpreted properly, and thus prevented linux from compiling is now fixed. David - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH] struct char_device

2001-05-23 Thread Martin Dalecki
Linus Torvalds wrote: On Tue, 22 May 2001, Jeff Garzik wrote: IMHO it would be nice to (for 2.4) create wrappers for accessing the block arrays, so that we can more easily dispose of the arrays when 2.5 rolls around... No. We do not create wrappers so that we can easily change

Re: [PATCH] struct char_device

2001-05-23 Thread Helge Hafting
[EMAIL PROTECTED] wrote: From [EMAIL PROTECTED] Wed May 23 14:16:46 2001 It is entirely possible to remove all partition table handling code from the kernel. User space can figure out where the partitions are supposed to be and tell the kernel. For the initial

Re: [PATCH] struct char_device

2001-05-23 Thread Andries . Brouwer
But I don't want an initrd. Don't be afraid of words. You wouldnt notice - it would do its job and disappear just like piggyback today. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: Why side-effects on open(2) are evil. (was Re: [RFD w/info-PATCH]device arguments from lookup)

2001-05-23 Thread Daniel Phillips
On Wednesday 23 May 2001 06:19, Edgar Toernig wrote: Daniel Phillips wrote: On Tuesday 22 May 2001 17:24, Oliver Xymoron wrote: On Mon, 21 May 2001, Daniel Phillips wrote: On Monday 21 May 2001 19:16, Oliver Xymoron wrote: What I'd like to see: - An interface for

virus; do not open message with subject MAWANA

2001-05-23 Thread Heusden, Folkert van
(This message was BCC'd to multiple people) Hi, A sad event occured today; I accidently managed to get a virus sent trough my pc. Because of that, I'm sending this message to everyone in my addressbook since I'm not totally sure who got one (the virus), and who not. I'll take all care that this

sk_buff destructor in 2.2.18

2001-05-23 Thread christophe barbé
Hi all, I'm trying to figure out how to use the destructor function in the skbuff object. I've read (the source code and) the alan cox's article from linuxjournal but it refers to linux 2.0. Perhaps someone can tell me what's wrong in the following : Normally the rx code of a network driver do

Re: sk_buff destructor in 2.2.18

2001-05-23 Thread Andi Kleen
On Wed, May 23, 2001 at 04:16:54PM +0200, christophe barbé wrote: Hi all, I'm trying to figure out how to use the destructor function in the skbuff object. I've read (the source code and) the alan cox's article from linuxjournal but it refers to linux 2.0. Perhaps someone can tell me

Re: write drop behind effect on active scanning

2001-05-23 Thread Daniel Phillips
On Wednesday 23 May 2001 09:33, Marcelo Tosatti wrote: Hi, I just noticed a bad effect of write drop behind yesterday during some tests. The problem is that we deactivate written pages, thus making the inactive list become pretty big (full of unfreeable pages) under write intensive IO

[timer] max timeout

2001-05-23 Thread sebastien person
Hi, is there a max timeout to respect when I use mod_timer ? or add_timer ? Is it bad to do the following call ? mod_timer(timer, jiffies+(0.1*HZ)); that might fire the timer 1/10 second later. Thanks. sebastien person - To unsubscribe from this list: send the line unsubscribe

Re: sk_buff destructor in 2.2.18

2001-05-23 Thread christophe barbé
It seems to not be the case, because my destructor is called. Could you point me the code where you think this method is already used? Thank you for your answer, Christophe On Wed, 23 May 2001 16:27:39 Andi Kleen wrote: On Wed, May 23, 2001 at 04:16:54PM +0200, christophe barbé wrote: Hi

Re: [timer] max timeout

2001-05-23 Thread Andi Kleen
On Wed, May 23, 2001 at 04:28:01PM +0200, sebastien person wrote: Is it bad to do the following call ? mod_timer(timer, jiffies+(0.1*HZ)); Yes very bad. gcc will generate a floating point add for that, corrupting the user process' floating point context. -Andi - To unsubscribe from

Re: sk_buff destructor in 2.2.18

2001-05-23 Thread Andi Kleen
On Wed, May 23, 2001 at 04:37:58PM +0200, christophe barbé wrote: It seems to not be the case, because my destructor is called. It is called, but you overwrote the kernel destructor and therefore broke the socket memory accounting completely; causing all kinds of problems. Could you point me

2.4.4 kernel freeze

2001-05-23 Thread Stephan Brauss
Hello, I have an ASUS A7V133 (VIA VT8363A) with 5 PCI slots and I installed kernel 2.4.4. All runs fine when I only use PCI slots 1 to 3. When I use slots 4 or 5, the system freezes when data is passed to a device in one of these slots. I tested with a Promise Ultra100, an Intel Etherexpress Pro

Re: sk_buff destructor in 2.2.18

2001-05-23 Thread christophe barbé
I don't know about socket but I allocate myself the skbuff and I set the destructor (and previously the pointer value is NULL). So I don't overwrite a destructor. I believe net/core/sock.c is not involved in my problem but I can be wrong. What is worrying me is that I don't know who clones my

Re: sk_buff destructor in 2.2.18

2001-05-23 Thread Andi Kleen
On Wed, May 23, 2001 at 04:50:28PM +0200, christophe barbé wrote: I don't know about socket but I allocate myself the skbuff and I set the destructor (and previously the pointer value is NULL). So I don't overwrite a destructor. That just means you didn't test all cases; e.g. not TCP or UDP

Re: [timer] max timeout

2001-05-23 Thread Andrzej Krzysztofowicz
sebastien person wrote: Is it bad to do the following call ? mod_timer(timer, jiffies+(0.1*HZ)); Yes, it is bad. Don't use floating point in the kernel if you don't need. that might fire the timer 1/10 second later. HZ/10 is much better ... --

Re: write drop behind effect on active scanning

2001-05-23 Thread Marcelo Tosatti
On Wed, 23 May 2001, Daniel Phillips wrote: On Wednesday 23 May 2001 09:33, Marcelo Tosatti wrote: Hi, I just noticed a bad effect of write drop behind yesterday during some tests. The problem is that we deactivate written pages, thus making the inactive list become pretty big

Re: sk_buff destructor in 2.2.18

2001-05-23 Thread christophe barbé
I believe you and It's sure that I have not tested all cases. So do you see a way to use a private data buffer ? Christophe On Wed, 23 May 2001 16:55:57 Andi Kleen wrote: On Wed, May 23, 2001 at 04:50:28PM +0200, christophe barbé wrote: I don't know about socket but I allocate myself the

Re: sk_buff destructor in 2.2.18

2001-05-23 Thread Andi Kleen
On Wed, May 23, 2001 at 05:02:15PM +0200, christophe barbé wrote: I believe you and It's sure that I have not tested all cases. So do you see a way to use a private data buffer ? The only way I know currently is to keep skb-users = 1 and use a timer that collects such buffers from a global

Loopback, unable to release

2001-05-23 Thread Adam Schrotenboer
Using 2.4.4-ac3 (as well as in 2.4.3*) I have found it impossible to unmap a loopback strace losetup -d /dev/loop0 (relevant portion) open(/dev/loop0, O_RDONLY)= 3 ioctl(3, LOOP_CLR_FD, 0)= -1 EBUSY (Device or resource busy)

EFS problems?

2001-05-23 Thread Alexander Puchmayr
Hi List! I have a IRIX installation CD, which I want to export to some SGI workstation via NFS, using an SCSI-CDrom drive. When I try to access the data, i get several SCSI errors, IO-Errors and so on, regardless if via NFS or locally. Errors are: sym53c8xx_reset: pid=0 reset_flags=1

Re: [RFC][PATCH] Re: Linux 2.4.4-ac10

2001-05-23 Thread Rik van Riel
On Mon, 21 May 2001, David Weinehall wrote: IMVHO every developer involved in memory-management (and indeed, any software development; the authors of ntpd comes in mind here) should have a 386 with 4MB of RAM and some 16MB of swap. Nowadays I have the luxury of a 486 with 8MB of RAM and 32MB

Re: write drop behind effect on active scanning

2001-05-23 Thread Rik van Riel
On Wed, 23 May 2001, Marcelo Tosatti wrote: I just noticed a bad effect of write drop behind yesterday during some tests. The problem is that we deactivate written pages, thus making the inactive list become pretty big (full of unfreeable pages) under write intensive IO workloads. So

Re: bdflush/mm performance drop-out defect (more info)

2001-05-23 Thread null
On Tue, 22 May 2001, Jeffrey W. Baker wrote: In short, I'm not seeing this problem. I appreciate your attempt to duplicate the defect on your system. In my original post I quoted some conversation between Rick Van Riel and Alan Cox where they describe seeing the same symptoms under heavy load.

Re: debugging xterm.

2001-05-23 Thread Adam
gdb seems to get lost when calling getuid), any idea? Is there something special about getuid() I'm missing? (gdb) next 1612uid_t ruid = getuid(); 2: screen-respond = 1448543468 (gdb) next 1613gid_t rgid = getgid(); 2: screen-respond = Cannot access

How to time in Kernel

2001-05-23 Thread Srinivasan Venkatraman
Hi, I am trying to time a portion of code inside the kernel. How do I do it? Can I use do_gettimeofday ? or do_getitimer ? Any leads will be appreciated. Thanks in advance, -Srini. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

Re: bdflush/mm performance drop-out defect (more info)

2001-05-23 Thread null
post I quoted some conversation between Rick Van Riel and Alan Cox Oops. The least I can do is spell his name right. Sorry Rik. 8) Keep up the good work. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: Linux 2.4.4-ac14

2001-05-23 Thread Geert Uytterhoeven
On Wed, 23 May 2001, Keith Owens wrote: On Wed, 23 May 2001 05:36:20 -0400, Olivier Galibert [EMAIL PROTECTED] wrote: On Wed, May 23, 2001 at 07:07:38PM +1000, Keith Owens wrote: What is the point of including it in the kernel source tree without the code to convert it to ser_a2232fw.h?

bluetooth alternative

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

lot's of oops's on 2.4.4 in d_lookup/cached_lookup

2001-05-23 Thread Neulinger, Nathan
I've got a system monitoring box, running 2.4.4 with a few patches (ide, inode-nr_unused, max-readahead, knfsd, and a couple of basic tuning opts w/o code changes). Basically, the server runs anywhere from a few hours to a few days, but always seems to get to a point where it gets tons of the

Re: [RFC][PATCH] Re: Linux 2.4.4-ac10

2001-05-23 Thread Jonathan Morton
Time to hunt around for a 386 or 486 which is limited to such a small amount of RAM ;) I've got an old knackered 486DX/33 with 8Mb RAM (in 30-pin SIMMs, woohoo!), a flat CMOS battery, a 2Gb Maxtor HD that needs a low-level format every year, and no case. It isn't running anything right now...

Re: [RFC][PATCH] Re: Linux 2.4.4-ac10

2001-05-23 Thread Scott Anderson
David Weinehall wrote: IMVHO every developer involved in memory-management (and indeed, any software development; the authors of ntpd comes in mind here) should have a 386 with 4MB of RAM and some 16MB of swap. Nowadays I have the luxury of a 486 with 8MB of RAM and 32MB of swap as a

Re: [PATCH] struct char_device

2001-05-23 Thread Alexander Viro
On Wed, 23 May 2001 [EMAIL PROTECTED] wrote: But I don't want an initrd. Don't be afraid of words. You wouldnt notice - it would do its job and disappear just like piggyback today. Andries, initrd code is _sick_. Our boot sequence is not a wonder of elegance, but that crap is the worst

Re: [PATCH] struct char_device

2001-05-23 Thread Wayne . Brown
[EMAIL PROTECTED] on 05/23/2001 08:34:44 AM To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] cc:(bcc: Wayne Brown/Corporate/Altec) Subject: Re: [PATCH] struct char_device But I don't want an initrd. Don't be afraid of words. You wouldnt notice - it would do its job

Re: DVD blockdevice buffers

2001-05-23 Thread Stephen C. Tweedie
Hi, On Sat, May 19, 2001 at 07:36:07PM -0700, Linus Torvalds wrote: Right now we don't try to aggressively drop streaming pages, but it's possible. Using raw devices is a silly work-around that should not be needed, and this load shows a real problem in current Linux (one soon to be fixed,

Re: 2.4.4 kernel freeze

2001-05-23 Thread Stephan Brauss
Hello, what do you mean by freeze? in theory, the fact that the irq I cannot ping the machine anymore, no Ooops, no kernel messages, the attached screen is freezed (which implies that no more interrupts are handled, right?) for those slots is shared with arbitrary onboard peripherals

Re: DVD blockdevice buffers

2001-05-23 Thread Linus Torvalds
On Wed, 23 May 2001, Stephen C. Tweedie wrote: Right. I'd like to see buffered IO able to work well --- apart from the VM issues, it's the easiest way to allow the application to take advantage of readahead. However, there's one sticking point we encountered, which is applications which

Swap strangeness using 2.4.5pre2aa1

2001-05-23 Thread G. Hugh Song
My Alpha/LInux UP2000 SMP with 1GB memory is running kernel 2.4.5pre2aa1. I have been observing some strangeness with Swap usage quite recently (in fact since 2.4.4). Unfortunately, the kernel was made using gcc-2.95.2-136.alpha.rpm provided by SuSE-7.0. The following is the output from free

Re: Selectively refusing TCP connections

2001-05-23 Thread Andi Kleen
On Wed, May 23, 2001 at 06:59:02PM +0100, Ben Mansell wrote: Hi all, Is there any mechanism in Linux for refusing incoming TCP connections? I'd like to be able to fetch the next incoming connection on a listen queue, and selectively accept or reject it based on the IP address of the

Re: [PATCH] struct char_device

2001-05-23 Thread Andries . Brouwer
Andries, initrd code is _sick_. Oh, but the fact that there exists a bad implementation does not mean the idea is wrong. It is really easy to make an elegant implementation. Andries - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL

RE: lot's of oops's on 2.4.4 in d_lookup/cached_lookup

2001-05-23 Thread Neulinger, Nathan
I'm trying a build of 2.4.5pre5 without the knfsd or the ide patches and will see if this still happens. My only other local changes should all be innocuous: --- drivers/char/console.c.orig Sat Apr 7 13:40:41 2001 +++ drivers/char/console.c Sat Apr 7 13:41:27 2001 @@ -2678,7 +2678,9 @@

Re: [PATCH] struct char_device

2001-05-23 Thread Alexander Viro
On Wed, 23 May 2001 [EMAIL PROTECTED] wrote: Andries, initrd code is _sick_. Oh, but the fact that there exists a bad implementation does not mean the idea is wrong. It is really easy to make an elegant implementation. Andries, I've been doing cleanups of that logics (see

Re: lot's of oops's on 2.4.4 in d_lookup/cached_lookup

2001-05-23 Thread Alexander Viro
On Wed, 23 May 2001, Neulinger, Nathan wrote: I've got a system monitoring box, running 2.4.4 with a few patches (ide, inode-nr_unused, max-readahead, knfsd, and a couple of basic tuning opts w/o code changes). Basically, the server runs anywhere from a few hours to a few days, but always

Linux 2.4.4-ac15

2001-05-23 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ Intermediate diffs are available from http://www.bzimage.org 2.4.4-ac15 o Merge Linus 2.4.5pre5 | Also fixes a dumb bug in my mmx fixups I | managed to forget to test

Re: Swap strangeness using 2.4.5pre2aa1

2001-05-23 Thread Andrea Arcangeli
On Thu, May 24, 2001 at 03:16:48AM +0900, G. Hugh Song wrote: The following is the output from free = total used free sharedbuffers cached Mem: 10231281015640 7488

nfs mount by label not working.

2001-05-23 Thread Dave Mielke
Using kernel 2.2.17-14 as supplied by RedHat, and using mount from mount-2.9u-4, mounting by label using the -L option does not work. mount -L backup1 /a mount: no such partition found The mount man page says that /proc/partitions must exist. ls -l /proc/partitions -r--r--r--

IPv6 implementation in kernel 2.4.4 oopses

2001-05-23 Thread David Gordon (LMC)
Hi, Can I be cc'ed at [EMAIL PROTECTED] (as per a normal reply) ? Thank you. Included at the end is the ksymoops output after the crash (one of them anyhow :-) My setup involves 2 PII installed with Linux RedHat 7.0 and 2.4.4 kernel with IPv6 enabled: CONFIG_EXPERIMENTAL=y CONFIG_IPV6=y

Re: IPv6 implementation in kernel 2.4.4 oopses

2001-05-23 Thread Andi Kleen
EIP; c0237bc4 ipv6_addr_type+4/e0 = Problem is already fixed in the latest pre kernels. -Andi - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: IPv6 implementation in kernel 2.4.4 oopses

2001-05-23 Thread David Gordon (LMC)
EIP; c0237bc4 ipv6_addr_type+4/e0 = What exactly was the problem that was fixed in the latest pre kernel ? David - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: DVD blockdevice buffers

2001-05-23 Thread Stephen C. Tweedie
Hi, On Wed, May 23, 2001 at 11:12:00AM -0700, Linus Torvalds wrote: On Wed, 23 May 2001, Stephen C. Tweedie wrote: No, you can actually do all the prepare_write()/commit_write() stuff that the filesystems already do. And you can do it a lot _better_ than the current buffer-cache-based

Re: DVD blockdevice buffers

2001-05-23 Thread Linus Torvalds
On Wed, 23 May 2001, Stephen C. Tweedie wrote: that the filesystems already do. And you can do it a lot _better_ than the current buffer-cache-based approach. Done right, you can actually do all IO in page-sized chunks, BUT fall down on sector-sized things for the cases where you want

Re: [PATCH] struct char_device

2001-05-23 Thread Andries . Brouwer
Besides, just on general principles, we'd better have clean interface for changing partitioning It is not quite clear to me what you are arguing for or against. But never mind - I'll leave few hours from now. When the time is there I'll show you an implementation, and if you don't like it,

Re: IPv6 implementation in kernel 2.4.4 oopses

2001-05-23 Thread Andi Kleen
On Wed, May 23, 2001 at 03:56:35PM -0400, David Gordon (LMC) wrote: EIP; c0237bc4 ipv6_addr_type+4/e0 = What exactly was the problem that was fixed in the latest pre kernel ? A coding mistake was fixed. Here is the patch if you're interested (cut'n'pasted so not applicable) RCS

Re: nfs mount by label not working.

2001-05-23 Thread Tim Moore
v2.10r works. [tim@abit tim]# mount -V mount: mount-2.10r [tim@abit tim]# tune2fs -L spare /dev/hda10 tune2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09 [tim@abit tim]# mount -L spare /mnt [tim@abit tim]# df /mnt Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda10

Re: DVD blockdevice buffers

2001-05-23 Thread Jeff Garzik
Linus Torvalds wrote: Now, it may be that the preliminary patches from Andrea do not work this way. I didn't look at them too closely, and I assume that Andrea basically made the block-size be the same as the page size. That's how I would have done it (and then waited for people to find real

[PATCH] hga depmod fix

2001-05-23 Thread Juan Quintela
Hi if you compile hga as a module, you get unresolved symbols, you need the following patch for it. The patch is trivial. Apply, please. Later, Juan. --- linux/drivers/video/hgafb.c.~1~ Mon May 21 08:56:08 2001 +++ linux/drivers/video/hgafb.c Mon May 21 09:04:00

Re: HUGE contiguous mem space with 2.4

2001-05-23 Thread Jeff Hartmann
Christophe Beaumont wrote: Hi... I am facing an odd problem here. I have an application here that requires a HUGE physically contiguous memory area to be locked (yes, I have hardware DMA'ing in and out of that area, over the PCI bus). HUGE being like one Gig (could be more if needed...)

Re: Boot Problem

2001-05-23 Thread David N. Lombard
Patric Mrawek wrote: Hi, sometimes one of my servers doesn't boot correctly. Lilo reads the kernel-image, but doesn't decompress it. So the system won't continue booting. Looks like: Loading linux... (at this point the machine freezes) Our experience of this has been

Re: nfs mount by label not working.

2001-05-23 Thread Guest section DW
On Wed, May 23, 2001 at 03:11:41PM -0400, Dave Mielke wrote: Using kernel 2.2.17-14 as supplied by RedHat, and using mount from mount-2.9u-4, mounting by label using the -L option does not work. mount -L backup1 /a mount: no such partition found The mount man page says that

Re: Boot Problem

2001-05-23 Thread Jeff Golds
David N. Lombard wrote: Patric Mrawek wrote: Hi, sometimes one of my servers doesn't boot correctly. Lilo reads the kernel-image, but doesn't decompress it. So the system won't continue booting. Looks like: Loading linux... (at this point the machine

Re: nfs mount by label not working.

2001-05-23 Thread Dave Mielke
[quoted lines by Guest section DW on May 23, 2001, at 23:12] (i) Your version is ancient, but it might be good enough. mount -V mount: mount-2.9u (ii) Labels as used in mount -L label are ext2 labels only (well, xfs also works if I recall correctly) I set the labels with e2label.

Re: tulip driver BROKEN in 2.4.5-pre4

2001-05-23 Thread Lukasz Trabinski
In article [EMAIL PROTECTED] you wrote: Okay, so Jeff Garzik already knows about this - I told him last week - but seeing as how the code has made it to a Linus pre-release without a fix I thought I'd better post the breakage description to l-k! Try drivers from

Busy on BLKFLSBUF w/initrd

2001-05-23 Thread Maciek Nowacki
Hi, I have continuing problems with getting the initrd ramdisk out of memory once bootup is complete. This is with recent -ac kernels which have the fix-up posted a few months ago applied. The sequence is roughly: - boot via pxelinux, loads up bzImage 1MB and root.romfs.gz ~7MB, expands to

  1   2   3   4   >