scheduler

2000-10-25 Thread Anonymous
In redhat where is the process scheduler located? Does this scheduler implement round robin? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: test10-pre5 mount: Unable to handle kernel paging request at virtualaddress

2000-10-25 Thread David Dyck
On Wed, 25 Oct 2000, Brian Gerst wrote: David Dyck wrote: I am getting a repeatable oops during the boot up phase, with linux 2.4.0 test10-pre4 I'm seeing the same oops with test10-pre5. I don't get the error with 2.4.0-test9. Even a simple "mount /proc" command

Re: 2.4.0-test10pre5: still IDE lockups on HPT366 controller.

2000-10-25 Thread Mike Galbraith
On Tue, 24 Oct 2000, Anton Blanchard wrote: I've made a little progress fighting with bdflush. Can you please try this and see if it helps you? I have still to figure out why, but here, the first bdflush param _must_ be over 75 and under 90 to avoid zillions of context switches.

PATCH: 2.4.0-test10-pre5 mktime name collision fix

2000-10-25 Thread Adam J. Richter
2.4.0-test9 consolidated all of the duplicative declarations of mktime from various include/asm-.../ files into include/linux/time.h. This was the right thing to do, but a lot of C code includes linux/time.h, mostly older code, like the libc5 sources. This causes compiles of the effected

Re: Removal of get/put_module_symbol, 2.4

2000-10-25 Thread Paul Gortmaker
Keith Owens wrote: I started work on the removal of get/put_module_symbol and immediately hit problems, these functions are not being used the way we thought. [...] Unless somebody can come up with a good reason why they absolutely need get_module_symbol(), it will be removed. No harm in

RR

2000-10-25 Thread Joe Harrington
When having 5 proceeses {A, B, C, D ,E}, with run times A = 10 B = 6 C =2 D = 4 E = 8 Why does round robin do A - E - B - D - C, why not just use FIFO? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at

pointer to dev-hard_start_xmit() gets trashed in 2.4.0-test9

2000-10-25 Thread Hen, Shmulik
Hello, We are developing an advanced networking services loadable module and are having problems porting it to work on 2.4.x kernels. The driver is supposed to provide services such as fault tolerance, load balancing and link aggregation over a team of network adapters. It works OK on 2.2.x

mmap() question

2000-10-25 Thread Gbor Lnrt
Hi, Sorry for my stupid question, but I haven't got idea what the problem can be, and maybe you can help me. See the following fragment of C code: videobuffer=mmap(0,MAX_VIDEO_PACKET_SIZE,PROT_READ|PROT_WRITE,MAP_ANON|MAP_SHARED,-1,0); if (videobuffer==(void*)-1) { perror("mmap()");

VM kernel patch ?

2000-10-25 Thread J.A. Magallon
I have heard about the Andrea's patch to improve VM in kernels 2.2. Is this http://www.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/ 2.2.18pre9/VM* ? Has anybody tried it on post pre9 kernels ? Thanks. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: Patch for /proc/mounts problems on 2.2.x

2000-10-25 Thread Jeff Garzik
Christian Czezatke wrote: Unfortunately, I had to discover that /proc/mounts does not show all the mounting options (usrquota, grpquota). These options are ignored. linux/fs/ext2/super.c from 2.2.18-pre17: /* Silently ignore the quota options */ else if (!strcmp (this_char,

Re: Patch for /proc/mounts problems on 2.2.x

2000-10-25 Thread Andreas Haumer
Hi! Jeff Garzik wrote: Christian Czezatke wrote: Unfortunately, I had to discover that /proc/mounts does not show all the mounting options (usrquota, grpquota). These options are ignored. linux/fs/ext2/super.c from 2.2.18-pre17: But there are _userspace_ tools which check for these

[patch] 2.4.0-test10-pre5 check for acceptable gcc

2000-10-25 Thread Keith Owens
torvalds wrote It seems that gcc-2.7.2.3 is terminally ill. I'd rather change Documentation/Changes, and just document the fact. These kinds of subtle work-arounds for gcc bugs are not really acceptable, nor is it worthwhile complaining when somebody does development with a gcc that is _not_

Re: USB Printer, in 2.4.0-test9

2000-10-25 Thread Gerald . Haese
In article [EMAIL PROTECTED], Benson Chow [EMAIL PROTECTED] wrote: I get a bunch of form feeds too but it continues to print a few characters fine and some that are totally wrong. The same problem here. I'am using a dual Pentium (GA586-DX) with 2 x 233 MHz PentiumMMX and a PCI USB

Re: bind() - Old/Current behaviour - Change?

2000-10-25 Thread Andrey Savochkin
On Mon, Oct 23, 2000 at 10:50:29AM -0700, David Lang wrote: I was thinking about this problem late last week and would like to throw out a off-the-wall proposal. for a dedicated server (no end-user logins) how about making a kernel compile option that removes the 'only root can bind to

Re: [patch] kernel/module.c (plus gratuitous rant)

2000-10-25 Thread Andrew Morton
Linus Torvalds wrote: On Tue, 24 Oct 2000, Andrew Morton wrote: if the person who sent you the -pre4 patch against module.c had Cc:'ed this mailing list then your kernel would do something useful when compiled with gcc-2.7.2.3. It seems that gcc-2.7.2.3 is terminally ill. I'd rather

Re: [PATCH] 2.4 Changes update (was Re: [patch] kernel/module.c)

2000-10-25 Thread Andrew Morton
"Barry K. Nathan" wrote: Linus Torvalds wrote: It seems that gcc-2.7.2.3 is terminally ill. I'd rather change Documentation/Changes, and just document the fact. FWIW, here's a patch that does that. Looks good. But all the documentation has for years been saying that 2.7.2.3 is the

Re: [PATCH] make my life easier ...

2000-10-25 Thread Martin Mares
Hello! "The Linux 'original' IDE guy' Mark Lord showed Alan what was trying to bang over everyone's head, without success. Here is his sample code for cs5530 chipset. Look at this and comment. I have part of the space setup to complete the APM extenstion calls. This will get you and

Re: test[9-10] USB depmod unresolved symbols

2000-10-25 Thread Horst von Brand
Hunt Kent [EMAIL PROTECTED] said: [...] You don't say what machine this is (i386 I'd assume), plus "depmod -ae" gives a better handle on errors. -- Dr. Horst H. von Brand mailto:[EMAIL PROTECTED] Departamento de Informatica Fono: +56 32 654431

Re: lock_kernel() in kernel thread

2000-10-25 Thread Eric Lowe
Hello, lock_kernel() is a reentrant spinlock that is meant to protect all code that's not SMP safe. In 2.2, this is a good part of the kernel; in 2.4, it's not very much at all. (It's reentrant because it can be held across calls to schedule(), a normal spinlock can't and would deadlock the

Re: [PATCH] 2.4 Changes update (was Re: [patch] kernel/module.c)

2000-10-25 Thread Marcus Sundberg
[EMAIL PROTECTED] (Andrew Morton) writes: --- linux-2.4.0-test10-pre5/./README Sun Oct 15 01:27:35 2000 +++ linux-akpm/./README Wed Oct 25 22:11:26 2000 @@ -161,12 +161,12 @@ COMPILING the kernel: - - Make sure you have gcc-2.7.2 or newer available. It seems older gcc -

Re: Minimizing dropped UDP packets

2000-10-25 Thread Paul Jakma
On Tue, 24 Oct 2000, Frank Hansen wrote: Looking at the timestamps, it seems that the packets is dropped mainly when the disk task calls 'write' in order to flush the buffer to disk. have you tried enabling dma, unmask irq and 32bit io with hdparm? (i once had problems with a serial ppp

Can't boot AsusA7V+Tbird with Linux2.2.X?

2000-10-25 Thread Michael O'Donnell
I got my new AsusA7V motherboard and AMD Thunderbird booting RedHat5.2/linux2.0.36 with no trouble. (A dusty old RH5.2 CD was all I had handy at the time) I then downloaded the 2.2.17 and 2.4.0test8 sources and built them, only to find that neither would even TRY to boot; after I see the

Re: Can't boot AsusA7V+Tbird with Linux2.2.X?

2000-10-25 Thread Richard B. Johnson
On Wed, 25 Oct 2000, Michael O'Donnell wrote: Before I spend too many additional brain cells diagnosing this, can somebody remind me if this happens to be a well known problem? Several of my other brain cells think they've seen mention of this problem here, but a scan of the archives

Re: Can't boot AsusA7V+Tbird with Linux2.2.X?

2000-10-25 Thread Rasmus Andersen
On Wed, Oct 25, 2000 at 08:50:15AM -0400, Richard B. Johnson wrote: On Wed, 25 Oct 2000, Michael O'Donnell wrote: Before I spend too many additional brain cells diagnosing this, can somebody remind me if this happens to be a well known problem? Several of my other brain cells think

Re: [Dprobes] Re: [ANNOUNCE] DProbes 1.1: proposing a vm_ops-swapin() abstraction

2000-10-25 Thread bsuparna
Andi, Thanks. Then, I'll work it out in more detail and propose it on linux-mm as you've suggested. Maybe I should also try to think of another example where it might be useful. Anything that comes to mind ? Regards Suparna Suparna Bhattacharya Systems Software Group,

[PATCH] bug in mxser.c (linux-2.4.0-test9)

2000-10-25 Thread David Trcka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've propably found some bug in MOXA Smartio driver for linux (kernel version 2.4.0-test9). Module recognizes my C168H/PCI as C104H/PCI and allows to use only first 4 ports. Following patch solves the problem: - --- mxser.c.old Wed Oct

nfsv3d wrong truncates over 4G

2000-10-25 Thread Andrea Arcangeli
This bug causes nfsd kernel based server to wrongly truncate files while using offsets over 4G. With patch applied it starts to work right. ~(size_t) 0 is wrong too because size_t on IA32 is mere 32bit and as second because ~0 is negative I think also causing a remote security issue since users

2.4.0-test8 lockups

2000-10-25 Thread Billy Harvey
I've been using "Linux rhino 2.4.0-test8 #5 Thu Sep 28 20:48:16 EDT 2000 i686 unknown" successfully until starting yesterday. I've had two complete lockups while executing a user-space program as root (dselect if it matters, which is a little more "bursty" network wise). The first failure

[potential bug] generic_file_readahead()

2000-10-25 Thread Alexander Viro
In generic_file_readahead(): unsigned long end_index = inode-i_size PAGE_CACHE_SHIFT; unsigned long index = page-index; ... max_ahead = 0; ... raend = index; if (raend end_index)

Re: PATCH: killing read_ahead[]

2000-10-25 Thread Rik van Riel
On Tue, 24 Oct 2000, Linus Torvalds wrote: On Tue, 24 Oct 2000, Jeff Garzik wrote: I agree with you and Rik that this array needs to go away... but ripping out the feature is not the answer, IMHO. Actually, the _real_ answer is to make fs/block_dev.c use the page cache instead - and

Re: this_slice in kernel/sched.c?

2000-10-25 Thread Rik van Riel
On Tue, 24 Oct 2000, Rasmus Andersen wrote: Reading through kernel/sched.c I came across this block (on line 597): { cycles_t t, this_slice; t = get_cycles(); this_slice = t - sched_data-last_schedule;

2.4.0test10-pre4: Kernel BUG at vmscan.c:102!

2000-10-25 Thread Markus hennig
hi, kernel 2.4.0test10-pre4 pentium mmx with 64MB ram if anybody interested in more details i will send .config last log before freeze: Kernel BUG at vmscan.c:102! invalid operand: CPU: 0 greetings, markus -- In God we Trust, all others please submit signed PGP/X.509 key Markus

Re: 2.4.0test10-pre4: Kernel BUG at vmscan.c:102!

2000-10-25 Thread Tigran Aivazian
On Wed, 25 Oct 2000, Markus hennig wrote: hi, kernel 2.4.0test10-pre4 pentium mmx with 64MB ram if anybody interested in more details i will send .config last log before freeze: Kernel BUG at vmscan.c:102! invalid operand: CPU: 0 Hi Markus, How about trying this patch?

Re: RR

2000-10-25 Thread Rik van Riel
On Wed, 25 Oct 2000, Joe Harrington wrote: When having 5 proceeses {A, B, C, D ,E}, with run times A = 10 B = 6 C =2 D = 4 E = 8 Why does round robin do A - E - B - D - C, why not just use FIFO? 1. how would the OS know in advance what the run times of each process is? 2. how would

Magic Sysrq Registration Patch

2000-10-25 Thread Crutcher Dunnavant
Hello, This is my first kernel patch, and I will try to be careful about the ettiqute. Sorry if I hork it up. What: A rework of the magic sysrq code to use a registration system for key events in the ranges '0-9', 'a-z'; keeping all existing sysrq actions as new, registered actions, and

crash when booting linux-2.4.0-test10-pre5

2000-10-25 Thread Sebastian Benoit
Hi, i have a PPro here with an AMI MegaRAID controller. System is RedHat 7 + e2fsprogs-1.19, modutils-2.3.19, util-linux-2.10o 2.4.0-test10-pre5 is compiled with gcc 2.7.3.2 and and crashes when running 'mount -o remount,rw /' during boot. It also complains that /proc isn't mounted (it is

Re: [potential bug] generic_file_readahead()

2000-10-25 Thread Rik van Riel
On Wed, 25 Oct 2000, Alexander Viro wrote: In generic_file_readahead(): unsigned long end_index = inode-i_size PAGE_CACHE_SHIFT; unsigned long index = page-index; ... max_ahead = 0; ... raend = index; if

Re: 2.4.0test10-pre4: Kernel BUG at vmscan.c:102!

2000-10-25 Thread Mohammad Haque
Try 2.4.0-test10-pre5 Markus hennig wrote: hi, kernel 2.4.0test10-pre4 pentium mmx with 64MB ram if anybody interested in more details i will send .config last log before freeze: Kernel BUG at vmscan.c:102! invalid operand: CPU: 0 --

Re: Linux's implementation of poll() not scalable?

2000-10-25 Thread Kai Henningsen
[EMAIL PROTECTED] (Linus Torvalds) wrote on 23.10.00 in [EMAIL PROTECTED]: actually inform about the events. The way to do this simply is to limit it in very clear ways, the most notable one being simply that there is only one event queue per process (or rather, per "struct files_struct" -

Re: Magic Sysrq Registration Patch

2000-10-25 Thread Crutcher Dunnavant
oops, make that http://bama.ua.edu/~dunna001/sysrq-register-0.7.tar.bz2 -- "I may be a monkey, Crutcher Dunnavant but I'm a monkey [EMAIL PROTECTED] with ambition!"Red Hat OS Development - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: Linux's implementation of poll() not scalable?

2000-10-25 Thread Simon Kirby
On Tue, Oct 24, 2000 at 04:12:38PM -0700, Dan Kegel wrote: With poll(), it was *not a bug* for the user code to drop events; with your proposed interface, it *is a bug* for the user code to drop events. I'm just emphasizing this because Simon Kirby ([EMAIL PROTECTED]) posted incorrectly that

Re: Strange performance behavior of 2.4.0-test9

2000-10-25 Thread Mark Hahn
8cpu2193| 58 22114 946099 52 39 ^ This is pretty insane and is definately a bug which should be fixed. I'll search the source for "suspicious" changes and try to come up with a patch you can test.

Re: nfsv3d wrong truncates over 4G

2000-10-25 Thread Matti Aarnio
On Wed, Oct 25, 2000 at 03:57:39PM +0200, Andrea Arcangeli wrote: This bug causes nfsd kernel based server to wrongly truncate files while using offsets over 4G. With patch applied it starts to work right. Is it correct to limit it in anyway at the server ? Let the CLIENT to handle the

Re: kqueue microbenchmark results

2000-10-25 Thread Simon Kirby
On Wed, Oct 25, 2000 at 01:02:46AM -0500, Jonathan Lemon wrote: Yes, someone pointed me to those today. I would suggest reading some of the relevant literature before embarking on a design. My paper discusses some of the issues, and Mogul/Banga make some good points too. While an

Re: crash when booting linux-2.4.0-test10-pre5

2000-10-25 Thread Andrew Stubbs
I see similar messages. The system Oop's when trying to mount /proc during boot. Have latest mount / modutils etc. This is 2.4.0-test10-pre5 = Unable to handle kernel paging request at virtual address 08059000 printing eip:

Re: crash when booting linux-2.4.0-test10-pre5

2000-10-25 Thread Brian Gerst
Sebastian Benoit wrote: Hi, i have a PPro here with an AMI MegaRAID controller. System is RedHat 7 + e2fsprogs-1.19, modutils-2.3.19, util-linux-2.10o 2.4.0-test10-pre5 is compiled with gcc 2.7.3.2 and and crashes when running 'mount -o remount,rw /' during boot. It also complains

Re: Linux's implementation of poll() not scalable?

2000-10-25 Thread Dan Kegel
Helge Hafting wrote: With poll(), it was *not a bug* for the user code to drop events; with your proposed interface, it *is a bug* for the user code to drop events. I'm just emphasizing this because Simon Kirby ([EMAIL PROTECTED]) posted incorrectly that your interface "has the same

Re: [PATCH] make my life easier ...

2000-10-25 Thread Oliver Xymoron
On Wed, 25 Oct 2000, Martin Mares wrote: Hello! "The Linux 'original' IDE guy' Mark Lord showed Alan what was trying to bang over everyone's head, without success. Here is his sample code for cs5530 chipset. Look at this and comment. I have part of the space setup to complete

FIXED! Updated 2.4 TODO List -- new addition WAS(test9 PCI resourcecollisions (fwd)

2000-10-25 Thread jamal
The problem is resolved. Mucho Gracias from me and a few (probably hundreds of people in my workplace) who might want to boot 2.3/4 on these Dell docking stations (actually we own a few thousand of them, i am just trying to make sure Linux runs fine ;-) The proper fix, which is i think what

Re: RAID from BIOS

2000-10-25 Thread Jakob Østergaard
On Wed, Oct 25, 2000 at 09:09:23AM -0700, Anil kumar wrote: Hi, 1. Does Linux support this: Setting RAID options configurations from BIOS itself. Linux does not magically put extra software into your BIOS no. 2.I am not able to post messages to linux-raid group. That's odd. --

Re: [PATCH] make my life easier ...

2000-10-25 Thread H. Peter Anvin
Followup to: [EMAIL PROTECTED] By author:Martin Mares [EMAIL PROTECTED] In newsgroup: linux.dev.kernel This doesn't make much sense to me: Why don't we just reinitialize the timings as we do when programming the chipset instead of saving/restoring the state? Also, are you sure BIOSes

Re: FIXED! Updated 2.4 TODO List -- new addition WAS(test9 PCI resource collisions (fwd)

2000-10-25 Thread Jeff Epler
On Wed, Oct 25, 2000 at 12:20:58PM -0400, jamal wrote: + child-resource[0,1,2] = dev-bus-resource[0,1,2]; Did C change while I was asleep, or is this statement equivalent to child-resource[2] = dev-bus-resource[2]; ? Jeff - To unsubscribe from this list: send the

Re: kqueue microbenchmark results

2000-10-25 Thread Jamie Lokier
Simon Kirby wrote: While an 'edge-trigger' design is indeed simpler, I feel that it ends up making the job of the application harder. A simple example to illustrate the point: what if the application does not choose to read all the data from an incoming packet? The app now has to

RAID superblock

2000-10-25 Thread Anil kumar
Hi, After I create a RAID setup on the drives,The superblock will be generated at the end of the drives. If I move these drives to other linux system, will this system recognise the RAID setup without reconfiguring the Linux ? with regards, Anil

Re: Minimizing dropped UDP packets

2000-10-25 Thread Jorge Nerin
"Brian F. G. Bidulock" wrote: Frank, Have you considered checking /proc/net/dev_stat (first entry) to see whether NET4 is dropping packets due to backlog maximums? If there is a non-zero entry there, you might try uping /proc/sys/net/core/netdev_max_backlog from the default 300 and see

Re: kqueue microbenchmark results

2000-10-25 Thread Jonathan Lemon
On Wed, Oct 25, 2000 at 11:27:09AM -0400, Simon Kirby wrote: On Wed, Oct 25, 2000 at 01:02:46AM -0500, Jonathan Lemon wrote: Yes, someone pointed me to those today. I would suggest reading some of the relevant literature before embarking on a design. My paper discusses some of the

Re: PATCH: killing read_ahead[]

2000-10-25 Thread Linus Torvalds
On Wed, 25 Oct 2000, Rik van Riel wrote: OTOH, block-dev readahead makes sense for filesystems where the packing locality is close to the access pattern BUT NOT close to anything the page cache would recognise as being close. I dunno. The main reason I'd like to get the block devices

[PATCH] Re: PATCH: killing read_ahead[]

2000-10-25 Thread Rik van Riel
On Wed, 25 Oct 2000, Linus Torvalds wrote: On Wed, 25 Oct 2000, Rik van Riel wrote: OTOH, block-dev readahead makes sense for filesystems where the packing locality is close to the access pattern BUT NOT close to anything the page cache would recognise as being close. I dunno. The

Re: [potential bug] generic_file_readahead()

2000-10-25 Thread Jeff V. Merkey
Rik, Ok, I understand what you're doing now. How is this going to affect page cache based file systems. Jeff Rik van Riel wrote: On Wed, 25 Oct 2000, Alexander Viro wrote: In generic_file_readahead(): unsigned long end_index = inode-i_size PAGE_CACHE_SHIFT;

Re: Minimizing dropped UDP packets

2000-10-25 Thread Rajeev Bector
Also try increasing the device queue length by "ifconfig eth0 txqueuelen 1024". In doing some testing, we found that if you are really bursty in sending data, the device queue will silently drop packets (free them) and I didnt find any stats which show the dropped packets. Increasing the queue

2.2.17 kernel panic

2000-10-25 Thread octave klaba
Hi, We test a smp server (bi-piii) and we have some problems when the bandwidth is more than 16Mbs: it crashs. Is there any way to fix it ? thanks for help octave eth0: card reports no resources VFS: file-max limit 4096 reached Kernel panic: VFS: LRU block list corrupted. Kernel panic: VFS:

Re: PATCH: killing read_ahead[]

2000-10-25 Thread Alexander Viro
On Wed, 25 Oct 2000, Linus Torvalds wrote: On Wed, 25 Oct 2000, Rik van Riel wrote: OTOH, block-dev readahead makes sense for filesystems where the packing locality is close to the access pattern BUT NOT close to anything the page cache would recognise as being close. I

Re: [PATCH] Re: PATCH: killing read_ahead[]

2000-10-25 Thread Alexander Viro
On Wed, 25 Oct 2000, Rik van Riel wrote: Anyway, below is a patch that implements Al Viro's readahead fix and one small readahead adjustment that seems to make sense ... Rik, doesn't said fix need propagation into your adjustment? - To unsubscribe from this list: send the line

Re: [PATCH] Re: PATCH: killing read_ahead[]

2000-10-25 Thread Rik van Riel
On Wed, 25 Oct 2000, Alexander Viro wrote: On Wed, 25 Oct 2000, Rik van Riel wrote: Anyway, below is a patch that implements Al Viro's readahead fix and one small readahead adjustment that seems to make sense ... Rik, doesn't said fix need propagation into your adjustment? Your first

Re: PATCH: killing read_ahead[]

2000-10-25 Thread Jeff V. Merkey
Alexander Viro wrote: On Wed, 25 Oct 2000, Linus Torvalds wrote: On Wed, 25 Oct 2000, Rik van Riel wrote: OTOH, block-dev readahead makes sense for filesystems where the packing locality is close to the access pattern BUT NOT close to anything the page cache would

Re: [PATCH] make my life easier ...

2000-10-25 Thread Tom Rini
On Wed, Oct 25, 2000 at 01:42:52PM +0200, Martin Mares wrote: Hello! "The Linux 'original' IDE guy' Mark Lord showed Alan what was trying to bang over everyone's head, without success. Here is his sample code for cs5530 chipset. Look at this and comment. I have part of the space

Re: [PATCH] x86 setup fixes continued.

2000-10-25 Thread Albert D. Cahalan
o Pentium IV support. - Now recognised as i686 instead of i1586. This seems wrong. Remember that we are simply following the old pre-Pentium naming tradition. Since the "Pentium 4" does not use the old "P6" core (like the Pentium Pro, Pentium II, Pentium III, and Celeron did) it is the

Re: Patch for /proc/mounts problems on 2.2.x

2000-10-25 Thread Andries Brouwer
On Wed, Oct 25, 2000 at 10:59:13AM +0200, Christian Czezatke wrote: I've recently run across some problems with /proc/mounts on Linux 2.2.17 when trying to get rid of /etc/mtab in favor of /proc/mounts. Patches that are basically a backport of the 2.4.x implementation of

serial.c

2000-10-25 Thread Pete Popov
In serial.c, it appears that unless do_autoconfig() is called through an ioctl() call, the variable state-type, which is used to index into the uart_config[] array, is not set, resulting in problems (I'm working with a mips embedded board). Why not set info-type from sstate-type in

Re: [PATCH] Re: PATCH: killing read_ahead[]

2000-10-25 Thread Jeff V. Merkey
Rik, I've reviewed the patch. It's affect seems minimal and will not break NWFS as proposed -- it looks like, however, it will reduce the performance slightly of EXT2/3 with iozone for read ahead since the first section of the patch limits the read ahead window size. NWFS uses it's own read

Re: kqueue microbenchmark results

2000-10-25 Thread Simon Kirby
On Wed, Oct 25, 2000 at 07:08:48PM +0200, Jamie Lokier wrote: Simon Kirby wrote: What applications would do better by postponing some of the reading? I can't think of any reason off the top of my head why an application wouldn't want to read everything it can. Pipelined server.

Re: [PATCH] Re: PATCH: killing read_ahead[]

2000-10-25 Thread Rik van Riel
On Wed, 25 Oct 2000, Jeff V. Merkey wrote: I've reviewed the patch. It's affect seems minimal and will not break NWFS as proposed -- it looks like, however, it will reduce the performance slightly of EXT2/3 with iozone for read ahead since the first section of the patch limits the read

Re: kqueue microbenchmark results

2000-10-25 Thread Simon Kirby
On Wed, Oct 25, 2000 at 12:23:07PM -0500, Jonathan Lemon wrote: Consider a program which reads from point A, writes to point B. If the buffer associated with B fills up, then we don't want to continue reading from A. A/B may be network sockets, pipes, or ptys. Fine, but we can

Re: Patch for /proc/mounts problems on 2.2.x

2000-10-25 Thread H. Peter Anvin
Followup to: [EMAIL PROTECTED] By author:Andries Brouwer [EMAIL PROTECTED] In newsgroup: linux.dev.kernel First of all, let me quote mount(8): - The programs mount and umount maintain a list of currently

Re: PATCH: killing read_ahead[]

2000-10-25 Thread Alexander Viro
On Wed, 25 Oct 2000, Alexander Viro wrote: I can do the proof-of-concept patch (below 10Kb, ext2 + generic code, with the need to repeat the fs-specific parts for other filesystems) in an hour. Clearance? OK, it didn't take an hour. Warning: completely untested, needs (trivial) changes to

Re: [PATCH] Re: PATCH: killing read_ahead[]

2000-10-25 Thread Jeff V. Merkey
Rik van Riel wrote: On Wed, 25 Oct 2000, Jeff V. Merkey wrote: I've reviewed the patch. It's affect seems minimal and will not break NWFS as proposed -- it looks like, however, it will reduce the performance slightly of EXT2/3 with iozone for read ahead since the first section of

Re: missing mxcsr initialization

2000-10-25 Thread Doug Ledford
Andrea Arcangeli wrote: 2.2.18pre15aa1 is here (I will include in the next aa patchkit): ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.2.18pre15aa1/PIII-3.bz2 Such patch is been generated by a mix of PIII 2.2.x patch and the PIII 2.4.x support plus some

Re: 2.2.17 kernel panic

2000-10-25 Thread Marcelo Tosatti
Octave, Andrea fixed a corruption problem which looks exactly what you're hitting. Please try ftp://ftp.kernel.org/pub/people/andrea/patches/v2.2/2.2.18pre17/VM-global-2.2.18pre17-7.bz2 On Wed, 25 Oct 2000, octave klaba wrote: Hi, We test a smp server (bi-piii) and we have some problems

Re: [PATCH] Re: PATCH: killing read_ahead[]

2000-10-25 Thread Rik van Riel
On Wed, 25 Oct 2000, Jeff V. Merkey wrote: Rik van Riel wrote: On Wed, 25 Oct 2000, Jeff V. Merkey wrote: I've reviewed the patch. It's affect seems minimal and will not break NWFS as proposed -- it looks like, however, it will reduce the performance slightly of EXT2/3 with iozone

Re: PATCH: killing read_ahead[]

2000-10-25 Thread Jeff V. Merkey
Al, Thanks. I'll print this one out and post it on the wall for tonight's debugging session. :-) Jeff Alexander Viro wrote: On Wed, 25 Oct 2000, Alexander Viro wrote: I can do the proof-of-concept patch (below 10Kb, ext2 + generic code, with the need to repeat the fs-specific parts

Re: patch: atapi dvd-ram support

2000-10-25 Thread Jens Axboe
On Tue, Oct 24 2000, Jeff V. Merkey wrote: Are you suggesting the tools be part of the kernel tree? If you are, I don't think they belong here because they are userland tools like mkisofs and the like. Nothing really related to the kernel. No. I'm suggesting they be in the utils area of

Re: [PATCH] Re: PATCH: killing read_ahead[]

2000-10-25 Thread Jeff V. Merkey
Rik van Riel wrote: On Wed, 25 Oct 2000, Jeff V. Merkey wrote: Rik van Riel wrote: On Wed, 25 Oct 2000, Jeff V. Merkey wrote: I've reviewed the patch. It's affect seems minimal and will not break NWFS as proposed -- it looks like, however, it will reduce the performance

Re: patch: atapi dvd-ram support

2000-10-25 Thread Jeff V. Merkey
Jens Axboe wrote: On Tue, Oct 24 2000, Jeff V. Merkey wrote: Are you suggesting the tools be part of the kernel tree? If you are, I don't think they belong here because they are userland tools like mkisofs and the like. Nothing really related to the kernel. No. I'm suggesting

Re: [PATCH] x86 setup fixes continued.

2000-10-25 Thread davej
On Wed, 25 Oct 2000, Albert D. Cahalan wrote: o Pentium IV support. - Now recognised as i686 instead of i1586. This seems wrong. It is/was. This has since been fixed in recent pre-patches for over a week now. Dave. -- | Dave Jones [EMAIL PROTECTED] http://www.suse.de/~davej | SuSE

Re: Patch for /proc/mounts problems on 2.2.x

2000-10-25 Thread Erik Andersen
On Wed Oct 25, 2000 at 08:16:07PM +0200, Andries Brouwer wrote: Your web page misses the loop device info. Another point of difference is the name of the root device. /proc/mounts has /dev/root, while /etc/mtab usually has whatever was listed for / in /etc/fstab. For some applications

[PATCH] Revised 2.4 Changes update

2000-10-25 Thread Barry K. Nathan
After looking at the various other patches that people posted, I've come up with this revised version of my original... -Barry K. Nathan [EMAIL PROTECTED] diff -ruN linux-2.4.0test10pre5/Documentation/Changes linux-2.4.0test10pre5-bkn/Documentation/Changes ---

Re: Patch for /proc/mounts problems on 2.2.x

2000-10-25 Thread Erik Andersen
On Wed Oct 25, 2000 at 11:43:02AM -0700, H. Peter Anvin wrote: There is another good reason to ditch /etc/mtab: as a static file, it And it is supposed to be writable though it lives in /etc. It should live in /var. Has the LSB ever gotten around to addressing this wart? This is a pita for

Re: PATCH: killing read_ahead[]

2000-10-25 Thread Alexander Viro
On Wed, 25 Oct 2000, Jeff V. Merkey wrote: Al, Thanks. I'll print this one out and post it on the wall for tonight's debugging session. [snip] (e.g. generic_commit_write have to mess with i_size value to update the ^^^ Ugh. s/have/doesn't have/,

Efficient edge-triggered event interface

2000-10-25 Thread Jamie Lokier
This text is about how edge-triggered events can work, but they must be the right kind of edges if they are to be efficient. With suggestions. Simon Kirby wrote: What happens at "wait until output is ready for writing then goto 6"? You mean you would stop the main loop to wait for a single

Re: kqueue microbenchmark results

2000-10-25 Thread Jamie Lokier
Simon Kirby wrote: And you'd need to take the descriptor out of the read() set in the select() case anyway, so I don't really see what's different. The difference is that taking a bit out of select()'s bitmap is basically free. Whereas the equivalent with events is a bind_event() system call.

Re: test10-pre5 ten sec freeze

2000-10-25 Thread Jens Axboe
On Wed, Oct 25 2000, Tom Holroyd wrote: Alpha DP264 UP. Doing a dump to a SCSI MO disk (aic7xxx, Fujitsu Gigamo, ro ext2 fs), and simultaneously writing a megabyte to a floppy (tar -cf /dev/fd0, "FDC 0 is a post-1991 82077") produced a ten second freeze. I did this twice and it's

Re: Patch for /proc/mounts problems on 2.2.x

2000-10-25 Thread Erik Andersen
On Wed Oct 25, 2000 at 12:16:40PM -0700, H. Peter Anvin wrote: Erik Andersen wrote: On Wed Oct 25, 2000 at 11:43:02AM -0700, H. Peter Anvin wrote: There is another good reason to ditch /etc/mtab: as a static file, it And it is supposed to be writable though it lives in /etc. It

test10-pre5 -- Many unresolved symbols when building everything as modules

2000-10-25 Thread Miles Lane
I am attempting to build everything as modules. I can compile the works, but depmod -ae gives loads of errors. Are these bugs or user error? Thanks, Miles depmod: *** Unresolved symbols in /lib/modules/2.4.0-test10/kernel/drivers/block/DAC960.o depmod: devfs_unregister_blkdev

Another test10 PCI resource conflict

2000-10-25 Thread Vitaly Luban
Hi, I've got a PCI resource conflict on PowerPC Motorola MCP 750 system while booting 2.4.0-test10. It works happily under 2.2.16 w/o any problems. messages and lspci for 2.2.16 and 2.4.0-test10 attached. I'd be grateful on any comments, thanks :) BTW, Martin, do you know why to complain about

test10-pre4: deadlock in VM?

2000-10-25 Thread Tigran Aivazian
Hi guys, When running SPEC SFS tests against 2.4.0-test10-pre4 on a 4-way SMP machine with 6G RAM (highmem+PAE enabled) I got __alloc_pages: 0-order allocation failed. (probably coming from nfsd, why don't we print eip of the caller there?) and the machine locked up (but pingable). So I

Re: patch: atapi dvd-ram support

2000-10-25 Thread Jens Axboe
On Wed, Oct 25 2000, Andre Hedrick wrote: The optimal solution is to make the UDF tools part of the util-linux package, which will probably happen at some point. I don't really know, that part is not mine. I might put some work into making this happen, though. Andries, Jens needs a

Re: [PATCH] 2.4 Changes update (was Re: [patch] kernel/module.c)

2000-10-25 Thread Paul Gortmaker
Andrew Morton wrote: But all the documentation has for years been saying that 2.7.2.3 is the one true compiler, so we are now in for 12 months worth of bogus oops reports. This patch will help: --- linux-2.4.0-test10-pre5/arch/i386/kernel/setup.cTue Oct 24 [...] + +#if (__GNUC__ 2)

Re: test[9-10] USB depmod unresolved symbols

2000-10-25 Thread Greg KH
On Tue, Oct 24, 2000 at 06:47:30PM -0700, Hunt Kent wrote: Hi, I am getting these messages during boot. It happens from test9 until test10-pre5. The last kernel that worked fine was test9-pre7. I have not tested test9-pre[8-9]. modutils 2.3.16 Calculating module dependencies...

Re: test10-pre4: deadlock in VM?

2000-10-25 Thread Rajagopal Ananthanarayanan
Tigran Aivazian wrote: Hi guys, When running SPEC SFS tests against 2.4.0-test10-pre4 on a 4-way SMP machine with 6G RAM (highmem+PAE enabled) I got __alloc_pages: 0-order allocation failed. (probably coming from nfsd, why don't we print eip of the caller there?) and the machine

Re: PATCH: killing read_ahead[]

2000-10-25 Thread Erik Andersen
On Wed Oct 25, 2000 at 02:15:05PM -0600, Jeff V. Merkey wrote: Alexander Viro wrote: On Wed, 25 Oct 2000, Jeff V. Merkey wrote: Al, Thanks. I'll print this one out and post it on the wall for tonight's debugging session. [snip] (e.g. generic_commit_write have to

  1   2   3   4   >