Ideas for TUX2

2001-07-03 Thread Ph. Marek
I'd like to give some of my thoughts regarding tux2 (phase-change-tree fs): * FILES * If a file's data has been changed, it suffices to update the inode and the of free blocks bitmap (fbb). But updating them in one go is not possible - the fbb is located at the superblock, the inode can be

include/asm-i386/checksum.h

2001-07-03 Thread Erik Meusel
Hi, compiling the new 2.4.5 kernel with GCC 3.0 came with several errors and warnings. One of the most ugly warnings was: include/asm/checksum.h: warning: multi-line string literals are deprecated The diff to version 2.4.5 of it is attached. Regards, Erik Meusel P.S.: would it be possible to

Re: [RFC][PATCH] struct kernel_stat - struct cpu_stat[NR_CPUS]

2001-07-03 Thread Andreas Dilger
Zack writes: These per cpu statistics are reported via a new /proc/cpustat, a quick tool for processing that output, vmstat-style, can be found near Could you consider /proc/cpu/0/stats or similar? It is much nicer than polluting the top-level /proc directory, and I believe there are a bunch

RE: Validation of memory allocated through kmalloc

2001-07-03 Thread Anil Kumar
use sys_mprotect(...) to verify the validity of the returned address. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Sunday, June 10, 2001 2:45 PM To: [EMAIL PROTECTED] Subject: Validation of memory allocated through kmalloc

Re: [RFC] I/O Access Abstractions

2001-07-03 Thread Jeff Garzik
David Howells wrote: For example, one board I've got doesn't allow you to do a straight memory-mapped I/O access to your PCI device directly, but have to reposition a window in the CPU's memory space over part of the PCI memory space first, and then hold a spinlock whilst you do it. Yuck.

[Patch] tmpfs fixes against 2.4.6-pre

2001-07-03 Thread Christoph Rohland
Hi Linus, I split up my previous patch into two. Hopefully this is more acceptable for you or will trigger some comments. This is the first part: 1) shmem_remount_fs garbles parameters which are not supplied 2) shmem_truncate should check the maximum size else we get ugly oopses 3)

[Patch] tmpfs fixes against 2.4.6-pre(2)

2001-07-03 Thread Christoph Rohland
Hi Linus, This is the second part of my patches. Writing out of a mapping of a tmpfs file into the same file can deadlock. This is running in the -ac series since some while. Please apply Christoph diff -uNr 6-pre8-fix1/include/linux/shmem_fs.h

Re: [PATCH] more penguins

2001-07-03 Thread Android
Here's a patch against 2.4.5 so we can display a decent number of penguins at boot time (wraps the display of the boot penguins when they can't all fit on one line). Chris. What is the point of displaying penguins in framebuffer mode if it is going to change the video mode set by the vga=

serial port O_SYNC functionality in 2.4.5

2001-07-03 Thread James R Bruce
As far as I can tell from observed operation and from perusing the code, O_SYNC doesn't seem to be supported by the serial driver in 2.4.5. Writes are forced as far as the serial.c's circular queue, but O_SYNC seems to be ignored from there on, so any application trying to do small synchronous

Re: Reg kdb utility

2001-07-03 Thread SATHISH.J
Hi, I tried to use kdb on my 2.2.14-12 kernel. I was able to compile the file /usr/src/linux/arch/i386/kdb/modules/kdbm_vm.c and could get the object file. When I tried to insert it as a module it givesd the following error message: ./kdbm_vm.o: kernel-module version mismatch

Recent change in directory g+s behavior (bug?)

2001-07-03 Thread Ken Brownfield
Somewhere between 2.4.5-pre1 and 2.4.6-pre3, the behavior of the setgid bit on directories has changed: 2.4.5-pre1: # mkdir foo # chgrp adm foo # chmod 2775 foo # cd foo # ls -las total 12 4 drwxrwsr-x3 root adm 4096 Jul 3 01:11 . 4 drwxr-xr-x6 root adm

shared memory problem

2001-07-03 Thread Blesson Paul
hi I have some confusion regarding key in shmget(). Let I have two shared memory variables. For the first one, I put key 99 and the size is 1024. Next, I put key 199 for the second variable and size 1024. Will the two shared memory area overwrite each other. How can I

Re: [PATCH] more penguins

2001-07-03 Thread anton
What is the point of displaying penguins in framebuffer mode if it is going to change the video mode set by the vga= command line parameter? I like to set my display to 50 lines. This won't stay when the penguin comes up. In standard character mode, this isn't a problem. So, how do we fix

Re: RFC: modules and 2.5

2001-07-03 Thread Fang Han
If you build the drivers in, but forget to comment out the initrd line in /etc/lilo.conf, the machine panics because it tries to load the module for something that is already a builtin. The only way to solve it smothly need to modify the bootloader, When the bootloader like lilo or grub (

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

2001-07-03 Thread VDA
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 use

[OT] Re: shared memory problem

2001-07-03 Thread Erik Mouw
On Tue, Jul 03, 2001 at 02:49:24AM -0600, Blesson Paul wrote: I have some confusion regarding key in shmget(). Let I have two shared memory variables. For the first one, I put key 99 and the size is 1024. Next, I put key 199 for the second variable and size 1024. Will

Re: Problem with SMC Etherpower II + kernel newer 2.4.2

2001-07-03 Thread Florian Schmitt
Does anybody else got these errors or knows about a solution for this ?? Same problem here, it won't run at all on newer kernels. But it isn't even 100% stable in 2.2.x here - on very high network traffic the card stops working. In this case, it helps to pull the network plug for a short

Re: about kmap_high function

2001-07-03 Thread Stephen C. Tweedie
Hi, On Fri, Jun 29, 2001 at 03:06:01PM +0800, michaelc wrote: I found that the kmap_high function didn't call __flush_tlb_one() when it mapped a highmem page sucessfully, and I think it maybe cause the problem that TLB may store obslete page table entries, but the kmap_atomic() function

Re: Recent change in directory g+s behavior (bug?)

2001-07-03 Thread Alexander Viro
On Tue, 3 Jul 2001, Ken Brownfield wrote: Somewhere between 2.4.5-pre1 and 2.4.6-pre3, the behavior of the setgid bit on directories has changed: Fsck... Linus, please apply the patch below. That's a bug in ext2_new_inode() that used to be hidden by redundant code in ext2_mkdir().

Re: O_DIRECT please; Sybase 12.5

2001-07-03 Thread Stephen C. Tweedie
Hi, On Fri, Jun 29, 2001 at 02:39:00AM -0700, Dan Kegel wrote: It supports raw partitions, which is good; that might satisfy my boss (although the administration will be a pain, and I'm not sure whether it's really supported by Dell RAID devices). All block devices support raw IO --- the

Re: [Ext2-devel] Re: [UPDATE] Directory index for ext2

2001-07-03 Thread Tony Gale
Right, I've now disabled every grsecurity kernel config option, apart from the overarching Getrewted Kernel Security one - indicating the problem is in one of the non #ifdef parts of the patch. Could this be a problem: diff -ruN linux/fs/namei.c linux/fs/namei.c --- linux/fs/namei.cSat May

Ethernet locks up with 2.4.5 on SE440BX-2

2001-07-03 Thread Ian Grant
We observe the following problem with both Linus' 2.4.5 kernel and 2.4.5-ac18 on SE440BX-2 machines with 3c59x or eepro100 ethernet cards. Initially the network runs fine, but then traffic goes very lumpy and the ethernet driver stops sending or receiving packets altogether after about one or

Re: 2.2.19 locks up on SMP

2001-07-03 Thread Scott Nursten
Hi there, Was there ever any resolution to this thread? I'm running a bunch of Compaq DL-360's which seem to work fine on the 2.2.19pre series. As soon as I go to 2.2.19, networking doesn't work. Machines are spec'd as follows: 2 x P3-933 1.4GB RAM Compaq RLO card Compaq Smart2 Array

Re: Reg kdb utility

2001-07-03 Thread Balbir Singh
You need to compile with the correct kernel headers using the include path feature -I path to new headers Balbir On Tue, 3 Jul 2001, SATHISH.J wrote: |Hi, | |I tried to use kdb on my 2.2.14-12 kernel. I was able to compile the file |/usr/src/linux/arch/i386/kdb/modules/kdbm_vm.c and could

[ANNOUNCE] HotPlug CPU patch against 2.4.5

2001-07-03 Thread Rusty Russell
Hi all, http://sourceforge.net/projects/lhcs/ Version 0.5 (should actually compile) of the HotPlug CPU Patch is out. This adds /sbin/hotplug support (thanks Greg), which is almost useful. Of course, /sbin/hotplug falls far short of allowing you to stop CPUs from going

Re: VM Requirement Document - v0.0

2001-07-03 Thread Marco Colombo
On Mon, 2 Jul 2001, Rik van Riel wrote: On Thu, 28 Jun 2001, Marco Colombo wrote: I'm not sure that, in general, recent pages with only one access are still better eviction candidates compared to 8 hours old pages. Here we need either another way to detect one-shot activity (like the one

Re: 2.2.19 locks up on SMP

2001-07-03 Thread Scott Nursten
Hey guys, Just to confirm - I've compiled 2.2.19 w/out SMP and it works sweet. Rgds, Scott Scott Nursten wrote: Hi there, Was there ever any resolution to this thread? I'm running a bunch of Compaq DL-360's which seem to work fine on the 2.2.19pre series. As soon as I go to 2.2.19,

Re: kernel still resides in the root

2001-07-03 Thread Mohammad A. Haque
Blesson Paul wrote: I just completed the full compilation. But there is one still missing factor. I uncommented the INSTALL_PATH=/boot. But still the vmlinux still resides in the directory where i compiled the kernel. Why is it so. What to do if the kernel should be present in

Re: RFC: modules and 2.5

2001-07-03 Thread jlnance
On Tue, Jul 03, 2001 at 01:13:45AM -0400, Jeff Garzik wrote: A couple things that would be nice for 2.5 is - let MOD_INC_USE_COUNT work even when module is built into kernel, and - let THIS_MODULE exist and be valid even when module is built into kernel I have something similar that I have

Re: about kmap_high function

2001-07-03 Thread Paul Mackerras
Stephen C. Tweedie writes: kmap_high is intended to be called routinely for access to highmem pages. It is coded to be as fast as possible as a result. TLB flushes are expensive, especially on SMP, so kmap_high tries hard to avoid unnecessary flushes. The code assumes that flushing a

Re: linux-2.4.6-pre8/drivers/mtd/nand/spia.c: undefined symbols

2001-07-03 Thread Adam J. Richter
linux-2.4.6-pre8/drivers/mtd/nand/spia.c references four undefined symbols, presumably intended to be #define constants, although I am not sure what their values are supposed to be: IO_BASE FIO_BASE PEDR PEDDR The way that I architected the raw

Re: include/asm-i386/checksum.h

2001-07-03 Thread J . A . Magallon
On 20010703 Erik Meusel wrote: On Tue, 3 Jul 2001, Keith Owens wrote: P.S.: would it be possible to patch the menuconfig in that way, that it does look in the whole include-path for the ncurses.h and relating files? they aren't in /usr/include/ in my system and I'm tired of patching linux

Re: include/asm-i386/checksum.h

2001-07-03 Thread Erik Meusel
On Tue, 3 Jul 2001, J . A . Magallon wrote: make a couple symlinks and you will not have to touch kernel makefiles: ln -s /usr/local/include/ncurses /usr/include That's the thing I wanted to work around, but ok. It was just a suggestion. mfg, Erik - To unsubscribe from this list: send the

Memory access

2001-07-03 Thread Guillaume Lancelin
Writing a device driver for a IO card, I have the following message from the kernel: Unable to handle kernel paging request at virtual address 000d0804. [then it gives the register values] Segmentation fault. This address (0xd0804) is the location of a mailbox reserved by the IO card, and from

Re: Memory access

2001-07-03 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 03, 2001 at 04:45:32PM +0200, Guillaume Lancelin escreveu: Writing a device driver for a IO card, I have the following message from the kernel: Unable to handle kernel paging request at virtual address 000d0804. [then it gives the register values] Segmentation fault. This

Re: Memory access

2001-07-03 Thread Brian Gerst
Guillaume Lancelin wrote: Writing a device driver for a IO card, I have the following message from the kernel: Unable to handle kernel paging request at virtual address 000d0804. [then it gives the register values] Segmentation fault. This address (0xd0804) is the location of a mailbox

Re: Memory access

2001-07-03 Thread Eli Carter
Guillaume Lancelin wrote: Writing a device driver for a IO card, I have the following message from the kernel: Unable to handle kernel paging request at virtual address 000d0804. [then it gives the register values] Segmentation fault. This address (0xd0804) is the location of a mailbox

Scsi errors on boot.

2001-07-03 Thread Alessandro Motter Ren
I am getting the follwing error messages on the kernel boot. Does anyone have any idea what the problem might be? The kernel is 2.2.19. Thanks. Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 (scsi0:0:0:1) Synchronous at 160.0 Mbyte/sec, offset 63. (scsi0:0:0:1)

Re: Problem with SMC Etherpower II + kernel newer 2.4.2

2001-07-03 Thread Olivier Sessink
On 0, Florian Schmitt [EMAIL PROTECTED] wrote: Does anybody else got these errors or knows about a solution for this ?? Same problem here, it won't run at all on newer kernels. But it isn't even 100% stable in 2.2.x here - on very high network traffic the card stops working. In this

Re: Memory access

2001-07-03 Thread Richard B. Johnson
On Tue, 3 Jul 2001, [iso-8859-1] Guillaume Lancelin wrote: Writing a device driver for a IO card, I have the following message from the kernel: Unable to handle kernel paging request at virtual address 000d0804. [then it gives the register values] Segmentation fault. This address

Re: VM Requirement Document - v0.0

2001-07-03 Thread Daniel Phillips
On Tuesday 03 July 2001 12:33, Marco Colombo wrote: Oh, yes, since that PAGE_AGE_BG_INTERACTIVE_MINIMUM is applied only when background aging, maybe it's not enough to keep processes like updatedb from causing interactive pages to be evicted. That's why I said we should have another way to

Re: O_DIRECT please; Sybase 12.5

2001-07-03 Thread Daryll Strauss
On Tue, Jul 03, 2001 at 10:42:53AM +0100, Stephen C. Tweedie wrote: On Fri, Jun 29, 2001 at 02:39:00AM -0700, Dan Kegel wrote: It supports raw partitions, which is good; that might satisfy my boss (although the administration will be a pain, and I'm not sure whether it's really supported

Re: linux-2.4.6-pre8/drivers/mtd/nand/spia.c: undefined symbols

2001-07-03 Thread Steven J. Hill
Adam J. Richter wrote: If there is no architecture on which linux-2.4.6-pre8/drivers/mtd/nand/spia.c will compile in its pristine form, then the CONFIG_MTD_NAND_SPIA should be commented out from drivers/mtd/nand/Config.in to avoid wasting the time of users and automated build

Re: about kmap_high function

2001-07-03 Thread Stephen C. Tweedie
Hi, On Tue, Jul 03, 2001 at 10:47:20PM +1000, Paul Mackerras wrote: Stephen C. Tweedie writes: On PPC it is a bit different. Flushing a single TLB entry is relatively cheap - the hardware broadcasts the TLB invalidation on the bus (in most implementations) so there are no cross-calls

Re: O_DIRECT please; Sybase 12.5

2001-07-03 Thread Stephen C. Tweedie
Hi, On Tue, Jul 03, 2001 at 08:10:39AM -0700, Daryll Strauss wrote: I recall hearing about a problem with the md device and raw IO. It was something about the block sizes not matching causing performance problems. Has anything been done to improve those issues? The problem is a combination

Fun with Athlon, VIA KX133, and kernel 2.4.x

2001-07-03 Thread Jeff Read
Hello, My system has a Procomp BVK1A mainboard sporting one of those dreaded VIA KX133 chipsets. I have been a virtual lurker, monitoring the archives, and have heard plenty of horror stories about this chipset, but let me make clear that this board was rock-solid for the better part of a

2.4.6-pre9: Failed HPT370 detection

2001-07-03 Thread Gav
This kernel refuses to detect my HPT370 chipset. (where my root filesystem is, on raid0). It just hangs where the detection usually takes place, so no oops and no meaningfull bugreport :/ I have the same options set in my config as I always have, I've never had any problem with this before.

Cross-reference analysis reveals problems in 2.4.6pre9

2001-07-03 Thread Eric S. Raymond
According to my cross-reference generator, the following symbols have missing help in 2.4.6-pre9: CONFIG_AU1000_UART CONFIG_BLUEZ_L2CAP CONFIG_DDB5477 CONFIG_EVB_PCI1 CONFIG_FORWARD_KEYBOARD CONFIG_GDB_CONSOLE CONFIG_HD64465_IOBASE CONFIG_IT8172_REVC CONFIG_IT8172_SCR0 CONFIG_IT8172_SCR1

Re: 2.4.6-pre9: Failed HPT370 detection

2001-07-03 Thread Gav
On Tuesday 03 July 2001 17:22, Gav wrote: This kernel refuses to detect my HPT370 chipset. (where my root filesystem is, on raid0). It just hangs where the detection usually takes place, so no oops and no meaningfull bugreport :/ I have the same options set in my config as I always have,

Kernel oops 2.4.2

2001-07-03 Thread HEUER,JOCHEN (HP-Germany,ex2)
Hello everyone, I got the following oops on a HP Netserver (single CPU) running Linux version 2.4.2-SGI_XFS_1.0 compiled with gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) with two modifications: --- v2.4.4/linux/fs/nfsd/nfsfh.cFri Feb 9 11:29:44 2001 +++

Re: Cross-reference analysis reveals problems in 2.4.6pre9

2001-07-03 Thread Steven J. Hill
Eric S. Raymond wrote: CONFIG_MIPS_EV64120 CONFIG_MIPS_EV96100 CONFIG_MIPS_ITE8172 CONFIG_MIPS_IVR CONFIG_MIPS_PB1000 CONFIG_MIPS_UNCACHED CONFIG_NINO CONFIG_NINO_16MB CONFIG_NINO_4MB CONFIG_NINO_8MB I can fill in the blanks on all of these for you. I won't clutter up the mailing

Re: Cross-reference analysis reveals problems in 2.4.6pre9

2001-07-03 Thread David Woodhouse
[EMAIL PROTECTED] said: According to my cross-reference generator, the following symbols have missing help in 2.4.6-pre9: Please fix your cross-reference generator as previously discussed before posting these lists again. -- dwmw2 - To unsubscribe from this list: send the line unsubscribe

Re: Cross-reference analysis reveals problems in 2.4.6pre9

2001-07-03 Thread Eric S. Raymond
Steven J. Hill [EMAIL PROTECTED]: I can fill in the blanks on all of these for you. I won't clutter up the mailing list with the complete descriptions. That would be excellent. Please do! -- a href=http://www.tuxedo.org/~esr/;Eric S. Raymond/a The spirit of resistance to

Re: Cross-reference analysis reveals problems in 2.4.6pre9

2001-07-03 Thread Eric S. Raymond
David Woodhouse [EMAIL PROTECTED]: [EMAIL PROTECTED] said: According to my cross-reference generator, the following symbols have missing help in 2.4.6-pre9: Please fix your cross-reference generator as previously discussed before posting these lists again. I put the symbols we

ufs on linux question/problem

2001-07-03 Thread Admin Mailing Lists
Trying to mount a solaris x86 drive under linux. kernel 2.4.5, ufs support and x86 partition support compiled in (no module) On boot, linux recognizes the drive, but shows no solaris partitions on it. Below, linux drive is hda, solaris is hdb. Jul 2 19:57:56 stevenjude2 kernel: PIIX4: chipset

Re: Removal of PG_marker scheme from 2.4.6-pre

2001-07-03 Thread Marcelo Tosatti
On Sun, 1 Jul 2001, Rik van Riel wrote: On Sat, 30 Jun 2001, Marcelo Tosatti wrote: In pre7: me: undo page_launder() LRU changes, they have nasty side effects Can you be more verbose about this ? I think this was fixed by the GFP_BUFFER vs. GFP_CAN_FS + GFP_CAN_IO thing and

Re: Cross-reference analysis reveals problems in 2.4.6pre9

2001-07-03 Thread M. R. Brown
* Eric S. Raymond [EMAIL PROTECTED] on Tue, Jul 03, 2001: According to my cross-reference generator, the following symbols have missing help in 2.4.6-pre9: [...] CONFIG_MAPLE CONFIG_MAPLE_KEYBOARD CONFIG_MAPLE_MOUSE These three are for the Dreamcast driver port. I can write help entries

Patch for IDE hang after resetting quirk drive

2001-07-03 Thread Dale Farnsworth
I have a Promise PDC20265 ide controller with one of the quirk drives, a Quantum Fireballp LM30. That drive has a bad sector and accessing it would result in a DMA timeout. Unfortunately, after the IDE driver resets the controller, the drive never responded. The following patch appears to

Re: Cross-reference analysis reveals problems in 2.4.6pre9

2001-07-03 Thread David Woodhouse
[EMAIL PROTECTED] said: I put the symbols we discussed previously on my ignore list. What's your beef this time? It looked like you were again reporting config symbols which the user can't be asked about - because they're only there as dependencies or as ifdefs in the code, rather than as

Re: ufs on linux question/problem

2001-07-03 Thread Alexander Viro
On Tue, 3 Jul 2001, Admin Mailing Lists wrote: Trying to mount a solaris x86 drive under linux. kernel 2.4.5, ufs support and x86 partition support compiled in (no module) On boot, linux recognizes the drive, but shows no solaris partitions on it. Below, linux drive is hda, solaris is

Re: Cross-reference analysis reveals problems in 2.4.6pre9

2001-07-03 Thread Eric S. Raymond
David Woodhouse [EMAIL PROTECTED]: Upon further investigation, it seems I was mistaken. I apologise for my tone. Accepted. I wish more people had the grace you do, to apologize when you know you've been mistaken or unfair; it would make this list a better place. Momenco Ocelot boot flash

Re: mmap

2001-07-03 Thread Jens Axboe
On Mon, Jul 02 2001, [EMAIL PROTECTED] wrote: [1] IMHO it would be more useful if iobufs would use a scatterlist instead of an struct page* array. No that would be horrible, at least with the current scatterlist. A page based scatterlist would be alright though -- but this boils down to

ACPI fundamental locking problems

2001-07-03 Thread Jeff Garzik
I used to be pretty excited about ACPI, until today. I was reading through the ACPI spec, to see what was required to obtain the IRQ routing table from AML. Continued reading... until I hit a section talking about the ACPI global lock. events/evxface.c:610:acpi_acquire_global_lock -

Re: linux-2.4.6-pre8/drivers/mtd/nand/spia.c: undefined symbols

2001-07-03 Thread Steven J. Hill
Alan Cox wrote: The way that I architected the raw NAND flash device driver was to break it into 2 parts. 'nand.c' contains the actual driver code and is considered to be device independent. 'spia.c' is the device dependent part. You should write your own version of 'spia.c' and So

Regrding module programing

2001-07-03 Thread siva kumar
Hi all, I like to know whether the kernel modules concepts is present only in linux (or) it is also supported in some other flavour of unix operating systems. Can any one please update me, regarding this ? Thanks, siva __ Do You Yahoo!? Get

Re: ufs on linux question/problem

2001-07-03 Thread Admin Mailing Lists
You need support of Solaris disklabels. isn't that what CONFIG_SOLARIS_X86_PARTITION is? And UFS patches that are in -ac. Then you can get more or less safe r/o mounts. r/w is hopeless at that stage. that's ok, i only need to read. -Tony

Re: VM Requirement Document - v0.0

2001-07-03 Thread Daniel Phillips
An ammendment to my previous post... I see three page priority levels: 0 - accessed-never/aged to zero 1 - accessed-once/just loaded 2 - accessed-often with these transitions: 0 - 1, if a page is accessed 1 - 2, if a page is accessed a second time 1 - 0, if a page gets old

Strange thread behaviour on 8-way x86 machine

2001-07-03 Thread Sasha Pachev
Hi, I have observed a rather strange behaviour doing a multi-threaded CPU benchmark on an 8-way machine running 2.4.2 SMP kernel. Even when the priority is reniced to the highest possible value, I am still unable to reach more than 50% CPU utilization. My benchmark just creates a bunch of

Re: VM Requirement Document - v0.0

2001-07-03 Thread Daniel Phillips
On Monday 02 July 2001 20:42, Rik van Riel wrote: On Thu, 28 Jun 2001, Marco Colombo wrote: I'm not sure that, in general, recent pages with only one access are still better eviction candidates compared to 8 hours old pages. Here we need either another way to detect one-shot activity (like

Re: pte_val(*pte) as lvalue

2001-07-03 Thread Timur Tabi
** Reply to message from Andi Kleen [EMAIL PROTECTED] on 03 Jul 2001 01:33:42 +0200 Timur Tabi [EMAIL PROTECTED] writes: What is the accepted way to assign an integer to a pte that works in 2.2 and 2.4? set_pte(pte, mk_pte( ... )) I'm not sure how to use mk_pte. The first

Re: pte_val(*pte) as lvalue

2001-07-03 Thread Russell King
On Tue, Jul 03, 2001 at 01:32:36PM -0500, Timur Tabi wrote: ** Reply to message from Andi Kleen [EMAIL PROTECTED] on 03 Jul 2001 01:33:42 +0200 set_pte(pte, mk_pte( ... )) I'm not sure how to use mk_pte. The first parameter is a struct page *, which I don't have. All I'm doing is

PROBLEM: memory allocation error with token ring tms380/abyss modules[follow-up]

2001-07-03 Thread Brian McEntire
Hello, I got a few responses to this original problem... thanks! I've compiled the abyss.o and tms380 token ring drivers into the kernel as opposed to running them as modules. Yesterday the system crashed again and I copied down all the Oops stuff and ran it through ksymoops... I'm including the

Re: Strange thread behaviour on 8-way x86 machine

2001-07-03 Thread Mike Kravetz
On Tue, Jul 03, 2001 at 12:25:12PM -0600, Sasha Pachev wrote: Hi, I have observed a rather strange behaviour doing a multi-threaded CPU benchmark on an 8-way machine running 2.4.2 SMP kernel. Even when the priority is reniced to the highest possible value, I am still unable to reach

Re: pte_val(*pte) as lvalue

2001-07-03 Thread Timur Tabi
Russell King wrote: Can I ask what the nature of the PTE modification is, and where you are making this modification? I've written a hack which enables PAT (Page Address Translation) for a particular page: void set_pte_pat(pte_t *pte, unsigned long pat_index) { unsigned long p =

RE: ACPI fundamental locking problems

2001-07-03 Thread Grover, Andrew
From: Jeff Garzik [mailto:[EMAIL PROTECTED]] events/evxface.c:610:acpi_acquire_global_lock - events/evmisc.c:337:acpi_ev_acquire_global_lock - include/platform/acgcc.h:52:ACPI_ACQUIRE_GLOBAL_LOCK My immediate objections are, (a) acgcc.h is re-implementing spinlocks in a non-standard,

Re: ACPI fundamental locking problems

2001-07-03 Thread Johannes Erdfelt
On Tue, Jul 03, 2001, Jeff Garzik [EMAIL PROTECTED] wrote: I was reading through the ACPI spec, to see what was required to obtain the IRQ routing table from AML. FWIW, ia64 already does this, if you're looking for the code to do it. JE - To unsubscribe from this list: send the line

Re: pte_val(*pte) as lvalue

2001-07-03 Thread Russell King
On Tue, Jul 03, 2001 at 01:50:05PM -0500, Timur Tabi wrote: Russell King wrote: Can I ask what the nature of the PTE modification is, and where you are making this modification? I've written a hack which enables PAT (Page Address Translation) for a particular page: Firstly, I'll say I'm

Re: include/asm-i386/checksum.h

2001-07-03 Thread Erik Meusel
Ok. Sending dozens of patches today, I was asked if I could mail the whole files, not only the patch and send it Cc'ed to you, Linus. Here they are: linux/include/asm-i386/checksum.h and linux/include/asm-i386/floppy.h both based on stable linux-2.4.5. Well, have a lot of fun and thanks in

Re: ACPI fundamental locking problems

2001-07-03 Thread Jeff Garzik
Grover, Andrew wrote: From: Jeff Garzik [mailto:[EMAIL PROTECTED]] events/evxface.c:610:acpi_acquire_global_lock - events/evmisc.c:337:acpi_ev_acquire_global_lock - include/platform/acgcc.h:52:ACPI_ACQUIRE_GLOBAL_LOCK My immediate objections are, (a) acgcc.h is re-implementing

Re: Kernel Module tracing.

2001-07-03 Thread Daniel Phillips
On Friday 29 June 2001 23:37, Tom spaziani wrote: I've recently been laboring over a kernel module that allows other kernel modules to send messages and tracing statements. If anyone has any input on whether this would be a usefull thing or not please let me know. Here is a quick breakdown

Re: ACPI fundamental locking problems

2001-07-03 Thread Jeff Garzik
Other ACPI problems, that come with the increased potential for malicious code: - Much easier for NSA to snoop machine activity undetected (hello paranoid people) - Much easier to write worms and virii and similar (it's much easier for someone malicious to patch an acpi table than bios binary

RE: ACPI fundamental locking problems

2001-07-03 Thread Dave Jones
On Tue, 3 Jul 2001, Grover, Andrew wrote: We're depending on vendors (aka the BIOS) for all the ACPI tables, as well as every other piece of a priori data we need to boot the OS. And this is the part that I find terrifying. The minute we rely on BIOS vendors, they seem to find wonderful new

Linux HA FC based cluster

2001-07-03 Thread Gabriele Turchi
First of all my apologies: I know linux-kernel is not the better place to post that mail, but trust me: is a little emercency for us. We are (sigh... very urgently) looking for any available info about succesfully running HA clusters based on Redhat Linux 6.2 (two systems sharing a single

eCos

2001-07-03 Thread Matthew M. DeLoera
Does anyone on the list use eCos (RedHat's embedded Linux)? I'm having some build and other general problems, and I'd like to ask someone about them off-list. Thanks... - Matt - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED]

Re: serial port O_SYNC functionality in 2.4.5

2001-07-03 Thread James R Bruce
Re: serial port O_SYNC func.. by Stuart MacDonald@conne From: James R Bruce [EMAIL PROTECTED] As far as I can tell from observed operation and from perusing the code, O_SYNC doesn't seem to be supported by the serial driver in 2.4.5. Writes are forced as far as the serial.c's circular

wait_event() problems patch

2001-07-03 Thread Richard B. Johnson
I have been trying to get the following to work: atomic_t stop; struct wait_queue wait_queue_stuff, another_wait_queue; /* Initialized before use with init_wait_queue() */ kernel_thread() { for(;;) { if(atomic_read(stop)) interruptible_sleep_on(wait_queue_stuff);

O_DIRECT! or O_DIRECT?

2001-07-03 Thread Samium Gromoff
HI folks, sometime ago i seen on lkml a post from regarding the implementation of O_DIRECT. The thing about to care, is the fact, that *nobody*, reacted on this post. It seems to me that nobody was happy enough about this to tell oh yes! at last! This is

Re: serial port O_SYNC functionality in 2.4.5

2001-07-03 Thread Stuart MacDonald
From: James R Bruce [EMAIL PROTECTED] The overall size of the circular buffer would have to be decreased too, but that's more of a hack to fix it now; Which I guess is what it comes to. I see what you're saying; AFAIUnderstand, the low latency patches bypass the circular buffer. Or make it

Re: O_DIRECT! or O_DIRECT?

2001-07-03 Thread kernel
On Wed, 4 Jul 2001, Samium Gromoff wrote: Maybe i`m missing the whole point, and thus i want to hear what other people will tell about it. Several of us are working on it. -ben - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

2.2.19 kernel hang

2001-07-03 Thread Tim Peeler
Summary: Kernel 2.2.19 hang [stuck on TLB IPI wait (CPU#0)] Description: After recently upgrading the kernel on a production server to kernel 2.2.19 with the reiserfs patch and kernel-patch-2.2.19-ide from Andre Hendrick, the system became hung. The server was responsive to

[PATCH] ppp_generic.c - kfree(ppp) called twice, kernel 2.4.0

2001-07-03 Thread Eli Chen
Hi, In ppp_destroy_interface(), there is a chance that kfree(ppp) is called twice, causing a kernel oops when ppp is opened again. I was able to cause this by running PPPOE, and killing -9 pppd and pppoe-daemon with one kill command. By doing this, the closing of ppp-dev causes a

Linux 2.4.5-ac24

2001-07-03 Thread Alan Cox
ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/ Intermediate diffs are available from http://www.bzimage.org 2.4.5-ac24 o Serverworks AGP support (Jeff Hartmann) o Split I/O requests on pdcraid/hptraid

Re: serial port O_SYNC functionality in 2.4.5

2001-07-03 Thread Russell King
On Tue, Jul 03, 2001 at 04:42:00PM -0400, Stuart MacDonald wrote: Best way to get this in the serial driver is to do some patches for it and send them to Ted. :-) Please copy them to me as well. The ARM tree has a core uart driver in currently which handles several different types of serial

Re: O_DIRECT! or O_DIRECT?

2001-07-03 Thread Anton Altaparmakov
At 21:34 03/07/2001, Samium Gromoff wrote: [snip] One more problem i see here, and i think it is an *extremely* important one, that making open( ... , BLA_BLA_BLA | O_DIRECT) is a thing some people may overspeculate with. I mean that implementing O_DIRECT in cp(1),

Re: ACPI fundamental locking problems

2001-07-03 Thread arjan
In article [EMAIL PROTECTED] you wrote: walking into their top secret menwith hill base playing the mission impossible theme tune then chaining themselves to things.. You're kidding.right? BTW of course ACPI can be turned off via make menuconfig. Can you point me to the name of

[PATCH] 2.4.5 i810_audio.c, ac97_codec.c

2001-07-03 Thread Collin Park
Hello, Attached is a patch to the above files. Here's what they do: 1. ac97_codec.c, allow ad1886 to be recognized and brought up properly, and sets S/PDIF rate to the 48 kHz rate prescribed by ac97 2.2 spec. Reference for this is in...

Re: Sticky IO-APIC problem

2001-07-03 Thread Randy.Dunlap
Colin Bayer scribed: | I have a Pentium III 933/133 (Coppermine, stepping 6) in an Intel-manufactured | i810 motherboard (hey, I What mobo (model/name) is it? Can you give us the output from lspci -vv? | know it's a lame chipset, but it was on sale). On boot, the kernel (version | 2.4.6-pre8)

RE: ACPI fundamental locking problems

2001-07-03 Thread Grover, Andrew
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] BTW of course ACPI can be turned off via make menuconfig. Can you point me to the name of the option? I can't find it on my IA64 ACPI is required for IA64 to boot, so you can't disable it AFAIK. Sorry, I should have included that caveat in

SCHED_FIFO task blocks magic sysrq

2001-07-03 Thread David Mansfield
It seems like the sysrq code can get starved by a SCHED_FIFO task. I learned this by having an accidentally runaway SCHED_FIFO task which locked up my system. No SAK, no sync, no unmount, no reboot. Big Red Button. David -- David Mansfield (718)

USB printing == kernel lockup?

2001-07-03 Thread Pete Toscano
Hello, I'm still looking into this, but has anybody else seen this problem? When I do anything (print to it, query its ink levels with escputil, etc.) with my Epson 870 while it's hooked to my computer via USB, the whole machine locks hard. If I change the connection over to a printer cable on

  1   2   3   >