Re: Patch to remove undefined C code

2000-10-20 Thread Albert D. Cahalan
> Yes. In practice the usual question is whether the compiler will > evaluate the operands from left to right or from right to left, > but the compiler is within its rights to evaluate the operands in > any order it wants. For ia64, it would be good to evaluate the operands in parallel. One

RE: bind() allowed to non-local addresses

2000-10-20 Thread David Schwartz
> [EMAIL PROTECTED] said: > > There is NOT a bug in the JVM code that handles java.net.DatagramSock > > et. Don't you find it a little compelling that the nearly identical > > JVM code passes the Java Compatibility test suite on Linux 2.2, > > Solaris, HPUX, SCO, and even Windows? > > If the

Re: process header declaration?

2000-10-20 Thread John Kacur
Timur Tabi wrote: > > ** Reply to message from "Andrew C. Dingman" > <[EMAIL PROTECTED]> on Thu, 19 Oct 2000 12:30:51 -0500 (EST) > > > I'm working on a project for my senior seminar for which I (and my > > profs) think I need to modify the process descriptor > > struct. Unfortunately, I don't

Re: Any dual AGP slot motherboards?

2000-10-20 Thread Timothy A. Seufert
>So they started with the PCI spec, but they changed the logical meaning >of a lot of the bus signals, they added a lot of bus signals, they run it >about 8 times faster, they changed the voltage and a bunch of other stuff. >I say it is a different animal now. Sorry to post yet another

New feature:SYN cookies firewall.

2000-10-20 Thread Bordi Zhou
A new feature for kernel 2.2.17. SYN cookies firewalling. You can use it to protect a whole net to avoid the SYN flooding attack. The attachment is kernel patch and administration tool. Bordi ip_scfw-0.9.1.tar.gz

trouble with eepro100+catalyst

2000-10-20 Thread umbertogs
We're having lots of trouble with eepro100 and Cisco Catalyst switch, and my net are a vlan. I am using RedHat 6.2/7.0 and not ping to gateway, but with o Slackware 7.0 ok. What's the magic? Regards, Umberto Systems Analyst .comDominio Brazil - To unsubscribe from this list: send the line

Re: question wrt context switching during disk i/o

2000-10-20 Thread Mark Hahn
> This is something that has been bugging me for a while. I notice > on my system that during disk write we do much context switching, > but not during disk read. Why is that? bdflush is broken in current kernels. I posted to linux-mm about this, but Rik et al haven't shown any interest. I

Re: Patch to remove undefined C code

2000-10-20 Thread Rick Hohensee
([EMAIL PROTECTED]) nobly encouraged empiricism thusly... > Just to encourage empiricism, I usually check stuff like that with > > % cat > foo.c > main(){ > int i; > i = 1 , 2; > printf("%d\n",i); > } > % gcc foo.c > % ./a.out > 1 > > or similar if I'm confused. Indeed.

Re: problem with filesystem (fat ?)

2000-10-20 Thread Arkadiusz Miskiewicz
On Wed, Oct 18, 2000 at 07:59:23AM +0200, Arkadiusz Miskiewicz wrote / Dnia Wed, Oct 18, 2000 at 07:59:23AM +0200, Arkadiusz Miskiewicz napisa(a): > Oct 18 09:51:09 dark kernel: invalid operand: > Oct 18 09:51:09 dark kernel: CPU:0 > Oct 18 09:51:09 dark kernel: EIP:

2.2.18pre17: usb-uhci verbosity

2000-10-20 Thread Martin Hicks
I moved from 2.2.18pre15 to 2.2.18pre17 and now I get the following usb-uhci stuff being spewed to my terminal: Oct 20 20:54:19 plato kernel: usb-uhci.c: interrupt, status 3, frame# 704 Oct 20 20:54:20 plato kernel: usb-uhci.c: interrupt, status 3, frame# 1088 Oct 20 20:54:20 plato kernel:

Re: TRACED] Re: "Tux" is the wrong logo for Linux

2000-10-20 Thread James Lewis Nance
On Fri, Oct 20, 2000 at 03:45:29PM -0400, Ricky Beam wrote: > On Thu, 19 Oct 2000, Richard B. Johnson wrote: > >Cary, NC. can't be very large. There are, probably, three persons in > If that were really true, then the world is in trouble... one of Cisco's > largest offices is here. Nortel has a

about /proc/meminfo and mmap

2000-10-20 Thread Zhixu Liu
Hi, all: My PC have 128M RAM, but in /proc/meminfo, it display 122424K, not 128*1024K = 131072K, what does this mean? My program need to a 32M buffer, so I add "append="mem=96M"" to lilo.conf, then the PC only know 96M mem, I can use the rest 32M. Following is a simple example:

Re: bind() allowed to non-local addresses

2000-10-20 Thread Alexander Viro
On Fri, 20 Oct 2000, Matt Peterson wrote: > cvs-1.10.8/vms/rcmd.c:64:rs = bind(s, (struct sockaddr *)_isa, ^^^ > sizeof(local_isa)); > cvs-1.10.8/vms/rcmd.c:79:rs = bind(s, (struct sockaddr *)_isa, ^^^ > sizeof(local_isa)); > > The cvs code does call bind,

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Alexander Viro
On Thu, 19 Oct 2000, Linus Torvalds wrote: > You'd have to do something like > > LockPage(page); /* Nobody gets to write to this page (except >through mmaps, ugh) */ > gather_all_mmap_users(page);/* THIS is the nasty one */ Wait a second.

Re: bind() allowed to non-local addresses

2000-10-20 Thread Matt Peterson
Eric Lammerts wrote: > > On Fri, 20 Oct 2000, Matt Peterson wrote: > > Are you also suggesting that every other program that expects bind() to > > fail with EADDRNOTAVAIL are broken too? Just for fun, I greped all > > sources of software shipped in Caldera's distributions for instances of > >

Re: Any dual AGP slot motherboards?

2000-10-20 Thread Gary E. Miller
Yo All! On Fri, 20 Oct 2000, J . A . Magallon wrote: > AFAIK, AGP is just a preferent PCI slot in the PCI bus; that is for you can > only have ONE AGP port on a PCI bus. No. The AGP bus is never ON a PCI bus. To quote the AGP 2.0 spec section 1.2: "A.G.P. neither replaces nor diminishes the

Re: DMA and my Maxtor drive

2000-10-20 Thread Jeff V. Merkey
Linux 2.X trees are tested with memory sent from the buffer cache to the disk I/O subsystem aligned on 512-byte boundries. This error is typically seen is someone is passing memory via calls to ll_rw_blk() that are not at a minimum 512-byte aligned, which can result in a wrap case that will

DMA and my Maxtor drive

2000-10-20 Thread linux
I get this when DMA is enabled: Oct 20 15:39:07 cr753963-a kernel: hdb: timeout waiting for DMA Oct 20 15:39:07 cr753963-a kernel: hdb: irq timeout: status=0x6e { DriveReady DeviceFault DataRequest CorrectedError Index } ide0: reset: success Oct 20 15:39:07 cr753963-a kernel: hdb: DMA disabled

Re: Any dual AGP slot motherboards?

2000-10-20 Thread J . A . Magallon
On Fri, 20 Oct 2000 19:56:26 Gary E. Miller wrote: > Yo James! > > On Fri, 20 Oct 2000, James Simmons wrote: > > > After much searching I couldn't find one. It was one of those mac rumors > > people spread around. I still like to get more than one AGP going. If I > > have multiple PCI bus in

NFS oops with 2.3.99-pre3

2000-10-20 Thread Albert D. Cahalan
While copying a file to an NFS filesystem, cp got stuck and I later found an oops on the console. These are mounted: pc-sw8:(pid282) on /net type auto (intr,rw,port=1023,timeo=8,retrans=110,indirect,map=/etc/amd/amd.net) inxs4:/export/home on /amd/inxs4/root/export/home type nfs (rw) This

Equal cost multipath support

2000-10-20 Thread Balasubramanian Ramachandran
Hi, Is equal cost multipath forwarding supported in linux 2.2 or 2.3 versions? Thanks in advance, Bala - 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: [PATCH] cpqarray: several fixes/cleanups

2000-10-20 Thread Jeff Garzik
Rasmus Andersen wrote: > Now we are looking at this driver, could we include the following patch? > It makes gcc stop complaining about unused functions and variables when > compiling cpqarray.c. > > --- linux-240-test10-pre4-clean/drivers/block/cpqarray.cThu Oct 19 21:20:31 >2000 > +++

Re: IDE disk slow? There's help...

2000-10-20 Thread Andre Hedrick
On Fri, 20 Oct 2000 [EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote.. > > > I reliably get 30MB/s with my IBM 30G 7200rpm ATA66 drive, using a > > Via VT82C586 controller. 2.4.0-test9. Modern drives are really fast. > > Hmm, I'm confused here. > VIA 586 can only do up to UDMA 2, which

Re: [PATCH] cpqarray: several fixes/cleanups

2000-10-20 Thread Rasmus Andersen
On Tue, Oct 17, 2000 at 05:59:22PM -0200, Arnaldo Carvalho de Melo wrote: > Jeff, > > Here it is, resubmitting after rediffing wrt 2.4.0-test10-pre3. > > - Arnaldo > > --- linux-2.4.0-test10-3/drivers/block/cpqarray.c Fri Oct 13 18:40:39 2000 (snipped Linus from the to-list since

Re: IDE disk slow? There's help...

2000-10-20 Thread davej
[EMAIL PROTECTED] wrote.. > I reliably get 30MB/s with my IBM 30G 7200rpm ATA66 drive, using a > Via VT82C586 controller. 2.4.0-test9. Modern drives are really fast. Hmm, I'm confused here. VIA 586 can only do up to UDMA 2, which should return speeds less than that. My system has an identical

Re: IDE disk slow? There's help...

2000-10-20 Thread Andre Hedrick
On Fri, 20 Oct 2000, safemode wrote: > > > That's what i was thinking, but 30MB/s seems to be quite an exaggeration. > On my > Intel Corporation 82371AB PIIX4 IDE (rev 01), ide chipset my master (10.2GB Yes because that chipset is limited to Ultra33 rates > maxtor 7200rpm UDMA66) drive i get

Re: bind() allowed to non-local addresses

2000-10-20 Thread Eric Lammerts
On Fri, 20 Oct 2000, Matt Peterson wrote: > Are you also suggesting that every other program that expects bind() to > fail with EADDRNOTAVAIL are broken too? Just for fun, I greped all > sources of software shipped in Caldera's distributions for instances of > where a check is made for

Re: TRACED] Re: "Tux" is the wrong logo for Linux

2000-10-20 Thread Ricky Beam
On Thu, 19 Oct 2000, Richard B. Johnson wrote: >Cary, NC. can't be very large. There are, probably, three persons in Why "can't" it? Just because it's in NC and not CA? Even CA has it's sparse areas (ok, maybe that's "a sparse area" now-a-days.) FYI, most of Cary is a townhouse/strip mall

Re: IDE disk slow? There's help...

2000-10-20 Thread safemode
On Fri, 20 Oct 2000 15:34:04 Dmitry Pogosyan wrote: > safemode wrote: > > > That's what i was thinking, but 30MB/s seems to be quite an > exaggeration. > > On my > > Intel Corporation 82371AB PIIX4 IDE (rev 01), ide chipset my master > (10.2GB > > maxtor 7200rpm UDMA66) drive i get ~15-16MB/s

Re: IDE disk slow? There's help...

2000-10-20 Thread Jeremy Fitzhardinge
On Fri, Oct 20, 2000 at 03:16:14PM -0400, safemode wrote: > That's what i was thinking, but 30MB/s seems to be quite an exaggeration. I reliably get 30MB/s with my IBM 30G 7200rpm ATA66 drive, using a Via VT82C586 controller. 2.4.0-test9. Modern drives are really fast. J - To

Re: IDE disk slow? There's help...

2000-10-20 Thread Dmitry Pogosyan
safemode wrote: > That's what i was thinking, but 30MB/s seems to be quite an exaggeration. > On my > Intel Corporation 82371AB PIIX4 IDE (rev 01), ide chipset my master (10.2GB > maxtor 7200rpm UDMA66) drive i get ~15-16MB/s and on my slave (same > interface, 20.1GB maxtor 7200rpm UDMA66), i

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Trond Myklebust
> " " == Alexander Viro <[EMAIL PROTECTED]> writes: > Again, consider the case when two processes share the > mapping. Process A has page faulted in. Page is > invalidated. Process B tries to access the same page. If you > leave it in page tables of A you _MUST_ leave it

[PATCH] x86 PCI detection and documentation

2000-10-20 Thread Rasmus Andersen
(This is a repost of a mail I made just before vger went offline. My apoligies to Linus and Martin Mares for mailing this twice to them, but any comments should be received by all.) Hi. (This has mostly been discussed in an earlier thread. This is a follow-up with some extra added.) There

RE: [ADMIN] some list related topics ..

2000-10-20 Thread Alexander Viro
On Thu, 19 Oct 2000, Marty Fouts wrote: > > -Original Message- > > From: Matti Aarnio [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, October 19, 2000 1:26 PM > > To: [EMAIL PROTECTED] > > Subject: [ADMIN] some list related topics .. > > [snip] > > > > > 3) some ISP systems yield

Re: IDE disk slow? There's help...

2000-10-20 Thread safemode
That's what i was thinking, but 30MB/s seems to be quite an exaggeration. On my Intel Corporation 82371AB PIIX4 IDE (rev 01), ide chipset my master (10.2GB maxtor 7200rpm UDMA66) drive i get ~15-16MB/s and on my slave (same interface, 20.1GB maxtor 7200rpm UDMA66), i get ~13MB/s. This goes

Re: IDE disk slow? There's help...

2000-10-20 Thread Andre Hedrick
Michael, Whatever card you are using, in you are getting that low I need to know more info. That drive should cook at 30MB/sec. On Fri, 20 Oct 2000, Michael Kwasigroch wrote: > Hi, > > I recently bought a 40Gig IBM ATA100 disk as a replacement for a dying 4G > SCSI disk. I knew I was

Re: VM_RESERVED [was Re: mapping user space buffer to kernel address space]

2000-10-20 Thread Jeff Garzik
Andrea Arcangeli wrote: > > On Fri, Oct 20, 2000 at 02:19:59PM -0400, Jeff Garzik wrote: > > Why? [..] > > vma information isn't passed from v4l layer to lowlevel layer. so I see :( The Matrox Meteor II driver I'm developing uses DMA memory, PCI shared memory, -or- reserve_bootmem memory in

Re: netlink_dev not compile in test9 due to bug in net/Makefile

2000-10-20 Thread David S. Miller
Your patch cannot be correct, it is impossible for CONFIG_NETLINK_DEV to be set without CONFIG_NETLINK also being set. Therefore your patch should make no different when using a correct kernel configuration. I think you have a bogus kernel configuration or a mis-patched tree. Later, David S.

Re: VM_RESERVED [was Re: mapping user space buffer to kernel address space]

2000-10-20 Thread Andrea Arcangeli
On Fri, Oct 20, 2000 at 02:19:59PM -0400, Jeff Garzik wrote: > Why? [..] vma information isn't passed from v4l layer to lowlevel layer. Andrea - 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

Re: Any dual AGP slot motherboards?

2000-10-20 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:"Gary E. Miller" <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > Yo James! > > On Fri, 20 Oct 2000, James Simmons wrote: > > > After much searching I couldn't find one. It was one of those mac rumors > > people spread around. I still like

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Alexander Viro
On Fri, 20 Oct 2000, Trond Myklebust wrote: > For the general case of the page cache I think we can keep them quite > simple: > > + We do in any case want to drop all pages that are unreferenced. (The > reason for flushing may be that the file size has changed.) > > + For pages that are

Re: [ADMIN] some list related topics ..

2000-10-20 Thread David S. Miller
From: Marty Fouts <[EMAIL PROTECTED]> Date:Thu, 19 Oct 2000 19:30:33 -0700 > -Original Message- > From: Matti Aarnio [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 19, 2000 1:26 PM > To: [EMAIL PROTECTED] > Subject: [ADMIN] some list related topics ..

Re: [ADMIN] some list related topics ..

2000-10-20 Thread Matti Aarnio
On Thu, Oct 19, 2000 at 07:30:33PM -0700, Marty Fouts wrote: > [snip] > > > > 3) some ISP systems yield 500 series errors with text: > > "system is temporarily busy" > > or something of that effect. Now THAT is really offensive > > stupidity by the ISP software folks... > >

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Alexander Viro
On 20 Oct 2000, Trond Myklebust wrote: > > " " == Russell King <[EMAIL PROTECTED]> writes: > > > invalidate_inode_pages nfs_zap_caches nfs_lock fcntl_setlk > > do_fcntl sys_fcntl > > > So I guess that NFS locking is really bad if the region is > > mmapped! > > Yep,

Re: VM_RESERVED [was Re: mapping user space buffer to kernel address space]

2000-10-20 Thread Linus Torvalds
On Fri, 20 Oct 2000, Jeff Garzik wrote: > > If I understand your patch, I should call vma_reserve(), and then > completely remove my no-op swapout(). Correct? Note that I dislike "wrapper.h", and I just removed that part. I don't think it's any clearer to write "vma_reserve(vma)" than it is

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Alexander Viro
On 20 Oct 2000, Trond Myklebust wrote: > Under NFS the problem is that pages can (and *should*) be invalidated > despite there being pending write backs. The server can trigger the > need for a cache invalidation at any time. OK, so what should happen if user does mmap() on NFS file, dirties

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Alexander Viro
On Fri, 20 Oct 2000, Roger Larsson wrote: > Is it legal/good practice to unmap the file after closing it? Yes. > (Since the sharing needs the fd to mmap it) It doesn't. Mapping needs struct file * and it doesn't care about fd. mmap() takes a reference to struct file by fd you've passed and

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Alexander Viro
On Fri, 20 Oct 2000, Trond Myklebust wrote: > > " " == David S Miller <[EMAIL PROTECTED]> writes: > > > Actually, judging by the trace you provided Russell, I'd say > > this is some peculiarity with NFS silly rename handling, and > > it'd be best to look for the bug in that

Re: oopses in test10-pre4 (was Re: [RFC] atomic pte updates and paechanges, take 3)

2000-10-20 Thread Ben LaHaise
On Thu, 19 Oct 2000, Linus Torvalds wrote: > I think you overlooked the fact that SHM mappings use the page cache, and > it's ok if such pages are dirty and writable - they will get written out > by the shm_swap() logic once there are no mappings active any more. > > I like the test per

2.4.0-test10-pre4 oops

2000-10-20 Thread Henrik Størner
My 2.4.0-test10-pre4 box died overnight, apparently around 4 am when the nightly cron-jobs run. The last thing logged looks interesting: kernel BUG at vmscan.c:102! invalid operand: CPU:0 EIP:0010:[try_to_swap_out+252/796] EFLAGS: 00010286 eax: 001c ebx: 0100 ecx:

question wrt context switching during disk i/o

2000-10-20 Thread Mike Galbraith
Hi, This is something that has been bugging me for a while. I notice on my system that during disk write we do much context switching, but not during disk read. Why is that? procs memoryswap io system cpu r b w swpd free buff cache

Re: oops with dd with test10-pre4

2000-10-20 Thread davej
[EMAIL PROTECTED] wrote... > kernel BUG at vmscan.c:102! I hit the same bug() an hour ago. It was preceeded by a complete system lock up (not even sysrq worked) and then fsck oopsed after triggering the above bug. The lockup happened whilst I was diffing two kernel trees. Seems large amounts

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Linus Torvalds
[ Final comment, and then I'll shut up ] On Thu, 19 Oct 2000, Linus Torvalds wrote: > > You'd have to do something like > > LockPage(page); /* Nobody gets to write to this page (except >through mmaps, ugh) */ > gather_all_mmap_users(page);/* THIS is the nasty

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Linus Torvalds
On Thu, 19 Oct 2000, Linus Torvalds wrote: > > I'm saying that we're much much better off guaranteeing local consistency > over knowingly breaking local consistency over a uncertain global > consistency issue. Especially as NFS has never guaranteed global > consistency in the first place, and

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Trond Myklebust
> " " == Linus Torvalds <[EMAIL PROTECTED]> writes: > which is really really bad, because now you have the case that > you have 'n' copies of the same page in memory, with 'n' users, > out of which 'n-1' users have the wrong page. And those 'n-1' > users don't even have

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Linus Torvalds
On 20 Oct 2000, Trond Myklebust wrote: > > The problem here is that NFS pages have 3 rather than 2 states: > 1) mmapped & correct. > 2) mmapped & incorrect. (but possibly dirty) > 3) Unmapped > > For case 1), we clearly want to have the page in inode->i_mapping. > For cases 2) & 3) we

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Linus Torvalds
On 20 Oct 2000, Trond Myklebust wrote: > > Under NFS the problem is that pages can (and *should*) be invalidated > despite there being pending write backs. The server can trigger the > need for a cache invalidation at any time. > The existence of file locks that aren't page aligned, as well as

Re: about time-slice

2000-10-20 Thread George Anzinger
Dan Maas wrote: > > > I have a question about the time-slice of linux, how do I know it, or how > > can I test it? > > First look for the (platform-specific) definition of HZ in > include/asm/param.h. This is how many timer interrups you get per second (eg > on i386 it's 100). Then look at

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Trond Myklebust
> " " == Linus Torvalds <[EMAIL PROTECTED]> writes: > The advantage of clearing the uptodate flag (as opposed to > doing what we do now - dropping the page altogether) is that > there would be no cache aliasing issues, and there would be no > issues with a page and its

RE: [ADMIN] some list related topics ..

2000-10-20 Thread Marty Fouts
> -Original Message- > From: Matti Aarnio [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 19, 2000 1:26 PM > To: [EMAIL PROTECTED] > Subject: [ADMIN] some list related topics .. [snip] > > 3) some ISP systems yield 500 series errors with text: > "system is temporarily

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Trond Myklebust
> " " == Linus Torvalds <[EMAIL PROTECTED]> writes: > Btw, that "invalidate_inode_pages()" thing is just wrong - we > can't just remove pages that are mapped etc, because that would > result in no end of fun aliasing problems etc. > How about adding a test in

Re: MAP_NR

2000-10-20 Thread Mike Galbraith
On Thu, 19 Oct 2000 [EMAIL PROTECTED] wrote: > can anyone tell the subsitute for MAP_NR in version 2.4? > or is MAP_NR still there? Hi, MAP_NR() became virt_to_page() as of test6-pre8. -Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: process header declaration?

2000-10-20 Thread Andrew C. Dingman
Thanks, both for the regexp and for the ctag/etags reccomendation. I'd just been looking for 'task_struct' with less, find and egrep, and apparently not noticing the correct needle in the haystack of matches. -Andrew On Thu, 19 Oct 2000, Erik Mouw wrote: >On Thu, Oct 19, 2000 at 12:30:51PM

Re: TRACED] Re: "Tux" is the wrong logo for Linux

2000-10-20 Thread Gregory Maxwell
On Thu, Oct 19, 2000 at 05:06:33PM +0100, Alex Buell wrote: > With regards to this thread, looking at the headers of this post, he > appears to be posting from 216.27.3.45. Running a traceroute produces > the following: [snip] > Feel free to send complaints to [EMAIL PROTECTED] and get his

[PATCH] Boot Logo configuration and generation

2000-10-20 Thread Rick Miller
I've replaced my former attempt at a patch with The Real Thing this time... including the patches to include/linux/console.h and kernel/printk.c that should have been in there last time. BRIEFLY: - This patch comes with a "make_bootlogo.pl" script for installing your own custom boot

[PATCH] Boot Logo configuration and generation

2000-10-20 Thread Rick Miller
I've replaced my former attempt at a patch with The Real Thing this time... including the patches to include/linux/console.h and kernel/printk.c that should have been in there last time. BRIEFLY: - This patch comes with a "make_bootlogo.pl" script for installing your own custom boot

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Russell King
Alexander Viro writes: > Trond, I'm not asking about implementation - the question being what > semantics do you want for nfs_zap_caches() wrt user-mapped pages. Ok, looking through sendmail, and then db2, the situation is created by the db2 library. If the process does the following: 1.

IDE disk slow? There's help...

2000-10-20 Thread Michael Kwasigroch
Hi, I recently bought a 40Gig IBM ATA100 disk as a replacement for a dying 4G SCSI disk. I knew I was risking some trouble because I have an about 4 year old triton 2 board (Intel 430HX) and I didn't want to risk more trouble (and spend more money) by using a proprietary PCI IDE controller

Re: problems with Tulip driver in 2.2 and 2.4 (true 21143 in 2.2.x, too)

2000-10-20 Thread Clayton Weaver
It is not only the "almost standard" tulip clones that have problems in 2.2.1x. Stock Debian potato (2.2.17-pre6, IIRC) i386 kernel, Kingston KNE100TX w/i21143: works fine in 2.0.38 (.90 driver), hung the kernel solid during an ftp running the potato kernel (100/half-duplex). It was not quite a

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

2000-10-20 Thread Andrey Savochkin
[cc list trimmed] On Thu, Oct 19, 2000 at 09:52:30PM +1000, Cefiar wrote: [snip] > ... what is really necessary, > which is to simply not allow the programs to bind to the addresses in the > first place. Unfortunately to implement this sort of thing in god knows how > many user space programs

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Petr Vandrovec
On 19 Oct 00 at 16:32, Linus Torvalds wrote: > How about adding a test in invalidate_inode_pages() like > > /* We cannot invalidate a locked page */ > if (TryLockPage(page)) > continue; > > + /* We cannot invalidate a page that is in use */ > + if

Re: [ANNOUNCE] DProbes 1.1

2000-10-20 Thread richardj_moore
Andi, Thanks for your feedback. We are looking at this now. Hopefully we will be able to give you a response on Monday. If we don't then it's because most of us are on holiday next week. I'm interested in getting information on who is using DProbes and how its being used? Yes, an also that

RE: MAP_NR for 2.4

2000-10-20 Thread aprasad
for using MAP_NR with 2.4, i think you can use macro like #define MAP_NR(addr) (((unsigned long)(addr)-PAGE_OFFSET) >>PAGE_SHIFT) regards anil - 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

[PATCH] Boot Logo configuration and generation

2000-10-20 Thread Rick Miller
I've replaced my former attempt at a patch with The Real Thing this time... including the patches to include/linux/console.h and kernel/printk.c that should have been in there last time. BRIEFLY: - This patch comes with a "make_bootlogo.pl" script for installing your own custom boot

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Trond Myklebust
> " " == Alexander Viro <[EMAIL PROTECTED]> writes: > So what exactly do you want it to do when page is mapped by > user process? Should it remain visible or not? What should > happen if process writes to that page? > Trond, I'm not asking about implementation - the

2.4.0-test9: loop deadlocked on me

2000-10-20 Thread Pavel Machek
Hi! Trying to copy 1Gig of files onto loop device was not good idea: it deadlocked on me. ps -auxl: 100 08765 9 0872 464 c0134e95 D2 0:01 cp -a 22007.pdf and 0 09071 9 0772 356 c01253ad D8 0:00 sync System.map: c0134e10 T

Re: bind() allowed to non-local addresses

2000-10-20 Thread David Woodhouse
[EMAIL PROTECTED] said: > There is NOT a bug in the JVM code that handles java.net.DatagramSock > et. Don't you find it a little compelling that the nearly identical > JVM code passes the Java Compatibility test suite on Linux 2.2, > Solaris, HPUX, SCO, and even Windows? If the JVM spec

netlink_dev not compile in test9 due to bug in net/Makefile

2000-10-20 Thread Vladimir V. Klenov
Hello! Found a small bug in net/Makefile netlink_dev not include in compile list because of wrong variable definition. here is a patch: root@valinor:/usr/src/linux/net# diff -u Makefile.old Makefile --- Makefile.oldFri Oct 20 16:05:14 2000 +++ MakefileFri Oct 20 16:06:55 2000 @@

Re: real_root_dev

2000-10-20 Thread Andries Brouwer
On Thu, Oct 19, 2000 at 09:50:48PM +0200, Geert Uytterhoeven wrote: > > `real_root_dev' must be `int', not `kdev_t'. > > - if (MAJOR(real_root_dev) != RAMDISK_MAJOR > + if (MAJOR((kdev_t)real_root_dev) != RAMDISK_MAJOR Ach, Geert, how painful to behold! Never forget: a

Re: mapping user space buffer to kernel address space

2000-10-20 Thread Stephen Tweedie
Hi, On Tue, Oct 17, 2000 at 09:42:36PM -0700, Linus Torvalds wrote: > Now, the way I'v ealways envisioned this to work is that the VM scanning > function basically always does the equivalent of just > > - get PTE entry, clear it out. > - if PTE was dirty, add the page to the swap cache, and

Re: Quota fixes and a few questions

2000-10-20 Thread Stephen C. Tweedie
Hi, On Thu, Oct 19, 2000 at 07:03:54PM +0200, Jan Kara wrote: > > > I stumbled into another problem: > > When using ext3 with quotas the kjournald process stops responding and > > stays in DW state when the filesystem gets under heavy load. It is easy > > to reproduce: > > Just extract two or

Re: mapping user space buffer to kernel address space

2000-10-20 Thread faith
In article <[EMAIL PROTECTED]>, you write: > > >On Thu, 19 Oct 2000, Jeff Garzik wrote: >> >> I stole the last two lines from drivers/char/drm/vm.c, which might need >> to be fixed up also.. He uses the vm_flags above and nevers calls >> get_page, at the very least. > >The DRM code does > >

missing mxcsr initialization

2000-10-20 Thread Andrea Arcangeli
mxcsr is per-process thing and it's saved and restored with the fpu and it should be initialized to its default value at reset the first time a task uses the FPU as we do with the other parts of the FPU (default value at reset means all SIMD exceptions are masked). ---

Re: VM_RESERVED [was Re: mapping user space buffer to kernel address space]

2000-10-20 Thread Andrea Arcangeli
On Fri, Oct 20, 2000 at 01:46:53PM -0400, Jeff Garzik wrote: > In any case, we shouldn't modify videodev.c to call vma_reserve()... > Let the driver's mmap operation do that or not do that, as it chooses. It can't with the current mmap video4linux kernel API. In practice it doesn't matter

Re: [PATCH] 0-byte read()/write() behaviour

2000-10-20 Thread Philipp Rumpf
On Fri, Oct 20, 2000 at 10:47:45AM -0700, Linus Torvalds wrote: > On Fri, 20 Oct 2000, Philipp Rumpf wrote: > > > > Single Unix specifies that 0-byte reads, as well as 0-byte writes, should > > "return 0 and have no other results". Our current implementation violates > > the first requirement

Re: Any dual AGP slot motherboards?

2000-10-20 Thread Gary E. Miller
Yo James! On Fri, 20 Oct 2000, James Simmons wrote: > After much searching I couldn't find one. It was one of those mac rumors > people spread around. I still like to get more than one AGP going. If I > have multiple PCI bus in theory I should be able to have one AGP port on > each PCI bus.

Re: VM_RESERVED [was Re: mapping user space buffer to kernel address space]

2000-10-20 Thread Andrea Arcangeli
On Fri, Oct 20, 2000 at 10:44:40AM -0700, Linus Torvalds wrote: > agree with your change, but I just suspect it will break drivers that have you're right, it would break it, the driver should really somehow increase the pagecount for each mapping with the PG_reserved removed (in the future that

quota 2.2.x

2000-10-20 Thread octave klaba
Hi, 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 ? thanks Octave #cat /etc/fstab | grep home /dev/rd/c0d0p7 /home ext2defaults,usrquota1 2

RE: cpia_usb cameras

2000-10-20 Thread Dunlap, Randy
> From: John M. Flinchbaugh [mailto:[EMAIL PROTECTED]] > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > did something change in the past 2 months to break cpia_usb cameras? 2.4.0-test9 (and maybe test8) had some significant changes that broke several USB drivers, including cpia USB.

Re: [PATCH] 0-byte read()/write() behaviour

2000-10-20 Thread Linus Torvalds
On Fri, 20 Oct 2000, Philipp Rumpf wrote: > > Single Unix specifies that 0-byte reads, as well as 0-byte writes, should > "return 0 and have no other results". Our current implementation violates > the first requirement and makes it very easy to violate the second one. Note that there _are_

Re: bind() allowed to non-local addresses

2000-10-20 Thread Matt Peterson
David Woodhouse wrote: > > [EMAIL PROTECTED] said: > > There is NOT a bug in the JVM code that handles java.net.DatagramSock > > et. Don't you find it a little compelling that the nearly identical > > JVM code passes the Java Compatibility test suite on Linux 2.2, > > Solaris, HPUX, SCO, and

Re: VM_RESERVED [was Re: mapping user space buffer to kernel address space]

2000-10-20 Thread Jeff Garzik
Andrea Arcangeli wrote: > > As to your rvmalloc()/rvfree() changes, I don't think they are safe as-is: > > I think it's the right thing to do, but I don't trust the drivers to > > maintain the right page counts. The code used to mark the pages as > > reserved, which probably means that it hides

Re: VM_RESERVED [was Re: mapping user space buffer to kernel addressspace]

2000-10-20 Thread Linus Torvalds
On Fri, 20 Oct 2000, Andrea Arcangeli wrote: > > The page count of the mapped pages should be ok, it seems those mapped pages > have a reference count of 1 just from the vmalloc allocation and they use > PG_reserved just to skip swap_out, but I feel safer too if the bttv maintainers > will

Re: Any dual AGP slot motherboards?

2000-10-20 Thread James Simmons
> > ** Reply to message from James Simmons <[EMAIL PROTECTED]> on Thu, 19 Oct 2000 > > 18:34:51 -0700 (PDT) > > > Apple sells a computer with dual AGP slots. > > I've never heard this. Could you tell me exactly which model this is? > > I think he's confusing dualhead cards with dual agp slots.

Re: mapping user space buffer to kernel address space

2000-10-20 Thread Linus Torvalds
On Thu, 19 Oct 2000, Stephen Tweedie wrote: > > > > Then, we'd move the "writeout" part into the LRU queue side, and at that > > point I agree with you 100% that we probably should just delay it until > > there are no mappings available > > I've just been talking about this with Ben LaHaise

Re: VM_RESERVED [was Re: mapping user space buffer to kernel address space]

2000-10-20 Thread Andrea Arcangeli
On Fri, Oct 20, 2000 at 10:10:05AM -0700, Linus Torvalds wrote: > Sure. I have no problem at all with this suggestion: it's basically just a > hint to the VM layer that trying to page something out in this vma is > useless, as its backing store is in memory anyway. Yes, that is _exactly_ the

Re: missing mxcsr initialization

2000-10-20 Thread Gabriel Paubert
On Fri, 20 Oct 2000, Andrea Arcangeli wrote: > Many thanks to Doug and Gabriel for very useful explanations about this FPU > stuff. I suggest Gabriel to submit his way faster and more correct tag word > conversion function to Linus for 2.4.x. Here it a first shot, twd_i387_to_fxsr is

Bootable RAID

2000-10-20 Thread Anil kumar
Hi, I want to make a Bootable RAID. can I make a partition on the disk which I want to make as bootable or should I be use whole disk? What I mean is like this: In the lilo.conf file I do like this: disk = /dev/md0 boot = /dev/hdc Is this all what I can do? or can I make a

Re: VM_RESERVED [was Re: mapping user space buffer to kernel addressspace]

2000-10-20 Thread Linus Torvalds
On Fri, 20 Oct 2000, Andrea Arcangeli wrote: > > I'm fine to drop remap_page_range and the PG_reserved bit, but to do that I'd > suggest to add a new per-VMA VM_RESERVED bitflags. Sure. I have no problem at all with this suggestion: it's basically just a hint to the VM layer that trying to

Re: 2.4.0-test10-pre3:Oops in mm/filemap.c:filemap_write_pa

2000-10-20 Thread Linus Torvalds
On Fri, 20 Oct 2000, Trond Myklebust wrote: > > The problem lies with writes that haven't yet been msync()ed (and > hence do not have writebacks). For shared mappings, one should perhaps > schedule an automatic msync() of the dirty pages (???). For private > mappings, perhaps the best thing

  1   2   3   >