Re: kqueue microbenchmark results

2000-10-24 Thread Jonathan Lemon
On Tue, Oct 24, 2000 at 09:45:14PM -0700, Dan Kegel wrote: > If you haven't already, you might peek at the discussion on > linux-kernel. Linus seems to be on the verge of adding > something like kqueue() to Linux, but appears opposed to > supporting level-triggering; he likes the simplicity of >

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

2000-10-24 Thread Andre Hedrick
Stephen, You want to get ATA/PI APM fixed? "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

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

2000-10-24 Thread Eric W. Biederman
"David S. Miller" <[EMAIL PROTECTED]> writes: >Date: Tue, 24 Oct 2000 13:50:10 -0700 (PDT) >From: Linus Torvalds <[EMAIL PROTECTED]> > >Does the above make it work for you? I don't know if PCI even has >the notion of transparent bridging, and quite frankly I doubt it >

[PATCH] make my life easier ...

2000-10-24 Thread Stephen Rothwell
Hi Linus, In the hope of stopping complaints like "kapmd is using up all the CPU time on my machine" can you please apply this patch. Cheers, Stephen -- Stephen Rothwell, Open Source Researcher, Linuxcare, Inc. +61-2-62628990 tel, +61-2-62628991 fax [EMAIL PROTECTED],

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

2000-10-24 Thread Brian Gerst
David Dyck wrote: > > On Mon, 23 Oct 2000, 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"

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

2000-10-24 Thread Barry K. Nathan
[I accidentally sent the message to vger.rutgers.edu the first time. Sorry.] 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. It also fixes a typo ("IA/32" should be

Re: kqueue microbenchmark results

2000-10-24 Thread Dan Kegel
Johnathan, Thanks for running that test for me! I've added your results (plus a cautionary note about microbenchmarks and a link to your site) to http://www.kegel.com/dkftpbench/Poller_bench.html If you haven't already, you might peek at the discussion on linux-kernel. Linus seems to be on the

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

2000-10-24 Thread Andre Hedrick
On Tue, 24 Oct 2000, Mark Hahn wrote: > > APIC error on CPU1 00(02) or 02(02) or 00(08) or 00(04) > > BP6 bugs, not linux's, and especially not ide's fault. you have to > do the usual BP6 voodoo: bios update, extra fans, big PS, higher voltage. > > > The machine has four IDE ports on

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

2000-10-24 Thread Anton Blanchard
> 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. That alone will probably > help enough, but I

test10-pre5 ten sec freeze

2000-10-24 Thread Tom Holroyd
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 reproducible. The system froze including the mouse

Re: getting include-files from arch//subdir

2000-10-24 Thread Eric W. Biederman
"Heusden, Folkert van" <[EMAIL PROTECTED]> writes: > Hi, > > ADC> why not > ADC> #include > ADC> Amit > > Since that is not cross-platform. I like a solution which does the #include > transparantly > for alpha/i386/etc. Umm. Then the include file should probably rest under the include

Re: 2.4.0pre9 and an analog joystick

2000-10-24 Thread Brian Gerst
[EMAIL PROTECTED] wrote: > > I just switched from 2.2.17pre9 to 2.4.0pre9, and my joystick won't work > anymore. It's an analog joystick connected to an AudioPCI sound card. I > can get it initialized, but I can not access it, it seems it does not map > it to js0 > > Oct 24 23:15:21 cr753963-a

RE: oops program

2000-10-24 Thread Dunlap, Randy
Should be at ftp://ftp.ora.com/pub/examples/linux/drivers/ according to the book. ~Randy > -Original Message- > From: jim M. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 24, 2000 8:27 PM > To: [EMAIL PROTECTED] > Subject: oops program > > > Hi, > > Does anyone know what is the

oops program

2000-10-24 Thread jim M.
Hi, Does anyone know what is the exact download path to oops program as brought up in "linux device drivers" by Rubini published by O'reilly?. J _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Re: Minimizing dropped UDP packets

2000-10-24 Thread Peter Monta
> The real fix is to add flow control of course. I'm not so sure---it's very attractive for data acquisition devices to throw generic UDP packets onto the net to be vacuumed up by general-purpose machines. (Multicast can be nice here too; load balancing, redundancy.) For example, UDP goes

2.4.0pre9 and an analog joystick

2000-10-24 Thread linux
I just switched from 2.2.17pre9 to 2.4.0pre9, and my joystick won't work anymore. It's an analog joystick connected to an AudioPCI sound card. I can get it initialized, but I can not access it, it seems it does not map it to js0 Oct 24 23:15:21 cr753963-a kernel: gameport0: NS558 ISA at 0x200

Re: linux 2.2.18-pre17: "Kernel panic: LRU list corrupted"

2000-10-24 Thread Andrea Arcangeli
On Mon, Oct 23, 2000 at 02:20:17PM -0700, H. Peter Anvin wrote: > Hi there, > > I wanted to let you know that I was trying 2.2.18-pre17 on > hera.kernel.org, a uniprocessor with an SMP motherboard. After about six > hours, it went catatonic, responding to pings and TCP SYNs but not doing >

Re: Minimizing dropped UDP packets

2000-10-24 Thread Andi Kleen
On Tue, Oct 24, 2000 at 10:42:29PM -0100, Frank Hansen wrote: > /proc/sys/vm/freepages (to 512 1024 1536), which did not seem to yield > any better performance. > Disabling interrupts on the IDE drives seemed to roughly halve the > number of dropped packets (using /sbin/hdparm -c 1 -d 1 -k 1 -u 1

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

2000-10-24 Thread Mike Galbraith
On Tue, 24 Oct 2000, Mark Hahn wrote: > I don't really expect much from my BP6, but: >---Sequential Output ---Sequential Input-- --Random-- >-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- > MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec

Re: Minimizing dropped UDP packets

2000-10-24 Thread Mike A. Harris
On Tue, 24 Oct 2000, Frank Hansen wrote: >Using kernel 2.2.17, I experience lots of dropped UDP packets. The setup >is as follows: >UDP packets containing measurement data is sent on 100 Mb Ethernet from >a embedded device to a Pentium III, 256 MB, IDE based PC with a 3Com >3C905B network

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

2000-10-24 Thread Edgar Toernig
Linus Torvalds wrote: > > The point they disagree is when the event gets removed from the event > queue. For edge triggered, this one is trivial: when a get_events() thing > happens and moves it into user land. This is basically a one-liner, and it > is local to get_events() and needs absolutely

test[9-10] USB depmod unresolved symbols

2000-10-24 Thread Hunt Kent
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... depmod: *** Unresolved symbols in

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

2000-10-24 Thread Mark Montague
Linus Torvalds <[EMAIL PROTECTED]> writes: > bind_event(sock, POLLIN, NULL, accept_fn); [...] > (In fact, you might as well move the event array completely inside > "get_event()", because nobody would be supposed to look at the raw array > any more. So the "get_event()" interface would

Re: patch: atapi dvd-ram support

2000-10-24 Thread Mohammad A. Haque
I'm sorry. I completely missed the .org part there. "Jeff V. Merkey" wrote: > > No. I'm suggesting they be in the utils area of kernel.org so folks > don't have to > run all over the net locating them. I like just typing > > 'rsync ftp.kernel.org:pub/linux /home/ftp/linux' to update my

kernel.org downtime tomorrow

2000-10-24 Thread H. Peter Anvin
At some time tomorrow, probably around 21:00 UTC/12:00 PDT, ftp/www/rsync/filehub.kernel.org will be taken down for a hardware upgrade. This downtime is expected to last for approximately 3 hours, but it's going to be largely dependent on if we run into any snags or not. In the meantime, of

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

2000-10-24 Thread Mark Hahn
> APIC error on CPU1 00(02) or 02(02) or 00(08) or 00(04) BP6 bugs, not linux's, and especially not ide's fault. you have to do the usual BP6 voodoo: bios update, extra fans, big PS, higher voltage. > The machine has four IDE ports on the motherboard, two are UDMA33, > two are UDMA66

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jeff V. Merkey
"Mohammad A. Haque" 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 kernel.org

Re: patch: atapi dvd-ram support

2000-10-24 Thread Mohammad A. Haque
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. > > Jens, > > It would be a good idea to roll these tools into the kernel.org tree so > folks

2.4.0-test10pre5: still IDE lockups on HPT366 controller.

2000-10-24 Thread Winfried Truemper
Hi Andre, I tried 2.4.0-test10pre5 and gives me far less errors. It is evil because of the upcoming hope after 2 minutes, but then it bites you. The errors on ide0 and ide1 are gone completely. I have switched DMA on for them. However, the machine still freezes solid on heavy use of ide2 and

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jeff V. Merkey
Jens Axboe wrote: > > On Tue, Oct 24 2000, Jeff V. Merkey wrote: > > Super!. I'll download and test it. We've had nothing but problems with > > DVD devices in 2.4. Hopefully this works. Where are the utilities for > > I beat up the 2.4 version yesterday, and it looks solid so far. The >

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jens Axboe
On Tue, Oct 24 2000, Jeff V. Merkey wrote: > Super!. I'll download and test it. We've had nothing but problems with > DVD devices in 2.4. Hopefully this works. Where are the utilities for I beat up the 2.4 version yesterday, and it looks solid so far. The actual write handling is the same as

Re: PATCH: killing read_ahead[]

2000-10-24 Thread Jeff V. Merkey
On Wed, Oct 25, 2000 at 12:30:49AM +0200, Ingo Oeser wrote: > On Tue, Oct 24, 2000 at 12:46:36PM -0700, Linus Torvalds wrote: > > Actually, the _real_ answer is to make fs/block_dev.c use the page cache > > instead - and generic_file_read() does read-ahead that actually improves > > performance,

Re: patch: atapi dvd-ram support

2000-10-24 Thread Jeff V. Merkey
On Tue, Oct 24, 2000 at 04:21:12PM -0700, Jens Axboe wrote: > Hi, > > I've put up patches for 2.2 and 2.4 adding native ATAPI dvd-ram support. > The 2.2 patch is completely untested, but the 2.4 version appears to > work well. > > *.kernel.org/pub/linux/kernel/people/axboe/dvdram > > -- > *

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

2000-10-24 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Linus Torvalds <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > Oh, I agree. > > And I think something like CLONE_EVENTS would be fine - and decide > yourself what kind of threads you want (do you want indistinguishable > "anonymous" threads

Re: test10-pre5 -- Compile error drivers/video/video.o: In function `vesafb_set_disp': undefined references

2000-10-24 Thread Miles Lane
James Simmons wrote: >> I had this option in my .config: >> >> CONFIG_FB_RIVA=m >> >> Changing that option to: >> >> # CONFIG_FB_RIVA is not set >> >> made the errors stop occuring. I am not sure >> why building the Riva support as a module would >> cause the errors to be

patch: atapi dvd-ram support

2000-10-24 Thread Jens Axboe
Hi, I've put up patches for 2.2 and 2.4 adding native ATAPI dvd-ram support. The 2.2 patch is completely untested, but the 2.4 version appears to work well. *.kernel.org/pub/linux/kernel/people/axboe/dvdram -- * Jens Axboe <[EMAIL PROTECTED]> * SuSE Labs - To unsubscribe from this list: send

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

2000-10-24 Thread Dan Kegel
Linus Torvalds wrote: > > But user code currently written for poll() has the luxury of dropping > > events because poll() will happily report on the current readiness of > > the socket every time. /dev/poll is level-triggered because it's trying > > to make conversion of poll()-based code easy.

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

2000-10-24 Thread David Dyck
On Mon, 23 Oct 2000, 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 yields an oops. > I believe I have

No Subject

2000-10-24 Thread Al Peat
I was wondering if someone could give me a quick overview of the differences between sector/nr_sectors and hard_sector/hard_nr_sectors in blk_dev.h's request structure, or point me to some documentation/discussion on this? Thanks in advance, Al Peat

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

2000-10-24 Thread Linus Torvalds
On Tue, 24 Oct 2000, Evan Jeffrey wrote: > > > Multiple event queues are bad, because it completely breaks the notion of > > even-driven programming. How do you want to listen to them all? You can't. > > You can only listen to one event queue at a time - unless you create some > > You can

Re: LMbench 2.4.0-test10pre-SMP vs. 2.2.18pre-SMP

2000-10-24 Thread Dan Maas
> The pipe bandwidth is intimately related to pipe latency. Linux pipes > are fairly small (only 4kB worth of data buffer), so they need good > latency for good performance. ... > The pipe bandwidth could be fairly easily improved by just doubling the > buffer size (or by using VM tricks), but

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

2000-10-24 Thread Evan Jeffrey
> Multiple event queues are bad, because it completely breaks the notion of > even-driven programming. How do you want to listen to them all? You can't. > You can only listen to one event queue at a time - unless you create some You can listen to one event queue per thread. Maybe in the case

Re: unfair stress on non memory allocating apps while swapout (in 2.4)

2000-10-24 Thread Bernd Eckenfels
In article <000b01c03bef$17e43c30$0200a8c0@W2K> you wrote: > PS this is my first post to lkml so please keep that in mind... > PPS ... so, was I right? yes welcome, thanks for reminding me of that. And i think exactly that point could be a bit optimized. Greetings Bernd - To unsubscribe from

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

2000-10-24 Thread Dan Maas
> Shouldn't there also be a way to add non-filedescriptor based events > into this, such as "child exited" or "signal caught" or shm things? Waiting on pthreads condition variables, POSIX message queues, and semaphores (as well as fd's) at the same time would *rock*... Unifying all these

Re: PATCH: killing read_ahead[]

2000-10-24 Thread Ingo Oeser
On Tue, Oct 24, 2000 at 12:46:36PM -0700, Linus Torvalds wrote: > Actually, the _real_ answer is to make fs/block_dev.c use the page cache > instead - and generic_file_read() does read-ahead that actually improves > performance, unlike the silly contortions that the direct block-dev > read-ahead

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

2000-10-24 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Linus Torvalds <[EMAIL PROTECTED]> wrote: > struct event { > unsigned long id; /* file descriptor ID the event is on */ > unsigned long event;/* bitmask of active events */ > }; > int bind_event(int fd,

Re: test10-pre5 -- Compile error drivers/video/video.o: In function`vesafb_set_disp': undefined references

2000-10-24 Thread James Simmons
> I had this option in my .config: > > CONFIG_FB_RIVA=m > > Changing that option to: > > # CONFIG_FB_RIVA is not set > > made the errors stop occuring. I am not sure > why building the Riva support as a module would > cause the errors to be generated. Did this. No problem. The

Re: syslog() blocks on glibc 2.1.3 with kernel 2.2.x

2000-10-24 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Kurt Roeckx <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > On Mon, Oct 23, 2000 at 03:58:39PM -0400, Patrick J. LoPresti wrote: > > "David S. Miller" <[EMAIL PROTECTED]> writes: > > > > > SOCK_DGRAM over AF_UNIX is reliable, it's a local

this_slice in kernel/sched.c?

2000-10-24 Thread Rasmus Andersen
Hi. 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; sched_data->last_schedule = t; } It seems to me

Re: unfair stress on non memory allocating apps while swapout (in 2.4)

2000-10-24 Thread Bernd Eckenfels
On Mon, Oct 23, 2000 at 02:21:11PM -0200, Rik van Riel wrote: > 1) some process allocates gobs of memory > 2) the kernel swaps out memory from all processes > 3) some of the other - partly swapped out - processes >wake up and need to be swapped in > 4) these other processes have to ALLOCATE

Re: [Criticism] On the discussion about C++ modules

2000-10-24 Thread David Weinehall
On Tue, Oct 24, 2000 at 09:38:13AM -0700, Stephen Satchell wrote: > At 01:30 PM 10/22/00 +0200, you wrote: > >Yup. And I want to try out my modules coded in Visual Cobol, APL, > >and PL/I. Oh, and I want to rewrite ext2fs to use Befunge. > > Would that be PL/I (F) or PL/I (H}? You have

Re: Minimizing dropped UDP packets

2000-10-24 Thread Brian F. G. Bidulock
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 if your loss diminishes. On Tue, 24

regarding fsck

2000-10-24 Thread Anil kumar
Hi, I am getting a kernel panic when I boot linux. There is some bad block. To get rid of this, I want to run fsck.I boot linux with a boot diskette and then with rescue.img I get to the command prompt and then run fsck. #e2fsck /dev/hdb5 //hdb5 is my linux native when I run

Re: Minimizing dropped UDP packets

2000-10-24 Thread Richard B. Johnson
On Tue, 24 Oct 2000, Frank Hansen wrote: [SNIPPED...] > > Any suggestions whatsoever would be greatly appreciated. FWIW NT 4.0 > running on the same hardware performs this task flawless, and I will > have a diffucult time to convice my boss that we should use Linux as > long as it is

Re: test10-pre5: hangs in boot

2000-10-24 Thread Roger Larsson
False alarm. Rechecked my .config - it was strange And remembered that I did a clean start... Wrong config file - sorry... /RogerL Brian Gerst wrote: > > Roger Larsson wrote: > > > > Hi, > > > > This is the first test kernel that won't boot > > for me. > > Last message "Ok, booting the

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

2000-10-24 Thread Linus Torvalds
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 change

Re: Updated 2.4 TODO List -- new addition WAS(test9 PCI resourcecollisions (fwd)

2000-10-24 Thread Linus Torvalds
On Tue, 24 Oct 2000, jamal wrote: > > (Now that i see Martin alive). > Could we pursue this further? The trouble definitely seems to be the fact that your PCI-PCI bridge does not seem to have been set up for bridging: bus res 0 0 - bus res 1 0

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-24 Thread Oliver Xymoron
On Tue, 24 Oct 2000, Pavel Machek wrote: > Hi! > > > > [EMAIL PROTECTED] said: > > > > You can also pretty trivially keep track of an error term so that the > > > > clock is right on average: > > > > > > True, but I don't want 'right on average'. I want 'not screwed with at all'. > > >

Re: test10-pre5 -- Compile error drivers/video/video.o: In function `vesafb_set_disp': undefined references

2000-10-24 Thread Miles Lane
> On Tue, 24 Oct 2000, Miles Lane wrote: > > >> James, I tried something even more drastic than running >> make mrproper. I blew away my old source tree, untarred >> a test9 tree, patched it to test10-pre5, copied my old .config >> file into it, ran make oldconfig menuconfig dep all install >>

Re: PC speaker driver patch for 2.4.0-test10-pre3

2000-10-24 Thread Pavel Machek
Hi! > > [EMAIL PROTECTED] said: > > > You can also pretty trivially keep track of an error term so that the > > > clock is right on average: > > > > True, but I don't want 'right on average'. I want 'not screwed with at all'. > > Shifting the timer tick onto the RTC will give me that. > > >

Minimizing dropped UDP packets

2000-10-24 Thread Frank Hansen
Using kernel 2.2.17, I experience lots of dropped UDP packets. The setup is as follows: UDP packets containing measurement data is sent on 100 Mb Ethernet from a embedded device to a Pentium III, 256 MB, IDE based PC with a 3Com 3C905B network adapter. The UDP packets always contains 1300

Promise 20262 on 2.2.17 - can't find second IDE channel?

2000-10-24 Thread root
I have a Promise 20262 card. I'm using ide.2.2.17.all.2904.patch.bz2 on an otherwise unpatched 2.2.17 kernel. I'm able to detect one (the one marked "IDE 1"), but only one, of the two IDE interfaces on the card. That interface seems to work, but the other isn't detected at all. The RAID

test10-pre5: hangs in boot

2000-10-24 Thread Roger Larsson
Hi, This is the first test kernel that won't boot for me. Last message "Ok, booting the kernel" Then nothing... PPro 180 96MB 440FX chip set Saw something about PCI initializations earlier on the list... /RogerL -- Home page: http://www.norran.net/nra02596/ - To unsubscribe from this

Re: test10-pre5 -- Compile error drivers/video/video.o: In function`vesafb_set_disp': undefined references

2000-10-24 Thread Byron Stanoszek
On Tue, 24 Oct 2000, Miles Lane wrote: > James, I tried something even more drastic than running > make mrproper. I blew away my old source tree, untarred > a test9 tree, patched it to test10-pre5, copied my old .config > file into it, ran make oldconfig menuconfig dep all install > modules

Re: PATCH: killing read_ahead[]

2000-10-24 Thread Martin Dalecki
Jeff Garzik wrote: > > > Please have a look at the following patch and feel free to be scared > > by the fact how UTTERLY BROKEN and ARBITRARY the current usage of the > > read_ahead[] array and during the whole past decade was! > > If you really care about clean internal interfaces this should

Re: PATCH: killing read_ahead[]

2000-10-24 Thread Linus Torvalds
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 generic_file_read() does read-ahead that

Re: test10-pre5 -- Compile error drivers/video/video.o: In function `vesafb_set_disp': undefined references

2000-10-24 Thread Miles Lane
James Simmons wrote: >> I am experimenting with compiling lots of stuff as modules. >> I hit what is either a user error, a configuration script >> bug or a symbol export bug. > > > I just tried your setup and it worked for me. Try a > make mrproper and then a make dep etc. I still get

[PATCH] spinlock fix for vgacon

2000-10-24 Thread James Simmons
Hi! Please test this patch for fixing the SMP deadlock issues Keith Owens was talking about. As for my other vgacon work. Well that needs alot more time. These deadlock issues are really important and need to be fixed. Thank you. --- vgacon.c.orig Tue Oct 24 18:45:58 2000 +++ vgacon.c

Re: [drm:drm_release] *ERROR* Process 256 dead

2000-10-24 Thread khromy
On Mon, Oct 23, 2000 at 11:22:53PM -0400, Burton Windle wrote: > Sorry if this is user-error, but after about 20min of using > 2.4.0-test10-pre5, my Debian Woody system dropped out of X with this > message in syslog: > > [drm:drm_release] *ERROR* Process 256 dead, freeing lock for context 1 > >

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

2000-10-24 Thread Mitchell Blank Jr
Linus Torvalds wrote: > > * it doesn't add extra syscalls > > Sure it does. > > What do you think ioctl's are? As I explained a few lines down from where you stopped quoting (and probably stopped reading) the ioctl() use is just an artifact of Solaris's icky implementation. It could and

Re: PATCH: killing read_ahead[]

2000-10-24 Thread Jeff Garzik
> Please have a look at the following patch and feel free to be scared > by the fact how UTTERLY BROKEN and ARBITRARY the current usage of the > read_ahead[] array and during the whole past decade was! > If you really care about clean internal interfaces this should be > one of those prio number

Re: IDE-Floppy and devfs

2000-10-24 Thread Andreas Franck
On Tue, 24 Oct 2000, Guest section DW wrote: > On Tue, Oct 24, 2000 at 01:33:57AM +0200, Andreas Franck wrote: > > + printk(KERN_INFO "calling ide_register_module\n"); > ide_register_module(_module); > + printk(KERN_INFO "ide_register_module finished\n"); > > You do not

Re: test10-pre5 -- Compile error drivers/video/video.o: In function`vesafb_set_disp': undefined references

2000-10-24 Thread James Simmons
> I am experimenting with compiling lots of stuff as modules. > I hit what is either a user error, a configuration script > bug or a symbol export bug. I just tried your setup and it worked for me. Try a make mrproper and then a make dep etc. - To unsubscribe from this list: send the line

Re: pcmcia compile errors - test10-pre5

2000-10-24 Thread Jason Holland
this worked! thanks a lot Mikael! you have any idea why this change was made and if the maintainer of pcmcia needs to be notified?? just curious, i'm sure someone else will run into this sooner or later...thanks again! Jason On Tue, 24 Oct 2000, Mikael Pettersson wrote: > > i've had

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

2000-10-24 Thread Linus Torvalds
On Tue, 24 Oct 2000, Abramo Bagnara wrote: > Linus Torvalds wrote: > > > > > > struct event { > > int fd; > > unsigned long mask; > > void *opaque; > > void (*event_fn)(ind fd, unsigned long mask, void *opaque); > > My

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

2000-10-24 Thread Linus Torvalds
On Tue, 24 Oct 2000, Dan Kegel wrote: > > But user code currently written for poll() has the luxury of dropping > events because poll() will happily report on the current readiness of > the socket every time. /dev/poll is level-triggered because it's trying > to make conversion of

Re: PATCH: killing read_ahead[]

2000-10-24 Thread Martin Dalecki
Rik van Riel wrote: > > On Tue, 24 Oct 2000, Martin Dalecki wrote: > > > The most amanzing thing is that the whole test10-pre5 kernel > > with this patch applied doesn't show any performance penalties > > for me at all! And of corse it's about 10k smaller... > > Ideally we should (IMHO) get

Re: IDE-Floppy and devfs

2000-10-24 Thread Guest section DW
On Tue, Oct 24, 2000 at 01:33:57AM +0200, Andreas Franck wrote: + printk(KERN_INFO "calling ide_register_module\n"); ide_register_module(_module); + printk(KERN_INFO "ide_register_module finished\n"); You do not want debugging code like this in the kernel code. - To

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

2000-10-24 Thread Dan Kegel
Linus Torvalds wrote: > > * Do you get an event whenever an fd is ready for something, or > > only when its readiness changes? (Presumably whenever an fd is ready for >something?) > > Only when its readiness changes - probably with the addition that it would > simplify things that a new

page fault problems porting a network driver to 2.4.x

2000-10-24 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

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

2000-10-24 Thread Lee Chin
There is only one thiong I don't understand about this... why can't we re-implement the poll() implementation of Linux instead of introducing another system call? If I understood Linux correctly, what he is saying is that the bind_event system call is needed to give the kernel a hint that the

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

2000-10-24 Thread Abramo Bagnara
Linus Torvalds wrote: > > > struct event { > int fd; > unsigned long mask; > void *opaque; > void (*event_fn)(ind fd, unsigned long mask, void *opaque); My experience say that: unsigned long rmask;

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

2000-10-24 Thread Simon Kirby
On Tue, Oct 24, 2000 at 10:03:04AM -0700, Linus Torvalds wrote: > Basically, with get_events(), there is a maximum of one event per "bind". > And the memory for that is statically allocated at bind_event() time. >... > But you'd be doing so in a controlled manner: the memory use wouldn't go >

Re: serial problems

2000-10-24 Thread Peter Svensson
On Tue, 24 Oct 2000, Theodore Y. Ts'o wrote: > First of all, Red Hat doesn't install /etc/rc.d/init.d/serial. (Checked > under both Red Hat 7.0 and Red Hat 6.2). That script comes with some > version of setserial that I ship, but in its default configuration it > certainly won't crash

Re: [OT] Re: Possible C++ safe header project - Re:[Criticism] On the discussion about C++ modules

2000-10-24 Thread Andreas Schwab
Timur Tabi <[EMAIL PROTECTED]> writes: |> ** Reply to message from Stephen Satchell <[EMAIL PROTECTED]> on |> Tue, 24 Oct 2000 09:54:46 -0700 |> |> |> > Linus has the final say, of course, but to suggest that any changes that |> > remove name collisions between C and C++ be rejected out of

Re: LMbench 2.4.0-test10pre-SMP vs. 2.2.18pre-SMP

2000-10-24 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Chris Evans <[EMAIL PROTECTED]> wrote: > >On Mon, 23 Oct 2000, Jeff Garzik wrote: > >> First test was with 2.4.0-test10-pre3. >> Next four tests were with 2.4.0-test10-pre4. >> Final four tests were with 2.2.18-pre17. >> >> All are 'virgin' kernels, without any

Re: pcmcia compile errors - test10-pre5

2000-10-24 Thread Mikael Pettersson
> i've had problems compiling pcmcia support in the last 2 pre releases of >the test10 kernel, pre4 and pre5. i'm using pcmcia-cs-3.1.21, which last >time i checked was the latest version of the pcmcia package source. I'm using this patch. /Mikael --- pcmcia-cs-3.1.21/Configure.~1~ Thu

Re: PATCH: killing read_ahead[]

2000-10-24 Thread Rik van Riel
On Tue, 24 Oct 2000, Martin Dalecki wrote: > The most amanzing thing is that the whole test10-pre5 kernel > with this patch applied doesn't show any performance penalties > for me at all! And of corse it's about 10k smaller... Ideally we should (IMHO) get rid of all MAX_BLKDEV arrays. They

Re: quota 2.2.x

2000-10-24 Thread Jan Kara
Hello. > Running with 2.2.17 > VFS: Diskquotas version dquot_6.4.0 initialized > > We have some problem with the quota with only SOME users. > Is there any new version of quota which fix this kind of > bug ? > > #cat /etc/fstab | grep home > /dev/rd/c0d0p7 /home ext2defaults,usrquota

Re: serial problems

2000-10-24 Thread Theodore Y. Ts'o
Date: Tue, 24 Oct 2000 11:14:13 +0200 From: octave klaba <[EMAIL PROTECTED]> > Can you actually give me some details of how your system "crashed"? It > certainly shouldn't have. Kermit will sometimes hang waiting for the > terminal to flush if it's enabled hardware flow control

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

2000-10-24 Thread Linus Torvalds
On Tue, 24 Oct 2000, Simon Kirby wrote: > > However, isn't there already something like this, albeit maybe without > the ability to return multiple events at a time? When discussing > select/poll on IRC a while ago with sct, sct said: > > Simon: You just put your sockets into

Re: [OT] Re: Possible C++ safe header project - Re:[Criticism] On the discussion about C++ modules

2000-10-24 Thread Timur Tabi
** Reply to message from Stephen Satchell <[EMAIL PROTECTED]> on Tue, 24 Oct 2000 09:54:46 -0700 > Linus has the final say, of course, but to suggest that any changes that > remove name collisions between C and C++ be rejected out of hand has the > potential for shooting ourselves in the

Re: [OT] Re: Possible C++ safe header project - Re: [Criticism] On the discussion about C++ modules

2000-10-24 Thread Stephen Satchell
At 04:37 PM 10/23/00 +0200, Marko Kreen wrote: >* This will _not_ be accepted into standard codebase. Don't you >understand? Making headers C++ compatible is the first tiny >step for doing modules in C++. Yes, from driver/module >programmers perspective "they almost look same, and

Re: LMbench 2.4.0-test10pre-SMP vs. 2.2.18pre-SMP

2000-10-24 Thread Larry McVoy
On Tue, Oct 24, 2000 at 02:24:24AM -0400, Hank Leininger wrote: > On 2000-10-23, Jeff Garzik <[EMAIL PROTECTED]> wrote: > > > Hardware: > > Dual P-II 400 Mhz > > 128 MB RAM > > 13GB hard drive > > > First test was with 2.4.0-test10-pre3. > > Next four tests were with 2.4.0-test10-pre4. > >

Re: [Criticism] On the discussion about C++ modules

2000-10-24 Thread Stephen Satchell
At 01:30 PM 10/22/00 +0200, you wrote: >Yup. And I want to try out my modules coded in Visual Cobol, APL, >and PL/I. Oh, and I want to rewrite ext2fs to use Befunge. Would that be PL/I (F) or PL/I (H}? You have different footprint problems with each of these levels. You will also need to

Re: Topic for discussion: OS Design

2000-10-24 Thread Rik van Riel
On Mon, 23 Oct 2000, Hacksaw wrote: > > Another linux caveat. Scads of undocumented and virtually undiscoverable > > behaviours :-) > > Undiscoverable? You have the source code, what more do you want? > Start documenting! TOO LATE ;) I documented all that stuff quite a while ago, see

Re: Topic for discussion: OS Design

2000-10-24 Thread Rik van Riel
On Mon, 23 Oct 2000, Dennis wrote: > At 07:19 PM 10/23/2000, Andi Kleen wrote: > >On Mon, Oct 23, 2000 at 06:43:28PM -0400, Dennis wrote: > > > - FreeBSD will display kernel print messages with syslogd not running, and > > > linux will not. > > > >Linux will also when the console log level is set

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

2000-10-24 Thread Simon Kirby
On Mon, Oct 23, 2000 at 10:39:36PM -0700, Linus Torvalds wrote: > Actually, forget the mmap, it's not needed. > > Here's a suggested "good" interface that would certainly be easy to > implement, and very easy to use, with none of the scalability issues that > many interfaces have. >... >

Re: 2.4.0test10pre4 lockups

2000-10-24 Thread Craig Schlenter
On Mon, Oct 23, 2000 at 11:23:47AM -0700, Linus Torvalds wrote: [snip, ide bootup troubles with ALI M1533 chipset ...] > Could you please do two tests (you can do these at the same time, and in > fact it might be easier, if #2 causes your machine to boot up): > > - Please enable debugging in

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

2000-10-24 Thread Linus Torvalds
On Tue, 24 Oct 2000, Mitchell Blank Jr wrote: > I think everyone should take a timeout and look at Solaris 8's /dev/poll > interface. This discussion is reinventing the wheel, the lever, and the > inclined plane. > > http://docs.sun.com/ab2/coll.40.6/REFMAN7/@Ab2PageView/55123 > > I

  1   2   3   >