Re: a quest for a better scheduler

2001-04-04 Thread alad
If we are facing these problems for "normal case" then hope the Solaris is handling it !! Amol Fabio Riccardi [EMAIL PROTECTED] on 04/04/2001 07:03:57 AM To: Alan Cox [EMAIL PROTECTED] cc: [EMAIL PROTECTED] (bcc: Amol Lad/HSS) Subject: Re: a quest for a better scheduler Alan,

get_pid() : enahancement

2001-04-04 Thread alad
In 2.4 kernel we now have no limit on the number of tasks running on a system (no NR_TASKS anymore)... I was just wondering on the efficiency of get_pid() implemetation... Although 'next_safe' concept in this function seems useful but I think we now need a robust PID allocator.. We can have a

Re: Basic Text Mode (was: Re: Question about SysRq)

2001-04-04 Thread Boris Pisarcik
Some stupid questions about videomem: 1) How do 2 or more X servers, or svgalibbed apps share the same physical video memory ? Does it get saved to ram when switching between them ? 2) Does console switching (gfx or text) save and restore all registers of videocard in kernel ? Or kernel only

Re: Basic Text Mode (was: Re: Question about SysRq)

2001-04-04 Thread Boris Pisarcik
It is a very good idea, and to implement quite easy. You just do have to diff between three types of video cards (MDA, MGA and HGC vs. CGA and AGA vs. EGA+). Then you do direct register writes. For the HGC I did it recently in a DOS proggy which switched from text to gfx and back. I had a TSR

2.4.3 vanilla: errors building modules

2001-04-04 Thread Robert-Velisav MICIOVICI
Errors building the following: 1) gcc -D__KERNEL__ -I/usr/src/linux-2.4.3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.3/include/linux/modversions.h -c -o

2.4.3 : Are all 2.4.2-acXX patches included?

2001-04-04 Thread Thomas Foerster
Hi folks, i wonder if every ac-XX patch from the 2.4.2 Kernel is included in the new 2.4.3 kernel so that every bug in 2.4.2 has been fixed in 2.4.3 ? Thanx a lot, Thomas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED]

Re: [RFC][PATCH] Debug Register Allocation on x86

2001-04-04 Thread r1vamsi
Hello Jim, We have modified ptrace() such that it first allocates the debug register before it is used. So, yes, if a debugger is using ptrace() interface it need not be concerned about this centralised debug register allocation scheme, the debug register allocation actually happens behind the

Re: uninteruptable sleep (D state = load_avrg++)

2001-04-04 Thread christophe barbe
Sorry if I fork a bit the thread but I'm wondering why the load average is incremented for each D process. I don't know if the kernel use this information (if yes please let me know). But some programs like sendmail use this information to sleep when the load is too high (I believe from 12 for

Re: [Linux-fbdev-devel] Re: fbcon slowness [was NTP on 2.4.2?]

2001-04-04 Thread Eric W. Biederman
Alan Cox [EMAIL PROTECTED] writes: The MMX memcpy for CyrixIII and Athlon boxes is something like twice the speed of rep movs. On most pentium II/III boxes the fast paths for rep movs and for MMX are the same speed As long as you are copying in real memory. So the PCI bus or the

Re: a quest for a better scheduler

2001-04-04 Thread Ingo Molnar
On Tue, 3 Apr 2001, Fabio Riccardi wrote: I've spent my afternoon running some benchmarks to see if MQ patches would degrade performance in the "normal case". no doubt priority-queue can run almost as fast as the current scheduler. What i'm worried about is the restriction of the 'priority'

Xserver fails on second run with 2.4.3.

2001-04-04 Thread Amir Hardon
Hello all, I've just installed the new kernel, And I noticed something wierd: When I'm running X it works Ok, but when I log out of it, and runs it again, it gives me an error about fixed fonts, If I'm rebooting it will work again(Only one time per boot). With the 2.2.3 kernel it works Ok.

Re: 2.4.3 : Are all 2.4.2-acXX patches included?

2001-04-04 Thread Steffen Moser
Hello Thomas, Thomas Foerster wrote: i wonder if every ac-XX patch from the 2.4.2 Kernel is included in the new 2.4.3 kernel so that every bug in 2.4.2 has been fixed in 2.4.3 ? No, I don't think so - they are different trees. If you want Alan's latest patches against "2.4.3", you can

Re: More about 2.4.3 timer problems

2001-04-04 Thread Eric Gillespie
Err, tried the patch you recommended me to apply to the 2.4.3 source code (not the 2.4.3-pre6), but everything else started complaining it couldn't see printk() any more. Any advice? Thanks... -- /| _,.:*^*:., |\ Cheers from the Viking family, | |_/' viking@ `\_| |

PThreads in kernel module network interface

2001-04-04 Thread Remko van der Vossen
Hi Guys, I'm new to this list, so let me introduce myself first, I'm Remko van der Vossen from Holland, I work for CMG in an internship at the moment. CMG Eindhoven wants me to set up a project. This project involves making a TCP/IP implementation for embedded systems. As it is way too hard to

Re: RFC: configuring net interfaces

2001-04-04 Thread Francois Romieu
Krzysztof Halasa [EMAIL PROTECTED] crit : [...] But it's still more complicated than the first one and I'm not sure if doing that is worth it struc sub_req { int sub_ioctl; ... as we lose 4 bytes here (currently the union of structs in ifreq is limited to 16 bytes) I missed

Re: [SOLVED]Re: 2.2.19 ppa: total lockup. No problem with 2.2.17

2001-04-04 Thread Tim Waugh
On Wed, Apr 04, 2001 at 12:59:33AM +0200, Juan wrote: I have the same problem in two different machines but they both are UP. However, my kernel configuration has SMP support enabled. Could you build a kernel without SMP support and see if the problem still happens? options parport_pc

Re: 2.4.3 irq routing conflict (VIA chipset)

2001-04-04 Thread Rasmus Bøg Hansen
On Tue, 3 Apr 2001, Tim Pepper wrote: I know there was a thread on this previously and I was thinking it had been resolved (or was that only for a specific mobo mfg?). When I finally got my VIA chipset machine up to date with a 2.4.3 kernel I noticed the following on boot up: I get a like

Re: [Linux-fbdev-devel] Re: fbcon slowness [was NTP on 2.4.2?]

2001-04-04 Thread Jamie Lokier
Eric W. Biederman wrote: I don't know if it applies to this case but one thing I have seen make a noticeable difference is whether or not write-combining is enabled. If we have only be enabling MTRR's for intel this could do account for it. And on some laptops, even on Intel MTRRs are not

loopback mount won't umount on 2.2.12

2001-04-04 Thread Khyron
Okay, I've seen various references to problems with loopback mounts under (early) 2.2.x kernels. But I don't see any reference to a solution (ie. how to umount the stupid thing). My situation is that I have mounted a CD image on a machine for use in kickstart builds. The mount point is

RE: 2048 byte/sector problems with kernel 2.4

2001-04-04 Thread Giuliano Pochini
I recently acquired a 1.3GB MO drive. When I use small (230MB and 540MB) MO disks which have normal 512 bytes/sector it all works flawlessly but as soon as a put in a 1.3GB disk which uses the 2048 bytes/sector format it all goes wrong. As soon as I write something to the disk by issuing

Re: ReiserFS? How reliable is it? Is this the future?

2001-04-04 Thread Ookhoi
Hi Harald, If I get the DVD stuff working, then I won't need NT anymore, i.e. I will have an empty disk. What is your impression about ReiserFS? Does it work? Is it stable enough for my daily work, or is it something to try out and watch carefully? Do you use ReiserFS for your boot

Re: get_pid() : enahancement

2001-04-04 Thread Alan Cox
I was just wondering on the efficiency of get_pid() implemetation... Although 'next_safe' concept in this function seems useful but I think we now need a robust PID allocator.. get_pid() isnt showing up on kernel profile runs I've seen, and that doesn't actually suprise me. Its not a normal

Re: a question about block device driver

2001-04-04 Thread Alan Cox
Thank you very much for your help. In the linux kernel version 2.4.X, Does anybody mount a hard drive with MSDOS type file system ?? yes When I mount this hard drive using the command : mount -t msdos /dev/hda1 /mnt/hd -o blocksize=1024 After mounting a hard disk, I read a file

Re: console.c unblank_screen problem

2001-04-04 Thread Mikael Pettersson
On Sun, 25 Mar 2001 18:40:03 +0200, Benjamin Herrenschmidt wrote: There is a problem with the power management code for console.c The current code calls do_blank_screen(0); on PM_SUSPEND, and unblank_screen() on PM_RESUME. The problem happens when X is the current display while putting the

Re: uninteruptable sleep (D state = load_avrg++)

2001-04-04 Thread Alan Cox
The file locking use real IO and so when you ask for a lock, if the loc= k is already owned, you fall in a D state. That seems odd. They should be using interruptible sleeps so you can interrupt the task waiting for the lock, surely. - To unsubscribe from this list: send the line "unsubscribe

kernel BUG at page_alloc.c:75! / exit.c

2001-04-04 Thread ernte23
hi, I'm running the 2.4.3 kernel and my system always (!) crashes when I try to generate the "Linux kernel poster" from lgp.linuxcare.com.au. After working for one hour, the kernel printed this message: kernel BUG at page_alloc.c:75! invalid operand: CPU:0 EIP:

Re: uninteruptable sleep (D state = load_avrg++)

2001-04-04 Thread christophe barbe
The sleep should certainly be interruptible and I that's what I said to the GFS guy. But what the reason to increment the load average for each D process ? Thanks, Christophe On mer, 04 avr 2001 13:15:52 Alan Cox wrote: The file locking use real IO and so when you ask for a lock, if the loc=

Re: PThreads in kernel module network interface

2001-04-04 Thread Bart Trojanowski
On Wed, 4 Apr 2001, Remko van der Vossen wrote: second problem is that when I use the PThread functions from this module I need the pthread library. As you probably know gcc doesn't link the pthread library into the module, so I tried to do that with ld, that in itself worked, I successfully

Re: uninteruptable sleep (D state = load_avrg++)

2001-04-04 Thread Alan Cox
The sleep should certainly be interruptible and I that's what I said to t= he GFS guy. But what the reason to increment the load average for each D process ? D indicates short term I/O wait. This is how unix has always computed the laod average. - To unsubscribe from this list: send the line

Re: a quest for a better scheduler

2001-04-04 Thread Ingo Molnar
On Tue, 3 Apr 2001, Fabio Riccardi wrote: I agree that a better threading model would surely help in a web server, but to me this is not an excuse to live up with a broken scheduler. believe me, there are many other parts of the kernel that are not optimized for the nutcase. In this case

Re: a quest for a better scheduler

2001-04-04 Thread Ingo Molnar
On Wed, 4 Apr 2001, Alan Cox wrote: The problem has always been - alternative scheduler, crappier performance for 2 tasks running (which is most boxes). [...] it's not only the 2-task case, but also less flexibility or lost semantics. Indeed. I'd love to see you beat tux entirely in

Re: 2.4.3 freeze under heavy writing + open rxvt

2001-04-04 Thread Athanasius
On Tue, Apr 03, 2001 at 11:02:51PM -0400, John Jasen wrote: On Tue, 3 Apr 2001, Simon Kirby wrote: Three times now I've had 2.4.3 freeze on my dual CPU box while doing a "dd if=/dev/zero of=/dev/hdc bs=1024k" (a drive to be RMA'd :)). I got bored and opened an rxvt, and as the machine

Re: pcnet32 (maybe more) hosed in 2.4.3

2001-04-04 Thread Carsten Langgaard
I'm not sure what the problem is, but the whole deal about checking whether the controller runs in 16 bit or 32 bit mode, is a little bit tricky. There doesn't seem to be a clean way to do the check, so it's done by writing a certain pattern to a register and read it back again. Doing the check

Re: a quest for a better scheduler

2001-04-04 Thread Hubertus Franke
This is an important point that Mike is raising and it also addresses a critique that Ingo issued yesterday, namely interactivity and fairness. The HP scheduler completely separates the per-CPU runqueues and does not take preemption goodness or alike into account. This can lead to unfair

[PATCH] Fujitsu ATM FireStream

2001-04-04 Thread Patrick van de Lageweg
Hi, This patch fixes a problem the the firestream card and adds support for atm aal2 mode. This is a patch against the 2.4.0 tree and not agains 2.4.3 because we're having trouble whith the ixj driver in 2.4.3. Patrick diff -u linux-2.4.0.clean/drivers/atm/firestream.c

strange problem when printing to STDOUT

2001-04-04 Thread Armin L. Schneider
Hello, sorry, this might be a beginner question, but I couldn't find any infos in the FAQ. I'm writing a driver (module) for a PCI card with a neural processor (NP-processor) on it for kernel 2.4.1. The registers of this processor are mapped to a memory area. When I probe for the device, I

Re: a quest for a better scheduler

2001-04-04 Thread Hubertus Franke
I grant you that the code is not as clean as the current scheduler, so maybe you missed that part. For the priority scheduler: Yes the task_to_qid assumes a NON-affinity (no cpu, no mm) to determine the list index to where the task has to be enqueued. However, if you wonder down to the

IDE RAID Hardware Advice

2001-04-04 Thread John Kodis
I'll be assembling a terabyte of IDE RAID network attached storage, and was looking for some advice on: - best supported and most reliable multi-channel IDE controller; - best supported and most reliable NFS implementation; - any other random advise about things to do or not do in

possible problem with moxa intellio driver in 2.4.x kernels

2001-04-04 Thread Daniellek
I have MOXA C218Turbo PCI card, in the moment i have 4 leased lines connected to it (all of them 115200). Form time to time (2 times a day, sometimes 1 time/2 days - seems random), one or more ports looks like there're dead... Pppd is loaded, interface is up, but there's no activity on port (i

random PIDs

2001-04-04 Thread Heusden, Folkert van
Finished tested my random PID kernel/fork.c:get_pid() replacement. This one keeps track of the last N (default is 64) pids who have exited. These are then not used. So, one cannot have more then 32767 - (64 + 1 (init) + 1 (idle)) = 32761 processes :o) I know that it was all implemented before,

Re: uninteruptable sleep (D state = load_avrg++)

2001-04-04 Thread Paul Jakma
On Wed, 4 Apr 2001, christophe barbe wrote: The sleep should certainly be interruptible and I that's what I said to the GFS guy. But what the reason to increment the load average for each D process ? from a philosical POV: they are processes that will be runnable as soon as the kernel

gcc problem when compiling module?

2001-04-04 Thread Anders Lindén
Hi, I had problems with compiling a piece of code with gcc. It seems to produce asm output (for the gnu assembler) that it incorrect! The reason that I post this in linux-kernel is that it _may_ be an error cause of a header file in the linux-2.4.3 kernel. (I suspect asm/uaccess.h a lot). The

Re: random PIDs

2001-04-04 Thread David Weinehall
On Wed, Apr 04, 2001 at 04:17:45PM +0200, Heusden, Folkert van wrote: Finished tested my random PID kernel/fork.c:get_pid() replacement. This one keeps track of the last N (default is 64) pids who have exited. These are then not used. So, one cannot have more then 32767 - (64 + 1 (init) + 1

Re: a quest for a better scheduler

2001-04-04 Thread Ingo Molnar
On Wed, 4 Apr 2001, Hubertus Franke wrote: I understand the dilemma that the Linux scheduler is in, namely satisfy the low end at all cost. [...] nope. The goal is to satisfy runnable processes in the range of NR_CPUS. You are playing word games by suggesting that the current behavior

Re: a quest for a better scheduler

2001-04-04 Thread Ingo Molnar
On Wed, 4 Apr 2001, Hubertus Franke wrote: It is not clear that yielding the same decision as the current scheduler is the ultimate goal to shoot for, but it allows comparision. obviously the current scheduler is not cast into stone, it never was, never will be. but determining whether the

Re: uninteruptable sleep (D state = load_avrg++)

2001-04-04 Thread christophe barbe
skip I've unfortunately no significant Unix culture. I'm certainly young enough to be excused and by luck Linux shows me the road to the hacker heaven. So now I move forward the good direction, trying to understand the POSIX stuff /skip From me, a POV without technical reasons is not a

RE: random PIDs

2001-04-04 Thread Heusden, Folkert van
Finished tested my random PID kernel/fork.c:get_pid() replacement. This one keeps track of the last N (default is 64) pids who have exited. These are then not used. So, one cannot have more then 32767 - (64 + 1 (init) + 1 (idle)) = 32761 processes :o) DW Huh, should be 32701, right?! You're

Re: uninteruptable sleep (D state = load_avrg++)

2001-04-04 Thread Paul Jakma
On Wed, 4 Apr 2001, christophe barbe wrote: From me, a POV without technical reasons is not a philosical one but more certainly an historical one. there may be (and indeed probably are) good technical reasons, however i am not well enough informed to say what they are. Process that will be

linux terminal type

2001-04-04 Thread Mark Lehrer
Is there any documentation on ths linux console terminal type? If so, where? Thanks, Mark - 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

Re: a quest for a better scheduler

2001-04-04 Thread Andrea Arcangeli
On Wed, Apr 04, 2001 at 03:34:22PM +0200, Ingo Molnar wrote: On Wed, 4 Apr 2001, Hubertus Franke wrote: Another point to raise is that the current scheduler does a exhaustive search for the "best" task to run. It touches every process in the runqueue. this is ok if the runqueue length

Re: uninteruptable sleep (D state = load_avrg++)

2001-04-04 Thread christophe barbe
On mer, 04 avr 2001 17:05:05 Paul Jakma wrote: imagine a box with a bunch of processes that do almost nothing but call on the kernel to do IO. If you only count the runnable state towards load_avg then your load_avg will be very low, even though your box is swamped - you are ignoring the work

Re: a quest for a better scheduler

2001-04-04 Thread Andrea Arcangeli
On Wed, Apr 04, 2001 at 10:03:10AM -0400, Hubertus Franke wrote: I understand the dilemma that the Linux scheduler is in, namely satisfy the low end at all cost. [..] We can satisfy the low end by making the numa scheduler at compile time (that's what I did in my patch at least). Andrea - To

Re: pcnet32 (maybe more) hosed in 2.4.3

2001-04-04 Thread Wade Hampton
Carsten Langgaard wrote: I'm not sure what the problem is, but the whole deal about checking whether the controller runs in 16 bit or 32 bit mode, is a little bit tricky. [snip] Without the changes listed in this thread, 2.4.3 crashed vmware 2.0.3 Linux. It did not OOPS the kernel, it caused

rw_semaphore bug

2001-04-04 Thread David Howells
I've found a bug in the write path of the read/write semaphore stuff (at least for the i386 arch). The attached kernel module (rwsem.c) and driver program (driver.c) demonstrate it. What happens is that once the driver finishes, you end up with a whole load of processes forked off of driver that

Re: a quest for a better scheduler

2001-04-04 Thread Hubertus Franke
Yes, Andrea. We actually already went a step further. We treat the scheduler as a single entity, rather than splitting it up. Based on the MQ scheduler we do the balancing across all nodes at reschedule_idle time. We experimented to see whether only looking for idle tasks remotely is a good

Re: a quest for a better scheduler

2001-04-04 Thread Hubertus Franke
You imply that high end means thousands of processes, simply because we have shown that in our graphs as an asymptotic end. No, it could mean 5*#cpus and that is not all that absurd. This could happen with a spike in demand. TUX is not the greatest example to use, because it does static

2.2.19 toshiba option broken

2001-04-04 Thread Wade Hampton
On my toshiba laptop, I am trying to use 2.2.19. However, building it with the Toshiba Laptop option set to Y or M results in errors. The errors from setting it to M are: toshiba.c:81: toshiba.h: No such file or directory toshiba.c:156: parse error before `*' ... The fix is to edit

sscape.c modification

2001-04-04 Thread Ford Prefect
hello! i have been using a spea mediafx soundcard for quite some time now but recently faced a problem configuring the card. the card has a mic/line input that can be switched between mic mode (mono, 20db preamplification) and line mode (stereo, no preamp). since i recently aquired a tv-card i

Re: a quest for a better scheduler

2001-04-04 Thread Khalid Aziz
Hubertus Franke wrote: This is an important point that Mike is raising and it also addresses a critique that Ingo issued yesterday, namely interactivity and fairness. The HP scheduler completely separates the per-CPU runqueues and does not take preemption goodness or alike into account.

x86_64 syscall numbering

2001-04-04 Thread Andrea Arcangeli
I recently rewrote the syscall numbering for the x86_64 platform to optimize it at the cacheline usage level. If somebody wants to overview the numbering and give feedback or find something better that's welcome. We know we'll break the kernel API still at least once. I choosed the numbering in

Resend - [PATCH] Fix SMP lockup in usbdevfs

2001-04-04 Thread Tony Hoyle
This one didn't quite make 2.4.3, this time I've CC'd to AC. I've been using this fix for a few days now it's cleared up a lot of problems - although I'm not 100% sure why it worked (the memset should do the same job as the spin_lock_init surely?). Tony Original Message

processes stuck in D state

2001-04-04 Thread Pau Aliagas
Since 2.2.4-ac28 and 2.4.3 I keep on getting processes in D state that I cannot kill, usually mozilla or nautilus which use a large amount of RAM. Today is galeon: A ps -eo pid,stat,pcpu,nwchan,wchan=WIDE-WCHAN-COLUMN -o args shows the following: 11520 D 0.0 105db1 down_write_failed

Re: a quest for a better scheduler

2001-04-04 Thread Khalid Aziz
Andrea Arcangeli wrote: On Wed, Apr 04, 2001 at 10:03:10AM -0400, Hubertus Franke wrote: I understand the dilemma that the Linux scheduler is in, namely satisfy the low end at all cost. [..] We can satisfy the low end by making the numa scheduler at compile time (that's what I did in

Re: uninteruptable sleep

2001-04-04 Thread christophe barbe
This problem seems to be related with the recent post from David Howells [EMAIL PROTECTED] with the subject "rw_semaphore bug". Christophe On mar, 03 avr 2001 18:40:53 Manfred Spraul wrote: ps xl: F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND 040 1000 1230 1 9 0 24320 4

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-04 Thread Christoph Hellwig
On Wed, Apr 04, 2001 at 09:44:22AM -0600, Khalid Aziz wrote: Let me stress that HP scheduler is not meant to be a replacement for the current scheduler. The HP scheduler patch allows the current scheduler to be replaced by another scheduler by loading a module in special cases. HP also has a

Re: a quest for a better scheduler

2001-04-04 Thread Davide Libenzi
On 04-Apr-2001 Ingo Molnar wrote: On Tue, 3 Apr 2001, Fabio Riccardi wrote: I've spent my afternoon running some benchmarks to see if MQ patches would degrade performance in the "normal case". no doubt priority-queue can run almost as fast as the current scheduler. What i'm worried

[QUESTION] 2.4.x nice level

2001-04-04 Thread SodaPop
I too have noticed that nicing processes does not work nearly as effectively as I'd like it to. I run on an underpowered machine, and have had to stop running things such as seti because it steals too much cpu time, even when maximally niced. As an example, I can run mpg123 and a kernel build

Re: linux terminal type

2001-04-04 Thread Hacksaw
Look in section 4 of the man pages for entries starting with "console". console console_codes etc. - 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: [Lse-tech] Re: a quest for a better scheduler

2001-04-04 Thread Kanoj Sarcar
On Wed, 4 Apr 2001, Hubertus Franke wrote: Another point to raise is that the current scheduler does a exhaustive search for the "best" task to run. It touches every process in the runqueue. this is ok if the runqueue length is limited to a very small multiple of the #cpus. [...]

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-04 Thread Kanoj Sarcar
I didn't seen anything from Kanoj but I did something myself for the wildfire: ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.3aa1/10_numa-sched-1 this is mostly an userspace issue, not really intended as a kernel optimization (however it's also partly a

RE: IDE RAID Hardware Advice

2001-04-04 Thread David Christensen
I just came across a very good page on exactly the same issue. Have a look at http://www.research.att.com/~gjm/linux/ide-raid.html. David Christensen -Original Message- From: John Kodis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 04, 2001 7:04 AM To: [EMAIL PROTECTED] Subject:

2.4 kernel hangs on 486 machine at boot

2001-04-04 Thread Vik Heyndrickx
Hello, Problem: Linux kernel 2.4 consistently hangs at boot on 486 machine Shortly after lilo starts the kernel it hangs at the following message: Checking if this processor honours the WP bit even in supervisor mode... blinking cursor I experience this problem on a VLB AMD 486 DX/2-66 system.

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-04 Thread Andrea Arcangeli
On Wed, Apr 04, 2001 at 09:39:23AM -0700, Kanoj Sarcar wrote: example, for NUMA, we need to try hard to schedule a thread on the node that has most of its memory (for no reason other than to decrease memory latency). Independently, some NUMA machines build in multilevel caches and local

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-04 Thread Hubertus Franke
Kanoj, our cpu-pooling + loadbalancing allows you to do that. The system adminstrator can specify at runtime through a /proc filesystem interface the cpu-pool-size, whether loadbalacing should take place. We can put limiting to the local cpu-set during reschedule_idle back into the code, to

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-04 Thread Kanoj Sarcar
Kanoj, our cpu-pooling + loadbalancing allows you to do that. The system adminstrator can specify at runtime through a /proc filesystem interface the cpu-pool-size, whether loadbalacing should take place. Yes, I think this approach can support the various requirements put on the

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-04 Thread Andrea Arcangeli
On Wed, Apr 04, 2001 at 09:50:58AM -0700, Kanoj Sarcar wrote: I didn't seen anything from Kanoj but I did something myself for the wildfire: ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.3aa1/10_numa-sched-1 this is mostly an userspace issue, not

Re: a quest for a better scheduler

2001-04-04 Thread Hubertus Franke
Well put, this how we can eliminate searching all bins or lists and that's how we do it under. http://lse.sourceforge.net/scheduling/2.4.1-pre8-prioSched. If you have a list per priority level, then you can even pick the first one you find if its on the same level. That's what I tried in a more

Re: loopback mount won't umount on 2.2.12

2001-04-04 Thread J Sloan
Khyron wrote: Okay, I've seen various references to problems with loopback mounts under (early) 2.2.x kernels. But I don't see any reference to a solution (ie. how to umount the stupid thing). My situation is that I have mounted a CD image on a machine for use in kickstart builds. The

Re: a quest for a better scheduler

2001-04-04 Thread Mike Kravetz
On Tue, Apr 03, 2001 at 09:21:57PM -0700, Fabio Riccardi wrote: I was actually suspecting that the extra lines in your patch were there for a reason :) A few questions: What is the real impact of a (slight) change in scheduling semantics? Under which situation one should notice a

Re: linux terminal type

2001-04-04 Thread Ralf Baechle
On Tue, Apr 03, 2001 at 09:07:55PM -0600, Mark Lehrer wrote: Date: Tue, 3 Apr 2001 21:07:55 -0600 From: Mark Lehrer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: "linux" terminal type Is there any documentation on ths linux console terminal type? If so, where? Maybe cryptic

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-04 Thread Hubertus Franke
Correct, that's true. Our patch does various things. (a) limit search for a task to a admin specified set of cpu's during schedule().. (b) limits search for a preemptable task to another set of cpu's during reschedule_idle() need to reactivate this functionality 10 lines of code

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-04 Thread Paul McKenney
Just a quick comment. Andrea, unless your machine has some hardware that imply pernode runqueues will help (nodelevel caches etc), I fail to understand how this is helping you ... here's a simple theory though. If your system is lightly loaded, your pernode queues are actually implementing

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-04 Thread Kanoj Sarcar
It helps by keeping the task in the same node if it cannot keep it in the same cpu anymore. Assume task A is sleeping and it last run on cpu 8 node 2. It gets a wakeup and it gets running and for some reason cpu 8 is busy and there are other cpus idle in the system. Now with the current

Re: [Lse-tech] Re: a quest for a better scheduler

2001-04-04 Thread Andrea Arcangeli
On Wed, Apr 04, 2001 at 10:49:04AM -0700, Kanoj Sarcar wrote: Imagine that most of the program's memory is on node 1, it was scheduled on node 2 cpu 8 momentarily (maybe because kswapd ran on node 1, other higher priority processes took over other cpus on node 1, etc). Then, your patch

stick processes in 2.4.3 trace (alt-sysrq t)

2001-04-04 Thread Pau
Here's is the trace of a nautilus process in D state. I'm rebooting now in 2.4.3-ac2 to see if it still happens. Pau trace.bz2

Re: 2.4 kernel hangs on 486 machine at boot

2001-04-04 Thread Brian Gerst
Alan Cox wrote: Problem: Linux kernel 2.4 consistently hangs at boot on 486 machine Shortly after lilo starts the kernel it hangs at the following message: Checking if this processor honours the WP bit even in supervisor mode... blinking cursor Does this happen on 2.4.3-ac kernel

[Lse-tech] HP Plug In Policies vs Multiqueue Scheduler (fwd)

2001-04-04 Thread Scott Rhine
There has been a little cross talk lately about the "HP" schedulers that may be sowing some confusion. 1) Pluggable policies provides a minimally intrusive way to develop and test new scheduler policies such as Processor Sets, or the Fair Share Scheduler. It provides a good way to test a

nfs performance at high loads

2001-04-04 Thread Kapish K
Hello, We have been seeing some problems with running nfs benchmarks at very high loads and were wondering if somebody could show some pointers to where the problem lies. The system is a 2.4.0 kernel on a 6.2 Red at distribution ( so nfs utils from 6.2 and the nfsd of 2.4.0 ) -

Re: nfs performance at high loads

2001-04-04 Thread Alan Cox
We have been seeing some problems with running nfs benchmarks at very high loads and were wondering if somebody could show some pointers to where the problem lies. The system is a 2.4.0 kernel on a 6.2 Red at distribution ( so Use 2.2.19. The 2.4 VM is currently too broken to

linux 2.4.3 crashed my hard disk

2001-04-04 Thread Frank Cornelis
Hey, After I did put in /etc/sysconfig/harddisks USE_DMA=1 my system did crash very badly, I guess after my hard disks did wake up again. For I while I though I'd lose some sectors because of this, I had to re-install my RedHat 7.0, had a not so productive day :) But, hard disks are OK

mysqld [3.2.23] hangs when key_buffer ~256MB on [2.4.2-ac28+]

2001-04-04 Thread Vibol Hou
I initially upgraded my kernel from 2.4.2-ac5 to 2.4.3 and the first thing I noticed was that mysqld was stuck. Killing it left it hanging in a D state. Then I tried 2.4.2-ac28 (which I am using now), and the got the same result. My key_buffer was set to 256MB, so I figured maybe it was

Re: linux 2.4.3 crashed my hard disk

2001-04-04 Thread Alan Cox
After I did put in /etc/sysconfig/harddisks USE_DMA=1 my system did crash very badly, I guess after my hard disks did wake up So you forced DMA on BTW: my motherboard runs at 112 Mhz, overclocked, was 100 Mhz. and ran overclocked Been running this configuration over more than 2

Re: mysqld [3.2.23] hangs when key_buffer ~256MB on [2.4.2-ac28+]

2001-04-04 Thread Alan Cox
I initially upgraded my kernel from 2.4.2-ac5 to 2.4.3 and the first thing I noticed was that mysqld was stuck. Killing it left it hanging in a D state. Then I tried 2.4.2-ac28 (which I am using now), and the got the same result. I'd expect that bit. 2.4.2-ac28 basically has the same new

Re: a quest for a better scheduler

2001-04-04 Thread Hubertus Franke
I give you a concrete example: Running DB2 on an SMP system. In DB2 there is a processes/thread pool that is sized based on memory and numcpus. People tell me that the size of this pool is in the order of 100s for an 8-way system with reasonable sized database. These maxagents determine the

Re: Non keyboard trigger of Alt-SysRQ-S-U-B

2001-04-04 Thread Boris Pisarcik
If you have a serial console on the server, you can get sysrq by sending a serial break followed by the character. Hi, i've tried it with minicom and functioned : ctrl+a+F and key for function as in normal sysrq. This approach will probably not help you a lot thought, since you wouldn't

Re: Non keyboard trigger of Alt-SysRQ-S-U-B

2001-04-04 Thread Boris Pisarcik
Hi Nathan, I've just made an experimental module which offers syscall to privileged process, which internally translates itself into real sysrq handler (handle_sysrq) defined in drivers/char/sysrq.c. It occupates itself one of unussed linux system calls (concretely stty - no. 31). Makefile

Re: Compiling problem kernel 2.4.2

2001-04-04 Thread Boris Pisarcik
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -02 -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i486 -c -o init/main.o init/main.c gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -02 fomit-frame-pointer -fno-strict-aliasing -pipe

Re: Contacts within AMD? AMD-756 USB host-controller blacklisted due to

2001-04-04 Thread Thomas Dodd
Alan Cox wrote: David Brownell recently added this check to the usb-ohci driver since noone has gotten information from AMD for the workaround, which is rumored to exist, for this bug. Do any of you have contacts within AMD who might be able to get an explanation of the workaround

Another report of mozilla in D state, related to the 'uninterruptible sleep' thread

2001-04-04 Thread David Ford
Second time around, I didn't evoke any interest the first time. I reported it back on Mar/27. It is still an almost daily problem requiring a reboot. Mozilla gets stuck in down_write_failed. This time I'm sure it's not reiser's fault. # uname -r 2.4.3-pre8 mozilla-bin D C781849C 0

new aic7xxx driver problems

2001-04-04 Thread Giuliano Pochini
I have two Adaptec 2930CU (ultra narrow) cards. I modified the driver to make them work in ultra mode. The card connected to my CDROM and MO drive, operating at different bus clocks, does not behave well. Transfers stop often for 10-20 seconds and it spits out warnings like these: Apr 3

  1   2   3   4   >