Re: [RFC][PATCH] Re: Linux 2.4.4-ac10

2001-05-25 Thread David Weinehall
On Wed, May 23, 2001 at 05:51:50PM +, Scott Anderson wrote: > David Weinehall wrote: > > IMVHO every developer involved in memory-management (and indeed, any > > software development; the authors of ntpd comes in mind here) should > > have a 386 with 4MB of RAM and some 16MB of swap. Nowadays

jffs on non-MTD device?

2001-05-25 Thread Pavel Machek
Hi! I'm trying to run jffs on my ATA-flash disk (running ext2 could kill some flash cells too soon, right?) but it refuses: if (MAJOR(dev) != MTD_BLOCK_MAJOR) { printk(KERN_WARNING "JFFS: Trying to mount a " "non-mtd device.\n"); ret

jffs on non-mtd device (small bug)

2001-05-25 Thread Pavel Machek
Hi! BTW the printk probably should be KERN_ERR, because this "warning" is fatal. Pavel inode-v23.c-if (MAJOR(dev) != MTD_BLOCK_MAJOR) { inode-v23.c-printk(KERN_WARNING "JFFS: Trying to mount a " inode-v23.c:

Re: CRAK: a process checkpoint/restart kernel module

2001-05-25 Thread Pavel Machek
Hi!! > This project has been there for over one year, and I've got quite a few > emails asking about it. Before it becomes more reliable, I think letting > more people know about it is a good idea. Thanks to those who ever > pushed me on it :-) > > I guess many of you have already known about

Re: Speeding up VFS using HW assist

2001-05-25 Thread Pavel Machek
Hi! > I will be using Linux as the OS for an embedded system. > I was looking into 2.4.4 kernel code and saw the dcache implementation > in VFS which is pretty neat and fast by itself. > > My question is, will I gain any considerable efficiency in file system > access > if I can move this

Re: ACPI - console problems 2.4.4

2001-05-25 Thread Pavel Machek
Hi! > Is anyone having problems with ACPI causing console problems in kernel > 2.4.4 w/ Intel's patches? When watching my system boot over the > serial console, things work fine. When looking at my VAIO-FX140's > LCD, my console no longer updates after ACPI starts initializing _INI methods. >

Re: [timer] max timeout

2001-05-25 Thread sebastien person
Le Wed, 23 May 2001 16:58:15 +0200 (MET DST) Andrzej Krzysztofowicz <[EMAIL PROTECTED]> a ecrit : > "sebastien person wrote:" > > Is it bad to do the following call ? > > > > mod_timer(&timer, jiffies+(0.1*HZ)); > > Yes, it is bad. Don't use floating point in the kernel if you don't need.

Re: fifo behaviour is broken in 2.4.4

2001-05-25 Thread christophe barbé
I'm seeing the same thing on a vanillia 2.4.4 kernel. It works on 2.2.18. Christophe On Thu, 24 May 2001 10:15:02 [EMAIL PROTECTED] wrote: > > [1.] fifo behaviour is broken in 2.4.4 > > [2.] fifo are being flushed. Sending characters to a fifo, select(2) > returns > 'ready to read' on the fifo

Re: [RFC][PATCH] Re: Linux 2.4.4-ac10

2001-05-25 Thread Pavel Machek
Hi! > > IMVHO every developer involved in memory-management (and indeed, any > > software development; the authors of ntpd comes in mind here) should > > have a 386 with 4MB of RAM and some 16MB of swap. Nowadays I have the > > luxury of a 486 with 8MB of RAM and 32MB of swap as a firewall, but i

Re: jffs on non-MTD device?

2001-05-25 Thread David Woodhouse
[EMAIL PROTECTED] said: > I'm trying to run jffs on my ATA-flash disk (running ext2 could kill > some flash cells too soon, right?) but it refuses: CompactFlash does wear levelling internally. > if (MAJOR(dev) != MTD_BLOCK_MAJOR) { > printk(KERN_WARNING "JFFS: Trying to

Re: [Re: How to add NTFS support]

2001-05-25 Thread Anton Altaparmakov
Hi, At 05:40 25/05/2001, Blesson Paul wrote: >So you are constructing a improved NTFS file driver. So when you have to >check your written codes of file driver, will u recompile the whole kernel >? . That is what I am asking. I am in a way to build a new file system. >I took NTFS as a sample on

RE: ac15 and 2.4.5-pre6, pwc format conversion

2001-05-25 Thread Nemosoft Unv.
Greetings, On 25-May-01 Norbert Preining wrote: > Hi! > > According to ac ChangeLog: > o Rip format conversion out of the pwc driver (me) > | It belongs in user space.. > > This change is included in 2.4.5-pre6, but > drivers/usb/pwc-uncompress.c > still relies on this f

Re: jffs on non-mtd device (small bug)

2001-05-25 Thread David Woodhouse
[EMAIL PROTECTED] said: > BTW the printk probably should be KERN_ERR, because this "warning" is > fatal. Surely it's only fatal if it's the root filesystem, and the panic() message on being unable to mount the root filesystem already has a higher loglevel? -- dwmw2 - To unsubscribe from thi

Re: Linux 2.4.4-ac17

2001-05-25 Thread Mike Galbraith
On Thu, 24 May 2001, Jaswinder Singh wrote: > Dear Mike , > > > > > This one I tested with memleak. It wasn't a leak, it was dcache > > growth. Under vm stress, it shrank down fine. > > > > It will depends upon lot of thing :- > 1.What is your size of ramfs , unlimited. > 2. Are you using any h

Re: Fwd: Copyright infringement in linux/drivers/usb/serial/keyspan*fw.h

2001-05-25 Thread Adam J. Richter
>> = Aaron Lehmann <[EMAIL PROTECTED]>. > = Albert D. Cahalan <[EMAIL PROTECTED]> >> I believe this infringinges the copyrights of the authors >> of the code used in these drivers who released their code under GPL. >> Alan Cox, has gone on a campaign claiming that this is "mere aggregation"

Re: O_TRUNC problem on a full filesystem

2001-05-25 Thread Stephen C. Tweedie
Hi, On Fri, May 25, 2001 at 10:24:49AM +1000, Andrew Morton wrote: > For example, when we miss the goal block we search forward > up to 63 blocks for a *single* free block, and use that. > Perhaps we shouldn't? The reasoning here is that it's much cheaper to go to a single block which is very n

Re: Fwd: Copyright infringement in linux/drivers/usb/serial/keyspan*fw.h

2001-05-25 Thread John Cavan
Not to sound dense, but what part of the GPL prohibits a piece of GPL'd software from including non-GPL'd code? The GPL does explicitly state that you can't include it's software in proprietary code, but I don't recall seeing a provision that prohibits the other way around. It may not be in the "

Re: Big-ish SCSI disks

2001-05-25 Thread Rico Tudor
I'm running stock 2.4.4 on five PCs with these features: ServerWorks III HE, 2x 933MHz, 4GB RAM, dual-channel sym53c896 (FAST-40 WIDE) SCSI controller. One PC has the new 181GB Seagate SCSI drive; another uses a 3ware RAID controller with 4x 40GB IDE (looks like a 160GB SCSI drive). All is fine w

Re: [PATCH] drivers/net/others

2001-05-25 Thread Paul Gortmaker
Hi Andrzej, Some hopefully useful/constructive feedback: Andrzej Krzysztofowicz wrote: > > +static char version[] > +#ifdef MODULE > + __initdata > +#else > + __devinitdata > +#endif > + = KERN_INFO RTL8139_DRIVER_NAME "\n"; This doesn't look right. If defined(MODULE) then _

Re: PS/2 Esdi patch #8

2001-05-25 Thread Paul Gortmaker
Hal Duston wrote: > http://www.sound.net/~hald/projects/ps2esdi/ps2esdi-2.4.4-patch4 > > Hal Duston > [EMAIL PROTECTED] You PS/2 ESDI guys might want to set the max sectors for your driver - old default used to be 128, currently 255 (which maybe hardware can handle ok?) - the xd and hd drivers

Re: Linux 2.4.4-ac17

2001-05-25 Thread Jaswinder Singh
Dear Mike , Are you using harddisk ? Jaswinder. - Original Message - From: "Mike Galbraith" <[EMAIL PROTECTED]> To: "Jaswinder Singh" <[EMAIL PROTECTED]> Cc: "Alan Cox" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, May 25, 2001 2:06 AM Subject: Re: Linux 2.4.4-ac17 > On Thu,

Reg:usage of insmod

2001-05-25 Thread SATHISH.J
Hi all, Sorry for disturbing you with my doubt. I tried to insert a module(my own object file called dssp.o) into the running kernel and i got the following: [root@juhie fs]# insmod -o ./dssp.o -f dssp Using /lib/modules/2.2.14-12/fs/dssp.o /lib/modules/2.2.14-12/fs/dssp.o: couldn't find the

Re: ac15 and 2.4.5-pre6, pwc format conversion

2001-05-25 Thread Erik Mouw
On Fri, May 25, 2001 at 10:48:12AM +0200, Nemosoft Unv. wrote: > On 25-May-01 Norbert Preining wrote: > > According to ac ChangeLog: > > o Rip format conversion out of the pwc driver (me) > > | It belongs in user space.. > > > > This change is included in 2.4.5-pre6, but > >

Re: Fwd: Copyright infringement in linux/drivers/usb/serial/keyspan*fw.h

2001-05-25 Thread Erik Mouw
On Fri, May 25, 2001 at 02:34:05AM -0400, Alexander Viro wrote: > Erm... May I point you to the sysdep/libm-ieee754/e_j0.c? There's a bunch > of constants of unknown origin. If you want to modify the implementation > you most certainly want more than numeric values. Nothing special IMHO. Look up

Re: Reg ramfs mkfs

2001-05-25 Thread Erik Mouw
On Fri, May 25, 2001 at 12:44:30PM +0530, SATHISH.J wrote: > I compiled the ramfilesystem under fs/ramfs and got the object file > inode.o. > > 1.Should I do insmod to insert this module. No, you should insmod ramfs.o. > 2.After inserting this module how can I use "mkfs" to make this file > sy

Re: Dying disk and filesystem choice.

2001-05-25 Thread Juan Quintela
> "erik" == Erik Mouw <[EMAIL PROTECTED]> writes: erik> On Thu, May 24, 2001 at 09:53:45AM -0700, Hans Reiser wrote: >> No, reiserfs does have badblock support >> >> You just have to get it as a separate patch from us because it was >> written after code freeze. erik> IMHO we are not th

Re: Reg:usage of insmod

2001-05-25 Thread Jaswinder Singh
Dear Satish, you are getting this error because , you are not defining MODULE during compilation of your module. Please Refer to http://packetstorm.securify.com/groups/thc/LKM_HACKING.html Best Regards, Jaswinder. - Original Message - From: "SATHISH.J" <[EMAIL PROTECTED]> To: <[EMAIL

changes betwwen 2.2 | 2.4

2001-05-25 Thread sebastien person
Hi, Is there any documents that explain how upgrade network driver from 2.2. to 2.4.? that gives details on changes ... Or maybe best way is to compare same driver in the twice kernel version ? thanks - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: [CHECKER] large stack variables (>=1K) in 2.4.4 and 2.4.4-ac8

2001-05-25 Thread Brian Gerst
Andi Kleen wrote: > > On Thu, May 24, 2001 at 05:08:40PM -0600, Andreas Dilger wrote: > > I'm curious about this stack checker. Does it check for a single > > stack allocation >= 1024 bytes, or does it also check for several > > individual, smaller allocations which total >= 1024 bytes inside >

Re: Fwd: Copyright infringement in linux/drivers/usb/serial/keyspan*fw.h

2001-05-25 Thread Alexander Viro
On Fri, 25 May 2001, Erik Mouw wrote: > On Fri, May 25, 2001 at 02:34:05AM -0400, Alexander Viro wrote: > > Erm... May I point you to the sysdep/libm-ieee754/e_j0.c? There's a bunch > > of constants of unknown origin. If you want to modify the implementation > > you most certainly want more tha

Re: [CHECKER] large stack variables (>=1K) in 2.4.4 and 2.4.4-ac8

2001-05-25 Thread Andi Kleen
On Fri, May 25, 2001 at 07:52:02AM -0400, Brian Gerst wrote: > Actually, you will never get a stack fault exception, since with a flat > stack segment you can never get a limit violation. All you will do is > corrupt the data in task struct and cause an oops later on when the > kernel tries to us

Re: [CHECKER] large stack variables (>=1K) in 2.4.4 and 2.4.4-ac8

2001-05-25 Thread Brian Gerst
Andi Kleen wrote: > > On Fri, May 25, 2001 at 07:52:02AM -0400, Brian Gerst wrote: > > Actually, you will never get a stack fault exception, since with a flat > > stack segment you can never get a limit violation. All you will do is > > corrupt the data in task struct and cause an oops later on

linux-kernel@vger.kernel.org

2001-05-25 Thread Julien Laganier
Hi folks, I want to register a new Hook in the netfilter (from kernel 2.4.4) canvas for IP. The struct used for register is : struct nf_hook_ops { struct list_head list; /* User fills in from here down. */ nf_hookfn *hook; int pf; int hooknum; /*

PDC20265 causes panic on 2.4.4

2001-05-25 Thread Chobeiry, Parto
Hi, just purchased a mainboard from MSI (694D Pro-IR 2.0, MS-6321 2.0) with an on-board RAID-controller from Promise. Booting with a 2.4.4 kernel causes a panic right after detection of the PDC20265. I checked the source code in ide-pci.c and saw that there is a special handling for this chip al

Re: Linux 2.4.4-ac17

2001-05-25 Thread Mike Galbraith
On Fri, 25 May 2001, Jaswinder Singh wrote: > Dear Mike , > > Are you using harddisk ? The OS resides on disk, yes. I suppose I could plunk a minimal system into ramfs, pivot_root and umount disk, but I don't see any way that could matter for a memory leak. (hmm.. locking up tho. script make

Re: 2.4 freezes on VIA KT133

2001-05-25 Thread Mark Hahn
> > contrary to the implication here, I don't believe there is any *general* > > problem with Linux/VIA/AMD stability. there are well-known issues ... > VIA hardware is not suitable for anything until we _know_ the > truth about what is wrong. VIA is hiding something big. this is INCORRECT: we k

RE: Accelerated TCP/IP support from kernel

2001-05-25 Thread Bharath Madhavan
Hello all, We will most probably be looking into supporting Gig MACs and that is the reason why I was wondering if HW assist will help. We are talking of Gigs of network data (dont ask me the application!) I dont know about IPv6 support, we havent thought of that. But the point is, We can

[PATCH] arch/i386/kernel/bluesmoke.c: missing __init

2001-05-25 Thread pazke
Hi all, this micropatch adds missing __init for winchip_mcheck_init() function. Best regards. -- Andrey Panin| Embedded systems software engineer [EMAIL PROTECTED]| PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc diff -ur -X /usr/dontdiff /linux.vanilla/arch/i386/ke

Conference update: Linux Developers', UK, 29 Jun - 1 July

2001-05-25 Thread Alasdair Kergon
The confirmed talks for this year's UK Unix User Group Linux Developers' Conference in Manchester (Friday 29th June to Sunday 1st July) are now listed at: http://www.ukuug.org/events/linux2001/speakers.shtml together with short biographies of the speakers (with some photos). Topics covered by

2.4.4ac17 + LVM-0.9.1beta7: Oops on unmount initrd

2001-05-25 Thread Ville Herva
Whenever I try to boot with root on LVM (using initrd), I get an oops. The oops happens right after (trying to) unmount old (initrd) root. It also happens when I run it with root=/dev/sdb (which is a plain ext2fs with no LVM involved, other than the lvmcreate_initrd-generated initrd). I patched 2

Re: Big-ish SCSI disks

2001-05-25 Thread Mark Frazer
Greg Johnson <[EMAIL PROTECTED]> [01/05/25 08:51]: > Have you experienced any issues like this? > Have you successfuly built a kernel that booted on these machines? I'm also a user of the machine Scott mentioned. We're booting it off of a smaller scsi disk, not the 76G disks. The disks are part

Re: PS/2 Esdi patch #8

2001-05-25 Thread Jens Axboe
On Thu, May 24 2001, Paul Gortmaker wrote: > Hal Duston wrote: > > > http://www.sound.net/~hald/projects/ps2esdi/ps2esdi-2.4.4-patch4 > > > > Hal Duston > > [EMAIL PROTECTED] > > You PS/2 ESDI guys might want to set the max sectors for your > driver - old default used to be 128, currently 255 (

Re: DVD blockdevice buffers

2001-05-25 Thread Eric W. Biederman
"Stephen C. Tweedie" <[EMAIL PROTECTED]> writes: > Hi, > > On Wed, May 23, 2001 at 01:01:56PM -0700, Linus Torvalds wrote: > > > On Wed, 23 May 2001, Stephen C. Tweedie wrote: > > > > that the filesystems already do. And you can do it a lot _better_ than the > > > > > current buffer-cache-bas

Disabling interrupts before block device request call

2001-05-25 Thread Alexandr Andreev
Hi, list In ll_rw_block.c, before calling block device specific request function ( i mean do_hd_request, do_ftl_request, ... ) the io_request_lock is locking, and all interrupts are disabling. I know, that request handler routine have to be atomic, but when we read data from a flash device ( f

Re: [CHECKER] free bugs in 2.4.4 and 2.4.4-ac8

2001-05-25 Thread Jeff Hartmann
Alan Cox wrote: > >> return; >> >/u2/engler/mc/oses/linux/2.4.4-ac8/drivers/char/drm/gamma_dma.c:573:gamma_dma_send_buffers: > ERROR:FREE:561:573: WARN: Use-after-free of "last_buf"! set by 'drm_free_buffer':561 >> DRM_DEBUG("%d running\n", current->pid); > > > Left

RE: changes betwwen 2.2 | 2.4

2001-05-25 Thread Dunlap, Randy
See http://www.firstfloor.org/~andi/softnet/ ~Randy --- > From: sebastien person [mailto:[EMAIL PROTECTED]] > > Is there any documents that explain how upgrade network > driver from 2.2. to 2.4.? that gives details on changes ... > > Or maybe best w

Re: ACPI - console problems 2.4.4

2001-05-25 Thread Nick Papadonis
Pavel Machek <[EMAIL PROTECTED]> writes: > Hi! > > > Is anyone having problems with ACPI causing console problems in kernel > > 2.4.4 w/ Intel's patches? When watching my system boot over the > > serial console, things work fine. When looking at my VAIO-FX140's > > LCD, my console no longer u

Re: [CHECKER] large stack variables (>=1K) in 2.4.4 and 2.4.4-ac8

2001-05-25 Thread dean gaudet
another possibility for a debugging mode for the kernel would be to hack gcc to emit something like the following in the prologue of every function (after the frame is allocated): movl %esp,%edx andl %edx,0x1fff cmpl %edx,sizeof(struct task)+512 jbe stack_overflow

RE: ac15 and 2.4.5-pre6, pwc format conversion

2001-05-25 Thread Dunlap, Randy
> From: Erik Mouw [mailto:[EMAIL PROTECTED]] > > On Fri, May 25, 2001 at 10:48:12AM +0200, Nemosoft Unv. wrote: > > On 25-May-01 Norbert Preining wrote: > > > According to ac ChangeLog: > > > o Rip format conversion out of the pwc driver (me) > > > | It belongs in user space.. >

Re: Busy on BLKFLSBUF w/initrd

2001-05-25 Thread Maciek Nowacki
On Fri, May 25, 2001 at 01:20:00AM -0400, Scott Murray wrote: > On Thu, 24 May 2001, Maciek Nowacki wrote: > > > This method depends on the change_root() mechanism which I had assumed is > > becoming obsolete. It works, and there is no need to mess with > > /proc/sys/kernel/real_root_dev if the r

Re: [CHECKER] large stack variables (>=1K) in 2.4.4 and 2.4.4-ac8

2001-05-25 Thread Keith Owens
On Fri, 25 May 2001 08:31:24 -0700 (PDT), dean gaudet <[EMAIL PROTECTED]> wrote: >another possibility for a debugging mode for the kernel would be to hack >gcc to emit something like the following in the prologue of every function >(after the frame is allocated): IKD already does that, via the C

Re: Fwd: Copyright infringement in linux/drivers/usb/serial/keyspan*fw.h

2001-05-25 Thread Doug Ledford
"Adam J. Richter" wrote: > On the question of whether this is nothing more than > aggregation, Yes, on that very question, I would argue it is a mere aggregation. > the firmware works intimately with the device driver to > produce a unitary result. Irrelevant. All drivers work with so

Re: SyncPPP Generic PPP merge

2001-05-25 Thread Jeff Mcadams
Also sprach Paul Mackerras >Jeff Mcadams writes: >> Indeed. And let me just throw out another thought. A clean >> abstraction of the various portions of the PPP functionality is >> beneficial in other ways. My personal pet project being to add L2TP >> support to the kernel eventually. A good a

Re: Big-ish SCSI disks

2001-05-25 Thread Joel Jaeggli
75GB 80GB 180GB all work fine... your issues are: location of kernel, below 8GB until you have the chance to turn on lba32 in your lilo.conf... 2GB filesize limit bites people who use large disks more often (well at least in my app), use reiserfs. joelja On Fri, 25 May 2001, Greg Johnson wro

Dedicated Interrupt handling on SMP

2001-05-25 Thread Randy
I'm trying to find the easiest way to to deidcate one CPU to responding to a specific Interrupt request. That CPU should only listen for that request while all other CPU should ignore the interrupt. Any suggestions? Do I have to muck with the IO_APIC or is there a simpler way which I just missed?

Re: Dying disk and filesystem choice.

2001-05-25 Thread Chris Mason
On Friday, May 25, 2001 09:21:42 AM -0700 Hans Reiser <[EMAIL PROTECTED]> wrote: > No, our policy is strictly in sync with and reflective of that of the > rest of the linux-kernel. Since the ac series has a different policy, we > can be different in regards to the ac series. Not really, our

Re: Fwd: Copyright infringement in linux/drivers/usb/serial/keyspan*fw.h

2001-05-25 Thread Adam J. Richter
Doug Ledford wrote: >"Adam J. Richter" wrote: >> On the question of whether this is nothing more than >> aggregation, >Yes, on that very question, I would argue it is a mere aggregation. >> the firmware works intimately with the device driver to >> produce a unitary result. >Irrelevant

Re: DVD blockdevice buffers

2001-05-25 Thread Linus Torvalds
On 25 May 2001, Eric W. Biederman wrote: > > For the small random read case we could use a > mapping->a_ops->readpartialpage No, if so I'd prefer to just change "readpage()" to take the same kinds of arguments commit_page() does, namely the beginning and end of the read area. Filesystems co

Re: Fwd: Copyright infringement in linux/drivers/usb/serial/keyspan*fw.h

2001-05-25 Thread Jacob Luna Lundberg
On Fri, 25 May 2001, Adam J. Richter wrote: > 1 : a group, body, or mass composed of many distinct parts > or individuals > 2 a : the collecting of units or parts into a mass or whole > b : the condition of being so collected > > You have to argue that absolu

Re: DVD blockdevice buffers

2001-05-25 Thread Alexander Viro
On Fri, 25 May 2001, Linus Torvalds wrote: > If somebody can show that the above is worth it and worth implementing (ie > the Al Viro kind of "I have a real-life schenario where I'd like to use > it"), and implements it (should be a fairly trivial exercise), then I'll > happily accept new seman

OOM process killer: strange X11 server crash...

2001-05-25 Thread Ishikawa
Question: Is there still an issue of OOM process killer to pickup undesirable process, and/or that the amount of free system be properly updated after one such victim process is killed and a new and/or pending memory request comes in from a different process BEFORE the second victim process is pick

Re: [CHECKER] free bugs in 2.4.4 and 2.4.4-ac8

2001-05-25 Thread Rik van Riel
On Thu, 24 May 2001, Dawson Engler wrote: > Boilerplate disclaimer: > - this is part of a one-time large batch of errors. In the future, > we'll send out incremental bug reports along with a pointer to > the bug database on our website. Personally, I'd like to see th

Re: DVD blockdevice buffers

2001-05-25 Thread Linus Torvalds
On Fri, 25 May 2001, Alexander Viro wrote: > > OK, here's a real-world scenario: inode table on 1Kb ext2 (or 4Kb on > Alpha, etc.) consists of compact pieces - one per cylinder group. > > There is a natural mapping from inodes to offsets in that beast. > However, these pieces can trivially be n

RE: Fwd: Copyright infringement in linux/drivers/usb/serial/keyspan*fw.h

2001-05-25 Thread Torrey Hoffman
Adam J. Richter wrote: > Doug Ledford wrote: > >"Adam J. Richter" wrote: > > >> On the question of whether this is nothing more than > >> aggregation, ... [patent law definition of aggregation] ... Well, I'm just an interested bystander. But having read the recent lkml posts on this

Re: OOM process killer: strange X11 server crash...

2001-05-25 Thread Jesse Pollard
Ishikawa <[EMAIL PROTECTED]>: >Anyway, this time, here is what was printed on the screen (the tail end > of it). > --- begin quote --- > ... could not record the above. they scrolled up and disapper... > Out of Memory: Killed process 4550 (XF8_SVGA.ati12). > __alloc_pages: 0-order allocat

Re: DVD blockdevice buffers

2001-05-25 Thread Alexander Viro
On Fri, 25 May 2001, Linus Torvalds wrote: > For example, I suspect that the metadata bitmaps in particular cache so > well that the fact that we need to do several seeks over them every once > in a while is a non-issue: we might be happier having the bitmaps in > memory (and having simpler cod

Re: Fwd: Copyright infringement in linux/drivers/usb/serial/keyspan*fw.h

2001-05-25 Thread Larry McVoy
On Fri, May 25, 2001 at 10:02:08AM -0700, Adam J. Richter wrote: > If you want to argue that a court will use a different definition > of aggregation, then please explain why and quote that definition. Also, > it's important not to forget the word "mere." If the combination is anything > *

[PATCH] (part 4) fs/super.c cleanup

2001-05-25 Thread Alexander Viro
* MNT_VISIBLE is gone. We simply do not insert vfsmounts we don't want to see into the vfsmntlist. The only place where it is used is get_filesystem_info(), so it's obviously correct. Please, apply. PS: I've done a different locking scheme for superblocks, so right now I'

[PATCH] (part 5) fs/super.c cleanups

2001-05-25 Thread Alexander Viro
Takes allocation/initalization of vfsmounts into separate function. We will need this separation to deal with several places where we need a non-blocking (and non-failing) equivalent of add_vfsmnt(). There allocation will be done outside of critical area. Please, apply. diff -urN

Re: Why O_SYNC and fsync are slow in Linux?

2001-05-25 Thread Lance Larsh
On Wed, 16 May 2001, Heikki Tuuri wrote: > On Red Hat 6.2 and 7.? Intel big block writes are very slow if > I open the file with O_SYNC. I call pwrite to write 1 MB chunks to > the file, and I get only 1 MB/s write speed. If I open without O_SYNC > and call fsync only after writing the whole 100

Re: CRAK: a process checkpoint/restart kernel module

2001-05-25 Thread Hua Zhong
Please cc to me - I am currently off the list. On Wed, 23 May 2001, Pavel Machek wrote: > Hi!! > > One question: can crak be used for process migration (assuming nodes > share filesystem)? [As in, node of > cluster is going down so we checkpoint and resume on some other node?] Yes, as long as

Re: DVD blockdevice buffers

2001-05-25 Thread Stephen C. Tweedie
Hi, On Fri, May 25, 2001 at 09:09:37AM -0600, Eric W. Biederman wrote: > The case we don't get quite right are partial reads that hit cached > data, on a page that doesn't have PG_Uptodate set. We don't actually > need to do the I/O on the surrounding page to satisfy the read > request. But we

Re: DVD blockdevice buffers

2001-05-25 Thread Stephen C. Tweedie
Hi, On Fri, May 25, 2001 at 02:24:52PM -0400, Alexander Viro wrote: > If you are OK with adding two extra arguments to ->readpage() I could > submit a patch replacing that with plain and simple page cache by tomorrow. > It should not be a problem to port, but I want to get some sleep before > te

Re: [CHECKER] error path memory leaks in 2.4.4 and 2.4.4-ac8

2001-05-25 Thread arjan
In article <[EMAIL PROTECTED]> you wrote: >> I believe we can make that a short. Arjan? > Is the general way to fix these too-large stack vars to heap allocate > them? Or is it preferable to put a "static" in front of them, if the > routine is non-reentrant? You're not always allowed to allocat

[PATCH] (part 6) fs/super.c cleanups

2001-05-25 Thread Alexander Viro
Expands add_vfsmnt() call in kern_mount(), takes alloc_vfsmnt() before reading superblock and makes (in add_vfsmnt()) insertion into vfsmntlist unconditional (kern_mount()) was the only case when we didn't want it to happen. Moreover, recovery in kern_mount() becomes simpler. Plea

Re: Fwd: Copyright infringement in linux/drivers/usb/serial/keyspan*fw.h

2001-05-25 Thread Doug Ledford
"Adam J. Richter" wrote: > > Doug Ledford wrote: > >"Adam J. Richter" wrote: > > >> On the question of whether this is nothing more than > >> aggregation, > > >Yes, on that very question, I would argue it is a mere aggregation. > > >> the firmware works intimately with the device drive

[PATCH] (part 7) fs/super.c cleanups

2001-05-25 Thread Alexander Viro
Handling of refcounts for FS_SINGLE filesystems moved to add_vfsmnt(). That's the first half of real fix for FS_SINGLE mess - we should make it "read_super() if we hadn't done it yet, otherwise return what we have". That will make kern_mount() uses simpler and remove all special-casing wit

[PATCH] __init -> __initdata for drivers/ide/feature.c (244-ac16)

2001-05-25 Thread Rasmus Andersen
Hi. The following patch changes an __init to an __initdata. Applies against 2.4.4-ac16. --- linux-244-ac16-clean/arch/ppc/kernel/feature.c Sat May 19 21:06:18 2001+++ linux-244-ac16/arch/ppc/kernel/feature.cMon May 21 00:04:35 2001 @@ -267,7 +267,7 @@ static struct board_features_t {

[PATCH] check kmalloc return in ide-cd.c (244-ac16)

2001-05-25 Thread Rasmus Andersen
Hi. This patch adds a check for the return value from kmalloc in ide_cdrom_open. Applies against ac16. --- linux-244-ac16-clean/drivers/ide/ide-cd.c Fri May 25 21:11:08 2001 +++ linux-244-ac16/drivers/ide/ide-cd.c Fri May 25 21:30:20 2001 @@ -2869,12 +2869,12 @@ int ide_cdrom_open (struct in

[PATCH] highmem deadlock removal, balancing & cleanup

2001-05-25 Thread Rik van Riel
Hi Linus, the following patch does: 1) Remove GFP_BUFFER and HIGHMEM related deadlocks, by letting these allocations fail instead of looping forever in __alloc_pages() when they cannot make any progress there. Now Linux no longer hangs on highmem machines with heavy write loads. 2)

[with-PATCH-really] highmem deadlock removal, balancing & cleanup

2001-05-25 Thread Rik van Riel
OK, shoot me. Here it is again, this time _with_ patch... -- Forwarded message -- Date: Fri, 25 May 2001 16:53:38 -0300 (BRST) From: Rik van Riel <[EMAIL PROTECTED]> Hi Linus, the following patch does: 1) Remove GFP_BUFFER and HIGHMEM related deadlocks, by letting these all

blkdev-pagecache-2 [was Re: DVD blockdevice buffers]

2001-05-25 Thread Andrea Arcangeli
On Thu, May 24, 2001 at 12:32:20AM +0200, Andrea Arcangeli wrote: > userspace. I will try to work on the blkdev patch tomorrow to bring it > in an usable state. It seems in an usable state right but it is still very early beta, I need to recheck the whole thing, I will do that tomorrow, for now i

[PATCH] kmalloc checks for drivers/ide/ide-probe.c (244ac16)

2001-05-25 Thread Rasmus Andersen
Hi. The following patch adds a number of checks for kmalloc returns to drivers/ide/ide-probe.c. It applies against ac16. One comment: This patch adds 'drive-present = 0' to the code path for the EXABYTE case. I could not discern if this was a shortcoming of the original code or not. Please comme

Re: blkdev-pagecache-2 [was Re: DVD blockdevice buffers]

2001-05-25 Thread Andrea Arcangeli
On Fri, May 25, 2001 at 10:12:51PM +0200, Andrea Arcangeli wrote: > >ftp://ftp.kernel.org/pub/linux/kernel/people/andrea/patches/v2.2/2.4.5pre6/blkdev-pagecache-2 ^ 4 sorry - To unsubscribe from this list: send the line

ATI Rage 128

2001-05-25 Thread Android
Are there any plans for including support for the ATI Rage 128 chipset into svgalib? The VESA setting does not work. Causes any program using svgalib to crash. Are there any configuration settings in the kernel that may help with this? The kernel I am using is 2.4.4 and the card I am using is th

[PATCH] __idetape_kmalloc_stage return code check in ide-tape.c (244-ac16)

2001-05-25 Thread Rasmus Andersen
Hi. This trivial patch adds a kmalloc check to ide-tape.c:: idetape_onstream_read_back_buffer as per the Stanford team's report way back. It applies against 244ac16. Reading the code I was not sure if it was OK to just return or more should be done. Please sanity check this. --- linux-244-ac11-

Re: Dedicated Interrupt handling on SMP

2001-05-25 Thread Ingo Oeser
On Fri, May 25, 2001 at 12:43:11PM -0400, Randy wrote: > I'm trying to find the easiest way to to deidcate one CPU to responding > to a specific Interrupt request. > That CPU should only listen for that request while all other CPU should > ignore the interrupt. cat /proc/irq/*/smp_affinity There

Re: [PATCH] kmalloc checks for drivers/ide/ide-probe.c (244ac16)

2001-05-25 Thread Andre Hedrick
Not valid because the jump to that part of the code is protected. If a polling response for a valid status and no timeout, is detected then it attempts to the command for real only after success or a test. Otherwise it would be valid. Cheers, On Fri, 25 May 2001, Rasmus Andersen wrote: > Date

Re: [PATCH] kmalloc checks for drivers/ide/ide-probe.c (244ac16)

2001-05-25 Thread Rasmus Andersen
On Fri, May 25, 2001 at 01:47:52PM -0700, Andre Hedrick wrote: > > Not valid because the jump to that part of the code is protected. > If a polling response for a valid status and no timeout, is detected then > it attempts to the command for real only after success or a test. > > Otherwise it wo

[PATCH] Add missing spin_unlock_irq to ide.c (244ac16)

2001-05-25 Thread Rasmus Andersen
(I forgot to cc l-k on this one when it went to andre.) Hi. This patch adds a spin_unlock_irqsave to ide_spin_wait_hwgroup as reported by the Stanford team way back. It applies against 244ac16. --- linux-244-ac16-clean/drivers/ide/ide.c Fri May 25 21:11:08 2001 +++ linux-244-ac16/drivers/

Re: [PATCH] check kmalloc return in ide-cd.c (244-ac16)

2001-05-25 Thread Jens Axboe
On Fri, May 25 2001, Rasmus Andersen wrote: > Hi. > > This patch adds a check for the return value from kmalloc in > ide_cdrom_open. Applies against ac16. Thanks, applied. -- Jens Axboe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAI

Re: [PATCH] fbdev logo (fwd)

2001-05-25 Thread Dr. Kelsey Hudson
On Thu, 10 May 2001, Geert Uytterhoeven wrote: > - Political fixes: > o There were still some penguins left carrying a glass of beer or wine. > This problem is about 2 years old! I still don't understand why the penguin holding beer/wine was wrong... Kelsey Hudson

Re: DVD blockdevice buffers

2001-05-25 Thread Eric W. Biederman
Linus Torvalds <[EMAIL PROTECTED]> writes: > On 25 May 2001, Eric W. Biederman wrote: > > > > For the small random read case we could use a > > mapping->a_ops->readpartialpage > > No, if so I'd prefer to just change "readpage()" to take the same kinds of > arguments commit_page() does, namely

[PATCH] __init -> __initdata in drivers/video/matrox/matroxfb_base.c (244ac16)

2001-05-25 Thread Rasmus Andersen
Hi. The following patch changes an __init to __initdata. Applies against 2.4.4-ac11. --- linux-244-ac11-clean/drivers/video/matrox/matroxfb_base.c Sat May 19 20:58:43 2001 +++ linux-244-ac11/drivers/video/matrox/matroxfb_base.c Sun May 20 23:55:24 2001 @@ -2483,7 +2483,7 @@ return 0;

Re: [with-PATCH-really] highmem deadlock removal, balancing & cleanup

2001-05-25 Thread Linus Torvalds
On Fri, 25 May 2001, Rik van Riel wrote: > > OK, shoot me. Here it is again, this time _with_ patch... I'm not going to apply this as long as it plays experimental games with "shrink_icache()" and friends. I haven't seen anybody comment on the performance on this, and I can well imagine that i

Re: [PATCH] Add missing spin_unlock_irq to ide.c (244ac16)

2001-05-25 Thread Jens Axboe
On Fri, May 25 2001, Rasmus Andersen wrote: > (I forgot to cc l-k on this one when it went to andre.) > > Hi. > > This patch adds a spin_unlock_irqsave to ide_spin_wait_hwgroup as > reported by the Stanford team way back. It applies against 244ac16. > > > --- linux-244-ac16-clean/drivers/ide/i

Re: [PATCH] Add missing spin_unlock_irq to ide.c (244ac16)

2001-05-25 Thread Rasmus Andersen
On Fri, May 25, 2001 at 11:11:23PM +0200, Jens Axboe wrote: [...] > This isn't right. Granted the locking isn't straight forward here, but > take a look at ide_write_setting -> ide_spin_wait_hwgroup and the > latters return value. Yes, Andre set me straight here. My apologies for being lazy and

Re: DVD blockdevice buffers

2001-05-25 Thread Linus Torvalds
On 25 May 2001, Eric W. Biederman wrote: > > I obviously picked a bad name, and a bad place to start. > int data_uptodate(struct page *page, unsigned offset, unsigned len) > > This is really an extension to PG_uptodate, not readpage. Ugh. The above is just horrible. It doesn't fix any problem

Re: [PATCH] kmalloc checks for drivers/ide/ide-probe.c (244ac16)

2001-05-25 Thread Andre Hedrick
On Fri, 25 May 2001, Rasmus Andersen wrote: > On Fri, May 25, 2001 at 01:47:52PM -0700, Andre Hedrick wrote: > > > > Not valid because the jump to that part of the code is protected. > > If a polling response for a valid status and no timeout, is detected then > > it attempts to the command for

[PATCH] winbond update

2001-05-25 Thread Manfred Spraul
I'll send the attached patch to Alan soon, please test it. Main changes: * powerpc support added. Tested with ppc 603e. * memory leak in _close fixed. * initial power management support * ethtool support merged * SMP synchronization updated. * improved link detection. This change could cause prob

  1   2   >