Re: Plain 2.4.5 VM

2001-05-30 Thread Mike Galbraith
On Tue, 29 May 2001, Craig Kulesa wrote: Mike Galbraith ([EMAIL PROTECTED]) wrote: Emphatic yes. We went from cache collapse to cache bloat. Rik, I think Mike deserves his beer. ;) :) ... So is there an ideal VM balance for everyone? I have found that low-RAM (I seriously doubt

Re: [CHECKER] 84 bugs in 2.4.4/2.4.4-ac8 where NULL pointers are deref'd

2001-05-30 Thread Andreas Dilger
Al Viro writes: On Tue, 29 May 2001, Andreas Dilger wrote: For ext2 it is pretty much the same, except ext2_delete_entry() called ext2_check_dir_entry() with a NULL input (for some reason), but it could easily supply a valid input value. All callers to ext2_delete_entry() dereference

Re: [CHECKER] 84 bugs in 2.4.4/2.4.4-ac8 where NULL pointers arederef'd

2001-05-30 Thread Alexander Viro
On Wed, 30 May 2001, Andreas Dilger wrote: b) doesn't fix anything that could be triggered - ext2_delete_entry() can happen only if you've already done lookup. I.e. no problems had been found in that block back when we were finding the entry. That means there is no need to check

Re: OOPS with 2.4.5 [kernel BUG at inode.c:486]

2001-05-30 Thread Trond Myklebust
== Alexander Viro [EMAIL PROTECTED] writes: On Tue, 29 May 2001, Gergely Tamas wrote: Warning (compare_maps): mismatch on symbol partition_name , ksyms_base says c01c4020, System.map says c0154160. Ignoring ksyms_base entry kernel BUG at inode.c:486! [snip]

Re: OOPS with 2.4.5 [kernel BUG at inode.c:486]

2001-05-30 Thread Alexander Viro
On 30 May 2001, Trond Myklebust wrote: The reason we haven't seen this before is that we had 'force_delete' that would always set i_nlink = 0. Unfortunately force_delete is toxic to mmap(), as it will discard any dirty pages rather than flushing them to storage, so it was removed in the

Re: linux-2.4.3-ac14 spinlock problem?

2001-05-30 Thread David Howells
I was running something on my Dell dual p3 box (optiplex gx300). my kernel is linux-2.4.3-ac14. I got the following message: How often did this message occur? __rwsem_do_wake(): wait_list unexpectedly empty [4191] c5966f60 = { 0001 }) kenel BUG at rwsem.c:99! invalid operand:

Re: Reproducible oops when loading ns558.o in 2.4.5-ac4

2001-05-30 Thread Stephen Thomas
Vojtech Pavlik wrote: Just one question: How to reproduce it? Just by loading the module? Yes, 'modprobe ns558' generates the oops. Thereafter, lsmod reports that ns558 is initializing. Stephen - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: OOPS with 2.4.5 [kernel BUG at inode.c:486]

2001-05-30 Thread Trond Myklebust
== Alexander Viro [EMAIL PROTECTED] writes: On 30 May 2001, Trond Myklebust wrote: Al: Is there any reason why the cases if (!inode-i_nlink) and the 'magic nfs path' should be treated differently? Personally, I'd rather prefer to merge the 2. I

Re: Creative 4-speed CDROM driver

2001-05-30 Thread james
I think you've mistaken my tone :-) I wasn't asking anyone to write the driver for me. But, I am at such a beginning position that I could pull my hair out for a year just trying to get an idea where to start, or I can ask someone. I am absolutely prepared to do the work, however I am not

Interface type.

2001-05-30 Thread Haseeb Budhani
Hello, I have a fairly quick one: Is there an ioctl flag/call which can be used to find out the type of the interface being used ? I would like to somehow be able to tell in my application whether the interface in question is of type ETHERNET or ATM or FRAME_RELAY etc. Any/all help will be

Re: Generating valid random .configs

2001-05-30 Thread Arjan van de Ven
Anuradha Ratnaweera wrote: Recently, I posted a request here to send your .config files and I received a good number of them. (thanks!). Now I want to generate even more different configurations, and a random .config generator would be ideal. If I write a program which randomly outputs

boundary condition bug in do_mmap()

2001-05-30 Thread Tania Oka
Hello There seems to be a boundary condition bug in do_mmap() (include/linux/mm.h). It is in kernels as late as 2.4.4 (not sure about later). I saw it reported on a mailing list a year ago but I guess it didn't make it to the right place. In the inline function do_mmap(), there is a check for

pte_page

2001-05-30 Thread mdaljeet
I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' inside a module to get the physical address of a user space virtual address. The physical address returned by 'pte_page' is not page aligned whereas the virtual address was page aligned. Can somebody tell me the reason? Also, can

Re: 2.4.5: USB audio crash again; now with info

2001-05-30 Thread Jakob Borg
On Mon, May 28, 2001 at 07:46:54AM +0200, Jakob Borg wrote: Hey; 2.4.5 again seems to have the same bug that was introduced in 2.4.4, that the systems locks up completely when accessing and USB audio device. The system is a dual P2 400, details to be found in the attached dmesg and

Re: [PATCH] net #3

2001-05-30 Thread Paul Gortmaker
Andrzej Krzysztofowicz wrote: The following patch fixes some ISA PnP #ifdefs (enable modular, disable when non-available) for 3c509 and smc-ultra. -#ifdef CONFIG_ISAPNP +#if defined(CONFIG_ISAPNP) || (defined(CONFIG_ISAPNP_MODULE) defined(MODULE)) Hrrm. AFAICT the token

Re: Linux 2.4.5-ac2

2001-05-30 Thread Jens Axboe
On Tue, May 29 2001, Fabio Riccardi wrote: yes I get a performance improvement of about 5% Nice could you port your patches to the 2.4.5-ac4 kernel? I'd love to see if the ac improvements and yours add to each other. Sure: *.kernel.org/pub/linux/kernel/people/axboe/patches/2.4.5-ac4/ --

Re: Generating valid random .configs

2001-05-30 Thread Andrzej Krzysztofowicz
Arjan van de Ven wrote: Anuradha Ratnaweera wrote: Recently, I posted a request here to send your .config files and I received a good number of them. (thanks!). Now I want to generate even more different configurations, and a random .config generator would be ideal. If I write a

Re: Generating valid random .configs

2001-05-30 Thread Arjan van de Ven
On Wed, May 30, 2001 at 11:29:42AM +0200, Andrzej Krzysztofowicz wrote: Some things cannot be properly fixed in CML1. $CONFIG_BINFMT_MISC = y -a $CONFIG_PROC_FS = n is a good example. This one has gone away btw But in general, the current TOOLS cannot do forward dependencies, true.

Re: [PATCH] compiler warning fix in aci.c

2001-05-30 Thread Robert Siemer
From: Anuradha Ratnaweera [EMAIL PROTECTED] On Wed, 30 May 2001, Anuradha Ratnaweera wrote: Following patch fixes a compiler warning in aci.c. I can guess the usefullness of the functiion print_bits that would be removed if my patch is applied. If this is so, how about putting it inside

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Mark Hemment
Hi Jens, I ran this (well, cut-two) on a 4-way box with 4GB of memory and a modified qlogic fibre channel driver with 32disks hanging off it, without any problems. The test used was SpecFS 2.0 Peformance is definitely up - but I can't give an exact number, as the run with this patch was

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Jens Axboe
On Wed, May 30 2001, Mark Hemment wrote: Hi Jens, I ran this (well, cut-two) on a 4-way box with 4GB of memory and a modified qlogic fibre channel driver with 32disks hanging off it, without any problems. The test used was SpecFS 2.0 Cool, could you send me the qlogic diff? It's the

Re: [PATCH] net #9

2001-05-30 Thread Jeff Garzik
Henning P. Schmiedehausen wrote: Andrzej Krzysztofowicz [EMAIL PROTECTED] writes: -static char name[4][IFNAMSIZ] = { , , , }; +static char name[4][IFNAMSIZ]; Ugh. Sure about that one? the variables have been pointers to zero, now they're zero... No, the variables were and

Re: [PATCH] net #9

2001-05-30 Thread Andrzej Krzysztofowicz
Henning P. Schmiedehausen wrote: Andrzej Krzysztofowicz [EMAIL PROTECTED] writes: -static char name[4][IFNAMSIZ] = { , , , }; +static char name[4][IFNAMSIZ]; Ugh. Sure about that one? the variables have been pointers to zero, now they're zero... I do not agree. As I understand C name

Re: [PATCH] net #3

2001-05-30 Thread Andrzej Krzysztofowicz
Paul Gortmaker wrote: Andrzej Krzysztofowicz wrote: The following patch fixes some ISA PnP #ifdefs (enable modular, disable when non-available) for 3c509 and smc-ultra. -#ifdef CONFIG_ISAPNP +#if defined(CONFIG_ISAPNP) || (defined(CONFIG_ISAPNP_MODULE) defined(MODULE)) Hrrm.

Re: Promise Ultra100 TX2 pbm

2001-05-30 Thread Andre Hedrick
Until I get some feed back that my patches will be accepted, there are a lot of fixes and updates on hold. Promise Ultra100 TX2, AMD760(MP), OSB4/CSB5. Right now there is a 2.2.19 patch and that is it. Since there are changes being made without understand the total scope of the issues at

Re: Hard lockup debugging suggestions? APIC enabling suggestions?

2001-05-30 Thread Mikael Pettersson
On Tue, 29 May 2001 18:22:57 -0500 (CDT), Paul Walmsley wrote: I have an 700Mhz Pentium III HP Omnibook 6000 that has been locking up ... In the hopes of getting an oops from the NMI watchdog, I attempted to enable the NMI watchdog with both 'nmi_watchdog=1' and 'nmi_watchdog=2'. Neither seems

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Mark Hemment
On Wed, 30 May 2001, Jens Axboe wrote: On Wed, May 30 2001, Mark Hemment wrote: Hi Jens, I ran this (well, cut-two) on a 4-way box with 4GB of memory and a modified qlogic fibre channel driver with 32disks hanging off it, without any problems. The test used was SpecFS 2.0 Cool,

Re: linux-2.4.3-ac14 spinlock problem?

2001-05-30 Thread Feng Xian
David, Actually it happened only once. then I upgrade my kernel to 2.4.5. problem disappeared. I just hope this maybe a known problem. Thanks. Alex On Wed, 30 May 2001, David Howells wrote: I was running something on my Dell dual p3 box (optiplex gx300). my kernel is linux-2.4.3-ac14.

Kernel 2.2.18 oops

2001-05-30 Thread Stephen Cornell
Sorry, after reading the documentation I couldn't figure out who to send this to. ksymoops doesn't seem to have done its job correctly, but I include the output anyway. The problem seems to have occured during updatedb (creates the slocate file database), which runs daily as a cron job (and has

Re: [PATCH] compiler warning fix in aci.c

2001-05-30 Thread Anuradha Ratnaweera
On Wed, 30 May 2001, Robert Siemer wrote: From: Anuradha Ratnaweera [EMAIL PROTECTED] On Wed, 30 May 2001, Anuradha Ratnaweera wrote: Following patch fixes a compiler warning in aci.c. I can guess the usefullness of the functiion print_bits that would be removed if my patch is

POSIX/1003.b/whatever docs free?

2001-05-30 Thread james
Is there somewhere I can download the collection of POSIX standards docs free of charge? ;-) Thankyou, James - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

ll_rw_blk.c and high memory

2001-05-30 Thread Mark Hemment
Hi Jens, all, In drivers/block/ll_rw_blk.c:blk_dev_init(), the high and low queued sectors are calculated from the total number of free pages in all memory zones. Shouldn't this calculation be passed upon the number of pages upon which I/O can be done directly (ie. without bounce pages)?

Re: Hard lockup switching to X from vc; Matrox G400 AGP

2001-05-30 Thread Rahul Karnik
Hi fellow Matrox users, Maybe I can help in reporting your problems to Matrox. Can you give me some more info as to XFree 86 version and Matrox driver version? -Rahul = -- Rahul Karnik [EMAIL PROTECTED] __ Do You Yahoo!? Get

Re: ll_rw_blk.c and high memory

2001-05-30 Thread Jens Axboe
On Wed, May 30 2001, Mark Hemment wrote: Hi Jens, all, In drivers/block/ll_rw_blk.c:blk_dev_init(), the high and low queued sectors are calculated from the total number of free pages in all memory zones. Shouldn't this calculation be passed upon the number of pages upon which I/O can be

[ PATCH ]: disable pcspeaker kernel: 2.4.2 - 2.4.5

2001-05-30 Thread Nico Schottelius
Hello! As I read that Alan and Linus are more than busy, I just retry sending the patch to the list. The patch allows you to switch off the builtin pc speaker with sysctl options. No program will then be able to beep under Linux, nor under X neither in the console. Normally the speaker keeps

Re: [ PATCH ]: disable pcspeaker kernel: 2.4.2 - 2.4.5

2001-05-30 Thread Ingo Molnar
By making this (logical, and needed) feature unconditional, your patch's size and complexity is reduced by 80%. (see the attached pc_speaker.patch2) Ingo diff -u --recursive linux-2.4.5/drivers/char/vt.c linux-2.4.5-nc/drivers/char/vt.c --- linux-2.4.5/drivers/char/vt.c Fri

Re: pte_page

2001-05-30 Thread Brian Gerst
[EMAIL PROTECTED] wrote: I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' inside a module to get the physical address of a user space virtual address. The physical address returned by 'pte_page' is not page aligned whereas the virtual address was page aligned. Can somebody

Re: Plain 2.4.5 VM

2001-05-30 Thread Marcelo Tosatti
On Wed, 30 May 2001, Jonathan Morton wrote: The page aging logic does seems fragile as heck. You never know how many folks are aging pages or at what rate. If aging happens too fast, it defeats the garbage identification logic and you rape your cache. If aging happens too slowly..

Re: [ PATCH ]: disable pcspeaker kernel: 2.4.2 - 2.4.5

2001-05-30 Thread Ingo Molnar
less code / one int more in the kernel or more code and #ifs / one int less in the kernel if the #ifdefs bloat the code 4 times the size of the simple patch, then we obviously want 4 bytes more in the kernel. And what about the code from kernel/sys.c ? The version you provided doesn't

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Andrea Arcangeli
[ my usual email is offline at the moment, please CC to [EMAIL PROTECTED] for anything urgent until the problem is fixed ] On Wed, May 30, 2001 at 11:55:38AM +0200, Jens Axboe wrote: On Wed, May 30 2001, Mark Hemment wrote: Hi Jens, I ran this (well, cut-two) on a 4-way box with 4GB

Re: pte_page

2001-05-30 Thread Ingo Molnar
On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' inside a module to get the physical address of a user space virtual address. The physical address returned by 'pte_page' is not page aligned whereas the virtual address was page

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Jens Axboe
On Wed, May 30 2001, Andrea Arcangeli wrote: I did change the patch so that bounce-pages always come from the NORMAL zone, hence the ZONE_DMA32 zone isn't needed. I avoided the new zone, as I'm not 100% sure the VM is capable of keeping the zones it already has balanced - and

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread andrea
On Wed, May 30, 2001 at 11:59:50AM +0100, Mark Hemment wrote: Now, when HIGHMEM allocations come in (for page cache pages), they skip the HIGH zone and use the NORMAL zone (as it now has plenty of free pages) - the code at the top of __alloc_pages(), which checks

Re: [ PATCH ]: disable pcspeaker kernel: 2.4.2 - 2.4.5

2001-05-30 Thread Nico Schottelius
less code / one int more in the kernel or more code and #ifs / one int less in the kernel if the #ifdefs bloat the code 4 times the size of the simple patch, then we obviously want 4 bytes more in the kernel. Okay. And what about the code from kernel/sys.c ? The version you provided

[patch] 4GB I/O, cut four

2001-05-30 Thread Jens Axboe
Hi, Changes in this release: - Don't merge requests with -special set. Not a highmem introduced bug. (discovered by Mark Hemment) - __scsi_end_request didn't decrement hard_nr_sectors correctly. Not a highmem introduced bug. (discovered by Mark Hemment) - Modular IDE/SCSI needs kmap_prot

via-rhine DFE-530TX rev A1

2001-05-30 Thread Rose, Daniel
It seems as though my card will not reset anymore after running windows 98, even after a cold boot, and recompiling the kernel. Below is the output of dmesg, lspci -n and ifconfig. Does anyone have any ideas? (please cc replies) Linux version 2.4.5 (root@rocket) (gcc version 2.95.3 20010315

2.4.5 panic while starting aic7xxx

2001-05-30 Thread Michael David
SCSI subsystem driver Revision: 1.00 PCI: Found IRQ 11 for device 00:0c.0 scsi0: Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.1.13 Adaptec 2940 Ultra2 SCSI adapter aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc_intr: AWAITING_MSG for an SCB that does not have

Re: Creative 4-speed CDROM driver

2001-05-30 Thread Masoud Sharbiani
[EMAIL PROTECTED] wrote: You see, I can't even begin to write one line of code, because I know nothing about what I am supposed to do. Sure, I know the basics, I have written toy device drivers for Linux, I know how to implement a driver for Minix, understand the main loop, handling messages

Re: [PATCH] compiler warning fix in aci.c

2001-05-30 Thread Robert Siemer
From: Anuradha Ratnaweera [EMAIL PROTECTED] On Wed, 30 May 2001, Robert Siemer wrote: Following patch fixes a compiler warning in aci.c. ... how about putting it inside an #ifdef DEBUG? This is exactly what I did some month ago with my little working tree. So will you be

Re: query regarding 'map_user_kiobuf'

2001-05-30 Thread William Waddington
On Tue, 29 May 2001 19:30:06 GMT, in fa.linux.kernel you wrote: [EMAIL PROTECTED] said: After using the 'map_user_kiobuf', I observed the followiing: 1. 'kiobuf-maplist[0]-virtual' contains a different virtual address than the user space buffer address 2. But these two addresses are

Re: 2.4.5 panic while starting aic7xxx

2001-05-30 Thread Justin T. Gibbs
SCSI subsystem driver Revision: 1.00 PCI: Found IRQ 11 for device 00:0c.0 scsi0: Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.1.13 Adaptec 2940 Ultra2 SCSI adapter aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs ahc_intr: AWAITING_MSG for an SCB that does not have

Re: Plain 2.4.5 VM

2001-05-30 Thread Mike Galbraith
On Wed, 30 May 2001, Jonathan Morton wrote: The page aging logic does seems fragile as heck. You never know how many folks are aging pages or at what rate. If aging happens too fast, it defeats the garbage identification logic and you rape your cache. If aging happens too slowly..

Re: [ PATCH ]: disable pcspeaker kernel: 2.4.2 - 2.4.5

2001-05-30 Thread Ingo Molnar
On Wed, 30 May 2001, Nico Schottelius wrote: the default value is 0, that is good enough. hmm.. I don't think so... value of 1 would be much better, because 0 normally disables the speaker. i confused the value. Yes, an initialization to 1 would be the correct, ie.: +++

Re: Plain 2.4.5 VM

2001-05-30 Thread Mike Galbraith
On Wed, 30 May 2001, Marcelo Tosatti wrote: On Wed, 30 May 2001, Jonathan Morton wrote: The page aging logic does seems fragile as heck. You never know how many folks are aging pages or at what rate. If aging happens too fast, it defeats the garbage identification logic and you rape

[2.2 - 2.4] serial port

2001-05-30 Thread sebastien person
Hi, Is there changes for handling a serial port between kernel 2.2 and 2.4 ? Thanks sebastien person - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: query regarding 'map_user_kiobuf'

2001-05-30 Thread David Woodhouse
[EMAIL PROTECTED] said: I have a couple of user DMA drivers up and running, but in light of your comment, I am not so sure. I'm sorry, it seems I lied. Although map_user_kiobuf in 2.2 used to lock the pages, apparently that's no longer necessary. You just need to make sure they're marked

Oopses with 2.4.4

2001-05-30 Thread Roland Kuhn
Hi folks! All of a sudden I experienced at least two Oopses looking like the attached one, which is from process X (the other was bash, but the message had nearly scrolled away). Since I can't find this exact code sequence in arch/i386/entry.S (it appeared exactly the same in the bash Oops) I am

Re: Oops with 2.4.3-XFS

2001-05-30 Thread Matt Bernstein
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After some more testing it's entirely plausible (though unfortunately we don't have anything conclusive) that we have a hardware problem. Having added a new drive (hdc as reported below) and booted root=/dev/hdc2 with nothing mounted on hda, we have

Re: [CHECKER] 4 security holes in 2.4.4-ac8

2001-05-30 Thread Keith Owens
On 30 May 2001 11:38:13 +0200, Andi Kleen [EMAIL PROTECTED] wrote: David S. Miller [EMAIL PROTECTED] writes: Dawson Engler writes: Is there any way to automatically find these? E.g., is any routine with asmlinkage callable from user space? This is only universally done in generic and

Re: [PATCH] net

2001-05-30 Thread Studierende der Universitaet des Saarlandes
@@ -643,9 +631,7 @@ eexp_hw_tx_pio(dev,data,length); } dev_kfree_skb(buf); -#ifdef CONFIG_SMP spin_unlock_irqrestore(lp-lock, flags); -#endif enable_irq(dev-irq); return 0; They are done this way to get good non SMP performance. Your changes would ruin that. I

Re: [PATCH] net #6

2001-05-30 Thread Andrzej Krzysztofowicz
The following patch removes unnecessary #ifdefs from eexpress.c They are neccessary Yes, you are right. I was suggested by improper part of spinlock.h ... Forget this patch. @@ -643,9 +631,7 @@ eexp_hw_tx_pio(dev,data,length); } dev_kfree_skb(buf); -#ifdef

Re: [PATCH] net #3

2001-05-30 Thread Jeff Garzik
David Woodhouse wrote: [EMAIL PROTECTED] said: -#ifdef CONFIG_ISAPNP +#if defined(CONFIG_ISAPNP) || (defined(CONFIG_ISAPNP_MODULE) defined(MODULE)) The result here would be a 3c509 module which differs depending on whether the ISAPNP module happened to be compiled at the same time or

Re: [PATCH] net #3

2001-05-30 Thread Andrzej Krzysztofowicz
David Woodhouse wrote: [EMAIL PROTECTED] said: -#ifdef CONFIG_ISAPNP +#if defined(CONFIG_ISAPNP) || (defined(CONFIG_ISAPNP_MODULE) defined(MODULE)) The result here would be a 3c509 module which differs depending on whether the ISAPNP module happened to be compiled at the same

PATCH: 3c509 PNP80f7 id

2001-05-30 Thread Marcus Meissner
Hi, This adds the PNP80f7 compat Id to 3c509.c, making it now autodetect my '3C509B EtherLink III'. BTW, there is a problem there: It has a card id of TCM5094 and a function id of PNP80f7, the cardid is already there, but only probed as function id... Anyway, I will let the dust settle on

Re: Generating valid random .configs

2001-05-30 Thread Alan Cox
2 months since I last did that, so I should do it again soon.. Some things cannot be properly fixed in CML1. $CONFIG_BINFMT_MISC = y -a $CONFIG_PROC_FS = n is a good example. Thats a tool not a language limit. Alan - To unsubscribe from this list: send the line unsubscribe

Re: 2.4.5 panic while starting aic7xxx

2001-05-30 Thread Michael David
The rebuild firmware option was the right answer in this case. It is now working. Date: Wed, 30 May 2001 09:19:02 -0600 From: Justin T. Gibbs [EMAIL PROTECTED] To: Michael David [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: 2.4.5 panic while starting aic7xxx SCSI subsystem driver

Zerocopy NBD

2001-05-30 Thread Steve Whitehouse
Hi, Attached is a patch I came up with recently to do add zerocopy support to NBD for writes. I'm not intending that this should go into the kernel before at least 2.5, I'm just sending it here in case it is useful to anyone. I wrote it is a simple way to experiment with the new zerocopy code

Re: Zerocopy NBD

2001-05-30 Thread Jens Axboe
On Wed, May 30 2001, Steve Whitehouse wrote: + if (PageHighMem(page)) + offset = (int)bh-b_data; + else + offset = (int)bh-b_data - (int)page_address(page); Side note: offset = bh_offset(bh); will handle this nicely for you. No need for (nasty)

ln -s broken on 2.4.5

2001-05-30 Thread Edsel Adap
Hi, I downloaded the linux 2.4.5 sources and built and installed them on my system. Since then, I've noticed strange file system behavior: marvin:~ cd /tmp marvin:/tmp ls -la total 2656 drwxrwxrwt6 root root 1024 May 30 12:06 ./ drwxr-xr-x 22 root root 1024 Feb 18

Re: empeg-car serial-over-USB driver

2001-05-30 Thread Greg KH
On Tue, May 29, 2001 at 11:16:08PM +0100, Philip Blundell wrote: Has anybody used this successfully in a recent kernel? With 2.4.5 it seems to detect the device successfully: Are you _sure_ you are using usb-uhci and not uhci? :) Any oops message available from a serial console? empeg.c:

Re: Zerocopy NBD

2001-05-30 Thread Marcelo Tosatti
On Wed, 30 May 2001, Steve Whitehouse wrote: Hi, Attached is a patch I came up with recently to do add zerocopy support to NBD for writes. I'm not intending that this should go into the kernel before at least 2.5, I'm just sending it here in case it is useful to anyone. I wrote it is

Re: pte_page

2001-05-30 Thread Pete Wyckoff
[EMAIL PROTECTED] said: On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' inside a module to get the physical address of a user space virtual address. The physical address returned by 'pte_page' is not page aligned whereas the

Re: Zerocopy NBD

2001-05-30 Thread Steve Whitehouse
Hi, On Wed, 30 May 2001, Steve Whitehouse wrote: [info about NBD patch deleted] Cool. Are you seeing performance improvements with the patch ? Yes, but my testing is not in anyway complete yet. The only network device I have which is supported by zerocopy is loopback and there

Re: ln -s broken on 2.4.5

2001-05-30 Thread Rasmus B. Hansen
On Wed, 30 May 2001, Edsel Adap wrote: I downloaded the linux 2.4.5 sources and built and installed them on my system. Since then, I've noticed strange file system behavior: marvin:/tmp ln -s foo bar lrwxrwxrwx1 adap users 3 May 30 12:09 bar - bar Notice that the

Re: Zerocopy NBD

2001-05-30 Thread Marcelo Tosatti
On Wed, 30 May 2001, Steve Whitehouse wrote: Hi, On Wed, 30 May 2001, Steve Whitehouse wrote: [info about NBD patch deleted] Cool. Are you seeing performance improvements with the patch ? Yes, but my testing is not in anyway complete yet. The only network device

Re: pte_page

2001-05-30 Thread Ingo Molnar
On Wed, 30 May 2001, Pete Wyckoff wrote: __pa(page_address(pte_page(pte))) is the address you want. [or pte_val(*pte) (PAGE_SIZE-1) on x86 but this is platform-dependent.] Does this work on x86 non-kmapped highmem user pages too? (i.e. is page-virtual valid for every potential user

Re: via-rhine DFE-530TX rev A1

2001-05-30 Thread Urban Widmark
On Wed, 30 May 2001, Rose, Daniel wrote: It seems as though my card will not reset anymore after running windows 98, even after a cold boot, and recompiling the kernel. Below is the output of dmesg, lspci -n and ifconfig. Does anyone have any ideas? (please cc replies) Have you tried

Re: POSIX/1003.b/whatever docs free?

2001-05-30 Thread dean gaudet
if you go to opengroup.org you can read the single-unix standard for free... you need to register though. (it's not quite the same as POSIX...) -dean On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: Is there somewhere I can download the collection of POSIX standards docs free of charge? ;-)

Athlon fast_copy_page revisited

2001-05-30 Thread Jimmie Mayfield
Hi. A few weeks ago there was a discussion centering on the Athlon-optimized fast_copy_page routine and how the prefetch might be causing problems on Via motherboards. Unfortunately Alan's proposed fixes (to not prefetch the final 320 bytes) don't seem to help...at least on my iWill KT-133A

[PATCH] 245-ac4

2001-05-30 Thread Carlos E Gorges
Hi all, This patch remove some NULL parameters tests in kfree-like functions and add this directly in function. - dev_kfree_skb_irq == dev_kfree_skb == kfree_skb - kfree already handle null parameters : void kfree (const void *objp) { kmem_cache_t *c; unsigned long flags;

Re: ln -s broken on 2.4.5

2001-05-30 Thread Alan Cox
I downloaded the linux 2.4.5 sources and built and installed them on my system. Since then, I've noticed strange file system behavior: What file system. Its find on my 2.4.5-ac with ext2 - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

cs46xx oops in 2.4.5-ac4

2001-05-30 Thread Wayne . Brown
Since upgrading to 2.4.5-ac4 the Crystal Soundfusion card in my Thinkpad 600X has stopped working. Trying to play an audio file (with /usr/bin/play from sox 12.16) gives me an oops. Here is the init stuff from dmesg for the sound card: Crystal 4280/46xx + AC97 Audio, version 1.27.32,

Re: Plain 2.4.5 VM

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Marcelo Tosatti wrote: The problem is that we allow _every_ task to age pages on the system at the same time --- this is one of the things which is fucking up. This should not have any effect on the ratio of cache reclaiming vs. swapout use, though... The another

Re: [PATCH] 245-ac4

2001-05-30 Thread Mikulas Patocka
Hi all, This patch remove some NULL parameters tests in kfree-like functions and add this directly in function. - dev_kfree_skb_irq == dev_kfree_skb == kfree_skb - kfree already handle null parameters : void kfree (const void *objp) { kmem_cache_t *c; unsigned long

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: btw, I think such heuristic is horribly broken ;), the highmem zone simply needs to be balanced if it is under the pages_low mark, just skipping it and falling back into the normal zone that happens to be above the low mark is the wrong thing to

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Jens Axboe wrote: You are right, this is definitely something that needs checking. I really want this to work though. Rik, Andrea? Will the balancing handle the extra zone? In as far as it handles balancing the current zones, it'll also work with one more. In places

Re: Plain 2.4.5 VM

2001-05-30 Thread Marcelo Tosatti
On Wed, 30 May 2001, Rik van Riel wrote: On Wed, 30 May 2001, Marcelo Tosatti wrote: The problem is that we allow _every_ task to age pages on the system at the same time --- this is one of the things which is fucking up. This should not have any effect on the ratio of cache

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Andrea Arcangeli
On Wed, May 30, 2001 at 03:42:51PM -0300, Rik van Riel wrote: On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: btw, I think such heuristic is horribly broken ;), the highmem zone simply needs to be balanced if it is under the pages_low mark, just skipping it and falling back into the normal

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Yoann Vandoorselaere
Rik van Riel [EMAIL PROTECTED] writes: On Wed, 30 May 2001 [EMAIL PROTECTED] wrote: btw, I think such heuristic is horribly broken ;), the highmem zone simply needs to be balanced if it is under the pages_low mark, just skipping it and falling back into the normal zone that happens to

OOpses in memory allocator with 2.4.5-ac2

2001-05-30 Thread Christoph Lameter
Following is a series of oopses that kept my server not responding for a while this morning. Running lots of services amoung them a hub for the openproject IRC network: May 30 07:58:01 melchi kernel: invalid operand: May 30 07:58:01 melchi kernel: CPU:0 May 30 07:58:01 melchi kernel:

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Andrea Arcangeli
On Wed, May 30, 2001 at 08:57:50PM +0200, Yoann Vandoorselaere wrote: I remember the 2.3.51 kernel as the most usable kernel I ever used talking about VM. I also don't remeber anything strange in that kernel about the VM (I instead remeber well the VM breakage introduced in 2.3.99-pre).

Re: Plain 2.4.5 VM

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Mike Galbraith wrote: I wouldn't go so far as to say totally broken (mostly because I've tried like _hell_ to find a better way, and [despite minor successes] I've not been able to come up with something which covers all cases that even _I_ [hw tech] can think of well).

Re: [patch] 4GB I/O, cut three

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Andrea Arcangeli wrote: On Wed, May 30, 2001 at 08:57:50PM +0200, Yoann Vandoorselaere wrote: I remember the 2.3.51 kernel as the most usable kernel I ever used talking about VM. I also don't remeber anything strange in that kernel about the VM (I instead remeber

Re: ln -s broken on 2.4.5

2001-05-30 Thread Edsel Adap
On Wed, May 30, 2001 at 07:24:30PM +0100, Alan Cox wrote: I downloaded the linux 2.4.5 sources and built and installed them on my system. Since then, I've noticed strange file system behavior: What file system. Its find on my 2.4.5-ac with ext2 Filesystem: ext2 Architecture: i386 CPU:

Re: ln -s broken on 2.4.5

2001-05-30 Thread LA Walsh
Marcus Meissner wrote: $ ln -s fupp/bar bar $ ls -la bar --- Is it peculiar to a specific architecture? What does strace show for args to the symlink cmd? -l -- The above thoughts and | They may have nothing to do with writings are my own. | the opinions of my

Re: boundary condition bug in do_mmap()

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Tania Oka wrote: if ((offset + PAGE_ALIGN(len)) offset) Why are you mailing this the week after it was fixed ? :) Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/

[CHECKER] 2.4.5-ac4 non-init functions calling init functions

2001-05-30 Thread Dawson Engler
Here are *uninspected* 2.4.5-ac4 results of a checker that warns when a non-__init function calls an __init function (suggested by [EMAIL PROTECTED]). There seem to be two cases: 1. The best case: the caller should actually be an __init function as well. This is a performance

calculation of ac_mem (in BSD accounting) misleading?

2001-05-30 Thread Doug Bagley
I'm interested in understanding better why the value of ac_mem in the BSD process accounting code (linux/kernel/acct.c) is calculated the way it is. My humble uninformed opinion is that it's current definition is possibly misleading at best and mostly useless at worst. As a little background:

Linux 2.4.5-ac5

2001-05-30 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ Intermediate diffs are available from http://www.bzimage.org In terms of going through the code audit almost all the sound drivers still need fixing to lock against format changes during a

Re: calculation of ac_mem (in BSD accounting) misleading?

2001-05-30 Thread Rik van Riel
On Wed, 30 May 2001, Doug Bagley wrote: Does it make sense to others that ac_mem should be changed to reflect the resident set size? It does, but doesn't have all that much priority at the moment. Feel free to send patches, though. regards, Rik -- Virtual memory is like a game you can't

  1   2   3   4   >